Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.8
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for libXext 1.3.4.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libXext/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 
    202   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    203     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    206     PATH=/empty FPATH=/empty; export PATH FPATH
    207     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    208       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    209 test \$(( 1 + 1 )) = 2 || exit 1"
    210   if (eval "$as_required") 2>/dev/null; then :
    211   as_have_required=yes
    212 else
    213   as_have_required=no
    214 fi
    215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    216 
    217 else
    218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    219 as_found=false
    220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    221 do
    222   IFS=$as_save_IFS
    223   test -z "$as_dir" && as_dir=.
    224   as_found=:
    225   case $as_dir in #(
    226 	 /*)
    227 	   for as_base in sh bash ksh sh5; do
    228 	     # Try only shells that exist, to save several forks.
    229 	     as_shell=$as_dir/$as_base
    230 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    231 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   CONFIG_SHELL=$as_shell as_have_required=yes
    233 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    234   break 2
    235 fi
    236 fi
    237 	   done;;
    238        esac
    239   as_found=false
    240 done
    241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    243   CONFIG_SHELL=$SHELL as_have_required=yes
    244 fi; }
    245 IFS=$as_save_IFS
    246 
    247 
    248       if test "x$CONFIG_SHELL" != x; then :
    249   export CONFIG_SHELL
    250              # We cannot yet assume a decent shell, so we have to provide a
    251 # neutralization value for shells without unset; and this also
    252 # works around shells that cannot unset nonexistent variables.
    253 # Preserve -v and -x to the replacement shell.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in # ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264 # Admittedly, this is quite paranoid, since all the known shells bail
    265 # out after a failed `exec'.
    266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno; then :
    271   $as_echo "$0: This script requires a shell more modern than all"
    272   $as_echo "$0: the shells that I found on your system."
    273   if test x${ZSH_VERSION+set} = xset ; then
    274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    276   else
    277     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    278 $0: https://gitlab.freedesktop.org/xorg/lib/libXext/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='libXext'
    653 PACKAGE_TARNAME='libXext'
    654 PACKAGE_VERSION='1.3.4'
    655 PACKAGE_STRING='libXext 1.3.4'
    656 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libXext/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_subst_vars='am__EXEEXT_FALSE
    697 am__EXEEXT_TRUE
    698 LTLIBOBJS
    699 LIBOBJS
    700 MAKE_LINT_LIB_FALSE
    701 MAKE_LINT_LIB_TRUE
    702 LINTLIB
    703 LINT_FALSE
    704 LINT_TRUE
    705 LINT_FLAGS
    706 LINT
    707 XEXT_LIBS
    708 XEXT_CFLAGS
    709 XEXT_SOREV
    710 XTMALLOC_ZERO_CFLAGS
    711 XMALLOC_ZERO_CFLAGS
    712 MALLOC_ZERO_CFLAGS
    713 HAVE_STYLESHEETS_FALSE
    714 HAVE_STYLESHEETS_TRUE
    715 XSL_STYLESHEET
    716 STYLESHEET_SRCDIR
    717 XORG_SGML_PATH
    718 HAVE_XSLTPROC_FALSE
    719 HAVE_XSLTPROC_TRUE
    720 XSLTPROC
    721 HAVE_FOP_FALSE
    722 HAVE_FOP_TRUE
    723 FOP
    724 HAVE_XMLTO_FALSE
    725 HAVE_XMLTO_TRUE
    726 HAVE_XMLTO_TEXT_FALSE
    727 HAVE_XMLTO_TEXT_TRUE
    728 XMLTO
    729 ENABLE_SPECS_FALSE
    730 ENABLE_SPECS_TRUE
    731 MAN_SUBSTS
    732 XORG_MAN_PAGE
    733 ADMIN_MAN_DIR
    734 DRIVER_MAN_DIR
    735 MISC_MAN_DIR
    736 FILE_MAN_DIR
    737 LIB_MAN_DIR
    738 APP_MAN_DIR
    739 ADMIN_MAN_SUFFIX
    740 DRIVER_MAN_SUFFIX
    741 MISC_MAN_SUFFIX
    742 FILE_MAN_SUFFIX
    743 LIB_MAN_SUFFIX
    744 APP_MAN_SUFFIX
    745 INSTALL_CMD
    746 PKG_CONFIG_LIBDIR
    747 PKG_CONFIG_PATH
    748 PKG_CONFIG
    749 CHANGELOG_CMD
    750 STRICT_CFLAGS
    751 CWARNFLAGS
    752 BASE_CFLAGS
    753 CPP
    754 LT_SYS_LIBRARY_PATH
    755 OTOOL64
    756 OTOOL
    757 LIPO
    758 NMEDIT
    759 DSYMUTIL
    760 MANIFEST_TOOL
    761 RANLIB
    762 ac_ct_AR
    763 AR
    764 DLLTOOL
    765 OBJDUMP
    766 LN_S
    767 NM
    768 ac_ct_DUMPBIN
    769 DUMPBIN
    770 LD
    771 FGREP
    772 EGREP
    773 GREP
    774 SED
    775 am__fastdepCC_FALSE
    776 am__fastdepCC_TRUE
    777 CCDEPMODE
    778 am__nodep
    779 AMDEPBACKSLASH
    780 AMDEP_FALSE
    781 AMDEP_TRUE
    782 am__quote
    783 am__include
    784 DEPDIR
    785 OBJEXT
    786 EXEEXT
    787 ac_ct_CC
    788 CPPFLAGS
    789 LDFLAGS
    790 CFLAGS
    791 CC
    792 host_os
    793 host_vendor
    794 host_cpu
    795 host
    796 build_os
    797 build_vendor
    798 build_cpu
    799 build
    800 LIBTOOL
    801 AM_BACKSLASH
    802 AM_DEFAULT_VERBOSITY
    803 AM_DEFAULT_V
    804 AM_V
    805 am__untar
    806 am__tar
    807 AMTAR
    808 am__leading_dot
    809 SET_MAKE
    810 AWK
    811 mkdir_p
    812 MKDIR_P
    813 INSTALL_STRIP_PROGRAM
    814 STRIP
    815 install_sh
    816 MAKEINFO
    817 AUTOHEADER
    818 AUTOMAKE
    819 AUTOCONF
    820 ACLOCAL
    821 VERSION
    822 PACKAGE
    823 CYGPATH_W
    824 am__isrc
    825 INSTALL_DATA
    826 INSTALL_SCRIPT
    827 INSTALL_PROGRAM
    828 target_alias
    829 host_alias
    830 build_alias
    831 LIBS
    832 ECHO_T
    833 ECHO_N
    834 ECHO_C
    835 DEFS
    836 mandir
    837 localedir
    838 libdir
    839 psdir
    840 pdfdir
    841 dvidir
    842 htmldir
    843 infodir
    844 docdir
    845 oldincludedir
    846 includedir
    847 localstatedir
    848 sharedstatedir
    849 sysconfdir
    850 datadir
    851 datarootdir
    852 libexecdir
    853 sbindir
    854 bindir
    855 program_transform_name
    856 prefix
    857 exec_prefix
    858 PACKAGE_URL
    859 PACKAGE_BUGREPORT
    860 PACKAGE_STRING
    861 PACKAGE_VERSION
    862 PACKAGE_TARNAME
    863 PACKAGE_NAME
    864 PATH_SEPARATOR
    865 SHELL'
    866 ac_subst_files=''
    867 ac_user_opts='
    868 enable_option_checking
    869 enable_silent_rules
    870 enable_shared
    871 enable_static
    872 with_pic
    873 enable_fast_install
    874 with_aix_soname
    875 enable_dependency_tracking
    876 with_gnu_ld
    877 with_sysroot
    878 enable_libtool_lock
    879 enable_selective_werror
    880 enable_strict_compilation
    881 enable_specs
    882 with_xmlto
    883 with_fop
    884 with_xsltproc
    885 enable_malloc0returnsnull
    886 with_lint
    887 enable_lint_library
    888 '
    889       ac_precious_vars='build_alias
    890 host_alias
    891 target_alias
    892 CC
    893 CFLAGS
    894 LDFLAGS
    895 LIBS
    896 CPPFLAGS
    897 LT_SYS_LIBRARY_PATH
    898 CPP
    899 PKG_CONFIG
    900 PKG_CONFIG_PATH
    901 PKG_CONFIG_LIBDIR
    902 XMLTO
    903 FOP
    904 XSLTPROC
    905 XEXT_CFLAGS
    906 XEXT_LIBS
    907 LINT
    908 LINT_FLAGS'
    909 
    910 
    911 # Initialize some variables set by options.
    912 ac_init_help=
    913 ac_init_version=false
    914 ac_unrecognized_opts=
    915 ac_unrecognized_sep=
    916 # The variables have the same names as the options, with
    917 # dashes changed to underlines.
    918 cache_file=/dev/null
    919 exec_prefix=NONE
    920 no_create=
    921 no_recursion=
    922 prefix=NONE
    923 program_prefix=NONE
    924 program_suffix=NONE
    925 program_transform_name=s,x,x,
    926 silent=
    927 site=
    928 srcdir=
    929 verbose=
    930 x_includes=NONE
    931 x_libraries=NONE
    932 
    933 # Installation directory options.
    934 # These are left unexpanded so users can "make install exec_prefix=/foo"
    935 # and all the variables that are supposed to be based on exec_prefix
    936 # by default will actually change.
    937 # Use braces instead of parens because sh, perl, etc. also accept them.
    938 # (The list follows the same order as the GNU Coding Standards.)
    939 bindir='${exec_prefix}/bin'
    940 sbindir='${exec_prefix}/sbin'
    941 libexecdir='${exec_prefix}/libexec'
    942 datarootdir='${prefix}/share'
    943 datadir='${datarootdir}'
    944 sysconfdir='${prefix}/etc'
    945 sharedstatedir='${prefix}/com'
    946 localstatedir='${prefix}/var'
    947 includedir='${prefix}/include'
    948 oldincludedir='/usr/include'
    949 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    950 infodir='${datarootdir}/info'
    951 htmldir='${docdir}'
    952 dvidir='${docdir}'
    953 pdfdir='${docdir}'
    954 psdir='${docdir}'
    955 libdir='${exec_prefix}/lib'
    956 localedir='${datarootdir}/locale'
    957 mandir='${datarootdir}/man'
    958 
    959 ac_prev=
    960 ac_dashdash=
    961 for ac_option
    962 do
    963   # If the previous option needs an argument, assign it.
    964   if test -n "$ac_prev"; then
    965     eval $ac_prev=\$ac_option
    966     ac_prev=
    967     continue
    968   fi
    969 
    970   case $ac_option in
    971   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    972   *=)   ac_optarg= ;;
    973   *)    ac_optarg=yes ;;
    974   esac
    975 
    976   # Accept the important Cygnus configure options, so we can diagnose typos.
    977 
    978   case $ac_dashdash$ac_option in
    979   --)
    980     ac_dashdash=yes ;;
    981 
    982   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    983     ac_prev=bindir ;;
    984   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    985     bindir=$ac_optarg ;;
    986 
    987   -build | --build | --buil | --bui | --bu)
    988     ac_prev=build_alias ;;
    989   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    990     build_alias=$ac_optarg ;;
    991 
    992   -cache-file | --cache-file | --cache-fil | --cache-fi \
    993   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    994     ac_prev=cache_file ;;
    995   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    996   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    997     cache_file=$ac_optarg ;;
    998 
    999   --config-cache | -C)
   1000     cache_file=config.cache ;;
   1001 
   1002   -datadir | --datadir | --datadi | --datad)
   1003     ac_prev=datadir ;;
   1004   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1005     datadir=$ac_optarg ;;
   1006 
   1007   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1008   | --dataroo | --dataro | --datar)
   1009     ac_prev=datarootdir ;;
   1010   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1011   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1012     datarootdir=$ac_optarg ;;
   1013 
   1014   -disable-* | --disable-*)
   1015     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1016     # Reject names that are not valid shell variable names.
   1017     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1018       as_fn_error $? "invalid feature name: $ac_useropt"
   1019     ac_useropt_orig=$ac_useropt
   1020     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1021     case $ac_user_opts in
   1022       *"
   1023 "enable_$ac_useropt"
   1024 "*) ;;
   1025       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1026 	 ac_unrecognized_sep=', ';;
   1027     esac
   1028     eval enable_$ac_useropt=no ;;
   1029 
   1030   -docdir | --docdir | --docdi | --doc | --do)
   1031     ac_prev=docdir ;;
   1032   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1033     docdir=$ac_optarg ;;
   1034 
   1035   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1036     ac_prev=dvidir ;;
   1037   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1038     dvidir=$ac_optarg ;;
   1039 
   1040   -enable-* | --enable-*)
   1041     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1042     # Reject names that are not valid shell variable names.
   1043     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1044       as_fn_error $? "invalid feature name: $ac_useropt"
   1045     ac_useropt_orig=$ac_useropt
   1046     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1047     case $ac_user_opts in
   1048       *"
   1049 "enable_$ac_useropt"
   1050 "*) ;;
   1051       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1052 	 ac_unrecognized_sep=', ';;
   1053     esac
   1054     eval enable_$ac_useropt=\$ac_optarg ;;
   1055 
   1056   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1057   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1058   | --exec | --exe | --ex)
   1059     ac_prev=exec_prefix ;;
   1060   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1061   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1062   | --exec=* | --exe=* | --ex=*)
   1063     exec_prefix=$ac_optarg ;;
   1064 
   1065   -gas | --gas | --ga | --g)
   1066     # Obsolete; use --with-gas.
   1067     with_gas=yes ;;
   1068 
   1069   -help | --help | --hel | --he | -h)
   1070     ac_init_help=long ;;
   1071   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1072     ac_init_help=recursive ;;
   1073   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1074     ac_init_help=short ;;
   1075 
   1076   -host | --host | --hos | --ho)
   1077     ac_prev=host_alias ;;
   1078   -host=* | --host=* | --hos=* | --ho=*)
   1079     host_alias=$ac_optarg ;;
   1080 
   1081   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1082     ac_prev=htmldir ;;
   1083   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1084   | --ht=*)
   1085     htmldir=$ac_optarg ;;
   1086 
   1087   -includedir | --includedir | --includedi | --included | --include \
   1088   | --includ | --inclu | --incl | --inc)
   1089     ac_prev=includedir ;;
   1090   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1091   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1092     includedir=$ac_optarg ;;
   1093 
   1094   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1095     ac_prev=infodir ;;
   1096   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1097     infodir=$ac_optarg ;;
   1098 
   1099   -libdir | --libdir | --libdi | --libd)
   1100     ac_prev=libdir ;;
   1101   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1102     libdir=$ac_optarg ;;
   1103 
   1104   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1105   | --libexe | --libex | --libe)
   1106     ac_prev=libexecdir ;;
   1107   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1108   | --libexe=* | --libex=* | --libe=*)
   1109     libexecdir=$ac_optarg ;;
   1110 
   1111   -localedir | --localedir | --localedi | --localed | --locale)
   1112     ac_prev=localedir ;;
   1113   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1114     localedir=$ac_optarg ;;
   1115 
   1116   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1117   | --localstate | --localstat | --localsta | --localst | --locals)
   1118     ac_prev=localstatedir ;;
   1119   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1120   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1121     localstatedir=$ac_optarg ;;
   1122 
   1123   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1124     ac_prev=mandir ;;
   1125   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1126     mandir=$ac_optarg ;;
   1127 
   1128   -nfp | --nfp | --nf)
   1129     # Obsolete; use --without-fp.
   1130     with_fp=no ;;
   1131 
   1132   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1133   | --no-cr | --no-c | -n)
   1134     no_create=yes ;;
   1135 
   1136   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1137   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1138     no_recursion=yes ;;
   1139 
   1140   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1141   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1142   | --oldin | --oldi | --old | --ol | --o)
   1143     ac_prev=oldincludedir ;;
   1144   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1145   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1146   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1147     oldincludedir=$ac_optarg ;;
   1148 
   1149   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1150     ac_prev=prefix ;;
   1151   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1152     prefix=$ac_optarg ;;
   1153 
   1154   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1155   | --program-pre | --program-pr | --program-p)
   1156     ac_prev=program_prefix ;;
   1157   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1158   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1159     program_prefix=$ac_optarg ;;
   1160 
   1161   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1162   | --program-suf | --program-su | --program-s)
   1163     ac_prev=program_suffix ;;
   1164   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1165   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1166     program_suffix=$ac_optarg ;;
   1167 
   1168   -program-transform-name | --program-transform-name \
   1169   | --program-transform-nam | --program-transform-na \
   1170   | --program-transform-n | --program-transform- \
   1171   | --program-transform | --program-transfor \
   1172   | --program-transfo | --program-transf \
   1173   | --program-trans | --program-tran \
   1174   | --progr-tra | --program-tr | --program-t)
   1175     ac_prev=program_transform_name ;;
   1176   -program-transform-name=* | --program-transform-name=* \
   1177   | --program-transform-nam=* | --program-transform-na=* \
   1178   | --program-transform-n=* | --program-transform-=* \
   1179   | --program-transform=* | --program-transfor=* \
   1180   | --program-transfo=* | --program-transf=* \
   1181   | --program-trans=* | --program-tran=* \
   1182   | --progr-tra=* | --program-tr=* | --program-t=*)
   1183     program_transform_name=$ac_optarg ;;
   1184 
   1185   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1186     ac_prev=pdfdir ;;
   1187   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1188     pdfdir=$ac_optarg ;;
   1189 
   1190   -psdir | --psdir | --psdi | --psd | --ps)
   1191     ac_prev=psdir ;;
   1192   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1193     psdir=$ac_optarg ;;
   1194 
   1195   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1196   | -silent | --silent | --silen | --sile | --sil)
   1197     silent=yes ;;
   1198 
   1199   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1200     ac_prev=sbindir ;;
   1201   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1202   | --sbi=* | --sb=*)
   1203     sbindir=$ac_optarg ;;
   1204 
   1205   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1206   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1207   | --sharedst | --shareds | --shared | --share | --shar \
   1208   | --sha | --sh)
   1209     ac_prev=sharedstatedir ;;
   1210   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1211   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1212   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1213   | --sha=* | --sh=*)
   1214     sharedstatedir=$ac_optarg ;;
   1215 
   1216   -site | --site | --sit)
   1217     ac_prev=site ;;
   1218   -site=* | --site=* | --sit=*)
   1219     site=$ac_optarg ;;
   1220 
   1221   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1222     ac_prev=srcdir ;;
   1223   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1224     srcdir=$ac_optarg ;;
   1225 
   1226   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1227   | --syscon | --sysco | --sysc | --sys | --sy)
   1228     ac_prev=sysconfdir ;;
   1229   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1230   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1231     sysconfdir=$ac_optarg ;;
   1232 
   1233   -target | --target | --targe | --targ | --tar | --ta | --t)
   1234     ac_prev=target_alias ;;
   1235   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1236     target_alias=$ac_optarg ;;
   1237 
   1238   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1239     verbose=yes ;;
   1240 
   1241   -version | --version | --versio | --versi | --vers | -V)
   1242     ac_init_version=: ;;
   1243 
   1244   -with-* | --with-*)
   1245     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1246     # Reject names that are not valid shell variable names.
   1247     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1248       as_fn_error $? "invalid package name: $ac_useropt"
   1249     ac_useropt_orig=$ac_useropt
   1250     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1251     case $ac_user_opts in
   1252       *"
   1253 "with_$ac_useropt"
   1254 "*) ;;
   1255       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1256 	 ac_unrecognized_sep=', ';;
   1257     esac
   1258     eval with_$ac_useropt=\$ac_optarg ;;
   1259 
   1260   -without-* | --without-*)
   1261     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1262     # Reject names that are not valid shell variable names.
   1263     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1264       as_fn_error $? "invalid package name: $ac_useropt"
   1265     ac_useropt_orig=$ac_useropt
   1266     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1267     case $ac_user_opts in
   1268       *"
   1269 "with_$ac_useropt"
   1270 "*) ;;
   1271       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1272 	 ac_unrecognized_sep=', ';;
   1273     esac
   1274     eval with_$ac_useropt=no ;;
   1275 
   1276   --x)
   1277     # Obsolete; use --with-x.
   1278     with_x=yes ;;
   1279 
   1280   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1281   | --x-incl | --x-inc | --x-in | --x-i)
   1282     ac_prev=x_includes ;;
   1283   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1284   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1285     x_includes=$ac_optarg ;;
   1286 
   1287   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1288   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1289     ac_prev=x_libraries ;;
   1290   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1291   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1292     x_libraries=$ac_optarg ;;
   1293 
   1294   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1295 Try \`$0 --help' for more information"
   1296     ;;
   1297 
   1298   *=*)
   1299     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1300     # Reject names that are not valid shell variable names.
   1301     case $ac_envvar in #(
   1302       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1303       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1304     esac
   1305     eval $ac_envvar=\$ac_optarg
   1306     export $ac_envvar ;;
   1307 
   1308   *)
   1309     # FIXME: should be removed in autoconf 3.0.
   1310     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1311     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1312       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1313     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1314     ;;
   1315 
   1316   esac
   1317 done
   1318 
   1319 if test -n "$ac_prev"; then
   1320   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1321   as_fn_error $? "missing argument to $ac_option"
   1322 fi
   1323 
   1324 if test -n "$ac_unrecognized_opts"; then
   1325   case $enable_option_checking in
   1326     no) ;;
   1327     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1328     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1329   esac
   1330 fi
   1331 
   1332 # Check all directory arguments for consistency.
   1333 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1334 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1335 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1336 		libdir localedir mandir
   1337 do
   1338   eval ac_val=\$$ac_var
   1339   # Remove trailing slashes.
   1340   case $ac_val in
   1341     */ )
   1342       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1343       eval $ac_var=\$ac_val;;
   1344   esac
   1345   # Be sure to have absolute directory names.
   1346   case $ac_val in
   1347     [\\/$]* | ?:[\\/]* )  continue;;
   1348     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1349   esac
   1350   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1351 done
   1352 
   1353 # There might be people who depend on the old broken behavior: `$host'
   1354 # used to hold the argument of --host etc.
   1355 # FIXME: To remove some day.
   1356 build=$build_alias
   1357 host=$host_alias
   1358 target=$target_alias
   1359 
   1360 # FIXME: To remove some day.
   1361 if test "x$host_alias" != x; then
   1362   if test "x$build_alias" = x; then
   1363     cross_compiling=maybe
   1364   elif test "x$build_alias" != "x$host_alias"; then
   1365     cross_compiling=yes
   1366   fi
   1367 fi
   1368 
   1369 ac_tool_prefix=
   1370 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1371 
   1372 test "$silent" = yes && exec 6>/dev/null
   1373 
   1374 
   1375 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1376 ac_ls_di=`ls -di .` &&
   1377 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1378   as_fn_error $? "working directory cannot be determined"
   1379 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1380   as_fn_error $? "pwd does not report name of working directory"
   1381 
   1382 
   1383 # Find the source files, if location was not specified.
   1384 if test -z "$srcdir"; then
   1385   ac_srcdir_defaulted=yes
   1386   # Try the directory containing this script, then the parent directory.
   1387   ac_confdir=`$as_dirname -- "$as_myself" ||
   1388 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1389 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1390 	 X"$as_myself" : 'X\(//\)$' \| \
   1391 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1392 $as_echo X"$as_myself" |
   1393     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1394 	    s//\1/
   1395 	    q
   1396 	  }
   1397 	  /^X\(\/\/\)[^/].*/{
   1398 	    s//\1/
   1399 	    q
   1400 	  }
   1401 	  /^X\(\/\/\)$/{
   1402 	    s//\1/
   1403 	    q
   1404 	  }
   1405 	  /^X\(\/\).*/{
   1406 	    s//\1/
   1407 	    q
   1408 	  }
   1409 	  s/.*/./; q'`
   1410   srcdir=$ac_confdir
   1411   if test ! -r "$srcdir/$ac_unique_file"; then
   1412     srcdir=..
   1413   fi
   1414 else
   1415   ac_srcdir_defaulted=no
   1416 fi
   1417 if test ! -r "$srcdir/$ac_unique_file"; then
   1418   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1419   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1420 fi
   1421 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1422 ac_abs_confdir=`(
   1423 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1424 	pwd)`
   1425 # When building in place, set srcdir=.
   1426 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1427   srcdir=.
   1428 fi
   1429 # Remove unnecessary trailing slashes from srcdir.
   1430 # Double slashes in file names in object file debugging info
   1431 # mess up M-x gdb in Emacs.
   1432 case $srcdir in
   1433 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1434 esac
   1435 for ac_var in $ac_precious_vars; do
   1436   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1437   eval ac_env_${ac_var}_value=\$${ac_var}
   1438   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1439   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1440 done
   1441 
   1442 #
   1443 # Report the --help message.
   1444 #
   1445 if test "$ac_init_help" = "long"; then
   1446   # Omit some internal or obsolete options to make the list less imposing.
   1447   # This message is too long to be a string in the A/UX 3.1 sh.
   1448   cat <<_ACEOF
   1449 \`configure' configures libXext 1.3.4 to adapt to many kinds of systems.
   1450 
   1451 Usage: $0 [OPTION]... [VAR=VALUE]...
   1452 
   1453 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1454 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1455 
   1456 Defaults for the options are specified in brackets.
   1457 
   1458 Configuration:
   1459   -h, --help              display this help and exit
   1460       --help=short        display options specific to this package
   1461       --help=recursive    display the short help of all the included packages
   1462   -V, --version           display version information and exit
   1463   -q, --quiet, --silent   do not print \`checking ...' messages
   1464       --cache-file=FILE   cache test results in FILE [disabled]
   1465   -C, --config-cache      alias for \`--cache-file=config.cache'
   1466   -n, --no-create         do not create output files
   1467       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1468 
   1469 Installation directories:
   1470   --prefix=PREFIX         install architecture-independent files in PREFIX
   1471                           [$ac_default_prefix]
   1472   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1473                           [PREFIX]
   1474 
   1475 By default, \`make install' will install all the files in
   1476 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1477 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1478 for instance \`--prefix=\$HOME'.
   1479 
   1480 For better control, use the options below.
   1481 
   1482 Fine tuning of the installation directories:
   1483   --bindir=DIR            user executables [EPREFIX/bin]
   1484   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1485   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1486   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1487   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1488   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1489   --libdir=DIR            object code libraries [EPREFIX/lib]
   1490   --includedir=DIR        C header files [PREFIX/include]
   1491   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1492   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1493   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1494   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1495   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1496   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1497   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXext]
   1498   --htmldir=DIR           html documentation [DOCDIR]
   1499   --dvidir=DIR            dvi documentation [DOCDIR]
   1500   --pdfdir=DIR            pdf documentation [DOCDIR]
   1501   --psdir=DIR             ps documentation [DOCDIR]
   1502 _ACEOF
   1503 
   1504   cat <<\_ACEOF
   1505 
   1506 Program names:
   1507   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1508   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1509   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1510 
   1511 System types:
   1512   --build=BUILD     configure for building on BUILD [guessed]
   1513   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1514 _ACEOF
   1515 fi
   1516 
   1517 if test -n "$ac_init_help"; then
   1518   case $ac_init_help in
   1519      short | recursive ) echo "Configuration of libXext 1.3.4:";;
   1520    esac
   1521   cat <<\_ACEOF
   1522 
   1523 Optional Features:
   1524   --disable-option-checking  ignore unrecognized --enable/--with options
   1525   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1526   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1527   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1528   --disable-silent-rules  verbose build output (undo: "make V=0")
   1529   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1530   --enable-static[=PKGS]  build static libraries [default=yes]
   1531   --enable-fast-install[=PKGS]
   1532                           optimize for fast installation [default=yes]
   1533   --enable-dependency-tracking
   1534                           do not reject slow dependency extractors
   1535   --disable-dependency-tracking
   1536                           speeds up one-time build
   1537   --disable-libtool-lock  avoid locking (might break parallel builds)
   1538   --disable-selective-werror
   1539                           Turn off selective compiler errors. (default:
   1540                           enabled)
   1541   --enable-strict-compilation
   1542                           Enable all warnings from compiler and make them
   1543                           errors (default: disabled)
   1544   --enable-specs          Enable building the specs (default: yes)
   1545   --enable-malloc0returnsnull
   1546                           malloc(0) returns NULL (default: auto)
   1547   --enable-lint-library   Create lint library (default: disabled)
   1548 
   1549 Optional Packages:
   1550   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1551   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1552   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1553                           both]
   1554   --with-aix-soname=aix|svr4|both
   1555                           shared library versioning (aka "SONAME") variant to
   1556                           provide on AIX, [default=aix].
   1557   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1558   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1559                           compiler's sysroot if not specified).
   1560   --with-xmlto            Use xmlto to regenerate documentation (default:
   1561                           auto)
   1562   --with-fop              Use fop to regenerate documentation (default: auto)
   1563   --with-xsltproc         Use xsltproc for the transformation of XML documents
   1564                           (default: auto)
   1565   --with-lint             Use a lint-style source code checker (default:
   1566                           disabled)
   1567 
   1568 Some influential environment variables:
   1569   CC          C compiler command
   1570   CFLAGS      C compiler flags
   1571   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1572               nonstandard directory <lib dir>
   1573   LIBS        libraries to pass to the linker, e.g. -l<library>
   1574   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1575               you have headers in a nonstandard directory <include dir>
   1576   LT_SYS_LIBRARY_PATH
   1577               User-defined run-time library search path.
   1578   CPP         C preprocessor
   1579   PKG_CONFIG  path to pkg-config utility
   1580   PKG_CONFIG_PATH
   1581               directories to add to pkg-config's search path
   1582   PKG_CONFIG_LIBDIR
   1583               path overriding pkg-config's built-in search path
   1584   XMLTO       Path to xmlto command
   1585   FOP         Path to fop command
   1586   XSLTPROC    Path to xsltproc command
   1587   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
   1588   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
   1589   LINT        Path to a lint-style command
   1590   LINT_FLAGS  Flags for the lint-style command
   1591 
   1592 Use these variables to override the choices made by `configure' or to help
   1593 it to find libraries and programs with nonstandard names/locations.
   1594 
   1595 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libXext/issues>.
   1596 _ACEOF
   1597 ac_status=$?
   1598 fi
   1599 
   1600 if test "$ac_init_help" = "recursive"; then
   1601   # If there are subdirs, report their specific --help.
   1602   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1603     test -d "$ac_dir" ||
   1604       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1605       continue
   1606     ac_builddir=.
   1607 
   1608 case "$ac_dir" in
   1609 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1610 *)
   1611   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1612   # A ".." for each directory in $ac_dir_suffix.
   1613   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1614   case $ac_top_builddir_sub in
   1615   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1616   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1617   esac ;;
   1618 esac
   1619 ac_abs_top_builddir=$ac_pwd
   1620 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1621 # for backward compatibility:
   1622 ac_top_builddir=$ac_top_build_prefix
   1623 
   1624 case $srcdir in
   1625   .)  # We are building in place.
   1626     ac_srcdir=.
   1627     ac_top_srcdir=$ac_top_builddir_sub
   1628     ac_abs_top_srcdir=$ac_pwd ;;
   1629   [\\/]* | ?:[\\/]* )  # Absolute name.
   1630     ac_srcdir=$srcdir$ac_dir_suffix;
   1631     ac_top_srcdir=$srcdir
   1632     ac_abs_top_srcdir=$srcdir ;;
   1633   *) # Relative name.
   1634     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1635     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1636     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1637 esac
   1638 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1639 
   1640     cd "$ac_dir" || { ac_status=$?; continue; }
   1641     # Check for guested configure.
   1642     if test -f "$ac_srcdir/configure.gnu"; then
   1643       echo &&
   1644       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1645     elif test -f "$ac_srcdir/configure"; then
   1646       echo &&
   1647       $SHELL "$ac_srcdir/configure" --help=recursive
   1648     else
   1649       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1650     fi || ac_status=$?
   1651     cd "$ac_pwd" || { ac_status=$?; break; }
   1652   done
   1653 fi
   1654 
   1655 test -n "$ac_init_help" && exit $ac_status
   1656 if $ac_init_version; then
   1657   cat <<\_ACEOF
   1658 libXext configure 1.3.4
   1659 generated by GNU Autoconf 2.69
   1660 
   1661 Copyright (C) 2012 Free Software Foundation, Inc.
   1662 This configure script is free software; the Free Software Foundation
   1663 gives unlimited permission to copy, distribute and modify it.
   1664 _ACEOF
   1665   exit
   1666 fi
   1667 
   1668 ## ------------------------ ##
   1669 ## Autoconf initialization. ##
   1670 ## ------------------------ ##
   1671 
   1672 # ac_fn_c_try_compile LINENO
   1673 # --------------------------
   1674 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1675 ac_fn_c_try_compile ()
   1676 {
   1677   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1678   rm -f conftest.$ac_objext
   1679   if { { ac_try="$ac_compile"
   1680 case "(($ac_try" in
   1681   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1682   *) ac_try_echo=$ac_try;;
   1683 esac
   1684 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1685 $as_echo "$ac_try_echo"; } >&5
   1686   (eval "$ac_compile") 2>conftest.err
   1687   ac_status=$?
   1688   if test -s conftest.err; then
   1689     grep -v '^ *+' conftest.err >conftest.er1
   1690     cat conftest.er1 >&5
   1691     mv -f conftest.er1 conftest.err
   1692   fi
   1693   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1694   test $ac_status = 0; } && {
   1695 	 test -z "$ac_c_werror_flag" ||
   1696 	 test ! -s conftest.err
   1697        } && test -s conftest.$ac_objext; then :
   1698   ac_retval=0
   1699 else
   1700   $as_echo "$as_me: failed program was:" >&5
   1701 sed 's/^/| /' conftest.$ac_ext >&5
   1702 
   1703 	ac_retval=1
   1704 fi
   1705   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1706   as_fn_set_status $ac_retval
   1707 
   1708 } # ac_fn_c_try_compile
   1709 
   1710 # ac_fn_c_try_link LINENO
   1711 # -----------------------
   1712 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1713 ac_fn_c_try_link ()
   1714 {
   1715   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1716   rm -f conftest.$ac_objext conftest$ac_exeext
   1717   if { { ac_try="$ac_link"
   1718 case "(($ac_try" in
   1719   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1720   *) ac_try_echo=$ac_try;;
   1721 esac
   1722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1723 $as_echo "$ac_try_echo"; } >&5
   1724   (eval "$ac_link") 2>conftest.err
   1725   ac_status=$?
   1726   if test -s conftest.err; then
   1727     grep -v '^ *+' conftest.err >conftest.er1
   1728     cat conftest.er1 >&5
   1729     mv -f conftest.er1 conftest.err
   1730   fi
   1731   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1732   test $ac_status = 0; } && {
   1733 	 test -z "$ac_c_werror_flag" ||
   1734 	 test ! -s conftest.err
   1735        } && test -s conftest$ac_exeext && {
   1736 	 test "$cross_compiling" = yes ||
   1737 	 test -x conftest$ac_exeext
   1738        }; then :
   1739   ac_retval=0
   1740 else
   1741   $as_echo "$as_me: failed program was:" >&5
   1742 sed 's/^/| /' conftest.$ac_ext >&5
   1743 
   1744 	ac_retval=1
   1745 fi
   1746   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1747   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1748   # interfere with the next link command; also delete a directory that is
   1749   # left behind by Apple's compiler.  We do this before executing the actions.
   1750   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1751   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1752   as_fn_set_status $ac_retval
   1753 
   1754 } # ac_fn_c_try_link
   1755 
   1756 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1757 # -------------------------------------------------------
   1758 # Tests whether HEADER exists and can be compiled using the include files in
   1759 # INCLUDES, setting the cache variable VAR accordingly.
   1760 ac_fn_c_check_header_compile ()
   1761 {
   1762   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1763   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1764 $as_echo_n "checking for $2... " >&6; }
   1765 if eval \${$3+:} false; then :
   1766   $as_echo_n "(cached) " >&6
   1767 else
   1768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1769 /* end confdefs.h.  */
   1770 $4
   1771 #include <$2>
   1772 _ACEOF
   1773 if ac_fn_c_try_compile "$LINENO"; then :
   1774   eval "$3=yes"
   1775 else
   1776   eval "$3=no"
   1777 fi
   1778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1779 fi
   1780 eval ac_res=\$$3
   1781 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1782 $as_echo "$ac_res" >&6; }
   1783   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1784 
   1785 } # ac_fn_c_check_header_compile
   1786 
   1787 # ac_fn_c_try_cpp LINENO
   1788 # ----------------------
   1789 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1790 ac_fn_c_try_cpp ()
   1791 {
   1792   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1793   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1794 case "(($ac_try" in
   1795   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1796   *) ac_try_echo=$ac_try;;
   1797 esac
   1798 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1799 $as_echo "$ac_try_echo"; } >&5
   1800   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1801   ac_status=$?
   1802   if test -s conftest.err; then
   1803     grep -v '^ *+' conftest.err >conftest.er1
   1804     cat conftest.er1 >&5
   1805     mv -f conftest.er1 conftest.err
   1806   fi
   1807   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1808   test $ac_status = 0; } > conftest.i && {
   1809 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1810 	 test ! -s conftest.err
   1811        }; then :
   1812   ac_retval=0
   1813 else
   1814   $as_echo "$as_me: failed program was:" >&5
   1815 sed 's/^/| /' conftest.$ac_ext >&5
   1816 
   1817     ac_retval=1
   1818 fi
   1819   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1820   as_fn_set_status $ac_retval
   1821 
   1822 } # ac_fn_c_try_cpp
   1823 
   1824 # ac_fn_c_try_run LINENO
   1825 # ----------------------
   1826 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1827 # that executables *can* be run.
   1828 ac_fn_c_try_run ()
   1829 {
   1830   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1831   if { { ac_try="$ac_link"
   1832 case "(($ac_try" in
   1833   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1834   *) ac_try_echo=$ac_try;;
   1835 esac
   1836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1837 $as_echo "$ac_try_echo"; } >&5
   1838   (eval "$ac_link") 2>&5
   1839   ac_status=$?
   1840   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1841   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1842   { { case "(($ac_try" in
   1843   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1844   *) ac_try_echo=$ac_try;;
   1845 esac
   1846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1847 $as_echo "$ac_try_echo"; } >&5
   1848   (eval "$ac_try") 2>&5
   1849   ac_status=$?
   1850   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1851   test $ac_status = 0; }; }; then :
   1852   ac_retval=0
   1853 else
   1854   $as_echo "$as_me: program exited with status $ac_status" >&5
   1855        $as_echo "$as_me: failed program was:" >&5
   1856 sed 's/^/| /' conftest.$ac_ext >&5
   1857 
   1858        ac_retval=$ac_status
   1859 fi
   1860   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1861   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1862   as_fn_set_status $ac_retval
   1863 
   1864 } # ac_fn_c_try_run
   1865 
   1866 # ac_fn_c_check_func LINENO FUNC VAR
   1867 # ----------------------------------
   1868 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1869 ac_fn_c_check_func ()
   1870 {
   1871   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1872   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1873 $as_echo_n "checking for $2... " >&6; }
   1874 if eval \${$3+:} false; then :
   1875   $as_echo_n "(cached) " >&6
   1876 else
   1877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1878 /* end confdefs.h.  */
   1879 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1880    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1881 #define $2 innocuous_$2
   1882 
   1883 /* System header to define __stub macros and hopefully few prototypes,
   1884     which can conflict with char $2 (); below.
   1885     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1886     <limits.h> exists even on freestanding compilers.  */
   1887 
   1888 #ifdef __STDC__
   1889 # include <limits.h>
   1890 #else
   1891 # include <assert.h>
   1892 #endif
   1893 
   1894 #undef $2
   1895 
   1896 /* Override any GCC internal prototype to avoid an error.
   1897    Use char because int might match the return type of a GCC
   1898    builtin and then its argument prototype would still apply.  */
   1899 #ifdef __cplusplus
   1900 extern "C"
   1901 #endif
   1902 char $2 ();
   1903 /* The GNU C library defines this for functions which it implements
   1904     to always fail with ENOSYS.  Some functions are actually named
   1905     something starting with __ and the normal name is an alias.  */
   1906 #if defined __stub_$2 || defined __stub___$2
   1907 choke me
   1908 #endif
   1909 
   1910 int
   1911 main ()
   1912 {
   1913 return $2 ();
   1914   ;
   1915   return 0;
   1916 }
   1917 _ACEOF
   1918 if ac_fn_c_try_link "$LINENO"; then :
   1919   eval "$3=yes"
   1920 else
   1921   eval "$3=no"
   1922 fi
   1923 rm -f core conftest.err conftest.$ac_objext \
   1924     conftest$ac_exeext conftest.$ac_ext
   1925 fi
   1926 eval ac_res=\$$3
   1927 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1928 $as_echo "$ac_res" >&6; }
   1929   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1930 
   1931 } # ac_fn_c_check_func
   1932 
   1933 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1934 # ---------------------------------------------
   1935 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1936 # accordingly.
   1937 ac_fn_c_check_decl ()
   1938 {
   1939   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1940   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1941   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1942   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1943 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1944 if eval \${$3+:} false; then :
   1945   $as_echo_n "(cached) " >&6
   1946 else
   1947   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1948 /* end confdefs.h.  */
   1949 $4
   1950 int
   1951 main ()
   1952 {
   1953 #ifndef $as_decl_name
   1954 #ifdef __cplusplus
   1955   (void) $as_decl_use;
   1956 #else
   1957   (void) $as_decl_name;
   1958 #endif
   1959 #endif
   1960 
   1961   ;
   1962   return 0;
   1963 }
   1964 _ACEOF
   1965 if ac_fn_c_try_compile "$LINENO"; then :
   1966   eval "$3=yes"
   1967 else
   1968   eval "$3=no"
   1969 fi
   1970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1971 fi
   1972 eval ac_res=\$$3
   1973 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1974 $as_echo "$ac_res" >&6; }
   1975   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1976 
   1977 } # ac_fn_c_check_decl
   1978 cat >config.log <<_ACEOF
   1979 This file contains any messages produced by compilers while
   1980 running configure, to aid debugging if configure makes a mistake.
   1981 
   1982 It was created by libXext $as_me 1.3.4, which was
   1983 generated by GNU Autoconf 2.69.  Invocation command line was
   1984 
   1985   $ $0 $@
   1986 
   1987 _ACEOF
   1988 exec 5>>config.log
   1989 {
   1990 cat <<_ASUNAME
   1991 ## --------- ##
   1992 ## Platform. ##
   1993 ## --------- ##
   1994 
   1995 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1996 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1997 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1998 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1999 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2000 
   2001 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2002 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2003 
   2004 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2005 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2006 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2007 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2008 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2009 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2010 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2011 
   2012 _ASUNAME
   2013 
   2014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2015 for as_dir in $PATH
   2016 do
   2017   IFS=$as_save_IFS
   2018   test -z "$as_dir" && as_dir=.
   2019     $as_echo "PATH: $as_dir"
   2020   done
   2021 IFS=$as_save_IFS
   2022 
   2023 } >&5
   2024 
   2025 cat >&5 <<_ACEOF
   2026 
   2027 
   2028 ## ----------- ##
   2029 ## Core tests. ##
   2030 ## ----------- ##
   2031 
   2032 _ACEOF
   2033 
   2034 
   2035 # Keep a trace of the command line.
   2036 # Strip out --no-create and --no-recursion so they do not pile up.
   2037 # Strip out --silent because we don't want to record it for future runs.
   2038 # Also quote any args containing shell meta-characters.
   2039 # Make two passes to allow for proper duplicate-argument suppression.
   2040 ac_configure_args=
   2041 ac_configure_args0=
   2042 ac_configure_args1=
   2043 ac_must_keep_next=false
   2044 for ac_pass in 1 2
   2045 do
   2046   for ac_arg
   2047   do
   2048     case $ac_arg in
   2049     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2050     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2051     | -silent | --silent | --silen | --sile | --sil)
   2052       continue ;;
   2053     *\'*)
   2054       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2055     esac
   2056     case $ac_pass in
   2057     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2058     2)
   2059       as_fn_append ac_configure_args1 " '$ac_arg'"
   2060       if test $ac_must_keep_next = true; then
   2061 	ac_must_keep_next=false # Got value, back to normal.
   2062       else
   2063 	case $ac_arg in
   2064 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2065 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2066 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2067 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2068 	    case "$ac_configure_args0 " in
   2069 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2070 	    esac
   2071 	    ;;
   2072 	  -* ) ac_must_keep_next=true ;;
   2073 	esac
   2074       fi
   2075       as_fn_append ac_configure_args " '$ac_arg'"
   2076       ;;
   2077     esac
   2078   done
   2079 done
   2080 { ac_configure_args0=; unset ac_configure_args0;}
   2081 { ac_configure_args1=; unset ac_configure_args1;}
   2082 
   2083 # When interrupted or exit'd, cleanup temporary files, and complete
   2084 # config.log.  We remove comments because anyway the quotes in there
   2085 # would cause problems or look ugly.
   2086 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2087 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2088 trap 'exit_status=$?
   2089   # Save into config.log some information that might help in debugging.
   2090   {
   2091     echo
   2092 
   2093     $as_echo "## ---------------- ##
   2094 ## Cache variables. ##
   2095 ## ---------------- ##"
   2096     echo
   2097     # The following way of writing the cache mishandles newlines in values,
   2098 (
   2099   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2100     eval ac_val=\$$ac_var
   2101     case $ac_val in #(
   2102     *${as_nl}*)
   2103       case $ac_var in #(
   2104       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2105 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2106       esac
   2107       case $ac_var in #(
   2108       _ | IFS | as_nl) ;; #(
   2109       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2110       *) { eval $ac_var=; unset $ac_var;} ;;
   2111       esac ;;
   2112     esac
   2113   done
   2114   (set) 2>&1 |
   2115     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2116     *${as_nl}ac_space=\ *)
   2117       sed -n \
   2118 	"s/'\''/'\''\\\\'\'''\''/g;
   2119 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2120       ;; #(
   2121     *)
   2122       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2123       ;;
   2124     esac |
   2125     sort
   2126 )
   2127     echo
   2128 
   2129     $as_echo "## ----------------- ##
   2130 ## Output variables. ##
   2131 ## ----------------- ##"
   2132     echo
   2133     for ac_var in $ac_subst_vars
   2134     do
   2135       eval ac_val=\$$ac_var
   2136       case $ac_val in
   2137       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2138       esac
   2139       $as_echo "$ac_var='\''$ac_val'\''"
   2140     done | sort
   2141     echo
   2142 
   2143     if test -n "$ac_subst_files"; then
   2144       $as_echo "## ------------------- ##
   2145 ## File substitutions. ##
   2146 ## ------------------- ##"
   2147       echo
   2148       for ac_var in $ac_subst_files
   2149       do
   2150 	eval ac_val=\$$ac_var
   2151 	case $ac_val in
   2152 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2153 	esac
   2154 	$as_echo "$ac_var='\''$ac_val'\''"
   2155       done | sort
   2156       echo
   2157     fi
   2158 
   2159     if test -s confdefs.h; then
   2160       $as_echo "## ----------- ##
   2161 ## confdefs.h. ##
   2162 ## ----------- ##"
   2163       echo
   2164       cat confdefs.h
   2165       echo
   2166     fi
   2167     test "$ac_signal" != 0 &&
   2168       $as_echo "$as_me: caught signal $ac_signal"
   2169     $as_echo "$as_me: exit $exit_status"
   2170   } >&5
   2171   rm -f core *.core core.conftest.* &&
   2172     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2173     exit $exit_status
   2174 ' 0
   2175 for ac_signal in 1 2 13 15; do
   2176   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2177 done
   2178 ac_signal=0
   2179 
   2180 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2181 rm -f -r conftest* confdefs.h
   2182 
   2183 $as_echo "/* confdefs.h */" > confdefs.h
   2184 
   2185 # Predefined preprocessor variables.
   2186 
   2187 cat >>confdefs.h <<_ACEOF
   2188 #define PACKAGE_NAME "$PACKAGE_NAME"
   2189 _ACEOF
   2190 
   2191 cat >>confdefs.h <<_ACEOF
   2192 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2193 _ACEOF
   2194 
   2195 cat >>confdefs.h <<_ACEOF
   2196 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2197 _ACEOF
   2198 
   2199 cat >>confdefs.h <<_ACEOF
   2200 #define PACKAGE_STRING "$PACKAGE_STRING"
   2201 _ACEOF
   2202 
   2203 cat >>confdefs.h <<_ACEOF
   2204 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2205 _ACEOF
   2206 
   2207 cat >>confdefs.h <<_ACEOF
   2208 #define PACKAGE_URL "$PACKAGE_URL"
   2209 _ACEOF
   2210 
   2211 
   2212 # Let the site file select an alternate cache file if it wants to.
   2213 # Prefer an explicitly selected file to automatically selected ones.
   2214 ac_site_file1=NONE
   2215 ac_site_file2=NONE
   2216 if test -n "$CONFIG_SITE"; then
   2217   # We do not want a PATH search for config.site.
   2218   case $CONFIG_SITE in #((
   2219     -*)  ac_site_file1=./$CONFIG_SITE;;
   2220     */*) ac_site_file1=$CONFIG_SITE;;
   2221     *)   ac_site_file1=./$CONFIG_SITE;;
   2222   esac
   2223 elif test "x$prefix" != xNONE; then
   2224   ac_site_file1=$prefix/share/config.site
   2225   ac_site_file2=$prefix/etc/config.site
   2226 else
   2227   ac_site_file1=$ac_default_prefix/share/config.site
   2228   ac_site_file2=$ac_default_prefix/etc/config.site
   2229 fi
   2230 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2231 do
   2232   test "x$ac_site_file" = xNONE && continue
   2233   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2234     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2235 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2236     sed 's/^/| /' "$ac_site_file" >&5
   2237     . "$ac_site_file" \
   2238       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2239 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2240 as_fn_error $? "failed to load site script $ac_site_file
   2241 See \`config.log' for more details" "$LINENO" 5; }
   2242   fi
   2243 done
   2244 
   2245 if test -r "$cache_file"; then
   2246   # Some versions of bash will fail to source /dev/null (special files
   2247   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2248   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2249     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2250 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2251     case $cache_file in
   2252       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2253       *)                      . "./$cache_file";;
   2254     esac
   2255   fi
   2256 else
   2257   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2258 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2259   >$cache_file
   2260 fi
   2261 
   2262 # Check that the precious variables saved in the cache have kept the same
   2263 # value.
   2264 ac_cache_corrupted=false
   2265 for ac_var in $ac_precious_vars; do
   2266   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2267   eval ac_new_set=\$ac_env_${ac_var}_set
   2268   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2269   eval ac_new_val=\$ac_env_${ac_var}_value
   2270   case $ac_old_set,$ac_new_set in
   2271     set,)
   2272       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2273 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2274       ac_cache_corrupted=: ;;
   2275     ,set)
   2276       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2277 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2278       ac_cache_corrupted=: ;;
   2279     ,);;
   2280     *)
   2281       if test "x$ac_old_val" != "x$ac_new_val"; then
   2282 	# differences in whitespace do not lead to failure.
   2283 	ac_old_val_w=`echo x $ac_old_val`
   2284 	ac_new_val_w=`echo x $ac_new_val`
   2285 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2286 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2287 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2288 	  ac_cache_corrupted=:
   2289 	else
   2290 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2291 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2292 	  eval $ac_var=\$ac_old_val
   2293 	fi
   2294 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2295 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2296 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2297 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2298       fi;;
   2299   esac
   2300   # Pass precious variables to config.status.
   2301   if test "$ac_new_set" = set; then
   2302     case $ac_new_val in
   2303     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2304     *) ac_arg=$ac_var=$ac_new_val ;;
   2305     esac
   2306     case " $ac_configure_args " in
   2307       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2308       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2309     esac
   2310   fi
   2311 done
   2312 if $ac_cache_corrupted; then
   2313   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2314 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2315   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2316 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2317   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2318 fi
   2319 ## -------------------- ##
   2320 ## Main body of script. ##
   2321 ## -------------------- ##
   2322 
   2323 ac_ext=c
   2324 ac_cpp='$CPP $CPPFLAGS'
   2325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2328 
   2329 
   2330 
   2331 ac_config_headers="$ac_config_headers config.h"
   2332 
   2333 
   2334 
   2335 # Initialize Automake
   2336 am__api_version='1.15'
   2337 
   2338 ac_aux_dir=
   2339 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2340   if test -f "$ac_dir/install-sh"; then
   2341     ac_aux_dir=$ac_dir
   2342     ac_install_sh="$ac_aux_dir/install-sh -c"
   2343     break
   2344   elif test -f "$ac_dir/install.sh"; then
   2345     ac_aux_dir=$ac_dir
   2346     ac_install_sh="$ac_aux_dir/install.sh -c"
   2347     break
   2348   elif test -f "$ac_dir/shtool"; then
   2349     ac_aux_dir=$ac_dir
   2350     ac_install_sh="$ac_aux_dir/shtool install -c"
   2351     break
   2352   fi
   2353 done
   2354 if test -z "$ac_aux_dir"; then
   2355   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2356 fi
   2357 
   2358 # These three variables are undocumented and unsupported,
   2359 # and are intended to be withdrawn in a future Autoconf release.
   2360 # They can cause serious problems if a builder's source tree is in a directory
   2361 # whose full name contains unusual characters.
   2362 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2363 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2364 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2365 
   2366 
   2367 # Find a good install program.  We prefer a C program (faster),
   2368 # so one script is as good as another.  But avoid the broken or
   2369 # incompatible versions:
   2370 # SysV /etc/install, /usr/sbin/install
   2371 # SunOS /usr/etc/install
   2372 # IRIX /sbin/install
   2373 # AIX /bin/install
   2374 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2375 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2376 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2377 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2378 # OS/2's system install, which has a completely different semantic
   2379 # ./install, which can be erroneously created by make from ./install.sh.
   2380 # Reject install programs that cannot install multiple files.
   2381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2382 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2383 if test -z "$INSTALL"; then
   2384 if ${ac_cv_path_install+:} false; then :
   2385   $as_echo_n "(cached) " >&6
   2386 else
   2387   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2388 for as_dir in $PATH
   2389 do
   2390   IFS=$as_save_IFS
   2391   test -z "$as_dir" && as_dir=.
   2392     # Account for people who put trailing slashes in PATH elements.
   2393 case $as_dir/ in #((
   2394   ./ | .// | /[cC]/* | \
   2395   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2396   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2397   /usr/ucb/* ) ;;
   2398   *)
   2399     # OSF1 and SCO ODT 3.0 have their own names for install.
   2400     # Don't use installbsd from OSF since it installs stuff as root
   2401     # by default.
   2402     for ac_prog in ginstall scoinst install; do
   2403       for ac_exec_ext in '' $ac_executable_extensions; do
   2404 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2405 	  if test $ac_prog = install &&
   2406 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2407 	    # AIX install.  It has an incompatible calling convention.
   2408 	    :
   2409 	  elif test $ac_prog = install &&
   2410 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2411 	    # program-specific install script used by HP pwplus--don't use.
   2412 	    :
   2413 	  else
   2414 	    rm -rf conftest.one conftest.two conftest.dir
   2415 	    echo one > conftest.one
   2416 	    echo two > conftest.two
   2417 	    mkdir conftest.dir
   2418 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2419 	      test -s conftest.one && test -s conftest.two &&
   2420 	      test -s conftest.dir/conftest.one &&
   2421 	      test -s conftest.dir/conftest.two
   2422 	    then
   2423 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2424 	      break 3
   2425 	    fi
   2426 	  fi
   2427 	fi
   2428       done
   2429     done
   2430     ;;
   2431 esac
   2432 
   2433   done
   2434 IFS=$as_save_IFS
   2435 
   2436 rm -rf conftest.one conftest.two conftest.dir
   2437 
   2438 fi
   2439   if test "${ac_cv_path_install+set}" = set; then
   2440     INSTALL=$ac_cv_path_install
   2441   else
   2442     # As a last resort, use the slow shell script.  Don't cache a
   2443     # value for INSTALL within a source directory, because that will
   2444     # break other packages using the cache if that directory is
   2445     # removed, or if the value is a relative name.
   2446     INSTALL=$ac_install_sh
   2447   fi
   2448 fi
   2449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2450 $as_echo "$INSTALL" >&6; }
   2451 
   2452 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2453 # It thinks the first close brace ends the variable substitution.
   2454 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2455 
   2456 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2457 
   2458 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2459 
   2460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2461 $as_echo_n "checking whether build environment is sane... " >&6; }
   2462 # Reject unsafe characters in $srcdir or the absolute working directory
   2463 # name.  Accept space and tab only in the latter.
   2464 am_lf='
   2465 '
   2466 case `pwd` in
   2467   *[\\\"\#\$\&\'\`$am_lf]*)
   2468     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2469 esac
   2470 case $srcdir in
   2471   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2472     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2473 esac
   2474 
   2475 # Do 'set' in a subshell so we don't clobber the current shell's
   2476 # arguments.  Must try -L first in case configure is actually a
   2477 # symlink; some systems play weird games with the mod time of symlinks
   2478 # (eg FreeBSD returns the mod time of the symlink's containing
   2479 # directory).
   2480 if (
   2481    am_has_slept=no
   2482    for am_try in 1 2; do
   2483      echo "timestamp, slept: $am_has_slept" > conftest.file
   2484      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2485      if test "$*" = "X"; then
   2486 	# -L didn't work.
   2487 	set X `ls -t "$srcdir/configure" conftest.file`
   2488      fi
   2489      if test "$*" != "X $srcdir/configure conftest.file" \
   2490 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2491 
   2492 	# If neither matched, then we have a broken ls.  This can happen
   2493 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2494 	# broken ls alias from the environment.  This has actually
   2495 	# happened.  Such a system could not be considered "sane".
   2496 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2497   alias in your environment" "$LINENO" 5
   2498      fi
   2499      if test "$2" = conftest.file || test $am_try -eq 2; then
   2500        break
   2501      fi
   2502      # Just in case.
   2503      sleep 1
   2504      am_has_slept=yes
   2505    done
   2506    test "$2" = conftest.file
   2507    )
   2508 then
   2509    # Ok.
   2510    :
   2511 else
   2512    as_fn_error $? "newly created file is older than distributed files!
   2513 Check your system clock" "$LINENO" 5
   2514 fi
   2515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2516 $as_echo "yes" >&6; }
   2517 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2518 # generated files are strictly newer.
   2519 am_sleep_pid=
   2520 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2521   ( sleep 1 ) &
   2522   am_sleep_pid=$!
   2523 fi
   2524 
   2525 rm -f conftest.file
   2526 
   2527 test "$program_prefix" != NONE &&
   2528   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2529 # Use a double $ so make ignores it.
   2530 test "$program_suffix" != NONE &&
   2531   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2532 # Double any \ or $.
   2533 # By default was `s,x,x', remove it if useless.
   2534 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2535 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2536 
   2537 # Expand $ac_aux_dir to an absolute path.
   2538 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2539 
   2540 if test x"${MISSING+set}" != xset; then
   2541   case $am_aux_dir in
   2542   *\ * | *\	*)
   2543     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2544   *)
   2545     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2546   esac
   2547 fi
   2548 # Use eval to expand $SHELL
   2549 if eval "$MISSING --is-lightweight"; then
   2550   am_missing_run="$MISSING "
   2551 else
   2552   am_missing_run=
   2553   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2554 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2555 fi
   2556 
   2557 if test x"${install_sh+set}" != xset; then
   2558   case $am_aux_dir in
   2559   *\ * | *\	*)
   2560     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2561   *)
   2562     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2563   esac
   2564 fi
   2565 
   2566 # Installed binaries are usually stripped using 'strip' when the user
   2567 # run "make install-strip".  However 'strip' might not be the right
   2568 # tool to use in cross-compilation environments, therefore Automake
   2569 # will honor the 'STRIP' environment variable to overrule this program.
   2570 if test "$cross_compiling" != no; then
   2571   if test -n "$ac_tool_prefix"; then
   2572   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2573 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2575 $as_echo_n "checking for $ac_word... " >&6; }
   2576 if ${ac_cv_prog_STRIP+:} false; then :
   2577   $as_echo_n "(cached) " >&6
   2578 else
   2579   if test -n "$STRIP"; then
   2580   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2581 else
   2582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2583 for as_dir in $PATH
   2584 do
   2585   IFS=$as_save_IFS
   2586   test -z "$as_dir" && as_dir=.
   2587     for ac_exec_ext in '' $ac_executable_extensions; do
   2588   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2589     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2590     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2591     break 2
   2592   fi
   2593 done
   2594   done
   2595 IFS=$as_save_IFS
   2596 
   2597 fi
   2598 fi
   2599 STRIP=$ac_cv_prog_STRIP
   2600 if test -n "$STRIP"; then
   2601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2602 $as_echo "$STRIP" >&6; }
   2603 else
   2604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2605 $as_echo "no" >&6; }
   2606 fi
   2607 
   2608 
   2609 fi
   2610 if test -z "$ac_cv_prog_STRIP"; then
   2611   ac_ct_STRIP=$STRIP
   2612   # Extract the first word of "strip", so it can be a program name with args.
   2613 set dummy strip; ac_word=$2
   2614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2615 $as_echo_n "checking for $ac_word... " >&6; }
   2616 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2617   $as_echo_n "(cached) " >&6
   2618 else
   2619   if test -n "$ac_ct_STRIP"; then
   2620   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   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     for ac_exec_ext in '' $ac_executable_extensions; do
   2628   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2629     ac_cv_prog_ac_ct_STRIP="strip"
   2630     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2631     break 2
   2632   fi
   2633 done
   2634   done
   2635 IFS=$as_save_IFS
   2636 
   2637 fi
   2638 fi
   2639 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2640 if test -n "$ac_ct_STRIP"; then
   2641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2642 $as_echo "$ac_ct_STRIP" >&6; }
   2643 else
   2644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2645 $as_echo "no" >&6; }
   2646 fi
   2647 
   2648   if test "x$ac_ct_STRIP" = x; then
   2649     STRIP=":"
   2650   else
   2651     case $cross_compiling:$ac_tool_warned in
   2652 yes:)
   2653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2654 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2655 ac_tool_warned=yes ;;
   2656 esac
   2657     STRIP=$ac_ct_STRIP
   2658   fi
   2659 else
   2660   STRIP="$ac_cv_prog_STRIP"
   2661 fi
   2662 
   2663 fi
   2664 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2665 
   2666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2667 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2668 if test -z "$MKDIR_P"; then
   2669   if ${ac_cv_path_mkdir+:} false; then :
   2670   $as_echo_n "(cached) " >&6
   2671 else
   2672   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2673 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2674 do
   2675   IFS=$as_save_IFS
   2676   test -z "$as_dir" && as_dir=.
   2677     for ac_prog in mkdir gmkdir; do
   2678 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2679 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2680 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2681 	     'mkdir (GNU coreutils) '* | \
   2682 	     'mkdir (coreutils) '* | \
   2683 	     'mkdir (fileutils) '4.1*)
   2684 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2685 	       break 3;;
   2686 	   esac
   2687 	 done
   2688        done
   2689   done
   2690 IFS=$as_save_IFS
   2691 
   2692 fi
   2693 
   2694   test -d ./--version && rmdir ./--version
   2695   if test "${ac_cv_path_mkdir+set}" = set; then
   2696     MKDIR_P="$ac_cv_path_mkdir -p"
   2697   else
   2698     # As a last resort, use the slow shell script.  Don't cache a
   2699     # value for MKDIR_P within a source directory, because that will
   2700     # break other packages using the cache if that directory is
   2701     # removed, or if the value is a relative name.
   2702     MKDIR_P="$ac_install_sh -d"
   2703   fi
   2704 fi
   2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2706 $as_echo "$MKDIR_P" >&6; }
   2707 
   2708 for ac_prog in gawk mawk nawk awk
   2709 do
   2710   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2711 set dummy $ac_prog; ac_word=$2
   2712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2713 $as_echo_n "checking for $ac_word... " >&6; }
   2714 if ${ac_cv_prog_AWK+:} false; then :
   2715   $as_echo_n "(cached) " >&6
   2716 else
   2717   if test -n "$AWK"; then
   2718   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2719 else
   2720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2721 for as_dir in $PATH
   2722 do
   2723   IFS=$as_save_IFS
   2724   test -z "$as_dir" && as_dir=.
   2725     for ac_exec_ext in '' $ac_executable_extensions; do
   2726   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2727     ac_cv_prog_AWK="$ac_prog"
   2728     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2729     break 2
   2730   fi
   2731 done
   2732   done
   2733 IFS=$as_save_IFS
   2734 
   2735 fi
   2736 fi
   2737 AWK=$ac_cv_prog_AWK
   2738 if test -n "$AWK"; then
   2739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2740 $as_echo "$AWK" >&6; }
   2741 else
   2742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2743 $as_echo "no" >&6; }
   2744 fi
   2745 
   2746 
   2747   test -n "$AWK" && break
   2748 done
   2749 
   2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2751 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2752 set x ${MAKE-make}
   2753 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2754 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2755   $as_echo_n "(cached) " >&6
   2756 else
   2757   cat >conftest.make <<\_ACEOF
   2758 SHELL = /bin/sh
   2759 all:
   2760 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2761 _ACEOF
   2762 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2763 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2764   *@@@%%%=?*=@@@%%%*)
   2765     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2766   *)
   2767     eval ac_cv_prog_make_${ac_make}_set=no;;
   2768 esac
   2769 rm -f conftest.make
   2770 fi
   2771 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2773 $as_echo "yes" >&6; }
   2774   SET_MAKE=
   2775 else
   2776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2777 $as_echo "no" >&6; }
   2778   SET_MAKE="MAKE=${MAKE-make}"
   2779 fi
   2780 
   2781 rm -rf .tst 2>/dev/null
   2782 mkdir .tst 2>/dev/null
   2783 if test -d .tst; then
   2784   am__leading_dot=.
   2785 else
   2786   am__leading_dot=_
   2787 fi
   2788 rmdir .tst 2>/dev/null
   2789 
   2790 # Check whether --enable-silent-rules was given.
   2791 if test "${enable_silent_rules+set}" = set; then :
   2792   enableval=$enable_silent_rules;
   2793 fi
   2794 
   2795 case $enable_silent_rules in # (((
   2796   yes) AM_DEFAULT_VERBOSITY=0;;
   2797    no) AM_DEFAULT_VERBOSITY=1;;
   2798     *) AM_DEFAULT_VERBOSITY=1;;
   2799 esac
   2800 am_make=${MAKE-make}
   2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2802 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2803 if ${am_cv_make_support_nested_variables+:} false; then :
   2804   $as_echo_n "(cached) " >&6
   2805 else
   2806   if $as_echo 'TRUE=$(BAR$(V))
   2807 BAR0=false
   2808 BAR1=true
   2809 V=1
   2810 am__doit:
   2811 	@$(TRUE)
   2812 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2813   am_cv_make_support_nested_variables=yes
   2814 else
   2815   am_cv_make_support_nested_variables=no
   2816 fi
   2817 fi
   2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2819 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2820 if test $am_cv_make_support_nested_variables = yes; then
   2821     AM_V='$(V)'
   2822   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2823 else
   2824   AM_V=$AM_DEFAULT_VERBOSITY
   2825   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2826 fi
   2827 AM_BACKSLASH='\'
   2828 
   2829 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2830   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2831   # is not polluted with repeated "-I."
   2832   am__isrc=' -I$(srcdir)'
   2833   # test to see if srcdir already configured
   2834   if test -f $srcdir/config.status; then
   2835     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2836   fi
   2837 fi
   2838 
   2839 # test whether we have cygpath
   2840 if test -z "$CYGPATH_W"; then
   2841   if (cygpath --version) >/dev/null 2>/dev/null; then
   2842     CYGPATH_W='cygpath -w'
   2843   else
   2844     CYGPATH_W=echo
   2845   fi
   2846 fi
   2847 
   2848 
   2849 # Define the identity of the package.
   2850  PACKAGE='libXext'
   2851  VERSION='1.3.4'
   2852 
   2853 
   2854 cat >>confdefs.h <<_ACEOF
   2855 #define PACKAGE "$PACKAGE"
   2856 _ACEOF
   2857 
   2858 
   2859 cat >>confdefs.h <<_ACEOF
   2860 #define VERSION "$VERSION"
   2861 _ACEOF
   2862 
   2863 # Some tools Automake needs.
   2864 
   2865 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2866 
   2867 
   2868 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2869 
   2870 
   2871 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2872 
   2873 
   2874 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2875 
   2876 
   2877 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2878 
   2879 # For better backward compatibility.  To be removed once Automake 1.9.x
   2880 # dies out for good.  For more background, see:
   2881 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2882 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2883 mkdir_p='$(MKDIR_P)'
   2884 
   2885 # We need awk for the "check" target (and possibly the TAP driver).  The
   2886 # system "awk" is bad on some platforms.
   2887 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2888 # in the wild :-(  We should find a proper way to deprecate it ...
   2889 AMTAR='$${TAR-tar}'
   2890 
   2891 
   2892 # We'll loop over all known methods to create a tar archive until one works.
   2893 _am_tools='gnutar  pax cpio none'
   2894 
   2895 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2896 
   2897 
   2898 
   2899 
   2900 
   2901 
   2902 # POSIX will say in a future version that running "rm -f" with no argument
   2903 # is OK; and we want to be able to make that assumption in our Makefile
   2904 # recipes.  So use an aggressive probe to check that the usage we want is
   2905 # actually supported "in the wild" to an acceptable degree.
   2906 # See automake bug#10828.
   2907 # To make any issue more visible, cause the running configure to be aborted
   2908 # by default if the 'rm' program in use doesn't match our expectations; the
   2909 # user can still override this though.
   2910 if rm -f && rm -fr && rm -rf; then : OK; else
   2911   cat >&2 <<'END'
   2912 Oops!
   2913 
   2914 Your 'rm' program seems unable to run without file operands specified
   2915 on the command line, even when the '-f' option is present.  This is contrary
   2916 to the behaviour of most rm programs out there, and not conforming with
   2917 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2918 
   2919 Please tell bug-automake@gnu.org about your system, including the value
   2920 of your $PATH and any error possibly output before this message.  This
   2921 can help us improve future automake versions.
   2922 
   2923 END
   2924   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2925     echo 'Configuration will proceed anyway, since you have set the' >&2
   2926     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2927     echo >&2
   2928   else
   2929     cat >&2 <<'END'
   2930 Aborting the configuration process, to ensure you take notice of the issue.
   2931 
   2932 You can download and install GNU coreutils to get an 'rm' implementation
   2933 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2934 
   2935 If you want to complete the configuration process using your problematic
   2936 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2937 to "yes", and re-run configure.
   2938 
   2939 END
   2940     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2941   fi
   2942 fi
   2943 
   2944 
   2945 # Initialize libtool
   2946 case `pwd` in
   2947   *\ * | *\	*)
   2948     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   2949 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   2950 esac
   2951 
   2952 
   2953 
   2954 macro_version='2.4.6'
   2955 macro_revision='2.4.6'
   2956 
   2957 
   2958 
   2959 
   2960 
   2961 
   2962 
   2963 
   2964 
   2965 
   2966 
   2967 
   2968 
   2969 ltmain=$ac_aux_dir/ltmain.sh
   2970 
   2971 # Make sure we can run config.sub.
   2972 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2973   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2974 
   2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2976 $as_echo_n "checking build system type... " >&6; }
   2977 if ${ac_cv_build+:} false; then :
   2978   $as_echo_n "(cached) " >&6
   2979 else
   2980   ac_build_alias=$build_alias
   2981 test "x$ac_build_alias" = x &&
   2982   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2983 test "x$ac_build_alias" = x &&
   2984   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2985 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2986   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2987 
   2988 fi
   2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2990 $as_echo "$ac_cv_build" >&6; }
   2991 case $ac_cv_build in
   2992 *-*-*) ;;
   2993 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2994 esac
   2995 build=$ac_cv_build
   2996 ac_save_IFS=$IFS; IFS='-'
   2997 set x $ac_cv_build
   2998 shift
   2999 build_cpu=$1
   3000 build_vendor=$2
   3001 shift; shift
   3002 # Remember, the first character of IFS is used to create $*,
   3003 # except with old shells:
   3004 build_os=$*
   3005 IFS=$ac_save_IFS
   3006 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3007 
   3008 
   3009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3010 $as_echo_n "checking host system type... " >&6; }
   3011 if ${ac_cv_host+:} false; then :
   3012   $as_echo_n "(cached) " >&6
   3013 else
   3014   if test "x$host_alias" = x; then
   3015   ac_cv_host=$ac_cv_build
   3016 else
   3017   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3018     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   3019 fi
   3020 
   3021 fi
   3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3023 $as_echo "$ac_cv_host" >&6; }
   3024 case $ac_cv_host in
   3025 *-*-*) ;;
   3026 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3027 esac
   3028 host=$ac_cv_host
   3029 ac_save_IFS=$IFS; IFS='-'
   3030 set x $ac_cv_host
   3031 shift
   3032 host_cpu=$1
   3033 host_vendor=$2
   3034 shift; shift
   3035 # Remember, the first character of IFS is used to create $*,
   3036 # except with old shells:
   3037 host_os=$*
   3038 IFS=$ac_save_IFS
   3039 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3040 
   3041 
   3042 # Backslashify metacharacters that are still active within
   3043 # double-quoted strings.
   3044 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   3045 
   3046 # Same as above, but do not quote variable references.
   3047 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   3048 
   3049 # Sed substitution to delay expansion of an escaped shell variable in a
   3050 # double_quote_subst'ed string.
   3051 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   3052 
   3053 # Sed substitution to delay expansion of an escaped single quote.
   3054 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   3055 
   3056 # Sed substitution to avoid accidental globbing in evaled expressions
   3057 no_glob_subst='s/\*/\\\*/g'
   3058 
   3059 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   3060 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   3061 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   3062 
   3063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   3064 $as_echo_n "checking how to print strings... " >&6; }
   3065 # Test print first, because it will be a builtin if present.
   3066 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   3067    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   3068   ECHO='print -r --'
   3069 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   3070   ECHO='printf %s\n'
   3071 else
   3072   # Use this function as a fallback that always works.
   3073   func_fallback_echo ()
   3074   {
   3075     eval 'cat <<_LTECHO_EOF
   3076 $1
   3077 _LTECHO_EOF'
   3078   }
   3079   ECHO='func_fallback_echo'
   3080 fi
   3081 
   3082 # func_echo_all arg...
   3083 # Invoke $ECHO with all args, space-separated.
   3084 func_echo_all ()
   3085 {
   3086     $ECHO ""
   3087 }
   3088 
   3089 case $ECHO in
   3090   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   3091 $as_echo "printf" >&6; } ;;
   3092   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   3093 $as_echo "print -r" >&6; } ;;
   3094   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   3095 $as_echo "cat" >&6; } ;;
   3096 esac
   3097 
   3098 
   3099 
   3100 
   3101 
   3102 
   3103 
   3104 
   3105 
   3106 
   3107 
   3108 
   3109 
   3110 
   3111 DEPDIR="${am__leading_dot}deps"
   3112 
   3113 ac_config_commands="$ac_config_commands depfiles"
   3114 
   3115 
   3116 am_make=${MAKE-make}
   3117 cat > confinc << 'END'
   3118 am__doit:
   3119 	@echo this is the am__doit target
   3120 .PHONY: am__doit
   3121 END
   3122 # If we don't find an include directive, just comment out the code.
   3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3124 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3125 am__include="#"
   3126 am__quote=
   3127 _am_result=none
   3128 # First try GNU make style include.
   3129 echo "include confinc" > confmf
   3130 # Ignore all kinds of additional output from 'make'.
   3131 case `$am_make -s -f confmf 2> /dev/null` in #(
   3132 *the\ am__doit\ target*)
   3133   am__include=include
   3134   am__quote=
   3135   _am_result=GNU
   3136   ;;
   3137 esac
   3138 # Now try BSD make style include.
   3139 if test "$am__include" = "#"; then
   3140    echo '.include "confinc"' > confmf
   3141    case `$am_make -s -f confmf 2> /dev/null` in #(
   3142    *the\ am__doit\ target*)
   3143      am__include=.include
   3144      am__quote="\""
   3145      _am_result=BSD
   3146      ;;
   3147    esac
   3148 fi
   3149 
   3150 
   3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3152 $as_echo "$_am_result" >&6; }
   3153 rm -f confinc confmf
   3154 
   3155 # Check whether --enable-dependency-tracking was given.
   3156 if test "${enable_dependency_tracking+set}" = set; then :
   3157   enableval=$enable_dependency_tracking;
   3158 fi
   3159 
   3160 if test "x$enable_dependency_tracking" != xno; then
   3161   am_depcomp="$ac_aux_dir/depcomp"
   3162   AMDEPBACKSLASH='\'
   3163   am__nodep='_no'
   3164 fi
   3165  if test "x$enable_dependency_tracking" != xno; then
   3166   AMDEP_TRUE=
   3167   AMDEP_FALSE='#'
   3168 else
   3169   AMDEP_TRUE='#'
   3170   AMDEP_FALSE=
   3171 fi
   3172 
   3173 
   3174 ac_ext=c
   3175 ac_cpp='$CPP $CPPFLAGS'
   3176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3179 if test -n "$ac_tool_prefix"; then
   3180   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3181 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3183 $as_echo_n "checking for $ac_word... " >&6; }
   3184 if ${ac_cv_prog_CC+:} false; then :
   3185   $as_echo_n "(cached) " >&6
   3186 else
   3187   if test -n "$CC"; then
   3188   ac_cv_prog_CC="$CC" # Let the user override the test.
   3189 else
   3190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3191 for as_dir in $PATH
   3192 do
   3193   IFS=$as_save_IFS
   3194   test -z "$as_dir" && as_dir=.
   3195     for ac_exec_ext in '' $ac_executable_extensions; do
   3196   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3197     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3198     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3199     break 2
   3200   fi
   3201 done
   3202   done
   3203 IFS=$as_save_IFS
   3204 
   3205 fi
   3206 fi
   3207 CC=$ac_cv_prog_CC
   3208 if test -n "$CC"; then
   3209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3210 $as_echo "$CC" >&6; }
   3211 else
   3212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3213 $as_echo "no" >&6; }
   3214 fi
   3215 
   3216 
   3217 fi
   3218 if test -z "$ac_cv_prog_CC"; then
   3219   ac_ct_CC=$CC
   3220   # Extract the first word of "gcc", so it can be a program name with args.
   3221 set dummy gcc; ac_word=$2
   3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3223 $as_echo_n "checking for $ac_word... " >&6; }
   3224 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3225   $as_echo_n "(cached) " >&6
   3226 else
   3227   if test -n "$ac_ct_CC"; then
   3228   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3229 else
   3230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3231 for as_dir in $PATH
   3232 do
   3233   IFS=$as_save_IFS
   3234   test -z "$as_dir" && as_dir=.
   3235     for ac_exec_ext in '' $ac_executable_extensions; do
   3236   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3237     ac_cv_prog_ac_ct_CC="gcc"
   3238     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3239     break 2
   3240   fi
   3241 done
   3242   done
   3243 IFS=$as_save_IFS
   3244 
   3245 fi
   3246 fi
   3247 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3248 if test -n "$ac_ct_CC"; then
   3249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3250 $as_echo "$ac_ct_CC" >&6; }
   3251 else
   3252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3253 $as_echo "no" >&6; }
   3254 fi
   3255 
   3256   if test "x$ac_ct_CC" = x; then
   3257     CC=""
   3258   else
   3259     case $cross_compiling:$ac_tool_warned in
   3260 yes:)
   3261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3262 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3263 ac_tool_warned=yes ;;
   3264 esac
   3265     CC=$ac_ct_CC
   3266   fi
   3267 else
   3268   CC="$ac_cv_prog_CC"
   3269 fi
   3270 
   3271 if test -z "$CC"; then
   3272           if test -n "$ac_tool_prefix"; then
   3273     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3274 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3276 $as_echo_n "checking for $ac_word... " >&6; }
   3277 if ${ac_cv_prog_CC+:} false; then :
   3278   $as_echo_n "(cached) " >&6
   3279 else
   3280   if test -n "$CC"; then
   3281   ac_cv_prog_CC="$CC" # Let the user override the test.
   3282 else
   3283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3284 for as_dir in $PATH
   3285 do
   3286   IFS=$as_save_IFS
   3287   test -z "$as_dir" && as_dir=.
   3288     for ac_exec_ext in '' $ac_executable_extensions; do
   3289   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3290     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3291     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3292     break 2
   3293   fi
   3294 done
   3295   done
   3296 IFS=$as_save_IFS
   3297 
   3298 fi
   3299 fi
   3300 CC=$ac_cv_prog_CC
   3301 if test -n "$CC"; then
   3302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3303 $as_echo "$CC" >&6; }
   3304 else
   3305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3306 $as_echo "no" >&6; }
   3307 fi
   3308 
   3309 
   3310   fi
   3311 fi
   3312 if test -z "$CC"; then
   3313   # Extract the first word of "cc", so it can be a program name with args.
   3314 set dummy cc; ac_word=$2
   3315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3316 $as_echo_n "checking for $ac_word... " >&6; }
   3317 if ${ac_cv_prog_CC+:} false; then :
   3318   $as_echo_n "(cached) " >&6
   3319 else
   3320   if test -n "$CC"; then
   3321   ac_cv_prog_CC="$CC" # Let the user override the test.
   3322 else
   3323   ac_prog_rejected=no
   3324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3325 for as_dir in $PATH
   3326 do
   3327   IFS=$as_save_IFS
   3328   test -z "$as_dir" && as_dir=.
   3329     for ac_exec_ext in '' $ac_executable_extensions; do
   3330   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3331     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3332        ac_prog_rejected=yes
   3333        continue
   3334      fi
   3335     ac_cv_prog_CC="cc"
   3336     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3337     break 2
   3338   fi
   3339 done
   3340   done
   3341 IFS=$as_save_IFS
   3342 
   3343 if test $ac_prog_rejected = yes; then
   3344   # We found a bogon in the path, so make sure we never use it.
   3345   set dummy $ac_cv_prog_CC
   3346   shift
   3347   if test $# != 0; then
   3348     # We chose a different compiler from the bogus one.
   3349     # However, it has the same basename, so the bogon will be chosen
   3350     # first if we set CC to just the basename; use the full file name.
   3351     shift
   3352     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3353   fi
   3354 fi
   3355 fi
   3356 fi
   3357 CC=$ac_cv_prog_CC
   3358 if test -n "$CC"; then
   3359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3360 $as_echo "$CC" >&6; }
   3361 else
   3362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3363 $as_echo "no" >&6; }
   3364 fi
   3365 
   3366 
   3367 fi
   3368 if test -z "$CC"; then
   3369   if test -n "$ac_tool_prefix"; then
   3370   for ac_prog in cl.exe
   3371   do
   3372     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3373 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3375 $as_echo_n "checking for $ac_word... " >&6; }
   3376 if ${ac_cv_prog_CC+:} false; then :
   3377   $as_echo_n "(cached) " >&6
   3378 else
   3379   if test -n "$CC"; then
   3380   ac_cv_prog_CC="$CC" # Let the user override the test.
   3381 else
   3382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3383 for as_dir in $PATH
   3384 do
   3385   IFS=$as_save_IFS
   3386   test -z "$as_dir" && as_dir=.
   3387     for ac_exec_ext in '' $ac_executable_extensions; do
   3388   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3389     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3390     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3391     break 2
   3392   fi
   3393 done
   3394   done
   3395 IFS=$as_save_IFS
   3396 
   3397 fi
   3398 fi
   3399 CC=$ac_cv_prog_CC
   3400 if test -n "$CC"; then
   3401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3402 $as_echo "$CC" >&6; }
   3403 else
   3404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3405 $as_echo "no" >&6; }
   3406 fi
   3407 
   3408 
   3409     test -n "$CC" && break
   3410   done
   3411 fi
   3412 if test -z "$CC"; then
   3413   ac_ct_CC=$CC
   3414   for ac_prog in cl.exe
   3415 do
   3416   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3417 set dummy $ac_prog; ac_word=$2
   3418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3419 $as_echo_n "checking for $ac_word... " >&6; }
   3420 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3421   $as_echo_n "(cached) " >&6
   3422 else
   3423   if test -n "$ac_ct_CC"; then
   3424   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3425 else
   3426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3427 for as_dir in $PATH
   3428 do
   3429   IFS=$as_save_IFS
   3430   test -z "$as_dir" && as_dir=.
   3431     for ac_exec_ext in '' $ac_executable_extensions; do
   3432   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3433     ac_cv_prog_ac_ct_CC="$ac_prog"
   3434     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3435     break 2
   3436   fi
   3437 done
   3438   done
   3439 IFS=$as_save_IFS
   3440 
   3441 fi
   3442 fi
   3443 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3444 if test -n "$ac_ct_CC"; then
   3445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3446 $as_echo "$ac_ct_CC" >&6; }
   3447 else
   3448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3449 $as_echo "no" >&6; }
   3450 fi
   3451 
   3452 
   3453   test -n "$ac_ct_CC" && break
   3454 done
   3455 
   3456   if test "x$ac_ct_CC" = x; then
   3457     CC=""
   3458   else
   3459     case $cross_compiling:$ac_tool_warned in
   3460 yes:)
   3461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3462 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3463 ac_tool_warned=yes ;;
   3464 esac
   3465     CC=$ac_ct_CC
   3466   fi
   3467 fi
   3468 
   3469 fi
   3470 
   3471 
   3472 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3473 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3474 as_fn_error $? "no acceptable C compiler found in \$PATH
   3475 See \`config.log' for more details" "$LINENO" 5; }
   3476 
   3477 # Provide some information about the compiler.
   3478 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3479 set X $ac_compile
   3480 ac_compiler=$2
   3481 for ac_option in --version -v -V -qversion; do
   3482   { { ac_try="$ac_compiler $ac_option >&5"
   3483 case "(($ac_try" in
   3484   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3485   *) ac_try_echo=$ac_try;;
   3486 esac
   3487 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3488 $as_echo "$ac_try_echo"; } >&5
   3489   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3490   ac_status=$?
   3491   if test -s conftest.err; then
   3492     sed '10a\
   3493 ... rest of stderr output deleted ...
   3494          10q' conftest.err >conftest.er1
   3495     cat conftest.er1 >&5
   3496   fi
   3497   rm -f conftest.er1 conftest.err
   3498   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3499   test $ac_status = 0; }
   3500 done
   3501 
   3502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3503 /* end confdefs.h.  */
   3504 
   3505 int
   3506 main ()
   3507 {
   3508 
   3509   ;
   3510   return 0;
   3511 }
   3512 _ACEOF
   3513 ac_clean_files_save=$ac_clean_files
   3514 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3515 # Try to create an executable without -o first, disregard a.out.
   3516 # It will help us diagnose broken compilers, and finding out an intuition
   3517 # of exeext.
   3518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3519 $as_echo_n "checking whether the C compiler works... " >&6; }
   3520 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3521 
   3522 # The possible output files:
   3523 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3524 
   3525 ac_rmfiles=
   3526 for ac_file in $ac_files
   3527 do
   3528   case $ac_file in
   3529     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3530     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3531   esac
   3532 done
   3533 rm -f $ac_rmfiles
   3534 
   3535 if { { ac_try="$ac_link_default"
   3536 case "(($ac_try" in
   3537   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3538   *) ac_try_echo=$ac_try;;
   3539 esac
   3540 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3541 $as_echo "$ac_try_echo"; } >&5
   3542   (eval "$ac_link_default") 2>&5
   3543   ac_status=$?
   3544   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3545   test $ac_status = 0; }; then :
   3546   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3547 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3548 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3549 # so that the user can short-circuit this test for compilers unknown to
   3550 # Autoconf.
   3551 for ac_file in $ac_files ''
   3552 do
   3553   test -f "$ac_file" || continue
   3554   case $ac_file in
   3555     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3556 	;;
   3557     [ab].out )
   3558 	# We found the default executable, but exeext='' is most
   3559 	# certainly right.
   3560 	break;;
   3561     *.* )
   3562 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3563 	then :; else
   3564 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3565 	fi
   3566 	# We set ac_cv_exeext here because the later test for it is not
   3567 	# safe: cross compilers may not add the suffix if given an `-o'
   3568 	# argument, so we may need to know it at that point already.
   3569 	# Even if this section looks crufty: it has the advantage of
   3570 	# actually working.
   3571 	break;;
   3572     * )
   3573 	break;;
   3574   esac
   3575 done
   3576 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3577 
   3578 else
   3579   ac_file=''
   3580 fi
   3581 if test -z "$ac_file"; then :
   3582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3583 $as_echo "no" >&6; }
   3584 $as_echo "$as_me: failed program was:" >&5
   3585 sed 's/^/| /' conftest.$ac_ext >&5
   3586 
   3587 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3588 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3589 as_fn_error 77 "C compiler cannot create executables
   3590 See \`config.log' for more details" "$LINENO" 5; }
   3591 else
   3592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3593 $as_echo "yes" >&6; }
   3594 fi
   3595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3596 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3598 $as_echo "$ac_file" >&6; }
   3599 ac_exeext=$ac_cv_exeext
   3600 
   3601 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3602 ac_clean_files=$ac_clean_files_save
   3603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3604 $as_echo_n "checking for suffix of executables... " >&6; }
   3605 if { { ac_try="$ac_link"
   3606 case "(($ac_try" in
   3607   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3608   *) ac_try_echo=$ac_try;;
   3609 esac
   3610 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3611 $as_echo "$ac_try_echo"; } >&5
   3612   (eval "$ac_link") 2>&5
   3613   ac_status=$?
   3614   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3615   test $ac_status = 0; }; then :
   3616   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3617 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3618 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3619 # `rm'.
   3620 for ac_file in conftest.exe conftest conftest.*; do
   3621   test -f "$ac_file" || continue
   3622   case $ac_file in
   3623     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3624     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3625 	  break;;
   3626     * ) break;;
   3627   esac
   3628 done
   3629 else
   3630   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3631 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3632 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3633 See \`config.log' for more details" "$LINENO" 5; }
   3634 fi
   3635 rm -f conftest conftest$ac_cv_exeext
   3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3637 $as_echo "$ac_cv_exeext" >&6; }
   3638 
   3639 rm -f conftest.$ac_ext
   3640 EXEEXT=$ac_cv_exeext
   3641 ac_exeext=$EXEEXT
   3642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3643 /* end confdefs.h.  */
   3644 #include <stdio.h>
   3645 int
   3646 main ()
   3647 {
   3648 FILE *f = fopen ("conftest.out", "w");
   3649  return ferror (f) || fclose (f) != 0;
   3650 
   3651   ;
   3652   return 0;
   3653 }
   3654 _ACEOF
   3655 ac_clean_files="$ac_clean_files conftest.out"
   3656 # Check that the compiler produces executables we can run.  If not, either
   3657 # the compiler is broken, or we cross compile.
   3658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3659 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3660 if test "$cross_compiling" != yes; then
   3661   { { ac_try="$ac_link"
   3662 case "(($ac_try" in
   3663   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3664   *) ac_try_echo=$ac_try;;
   3665 esac
   3666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3667 $as_echo "$ac_try_echo"; } >&5
   3668   (eval "$ac_link") 2>&5
   3669   ac_status=$?
   3670   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3671   test $ac_status = 0; }
   3672   if { ac_try='./conftest$ac_cv_exeext'
   3673   { { case "(($ac_try" in
   3674   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3675   *) ac_try_echo=$ac_try;;
   3676 esac
   3677 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3678 $as_echo "$ac_try_echo"; } >&5
   3679   (eval "$ac_try") 2>&5
   3680   ac_status=$?
   3681   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3682   test $ac_status = 0; }; }; then
   3683     cross_compiling=no
   3684   else
   3685     if test "$cross_compiling" = maybe; then
   3686 	cross_compiling=yes
   3687     else
   3688 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3689 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3690 as_fn_error $? "cannot run C compiled programs.
   3691 If you meant to cross compile, use \`--host'.
   3692 See \`config.log' for more details" "$LINENO" 5; }
   3693     fi
   3694   fi
   3695 fi
   3696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3697 $as_echo "$cross_compiling" >&6; }
   3698 
   3699 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3700 ac_clean_files=$ac_clean_files_save
   3701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3702 $as_echo_n "checking for suffix of object files... " >&6; }
   3703 if ${ac_cv_objext+:} false; then :
   3704   $as_echo_n "(cached) " >&6
   3705 else
   3706   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3707 /* end confdefs.h.  */
   3708 
   3709 int
   3710 main ()
   3711 {
   3712 
   3713   ;
   3714   return 0;
   3715 }
   3716 _ACEOF
   3717 rm -f conftest.o conftest.obj
   3718 if { { ac_try="$ac_compile"
   3719 case "(($ac_try" in
   3720   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3721   *) ac_try_echo=$ac_try;;
   3722 esac
   3723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3724 $as_echo "$ac_try_echo"; } >&5
   3725   (eval "$ac_compile") 2>&5
   3726   ac_status=$?
   3727   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3728   test $ac_status = 0; }; then :
   3729   for ac_file in conftest.o conftest.obj conftest.*; do
   3730   test -f "$ac_file" || continue;
   3731   case $ac_file in
   3732     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3733     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3734        break;;
   3735   esac
   3736 done
   3737 else
   3738   $as_echo "$as_me: failed program was:" >&5
   3739 sed 's/^/| /' conftest.$ac_ext >&5
   3740 
   3741 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3742 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3743 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3744 See \`config.log' for more details" "$LINENO" 5; }
   3745 fi
   3746 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3747 fi
   3748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3749 $as_echo "$ac_cv_objext" >&6; }
   3750 OBJEXT=$ac_cv_objext
   3751 ac_objext=$OBJEXT
   3752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3753 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3754 if ${ac_cv_c_compiler_gnu+:} false; then :
   3755   $as_echo_n "(cached) " >&6
   3756 else
   3757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3758 /* end confdefs.h.  */
   3759 
   3760 int
   3761 main ()
   3762 {
   3763 #ifndef __GNUC__
   3764        choke me
   3765 #endif
   3766 
   3767   ;
   3768   return 0;
   3769 }
   3770 _ACEOF
   3771 if ac_fn_c_try_compile "$LINENO"; then :
   3772   ac_compiler_gnu=yes
   3773 else
   3774   ac_compiler_gnu=no
   3775 fi
   3776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3777 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3778 
   3779 fi
   3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3781 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3782 if test $ac_compiler_gnu = yes; then
   3783   GCC=yes
   3784 else
   3785   GCC=
   3786 fi
   3787 ac_test_CFLAGS=${CFLAGS+set}
   3788 ac_save_CFLAGS=$CFLAGS
   3789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3790 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3791 if ${ac_cv_prog_cc_g+:} false; then :
   3792   $as_echo_n "(cached) " >&6
   3793 else
   3794   ac_save_c_werror_flag=$ac_c_werror_flag
   3795    ac_c_werror_flag=yes
   3796    ac_cv_prog_cc_g=no
   3797    CFLAGS="-g"
   3798    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3799 /* end confdefs.h.  */
   3800 
   3801 int
   3802 main ()
   3803 {
   3804 
   3805   ;
   3806   return 0;
   3807 }
   3808 _ACEOF
   3809 if ac_fn_c_try_compile "$LINENO"; then :
   3810   ac_cv_prog_cc_g=yes
   3811 else
   3812   CFLAGS=""
   3813       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3814 /* end confdefs.h.  */
   3815 
   3816 int
   3817 main ()
   3818 {
   3819 
   3820   ;
   3821   return 0;
   3822 }
   3823 _ACEOF
   3824 if ac_fn_c_try_compile "$LINENO"; then :
   3825 
   3826 else
   3827   ac_c_werror_flag=$ac_save_c_werror_flag
   3828 	 CFLAGS="-g"
   3829 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3830 /* end confdefs.h.  */
   3831 
   3832 int
   3833 main ()
   3834 {
   3835 
   3836   ;
   3837   return 0;
   3838 }
   3839 _ACEOF
   3840 if ac_fn_c_try_compile "$LINENO"; then :
   3841   ac_cv_prog_cc_g=yes
   3842 fi
   3843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3844 fi
   3845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3846 fi
   3847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3848    ac_c_werror_flag=$ac_save_c_werror_flag
   3849 fi
   3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3851 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3852 if test "$ac_test_CFLAGS" = set; then
   3853   CFLAGS=$ac_save_CFLAGS
   3854 elif test $ac_cv_prog_cc_g = yes; then
   3855   if test "$GCC" = yes; then
   3856     CFLAGS="-g -O2"
   3857   else
   3858     CFLAGS="-g"
   3859   fi
   3860 else
   3861   if test "$GCC" = yes; then
   3862     CFLAGS="-O2"
   3863   else
   3864     CFLAGS=
   3865   fi
   3866 fi
   3867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3868 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3869 if ${ac_cv_prog_cc_c89+:} false; then :
   3870   $as_echo_n "(cached) " >&6
   3871 else
   3872   ac_cv_prog_cc_c89=no
   3873 ac_save_CC=$CC
   3874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3875 /* end confdefs.h.  */
   3876 #include <stdarg.h>
   3877 #include <stdio.h>
   3878 struct stat;
   3879 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3880 struct buf { int x; };
   3881 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3882 static char *e (p, i)
   3883      char **p;
   3884      int i;
   3885 {
   3886   return p[i];
   3887 }
   3888 static char *f (char * (*g) (char **, int), char **p, ...)
   3889 {
   3890   char *s;
   3891   va_list v;
   3892   va_start (v,p);
   3893   s = g (p, va_arg (v,int));
   3894   va_end (v);
   3895   return s;
   3896 }
   3897 
   3898 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3899    function prototypes and stuff, but not '\xHH' hex character constants.
   3900    These don't provoke an error unfortunately, instead are silently treated
   3901    as 'x'.  The following induces an error, until -std is added to get
   3902    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3903    array size at least.  It's necessary to write '\x00'==0 to get something
   3904    that's true only with -std.  */
   3905 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3906 
   3907 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3908    inside strings and character constants.  */
   3909 #define FOO(x) 'x'
   3910 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3911 
   3912 int test (int i, double x);
   3913 struct s1 {int (*f) (int a);};
   3914 struct s2 {int (*f) (double a);};
   3915 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3916 int argc;
   3917 char **argv;
   3918 int
   3919 main ()
   3920 {
   3921 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3922   ;
   3923   return 0;
   3924 }
   3925 _ACEOF
   3926 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3927 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3928 do
   3929   CC="$ac_save_CC $ac_arg"
   3930   if ac_fn_c_try_compile "$LINENO"; then :
   3931   ac_cv_prog_cc_c89=$ac_arg
   3932 fi
   3933 rm -f core conftest.err conftest.$ac_objext
   3934   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3935 done
   3936 rm -f conftest.$ac_ext
   3937 CC=$ac_save_CC
   3938 
   3939 fi
   3940 # AC_CACHE_VAL
   3941 case "x$ac_cv_prog_cc_c89" in
   3942   x)
   3943     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3944 $as_echo "none needed" >&6; } ;;
   3945   xno)
   3946     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3947 $as_echo "unsupported" >&6; } ;;
   3948   *)
   3949     CC="$CC $ac_cv_prog_cc_c89"
   3950     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3951 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3952 esac
   3953 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3954 
   3955 fi
   3956 
   3957 ac_ext=c
   3958 ac_cpp='$CPP $CPPFLAGS'
   3959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3962 
   3963 ac_ext=c
   3964 ac_cpp='$CPP $CPPFLAGS'
   3965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3969 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3970 if ${am_cv_prog_cc_c_o+:} false; then :
   3971   $as_echo_n "(cached) " >&6
   3972 else
   3973   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3974 /* end confdefs.h.  */
   3975 
   3976 int
   3977 main ()
   3978 {
   3979 
   3980   ;
   3981   return 0;
   3982 }
   3983 _ACEOF
   3984   # Make sure it works both with $CC and with simple cc.
   3985   # Following AC_PROG_CC_C_O, we do the test twice because some
   3986   # compilers refuse to overwrite an existing .o file with -o,
   3987   # though they will create one.
   3988   am_cv_prog_cc_c_o=yes
   3989   for am_i in 1 2; do
   3990     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3991    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3992    ac_status=$?
   3993    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3994    (exit $ac_status); } \
   3995          && test -f conftest2.$ac_objext; then
   3996       : OK
   3997     else
   3998       am_cv_prog_cc_c_o=no
   3999       break
   4000     fi
   4001   done
   4002   rm -f core conftest*
   4003   unset am_i
   4004 fi
   4005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4006 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   4007 if test "$am_cv_prog_cc_c_o" != yes; then
   4008    # Losing compiler, so override with the script.
   4009    # FIXME: It is wrong to rewrite CC.
   4010    # But if we don't then we get into trouble of one sort or another.
   4011    # A longer-term fix would be to have automake use am__CC in this case,
   4012    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4013    CC="$am_aux_dir/compile $CC"
   4014 fi
   4015 ac_ext=c
   4016 ac_cpp='$CPP $CPPFLAGS'
   4017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4020 
   4021 
   4022 depcc="$CC"   am_compiler_list=
   4023 
   4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4025 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4026 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4027   $as_echo_n "(cached) " >&6
   4028 else
   4029   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4030   # We make a subdir and do the tests there.  Otherwise we can end up
   4031   # making bogus files that we don't know about and never remove.  For
   4032   # instance it was reported that on HP-UX the gcc test will end up
   4033   # making a dummy file named 'D' -- because '-MD' means "put the output
   4034   # in D".
   4035   rm -rf conftest.dir
   4036   mkdir conftest.dir
   4037   # Copy depcomp to subdir because otherwise we won't find it if we're
   4038   # using a relative directory.
   4039   cp "$am_depcomp" conftest.dir
   4040   cd conftest.dir
   4041   # We will build objects and dependencies in a subdirectory because
   4042   # it helps to detect inapplicable dependency modes.  For instance
   4043   # both Tru64's cc and ICC support -MD to output dependencies as a
   4044   # side effect of compilation, but ICC will put the dependencies in
   4045   # the current directory while Tru64 will put them in the object
   4046   # directory.
   4047   mkdir sub
   4048 
   4049   am_cv_CC_dependencies_compiler_type=none
   4050   if test "$am_compiler_list" = ""; then
   4051      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4052   fi
   4053   am__universal=false
   4054   case " $depcc " in #(
   4055      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4056      esac
   4057 
   4058   for depmode in $am_compiler_list; do
   4059     # Setup a source with many dependencies, because some compilers
   4060     # like to wrap large dependency lists on column 80 (with \), and
   4061     # we should not choose a depcomp mode which is confused by this.
   4062     #
   4063     # We need to recreate these files for each test, as the compiler may
   4064     # overwrite some of them when testing with obscure command lines.
   4065     # This happens at least with the AIX C compiler.
   4066     : > sub/conftest.c
   4067     for i in 1 2 3 4 5 6; do
   4068       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4069       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4070       # Solaris 10 /bin/sh.
   4071       echo '/* dummy */' > sub/conftst$i.h
   4072     done
   4073     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4074 
   4075     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4076     # mode.  It turns out that the SunPro C++ compiler does not properly
   4077     # handle '-M -o', and we need to detect this.  Also, some Intel
   4078     # versions had trouble with output in subdirs.
   4079     am__obj=sub/conftest.${OBJEXT-o}
   4080     am__minus_obj="-o $am__obj"
   4081     case $depmode in
   4082     gcc)
   4083       # This depmode causes a compiler race in universal mode.
   4084       test "$am__universal" = false || continue
   4085       ;;
   4086     nosideeffect)
   4087       # After this tag, mechanisms are not by side-effect, so they'll
   4088       # only be used when explicitly requested.
   4089       if test "x$enable_dependency_tracking" = xyes; then
   4090 	continue
   4091       else
   4092 	break
   4093       fi
   4094       ;;
   4095     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4096       # This compiler won't grok '-c -o', but also, the minuso test has
   4097       # not run yet.  These depmodes are late enough in the game, and
   4098       # so weak that their functioning should not be impacted.
   4099       am__obj=conftest.${OBJEXT-o}
   4100       am__minus_obj=
   4101       ;;
   4102     none) break ;;
   4103     esac
   4104     if depmode=$depmode \
   4105        source=sub/conftest.c object=$am__obj \
   4106        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4107        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4108          >/dev/null 2>conftest.err &&
   4109        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4110        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4111        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4112        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4113       # icc doesn't choke on unknown options, it will just issue warnings
   4114       # or remarks (even with -Werror).  So we grep stderr for any message
   4115       # that says an option was ignored or not supported.
   4116       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4117       #   icc: Command line warning: ignoring option '-M'; no argument required
   4118       # The diagnosis changed in icc 8.0:
   4119       #   icc: Command line remark: option '-MP' not supported
   4120       if (grep 'ignoring option' conftest.err ||
   4121           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4122         am_cv_CC_dependencies_compiler_type=$depmode
   4123         break
   4124       fi
   4125     fi
   4126   done
   4127 
   4128   cd ..
   4129   rm -rf conftest.dir
   4130 else
   4131   am_cv_CC_dependencies_compiler_type=none
   4132 fi
   4133 
   4134 fi
   4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4136 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4137 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4138 
   4139  if
   4140   test "x$enable_dependency_tracking" != xno \
   4141   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4142   am__fastdepCC_TRUE=
   4143   am__fastdepCC_FALSE='#'
   4144 else
   4145   am__fastdepCC_TRUE='#'
   4146   am__fastdepCC_FALSE=
   4147 fi
   4148 
   4149 
   4150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4151 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4152 if ${ac_cv_path_SED+:} false; then :
   4153   $as_echo_n "(cached) " >&6
   4154 else
   4155             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4156      for ac_i in 1 2 3 4 5 6 7; do
   4157        ac_script="$ac_script$as_nl$ac_script"
   4158      done
   4159      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4160      { ac_script=; unset ac_script;}
   4161      if test -z "$SED"; then
   4162   ac_path_SED_found=false
   4163   # Loop through the user's path and test for each of PROGNAME-LIST
   4164   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4165 for as_dir in $PATH
   4166 do
   4167   IFS=$as_save_IFS
   4168   test -z "$as_dir" && as_dir=.
   4169     for ac_prog in sed gsed; do
   4170     for ac_exec_ext in '' $ac_executable_extensions; do
   4171       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4172       as_fn_executable_p "$ac_path_SED" || continue
   4173 # Check for GNU ac_path_SED and select it if it is found.
   4174   # Check for GNU $ac_path_SED
   4175 case `"$ac_path_SED" --version 2>&1` in
   4176 *GNU*)
   4177   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4178 *)
   4179   ac_count=0
   4180   $as_echo_n 0123456789 >"conftest.in"
   4181   while :
   4182   do
   4183     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4184     mv "conftest.tmp" "conftest.in"
   4185     cp "conftest.in" "conftest.nl"
   4186     $as_echo '' >> "conftest.nl"
   4187     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4188     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4189     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4190     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4191       # Best one so far, save it but keep looking for a better one
   4192       ac_cv_path_SED="$ac_path_SED"
   4193       ac_path_SED_max=$ac_count
   4194     fi
   4195     # 10*(2^10) chars as input seems more than enough
   4196     test $ac_count -gt 10 && break
   4197   done
   4198   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4199 esac
   4200 
   4201       $ac_path_SED_found && break 3
   4202     done
   4203   done
   4204   done
   4205 IFS=$as_save_IFS
   4206   if test -z "$ac_cv_path_SED"; then
   4207     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4208   fi
   4209 else
   4210   ac_cv_path_SED=$SED
   4211 fi
   4212 
   4213 fi
   4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4215 $as_echo "$ac_cv_path_SED" >&6; }
   4216  SED="$ac_cv_path_SED"
   4217   rm -f conftest.sed
   4218 
   4219 test -z "$SED" && SED=sed
   4220 Xsed="$SED -e 1s/^X//"
   4221 
   4222 
   4223 
   4224 
   4225 
   4226 
   4227 
   4228 
   4229 
   4230 
   4231 
   4232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4233 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4234 if ${ac_cv_path_GREP+:} false; then :
   4235   $as_echo_n "(cached) " >&6
   4236 else
   4237   if test -z "$GREP"; then
   4238   ac_path_GREP_found=false
   4239   # Loop through the user's path and test for each of PROGNAME-LIST
   4240   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4241 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4242 do
   4243   IFS=$as_save_IFS
   4244   test -z "$as_dir" && as_dir=.
   4245     for ac_prog in grep ggrep; do
   4246     for ac_exec_ext in '' $ac_executable_extensions; do
   4247       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4248       as_fn_executable_p "$ac_path_GREP" || continue
   4249 # Check for GNU ac_path_GREP and select it if it is found.
   4250   # Check for GNU $ac_path_GREP
   4251 case `"$ac_path_GREP" --version 2>&1` in
   4252 *GNU*)
   4253   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4254 *)
   4255   ac_count=0
   4256   $as_echo_n 0123456789 >"conftest.in"
   4257   while :
   4258   do
   4259     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4260     mv "conftest.tmp" "conftest.in"
   4261     cp "conftest.in" "conftest.nl"
   4262     $as_echo 'GREP' >> "conftest.nl"
   4263     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4264     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4265     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4266     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4267       # Best one so far, save it but keep looking for a better one
   4268       ac_cv_path_GREP="$ac_path_GREP"
   4269       ac_path_GREP_max=$ac_count
   4270     fi
   4271     # 10*(2^10) chars as input seems more than enough
   4272     test $ac_count -gt 10 && break
   4273   done
   4274   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4275 esac
   4276 
   4277       $ac_path_GREP_found && break 3
   4278     done
   4279   done
   4280   done
   4281 IFS=$as_save_IFS
   4282   if test -z "$ac_cv_path_GREP"; then
   4283     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4284   fi
   4285 else
   4286   ac_cv_path_GREP=$GREP
   4287 fi
   4288 
   4289 fi
   4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4291 $as_echo "$ac_cv_path_GREP" >&6; }
   4292  GREP="$ac_cv_path_GREP"
   4293 
   4294 
   4295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4296 $as_echo_n "checking for egrep... " >&6; }
   4297 if ${ac_cv_path_EGREP+:} false; then :
   4298   $as_echo_n "(cached) " >&6
   4299 else
   4300   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4301    then ac_cv_path_EGREP="$GREP -E"
   4302    else
   4303      if test -z "$EGREP"; then
   4304   ac_path_EGREP_found=false
   4305   # Loop through the user's path and test for each of PROGNAME-LIST
   4306   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4307 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4308 do
   4309   IFS=$as_save_IFS
   4310   test -z "$as_dir" && as_dir=.
   4311     for ac_prog in egrep; do
   4312     for ac_exec_ext in '' $ac_executable_extensions; do
   4313       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4314       as_fn_executable_p "$ac_path_EGREP" || continue
   4315 # Check for GNU ac_path_EGREP and select it if it is found.
   4316   # Check for GNU $ac_path_EGREP
   4317 case `"$ac_path_EGREP" --version 2>&1` in
   4318 *GNU*)
   4319   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4320 *)
   4321   ac_count=0
   4322   $as_echo_n 0123456789 >"conftest.in"
   4323   while :
   4324   do
   4325     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4326     mv "conftest.tmp" "conftest.in"
   4327     cp "conftest.in" "conftest.nl"
   4328     $as_echo 'EGREP' >> "conftest.nl"
   4329     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4330     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4331     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4332     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4333       # Best one so far, save it but keep looking for a better one
   4334       ac_cv_path_EGREP="$ac_path_EGREP"
   4335       ac_path_EGREP_max=$ac_count
   4336     fi
   4337     # 10*(2^10) chars as input seems more than enough
   4338     test $ac_count -gt 10 && break
   4339   done
   4340   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4341 esac
   4342 
   4343       $ac_path_EGREP_found && break 3
   4344     done
   4345   done
   4346   done
   4347 IFS=$as_save_IFS
   4348   if test -z "$ac_cv_path_EGREP"; then
   4349     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4350   fi
   4351 else
   4352   ac_cv_path_EGREP=$EGREP
   4353 fi
   4354 
   4355    fi
   4356 fi
   4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4358 $as_echo "$ac_cv_path_EGREP" >&6; }
   4359  EGREP="$ac_cv_path_EGREP"
   4360 
   4361 
   4362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4363 $as_echo_n "checking for fgrep... " >&6; }
   4364 if ${ac_cv_path_FGREP+:} false; then :
   4365   $as_echo_n "(cached) " >&6
   4366 else
   4367   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4368    then ac_cv_path_FGREP="$GREP -F"
   4369    else
   4370      if test -z "$FGREP"; then
   4371   ac_path_FGREP_found=false
   4372   # Loop through the user's path and test for each of PROGNAME-LIST
   4373   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4374 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4375 do
   4376   IFS=$as_save_IFS
   4377   test -z "$as_dir" && as_dir=.
   4378     for ac_prog in fgrep; do
   4379     for ac_exec_ext in '' $ac_executable_extensions; do
   4380       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4381       as_fn_executable_p "$ac_path_FGREP" || continue
   4382 # Check for GNU ac_path_FGREP and select it if it is found.
   4383   # Check for GNU $ac_path_FGREP
   4384 case `"$ac_path_FGREP" --version 2>&1` in
   4385 *GNU*)
   4386   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4387 *)
   4388   ac_count=0
   4389   $as_echo_n 0123456789 >"conftest.in"
   4390   while :
   4391   do
   4392     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4393     mv "conftest.tmp" "conftest.in"
   4394     cp "conftest.in" "conftest.nl"
   4395     $as_echo 'FGREP' >> "conftest.nl"
   4396     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4397     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4398     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4399     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4400       # Best one so far, save it but keep looking for a better one
   4401       ac_cv_path_FGREP="$ac_path_FGREP"
   4402       ac_path_FGREP_max=$ac_count
   4403     fi
   4404     # 10*(2^10) chars as input seems more than enough
   4405     test $ac_count -gt 10 && break
   4406   done
   4407   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4408 esac
   4409 
   4410       $ac_path_FGREP_found && break 3
   4411     done
   4412   done
   4413   done
   4414 IFS=$as_save_IFS
   4415   if test -z "$ac_cv_path_FGREP"; then
   4416     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4417   fi
   4418 else
   4419   ac_cv_path_FGREP=$FGREP
   4420 fi
   4421 
   4422    fi
   4423 fi
   4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4425 $as_echo "$ac_cv_path_FGREP" >&6; }
   4426  FGREP="$ac_cv_path_FGREP"
   4427 
   4428 
   4429 test -z "$GREP" && GREP=grep
   4430 
   4431 
   4432 
   4433 
   4434 
   4435 
   4436 
   4437 
   4438 
   4439 
   4440 
   4441 
   4442 
   4443 
   4444 
   4445 
   4446 
   4447 
   4448 
   4449 # Check whether --with-gnu-ld was given.
   4450 if test "${with_gnu_ld+set}" = set; then :
   4451   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   4452 else
   4453   with_gnu_ld=no
   4454 fi
   4455 
   4456 ac_prog=ld
   4457 if test yes = "$GCC"; then
   4458   # Check if gcc -print-prog-name=ld gives a path.
   4459   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4460 $as_echo_n "checking for ld used by $CC... " >&6; }
   4461   case $host in
   4462   *-*-mingw*)
   4463     # gcc leaves a trailing carriage return, which upsets mingw
   4464     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4465   *)
   4466     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4467   esac
   4468   case $ac_prog in
   4469     # Accept absolute paths.
   4470     [\\/]* | ?:[\\/]*)
   4471       re_direlt='/[^/][^/]*/\.\./'
   4472       # Canonicalize the pathname of ld
   4473       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4474       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4475 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4476       done
   4477       test -z "$LD" && LD=$ac_prog
   4478       ;;
   4479   "")
   4480     # If it fails, then pretend we aren't using GCC.
   4481     ac_prog=ld
   4482     ;;
   4483   *)
   4484     # If it is relative, then search for the first ld in PATH.
   4485     with_gnu_ld=unknown
   4486     ;;
   4487   esac
   4488 elif test yes = "$with_gnu_ld"; then
   4489   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4490 $as_echo_n "checking for GNU ld... " >&6; }
   4491 else
   4492   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4493 $as_echo_n "checking for non-GNU ld... " >&6; }
   4494 fi
   4495 if ${lt_cv_path_LD+:} false; then :
   4496   $as_echo_n "(cached) " >&6
   4497 else
   4498   if test -z "$LD"; then
   4499   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   4500   for ac_dir in $PATH; do
   4501     IFS=$lt_save_ifs
   4502     test -z "$ac_dir" && ac_dir=.
   4503     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4504       lt_cv_path_LD=$ac_dir/$ac_prog
   4505       # Check to see if the program is GNU ld.  I'd rather use --version,
   4506       # but apparently some variants of GNU ld only accept -v.
   4507       # Break only if it was the GNU/non-GNU ld that we prefer.
   4508       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4509       *GNU* | *'with BFD'*)
   4510 	test no != "$with_gnu_ld" && break
   4511 	;;
   4512       *)
   4513 	test yes != "$with_gnu_ld" && break
   4514 	;;
   4515       esac
   4516     fi
   4517   done
   4518   IFS=$lt_save_ifs
   4519 else
   4520   lt_cv_path_LD=$LD # Let the user override the test with a path.
   4521 fi
   4522 fi
   4523 
   4524 LD=$lt_cv_path_LD
   4525 if test -n "$LD"; then
   4526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4527 $as_echo "$LD" >&6; }
   4528 else
   4529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4530 $as_echo "no" >&6; }
   4531 fi
   4532 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4534 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4535 if ${lt_cv_prog_gnu_ld+:} false; then :
   4536   $as_echo_n "(cached) " >&6
   4537 else
   4538   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4539 case `$LD -v 2>&1 </dev/null` in
   4540 *GNU* | *'with BFD'*)
   4541   lt_cv_prog_gnu_ld=yes
   4542   ;;
   4543 *)
   4544   lt_cv_prog_gnu_ld=no
   4545   ;;
   4546 esac
   4547 fi
   4548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4549 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4550 with_gnu_ld=$lt_cv_prog_gnu_ld
   4551 
   4552 
   4553 
   4554 
   4555 
   4556 
   4557 
   4558 
   4559 
   4560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4561 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4562 if ${lt_cv_path_NM+:} false; then :
   4563   $as_echo_n "(cached) " >&6
   4564 else
   4565   if test -n "$NM"; then
   4566   # Let the user override the test.
   4567   lt_cv_path_NM=$NM
   4568 else
   4569   lt_nm_to_check=${ac_tool_prefix}nm
   4570   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4571     lt_nm_to_check="$lt_nm_to_check nm"
   4572   fi
   4573   for lt_tmp_nm in $lt_nm_to_check; do
   4574     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   4575     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4576       IFS=$lt_save_ifs
   4577       test -z "$ac_dir" && ac_dir=.
   4578       tmp_nm=$ac_dir/$lt_tmp_nm
   4579       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   4580 	# Check to see if the nm accepts a BSD-compat flag.
   4581 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   4582 	#   nm: unknown option "B" ignored
   4583 	# Tru64's nm complains that /dev/null is an invalid object file
   4584 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   4585 	case $build_os in
   4586 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   4587 	*) lt_bad_file=/dev/null ;;
   4588 	esac
   4589 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
   4590 	*$lt_bad_file* | *'Invalid file or object type'*)
   4591 	  lt_cv_path_NM="$tmp_nm -B"
   4592 	  break 2
   4593 	  ;;
   4594 	*)
   4595 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4596 	  */dev/null*)
   4597 	    lt_cv_path_NM="$tmp_nm -p"
   4598 	    break 2
   4599 	    ;;
   4600 	  *)
   4601 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4602 	    continue # so that we can try to find one that supports BSD flags
   4603 	    ;;
   4604 	  esac
   4605 	  ;;
   4606 	esac
   4607       fi
   4608     done
   4609     IFS=$lt_save_ifs
   4610   done
   4611   : ${lt_cv_path_NM=no}
   4612 fi
   4613 fi
   4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4615 $as_echo "$lt_cv_path_NM" >&6; }
   4616 if test no != "$lt_cv_path_NM"; then
   4617   NM=$lt_cv_path_NM
   4618 else
   4619   # Didn't find any BSD compatible name lister, look for dumpbin.
   4620   if test -n "$DUMPBIN"; then :
   4621     # Let the user override the test.
   4622   else
   4623     if test -n "$ac_tool_prefix"; then
   4624   for ac_prog in dumpbin "link -dump"
   4625   do
   4626     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4627 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4629 $as_echo_n "checking for $ac_word... " >&6; }
   4630 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4631   $as_echo_n "(cached) " >&6
   4632 else
   4633   if test -n "$DUMPBIN"; then
   4634   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4635 else
   4636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4637 for as_dir in $PATH
   4638 do
   4639   IFS=$as_save_IFS
   4640   test -z "$as_dir" && as_dir=.
   4641     for ac_exec_ext in '' $ac_executable_extensions; do
   4642   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4643     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4644     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4645     break 2
   4646   fi
   4647 done
   4648   done
   4649 IFS=$as_save_IFS
   4650 
   4651 fi
   4652 fi
   4653 DUMPBIN=$ac_cv_prog_DUMPBIN
   4654 if test -n "$DUMPBIN"; then
   4655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4656 $as_echo "$DUMPBIN" >&6; }
   4657 else
   4658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4659 $as_echo "no" >&6; }
   4660 fi
   4661 
   4662 
   4663     test -n "$DUMPBIN" && break
   4664   done
   4665 fi
   4666 if test -z "$DUMPBIN"; then
   4667   ac_ct_DUMPBIN=$DUMPBIN
   4668   for ac_prog in dumpbin "link -dump"
   4669 do
   4670   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4671 set dummy $ac_prog; ac_word=$2
   4672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4673 $as_echo_n "checking for $ac_word... " >&6; }
   4674 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4675   $as_echo_n "(cached) " >&6
   4676 else
   4677   if test -n "$ac_ct_DUMPBIN"; then
   4678   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4679 else
   4680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4681 for as_dir in $PATH
   4682 do
   4683   IFS=$as_save_IFS
   4684   test -z "$as_dir" && as_dir=.
   4685     for ac_exec_ext in '' $ac_executable_extensions; do
   4686   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4687     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4688     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4689     break 2
   4690   fi
   4691 done
   4692   done
   4693 IFS=$as_save_IFS
   4694 
   4695 fi
   4696 fi
   4697 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4698 if test -n "$ac_ct_DUMPBIN"; then
   4699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4700 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4701 else
   4702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4703 $as_echo "no" >&6; }
   4704 fi
   4705 
   4706 
   4707   test -n "$ac_ct_DUMPBIN" && break
   4708 done
   4709 
   4710   if test "x$ac_ct_DUMPBIN" = x; then
   4711     DUMPBIN=":"
   4712   else
   4713     case $cross_compiling:$ac_tool_warned in
   4714 yes:)
   4715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4716 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4717 ac_tool_warned=yes ;;
   4718 esac
   4719     DUMPBIN=$ac_ct_DUMPBIN
   4720   fi
   4721 fi
   4722 
   4723     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
   4724     *COFF*)
   4725       DUMPBIN="$DUMPBIN -symbols -headers"
   4726       ;;
   4727     *)
   4728       DUMPBIN=:
   4729       ;;
   4730     esac
   4731   fi
   4732 
   4733   if test : != "$DUMPBIN"; then
   4734     NM=$DUMPBIN
   4735   fi
   4736 fi
   4737 test -z "$NM" && NM=nm
   4738 
   4739 
   4740 
   4741 
   4742 
   4743 
   4744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4745 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4746 if ${lt_cv_nm_interface+:} false; then :
   4747   $as_echo_n "(cached) " >&6
   4748 else
   4749   lt_cv_nm_interface="BSD nm"
   4750   echo "int some_variable = 0;" > conftest.$ac_ext
   4751   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4752   (eval "$ac_compile" 2>conftest.err)
   4753   cat conftest.err >&5
   4754   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4755   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4756   cat conftest.err >&5
   4757   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4758   cat conftest.out >&5
   4759   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4760     lt_cv_nm_interface="MS dumpbin"
   4761   fi
   4762   rm -f conftest*
   4763 fi
   4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4765 $as_echo "$lt_cv_nm_interface" >&6; }
   4766 
   4767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4768 $as_echo_n "checking whether ln -s works... " >&6; }
   4769 LN_S=$as_ln_s
   4770 if test "$LN_S" = "ln -s"; then
   4771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4772 $as_echo "yes" >&6; }
   4773 else
   4774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4775 $as_echo "no, using $LN_S" >&6; }
   4776 fi
   4777 
   4778 # find the maximum length of command line arguments
   4779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4780 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4781 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4782   $as_echo_n "(cached) " >&6
   4783 else
   4784     i=0
   4785   teststring=ABCD
   4786 
   4787   case $build_os in
   4788   msdosdjgpp*)
   4789     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4790     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4791     # during glob expansion).  Even if it were fixed, the result of this
   4792     # check would be larger than it should be.
   4793     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4794     ;;
   4795 
   4796   gnu*)
   4797     # Under GNU Hurd, this test is not required because there is
   4798     # no limit to the length of command line arguments.
   4799     # Libtool will interpret -1 as no limit whatsoever
   4800     lt_cv_sys_max_cmd_len=-1;
   4801     ;;
   4802 
   4803   cygwin* | mingw* | cegcc*)
   4804     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4805     # about 5 minutes as the teststring grows exponentially.
   4806     # Worse, since 9x/ME are not pre-emptively multitasking,
   4807     # you end up with a "frozen" computer, even though with patience
   4808     # the test eventually succeeds (with a max line length of 256k).
   4809     # Instead, let's just punt: use the minimum linelength reported by
   4810     # all of the supported platforms: 8192 (on NT/2K/XP).
   4811     lt_cv_sys_max_cmd_len=8192;
   4812     ;;
   4813 
   4814   mint*)
   4815     # On MiNT this can take a long time and run out of memory.
   4816     lt_cv_sys_max_cmd_len=8192;
   4817     ;;
   4818 
   4819   amigaos*)
   4820     # On AmigaOS with pdksh, this test takes hours, literally.
   4821     # So we just punt and use a minimum line length of 8192.
   4822     lt_cv_sys_max_cmd_len=8192;
   4823     ;;
   4824 
   4825   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
   4826     # This has been around since 386BSD, at least.  Likely further.
   4827     if test -x /sbin/sysctl; then
   4828       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4829     elif test -x /usr/sbin/sysctl; then
   4830       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4831     else
   4832       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4833     fi
   4834     # And add a safety zone
   4835     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4836     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4837     ;;
   4838 
   4839   interix*)
   4840     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4841     lt_cv_sys_max_cmd_len=196608
   4842     ;;
   4843 
   4844   os2*)
   4845     # The test takes a long time on OS/2.
   4846     lt_cv_sys_max_cmd_len=8192
   4847     ;;
   4848 
   4849   osf*)
   4850     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4851     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4852     # nice to cause kernel panics so lets avoid the loop below.
   4853     # First set a reasonable default.
   4854     lt_cv_sys_max_cmd_len=16384
   4855     #
   4856     if test -x /sbin/sysconfig; then
   4857       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4858         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4859       esac
   4860     fi
   4861     ;;
   4862   sco3.2v5*)
   4863     lt_cv_sys_max_cmd_len=102400
   4864     ;;
   4865   sysv5* | sco5v6* | sysv4.2uw2*)
   4866     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4867     if test -n "$kargmax"; then
   4868       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4869     else
   4870       lt_cv_sys_max_cmd_len=32768
   4871     fi
   4872     ;;
   4873   *)
   4874     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4875     if test -n "$lt_cv_sys_max_cmd_len" && \
   4876        test undefined != "$lt_cv_sys_max_cmd_len"; then
   4877       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4878       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4879     else
   4880       # Make teststring a little bigger before we do anything with it.
   4881       # a 1K string should be a reasonable start.
   4882       for i in 1 2 3 4 5 6 7 8; do
   4883         teststring=$teststring$teststring
   4884       done
   4885       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4886       # If test is not a shell built-in, we'll probably end up computing a
   4887       # maximum length that is only half of the actual maximum length, but
   4888       # we can't tell.
   4889       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   4890 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   4891 	      test 17 != "$i" # 1/2 MB should be enough
   4892       do
   4893         i=`expr $i + 1`
   4894         teststring=$teststring$teststring
   4895       done
   4896       # Only check the string length outside the loop.
   4897       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4898       teststring=
   4899       # Add a significant safety factor because C++ compilers can tack on
   4900       # massive amounts of additional arguments before passing them to the
   4901       # linker.  It appears as though 1/2 is a usable value.
   4902       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4903     fi
   4904     ;;
   4905   esac
   4906 
   4907 fi
   4908 
   4909 if test -n "$lt_cv_sys_max_cmd_len"; then
   4910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4911 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4912 else
   4913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4914 $as_echo "none" >&6; }
   4915 fi
   4916 max_cmd_len=$lt_cv_sys_max_cmd_len
   4917 
   4918 
   4919 
   4920 
   4921 
   4922 
   4923 : ${CP="cp -f"}
   4924 : ${MV="mv -f"}
   4925 : ${RM="rm -f"}
   4926 
   4927 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4928   lt_unset=unset
   4929 else
   4930   lt_unset=false
   4931 fi
   4932 
   4933 
   4934 
   4935 
   4936 
   4937 # test EBCDIC or ASCII
   4938 case `echo X|tr X '\101'` in
   4939  A) # ASCII based system
   4940     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4941   lt_SP2NL='tr \040 \012'
   4942   lt_NL2SP='tr \015\012 \040\040'
   4943   ;;
   4944  *) # EBCDIC based system
   4945   lt_SP2NL='tr \100 \n'
   4946   lt_NL2SP='tr \r\n \100\100'
   4947   ;;
   4948 esac
   4949 
   4950 
   4951 
   4952 
   4953 
   4954 
   4955 
   4956 
   4957 
   4958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   4959 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   4960 if ${lt_cv_to_host_file_cmd+:} false; then :
   4961   $as_echo_n "(cached) " >&6
   4962 else
   4963   case $host in
   4964   *-*-mingw* )
   4965     case $build in
   4966       *-*-mingw* ) # actually msys
   4967         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   4968         ;;
   4969       *-*-cygwin* )
   4970         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   4971         ;;
   4972       * ) # otherwise, assume *nix
   4973         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   4974         ;;
   4975     esac
   4976     ;;
   4977   *-*-cygwin* )
   4978     case $build in
   4979       *-*-mingw* ) # actually msys
   4980         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   4981         ;;
   4982       *-*-cygwin* )
   4983         lt_cv_to_host_file_cmd=func_convert_file_noop
   4984         ;;
   4985       * ) # otherwise, assume *nix
   4986         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   4987         ;;
   4988     esac
   4989     ;;
   4990   * ) # unhandled hosts (and "normal" native builds)
   4991     lt_cv_to_host_file_cmd=func_convert_file_noop
   4992     ;;
   4993 esac
   4994 
   4995 fi
   4996 
   4997 to_host_file_cmd=$lt_cv_to_host_file_cmd
   4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   4999 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   5000 
   5001 
   5002 
   5003 
   5004 
   5005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5006 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   5007 if ${lt_cv_to_tool_file_cmd+:} false; then :
   5008   $as_echo_n "(cached) " >&6
   5009 else
   5010   #assume ordinary cross tools, or native build.
   5011 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5012 case $host in
   5013   *-*-mingw* )
   5014     case $build in
   5015       *-*-mingw* ) # actually msys
   5016         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5017         ;;
   5018     esac
   5019     ;;
   5020 esac
   5021 
   5022 fi
   5023 
   5024 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5026 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   5027 
   5028 
   5029 
   5030 
   5031 
   5032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5033 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5034 if ${lt_cv_ld_reload_flag+:} false; then :
   5035   $as_echo_n "(cached) " >&6
   5036 else
   5037   lt_cv_ld_reload_flag='-r'
   5038 fi
   5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5040 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5041 reload_flag=$lt_cv_ld_reload_flag
   5042 case $reload_flag in
   5043 "" | " "*) ;;
   5044 *) reload_flag=" $reload_flag" ;;
   5045 esac
   5046 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5047 case $host_os in
   5048   cygwin* | mingw* | pw32* | cegcc*)
   5049     if test yes != "$GCC"; then
   5050       reload_cmds=false
   5051     fi
   5052     ;;
   5053   darwin*)
   5054     if test yes = "$GCC"; then
   5055       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   5056     else
   5057       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5058     fi
   5059     ;;
   5060 esac
   5061 
   5062 
   5063 
   5064 
   5065 
   5066 
   5067 
   5068 
   5069 
   5070 if test -n "$ac_tool_prefix"; then
   5071   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5072 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5074 $as_echo_n "checking for $ac_word... " >&6; }
   5075 if ${ac_cv_prog_OBJDUMP+:} false; then :
   5076   $as_echo_n "(cached) " >&6
   5077 else
   5078   if test -n "$OBJDUMP"; then
   5079   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5080 else
   5081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5082 for as_dir in $PATH
   5083 do
   5084   IFS=$as_save_IFS
   5085   test -z "$as_dir" && as_dir=.
   5086     for ac_exec_ext in '' $ac_executable_extensions; do
   5087   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5088     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5089     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5090     break 2
   5091   fi
   5092 done
   5093   done
   5094 IFS=$as_save_IFS
   5095 
   5096 fi
   5097 fi
   5098 OBJDUMP=$ac_cv_prog_OBJDUMP
   5099 if test -n "$OBJDUMP"; then
   5100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5101 $as_echo "$OBJDUMP" >&6; }
   5102 else
   5103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5104 $as_echo "no" >&6; }
   5105 fi
   5106 
   5107 
   5108 fi
   5109 if test -z "$ac_cv_prog_OBJDUMP"; then
   5110   ac_ct_OBJDUMP=$OBJDUMP
   5111   # Extract the first word of "objdump", so it can be a program name with args.
   5112 set dummy objdump; ac_word=$2
   5113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5114 $as_echo_n "checking for $ac_word... " >&6; }
   5115 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5116   $as_echo_n "(cached) " >&6
   5117 else
   5118   if test -n "$ac_ct_OBJDUMP"; then
   5119   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5120 else
   5121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5122 for as_dir in $PATH
   5123 do
   5124   IFS=$as_save_IFS
   5125   test -z "$as_dir" && as_dir=.
   5126     for ac_exec_ext in '' $ac_executable_extensions; do
   5127   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5128     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5129     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5130     break 2
   5131   fi
   5132 done
   5133   done
   5134 IFS=$as_save_IFS
   5135 
   5136 fi
   5137 fi
   5138 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5139 if test -n "$ac_ct_OBJDUMP"; then
   5140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5141 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5142 else
   5143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5144 $as_echo "no" >&6; }
   5145 fi
   5146 
   5147   if test "x$ac_ct_OBJDUMP" = x; then
   5148     OBJDUMP="false"
   5149   else
   5150     case $cross_compiling:$ac_tool_warned in
   5151 yes:)
   5152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5153 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5154 ac_tool_warned=yes ;;
   5155 esac
   5156     OBJDUMP=$ac_ct_OBJDUMP
   5157   fi
   5158 else
   5159   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5160 fi
   5161 
   5162 test -z "$OBJDUMP" && OBJDUMP=objdump
   5163 
   5164 
   5165 
   5166 
   5167 
   5168 
   5169 
   5170 
   5171 
   5172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5173 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5174 if ${lt_cv_deplibs_check_method+:} false; then :
   5175   $as_echo_n "(cached) " >&6
   5176 else
   5177   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5178 lt_cv_file_magic_test_file=
   5179 lt_cv_deplibs_check_method='unknown'
   5180 # Need to set the preceding variable on all platforms that support
   5181 # interlibrary dependencies.
   5182 # 'none' -- dependencies not supported.
   5183 # 'unknown' -- same as none, but documents that we really don't know.
   5184 # 'pass_all' -- all dependencies passed with no checks.
   5185 # 'test_compile' -- check by making test program.
   5186 # 'file_magic [[regex]]' -- check by looking for files in library path
   5187 # that responds to the $file_magic_cmd with a given extended regex.
   5188 # If you have 'file' or equivalent on your system and you're not sure
   5189 # whether 'pass_all' will *always* work, you probably want this one.
   5190 
   5191 case $host_os in
   5192 aix[4-9]*)
   5193   lt_cv_deplibs_check_method=pass_all
   5194   ;;
   5195 
   5196 beos*)
   5197   lt_cv_deplibs_check_method=pass_all
   5198   ;;
   5199 
   5200 bsdi[45]*)
   5201   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5202   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5203   lt_cv_file_magic_test_file=/shlib/libc.so
   5204   ;;
   5205 
   5206 cygwin*)
   5207   # func_win32_libid is a shell function defined in ltmain.sh
   5208   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5209   lt_cv_file_magic_cmd='func_win32_libid'
   5210   ;;
   5211 
   5212 mingw* | pw32*)
   5213   # Base MSYS/MinGW do not provide the 'file' command needed by
   5214   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5215   # unless we find 'file', for example because we are cross-compiling.
   5216   if ( file / ) >/dev/null 2>&1; then
   5217     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5218     lt_cv_file_magic_cmd='func_win32_libid'
   5219   else
   5220     # Keep this pattern in sync with the one in func_win32_libid.
   5221     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5222     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5223   fi
   5224   ;;
   5225 
   5226 cegcc*)
   5227   # use the weaker test based on 'objdump'. See mingw*.
   5228   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5229   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5230   ;;
   5231 
   5232 darwin* | rhapsody*)
   5233   lt_cv_deplibs_check_method=pass_all
   5234   ;;
   5235 
   5236 freebsd* | dragonfly*)
   5237   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5238     case $host_cpu in
   5239     i*86 )
   5240       # Not sure whether the presence of OpenBSD here was a mistake.
   5241       # Let's accept both of them until this is cleared up.
   5242       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5243       lt_cv_file_magic_cmd=/usr/bin/file
   5244       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5245       ;;
   5246     esac
   5247   else
   5248     lt_cv_deplibs_check_method=pass_all
   5249   fi
   5250   ;;
   5251 
   5252 haiku*)
   5253   lt_cv_deplibs_check_method=pass_all
   5254   ;;
   5255 
   5256 hpux10.20* | hpux11*)
   5257   lt_cv_file_magic_cmd=/usr/bin/file
   5258   case $host_cpu in
   5259   ia64*)
   5260     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5261     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5262     ;;
   5263   hppa*64*)
   5264     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]'
   5265     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5266     ;;
   5267   *)
   5268     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5269     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5270     ;;
   5271   esac
   5272   ;;
   5273 
   5274 interix[3-9]*)
   5275   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5276   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5277   ;;
   5278 
   5279 irix5* | irix6* | nonstopux*)
   5280   case $LD in
   5281   *-32|*"-32 ") libmagic=32-bit;;
   5282   *-n32|*"-n32 ") libmagic=N32;;
   5283   *-64|*"-64 ") libmagic=64-bit;;
   5284   *) libmagic=never-match;;
   5285   esac
   5286   lt_cv_deplibs_check_method=pass_all
   5287   ;;
   5288 
   5289 # This must be glibc/ELF.
   5290 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   5291   lt_cv_deplibs_check_method=pass_all
   5292   ;;
   5293 
   5294 netbsd*)
   5295   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5296     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5297   else
   5298     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5299   fi
   5300   ;;
   5301 
   5302 newos6*)
   5303   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5304   lt_cv_file_magic_cmd=/usr/bin/file
   5305   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5306   ;;
   5307 
   5308 *nto* | *qnx*)
   5309   lt_cv_deplibs_check_method=pass_all
   5310   ;;
   5311 
   5312 openbsd* | bitrig*)
   5313   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   5314     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5315   else
   5316     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5317   fi
   5318   ;;
   5319 
   5320 osf3* | osf4* | osf5*)
   5321   lt_cv_deplibs_check_method=pass_all
   5322   ;;
   5323 
   5324 rdos*)
   5325   lt_cv_deplibs_check_method=pass_all
   5326   ;;
   5327 
   5328 solaris*)
   5329   lt_cv_deplibs_check_method=pass_all
   5330   ;;
   5331 
   5332 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5333   lt_cv_deplibs_check_method=pass_all
   5334   ;;
   5335 
   5336 sysv4 | sysv4.3*)
   5337   case $host_vendor in
   5338   motorola)
   5339     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]'
   5340     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5341     ;;
   5342   ncr)
   5343     lt_cv_deplibs_check_method=pass_all
   5344     ;;
   5345   sequent)
   5346     lt_cv_file_magic_cmd='/bin/file'
   5347     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5348     ;;
   5349   sni)
   5350     lt_cv_file_magic_cmd='/bin/file'
   5351     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5352     lt_cv_file_magic_test_file=/lib/libc.so
   5353     ;;
   5354   siemens)
   5355     lt_cv_deplibs_check_method=pass_all
   5356     ;;
   5357   pc)
   5358     lt_cv_deplibs_check_method=pass_all
   5359     ;;
   5360   esac
   5361   ;;
   5362 
   5363 tpf*)
   5364   lt_cv_deplibs_check_method=pass_all
   5365   ;;
   5366 os2*)
   5367   lt_cv_deplibs_check_method=pass_all
   5368   ;;
   5369 esac
   5370 
   5371 fi
   5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5373 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5374 
   5375 file_magic_glob=
   5376 want_nocaseglob=no
   5377 if test "$build" = "$host"; then
   5378   case $host_os in
   5379   mingw* | pw32*)
   5380     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5381       want_nocaseglob=yes
   5382     else
   5383       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5384     fi
   5385     ;;
   5386   esac
   5387 fi
   5388 
   5389 file_magic_cmd=$lt_cv_file_magic_cmd
   5390 deplibs_check_method=$lt_cv_deplibs_check_method
   5391 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5392 
   5393 
   5394 
   5395 
   5396 
   5397 
   5398 
   5399 
   5400 
   5401 
   5402 
   5403 
   5404 
   5405 
   5406 
   5407 
   5408 
   5409 
   5410 
   5411 
   5412 
   5413 
   5414 if test -n "$ac_tool_prefix"; then
   5415   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5416 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5418 $as_echo_n "checking for $ac_word... " >&6; }
   5419 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5420   $as_echo_n "(cached) " >&6
   5421 else
   5422   if test -n "$DLLTOOL"; then
   5423   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5424 else
   5425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5426 for as_dir in $PATH
   5427 do
   5428   IFS=$as_save_IFS
   5429   test -z "$as_dir" && as_dir=.
   5430     for ac_exec_ext in '' $ac_executable_extensions; do
   5431   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5432     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5433     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5434     break 2
   5435   fi
   5436 done
   5437   done
   5438 IFS=$as_save_IFS
   5439 
   5440 fi
   5441 fi
   5442 DLLTOOL=$ac_cv_prog_DLLTOOL
   5443 if test -n "$DLLTOOL"; then
   5444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5445 $as_echo "$DLLTOOL" >&6; }
   5446 else
   5447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5448 $as_echo "no" >&6; }
   5449 fi
   5450 
   5451 
   5452 fi
   5453 if test -z "$ac_cv_prog_DLLTOOL"; then
   5454   ac_ct_DLLTOOL=$DLLTOOL
   5455   # Extract the first word of "dlltool", so it can be a program name with args.
   5456 set dummy dlltool; ac_word=$2
   5457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5458 $as_echo_n "checking for $ac_word... " >&6; }
   5459 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5460   $as_echo_n "(cached) " >&6
   5461 else
   5462   if test -n "$ac_ct_DLLTOOL"; then
   5463   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5464 else
   5465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5466 for as_dir in $PATH
   5467 do
   5468   IFS=$as_save_IFS
   5469   test -z "$as_dir" && as_dir=.
   5470     for ac_exec_ext in '' $ac_executable_extensions; do
   5471   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5472     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5473     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5474     break 2
   5475   fi
   5476 done
   5477   done
   5478 IFS=$as_save_IFS
   5479 
   5480 fi
   5481 fi
   5482 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5483 if test -n "$ac_ct_DLLTOOL"; then
   5484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5485 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5486 else
   5487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5488 $as_echo "no" >&6; }
   5489 fi
   5490 
   5491   if test "x$ac_ct_DLLTOOL" = x; then
   5492     DLLTOOL="false"
   5493   else
   5494     case $cross_compiling:$ac_tool_warned in
   5495 yes:)
   5496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5497 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5498 ac_tool_warned=yes ;;
   5499 esac
   5500     DLLTOOL=$ac_ct_DLLTOOL
   5501   fi
   5502 else
   5503   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5504 fi
   5505 
   5506 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5507 
   5508 
   5509 
   5510 
   5511 
   5512 
   5513 
   5514 
   5515 
   5516 
   5517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5518 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5519 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5520   $as_echo_n "(cached) " >&6
   5521 else
   5522   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5523 
   5524 case $host_os in
   5525 cygwin* | mingw* | pw32* | cegcc*)
   5526   # two different shell functions defined in ltmain.sh;
   5527   # decide which one to use based on capabilities of $DLLTOOL
   5528   case `$DLLTOOL --help 2>&1` in
   5529   *--identify-strict*)
   5530     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5531     ;;
   5532   *)
   5533     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5534     ;;
   5535   esac
   5536   ;;
   5537 *)
   5538   # fallback: assume linklib IS sharedlib
   5539   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   5540   ;;
   5541 esac
   5542 
   5543 fi
   5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5545 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5546 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5547 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5548 
   5549 
   5550 
   5551 
   5552 
   5553 
   5554 
   5555 
   5556 if test -n "$ac_tool_prefix"; then
   5557   for ac_prog in ar
   5558   do
   5559     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5560 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5562 $as_echo_n "checking for $ac_word... " >&6; }
   5563 if ${ac_cv_prog_AR+:} false; then :
   5564   $as_echo_n "(cached) " >&6
   5565 else
   5566   if test -n "$AR"; then
   5567   ac_cv_prog_AR="$AR" # Let the user override the test.
   5568 else
   5569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5570 for as_dir in $PATH
   5571 do
   5572   IFS=$as_save_IFS
   5573   test -z "$as_dir" && as_dir=.
   5574     for ac_exec_ext in '' $ac_executable_extensions; do
   5575   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5576     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5577     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5578     break 2
   5579   fi
   5580 done
   5581   done
   5582 IFS=$as_save_IFS
   5583 
   5584 fi
   5585 fi
   5586 AR=$ac_cv_prog_AR
   5587 if test -n "$AR"; then
   5588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5589 $as_echo "$AR" >&6; }
   5590 else
   5591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5592 $as_echo "no" >&6; }
   5593 fi
   5594 
   5595 
   5596     test -n "$AR" && break
   5597   done
   5598 fi
   5599 if test -z "$AR"; then
   5600   ac_ct_AR=$AR
   5601   for ac_prog in ar
   5602 do
   5603   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5604 set dummy $ac_prog; ac_word=$2
   5605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5606 $as_echo_n "checking for $ac_word... " >&6; }
   5607 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5608   $as_echo_n "(cached) " >&6
   5609 else
   5610   if test -n "$ac_ct_AR"; then
   5611   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5612 else
   5613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5614 for as_dir in $PATH
   5615 do
   5616   IFS=$as_save_IFS
   5617   test -z "$as_dir" && as_dir=.
   5618     for ac_exec_ext in '' $ac_executable_extensions; do
   5619   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5620     ac_cv_prog_ac_ct_AR="$ac_prog"
   5621     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5622     break 2
   5623   fi
   5624 done
   5625   done
   5626 IFS=$as_save_IFS
   5627 
   5628 fi
   5629 fi
   5630 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5631 if test -n "$ac_ct_AR"; then
   5632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5633 $as_echo "$ac_ct_AR" >&6; }
   5634 else
   5635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5636 $as_echo "no" >&6; }
   5637 fi
   5638 
   5639 
   5640   test -n "$ac_ct_AR" && break
   5641 done
   5642 
   5643   if test "x$ac_ct_AR" = x; then
   5644     AR="false"
   5645   else
   5646     case $cross_compiling:$ac_tool_warned in
   5647 yes:)
   5648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5649 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5650 ac_tool_warned=yes ;;
   5651 esac
   5652     AR=$ac_ct_AR
   5653   fi
   5654 fi
   5655 
   5656 : ${AR=ar}
   5657 : ${AR_FLAGS=cru}
   5658 
   5659 
   5660 
   5661 
   5662 
   5663 
   5664 
   5665 
   5666 
   5667 
   5668 
   5669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   5670 $as_echo_n "checking for archiver @FILE support... " >&6; }
   5671 if ${lt_cv_ar_at_file+:} false; then :
   5672   $as_echo_n "(cached) " >&6
   5673 else
   5674   lt_cv_ar_at_file=no
   5675    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5676 /* end confdefs.h.  */
   5677 
   5678 int
   5679 main ()
   5680 {
   5681 
   5682   ;
   5683   return 0;
   5684 }
   5685 _ACEOF
   5686 if ac_fn_c_try_compile "$LINENO"; then :
   5687   echo conftest.$ac_objext > conftest.lst
   5688       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   5689       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5690   (eval $lt_ar_try) 2>&5
   5691   ac_status=$?
   5692   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5693   test $ac_status = 0; }
   5694       if test 0 -eq "$ac_status"; then
   5695 	# Ensure the archiver fails upon bogus file names.
   5696 	rm -f conftest.$ac_objext libconftest.a
   5697 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5698   (eval $lt_ar_try) 2>&5
   5699   ac_status=$?
   5700   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5701   test $ac_status = 0; }
   5702 	if test 0 -ne "$ac_status"; then
   5703           lt_cv_ar_at_file=@
   5704         fi
   5705       fi
   5706       rm -f conftest.* libconftest.a
   5707 
   5708 fi
   5709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5710 
   5711 fi
   5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   5713 $as_echo "$lt_cv_ar_at_file" >&6; }
   5714 
   5715 if test no = "$lt_cv_ar_at_file"; then
   5716   archiver_list_spec=
   5717 else
   5718   archiver_list_spec=$lt_cv_ar_at_file
   5719 fi
   5720 
   5721 
   5722 
   5723 
   5724 
   5725 
   5726 
   5727 if test -n "$ac_tool_prefix"; then
   5728   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5729 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5731 $as_echo_n "checking for $ac_word... " >&6; }
   5732 if ${ac_cv_prog_STRIP+:} false; then :
   5733   $as_echo_n "(cached) " >&6
   5734 else
   5735   if test -n "$STRIP"; then
   5736   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5737 else
   5738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5739 for as_dir in $PATH
   5740 do
   5741   IFS=$as_save_IFS
   5742   test -z "$as_dir" && as_dir=.
   5743     for ac_exec_ext in '' $ac_executable_extensions; do
   5744   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5745     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5746     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5747     break 2
   5748   fi
   5749 done
   5750   done
   5751 IFS=$as_save_IFS
   5752 
   5753 fi
   5754 fi
   5755 STRIP=$ac_cv_prog_STRIP
   5756 if test -n "$STRIP"; then
   5757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5758 $as_echo "$STRIP" >&6; }
   5759 else
   5760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5761 $as_echo "no" >&6; }
   5762 fi
   5763 
   5764 
   5765 fi
   5766 if test -z "$ac_cv_prog_STRIP"; then
   5767   ac_ct_STRIP=$STRIP
   5768   # Extract the first word of "strip", so it can be a program name with args.
   5769 set dummy strip; ac_word=$2
   5770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5771 $as_echo_n "checking for $ac_word... " >&6; }
   5772 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5773   $as_echo_n "(cached) " >&6
   5774 else
   5775   if test -n "$ac_ct_STRIP"; then
   5776   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5777 else
   5778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5779 for as_dir in $PATH
   5780 do
   5781   IFS=$as_save_IFS
   5782   test -z "$as_dir" && as_dir=.
   5783     for ac_exec_ext in '' $ac_executable_extensions; do
   5784   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5785     ac_cv_prog_ac_ct_STRIP="strip"
   5786     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5787     break 2
   5788   fi
   5789 done
   5790   done
   5791 IFS=$as_save_IFS
   5792 
   5793 fi
   5794 fi
   5795 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5796 if test -n "$ac_ct_STRIP"; then
   5797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5798 $as_echo "$ac_ct_STRIP" >&6; }
   5799 else
   5800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5801 $as_echo "no" >&6; }
   5802 fi
   5803 
   5804   if test "x$ac_ct_STRIP" = x; then
   5805     STRIP=":"
   5806   else
   5807     case $cross_compiling:$ac_tool_warned in
   5808 yes:)
   5809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5810 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5811 ac_tool_warned=yes ;;
   5812 esac
   5813     STRIP=$ac_ct_STRIP
   5814   fi
   5815 else
   5816   STRIP="$ac_cv_prog_STRIP"
   5817 fi
   5818 
   5819 test -z "$STRIP" && STRIP=:
   5820 
   5821 
   5822 
   5823 
   5824 
   5825 
   5826 if test -n "$ac_tool_prefix"; then
   5827   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5828 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5830 $as_echo_n "checking for $ac_word... " >&6; }
   5831 if ${ac_cv_prog_RANLIB+:} false; then :
   5832   $as_echo_n "(cached) " >&6
   5833 else
   5834   if test -n "$RANLIB"; then
   5835   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5836 else
   5837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5838 for as_dir in $PATH
   5839 do
   5840   IFS=$as_save_IFS
   5841   test -z "$as_dir" && as_dir=.
   5842     for ac_exec_ext in '' $ac_executable_extensions; do
   5843   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5844     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5845     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5846     break 2
   5847   fi
   5848 done
   5849   done
   5850 IFS=$as_save_IFS
   5851 
   5852 fi
   5853 fi
   5854 RANLIB=$ac_cv_prog_RANLIB
   5855 if test -n "$RANLIB"; then
   5856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5857 $as_echo "$RANLIB" >&6; }
   5858 else
   5859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5860 $as_echo "no" >&6; }
   5861 fi
   5862 
   5863 
   5864 fi
   5865 if test -z "$ac_cv_prog_RANLIB"; then
   5866   ac_ct_RANLIB=$RANLIB
   5867   # Extract the first word of "ranlib", so it can be a program name with args.
   5868 set dummy ranlib; ac_word=$2
   5869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5870 $as_echo_n "checking for $ac_word... " >&6; }
   5871 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5872   $as_echo_n "(cached) " >&6
   5873 else
   5874   if test -n "$ac_ct_RANLIB"; then
   5875   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5876 else
   5877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5878 for as_dir in $PATH
   5879 do
   5880   IFS=$as_save_IFS
   5881   test -z "$as_dir" && as_dir=.
   5882     for ac_exec_ext in '' $ac_executable_extensions; do
   5883   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5884     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5885     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5886     break 2
   5887   fi
   5888 done
   5889   done
   5890 IFS=$as_save_IFS
   5891 
   5892 fi
   5893 fi
   5894 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5895 if test -n "$ac_ct_RANLIB"; then
   5896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5897 $as_echo "$ac_ct_RANLIB" >&6; }
   5898 else
   5899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5900 $as_echo "no" >&6; }
   5901 fi
   5902 
   5903   if test "x$ac_ct_RANLIB" = x; then
   5904     RANLIB=":"
   5905   else
   5906     case $cross_compiling:$ac_tool_warned in
   5907 yes:)
   5908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5909 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5910 ac_tool_warned=yes ;;
   5911 esac
   5912     RANLIB=$ac_ct_RANLIB
   5913   fi
   5914 else
   5915   RANLIB="$ac_cv_prog_RANLIB"
   5916 fi
   5917 
   5918 test -z "$RANLIB" && RANLIB=:
   5919 
   5920 
   5921 
   5922 
   5923 
   5924 
   5925 # Determine commands to create old-style static archives.
   5926 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5927 old_postinstall_cmds='chmod 644 $oldlib'
   5928 old_postuninstall_cmds=
   5929 
   5930 if test -n "$RANLIB"; then
   5931   case $host_os in
   5932   bitrig* | openbsd*)
   5933     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   5934     ;;
   5935   *)
   5936     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   5937     ;;
   5938   esac
   5939   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   5940 fi
   5941 
   5942 case $host_os in
   5943   darwin*)
   5944     lock_old_archive_extraction=yes ;;
   5945   *)
   5946     lock_old_archive_extraction=no ;;
   5947 esac
   5948 
   5949 
   5950 
   5951 
   5952 
   5953 
   5954 
   5955 
   5956 
   5957 
   5958 
   5959 
   5960 
   5961 
   5962 
   5963 
   5964 
   5965 
   5966 
   5967 
   5968 
   5969 
   5970 
   5971 
   5972 
   5973 
   5974 
   5975 
   5976 
   5977 
   5978 
   5979 
   5980 
   5981 
   5982 
   5983 
   5984 
   5985 
   5986 
   5987 # If no C compiler was specified, use CC.
   5988 LTCC=${LTCC-"$CC"}
   5989 
   5990 # If no C compiler flags were specified, use CFLAGS.
   5991 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5992 
   5993 # Allow CC to be a program name with arguments.
   5994 compiler=$CC
   5995 
   5996 
   5997 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   5999 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6000 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   6001   $as_echo_n "(cached) " >&6
   6002 else
   6003 
   6004 # These are sane defaults that work on at least a few old systems.
   6005 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6006 
   6007 # Character class describing NM global symbol codes.
   6008 symcode='[BCDEGRST]'
   6009 
   6010 # Regexp to match symbols that can be accessed directly from C.
   6011 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6012 
   6013 # Define system-specific variables.
   6014 case $host_os in
   6015 aix*)
   6016   symcode='[BCDT]'
   6017   ;;
   6018 cygwin* | mingw* | pw32* | cegcc*)
   6019   symcode='[ABCDGISTW]'
   6020   ;;
   6021 hpux*)
   6022   if test ia64 = "$host_cpu"; then
   6023     symcode='[ABCDEGRST]'
   6024   fi
   6025   ;;
   6026 irix* | nonstopux*)
   6027   symcode='[BCDEGRST]'
   6028   ;;
   6029 osf*)
   6030   symcode='[BCDEGQRST]'
   6031   ;;
   6032 solaris*)
   6033   symcode='[BDRT]'
   6034   ;;
   6035 sco3.2v5*)
   6036   symcode='[DT]'
   6037   ;;
   6038 sysv4.2uw2*)
   6039   symcode='[DT]'
   6040   ;;
   6041 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6042   symcode='[ABDT]'
   6043   ;;
   6044 sysv4)
   6045   symcode='[DFNSTU]'
   6046   ;;
   6047 esac
   6048 
   6049 # If we're using GNU nm, then use its standard symbol codes.
   6050 case `$NM -V 2>&1` in
   6051 *GNU* | *'with BFD'*)
   6052   symcode='[ABCDGIRSTW]' ;;
   6053 esac
   6054 
   6055 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6056   # Gets list of data symbols to import.
   6057   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   6058   # Adjust the below global symbol transforms to fixup imported variables.
   6059   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   6060   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   6061   lt_c_name_lib_hook="\
   6062   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   6063   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   6064 else
   6065   # Disable hooks by default.
   6066   lt_cv_sys_global_symbol_to_import=
   6067   lt_cdecl_hook=
   6068   lt_c_name_hook=
   6069   lt_c_name_lib_hook=
   6070 fi
   6071 
   6072 # Transform an extracted symbol line into a proper C declaration.
   6073 # Some systems (esp. on ia64) link data and code symbols differently,
   6074 # so use this general approach.
   6075 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   6076 $lt_cdecl_hook\
   6077 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   6078 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   6079 
   6080 # Transform an extracted symbol line into symbol name and symbol address
   6081 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   6082 $lt_c_name_hook\
   6083 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6084 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   6085 
   6086 # Transform an extracted symbol line into symbol name with lib prefix and
   6087 # symbol address.
   6088 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   6089 $lt_c_name_lib_hook\
   6090 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6091 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   6092 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   6093 
   6094 # Handle CRLF in mingw tool chain
   6095 opt_cr=
   6096 case $build_os in
   6097 mingw*)
   6098   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6099   ;;
   6100 esac
   6101 
   6102 # Try without a prefix underscore, then with it.
   6103 for ac_symprfx in "" "_"; do
   6104 
   6105   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6106   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6107 
   6108   # Write the raw and C identifiers.
   6109   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6110     # Fake it for dumpbin and say T for any non-static function,
   6111     # D for any global variable and I for any imported variable.
   6112     # Also find C++ and __fastcall symbols from MSVC++,
   6113     # which start with @ or ?.
   6114     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6115 "     {last_section=section; section=\$ 3};"\
   6116 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   6117 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6118 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   6119 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   6120 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   6121 "     \$ 0!~/External *\|/{next};"\
   6122 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6123 "     {if(hide[section]) next};"\
   6124 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   6125 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   6126 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   6127 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   6128 "     ' prfx=^$ac_symprfx"
   6129   else
   6130     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6131   fi
   6132   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   6133 
   6134   # Check to see that the pipe works correctly.
   6135   pipe_works=no
   6136 
   6137   rm -f conftest*
   6138   cat > conftest.$ac_ext <<_LT_EOF
   6139 #ifdef __cplusplus
   6140 extern "C" {
   6141 #endif
   6142 char nm_test_var;
   6143 void nm_test_func(void);
   6144 void nm_test_func(void){}
   6145 #ifdef __cplusplus
   6146 }
   6147 #endif
   6148 int main(){nm_test_var='a';nm_test_func();return(0);}
   6149 _LT_EOF
   6150 
   6151   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6152   (eval $ac_compile) 2>&5
   6153   ac_status=$?
   6154   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6155   test $ac_status = 0; }; then
   6156     # Now try to grab the symbols.
   6157     nlist=conftest.nm
   6158     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6159   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6160   ac_status=$?
   6161   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6162   test $ac_status = 0; } && test -s "$nlist"; then
   6163       # Try sorting and uniquifying the output.
   6164       if sort "$nlist" | uniq > "$nlist"T; then
   6165 	mv -f "$nlist"T "$nlist"
   6166       else
   6167 	rm -f "$nlist"T
   6168       fi
   6169 
   6170       # Make sure that we snagged all the symbols we need.
   6171       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6172 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6173 	  cat <<_LT_EOF > conftest.$ac_ext
   6174 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6175 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   6176 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   6177    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6178 # define LT_DLSYM_CONST
   6179 #elif defined __osf__
   6180 /* This system does not cope well with relocations in const data.  */
   6181 # define LT_DLSYM_CONST
   6182 #else
   6183 # define LT_DLSYM_CONST const
   6184 #endif
   6185 
   6186 #ifdef __cplusplus
   6187 extern "C" {
   6188 #endif
   6189 
   6190 _LT_EOF
   6191 	  # Now generate the symbol file.
   6192 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6193 
   6194 	  cat <<_LT_EOF >> conftest.$ac_ext
   6195 
   6196 /* The mapping between symbol names and symbols.  */
   6197 LT_DLSYM_CONST struct {
   6198   const char *name;
   6199   void       *address;
   6200 }
   6201 lt__PROGRAM__LTX_preloaded_symbols[] =
   6202 {
   6203   { "@PROGRAM@", (void *) 0 },
   6204 _LT_EOF
   6205 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6206 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6207   {0, (void *) 0}
   6208 };
   6209 
   6210 /* This works around a problem in FreeBSD linker */
   6211 #ifdef FREEBSD_WORKAROUND
   6212 static const void *lt_preloaded_setup() {
   6213   return lt__PROGRAM__LTX_preloaded_symbols;
   6214 }
   6215 #endif
   6216 
   6217 #ifdef __cplusplus
   6218 }
   6219 #endif
   6220 _LT_EOF
   6221 	  # Now try linking the two files.
   6222 	  mv conftest.$ac_objext conftstm.$ac_objext
   6223 	  lt_globsym_save_LIBS=$LIBS
   6224 	  lt_globsym_save_CFLAGS=$CFLAGS
   6225 	  LIBS=conftstm.$ac_objext
   6226 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6227 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6228   (eval $ac_link) 2>&5
   6229   ac_status=$?
   6230   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6231   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   6232 	    pipe_works=yes
   6233 	  fi
   6234 	  LIBS=$lt_globsym_save_LIBS
   6235 	  CFLAGS=$lt_globsym_save_CFLAGS
   6236 	else
   6237 	  echo "cannot find nm_test_func in $nlist" >&5
   6238 	fi
   6239       else
   6240 	echo "cannot find nm_test_var in $nlist" >&5
   6241       fi
   6242     else
   6243       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6244     fi
   6245   else
   6246     echo "$progname: failed program was:" >&5
   6247     cat conftest.$ac_ext >&5
   6248   fi
   6249   rm -rf conftest* conftst*
   6250 
   6251   # Do not use the global_symbol_pipe unless it works.
   6252   if test yes = "$pipe_works"; then
   6253     break
   6254   else
   6255     lt_cv_sys_global_symbol_pipe=
   6256   fi
   6257 done
   6258 
   6259 fi
   6260 
   6261 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6262   lt_cv_sys_global_symbol_to_cdecl=
   6263 fi
   6264 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6266 $as_echo "failed" >&6; }
   6267 else
   6268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6269 $as_echo "ok" >&6; }
   6270 fi
   6271 
   6272 # Response file support.
   6273 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6274   nm_file_list_spec='@'
   6275 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6276   nm_file_list_spec='@'
   6277 fi
   6278 
   6279 
   6280 
   6281 
   6282 
   6283 
   6284 
   6285 
   6286 
   6287 
   6288 
   6289 
   6290 
   6291 
   6292 
   6293 
   6294 
   6295 
   6296 
   6297 
   6298 
   6299 
   6300 
   6301 
   6302 
   6303 
   6304 
   6305 
   6306 
   6307 
   6308 
   6309 
   6310 
   6311 
   6312 
   6313 
   6314 
   6315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6316 $as_echo_n "checking for sysroot... " >&6; }
   6317 
   6318 # Check whether --with-sysroot was given.
   6319 if test "${with_sysroot+set}" = set; then :
   6320   withval=$with_sysroot;
   6321 else
   6322   with_sysroot=no
   6323 fi
   6324 
   6325 
   6326 lt_sysroot=
   6327 case $with_sysroot in #(
   6328  yes)
   6329    if test yes = "$GCC"; then
   6330      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6331    fi
   6332    ;; #(
   6333  /*)
   6334    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6335    ;; #(
   6336  no|'')
   6337    ;; #(
   6338  *)
   6339    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   6340 $as_echo "$with_sysroot" >&6; }
   6341    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6342    ;;
   6343 esac
   6344 
   6345  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6346 $as_echo "${lt_sysroot:-no}" >&6; }
   6347 
   6348 
   6349 
   6350 
   6351 
   6352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   6353 $as_echo_n "checking for a working dd... " >&6; }
   6354 if ${ac_cv_path_lt_DD+:} false; then :
   6355   $as_echo_n "(cached) " >&6
   6356 else
   6357   printf 0123456789abcdef0123456789abcdef >conftest.i
   6358 cat conftest.i conftest.i >conftest2.i
   6359 : ${lt_DD:=$DD}
   6360 if test -z "$lt_DD"; then
   6361   ac_path_lt_DD_found=false
   6362   # Loop through the user's path and test for each of PROGNAME-LIST
   6363   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6364 for as_dir in $PATH
   6365 do
   6366   IFS=$as_save_IFS
   6367   test -z "$as_dir" && as_dir=.
   6368     for ac_prog in dd; do
   6369     for ac_exec_ext in '' $ac_executable_extensions; do
   6370       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
   6371       as_fn_executable_p "$ac_path_lt_DD" || continue
   6372 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   6373   cmp -s conftest.i conftest.out \
   6374   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   6375 fi
   6376       $ac_path_lt_DD_found && break 3
   6377     done
   6378   done
   6379   done
   6380 IFS=$as_save_IFS
   6381   if test -z "$ac_cv_path_lt_DD"; then
   6382     :
   6383   fi
   6384 else
   6385   ac_cv_path_lt_DD=$lt_DD
   6386 fi
   6387 
   6388 rm -f conftest.i conftest2.i conftest.out
   6389 fi
   6390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   6391 $as_echo "$ac_cv_path_lt_DD" >&6; }
   6392 
   6393 
   6394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   6395 $as_echo_n "checking how to truncate binary pipes... " >&6; }
   6396 if ${lt_cv_truncate_bin+:} false; then :
   6397   $as_echo_n "(cached) " >&6
   6398 else
   6399   printf 0123456789abcdef0123456789abcdef >conftest.i
   6400 cat conftest.i conftest.i >conftest2.i
   6401 lt_cv_truncate_bin=
   6402 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   6403   cmp -s conftest.i conftest.out \
   6404   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   6405 fi
   6406 rm -f conftest.i conftest2.i conftest.out
   6407 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   6408 fi
   6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   6410 $as_echo "$lt_cv_truncate_bin" >&6; }
   6411 
   6412 
   6413 
   6414 
   6415 
   6416 
   6417 
   6418 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   6419 func_cc_basename ()
   6420 {
   6421     for cc_temp in $*""; do
   6422       case $cc_temp in
   6423         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   6424         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   6425         \-*) ;;
   6426         *) break;;
   6427       esac
   6428     done
   6429     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   6430 }
   6431 
   6432 # Check whether --enable-libtool-lock was given.
   6433 if test "${enable_libtool_lock+set}" = set; then :
   6434   enableval=$enable_libtool_lock;
   6435 fi
   6436 
   6437 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   6438 
   6439 # Some flags need to be propagated to the compiler or linker for good
   6440 # libtool support.
   6441 case $host in
   6442 ia64-*-hpux*)
   6443   # Find out what ABI is being produced by ac_compile, and set mode
   6444   # options accordingly.
   6445   echo 'int i;' > conftest.$ac_ext
   6446   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6447   (eval $ac_compile) 2>&5
   6448   ac_status=$?
   6449   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6450   test $ac_status = 0; }; then
   6451     case `/usr/bin/file conftest.$ac_objext` in
   6452       *ELF-32*)
   6453 	HPUX_IA64_MODE=32
   6454 	;;
   6455       *ELF-64*)
   6456 	HPUX_IA64_MODE=64
   6457 	;;
   6458     esac
   6459   fi
   6460   rm -rf conftest*
   6461   ;;
   6462 *-*-irix6*)
   6463   # Find out what ABI is being produced by ac_compile, and set linker
   6464   # options accordingly.
   6465   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6466   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6467   (eval $ac_compile) 2>&5
   6468   ac_status=$?
   6469   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6470   test $ac_status = 0; }; then
   6471     if test yes = "$lt_cv_prog_gnu_ld"; then
   6472       case `/usr/bin/file conftest.$ac_objext` in
   6473 	*32-bit*)
   6474 	  LD="${LD-ld} -melf32bsmip"
   6475 	  ;;
   6476 	*N32*)
   6477 	  LD="${LD-ld} -melf32bmipn32"
   6478 	  ;;
   6479 	*64-bit*)
   6480 	  LD="${LD-ld} -melf64bmip"
   6481 	;;
   6482       esac
   6483     else
   6484       case `/usr/bin/file conftest.$ac_objext` in
   6485 	*32-bit*)
   6486 	  LD="${LD-ld} -32"
   6487 	  ;;
   6488 	*N32*)
   6489 	  LD="${LD-ld} -n32"
   6490 	  ;;
   6491 	*64-bit*)
   6492 	  LD="${LD-ld} -64"
   6493 	  ;;
   6494       esac
   6495     fi
   6496   fi
   6497   rm -rf conftest*
   6498   ;;
   6499 
   6500 mips64*-*linux*)
   6501   # Find out what ABI is being produced by ac_compile, and set linker
   6502   # options accordingly.
   6503   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6504   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6505   (eval $ac_compile) 2>&5
   6506   ac_status=$?
   6507   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6508   test $ac_status = 0; }; then
   6509     emul=elf
   6510     case `/usr/bin/file conftest.$ac_objext` in
   6511       *32-bit*)
   6512 	emul="${emul}32"
   6513 	;;
   6514       *64-bit*)
   6515 	emul="${emul}64"
   6516 	;;
   6517     esac
   6518     case `/usr/bin/file conftest.$ac_objext` in
   6519       *MSB*)
   6520 	emul="${emul}btsmip"
   6521 	;;
   6522       *LSB*)
   6523 	emul="${emul}ltsmip"
   6524 	;;
   6525     esac
   6526     case `/usr/bin/file conftest.$ac_objext` in
   6527       *N32*)
   6528 	emul="${emul}n32"
   6529 	;;
   6530     esac
   6531     LD="${LD-ld} -m $emul"
   6532   fi
   6533   rm -rf conftest*
   6534   ;;
   6535 
   6536 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   6537 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6538   # Find out what ABI is being produced by ac_compile, and set linker
   6539   # options accordingly.  Note that the listed cases only cover the
   6540   # situations where additional linker options are needed (such as when
   6541   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   6542   # vice versa); the common cases where no linker options are needed do
   6543   # not appear in the list.
   6544   echo 'int i;' > conftest.$ac_ext
   6545   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6546   (eval $ac_compile) 2>&5
   6547   ac_status=$?
   6548   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6549   test $ac_status = 0; }; then
   6550     case `/usr/bin/file conftest.o` in
   6551       *32-bit*)
   6552 	case $host in
   6553 	  x86_64-*kfreebsd*-gnu)
   6554 	    LD="${LD-ld} -m elf_i386_fbsd"
   6555 	    ;;
   6556 	  x86_64-*linux*)
   6557 	    case `/usr/bin/file conftest.o` in
   6558 	      *x86-64*)
   6559 		LD="${LD-ld} -m elf32_x86_64"
   6560 		;;
   6561 	      *)
   6562 		LD="${LD-ld} -m elf_i386"
   6563 		;;
   6564 	    esac
   6565 	    ;;
   6566 	  powerpc64le-*linux*)
   6567 	    LD="${LD-ld} -m elf32lppclinux"
   6568 	    ;;
   6569 	  powerpc64-*linux*)
   6570 	    LD="${LD-ld} -m elf32ppclinux"
   6571 	    ;;
   6572 	  s390x-*linux*)
   6573 	    LD="${LD-ld} -m elf_s390"
   6574 	    ;;
   6575 	  sparc64-*linux*)
   6576 	    LD="${LD-ld} -m elf32_sparc"
   6577 	    ;;
   6578 	esac
   6579 	;;
   6580       *64-bit*)
   6581 	case $host in
   6582 	  x86_64-*kfreebsd*-gnu)
   6583 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6584 	    ;;
   6585 	  x86_64-*linux*)
   6586 	    LD="${LD-ld} -m elf_x86_64"
   6587 	    ;;
   6588 	  powerpcle-*linux*)
   6589 	    LD="${LD-ld} -m elf64lppc"
   6590 	    ;;
   6591 	  powerpc-*linux*)
   6592 	    LD="${LD-ld} -m elf64ppc"
   6593 	    ;;
   6594 	  s390*-*linux*|s390*-*tpf*)
   6595 	    LD="${LD-ld} -m elf64_s390"
   6596 	    ;;
   6597 	  sparc*-*linux*)
   6598 	    LD="${LD-ld} -m elf64_sparc"
   6599 	    ;;
   6600 	esac
   6601 	;;
   6602     esac
   6603   fi
   6604   rm -rf conftest*
   6605   ;;
   6606 
   6607 *-*-sco3.2v5*)
   6608   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6609   SAVE_CFLAGS=$CFLAGS
   6610   CFLAGS="$CFLAGS -belf"
   6611   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6612 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6613 if ${lt_cv_cc_needs_belf+:} false; then :
   6614   $as_echo_n "(cached) " >&6
   6615 else
   6616   ac_ext=c
   6617 ac_cpp='$CPP $CPPFLAGS'
   6618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6621 
   6622      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6623 /* end confdefs.h.  */
   6624 
   6625 int
   6626 main ()
   6627 {
   6628 
   6629   ;
   6630   return 0;
   6631 }
   6632 _ACEOF
   6633 if ac_fn_c_try_link "$LINENO"; then :
   6634   lt_cv_cc_needs_belf=yes
   6635 else
   6636   lt_cv_cc_needs_belf=no
   6637 fi
   6638 rm -f core conftest.err conftest.$ac_objext \
   6639     conftest$ac_exeext conftest.$ac_ext
   6640      ac_ext=c
   6641 ac_cpp='$CPP $CPPFLAGS'
   6642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6645 
   6646 fi
   6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6648 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6649   if test yes != "$lt_cv_cc_needs_belf"; then
   6650     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6651     CFLAGS=$SAVE_CFLAGS
   6652   fi
   6653   ;;
   6654 *-*solaris*)
   6655   # Find out what ABI is being produced by ac_compile, and set linker
   6656   # options accordingly.
   6657   echo 'int i;' > conftest.$ac_ext
   6658   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6659   (eval $ac_compile) 2>&5
   6660   ac_status=$?
   6661   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6662   test $ac_status = 0; }; then
   6663     case `/usr/bin/file conftest.o` in
   6664     *64-bit*)
   6665       case $lt_cv_prog_gnu_ld in
   6666       yes*)
   6667         case $host in
   6668         i?86-*-solaris*|x86_64-*-solaris*)
   6669           LD="${LD-ld} -m elf_x86_64"
   6670           ;;
   6671         sparc*-*-solaris*)
   6672           LD="${LD-ld} -m elf64_sparc"
   6673           ;;
   6674         esac
   6675         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   6676         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   6677           LD=${LD-ld}_sol2
   6678         fi
   6679         ;;
   6680       *)
   6681 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6682 	  LD="${LD-ld} -64"
   6683 	fi
   6684 	;;
   6685       esac
   6686       ;;
   6687     esac
   6688   fi
   6689   rm -rf conftest*
   6690   ;;
   6691 esac
   6692 
   6693 need_locks=$enable_libtool_lock
   6694 
   6695 if test -n "$ac_tool_prefix"; then
   6696   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6697 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6699 $as_echo_n "checking for $ac_word... " >&6; }
   6700 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6701   $as_echo_n "(cached) " >&6
   6702 else
   6703   if test -n "$MANIFEST_TOOL"; then
   6704   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6705 else
   6706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6707 for as_dir in $PATH
   6708 do
   6709   IFS=$as_save_IFS
   6710   test -z "$as_dir" && as_dir=.
   6711     for ac_exec_ext in '' $ac_executable_extensions; do
   6712   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6713     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6714     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6715     break 2
   6716   fi
   6717 done
   6718   done
   6719 IFS=$as_save_IFS
   6720 
   6721 fi
   6722 fi
   6723 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6724 if test -n "$MANIFEST_TOOL"; then
   6725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6726 $as_echo "$MANIFEST_TOOL" >&6; }
   6727 else
   6728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6729 $as_echo "no" >&6; }
   6730 fi
   6731 
   6732 
   6733 fi
   6734 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6735   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6736   # Extract the first word of "mt", so it can be a program name with args.
   6737 set dummy mt; ac_word=$2
   6738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6739 $as_echo_n "checking for $ac_word... " >&6; }
   6740 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6741   $as_echo_n "(cached) " >&6
   6742 else
   6743   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6744   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6745 else
   6746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6747 for as_dir in $PATH
   6748 do
   6749   IFS=$as_save_IFS
   6750   test -z "$as_dir" && as_dir=.
   6751     for ac_exec_ext in '' $ac_executable_extensions; do
   6752   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6753     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6754     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6755     break 2
   6756   fi
   6757 done
   6758   done
   6759 IFS=$as_save_IFS
   6760 
   6761 fi
   6762 fi
   6763 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6764 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6766 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6767 else
   6768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6769 $as_echo "no" >&6; }
   6770 fi
   6771 
   6772   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6773     MANIFEST_TOOL=":"
   6774   else
   6775     case $cross_compiling:$ac_tool_warned in
   6776 yes:)
   6777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6778 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6779 ac_tool_warned=yes ;;
   6780 esac
   6781     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6782   fi
   6783 else
   6784   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6785 fi
   6786 
   6787 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6789 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6790 if ${lt_cv_path_mainfest_tool+:} false; then :
   6791   $as_echo_n "(cached) " >&6
   6792 else
   6793   lt_cv_path_mainfest_tool=no
   6794   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6795   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6796   cat conftest.err >&5
   6797   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6798     lt_cv_path_mainfest_tool=yes
   6799   fi
   6800   rm -f conftest*
   6801 fi
   6802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6803 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6804 if test yes != "$lt_cv_path_mainfest_tool"; then
   6805   MANIFEST_TOOL=:
   6806 fi
   6807 
   6808 
   6809 
   6810 
   6811 
   6812 
   6813   case $host_os in
   6814     rhapsody* | darwin*)
   6815     if test -n "$ac_tool_prefix"; then
   6816   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6817 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6819 $as_echo_n "checking for $ac_word... " >&6; }
   6820 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   6821   $as_echo_n "(cached) " >&6
   6822 else
   6823   if test -n "$DSYMUTIL"; then
   6824   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6825 else
   6826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6827 for as_dir in $PATH
   6828 do
   6829   IFS=$as_save_IFS
   6830   test -z "$as_dir" && as_dir=.
   6831     for ac_exec_ext in '' $ac_executable_extensions; do
   6832   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6833     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6834     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6835     break 2
   6836   fi
   6837 done
   6838   done
   6839 IFS=$as_save_IFS
   6840 
   6841 fi
   6842 fi
   6843 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6844 if test -n "$DSYMUTIL"; then
   6845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6846 $as_echo "$DSYMUTIL" >&6; }
   6847 else
   6848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6849 $as_echo "no" >&6; }
   6850 fi
   6851 
   6852 
   6853 fi
   6854 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6855   ac_ct_DSYMUTIL=$DSYMUTIL
   6856   # Extract the first word of "dsymutil", so it can be a program name with args.
   6857 set dummy dsymutil; ac_word=$2
   6858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6859 $as_echo_n "checking for $ac_word... " >&6; }
   6860 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6861   $as_echo_n "(cached) " >&6
   6862 else
   6863   if test -n "$ac_ct_DSYMUTIL"; then
   6864   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6865 else
   6866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6867 for as_dir in $PATH
   6868 do
   6869   IFS=$as_save_IFS
   6870   test -z "$as_dir" && as_dir=.
   6871     for ac_exec_ext in '' $ac_executable_extensions; do
   6872   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6873     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6874     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6875     break 2
   6876   fi
   6877 done
   6878   done
   6879 IFS=$as_save_IFS
   6880 
   6881 fi
   6882 fi
   6883 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6884 if test -n "$ac_ct_DSYMUTIL"; then
   6885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6886 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6887 else
   6888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6889 $as_echo "no" >&6; }
   6890 fi
   6891 
   6892   if test "x$ac_ct_DSYMUTIL" = x; then
   6893     DSYMUTIL=":"
   6894   else
   6895     case $cross_compiling:$ac_tool_warned in
   6896 yes:)
   6897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6899 ac_tool_warned=yes ;;
   6900 esac
   6901     DSYMUTIL=$ac_ct_DSYMUTIL
   6902   fi
   6903 else
   6904   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6905 fi
   6906 
   6907     if test -n "$ac_tool_prefix"; then
   6908   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6909 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6911 $as_echo_n "checking for $ac_word... " >&6; }
   6912 if ${ac_cv_prog_NMEDIT+:} false; then :
   6913   $as_echo_n "(cached) " >&6
   6914 else
   6915   if test -n "$NMEDIT"; then
   6916   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6917 else
   6918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6919 for as_dir in $PATH
   6920 do
   6921   IFS=$as_save_IFS
   6922   test -z "$as_dir" && as_dir=.
   6923     for ac_exec_ext in '' $ac_executable_extensions; do
   6924   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6925     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6926     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6927     break 2
   6928   fi
   6929 done
   6930   done
   6931 IFS=$as_save_IFS
   6932 
   6933 fi
   6934 fi
   6935 NMEDIT=$ac_cv_prog_NMEDIT
   6936 if test -n "$NMEDIT"; then
   6937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6938 $as_echo "$NMEDIT" >&6; }
   6939 else
   6940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6941 $as_echo "no" >&6; }
   6942 fi
   6943 
   6944 
   6945 fi
   6946 if test -z "$ac_cv_prog_NMEDIT"; then
   6947   ac_ct_NMEDIT=$NMEDIT
   6948   # Extract the first word of "nmedit", so it can be a program name with args.
   6949 set dummy nmedit; ac_word=$2
   6950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6951 $as_echo_n "checking for $ac_word... " >&6; }
   6952 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   6953   $as_echo_n "(cached) " >&6
   6954 else
   6955   if test -n "$ac_ct_NMEDIT"; then
   6956   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6957 else
   6958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6959 for as_dir in $PATH
   6960 do
   6961   IFS=$as_save_IFS
   6962   test -z "$as_dir" && as_dir=.
   6963     for ac_exec_ext in '' $ac_executable_extensions; do
   6964   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6965     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6966     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6967     break 2
   6968   fi
   6969 done
   6970   done
   6971 IFS=$as_save_IFS
   6972 
   6973 fi
   6974 fi
   6975 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6976 if test -n "$ac_ct_NMEDIT"; then
   6977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6978 $as_echo "$ac_ct_NMEDIT" >&6; }
   6979 else
   6980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6981 $as_echo "no" >&6; }
   6982 fi
   6983 
   6984   if test "x$ac_ct_NMEDIT" = x; then
   6985     NMEDIT=":"
   6986   else
   6987     case $cross_compiling:$ac_tool_warned in
   6988 yes:)
   6989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6990 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6991 ac_tool_warned=yes ;;
   6992 esac
   6993     NMEDIT=$ac_ct_NMEDIT
   6994   fi
   6995 else
   6996   NMEDIT="$ac_cv_prog_NMEDIT"
   6997 fi
   6998 
   6999     if test -n "$ac_tool_prefix"; then
   7000   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7001 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7003 $as_echo_n "checking for $ac_word... " >&6; }
   7004 if ${ac_cv_prog_LIPO+:} false; then :
   7005   $as_echo_n "(cached) " >&6
   7006 else
   7007   if test -n "$LIPO"; then
   7008   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7009 else
   7010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7011 for as_dir in $PATH
   7012 do
   7013   IFS=$as_save_IFS
   7014   test -z "$as_dir" && as_dir=.
   7015     for ac_exec_ext in '' $ac_executable_extensions; do
   7016   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7017     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7018     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7019     break 2
   7020   fi
   7021 done
   7022   done
   7023 IFS=$as_save_IFS
   7024 
   7025 fi
   7026 fi
   7027 LIPO=$ac_cv_prog_LIPO
   7028 if test -n "$LIPO"; then
   7029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7030 $as_echo "$LIPO" >&6; }
   7031 else
   7032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7033 $as_echo "no" >&6; }
   7034 fi
   7035 
   7036 
   7037 fi
   7038 if test -z "$ac_cv_prog_LIPO"; then
   7039   ac_ct_LIPO=$LIPO
   7040   # Extract the first word of "lipo", so it can be a program name with args.
   7041 set dummy lipo; ac_word=$2
   7042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7043 $as_echo_n "checking for $ac_word... " >&6; }
   7044 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   7045   $as_echo_n "(cached) " >&6
   7046 else
   7047   if test -n "$ac_ct_LIPO"; then
   7048   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7049 else
   7050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7051 for as_dir in $PATH
   7052 do
   7053   IFS=$as_save_IFS
   7054   test -z "$as_dir" && as_dir=.
   7055     for ac_exec_ext in '' $ac_executable_extensions; do
   7056   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7057     ac_cv_prog_ac_ct_LIPO="lipo"
   7058     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7059     break 2
   7060   fi
   7061 done
   7062   done
   7063 IFS=$as_save_IFS
   7064 
   7065 fi
   7066 fi
   7067 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7068 if test -n "$ac_ct_LIPO"; then
   7069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7070 $as_echo "$ac_ct_LIPO" >&6; }
   7071 else
   7072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7073 $as_echo "no" >&6; }
   7074 fi
   7075 
   7076   if test "x$ac_ct_LIPO" = x; then
   7077     LIPO=":"
   7078   else
   7079     case $cross_compiling:$ac_tool_warned in
   7080 yes:)
   7081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7082 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7083 ac_tool_warned=yes ;;
   7084 esac
   7085     LIPO=$ac_ct_LIPO
   7086   fi
   7087 else
   7088   LIPO="$ac_cv_prog_LIPO"
   7089 fi
   7090 
   7091     if test -n "$ac_tool_prefix"; then
   7092   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7093 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7095 $as_echo_n "checking for $ac_word... " >&6; }
   7096 if ${ac_cv_prog_OTOOL+:} false; then :
   7097   $as_echo_n "(cached) " >&6
   7098 else
   7099   if test -n "$OTOOL"; then
   7100   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7101 else
   7102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7103 for as_dir in $PATH
   7104 do
   7105   IFS=$as_save_IFS
   7106   test -z "$as_dir" && as_dir=.
   7107     for ac_exec_ext in '' $ac_executable_extensions; do
   7108   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7109     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7110     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7111     break 2
   7112   fi
   7113 done
   7114   done
   7115 IFS=$as_save_IFS
   7116 
   7117 fi
   7118 fi
   7119 OTOOL=$ac_cv_prog_OTOOL
   7120 if test -n "$OTOOL"; then
   7121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7122 $as_echo "$OTOOL" >&6; }
   7123 else
   7124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7125 $as_echo "no" >&6; }
   7126 fi
   7127 
   7128 
   7129 fi
   7130 if test -z "$ac_cv_prog_OTOOL"; then
   7131   ac_ct_OTOOL=$OTOOL
   7132   # Extract the first word of "otool", so it can be a program name with args.
   7133 set dummy otool; ac_word=$2
   7134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7135 $as_echo_n "checking for $ac_word... " >&6; }
   7136 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7137   $as_echo_n "(cached) " >&6
   7138 else
   7139   if test -n "$ac_ct_OTOOL"; then
   7140   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7141 else
   7142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7143 for as_dir in $PATH
   7144 do
   7145   IFS=$as_save_IFS
   7146   test -z "$as_dir" && as_dir=.
   7147     for ac_exec_ext in '' $ac_executable_extensions; do
   7148   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7149     ac_cv_prog_ac_ct_OTOOL="otool"
   7150     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7151     break 2
   7152   fi
   7153 done
   7154   done
   7155 IFS=$as_save_IFS
   7156 
   7157 fi
   7158 fi
   7159 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7160 if test -n "$ac_ct_OTOOL"; then
   7161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7162 $as_echo "$ac_ct_OTOOL" >&6; }
   7163 else
   7164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7165 $as_echo "no" >&6; }
   7166 fi
   7167 
   7168   if test "x$ac_ct_OTOOL" = x; then
   7169     OTOOL=":"
   7170   else
   7171     case $cross_compiling:$ac_tool_warned in
   7172 yes:)
   7173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7174 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7175 ac_tool_warned=yes ;;
   7176 esac
   7177     OTOOL=$ac_ct_OTOOL
   7178   fi
   7179 else
   7180   OTOOL="$ac_cv_prog_OTOOL"
   7181 fi
   7182 
   7183     if test -n "$ac_tool_prefix"; then
   7184   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7185 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7187 $as_echo_n "checking for $ac_word... " >&6; }
   7188 if ${ac_cv_prog_OTOOL64+:} false; then :
   7189   $as_echo_n "(cached) " >&6
   7190 else
   7191   if test -n "$OTOOL64"; then
   7192   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7193 else
   7194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7195 for as_dir in $PATH
   7196 do
   7197   IFS=$as_save_IFS
   7198   test -z "$as_dir" && as_dir=.
   7199     for ac_exec_ext in '' $ac_executable_extensions; do
   7200   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7201     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7202     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7203     break 2
   7204   fi
   7205 done
   7206   done
   7207 IFS=$as_save_IFS
   7208 
   7209 fi
   7210 fi
   7211 OTOOL64=$ac_cv_prog_OTOOL64
   7212 if test -n "$OTOOL64"; then
   7213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7214 $as_echo "$OTOOL64" >&6; }
   7215 else
   7216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7217 $as_echo "no" >&6; }
   7218 fi
   7219 
   7220 
   7221 fi
   7222 if test -z "$ac_cv_prog_OTOOL64"; then
   7223   ac_ct_OTOOL64=$OTOOL64
   7224   # Extract the first word of "otool64", so it can be a program name with args.
   7225 set dummy otool64; ac_word=$2
   7226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7227 $as_echo_n "checking for $ac_word... " >&6; }
   7228 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   7229   $as_echo_n "(cached) " >&6
   7230 else
   7231   if test -n "$ac_ct_OTOOL64"; then
   7232   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7233 else
   7234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7235 for as_dir in $PATH
   7236 do
   7237   IFS=$as_save_IFS
   7238   test -z "$as_dir" && as_dir=.
   7239     for ac_exec_ext in '' $ac_executable_extensions; do
   7240   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7241     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7242     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7243     break 2
   7244   fi
   7245 done
   7246   done
   7247 IFS=$as_save_IFS
   7248 
   7249 fi
   7250 fi
   7251 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7252 if test -n "$ac_ct_OTOOL64"; then
   7253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7254 $as_echo "$ac_ct_OTOOL64" >&6; }
   7255 else
   7256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7257 $as_echo "no" >&6; }
   7258 fi
   7259 
   7260   if test "x$ac_ct_OTOOL64" = x; then
   7261     OTOOL64=":"
   7262   else
   7263     case $cross_compiling:$ac_tool_warned in
   7264 yes:)
   7265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7266 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7267 ac_tool_warned=yes ;;
   7268 esac
   7269     OTOOL64=$ac_ct_OTOOL64
   7270   fi
   7271 else
   7272   OTOOL64="$ac_cv_prog_OTOOL64"
   7273 fi
   7274 
   7275 
   7276 
   7277 
   7278 
   7279 
   7280 
   7281 
   7282 
   7283 
   7284 
   7285 
   7286 
   7287 
   7288 
   7289 
   7290 
   7291 
   7292 
   7293 
   7294 
   7295 
   7296 
   7297 
   7298 
   7299 
   7300 
   7301     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7302 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7303 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7304   $as_echo_n "(cached) " >&6
   7305 else
   7306   lt_cv_apple_cc_single_mod=no
   7307       if test -z "$LT_MULTI_MODULE"; then
   7308 	# By default we will add the -single_module flag. You can override
   7309 	# by either setting the environment variable LT_MULTI_MODULE
   7310 	# non-empty at configure time, or by adding -multi_module to the
   7311 	# link flags.
   7312 	rm -rf libconftest.dylib*
   7313 	echo "int foo(void){return 1;}" > conftest.c
   7314 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7315 -dynamiclib -Wl,-single_module conftest.c" >&5
   7316 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7317 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7318         _lt_result=$?
   7319 	# If there is a non-empty error log, and "single_module"
   7320 	# appears in it, assume the flag caused a linker warning
   7321         if test -s conftest.err && $GREP single_module conftest.err; then
   7322 	  cat conftest.err >&5
   7323 	# Otherwise, if the output was created with a 0 exit code from
   7324 	# the compiler, it worked.
   7325 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   7326 	  lt_cv_apple_cc_single_mod=yes
   7327 	else
   7328 	  cat conftest.err >&5
   7329 	fi
   7330 	rm -rf libconftest.dylib*
   7331 	rm -f conftest.*
   7332       fi
   7333 fi
   7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7335 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7336 
   7337     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7338 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7339 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7340   $as_echo_n "(cached) " >&6
   7341 else
   7342   lt_cv_ld_exported_symbols_list=no
   7343       save_LDFLAGS=$LDFLAGS
   7344       echo "_main" > conftest.sym
   7345       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7346       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7347 /* end confdefs.h.  */
   7348 
   7349 int
   7350 main ()
   7351 {
   7352 
   7353   ;
   7354   return 0;
   7355 }
   7356 _ACEOF
   7357 if ac_fn_c_try_link "$LINENO"; then :
   7358   lt_cv_ld_exported_symbols_list=yes
   7359 else
   7360   lt_cv_ld_exported_symbols_list=no
   7361 fi
   7362 rm -f core conftest.err conftest.$ac_objext \
   7363     conftest$ac_exeext conftest.$ac_ext
   7364 	LDFLAGS=$save_LDFLAGS
   7365 
   7366 fi
   7367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7368 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7369 
   7370     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7371 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7372 if ${lt_cv_ld_force_load+:} false; then :
   7373   $as_echo_n "(cached) " >&6
   7374 else
   7375   lt_cv_ld_force_load=no
   7376       cat > conftest.c << _LT_EOF
   7377 int forced_loaded() { return 2;}
   7378 _LT_EOF
   7379       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7380       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7381       echo "$AR cru libconftest.a conftest.o" >&5
   7382       $AR cru libconftest.a conftest.o 2>&5
   7383       echo "$RANLIB libconftest.a" >&5
   7384       $RANLIB libconftest.a 2>&5
   7385       cat > conftest.c << _LT_EOF
   7386 int main() { return 0;}
   7387 _LT_EOF
   7388       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7389       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7390       _lt_result=$?
   7391       if test -s conftest.err && $GREP force_load conftest.err; then
   7392 	cat conftest.err >&5
   7393       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   7394 	lt_cv_ld_force_load=yes
   7395       else
   7396 	cat conftest.err >&5
   7397       fi
   7398         rm -f conftest.err libconftest.a conftest conftest.c
   7399         rm -rf conftest.dSYM
   7400 
   7401 fi
   7402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7403 $as_echo "$lt_cv_ld_force_load" >&6; }
   7404     case $host_os in
   7405     rhapsody* | darwin1.[012])
   7406       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   7407     darwin1.*)
   7408       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   7409     darwin*) # darwin 5.x on
   7410       # if running on 10.5 or later, the deployment target defaults
   7411       # to the OS version, if on x86, and 10.4, the deployment
   7412       # target defaults to 10.4. Don't you love it?
   7413       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7414 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7415 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   7416 	10.[012][,.]*)
   7417 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   7418 	10.*)
   7419 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   7420       esac
   7421     ;;
   7422   esac
   7423     if test yes = "$lt_cv_apple_cc_single_mod"; then
   7424       _lt_dar_single_mod='$single_module'
   7425     fi
   7426     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   7427       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   7428     else
   7429       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   7430     fi
   7431     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   7432       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7433     else
   7434       _lt_dsymutil=
   7435     fi
   7436     ;;
   7437   esac
   7438 
   7439 # func_munge_path_list VARIABLE PATH
   7440 # -----------------------------------
   7441 # VARIABLE is name of variable containing _space_ separated list of
   7442 # directories to be munged by the contents of PATH, which is string
   7443 # having a format:
   7444 # "DIR[:DIR]:"
   7445 #       string "DIR[ DIR]" will be prepended to VARIABLE
   7446 # ":DIR[:DIR]"
   7447 #       string "DIR[ DIR]" will be appended to VARIABLE
   7448 # "DIRP[:DIRP]::[DIRA:]DIRA"
   7449 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   7450 #       "DIRA[ DIRA]" will be appended to VARIABLE
   7451 # "DIR[:DIR]"
   7452 #       VARIABLE will be replaced by "DIR[ DIR]"
   7453 func_munge_path_list ()
   7454 {
   7455     case x$2 in
   7456     x)
   7457         ;;
   7458     *:)
   7459         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   7460         ;;
   7461     x:*)
   7462         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   7463         ;;
   7464     *::*)
   7465         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   7466         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   7467         ;;
   7468     *)
   7469         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   7470         ;;
   7471     esac
   7472 }
   7473 
   7474 ac_ext=c
   7475 ac_cpp='$CPP $CPPFLAGS'
   7476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7480 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7481 # On Suns, sometimes $CPP names a directory.
   7482 if test -n "$CPP" && test -d "$CPP"; then
   7483   CPP=
   7484 fi
   7485 if test -z "$CPP"; then
   7486   if ${ac_cv_prog_CPP+:} false; then :
   7487   $as_echo_n "(cached) " >&6
   7488 else
   7489       # Double quotes because CPP needs to be expanded
   7490     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7491     do
   7492       ac_preproc_ok=false
   7493 for ac_c_preproc_warn_flag in '' yes
   7494 do
   7495   # Use a header file that comes with gcc, so configuring glibc
   7496   # with a fresh cross-compiler works.
   7497   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7498   # <limits.h> exists even on freestanding compilers.
   7499   # On the NeXT, cc -E runs the code through the compiler's parser,
   7500   # not just through cpp. "Syntax error" is here to catch this case.
   7501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7502 /* end confdefs.h.  */
   7503 #ifdef __STDC__
   7504 # include <limits.h>
   7505 #else
   7506 # include <assert.h>
   7507 #endif
   7508 		     Syntax error
   7509 _ACEOF
   7510 if ac_fn_c_try_cpp "$LINENO"; then :
   7511 
   7512 else
   7513   # Broken: fails on valid input.
   7514 continue
   7515 fi
   7516 rm -f conftest.err conftest.i conftest.$ac_ext
   7517 
   7518   # OK, works on sane cases.  Now check whether nonexistent headers
   7519   # can be detected and how.
   7520   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7521 /* end confdefs.h.  */
   7522 #include <ac_nonexistent.h>
   7523 _ACEOF
   7524 if ac_fn_c_try_cpp "$LINENO"; then :
   7525   # Broken: success on invalid input.
   7526 continue
   7527 else
   7528   # Passes both tests.
   7529 ac_preproc_ok=:
   7530 break
   7531 fi
   7532 rm -f conftest.err conftest.i conftest.$ac_ext
   7533 
   7534 done
   7535 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7536 rm -f conftest.i conftest.err conftest.$ac_ext
   7537 if $ac_preproc_ok; then :
   7538   break
   7539 fi
   7540 
   7541     done
   7542     ac_cv_prog_CPP=$CPP
   7543 
   7544 fi
   7545   CPP=$ac_cv_prog_CPP
   7546 else
   7547   ac_cv_prog_CPP=$CPP
   7548 fi
   7549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7550 $as_echo "$CPP" >&6; }
   7551 ac_preproc_ok=false
   7552 for ac_c_preproc_warn_flag in '' yes
   7553 do
   7554   # Use a header file that comes with gcc, so configuring glibc
   7555   # with a fresh cross-compiler works.
   7556   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7557   # <limits.h> exists even on freestanding compilers.
   7558   # On the NeXT, cc -E runs the code through the compiler's parser,
   7559   # not just through cpp. "Syntax error" is here to catch this case.
   7560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7561 /* end confdefs.h.  */
   7562 #ifdef __STDC__
   7563 # include <limits.h>
   7564 #else
   7565 # include <assert.h>
   7566 #endif
   7567 		     Syntax error
   7568 _ACEOF
   7569 if ac_fn_c_try_cpp "$LINENO"; then :
   7570 
   7571 else
   7572   # Broken: fails on valid input.
   7573 continue
   7574 fi
   7575 rm -f conftest.err conftest.i conftest.$ac_ext
   7576 
   7577   # OK, works on sane cases.  Now check whether nonexistent headers
   7578   # can be detected and how.
   7579   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7580 /* end confdefs.h.  */
   7581 #include <ac_nonexistent.h>
   7582 _ACEOF
   7583 if ac_fn_c_try_cpp "$LINENO"; then :
   7584   # Broken: success on invalid input.
   7585 continue
   7586 else
   7587   # Passes both tests.
   7588 ac_preproc_ok=:
   7589 break
   7590 fi
   7591 rm -f conftest.err conftest.i conftest.$ac_ext
   7592 
   7593 done
   7594 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7595 rm -f conftest.i conftest.err conftest.$ac_ext
   7596 if $ac_preproc_ok; then :
   7597 
   7598 else
   7599   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7600 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7601 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7602 See \`config.log' for more details" "$LINENO" 5; }
   7603 fi
   7604 
   7605 ac_ext=c
   7606 ac_cpp='$CPP $CPPFLAGS'
   7607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7610 
   7611 
   7612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7613 $as_echo_n "checking for ANSI C header files... " >&6; }
   7614 if ${ac_cv_header_stdc+:} false; then :
   7615   $as_echo_n "(cached) " >&6
   7616 else
   7617   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7618 /* end confdefs.h.  */
   7619 #include <stdlib.h>
   7620 #include <stdarg.h>
   7621 #include <string.h>
   7622 #include <float.h>
   7623 
   7624 int
   7625 main ()
   7626 {
   7627 
   7628   ;
   7629   return 0;
   7630 }
   7631 _ACEOF
   7632 if ac_fn_c_try_compile "$LINENO"; then :
   7633   ac_cv_header_stdc=yes
   7634 else
   7635   ac_cv_header_stdc=no
   7636 fi
   7637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7638 
   7639 if test $ac_cv_header_stdc = yes; then
   7640   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7641   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7642 /* end confdefs.h.  */
   7643 #include <string.h>
   7644 
   7645 _ACEOF
   7646 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7647   $EGREP "memchr" >/dev/null 2>&1; then :
   7648 
   7649 else
   7650   ac_cv_header_stdc=no
   7651 fi
   7652 rm -f conftest*
   7653 
   7654 fi
   7655 
   7656 if test $ac_cv_header_stdc = yes; then
   7657   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7659 /* end confdefs.h.  */
   7660 #include <stdlib.h>
   7661 
   7662 _ACEOF
   7663 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7664   $EGREP "free" >/dev/null 2>&1; then :
   7665 
   7666 else
   7667   ac_cv_header_stdc=no
   7668 fi
   7669 rm -f conftest*
   7670 
   7671 fi
   7672 
   7673 if test $ac_cv_header_stdc = yes; then
   7674   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7675   if test "$cross_compiling" = yes; then :
   7676   :
   7677 else
   7678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7679 /* end confdefs.h.  */
   7680 #include <ctype.h>
   7681 #include <stdlib.h>
   7682 #if ((' ' & 0x0FF) == 0x020)
   7683 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7684 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7685 #else
   7686 # define ISLOWER(c) \
   7687 		   (('a' <= (c) && (c) <= 'i') \
   7688 		     || ('j' <= (c) && (c) <= 'r') \
   7689 		     || ('s' <= (c) && (c) <= 'z'))
   7690 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7691 #endif
   7692 
   7693 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7694 int
   7695 main ()
   7696 {
   7697   int i;
   7698   for (i = 0; i < 256; i++)
   7699     if (XOR (islower (i), ISLOWER (i))
   7700 	|| toupper (i) != TOUPPER (i))
   7701       return 2;
   7702   return 0;
   7703 }
   7704 _ACEOF
   7705 if ac_fn_c_try_run "$LINENO"; then :
   7706 
   7707 else
   7708   ac_cv_header_stdc=no
   7709 fi
   7710 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7711   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7712 fi
   7713 
   7714 fi
   7715 fi
   7716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7717 $as_echo "$ac_cv_header_stdc" >&6; }
   7718 if test $ac_cv_header_stdc = yes; then
   7719 
   7720 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7721 
   7722 fi
   7723 
   7724 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7725 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7726 		  inttypes.h stdint.h unistd.h
   7727 do :
   7728   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7729 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7730 "
   7731 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7732   cat >>confdefs.h <<_ACEOF
   7733 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7734 _ACEOF
   7735 
   7736 fi
   7737 
   7738 done
   7739 
   7740 
   7741 for ac_header in dlfcn.h
   7742 do :
   7743   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7744 "
   7745 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7746   cat >>confdefs.h <<_ACEOF
   7747 #define HAVE_DLFCN_H 1
   7748 _ACEOF
   7749 
   7750 fi
   7751 
   7752 done
   7753 
   7754 
   7755 
   7756 
   7757 
   7758 # Set options
   7759 
   7760 
   7761 
   7762         enable_dlopen=no
   7763 
   7764 
   7765   enable_win32_dll=no
   7766 
   7767 
   7768             # Check whether --enable-shared was given.
   7769 if test "${enable_shared+set}" = set; then :
   7770   enableval=$enable_shared; p=${PACKAGE-default}
   7771     case $enableval in
   7772     yes) enable_shared=yes ;;
   7773     no) enable_shared=no ;;
   7774     *)
   7775       enable_shared=no
   7776       # Look at the argument we got.  We use all the common list separators.
   7777       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   7778       for pkg in $enableval; do
   7779 	IFS=$lt_save_ifs
   7780 	if test "X$pkg" = "X$p"; then
   7781 	  enable_shared=yes
   7782 	fi
   7783       done
   7784       IFS=$lt_save_ifs
   7785       ;;
   7786     esac
   7787 else
   7788   enable_shared=yes
   7789 fi
   7790 
   7791 
   7792 
   7793 
   7794 
   7795 
   7796 
   7797 
   7798 
   7799   # Check whether --enable-static was given.
   7800 if test "${enable_static+set}" = set; then :
   7801   enableval=$enable_static; p=${PACKAGE-default}
   7802     case $enableval in
   7803     yes) enable_static=yes ;;
   7804     no) enable_static=no ;;
   7805     *)
   7806      enable_static=no
   7807       # Look at the argument we got.  We use all the common list separators.
   7808       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   7809       for pkg in $enableval; do
   7810 	IFS=$lt_save_ifs
   7811 	if test "X$pkg" = "X$p"; then
   7812 	  enable_static=yes
   7813 	fi
   7814       done
   7815       IFS=$lt_save_ifs
   7816       ;;
   7817     esac
   7818 else
   7819   enable_static=yes
   7820 fi
   7821 
   7822 
   7823 
   7824 
   7825 
   7826 
   7827 
   7828 
   7829 
   7830 
   7831 # Check whether --with-pic was given.
   7832 if test "${with_pic+set}" = set; then :
   7833   withval=$with_pic; lt_p=${PACKAGE-default}
   7834     case $withval in
   7835     yes|no) pic_mode=$withval ;;
   7836     *)
   7837       pic_mode=default
   7838       # Look at the argument we got.  We use all the common list separators.
   7839       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   7840       for lt_pkg in $withval; do
   7841 	IFS=$lt_save_ifs
   7842 	if test "X$lt_pkg" = "X$lt_p"; then
   7843 	  pic_mode=yes
   7844 	fi
   7845       done
   7846       IFS=$lt_save_ifs
   7847       ;;
   7848     esac
   7849 else
   7850   pic_mode=default
   7851 fi
   7852 
   7853 
   7854 
   7855 
   7856 
   7857 
   7858 
   7859 
   7860   # Check whether --enable-fast-install was given.
   7861 if test "${enable_fast_install+set}" = set; then :
   7862   enableval=$enable_fast_install; p=${PACKAGE-default}
   7863     case $enableval in
   7864     yes) enable_fast_install=yes ;;
   7865     no) enable_fast_install=no ;;
   7866     *)
   7867       enable_fast_install=no
   7868       # Look at the argument we got.  We use all the common list separators.
   7869       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   7870       for pkg in $enableval; do
   7871 	IFS=$lt_save_ifs
   7872 	if test "X$pkg" = "X$p"; then
   7873 	  enable_fast_install=yes
   7874 	fi
   7875       done
   7876       IFS=$lt_save_ifs
   7877       ;;
   7878     esac
   7879 else
   7880   enable_fast_install=yes
   7881 fi
   7882 
   7883 
   7884 
   7885 
   7886 
   7887 
   7888 
   7889 
   7890   shared_archive_member_spec=
   7891 case $host,$enable_shared in
   7892 power*-*-aix[5-9]*,yes)
   7893   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   7894 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
   7895 
   7896 # Check whether --with-aix-soname was given.
   7897 if test "${with_aix_soname+set}" = set; then :
   7898   withval=$with_aix_soname; case $withval in
   7899     aix|svr4|both)
   7900       ;;
   7901     *)
   7902       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   7903       ;;
   7904     esac
   7905     lt_cv_with_aix_soname=$with_aix_soname
   7906 else
   7907   if ${lt_cv_with_aix_soname+:} false; then :
   7908   $as_echo_n "(cached) " >&6
   7909 else
   7910   lt_cv_with_aix_soname=aix
   7911 fi
   7912 
   7913     with_aix_soname=$lt_cv_with_aix_soname
   7914 fi
   7915 
   7916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   7917 $as_echo "$with_aix_soname" >&6; }
   7918   if test aix != "$with_aix_soname"; then
   7919     # For the AIX way of multilib, we name the shared archive member
   7920     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   7921     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   7922     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   7923     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   7924     if test 64 = "${OBJECT_MODE-32}"; then
   7925       shared_archive_member_spec=shr_64
   7926     else
   7927       shared_archive_member_spec=shr
   7928     fi
   7929   fi
   7930   ;;
   7931 *)
   7932   with_aix_soname=aix
   7933   ;;
   7934 esac
   7935 
   7936 
   7937 
   7938 
   7939 
   7940 
   7941 
   7942 
   7943 
   7944 
   7945 # This can be used to rebuild libtool when needed
   7946 LIBTOOL_DEPS=$ltmain
   7947 
   7948 # Always use our own libtool.
   7949 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7950 
   7951 
   7952 
   7953 
   7954 
   7955 
   7956 
   7957 
   7958 
   7959 
   7960 
   7961 
   7962 
   7963 
   7964 
   7965 
   7966 
   7967 
   7968 
   7969 
   7970 
   7971 
   7972 
   7973 
   7974 
   7975 
   7976 
   7977 
   7978 
   7979 
   7980 test -z "$LN_S" && LN_S="ln -s"
   7981 
   7982 
   7983 
   7984 
   7985 
   7986 
   7987 
   7988 
   7989 
   7990 
   7991 
   7992 
   7993 
   7994 
   7995 if test -n "${ZSH_VERSION+set}"; then
   7996    setopt NO_GLOB_SUBST
   7997 fi
   7998 
   7999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8000 $as_echo_n "checking for objdir... " >&6; }
   8001 if ${lt_cv_objdir+:} false; then :
   8002   $as_echo_n "(cached) " >&6
   8003 else
   8004   rm -f .libs 2>/dev/null
   8005 mkdir .libs 2>/dev/null
   8006 if test -d .libs; then
   8007   lt_cv_objdir=.libs
   8008 else
   8009   # MS-DOS does not allow filenames that begin with a dot.
   8010   lt_cv_objdir=_libs
   8011 fi
   8012 rmdir .libs 2>/dev/null
   8013 fi
   8014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8015 $as_echo "$lt_cv_objdir" >&6; }
   8016 objdir=$lt_cv_objdir
   8017 
   8018 
   8019 
   8020 
   8021 
   8022 cat >>confdefs.h <<_ACEOF
   8023 #define LT_OBJDIR "$lt_cv_objdir/"
   8024 _ACEOF
   8025 
   8026 
   8027 
   8028 
   8029 case $host_os in
   8030 aix3*)
   8031   # AIX sometimes has problems with the GCC collect2 program.  For some
   8032   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8033   # vanish in a puff of smoke.
   8034   if test set != "${COLLECT_NAMES+set}"; then
   8035     COLLECT_NAMES=
   8036     export COLLECT_NAMES
   8037   fi
   8038   ;;
   8039 esac
   8040 
   8041 # Global variables:
   8042 ofile=libtool
   8043 can_build_shared=yes
   8044 
   8045 # All known linkers require a '.a' archive for static linking (except MSVC,
   8046 # which needs '.lib').
   8047 libext=a
   8048 
   8049 with_gnu_ld=$lt_cv_prog_gnu_ld
   8050 
   8051 old_CC=$CC
   8052 old_CFLAGS=$CFLAGS
   8053 
   8054 # Set sane defaults for various variables
   8055 test -z "$CC" && CC=cc
   8056 test -z "$LTCC" && LTCC=$CC
   8057 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8058 test -z "$LD" && LD=ld
   8059 test -z "$ac_objext" && ac_objext=o
   8060 
   8061 func_cc_basename $compiler
   8062 cc_basename=$func_cc_basename_result
   8063 
   8064 
   8065 # Only perform the check for file, if the check method requires it
   8066 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8067 case $deplibs_check_method in
   8068 file_magic*)
   8069   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8070     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8071 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   8072 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8073   $as_echo_n "(cached) " >&6
   8074 else
   8075   case $MAGIC_CMD in
   8076 [\\/*] |  ?:[\\/]*)
   8077   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8078   ;;
   8079 *)
   8080   lt_save_MAGIC_CMD=$MAGIC_CMD
   8081   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8082   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8083   for ac_dir in $ac_dummy; do
   8084     IFS=$lt_save_ifs
   8085     test -z "$ac_dir" && ac_dir=.
   8086     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   8087       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   8088       if test -n "$file_magic_test_file"; then
   8089 	case $deplibs_check_method in
   8090 	"file_magic "*)
   8091 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8092 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8093 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8094 	    $EGREP "$file_magic_regex" > /dev/null; then
   8095 	    :
   8096 	  else
   8097 	    cat <<_LT_EOF 1>&2
   8098 
   8099 *** Warning: the command libtool uses to detect shared libraries,
   8100 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8101 *** The result is that libtool may fail to recognize shared libraries
   8102 *** as such.  This will affect the creation of libtool libraries that
   8103 *** depend on shared libraries, but programs linked with such libtool
   8104 *** libraries will work regardless of this problem.  Nevertheless, you
   8105 *** may want to report the problem to your system manager and/or to
   8106 *** bug-libtool (at] gnu.org
   8107 
   8108 _LT_EOF
   8109 	  fi ;;
   8110 	esac
   8111       fi
   8112       break
   8113     fi
   8114   done
   8115   IFS=$lt_save_ifs
   8116   MAGIC_CMD=$lt_save_MAGIC_CMD
   8117   ;;
   8118 esac
   8119 fi
   8120 
   8121 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8122 if test -n "$MAGIC_CMD"; then
   8123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8124 $as_echo "$MAGIC_CMD" >&6; }
   8125 else
   8126   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8127 $as_echo "no" >&6; }
   8128 fi
   8129 
   8130 
   8131 
   8132 
   8133 
   8134 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8135   if test -n "$ac_tool_prefix"; then
   8136     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8137 $as_echo_n "checking for file... " >&6; }
   8138 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8139   $as_echo_n "(cached) " >&6
   8140 else
   8141   case $MAGIC_CMD in
   8142 [\\/*] |  ?:[\\/]*)
   8143   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8144   ;;
   8145 *)
   8146   lt_save_MAGIC_CMD=$MAGIC_CMD
   8147   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8148   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8149   for ac_dir in $ac_dummy; do
   8150     IFS=$lt_save_ifs
   8151     test -z "$ac_dir" && ac_dir=.
   8152     if test -f "$ac_dir/file"; then
   8153       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   8154       if test -n "$file_magic_test_file"; then
   8155 	case $deplibs_check_method in
   8156 	"file_magic "*)
   8157 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8158 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8159 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8160 	    $EGREP "$file_magic_regex" > /dev/null; then
   8161 	    :
   8162 	  else
   8163 	    cat <<_LT_EOF 1>&2
   8164 
   8165 *** Warning: the command libtool uses to detect shared libraries,
   8166 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8167 *** The result is that libtool may fail to recognize shared libraries
   8168 *** as such.  This will affect the creation of libtool libraries that
   8169 *** depend on shared libraries, but programs linked with such libtool
   8170 *** libraries will work regardless of this problem.  Nevertheless, you
   8171 *** may want to report the problem to your system manager and/or to
   8172 *** bug-libtool (at] gnu.org
   8173 
   8174 _LT_EOF
   8175 	  fi ;;
   8176 	esac
   8177       fi
   8178       break
   8179     fi
   8180   done
   8181   IFS=$lt_save_ifs
   8182   MAGIC_CMD=$lt_save_MAGIC_CMD
   8183   ;;
   8184 esac
   8185 fi
   8186 
   8187 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8188 if test -n "$MAGIC_CMD"; then
   8189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8190 $as_echo "$MAGIC_CMD" >&6; }
   8191 else
   8192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8193 $as_echo "no" >&6; }
   8194 fi
   8195 
   8196 
   8197   else
   8198     MAGIC_CMD=:
   8199   fi
   8200 fi
   8201 
   8202   fi
   8203   ;;
   8204 esac
   8205 
   8206 # Use C for the default configuration in the libtool script
   8207 
   8208 lt_save_CC=$CC
   8209 ac_ext=c
   8210 ac_cpp='$CPP $CPPFLAGS'
   8211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8214 
   8215 
   8216 # Source file extension for C test sources.
   8217 ac_ext=c
   8218 
   8219 # Object file extension for compiled C test sources.
   8220 objext=o
   8221 objext=$objext
   8222 
   8223 # Code to be used in simple compile tests
   8224 lt_simple_compile_test_code="int some_variable = 0;"
   8225 
   8226 # Code to be used in simple link tests
   8227 lt_simple_link_test_code='int main(){return(0);}'
   8228 
   8229 
   8230 
   8231 
   8232 
   8233 
   8234 
   8235 # If no C compiler was specified, use CC.
   8236 LTCC=${LTCC-"$CC"}
   8237 
   8238 # If no C compiler flags were specified, use CFLAGS.
   8239 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8240 
   8241 # Allow CC to be a program name with arguments.
   8242 compiler=$CC
   8243 
   8244 # Save the default compiler, since it gets overwritten when the other
   8245 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8246 compiler_DEFAULT=$CC
   8247 
   8248 # save warnings/boilerplate of simple test code
   8249 ac_outfile=conftest.$ac_objext
   8250 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8251 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8252 _lt_compiler_boilerplate=`cat conftest.err`
   8253 $RM conftest*
   8254 
   8255 ac_outfile=conftest.$ac_objext
   8256 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8257 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8258 _lt_linker_boilerplate=`cat conftest.err`
   8259 $RM -r conftest*
   8260 
   8261 
   8262 ## CAVEAT EMPTOR:
   8263 ## There is no encapsulation within the following macros, do not change
   8264 ## the running order or otherwise move them around unless you know exactly
   8265 ## what you are doing...
   8266 if test -n "$compiler"; then
   8267 
   8268 lt_prog_compiler_no_builtin_flag=
   8269 
   8270 if test yes = "$GCC"; then
   8271   case $cc_basename in
   8272   nvcc*)
   8273     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8274   *)
   8275     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8276   esac
   8277 
   8278   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8279 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8280 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8281   $as_echo_n "(cached) " >&6
   8282 else
   8283   lt_cv_prog_compiler_rtti_exceptions=no
   8284    ac_outfile=conftest.$ac_objext
   8285    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8286    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   8287    # Insert the option either (1) after the last *FLAGS variable, or
   8288    # (2) before a word containing "conftest.", or (3) at the end.
   8289    # Note that $ac_compile itself does not contain backslashes and begins
   8290    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8291    # The option is referenced via a variable to avoid confusing sed.
   8292    lt_compile=`echo "$ac_compile" | $SED \
   8293    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8294    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8295    -e 's:$: $lt_compiler_flag:'`
   8296    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8297    (eval "$lt_compile" 2>conftest.err)
   8298    ac_status=$?
   8299    cat conftest.err >&5
   8300    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8301    if (exit $ac_status) && test -s "$ac_outfile"; then
   8302      # The compiler can only warn and ignore the option if not recognized
   8303      # So say no if there are warnings other than the usual output.
   8304      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8305      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8306      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8307        lt_cv_prog_compiler_rtti_exceptions=yes
   8308      fi
   8309    fi
   8310    $RM conftest*
   8311 
   8312 fi
   8313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8314 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8315 
   8316 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   8317     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8318 else
   8319     :
   8320 fi
   8321 
   8322 fi
   8323 
   8324 
   8325 
   8326 
   8327 
   8328 
   8329   lt_prog_compiler_wl=
   8330 lt_prog_compiler_pic=
   8331 lt_prog_compiler_static=
   8332 
   8333 
   8334   if test yes = "$GCC"; then
   8335     lt_prog_compiler_wl='-Wl,'
   8336     lt_prog_compiler_static='-static'
   8337 
   8338     case $host_os in
   8339       aix*)
   8340       # All AIX code is PIC.
   8341       if test ia64 = "$host_cpu"; then
   8342 	# AIX 5 now supports IA64 processor
   8343 	lt_prog_compiler_static='-Bstatic'
   8344       fi
   8345       lt_prog_compiler_pic='-fPIC'
   8346       ;;
   8347 
   8348     amigaos*)
   8349       case $host_cpu in
   8350       powerpc)
   8351             # see comment about AmigaOS4 .so support
   8352             lt_prog_compiler_pic='-fPIC'
   8353         ;;
   8354       m68k)
   8355             # FIXME: we need at least 68020 code to build shared libraries, but
   8356             # adding the '-m68020' flag to GCC prevents building anything better,
   8357             # like '-m68040'.
   8358             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8359         ;;
   8360       esac
   8361       ;;
   8362 
   8363     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8364       # PIC is the default for these OSes.
   8365       ;;
   8366 
   8367     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8368       # This hack is so that the source file can tell whether it is being
   8369       # built for inclusion in a dll (and should export symbols for example).
   8370       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8371       # (--disable-auto-import) libraries
   8372       lt_prog_compiler_pic='-DDLL_EXPORT'
   8373       case $host_os in
   8374       os2*)
   8375 	lt_prog_compiler_static='$wl-static'
   8376 	;;
   8377       esac
   8378       ;;
   8379 
   8380     darwin* | rhapsody*)
   8381       # PIC is the default on this platform
   8382       # Common symbols not allowed in MH_DYLIB files
   8383       lt_prog_compiler_pic='-fno-common'
   8384       ;;
   8385 
   8386     haiku*)
   8387       # PIC is the default for Haiku.
   8388       # The "-static" flag exists, but is broken.
   8389       lt_prog_compiler_static=
   8390       ;;
   8391 
   8392     hpux*)
   8393       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8394       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8395       # sets the default TLS model and affects inlining.
   8396       case $host_cpu in
   8397       hppa*64*)
   8398 	# +Z the default
   8399 	;;
   8400       *)
   8401 	lt_prog_compiler_pic='-fPIC'
   8402 	;;
   8403       esac
   8404       ;;
   8405 
   8406     interix[3-9]*)
   8407       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8408       # Instead, we relocate shared libraries at runtime.
   8409       ;;
   8410 
   8411     msdosdjgpp*)
   8412       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8413       # on systems that don't support them.
   8414       lt_prog_compiler_can_build_shared=no
   8415       enable_shared=no
   8416       ;;
   8417 
   8418     *nto* | *qnx*)
   8419       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8420       # it will coredump.
   8421       lt_prog_compiler_pic='-fPIC -shared'
   8422       ;;
   8423 
   8424     sysv4*MP*)
   8425       if test -d /usr/nec; then
   8426 	lt_prog_compiler_pic=-Kconform_pic
   8427       fi
   8428       ;;
   8429 
   8430     *)
   8431       lt_prog_compiler_pic='-fPIC'
   8432       ;;
   8433     esac
   8434 
   8435     case $cc_basename in
   8436     nvcc*) # Cuda Compiler Driver 2.2
   8437       lt_prog_compiler_wl='-Xlinker '
   8438       if test -n "$lt_prog_compiler_pic"; then
   8439         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   8440       fi
   8441       ;;
   8442     esac
   8443   else
   8444     # PORTME Check for flag to pass linker flags through the system compiler.
   8445     case $host_os in
   8446     aix*)
   8447       lt_prog_compiler_wl='-Wl,'
   8448       if test ia64 = "$host_cpu"; then
   8449 	# AIX 5 now supports IA64 processor
   8450 	lt_prog_compiler_static='-Bstatic'
   8451       else
   8452 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8453       fi
   8454       ;;
   8455 
   8456     darwin* | rhapsody*)
   8457       # PIC is the default on this platform
   8458       # Common symbols not allowed in MH_DYLIB files
   8459       lt_prog_compiler_pic='-fno-common'
   8460       case $cc_basename in
   8461       nagfor*)
   8462         # NAG Fortran compiler
   8463         lt_prog_compiler_wl='-Wl,-Wl,,'
   8464         lt_prog_compiler_pic='-PIC'
   8465         lt_prog_compiler_static='-Bstatic'
   8466         ;;
   8467       esac
   8468       ;;
   8469 
   8470     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8471       # This hack is so that the source file can tell whether it is being
   8472       # built for inclusion in a dll (and should export symbols for example).
   8473       lt_prog_compiler_pic='-DDLL_EXPORT'
   8474       case $host_os in
   8475       os2*)
   8476 	lt_prog_compiler_static='$wl-static'
   8477 	;;
   8478       esac
   8479       ;;
   8480 
   8481     hpux9* | hpux10* | hpux11*)
   8482       lt_prog_compiler_wl='-Wl,'
   8483       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8484       # not for PA HP-UX.
   8485       case $host_cpu in
   8486       hppa*64*|ia64*)
   8487 	# +Z the default
   8488 	;;
   8489       *)
   8490 	lt_prog_compiler_pic='+Z'
   8491 	;;
   8492       esac
   8493       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8494       lt_prog_compiler_static='$wl-a ${wl}archive'
   8495       ;;
   8496 
   8497     irix5* | irix6* | nonstopux*)
   8498       lt_prog_compiler_wl='-Wl,'
   8499       # PIC (with -KPIC) is the default.
   8500       lt_prog_compiler_static='-non_shared'
   8501       ;;
   8502 
   8503     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   8504       case $cc_basename in
   8505       # old Intel for x86_64, which still supported -KPIC.
   8506       ecc*)
   8507 	lt_prog_compiler_wl='-Wl,'
   8508 	lt_prog_compiler_pic='-KPIC'
   8509 	lt_prog_compiler_static='-static'
   8510         ;;
   8511       # icc used to be incompatible with GCC.
   8512       # ICC 10 doesn't accept -KPIC any more.
   8513       icc* | ifort*)
   8514 	lt_prog_compiler_wl='-Wl,'
   8515 	lt_prog_compiler_pic='-fPIC'
   8516 	lt_prog_compiler_static='-static'
   8517         ;;
   8518       # Lahey Fortran 8.1.
   8519       lf95*)
   8520 	lt_prog_compiler_wl='-Wl,'
   8521 	lt_prog_compiler_pic='--shared'
   8522 	lt_prog_compiler_static='--static'
   8523 	;;
   8524       nagfor*)
   8525 	# NAG Fortran compiler
   8526 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8527 	lt_prog_compiler_pic='-PIC'
   8528 	lt_prog_compiler_static='-Bstatic'
   8529 	;;
   8530       tcc*)
   8531 	# Fabrice Bellard et al's Tiny C Compiler
   8532 	lt_prog_compiler_wl='-Wl,'
   8533 	lt_prog_compiler_pic='-fPIC'
   8534 	lt_prog_compiler_static='-static'
   8535 	;;
   8536       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8537         # Portland Group compilers (*not* the Pentium gcc compiler,
   8538 	# which looks to be a dead project)
   8539 	lt_prog_compiler_wl='-Wl,'
   8540 	lt_prog_compiler_pic='-fpic'
   8541 	lt_prog_compiler_static='-Bstatic'
   8542         ;;
   8543       ccc*)
   8544         lt_prog_compiler_wl='-Wl,'
   8545         # All Alpha code is PIC.
   8546         lt_prog_compiler_static='-non_shared'
   8547         ;;
   8548       xl* | bgxl* | bgf* | mpixl*)
   8549 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8550 	lt_prog_compiler_wl='-Wl,'
   8551 	lt_prog_compiler_pic='-qpic'
   8552 	lt_prog_compiler_static='-qstaticlink'
   8553 	;;
   8554       *)
   8555 	case `$CC -V 2>&1 | sed 5q` in
   8556 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8557 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8558 	  lt_prog_compiler_pic='-KPIC'
   8559 	  lt_prog_compiler_static='-Bstatic'
   8560 	  lt_prog_compiler_wl=''
   8561 	  ;;
   8562 	*Sun\ F* | *Sun*Fortran*)
   8563 	  lt_prog_compiler_pic='-KPIC'
   8564 	  lt_prog_compiler_static='-Bstatic'
   8565 	  lt_prog_compiler_wl='-Qoption ld '
   8566 	  ;;
   8567 	*Sun\ C*)
   8568 	  # Sun C 5.9
   8569 	  lt_prog_compiler_pic='-KPIC'
   8570 	  lt_prog_compiler_static='-Bstatic'
   8571 	  lt_prog_compiler_wl='-Wl,'
   8572 	  ;;
   8573         *Intel*\ [CF]*Compiler*)
   8574 	  lt_prog_compiler_wl='-Wl,'
   8575 	  lt_prog_compiler_pic='-fPIC'
   8576 	  lt_prog_compiler_static='-static'
   8577 	  ;;
   8578 	*Portland\ Group*)
   8579 	  lt_prog_compiler_wl='-Wl,'
   8580 	  lt_prog_compiler_pic='-fpic'
   8581 	  lt_prog_compiler_static='-Bstatic'
   8582 	  ;;
   8583 	esac
   8584 	;;
   8585       esac
   8586       ;;
   8587 
   8588     newsos6)
   8589       lt_prog_compiler_pic='-KPIC'
   8590       lt_prog_compiler_static='-Bstatic'
   8591       ;;
   8592 
   8593     *nto* | *qnx*)
   8594       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8595       # it will coredump.
   8596       lt_prog_compiler_pic='-fPIC -shared'
   8597       ;;
   8598 
   8599     osf3* | osf4* | osf5*)
   8600       lt_prog_compiler_wl='-Wl,'
   8601       # All OSF/1 code is PIC.
   8602       lt_prog_compiler_static='-non_shared'
   8603       ;;
   8604 
   8605     rdos*)
   8606       lt_prog_compiler_static='-non_shared'
   8607       ;;
   8608 
   8609     solaris*)
   8610       lt_prog_compiler_pic='-KPIC'
   8611       lt_prog_compiler_static='-Bstatic'
   8612       case $cc_basename in
   8613       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8614 	lt_prog_compiler_wl='-Qoption ld ';;
   8615       *)
   8616 	lt_prog_compiler_wl='-Wl,';;
   8617       esac
   8618       ;;
   8619 
   8620     sunos4*)
   8621       lt_prog_compiler_wl='-Qoption ld '
   8622       lt_prog_compiler_pic='-PIC'
   8623       lt_prog_compiler_static='-Bstatic'
   8624       ;;
   8625 
   8626     sysv4 | sysv4.2uw2* | sysv4.3*)
   8627       lt_prog_compiler_wl='-Wl,'
   8628       lt_prog_compiler_pic='-KPIC'
   8629       lt_prog_compiler_static='-Bstatic'
   8630       ;;
   8631 
   8632     sysv4*MP*)
   8633       if test -d /usr/nec; then
   8634 	lt_prog_compiler_pic='-Kconform_pic'
   8635 	lt_prog_compiler_static='-Bstatic'
   8636       fi
   8637       ;;
   8638 
   8639     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8640       lt_prog_compiler_wl='-Wl,'
   8641       lt_prog_compiler_pic='-KPIC'
   8642       lt_prog_compiler_static='-Bstatic'
   8643       ;;
   8644 
   8645     unicos*)
   8646       lt_prog_compiler_wl='-Wl,'
   8647       lt_prog_compiler_can_build_shared=no
   8648       ;;
   8649 
   8650     uts4*)
   8651       lt_prog_compiler_pic='-pic'
   8652       lt_prog_compiler_static='-Bstatic'
   8653       ;;
   8654 
   8655     *)
   8656       lt_prog_compiler_can_build_shared=no
   8657       ;;
   8658     esac
   8659   fi
   8660 
   8661 case $host_os in
   8662   # For platforms that do not support PIC, -DPIC is meaningless:
   8663   *djgpp*)
   8664     lt_prog_compiler_pic=
   8665     ;;
   8666   *)
   8667     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8668     ;;
   8669 esac
   8670 
   8671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8672 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8673 if ${lt_cv_prog_compiler_pic+:} false; then :
   8674   $as_echo_n "(cached) " >&6
   8675 else
   8676   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8677 fi
   8678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8679 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8680 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8681 
   8682 #
   8683 # Check to make sure the PIC flag actually works.
   8684 #
   8685 if test -n "$lt_prog_compiler_pic"; then
   8686   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8687 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8688 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8689   $as_echo_n "(cached) " >&6
   8690 else
   8691   lt_cv_prog_compiler_pic_works=no
   8692    ac_outfile=conftest.$ac_objext
   8693    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8694    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   8695    # Insert the option either (1) after the last *FLAGS variable, or
   8696    # (2) before a word containing "conftest.", or (3) at the end.
   8697    # Note that $ac_compile itself does not contain backslashes and begins
   8698    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8699    # The option is referenced via a variable to avoid confusing sed.
   8700    lt_compile=`echo "$ac_compile" | $SED \
   8701    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8702    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8703    -e 's:$: $lt_compiler_flag:'`
   8704    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8705    (eval "$lt_compile" 2>conftest.err)
   8706    ac_status=$?
   8707    cat conftest.err >&5
   8708    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8709    if (exit $ac_status) && test -s "$ac_outfile"; then
   8710      # The compiler can only warn and ignore the option if not recognized
   8711      # So say no if there are warnings other than the usual output.
   8712      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8713      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8714      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8715        lt_cv_prog_compiler_pic_works=yes
   8716      fi
   8717    fi
   8718    $RM conftest*
   8719 
   8720 fi
   8721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8722 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8723 
   8724 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   8725     case $lt_prog_compiler_pic in
   8726      "" | " "*) ;;
   8727      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8728      esac
   8729 else
   8730     lt_prog_compiler_pic=
   8731      lt_prog_compiler_can_build_shared=no
   8732 fi
   8733 
   8734 fi
   8735 
   8736 
   8737 
   8738 
   8739 
   8740 
   8741 
   8742 
   8743 
   8744 
   8745 
   8746 #
   8747 # Check to make sure the static flag actually works.
   8748 #
   8749 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8751 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8752 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8753   $as_echo_n "(cached) " >&6
   8754 else
   8755   lt_cv_prog_compiler_static_works=no
   8756    save_LDFLAGS=$LDFLAGS
   8757    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8758    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8759    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8760      # The linker can only warn and ignore the option if not recognized
   8761      # So say no if there are warnings
   8762      if test -s conftest.err; then
   8763        # Append any errors to the config.log.
   8764        cat conftest.err 1>&5
   8765        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8766        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8767        if diff conftest.exp conftest.er2 >/dev/null; then
   8768          lt_cv_prog_compiler_static_works=yes
   8769        fi
   8770      else
   8771        lt_cv_prog_compiler_static_works=yes
   8772      fi
   8773    fi
   8774    $RM -r conftest*
   8775    LDFLAGS=$save_LDFLAGS
   8776 
   8777 fi
   8778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8779 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8780 
   8781 if test yes = "$lt_cv_prog_compiler_static_works"; then
   8782     :
   8783 else
   8784     lt_prog_compiler_static=
   8785 fi
   8786 
   8787 
   8788 
   8789 
   8790 
   8791 
   8792 
   8793   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8794 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8795 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8796   $as_echo_n "(cached) " >&6
   8797 else
   8798   lt_cv_prog_compiler_c_o=no
   8799    $RM -r conftest 2>/dev/null
   8800    mkdir conftest
   8801    cd conftest
   8802    mkdir out
   8803    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8804 
   8805    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8806    # Insert the option either (1) after the last *FLAGS variable, or
   8807    # (2) before a word containing "conftest.", or (3) at the end.
   8808    # Note that $ac_compile itself does not contain backslashes and begins
   8809    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8810    lt_compile=`echo "$ac_compile" | $SED \
   8811    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8812    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8813    -e 's:$: $lt_compiler_flag:'`
   8814    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8815    (eval "$lt_compile" 2>out/conftest.err)
   8816    ac_status=$?
   8817    cat out/conftest.err >&5
   8818    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8819    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8820    then
   8821      # The compiler can only warn and ignore the option if not recognized
   8822      # So say no if there are warnings
   8823      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8824      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8825      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8826        lt_cv_prog_compiler_c_o=yes
   8827      fi
   8828    fi
   8829    chmod u+w . 2>&5
   8830    $RM conftest*
   8831    # SGI C++ compiler will create directory out/ii_files/ for
   8832    # template instantiation
   8833    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8834    $RM out/* && rmdir out
   8835    cd ..
   8836    $RM -r conftest
   8837    $RM conftest*
   8838 
   8839 fi
   8840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8841 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8842 
   8843 
   8844 
   8845 
   8846 
   8847 
   8848   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8849 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8850 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8851   $as_echo_n "(cached) " >&6
   8852 else
   8853   lt_cv_prog_compiler_c_o=no
   8854    $RM -r conftest 2>/dev/null
   8855    mkdir conftest
   8856    cd conftest
   8857    mkdir out
   8858    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8859 
   8860    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8861    # Insert the option either (1) after the last *FLAGS variable, or
   8862    # (2) before a word containing "conftest.", or (3) at the end.
   8863    # Note that $ac_compile itself does not contain backslashes and begins
   8864    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8865    lt_compile=`echo "$ac_compile" | $SED \
   8866    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8867    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8868    -e 's:$: $lt_compiler_flag:'`
   8869    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8870    (eval "$lt_compile" 2>out/conftest.err)
   8871    ac_status=$?
   8872    cat out/conftest.err >&5
   8873    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8874    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8875    then
   8876      # The compiler can only warn and ignore the option if not recognized
   8877      # So say no if there are warnings
   8878      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8879      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8880      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8881        lt_cv_prog_compiler_c_o=yes
   8882      fi
   8883    fi
   8884    chmod u+w . 2>&5
   8885    $RM conftest*
   8886    # SGI C++ compiler will create directory out/ii_files/ for
   8887    # template instantiation
   8888    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8889    $RM out/* && rmdir out
   8890    cd ..
   8891    $RM -r conftest
   8892    $RM conftest*
   8893 
   8894 fi
   8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8896 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8897 
   8898 
   8899 
   8900 
   8901 hard_links=nottested
   8902 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   8903   # do not overwrite the value of need_locks provided by the user
   8904   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8905 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8906   hard_links=yes
   8907   $RM conftest*
   8908   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8909   touch conftest.a
   8910   ln conftest.a conftest.b 2>&5 || hard_links=no
   8911   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8913 $as_echo "$hard_links" >&6; }
   8914   if test no = "$hard_links"; then
   8915     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   8916 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   8917     need_locks=warn
   8918   fi
   8919 else
   8920   need_locks=no
   8921 fi
   8922 
   8923 
   8924 
   8925 
   8926 
   8927 
   8928   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8929 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8930 
   8931   runpath_var=
   8932   allow_undefined_flag=
   8933   always_export_symbols=no
   8934   archive_cmds=
   8935   archive_expsym_cmds=
   8936   compiler_needs_object=no
   8937   enable_shared_with_static_runtimes=no
   8938   export_dynamic_flag_spec=
   8939   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8940   hardcode_automatic=no
   8941   hardcode_direct=no
   8942   hardcode_direct_absolute=no
   8943   hardcode_libdir_flag_spec=
   8944   hardcode_libdir_separator=
   8945   hardcode_minus_L=no
   8946   hardcode_shlibpath_var=unsupported
   8947   inherit_rpath=no
   8948   link_all_deplibs=unknown
   8949   module_cmds=
   8950   module_expsym_cmds=
   8951   old_archive_from_new_cmds=
   8952   old_archive_from_expsyms_cmds=
   8953   thread_safe_flag_spec=
   8954   whole_archive_flag_spec=
   8955   # include_expsyms should be a list of space-separated symbols to be *always*
   8956   # included in the symbol list
   8957   include_expsyms=
   8958   # exclude_expsyms can be an extended regexp of symbols to exclude
   8959   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   8960   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   8961   # as well as any symbol that contains 'd'.
   8962   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8963   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8964   # platforms (ab)use it in PIC code, but their linkers get confused if
   8965   # the symbol is explicitly referenced.  Since portable code cannot
   8966   # rely on this symbol name, it's probably fine to never include it in
   8967   # preloaded symbol tables.
   8968   # Exclude shared library initialization/finalization symbols.
   8969   extract_expsyms_cmds=
   8970 
   8971   case $host_os in
   8972   cygwin* | mingw* | pw32* | cegcc*)
   8973     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8974     # When not using gcc, we currently assume that we are using
   8975     # Microsoft Visual C++.
   8976     if test yes != "$GCC"; then
   8977       with_gnu_ld=no
   8978     fi
   8979     ;;
   8980   interix*)
   8981     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8982     with_gnu_ld=yes
   8983     ;;
   8984   openbsd* | bitrig*)
   8985     with_gnu_ld=no
   8986     ;;
   8987   esac
   8988 
   8989   ld_shlibs=yes
   8990 
   8991   # On some targets, GNU ld is compatible enough with the native linker
   8992   # that we're better off using the native interface for both.
   8993   lt_use_gnu_ld_interface=no
   8994   if test yes = "$with_gnu_ld"; then
   8995     case $host_os in
   8996       aix*)
   8997 	# The AIX port of GNU ld has always aspired to compatibility
   8998 	# with the native linker.  However, as the warning in the GNU ld
   8999 	# block says, versions before 2.19.5* couldn't really create working
   9000 	# shared libraries, regardless of the interface used.
   9001 	case `$LD -v 2>&1` in
   9002 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9003 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9004 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9005 	  *)
   9006 	    lt_use_gnu_ld_interface=yes
   9007 	    ;;
   9008 	esac
   9009 	;;
   9010       *)
   9011 	lt_use_gnu_ld_interface=yes
   9012 	;;
   9013     esac
   9014   fi
   9015 
   9016   if test yes = "$lt_use_gnu_ld_interface"; then
   9017     # If archive_cmds runs LD, not CC, wlarc should be empty
   9018     wlarc='$wl'
   9019 
   9020     # Set some defaults for GNU ld with shared library support. These
   9021     # are reset later if shared libraries are not supported. Putting them
   9022     # here allows them to be overridden if necessary.
   9023     runpath_var=LD_RUN_PATH
   9024     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9025     export_dynamic_flag_spec='$wl--export-dynamic'
   9026     # ancient GNU ld didn't support --whole-archive et. al.
   9027     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9028       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   9029     else
   9030       whole_archive_flag_spec=
   9031     fi
   9032     supports_anon_versioning=no
   9033     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
   9034       *GNU\ gold*) supports_anon_versioning=yes ;;
   9035       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9036       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9037       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9038       *\ 2.11.*) ;; # other 2.11 versions
   9039       *) supports_anon_versioning=yes ;;
   9040     esac
   9041 
   9042     # See if GNU ld supports shared libraries.
   9043     case $host_os in
   9044     aix[3-9]*)
   9045       # On AIX/PPC, the GNU linker is very broken
   9046       if test ia64 != "$host_cpu"; then
   9047 	ld_shlibs=no
   9048 	cat <<_LT_EOF 1>&2
   9049 
   9050 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9051 *** to be unable to reliably create shared libraries on AIX.
   9052 *** Therefore, libtool is disabling shared libraries support.  If you
   9053 *** really care for shared libraries, you may want to install binutils
   9054 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9055 *** You will then need to restart the configuration process.
   9056 
   9057 _LT_EOF
   9058       fi
   9059       ;;
   9060 
   9061     amigaos*)
   9062       case $host_cpu in
   9063       powerpc)
   9064             # see comment about AmigaOS4 .so support
   9065             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9066             archive_expsym_cmds=''
   9067         ;;
   9068       m68k)
   9069             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)'
   9070             hardcode_libdir_flag_spec='-L$libdir'
   9071             hardcode_minus_L=yes
   9072         ;;
   9073       esac
   9074       ;;
   9075 
   9076     beos*)
   9077       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9078 	allow_undefined_flag=unsupported
   9079 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9080 	# support --undefined.  This deserves some investigation.  FIXME
   9081 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9082       else
   9083 	ld_shlibs=no
   9084       fi
   9085       ;;
   9086 
   9087     cygwin* | mingw* | pw32* | cegcc*)
   9088       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9089       # as there is no search path for DLLs.
   9090       hardcode_libdir_flag_spec='-L$libdir'
   9091       export_dynamic_flag_spec='$wl--export-all-symbols'
   9092       allow_undefined_flag=unsupported
   9093       always_export_symbols=no
   9094       enable_shared_with_static_runtimes=yes
   9095       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'
   9096       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   9097 
   9098       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9099         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9100 	# If the export-symbols file already is a .def file, use it as
   9101 	# is; otherwise, prepend EXPORTS...
   9102 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   9103           cp $export_symbols $output_objdir/$soname.def;
   9104         else
   9105           echo EXPORTS > $output_objdir/$soname.def;
   9106           cat $export_symbols >> $output_objdir/$soname.def;
   9107         fi~
   9108         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9109       else
   9110 	ld_shlibs=no
   9111       fi
   9112       ;;
   9113 
   9114     haiku*)
   9115       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9116       link_all_deplibs=yes
   9117       ;;
   9118 
   9119     os2*)
   9120       hardcode_libdir_flag_spec='-L$libdir'
   9121       hardcode_minus_L=yes
   9122       allow_undefined_flag=unsupported
   9123       shrext_cmds=.dll
   9124       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9125 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9126 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9127 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9128 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   9129 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9130 	emximp -o $lib $output_objdir/$libname.def'
   9131       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9132 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9133 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9134 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9135 	prefix_cmds="$SED"~
   9136 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   9137 	  prefix_cmds="$prefix_cmds -e 1d";
   9138 	fi~
   9139 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   9140 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   9141 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9142 	emximp -o $lib $output_objdir/$libname.def'
   9143       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   9144       enable_shared_with_static_runtimes=yes
   9145       ;;
   9146 
   9147     interix[3-9]*)
   9148       hardcode_direct=no
   9149       hardcode_shlibpath_var=no
   9150       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   9151       export_dynamic_flag_spec='$wl-E'
   9152       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9153       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9154       # default) and relocated if they conflict, which is a slow very memory
   9155       # consuming and fragmenting process.  To avoid this, we pick a random,
   9156       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9157       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9158       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9159       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'
   9160       ;;
   9161 
   9162     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9163       tmp_diet=no
   9164       if test linux-dietlibc = "$host_os"; then
   9165 	case $cc_basename in
   9166 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9167 	esac
   9168       fi
   9169       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9170 	 && test no = "$tmp_diet"
   9171       then
   9172 	tmp_addflag=' $pic_flag'
   9173 	tmp_sharedflag='-shared'
   9174 	case $cc_basename,$host_cpu in
   9175         pgcc*)				# Portland Group C compiler
   9176 	  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'
   9177 	  tmp_addflag=' $pic_flag'
   9178 	  ;;
   9179 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9180 					# Portland Group f77 and f90 compilers
   9181 	  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'
   9182 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9183 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9184 	  tmp_addflag=' -i_dynamic' ;;
   9185 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9186 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9187 	ifc* | ifort*)			# Intel Fortran compiler
   9188 	  tmp_addflag=' -nofor_main' ;;
   9189 	lf95*)				# Lahey Fortran 8.1
   9190 	  whole_archive_flag_spec=
   9191 	  tmp_sharedflag='--shared' ;;
   9192         nagfor*)                        # NAGFOR 5.3
   9193           tmp_sharedflag='-Wl,-shared' ;;
   9194 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9195 	  tmp_sharedflag='-qmkshrobj'
   9196 	  tmp_addflag= ;;
   9197 	nvcc*)	# Cuda Compiler Driver 2.2
   9198 	  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'
   9199 	  compiler_needs_object=yes
   9200 	  ;;
   9201 	esac
   9202 	case `$CC -V 2>&1 | sed 5q` in
   9203 	*Sun\ C*)			# Sun C 5.9
   9204 	  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'
   9205 	  compiler_needs_object=yes
   9206 	  tmp_sharedflag='-G' ;;
   9207 	*Sun\ F*)			# Sun Fortran 8.3
   9208 	  tmp_sharedflag='-G' ;;
   9209 	esac
   9210 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9211 
   9212         if test yes = "$supports_anon_versioning"; then
   9213           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9214             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9215             echo "local: *; };" >> $output_objdir/$libname.ver~
   9216             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   9217         fi
   9218 
   9219 	case $cc_basename in
   9220 	tcc*)
   9221 	  export_dynamic_flag_spec='-rdynamic'
   9222 	  ;;
   9223 	xlf* | bgf* | bgxlf* | mpixlf*)
   9224 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9225 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9226 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9227 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   9228 	  if test yes = "$supports_anon_versioning"; then
   9229 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9230               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9231               echo "local: *; };" >> $output_objdir/$libname.ver~
   9232               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9233 	  fi
   9234 	  ;;
   9235 	esac
   9236       else
   9237         ld_shlibs=no
   9238       fi
   9239       ;;
   9240 
   9241     netbsd*)
   9242       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9243 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9244 	wlarc=
   9245       else
   9246 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9247 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9248       fi
   9249       ;;
   9250 
   9251     solaris*)
   9252       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9253 	ld_shlibs=no
   9254 	cat <<_LT_EOF 1>&2
   9255 
   9256 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9257 *** create shared libraries on Solaris systems.  Therefore, libtool
   9258 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9259 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9260 *** your PATH or compiler configuration so that the native linker is
   9261 *** used, and then restart.
   9262 
   9263 _LT_EOF
   9264       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9265 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9266 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9267       else
   9268 	ld_shlibs=no
   9269       fi
   9270       ;;
   9271 
   9272     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9273       case `$LD -v 2>&1` in
   9274         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9275 	ld_shlibs=no
   9276 	cat <<_LT_EOF 1>&2
   9277 
   9278 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   9279 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9280 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9281 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9282 *** your PATH or compiler configuration so that the native linker is
   9283 *** used, and then restart.
   9284 
   9285 _LT_EOF
   9286 	;;
   9287 	*)
   9288 	  # For security reasons, it is highly recommended that you always
   9289 	  # use absolute paths for naming shared libraries, and exclude the
   9290 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9291 	  # requires that you compile everything twice, which is a pain.
   9292 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9293 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9294 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9295 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9296 	  else
   9297 	    ld_shlibs=no
   9298 	  fi
   9299 	;;
   9300       esac
   9301       ;;
   9302 
   9303     sunos4*)
   9304       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9305       wlarc=
   9306       hardcode_direct=yes
   9307       hardcode_shlibpath_var=no
   9308       ;;
   9309 
   9310     *)
   9311       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9312 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9313 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9314       else
   9315 	ld_shlibs=no
   9316       fi
   9317       ;;
   9318     esac
   9319 
   9320     if test no = "$ld_shlibs"; then
   9321       runpath_var=
   9322       hardcode_libdir_flag_spec=
   9323       export_dynamic_flag_spec=
   9324       whole_archive_flag_spec=
   9325     fi
   9326   else
   9327     # PORTME fill in a description of your system's linker (not GNU ld)
   9328     case $host_os in
   9329     aix3*)
   9330       allow_undefined_flag=unsupported
   9331       always_export_symbols=yes
   9332       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'
   9333       # Note: this linker hardcodes the directories in LIBPATH if there
   9334       # are no directories specified by -L.
   9335       hardcode_minus_L=yes
   9336       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   9337 	# Neither direct hardcoding nor static linking is supported with a
   9338 	# broken collect2.
   9339 	hardcode_direct=unsupported
   9340       fi
   9341       ;;
   9342 
   9343     aix[4-9]*)
   9344       if test ia64 = "$host_cpu"; then
   9345 	# On IA64, the linker does run time linking by default, so we don't
   9346 	# have to do anything special.
   9347 	aix_use_runtimelinking=no
   9348 	exp_sym_flag='-Bexport'
   9349 	no_entry_flag=
   9350       else
   9351 	# If we're using GNU nm, then we don't want the "-C" option.
   9352 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   9353 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   9354 	# weak defined symbols like other global defined symbols, whereas
   9355 	# GNU nm marks them as "W".
   9356 	# While the 'weak' keyword is ignored in the Export File, we need
   9357 	# it in the Import File for the 'aix-soname' feature, so we have
   9358 	# to replace the "-B" option with "-P" for AIX nm.
   9359 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9360 	  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'
   9361 	else
   9362 	  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'
   9363 	fi
   9364 	aix_use_runtimelinking=no
   9365 
   9366 	# Test if we are trying to use run time linking or normal
   9367 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9368 	# have runtime linking enabled, and use it for executables.
   9369 	# For shared libraries, we enable/disable runtime linking
   9370 	# depending on the kind of the shared library created -
   9371 	# when "with_aix_soname,aix_use_runtimelinking" is:
   9372 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   9373 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   9374 	#            lib.a           static archive
   9375 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   9376 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   9377 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   9378 	#            lib.a(lib.so.V) shared, rtl:no
   9379 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   9380 	#            lib.a           static archive
   9381 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9382 	  for ld_flag in $LDFLAGS; do
   9383 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   9384 	    aix_use_runtimelinking=yes
   9385 	    break
   9386 	  fi
   9387 	  done
   9388 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   9389 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   9390 	    # so we don't have lib.a shared libs to link our executables.
   9391 	    # We have to force runtime linking in this case.
   9392 	    aix_use_runtimelinking=yes
   9393 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   9394 	  fi
   9395 	  ;;
   9396 	esac
   9397 
   9398 	exp_sym_flag='-bexport'
   9399 	no_entry_flag='-bnoentry'
   9400       fi
   9401 
   9402       # When large executables or shared objects are built, AIX ld can
   9403       # have problems creating the table of contents.  If linking a library
   9404       # or program results in "error TOC overflow" add -mminimal-toc to
   9405       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9406       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9407 
   9408       archive_cmds=''
   9409       hardcode_direct=yes
   9410       hardcode_direct_absolute=yes
   9411       hardcode_libdir_separator=':'
   9412       link_all_deplibs=yes
   9413       file_list_spec='$wl-f,'
   9414       case $with_aix_soname,$aix_use_runtimelinking in
   9415       aix,*) ;; # traditional, no import file
   9416       svr4,* | *,yes) # use import file
   9417 	# The Import File defines what to hardcode.
   9418 	hardcode_direct=no
   9419 	hardcode_direct_absolute=no
   9420 	;;
   9421       esac
   9422 
   9423       if test yes = "$GCC"; then
   9424 	case $host_os in aix4.[012]|aix4.[012].*)
   9425 	# We only want to do this on AIX 4.2 and lower, the check
   9426 	# below for broken collect2 doesn't work under 4.3+
   9427 	  collect2name=`$CC -print-prog-name=collect2`
   9428 	  if test -f "$collect2name" &&
   9429 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9430 	  then
   9431 	  # We have reworked collect2
   9432 	  :
   9433 	  else
   9434 	  # We have old collect2
   9435 	  hardcode_direct=unsupported
   9436 	  # It fails to find uninstalled libraries when the uninstalled
   9437 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9438 	  # to unsupported forces relinking
   9439 	  hardcode_minus_L=yes
   9440 	  hardcode_libdir_flag_spec='-L$libdir'
   9441 	  hardcode_libdir_separator=
   9442 	  fi
   9443 	  ;;
   9444 	esac
   9445 	shared_flag='-shared'
   9446 	if test yes = "$aix_use_runtimelinking"; then
   9447 	  shared_flag="$shared_flag "'$wl-G'
   9448 	fi
   9449 	# Need to ensure runtime linking is disabled for the traditional
   9450 	# shared library, or the linker may eventually find shared libraries
   9451 	# /with/ Import File - we do not want to mix them.
   9452 	shared_flag_aix='-shared'
   9453 	shared_flag_svr4='-shared $wl-G'
   9454       else
   9455 	# not using gcc
   9456 	if test ia64 = "$host_cpu"; then
   9457 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9458 	# chokes on -Wl,-G. The following line is correct:
   9459 	  shared_flag='-G'
   9460 	else
   9461 	  if test yes = "$aix_use_runtimelinking"; then
   9462 	    shared_flag='$wl-G'
   9463 	  else
   9464 	    shared_flag='$wl-bM:SRE'
   9465 	  fi
   9466 	  shared_flag_aix='$wl-bM:SRE'
   9467 	  shared_flag_svr4='$wl-G'
   9468 	fi
   9469       fi
   9470 
   9471       export_dynamic_flag_spec='$wl-bexpall'
   9472       # It seems that -bexpall does not export symbols beginning with
   9473       # underscore (_), so it is better to generate a list of symbols to export.
   9474       always_export_symbols=yes
   9475       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   9476 	# Warning - without using the other runtime loading flags (-brtl),
   9477 	# -berok will link without error, but may produce a broken library.
   9478 	allow_undefined_flag='-berok'
   9479         # Determine the default libpath from the value encoded in an
   9480         # empty executable.
   9481         if test set = "${lt_cv_aix_libpath+set}"; then
   9482   aix_libpath=$lt_cv_aix_libpath
   9483 else
   9484   if ${lt_cv_aix_libpath_+:} false; then :
   9485   $as_echo_n "(cached) " >&6
   9486 else
   9487   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9488 /* end confdefs.h.  */
   9489 
   9490 int
   9491 main ()
   9492 {
   9493 
   9494   ;
   9495   return 0;
   9496 }
   9497 _ACEOF
   9498 if ac_fn_c_try_link "$LINENO"; then :
   9499 
   9500   lt_aix_libpath_sed='
   9501       /Import File Strings/,/^$/ {
   9502 	  /^0/ {
   9503 	      s/^0  *\([^ ]*\) *$/\1/
   9504 	      p
   9505 	  }
   9506       }'
   9507   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9508   # Check for a 64-bit object if we didn't find anything.
   9509   if test -z "$lt_cv_aix_libpath_"; then
   9510     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9511   fi
   9512 fi
   9513 rm -f core conftest.err conftest.$ac_objext \
   9514     conftest$ac_exeext conftest.$ac_ext
   9515   if test -z "$lt_cv_aix_libpath_"; then
   9516     lt_cv_aix_libpath_=/usr/lib:/lib
   9517   fi
   9518 
   9519 fi
   9520 
   9521   aix_libpath=$lt_cv_aix_libpath_
   9522 fi
   9523 
   9524         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   9525         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
   9526       else
   9527 	if test ia64 = "$host_cpu"; then
   9528 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   9529 	  allow_undefined_flag="-z nodefs"
   9530 	  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"
   9531 	else
   9532 	 # Determine the default libpath from the value encoded in an
   9533 	 # empty executable.
   9534 	 if test set = "${lt_cv_aix_libpath+set}"; then
   9535   aix_libpath=$lt_cv_aix_libpath
   9536 else
   9537   if ${lt_cv_aix_libpath_+:} false; then :
   9538   $as_echo_n "(cached) " >&6
   9539 else
   9540   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9541 /* end confdefs.h.  */
   9542 
   9543 int
   9544 main ()
   9545 {
   9546 
   9547   ;
   9548   return 0;
   9549 }
   9550 _ACEOF
   9551 if ac_fn_c_try_link "$LINENO"; then :
   9552 
   9553   lt_aix_libpath_sed='
   9554       /Import File Strings/,/^$/ {
   9555 	  /^0/ {
   9556 	      s/^0  *\([^ ]*\) *$/\1/
   9557 	      p
   9558 	  }
   9559       }'
   9560   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9561   # Check for a 64-bit object if we didn't find anything.
   9562   if test -z "$lt_cv_aix_libpath_"; then
   9563     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9564   fi
   9565 fi
   9566 rm -f core conftest.err conftest.$ac_objext \
   9567     conftest$ac_exeext conftest.$ac_ext
   9568   if test -z "$lt_cv_aix_libpath_"; then
   9569     lt_cv_aix_libpath_=/usr/lib:/lib
   9570   fi
   9571 
   9572 fi
   9573 
   9574   aix_libpath=$lt_cv_aix_libpath_
   9575 fi
   9576 
   9577 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   9578 	  # Warning - without using the other run time loading flags,
   9579 	  # -berok will link without error, but may produce a broken library.
   9580 	  no_undefined_flag=' $wl-bernotok'
   9581 	  allow_undefined_flag=' $wl-berok'
   9582 	  if test yes = "$with_gnu_ld"; then
   9583 	    # We only use this code for GNU lds that support --whole-archive.
   9584 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   9585 	  else
   9586 	    # Exported symbols can be pulled into shared objects from archives
   9587 	    whole_archive_flag_spec='$convenience'
   9588 	  fi
   9589 	  archive_cmds_need_lc=yes
   9590 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   9591 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   9592 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   9593 	  if test svr4 != "$with_aix_soname"; then
   9594 	    # This is similar to how AIX traditionally builds its shared libraries.
   9595 	    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'
   9596 	  fi
   9597 	  if test aix != "$with_aix_soname"; then
   9598 	    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'
   9599 	  else
   9600 	    # used by -dlpreopen to get the symbols
   9601 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   9602 	  fi
   9603 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   9604 	fi
   9605       fi
   9606       ;;
   9607 
   9608     amigaos*)
   9609       case $host_cpu in
   9610       powerpc)
   9611             # see comment about AmigaOS4 .so support
   9612             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9613             archive_expsym_cmds=''
   9614         ;;
   9615       m68k)
   9616             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)'
   9617             hardcode_libdir_flag_spec='-L$libdir'
   9618             hardcode_minus_L=yes
   9619         ;;
   9620       esac
   9621       ;;
   9622 
   9623     bsdi[45]*)
   9624       export_dynamic_flag_spec=-rdynamic
   9625       ;;
   9626 
   9627     cygwin* | mingw* | pw32* | cegcc*)
   9628       # When not using gcc, we currently assume that we are using
   9629       # Microsoft Visual C++.
   9630       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9631       # no search path for DLLs.
   9632       case $cc_basename in
   9633       cl*)
   9634 	# Native MSVC
   9635 	hardcode_libdir_flag_spec=' '
   9636 	allow_undefined_flag=unsupported
   9637 	always_export_symbols=yes
   9638 	file_list_spec='@'
   9639 	# Tell ltmain to make .lib files, not .a files.
   9640 	libext=lib
   9641 	# Tell ltmain to make .dll files, not .so files.
   9642 	shrext_cmds=.dll
   9643 	# FIXME: Setting linknames here is a bad hack.
   9644 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   9645 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   9646             cp "$export_symbols" "$output_objdir/$soname.def";
   9647             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   9648           else
   9649             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   9650           fi~
   9651           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9652           linknames='
   9653 	# The linker will not automatically build a static lib if we build a DLL.
   9654 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9655 	enable_shared_with_static_runtimes=yes
   9656 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9657 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9658 	# Don't use ranlib
   9659 	old_postinstall_cmds='chmod 644 $oldlib'
   9660 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9661           lt_tool_outputfile="@TOOL_OUTPUT@"~
   9662           case $lt_outputfile in
   9663             *.exe|*.EXE) ;;
   9664             *)
   9665               lt_outputfile=$lt_outputfile.exe
   9666               lt_tool_outputfile=$lt_tool_outputfile.exe
   9667               ;;
   9668           esac~
   9669           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   9670             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9671             $RM "$lt_outputfile.manifest";
   9672           fi'
   9673 	;;
   9674       *)
   9675 	# Assume MSVC wrapper
   9676 	hardcode_libdir_flag_spec=' '
   9677 	allow_undefined_flag=unsupported
   9678 	# Tell ltmain to make .lib files, not .a files.
   9679 	libext=lib
   9680 	# Tell ltmain to make .dll files, not .so files.
   9681 	shrext_cmds=.dll
   9682 	# FIXME: Setting linknames here is a bad hack.
   9683 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9684 	# The linker will automatically build a .lib file if we build a DLL.
   9685 	old_archive_from_new_cmds='true'
   9686 	# FIXME: Should let the user specify the lib program.
   9687 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9688 	enable_shared_with_static_runtimes=yes
   9689 	;;
   9690       esac
   9691       ;;
   9692 
   9693     darwin* | rhapsody*)
   9694 
   9695 
   9696   archive_cmds_need_lc=no
   9697   hardcode_direct=no
   9698   hardcode_automatic=yes
   9699   hardcode_shlibpath_var=unsupported
   9700   if test yes = "$lt_cv_ld_force_load"; then
   9701     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\"`'
   9702 
   9703   else
   9704     whole_archive_flag_spec=''
   9705   fi
   9706   link_all_deplibs=yes
   9707   allow_undefined_flag=$_lt_dar_allow_undefined
   9708   case $cc_basename in
   9709      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   9710      *) _lt_dar_can_shared=$GCC ;;
   9711   esac
   9712   if test yes = "$_lt_dar_can_shared"; then
   9713     output_verbose_link_cmd=func_echo_all
   9714     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   9715     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   9716     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"
   9717     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"
   9718 
   9719   else
   9720   ld_shlibs=no
   9721   fi
   9722 
   9723       ;;
   9724 
   9725     dgux*)
   9726       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9727       hardcode_libdir_flag_spec='-L$libdir'
   9728       hardcode_shlibpath_var=no
   9729       ;;
   9730 
   9731     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9732     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9733     # does not break anything, and helps significantly (at the cost of a little
   9734     # extra space).
   9735     freebsd2.2*)
   9736       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9737       hardcode_libdir_flag_spec='-R$libdir'
   9738       hardcode_direct=yes
   9739       hardcode_shlibpath_var=no
   9740       ;;
   9741 
   9742     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9743     freebsd2.*)
   9744       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9745       hardcode_direct=yes
   9746       hardcode_minus_L=yes
   9747       hardcode_shlibpath_var=no
   9748       ;;
   9749 
   9750     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9751     freebsd* | dragonfly*)
   9752       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9753       hardcode_libdir_flag_spec='-R$libdir'
   9754       hardcode_direct=yes
   9755       hardcode_shlibpath_var=no
   9756       ;;
   9757 
   9758     hpux9*)
   9759       if test yes = "$GCC"; then
   9760 	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'
   9761       else
   9762 	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'
   9763       fi
   9764       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   9765       hardcode_libdir_separator=:
   9766       hardcode_direct=yes
   9767 
   9768       # hardcode_minus_L: Not really in the search PATH,
   9769       # but as the default location of the library.
   9770       hardcode_minus_L=yes
   9771       export_dynamic_flag_spec='$wl-E'
   9772       ;;
   9773 
   9774     hpux10*)
   9775       if test yes,no = "$GCC,$with_gnu_ld"; then
   9776 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9777       else
   9778 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9779       fi
   9780       if test no = "$with_gnu_ld"; then
   9781 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   9782 	hardcode_libdir_separator=:
   9783 	hardcode_direct=yes
   9784 	hardcode_direct_absolute=yes
   9785 	export_dynamic_flag_spec='$wl-E'
   9786 	# hardcode_minus_L: Not really in the search PATH,
   9787 	# but as the default location of the library.
   9788 	hardcode_minus_L=yes
   9789       fi
   9790       ;;
   9791 
   9792     hpux11*)
   9793       if test yes,no = "$GCC,$with_gnu_ld"; then
   9794 	case $host_cpu in
   9795 	hppa*64*)
   9796 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   9797 	  ;;
   9798 	ia64*)
   9799 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9800 	  ;;
   9801 	*)
   9802 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9803 	  ;;
   9804 	esac
   9805       else
   9806 	case $host_cpu in
   9807 	hppa*64*)
   9808 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   9809 	  ;;
   9810 	ia64*)
   9811 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9812 	  ;;
   9813 	*)
   9814 
   9815 	  # Older versions of the 11.00 compiler do not understand -b yet
   9816 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9817 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9818 $as_echo_n "checking if $CC understands -b... " >&6; }
   9819 if ${lt_cv_prog_compiler__b+:} false; then :
   9820   $as_echo_n "(cached) " >&6
   9821 else
   9822   lt_cv_prog_compiler__b=no
   9823    save_LDFLAGS=$LDFLAGS
   9824    LDFLAGS="$LDFLAGS -b"
   9825    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9826    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9827      # The linker can only warn and ignore the option if not recognized
   9828      # So say no if there are warnings
   9829      if test -s conftest.err; then
   9830        # Append any errors to the config.log.
   9831        cat conftest.err 1>&5
   9832        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9833        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9834        if diff conftest.exp conftest.er2 >/dev/null; then
   9835          lt_cv_prog_compiler__b=yes
   9836        fi
   9837      else
   9838        lt_cv_prog_compiler__b=yes
   9839      fi
   9840    fi
   9841    $RM -r conftest*
   9842    LDFLAGS=$save_LDFLAGS
   9843 
   9844 fi
   9845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9846 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9847 
   9848 if test yes = "$lt_cv_prog_compiler__b"; then
   9849     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9850 else
   9851     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9852 fi
   9853 
   9854 	  ;;
   9855 	esac
   9856       fi
   9857       if test no = "$with_gnu_ld"; then
   9858 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   9859 	hardcode_libdir_separator=:
   9860 
   9861 	case $host_cpu in
   9862 	hppa*64*|ia64*)
   9863 	  hardcode_direct=no
   9864 	  hardcode_shlibpath_var=no
   9865 	  ;;
   9866 	*)
   9867 	  hardcode_direct=yes
   9868 	  hardcode_direct_absolute=yes
   9869 	  export_dynamic_flag_spec='$wl-E'
   9870 
   9871 	  # hardcode_minus_L: Not really in the search PATH,
   9872 	  # but as the default location of the library.
   9873 	  hardcode_minus_L=yes
   9874 	  ;;
   9875 	esac
   9876       fi
   9877       ;;
   9878 
   9879     irix5* | irix6* | nonstopux*)
   9880       if test yes = "$GCC"; then
   9881 	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'
   9882 	# Try to use the -exported_symbol ld option, if it does not
   9883 	# work, assume that -exports_file does not work either and
   9884 	# implicitly export all symbols.
   9885 	# This should be the same for all languages, so no per-tag cache variable.
   9886 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9887 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9888 if ${lt_cv_irix_exported_symbol+:} false; then :
   9889   $as_echo_n "(cached) " >&6
   9890 else
   9891   save_LDFLAGS=$LDFLAGS
   9892 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   9893 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9894 /* end confdefs.h.  */
   9895 int foo (void) { return 0; }
   9896 _ACEOF
   9897 if ac_fn_c_try_link "$LINENO"; then :
   9898   lt_cv_irix_exported_symbol=yes
   9899 else
   9900   lt_cv_irix_exported_symbol=no
   9901 fi
   9902 rm -f core conftest.err conftest.$ac_objext \
   9903     conftest$ac_exeext conftest.$ac_ext
   9904            LDFLAGS=$save_LDFLAGS
   9905 fi
   9906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9907 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9908 	if test yes = "$lt_cv_irix_exported_symbol"; then
   9909           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'
   9910 	fi
   9911       else
   9912 	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'
   9913 	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'
   9914       fi
   9915       archive_cmds_need_lc='no'
   9916       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9917       hardcode_libdir_separator=:
   9918       inherit_rpath=yes
   9919       link_all_deplibs=yes
   9920       ;;
   9921 
   9922     linux*)
   9923       case $cc_basename in
   9924       tcc*)
   9925 	# Fabrice Bellard et al's Tiny C Compiler
   9926 	ld_shlibs=yes
   9927 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9928 	;;
   9929       esac
   9930       ;;
   9931 
   9932     netbsd*)
   9933       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9934 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9935       else
   9936 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9937       fi
   9938       hardcode_libdir_flag_spec='-R$libdir'
   9939       hardcode_direct=yes
   9940       hardcode_shlibpath_var=no
   9941       ;;
   9942 
   9943     newsos6)
   9944       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9945       hardcode_direct=yes
   9946       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9947       hardcode_libdir_separator=:
   9948       hardcode_shlibpath_var=no
   9949       ;;
   9950 
   9951     *nto* | *qnx*)
   9952       ;;
   9953 
   9954     openbsd* | bitrig*)
   9955       if test -f /usr/libexec/ld.so; then
   9956 	hardcode_direct=yes
   9957 	hardcode_shlibpath_var=no
   9958 	hardcode_direct_absolute=yes
   9959 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   9960 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9961 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   9962 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   9963 	  export_dynamic_flag_spec='$wl-E'
   9964 	else
   9965 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9966 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   9967 	fi
   9968       else
   9969 	ld_shlibs=no
   9970       fi
   9971       ;;
   9972 
   9973     os2*)
   9974       hardcode_libdir_flag_spec='-L$libdir'
   9975       hardcode_minus_L=yes
   9976       allow_undefined_flag=unsupported
   9977       shrext_cmds=.dll
   9978       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9979 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9980 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9981 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9982 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   9983 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9984 	emximp -o $lib $output_objdir/$libname.def'
   9985       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9986 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9987 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9988 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9989 	prefix_cmds="$SED"~
   9990 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   9991 	  prefix_cmds="$prefix_cmds -e 1d";
   9992 	fi~
   9993 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   9994 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   9995 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9996 	emximp -o $lib $output_objdir/$libname.def'
   9997       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   9998       enable_shared_with_static_runtimes=yes
   9999       ;;
   10000 
   10001     osf3*)
   10002       if test yes = "$GCC"; then
   10003 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10004 	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'
   10005       else
   10006 	allow_undefined_flag=' -expect_unresolved \*'
   10007 	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'
   10008       fi
   10009       archive_cmds_need_lc='no'
   10010       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10011       hardcode_libdir_separator=:
   10012       ;;
   10013 
   10014     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10015       if test yes = "$GCC"; then
   10016 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10017 	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'
   10018 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10019       else
   10020 	allow_undefined_flag=' -expect_unresolved \*'
   10021 	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'
   10022 	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~
   10023           $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'
   10024 
   10025 	# Both c and cxx compiler support -rpath directly
   10026 	hardcode_libdir_flag_spec='-rpath $libdir'
   10027       fi
   10028       archive_cmds_need_lc='no'
   10029       hardcode_libdir_separator=:
   10030       ;;
   10031 
   10032     solaris*)
   10033       no_undefined_flag=' -z defs'
   10034       if test yes = "$GCC"; then
   10035 	wlarc='$wl'
   10036 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10037 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10038           $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'
   10039       else
   10040 	case `$CC -V 2>&1` in
   10041 	*"Compilers 5.0"*)
   10042 	  wlarc=''
   10043 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10044 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10045             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10046 	  ;;
   10047 	*)
   10048 	  wlarc='$wl'
   10049 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10050 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10051             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10052 	  ;;
   10053 	esac
   10054       fi
   10055       hardcode_libdir_flag_spec='-R$libdir'
   10056       hardcode_shlibpath_var=no
   10057       case $host_os in
   10058       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10059       *)
   10060 	# The compiler driver will combine and reorder linker options,
   10061 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   10062 	# but is careful enough not to reorder.
   10063 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10064 	if test yes = "$GCC"; then
   10065 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   10066 	else
   10067 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10068 	fi
   10069 	;;
   10070       esac
   10071       link_all_deplibs=yes
   10072       ;;
   10073 
   10074     sunos4*)
   10075       if test sequent = "$host_vendor"; then
   10076 	# Use $CC to link under sequent, because it throws in some extra .o
   10077 	# files that make .init and .fini sections work.
   10078 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10079       else
   10080 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10081       fi
   10082       hardcode_libdir_flag_spec='-L$libdir'
   10083       hardcode_direct=yes
   10084       hardcode_minus_L=yes
   10085       hardcode_shlibpath_var=no
   10086       ;;
   10087 
   10088     sysv4)
   10089       case $host_vendor in
   10090 	sni)
   10091 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10092 	  hardcode_direct=yes # is this really true???
   10093 	;;
   10094 	siemens)
   10095 	  ## LD is ld it makes a PLAMLIB
   10096 	  ## CC just makes a GrossModule.
   10097 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10098 	  reload_cmds='$CC -r -o $output$reload_objs'
   10099 	  hardcode_direct=no
   10100         ;;
   10101 	motorola)
   10102 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10103 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10104 	;;
   10105       esac
   10106       runpath_var='LD_RUN_PATH'
   10107       hardcode_shlibpath_var=no
   10108       ;;
   10109 
   10110     sysv4.3*)
   10111       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10112       hardcode_shlibpath_var=no
   10113       export_dynamic_flag_spec='-Bexport'
   10114       ;;
   10115 
   10116     sysv4*MP*)
   10117       if test -d /usr/nec; then
   10118 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10119 	hardcode_shlibpath_var=no
   10120 	runpath_var=LD_RUN_PATH
   10121 	hardcode_runpath_var=yes
   10122 	ld_shlibs=yes
   10123       fi
   10124       ;;
   10125 
   10126     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10127       no_undefined_flag='$wl-z,text'
   10128       archive_cmds_need_lc=no
   10129       hardcode_shlibpath_var=no
   10130       runpath_var='LD_RUN_PATH'
   10131 
   10132       if test yes = "$GCC"; then
   10133 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10134 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10135       else
   10136 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10137 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10138       fi
   10139       ;;
   10140 
   10141     sysv5* | sco3.2v5* | sco5v6*)
   10142       # Note: We CANNOT use -z defs as we might desire, because we do not
   10143       # link with -lc, and that would cause any symbols used from libc to
   10144       # always be unresolved, which means just about no library would
   10145       # ever link correctly.  If we're not using GNU ld we use -z text
   10146       # though, which does catch some bad symbols but isn't as heavy-handed
   10147       # as -z defs.
   10148       no_undefined_flag='$wl-z,text'
   10149       allow_undefined_flag='$wl-z,nodefs'
   10150       archive_cmds_need_lc=no
   10151       hardcode_shlibpath_var=no
   10152       hardcode_libdir_flag_spec='$wl-R,$libdir'
   10153       hardcode_libdir_separator=':'
   10154       link_all_deplibs=yes
   10155       export_dynamic_flag_spec='$wl-Bexport'
   10156       runpath_var='LD_RUN_PATH'
   10157 
   10158       if test yes = "$GCC"; then
   10159 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10160 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10161       else
   10162 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10163 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10164       fi
   10165       ;;
   10166 
   10167     uts4*)
   10168       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10169       hardcode_libdir_flag_spec='-L$libdir'
   10170       hardcode_shlibpath_var=no
   10171       ;;
   10172 
   10173     *)
   10174       ld_shlibs=no
   10175       ;;
   10176     esac
   10177 
   10178     if test sni = "$host_vendor"; then
   10179       case $host in
   10180       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10181 	export_dynamic_flag_spec='$wl-Blargedynsym'
   10182 	;;
   10183       esac
   10184     fi
   10185   fi
   10186 
   10187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10188 $as_echo "$ld_shlibs" >&6; }
   10189 test no = "$ld_shlibs" && can_build_shared=no
   10190 
   10191 with_gnu_ld=$with_gnu_ld
   10192 
   10193 
   10194 
   10195 
   10196 
   10197 
   10198 
   10199 
   10200 
   10201 
   10202 
   10203 
   10204 
   10205 
   10206 
   10207 #
   10208 # Do we need to explicitly link libc?
   10209 #
   10210 case "x$archive_cmds_need_lc" in
   10211 x|xyes)
   10212   # Assume -lc should be added
   10213   archive_cmds_need_lc=yes
   10214 
   10215   if test yes,yes = "$GCC,$enable_shared"; then
   10216     case $archive_cmds in
   10217     *'~'*)
   10218       # FIXME: we may have to deal with multi-command sequences.
   10219       ;;
   10220     '$CC '*)
   10221       # Test whether the compiler implicitly links with -lc since on some
   10222       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10223       # to ld, don't add -lc before -lgcc.
   10224       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10225 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   10226 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   10227   $as_echo_n "(cached) " >&6
   10228 else
   10229   $RM conftest*
   10230 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10231 
   10232 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10233   (eval $ac_compile) 2>&5
   10234   ac_status=$?
   10235   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10236   test $ac_status = 0; } 2>conftest.err; then
   10237 	  soname=conftest
   10238 	  lib=conftest
   10239 	  libobjs=conftest.$ac_objext
   10240 	  deplibs=
   10241 	  wl=$lt_prog_compiler_wl
   10242 	  pic_flag=$lt_prog_compiler_pic
   10243 	  compiler_flags=-v
   10244 	  linker_flags=-v
   10245 	  verstring=
   10246 	  output_objdir=.
   10247 	  libname=conftest
   10248 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10249 	  allow_undefined_flag=
   10250 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10251   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10252   ac_status=$?
   10253   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10254   test $ac_status = 0; }
   10255 	  then
   10256 	    lt_cv_archive_cmds_need_lc=no
   10257 	  else
   10258 	    lt_cv_archive_cmds_need_lc=yes
   10259 	  fi
   10260 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10261 	else
   10262 	  cat conftest.err 1>&5
   10263 	fi
   10264 	$RM conftest*
   10265 
   10266 fi
   10267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10268 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   10269       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10270       ;;
   10271     esac
   10272   fi
   10273   ;;
   10274 esac
   10275 
   10276 
   10277 
   10278 
   10279 
   10280 
   10281 
   10282 
   10283 
   10284 
   10285 
   10286 
   10287 
   10288 
   10289 
   10290 
   10291 
   10292 
   10293 
   10294 
   10295 
   10296 
   10297 
   10298 
   10299 
   10300 
   10301 
   10302 
   10303 
   10304 
   10305 
   10306 
   10307 
   10308 
   10309 
   10310 
   10311 
   10312 
   10313 
   10314 
   10315 
   10316 
   10317 
   10318 
   10319 
   10320 
   10321 
   10322 
   10323 
   10324 
   10325 
   10326 
   10327 
   10328 
   10329 
   10330 
   10331 
   10332 
   10333 
   10334 
   10335 
   10336 
   10337 
   10338 
   10339 
   10340 
   10341 
   10342 
   10343 
   10344 
   10345 
   10346 
   10347 
   10348 
   10349 
   10350 
   10351 
   10352 
   10353 
   10354 
   10355 
   10356 
   10357 
   10358 
   10359 
   10360 
   10361 
   10362 
   10363 
   10364 
   10365 
   10366 
   10367 
   10368 
   10369 
   10370 
   10371 
   10372 
   10373 
   10374 
   10375 
   10376 
   10377 
   10378 
   10379 
   10380 
   10381 
   10382 
   10383 
   10384 
   10385 
   10386 
   10387 
   10388 
   10389 
   10390 
   10391 
   10392 
   10393 
   10394 
   10395 
   10396 
   10397 
   10398 
   10399 
   10400 
   10401 
   10402 
   10403 
   10404 
   10405 
   10406 
   10407 
   10408 
   10409 
   10410 
   10411 
   10412 
   10413 
   10414 
   10415 
   10416 
   10417 
   10418 
   10419 
   10420 
   10421 
   10422 
   10423 
   10424 
   10425 
   10426 
   10427   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10428 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10429 
   10430 if test yes = "$GCC"; then
   10431   case $host_os in
   10432     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   10433     *) lt_awk_arg='/^libraries:/' ;;
   10434   esac
   10435   case $host_os in
   10436     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   10437     *) lt_sed_strip_eq='s|=/|/|g' ;;
   10438   esac
   10439   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10440   case $lt_search_path_spec in
   10441   *\;*)
   10442     # if the path contains ";" then we assume it to be the separator
   10443     # otherwise default to the standard path separator (i.e. ":") - it is
   10444     # assumed that no part of a normal pathname contains ";" but that should
   10445     # okay in the real world where ";" in dirpaths is itself problematic.
   10446     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10447     ;;
   10448   *)
   10449     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10450     ;;
   10451   esac
   10452   # Ok, now we have the path, separated by spaces, we can step through it
   10453   # and add multilib dir if necessary...
   10454   lt_tmp_lt_search_path_spec=
   10455   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10456   # ...but if some path component already ends with the multilib dir we assume
   10457   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   10458   case "$lt_multi_os_dir; $lt_search_path_spec " in
   10459   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   10460     lt_multi_os_dir=
   10461     ;;
   10462   esac
   10463   for lt_sys_path in $lt_search_path_spec; do
   10464     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   10465       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   10466     elif test -n "$lt_multi_os_dir"; then
   10467       test -d "$lt_sys_path" && \
   10468 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10469     fi
   10470   done
   10471   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10472 BEGIN {RS = " "; FS = "/|\n";} {
   10473   lt_foo = "";
   10474   lt_count = 0;
   10475   for (lt_i = NF; lt_i > 0; lt_i--) {
   10476     if ($lt_i != "" && $lt_i != ".") {
   10477       if ($lt_i == "..") {
   10478         lt_count++;
   10479       } else {
   10480         if (lt_count == 0) {
   10481           lt_foo = "/" $lt_i lt_foo;
   10482         } else {
   10483           lt_count--;
   10484         }
   10485       }
   10486     }
   10487   }
   10488   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10489   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10490 }'`
   10491   # AWK program above erroneously prepends '/' to C:/dos/paths
   10492   # for these hosts.
   10493   case $host_os in
   10494     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10495       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   10496   esac
   10497   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10498 else
   10499   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10500 fi
   10501 library_names_spec=
   10502 libname_spec='lib$name'
   10503 soname_spec=
   10504 shrext_cmds=.so
   10505 postinstall_cmds=
   10506 postuninstall_cmds=
   10507 finish_cmds=
   10508 finish_eval=
   10509 shlibpath_var=
   10510 shlibpath_overrides_runpath=unknown
   10511 version_type=none
   10512 dynamic_linker="$host_os ld.so"
   10513 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10514 need_lib_prefix=unknown
   10515 hardcode_into_libs=no
   10516 
   10517 # when you set need_version to no, make sure it does not cause -set_version
   10518 # flags to be left without arguments
   10519 need_version=unknown
   10520 
   10521 
   10522 
   10523 case $host_os in
   10524 aix3*)
   10525   version_type=linux # correct to gnu/linux during the next big refactor
   10526   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   10527   shlibpath_var=LIBPATH
   10528 
   10529   # AIX 3 has no versioning support, so we append a major version to the name.
   10530   soname_spec='$libname$release$shared_ext$major'
   10531   ;;
   10532 
   10533 aix[4-9]*)
   10534   version_type=linux # correct to gnu/linux during the next big refactor
   10535   need_lib_prefix=no
   10536   need_version=no
   10537   hardcode_into_libs=yes
   10538   if test ia64 = "$host_cpu"; then
   10539     # AIX 5 supports IA64
   10540     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   10541     shlibpath_var=LD_LIBRARY_PATH
   10542   else
   10543     # With GCC up to 2.95.x, collect2 would create an import file
   10544     # for dependence libraries.  The import file would start with
   10545     # the line '#! .'.  This would cause the generated library to
   10546     # depend on '.', always an invalid library.  This was fixed in
   10547     # development snapshots of GCC prior to 3.0.
   10548     case $host_os in
   10549       aix4 | aix4.[01] | aix4.[01].*)
   10550       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10551 	   echo ' yes '
   10552 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   10553 	:
   10554       else
   10555 	can_build_shared=no
   10556       fi
   10557       ;;
   10558     esac
   10559     # Using Import Files as archive members, it is possible to support
   10560     # filename-based versioning of shared library archives on AIX. While
   10561     # this would work for both with and without runtime linking, it will
   10562     # prevent static linking of such archives. So we do filename-based
   10563     # shared library versioning with .so extension only, which is used
   10564     # when both runtime linking and shared linking is enabled.
   10565     # Unfortunately, runtime linking may impact performance, so we do
   10566     # not want this to be the default eventually. Also, we use the
   10567     # versioned .so libs for executables only if there is the -brtl
   10568     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   10569     # To allow for filename-based versioning support, we need to create
   10570     # libNAME.so.V as an archive file, containing:
   10571     # *) an Import File, referring to the versioned filename of the
   10572     #    archive as well as the shared archive member, telling the
   10573     #    bitwidth (32 or 64) of that shared object, and providing the
   10574     #    list of exported symbols of that shared object, eventually
   10575     #    decorated with the 'weak' keyword
   10576     # *) the shared object with the F_LOADONLY flag set, to really avoid
   10577     #    it being seen by the linker.
   10578     # At run time we better use the real file rather than another symlink,
   10579     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   10580 
   10581     case $with_aix_soname,$aix_use_runtimelinking in
   10582     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   10583     # soname into executable. Probably we can add versioning support to
   10584     # collect2, so additional links can be useful in future.
   10585     aix,yes) # traditional libtool
   10586       dynamic_linker='AIX unversionable lib.so'
   10587       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10588       # instead of lib<name>.a to let people know that these are not
   10589       # typical AIX shared libraries.
   10590       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10591       ;;
   10592     aix,no) # traditional AIX only
   10593       dynamic_linker='AIX lib.a(lib.so.V)'
   10594       # We preserve .a as extension for shared libraries through AIX4.2
   10595       # and later when we are not doing run time linking.
   10596       library_names_spec='$libname$release.a $libname.a'
   10597       soname_spec='$libname$release$shared_ext$major'
   10598       ;;
   10599     svr4,*) # full svr4 only
   10600       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   10601       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   10602       # We do not specify a path in Import Files, so LIBPATH fires.
   10603       shlibpath_overrides_runpath=yes
   10604       ;;
   10605     *,yes) # both, prefer svr4
   10606       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   10607       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   10608       # unpreferred sharedlib libNAME.a needs extra handling
   10609       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"'
   10610       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"'
   10611       # We do not specify a path in Import Files, so LIBPATH fires.
   10612       shlibpath_overrides_runpath=yes
   10613       ;;
   10614     *,no) # both, prefer aix
   10615       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   10616       library_names_spec='$libname$release.a $libname.a'
   10617       soname_spec='$libname$release$shared_ext$major'
   10618       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   10619       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)'
   10620       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"'
   10621       ;;
   10622     esac
   10623     shlibpath_var=LIBPATH
   10624   fi
   10625   ;;
   10626 
   10627 amigaos*)
   10628   case $host_cpu in
   10629   powerpc)
   10630     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10631     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10632     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10633     ;;
   10634   m68k)
   10635     library_names_spec='$libname.ixlibrary $libname.a'
   10636     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10637     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'
   10638     ;;
   10639   esac
   10640   ;;
   10641 
   10642 beos*)
   10643   library_names_spec='$libname$shared_ext'
   10644   dynamic_linker="$host_os ld.so"
   10645   shlibpath_var=LIBRARY_PATH
   10646   ;;
   10647 
   10648 bsdi[45]*)
   10649   version_type=linux # correct to gnu/linux during the next big refactor
   10650   need_version=no
   10651   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10652   soname_spec='$libname$release$shared_ext$major'
   10653   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10654   shlibpath_var=LD_LIBRARY_PATH
   10655   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10656   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10657   # the default ld.so.conf also contains /usr/contrib/lib and
   10658   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10659   # libtool to hard-code these into programs
   10660   ;;
   10661 
   10662 cygwin* | mingw* | pw32* | cegcc*)
   10663   version_type=windows
   10664   shrext_cmds=.dll
   10665   need_version=no
   10666   need_lib_prefix=no
   10667 
   10668   case $GCC,$cc_basename in
   10669   yes,*)
   10670     # gcc
   10671     library_names_spec='$libname.dll.a'
   10672     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10673     postinstall_cmds='base_file=`basename \$file`~
   10674       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   10675       dldir=$destdir/`dirname \$dlpath`~
   10676       test -d \$dldir || mkdir -p \$dldir~
   10677       $install_prog $dir/$dlname \$dldir/$dlname~
   10678       chmod a+x \$dldir/$dlname~
   10679       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10680         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10681       fi'
   10682     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10683       dlpath=$dir/\$dldll~
   10684        $RM \$dlpath'
   10685     shlibpath_overrides_runpath=yes
   10686 
   10687     case $host_os in
   10688     cygwin*)
   10689       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10690       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   10691 
   10692       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10693       ;;
   10694     mingw* | cegcc*)
   10695       # MinGW DLLs use traditional 'lib' prefix
   10696       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   10697       ;;
   10698     pw32*)
   10699       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10700       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   10701       ;;
   10702     esac
   10703     dynamic_linker='Win32 ld.exe'
   10704     ;;
   10705 
   10706   *,cl*)
   10707     # Native MSVC
   10708     libname_spec='$name'
   10709     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   10710     library_names_spec='$libname.dll.lib'
   10711 
   10712     case $build_os in
   10713     mingw*)
   10714       sys_lib_search_path_spec=
   10715       lt_save_ifs=$IFS
   10716       IFS=';'
   10717       for lt_path in $LIB
   10718       do
   10719         IFS=$lt_save_ifs
   10720         # Let DOS variable expansion print the short 8.3 style file name.
   10721         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10722         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10723       done
   10724       IFS=$lt_save_ifs
   10725       # Convert to MSYS style.
   10726       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10727       ;;
   10728     cygwin*)
   10729       # Convert to unix form, then to dos form, then back to unix form
   10730       # but this time dos style (no spaces!) so that the unix form looks
   10731       # like /cygdrive/c/PROGRA~1:/cygdr...
   10732       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10733       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10734       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10735       ;;
   10736     *)
   10737       sys_lib_search_path_spec=$LIB
   10738       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10739         # It is most probably a Windows format PATH.
   10740         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10741       else
   10742         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10743       fi
   10744       # FIXME: find the short name or the path components, as spaces are
   10745       # common. (e.g. "Program Files" -> "PROGRA~1")
   10746       ;;
   10747     esac
   10748 
   10749     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10750     postinstall_cmds='base_file=`basename \$file`~
   10751       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   10752       dldir=$destdir/`dirname \$dlpath`~
   10753       test -d \$dldir || mkdir -p \$dldir~
   10754       $install_prog $dir/$dlname \$dldir/$dlname'
   10755     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10756       dlpath=$dir/\$dldll~
   10757        $RM \$dlpath'
   10758     shlibpath_overrides_runpath=yes
   10759     dynamic_linker='Win32 link.exe'
   10760     ;;
   10761 
   10762   *)
   10763     # Assume MSVC wrapper
   10764     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   10765     dynamic_linker='Win32 ld.exe'
   10766     ;;
   10767   esac
   10768   # FIXME: first we should search . and the directory the executable is in
   10769   shlibpath_var=PATH
   10770   ;;
   10771 
   10772 darwin* | rhapsody*)
   10773   dynamic_linker="$host_os dyld"
   10774   version_type=darwin
   10775   need_lib_prefix=no
   10776   need_version=no
   10777   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   10778   soname_spec='$libname$release$major$shared_ext'
   10779   shlibpath_overrides_runpath=yes
   10780   shlibpath_var=DYLD_LIBRARY_PATH
   10781   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10782 
   10783   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10784   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10785   ;;
   10786 
   10787 dgux*)
   10788   version_type=linux # correct to gnu/linux during the next big refactor
   10789   need_lib_prefix=no
   10790   need_version=no
   10791   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10792   soname_spec='$libname$release$shared_ext$major'
   10793   shlibpath_var=LD_LIBRARY_PATH
   10794   ;;
   10795 
   10796 freebsd* | dragonfly*)
   10797   # DragonFly does not have aout.  When/if they implement a new
   10798   # versioning mechanism, adjust this.
   10799   if test -x /usr/bin/objformat; then
   10800     objformat=`/usr/bin/objformat`
   10801   else
   10802     case $host_os in
   10803     freebsd[23].*) objformat=aout ;;
   10804     *) objformat=elf ;;
   10805     esac
   10806   fi
   10807   version_type=freebsd-$objformat
   10808   case $version_type in
   10809     freebsd-elf*)
   10810       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10811       soname_spec='$libname$release$shared_ext$major'
   10812       need_version=no
   10813       need_lib_prefix=no
   10814       ;;
   10815     freebsd-*)
   10816       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   10817       need_version=yes
   10818       ;;
   10819   esac
   10820   shlibpath_var=LD_LIBRARY_PATH
   10821   case $host_os in
   10822   freebsd2.*)
   10823     shlibpath_overrides_runpath=yes
   10824     ;;
   10825   freebsd3.[01]* | freebsdelf3.[01]*)
   10826     shlibpath_overrides_runpath=yes
   10827     hardcode_into_libs=yes
   10828     ;;
   10829   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10830   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10831     shlibpath_overrides_runpath=no
   10832     hardcode_into_libs=yes
   10833     ;;
   10834   *) # from 4.6 on, and DragonFly
   10835     shlibpath_overrides_runpath=yes
   10836     hardcode_into_libs=yes
   10837     ;;
   10838   esac
   10839   ;;
   10840 
   10841 haiku*)
   10842   version_type=linux # correct to gnu/linux during the next big refactor
   10843   need_lib_prefix=no
   10844   need_version=no
   10845   dynamic_linker="$host_os runtime_loader"
   10846   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10847   soname_spec='$libname$release$shared_ext$major'
   10848   shlibpath_var=LIBRARY_PATH
   10849   shlibpath_overrides_runpath=no
   10850   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10851   hardcode_into_libs=yes
   10852   ;;
   10853 
   10854 hpux9* | hpux10* | hpux11*)
   10855   # Give a soname corresponding to the major version so that dld.sl refuses to
   10856   # link against other versions.
   10857   version_type=sunos
   10858   need_lib_prefix=no
   10859   need_version=no
   10860   case $host_cpu in
   10861   ia64*)
   10862     shrext_cmds='.so'
   10863     hardcode_into_libs=yes
   10864     dynamic_linker="$host_os dld.so"
   10865     shlibpath_var=LD_LIBRARY_PATH
   10866     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10867     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10868     soname_spec='$libname$release$shared_ext$major'
   10869     if test 32 = "$HPUX_IA64_MODE"; then
   10870       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10871       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   10872     else
   10873       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10874       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   10875     fi
   10876     ;;
   10877   hppa*64*)
   10878     shrext_cmds='.sl'
   10879     hardcode_into_libs=yes
   10880     dynamic_linker="$host_os dld.sl"
   10881     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10882     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10883     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10884     soname_spec='$libname$release$shared_ext$major'
   10885     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10886     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10887     ;;
   10888   *)
   10889     shrext_cmds='.sl'
   10890     dynamic_linker="$host_os dld.sl"
   10891     shlibpath_var=SHLIB_PATH
   10892     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10893     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10894     soname_spec='$libname$release$shared_ext$major'
   10895     ;;
   10896   esac
   10897   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10898   postinstall_cmds='chmod 555 $lib'
   10899   # or fails outright, so override atomically:
   10900   install_override_mode=555
   10901   ;;
   10902 
   10903 interix[3-9]*)
   10904   version_type=linux # correct to gnu/linux during the next big refactor
   10905   need_lib_prefix=no
   10906   need_version=no
   10907   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10908   soname_spec='$libname$release$shared_ext$major'
   10909   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10910   shlibpath_var=LD_LIBRARY_PATH
   10911   shlibpath_overrides_runpath=no
   10912   hardcode_into_libs=yes
   10913   ;;
   10914 
   10915 irix5* | irix6* | nonstopux*)
   10916   case $host_os in
   10917     nonstopux*) version_type=nonstopux ;;
   10918     *)
   10919 	if test yes = "$lt_cv_prog_gnu_ld"; then
   10920 		version_type=linux # correct to gnu/linux during the next big refactor
   10921 	else
   10922 		version_type=irix
   10923 	fi ;;
   10924   esac
   10925   need_lib_prefix=no
   10926   need_version=no
   10927   soname_spec='$libname$release$shared_ext$major'
   10928   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   10929   case $host_os in
   10930   irix5* | nonstopux*)
   10931     libsuff= shlibsuff=
   10932     ;;
   10933   *)
   10934     case $LD in # libtool.m4 will add one of these switches to LD
   10935     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10936       libsuff= shlibsuff= libmagic=32-bit;;
   10937     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10938       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10939     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10940       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10941     *) libsuff= shlibsuff= libmagic=never-match;;
   10942     esac
   10943     ;;
   10944   esac
   10945   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10946   shlibpath_overrides_runpath=no
   10947   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   10948   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   10949   hardcode_into_libs=yes
   10950   ;;
   10951 
   10952 # No shared lib support for Linux oldld, aout, or coff.
   10953 linux*oldld* | linux*aout* | linux*coff*)
   10954   dynamic_linker=no
   10955   ;;
   10956 
   10957 linux*android*)
   10958   version_type=none # Android doesn't support versioned libraries.
   10959   need_lib_prefix=no
   10960   need_version=no
   10961   library_names_spec='$libname$release$shared_ext'
   10962   soname_spec='$libname$release$shared_ext'
   10963   finish_cmds=
   10964   shlibpath_var=LD_LIBRARY_PATH
   10965   shlibpath_overrides_runpath=yes
   10966 
   10967   # This implies no fast_install, which is unacceptable.
   10968   # Some rework will be needed to allow for fast_install
   10969   # before this can be enabled.
   10970   hardcode_into_libs=yes
   10971 
   10972   dynamic_linker='Android linker'
   10973   # Don't embed -rpath directories since the linker doesn't support them.
   10974   hardcode_libdir_flag_spec='-L$libdir'
   10975   ;;
   10976 
   10977 # This must be glibc/ELF.
   10978 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   10979   version_type=linux # correct to gnu/linux during the next big refactor
   10980   need_lib_prefix=no
   10981   need_version=no
   10982   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10983   soname_spec='$libname$release$shared_ext$major'
   10984   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10985   shlibpath_var=LD_LIBRARY_PATH
   10986   shlibpath_overrides_runpath=no
   10987 
   10988   # Some binutils ld are patched to set DT_RUNPATH
   10989   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10990   $as_echo_n "(cached) " >&6
   10991 else
   10992   lt_cv_shlibpath_overrides_runpath=no
   10993     save_LDFLAGS=$LDFLAGS
   10994     save_libdir=$libdir
   10995     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10996 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10997     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10998 /* end confdefs.h.  */
   10999 
   11000 int
   11001 main ()
   11002 {
   11003 
   11004   ;
   11005   return 0;
   11006 }
   11007 _ACEOF
   11008 if ac_fn_c_try_link "$LINENO"; then :
   11009   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   11010   lt_cv_shlibpath_overrides_runpath=yes
   11011 fi
   11012 fi
   11013 rm -f core conftest.err conftest.$ac_objext \
   11014     conftest$ac_exeext conftest.$ac_ext
   11015     LDFLAGS=$save_LDFLAGS
   11016     libdir=$save_libdir
   11017 
   11018 fi
   11019 
   11020   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   11021 
   11022   # This implies no fast_install, which is unacceptable.
   11023   # Some rework will be needed to allow for fast_install
   11024   # before this can be enabled.
   11025   hardcode_into_libs=yes
   11026 
   11027   # Ideally, we could use ldconfig to report *all* directores which are
   11028   # searched for libraries, however this is still not possible.  Aside from not
   11029   # being certain /sbin/ldconfig is available, command
   11030   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   11031   # even though it is searched at run-time.  Try to do the best guess by
   11032   # appending ld.so.conf contents (and includes) to the search path.
   11033   if test -f /etc/ld.so.conf; then
   11034     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' ' '`
   11035     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   11036   fi
   11037 
   11038   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11039   # powerpc, because MkLinux only supported shared libraries with the
   11040   # GNU dynamic linker.  Since this was broken with cross compilers,
   11041   # most powerpc-linux boxes support dynamic linking these days and
   11042   # people can always --disable-shared, the test was removed, and we
   11043   # assume the GNU/Linux dynamic linker is in use.
   11044   dynamic_linker='GNU/Linux ld.so'
   11045   ;;
   11046 
   11047 netbsd*)
   11048   version_type=sunos
   11049   need_lib_prefix=no
   11050   need_version=no
   11051   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11052     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11053     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11054     dynamic_linker='NetBSD (a.out) ld.so'
   11055   else
   11056     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11057     soname_spec='$libname$release$shared_ext$major'
   11058     dynamic_linker='NetBSD ld.elf_so'
   11059   fi
   11060   shlibpath_var=LD_LIBRARY_PATH
   11061   shlibpath_overrides_runpath=yes
   11062   hardcode_into_libs=yes
   11063   ;;
   11064 
   11065 newsos6)
   11066   version_type=linux # correct to gnu/linux during the next big refactor
   11067   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11068   shlibpath_var=LD_LIBRARY_PATH
   11069   shlibpath_overrides_runpath=yes
   11070   ;;
   11071 
   11072 *nto* | *qnx*)
   11073   version_type=qnx
   11074   need_lib_prefix=no
   11075   need_version=no
   11076   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11077   soname_spec='$libname$release$shared_ext$major'
   11078   shlibpath_var=LD_LIBRARY_PATH
   11079   shlibpath_overrides_runpath=no
   11080   hardcode_into_libs=yes
   11081   dynamic_linker='ldqnx.so'
   11082   ;;
   11083 
   11084 openbsd* | bitrig*)
   11085   version_type=sunos
   11086   sys_lib_dlsearch_path_spec=/usr/lib
   11087   need_lib_prefix=no
   11088   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11089     need_version=no
   11090   else
   11091     need_version=yes
   11092   fi
   11093   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11094   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11095   shlibpath_var=LD_LIBRARY_PATH
   11096   shlibpath_overrides_runpath=yes
   11097   ;;
   11098 
   11099 os2*)
   11100   libname_spec='$name'
   11101   version_type=windows
   11102   shrext_cmds=.dll
   11103   need_version=no
   11104   need_lib_prefix=no
   11105   # OS/2 can only load a DLL with a base name of 8 characters or less.
   11106   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   11107     v=$($ECHO $release$versuffix | tr -d .-);
   11108     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   11109     $ECHO $n$v`$shared_ext'
   11110   library_names_spec='${libname}_dll.$libext'
   11111   dynamic_linker='OS/2 ld.exe'
   11112   shlibpath_var=BEGINLIBPATH
   11113   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11114   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11115   postinstall_cmds='base_file=`basename \$file`~
   11116     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   11117     dldir=$destdir/`dirname \$dlpath`~
   11118     test -d \$dldir || mkdir -p \$dldir~
   11119     $install_prog $dir/$dlname \$dldir/$dlname~
   11120     chmod a+x \$dldir/$dlname~
   11121     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11122       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11123     fi'
   11124   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   11125     dlpath=$dir/\$dldll~
   11126     $RM \$dlpath'
   11127   ;;
   11128 
   11129 osf3* | osf4* | osf5*)
   11130   version_type=osf
   11131   need_lib_prefix=no
   11132   need_version=no
   11133   soname_spec='$libname$release$shared_ext$major'
   11134   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11135   shlibpath_var=LD_LIBRARY_PATH
   11136   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11137   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11138   ;;
   11139 
   11140 rdos*)
   11141   dynamic_linker=no
   11142   ;;
   11143 
   11144 solaris*)
   11145   version_type=linux # correct to gnu/linux during the next big refactor
   11146   need_lib_prefix=no
   11147   need_version=no
   11148   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11149   soname_spec='$libname$release$shared_ext$major'
   11150   shlibpath_var=LD_LIBRARY_PATH
   11151   shlibpath_overrides_runpath=yes
   11152   hardcode_into_libs=yes
   11153   # ldd complains unless libraries are executable
   11154   postinstall_cmds='chmod +x $lib'
   11155   ;;
   11156 
   11157 sunos4*)
   11158   version_type=sunos
   11159   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11160   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11161   shlibpath_var=LD_LIBRARY_PATH
   11162   shlibpath_overrides_runpath=yes
   11163   if test yes = "$with_gnu_ld"; then
   11164     need_lib_prefix=no
   11165   fi
   11166   need_version=yes
   11167   ;;
   11168 
   11169 sysv4 | sysv4.3*)
   11170   version_type=linux # correct to gnu/linux during the next big refactor
   11171   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11172   soname_spec='$libname$release$shared_ext$major'
   11173   shlibpath_var=LD_LIBRARY_PATH
   11174   case $host_vendor in
   11175     sni)
   11176       shlibpath_overrides_runpath=no
   11177       need_lib_prefix=no
   11178       runpath_var=LD_RUN_PATH
   11179       ;;
   11180     siemens)
   11181       need_lib_prefix=no
   11182       ;;
   11183     motorola)
   11184       need_lib_prefix=no
   11185       need_version=no
   11186       shlibpath_overrides_runpath=no
   11187       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11188       ;;
   11189   esac
   11190   ;;
   11191 
   11192 sysv4*MP*)
   11193   if test -d /usr/nec; then
   11194     version_type=linux # correct to gnu/linux during the next big refactor
   11195     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   11196     soname_spec='$libname$shared_ext.$major'
   11197     shlibpath_var=LD_LIBRARY_PATH
   11198   fi
   11199   ;;
   11200 
   11201 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11202   version_type=sco
   11203   need_lib_prefix=no
   11204   need_version=no
   11205   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   11206   soname_spec='$libname$release$shared_ext$major'
   11207   shlibpath_var=LD_LIBRARY_PATH
   11208   shlibpath_overrides_runpath=yes
   11209   hardcode_into_libs=yes
   11210   if test yes = "$with_gnu_ld"; then
   11211     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11212   else
   11213     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11214     case $host_os in
   11215       sco3.2v5*)
   11216         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11217 	;;
   11218     esac
   11219   fi
   11220   sys_lib_dlsearch_path_spec='/usr/lib'
   11221   ;;
   11222 
   11223 tpf*)
   11224   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11225   version_type=linux # correct to gnu/linux during the next big refactor
   11226   need_lib_prefix=no
   11227   need_version=no
   11228   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11229   shlibpath_var=LD_LIBRARY_PATH
   11230   shlibpath_overrides_runpath=no
   11231   hardcode_into_libs=yes
   11232   ;;
   11233 
   11234 uts4*)
   11235   version_type=linux # correct to gnu/linux during the next big refactor
   11236   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11237   soname_spec='$libname$release$shared_ext$major'
   11238   shlibpath_var=LD_LIBRARY_PATH
   11239   ;;
   11240 
   11241 *)
   11242   dynamic_linker=no
   11243   ;;
   11244 esac
   11245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11246 $as_echo "$dynamic_linker" >&6; }
   11247 test no = "$dynamic_linker" && can_build_shared=no
   11248 
   11249 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11250 if test yes = "$GCC"; then
   11251   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11252 fi
   11253 
   11254 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   11255   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   11256 fi
   11257 
   11258 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   11259   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   11260 fi
   11261 
   11262 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   11263 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   11264 
   11265 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   11266 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   11267 
   11268 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   11269 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   11270 
   11271 
   11272 
   11273 
   11274 
   11275 
   11276 
   11277 
   11278 
   11279 
   11280 
   11281 
   11282 
   11283 
   11284 
   11285 
   11286 
   11287 
   11288 
   11289 
   11290 
   11291 
   11292 
   11293 
   11294 
   11295 
   11296 
   11297 
   11298 
   11299 
   11300 
   11301 
   11302 
   11303 
   11304 
   11305 
   11306 
   11307 
   11308 
   11309 
   11310 
   11311 
   11312 
   11313 
   11314 
   11315 
   11316 
   11317 
   11318 
   11319 
   11320 
   11321 
   11322 
   11323 
   11324 
   11325 
   11326 
   11327 
   11328 
   11329 
   11330 
   11331 
   11332 
   11333 
   11334 
   11335 
   11336 
   11337 
   11338 
   11339 
   11340 
   11341 
   11342 
   11343 
   11344 
   11345 
   11346 
   11347 
   11348 
   11349 
   11350 
   11351 
   11352 
   11353 
   11354 
   11355 
   11356 
   11357 
   11358 
   11359 
   11360 
   11361 
   11362 
   11363 
   11364 
   11365 
   11366 
   11367   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   11368 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   11369 hardcode_action=
   11370 if test -n "$hardcode_libdir_flag_spec" ||
   11371    test -n "$runpath_var" ||
   11372    test yes = "$hardcode_automatic"; then
   11373 
   11374   # We can hardcode non-existent directories.
   11375   if test no != "$hardcode_direct" &&
   11376      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11377      # have to relink, otherwise we might link with an installed library
   11378      # when we should be linking with a yet-to-be-installed one
   11379      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   11380      test no != "$hardcode_minus_L"; then
   11381     # Linking always hardcodes the temporary library directory.
   11382     hardcode_action=relink
   11383   else
   11384     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   11385     hardcode_action=immediate
   11386   fi
   11387 else
   11388   # We cannot hardcode anything, or else we can only hardcode existing
   11389   # directories.
   11390   hardcode_action=unsupported
   11391 fi
   11392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   11393 $as_echo "$hardcode_action" >&6; }
   11394 
   11395 if test relink = "$hardcode_action" ||
   11396    test yes = "$inherit_rpath"; then
   11397   # Fast installation is not supported
   11398   enable_fast_install=no
   11399 elif test yes = "$shlibpath_overrides_runpath" ||
   11400      test no = "$enable_shared"; then
   11401   # Fast installation is not necessary
   11402   enable_fast_install=needless
   11403 fi
   11404 
   11405 
   11406 
   11407 
   11408 
   11409 
   11410   if test yes != "$enable_dlopen"; then
   11411   enable_dlopen=unknown
   11412   enable_dlopen_self=unknown
   11413   enable_dlopen_self_static=unknown
   11414 else
   11415   lt_cv_dlopen=no
   11416   lt_cv_dlopen_libs=
   11417 
   11418   case $host_os in
   11419   beos*)
   11420     lt_cv_dlopen=load_add_on
   11421     lt_cv_dlopen_libs=
   11422     lt_cv_dlopen_self=yes
   11423     ;;
   11424 
   11425   mingw* | pw32* | cegcc*)
   11426     lt_cv_dlopen=LoadLibrary
   11427     lt_cv_dlopen_libs=
   11428     ;;
   11429 
   11430   cygwin*)
   11431     lt_cv_dlopen=dlopen
   11432     lt_cv_dlopen_libs=
   11433     ;;
   11434 
   11435   darwin*)
   11436     # if libdl is installed we need to link against it
   11437     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11438 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11439 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11440   $as_echo_n "(cached) " >&6
   11441 else
   11442   ac_check_lib_save_LIBS=$LIBS
   11443 LIBS="-ldl  $LIBS"
   11444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11445 /* end confdefs.h.  */
   11446 
   11447 /* Override any GCC internal prototype to avoid an error.
   11448    Use char because int might match the return type of a GCC
   11449    builtin and then its argument prototype would still apply.  */
   11450 #ifdef __cplusplus
   11451 extern "C"
   11452 #endif
   11453 char dlopen ();
   11454 int
   11455 main ()
   11456 {
   11457 return dlopen ();
   11458   ;
   11459   return 0;
   11460 }
   11461 _ACEOF
   11462 if ac_fn_c_try_link "$LINENO"; then :
   11463   ac_cv_lib_dl_dlopen=yes
   11464 else
   11465   ac_cv_lib_dl_dlopen=no
   11466 fi
   11467 rm -f core conftest.err conftest.$ac_objext \
   11468     conftest$ac_exeext conftest.$ac_ext
   11469 LIBS=$ac_check_lib_save_LIBS
   11470 fi
   11471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11472 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11473 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11474   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   11475 else
   11476 
   11477     lt_cv_dlopen=dyld
   11478     lt_cv_dlopen_libs=
   11479     lt_cv_dlopen_self=yes
   11480 
   11481 fi
   11482 
   11483     ;;
   11484 
   11485   tpf*)
   11486     # Don't try to run any link tests for TPF.  We know it's impossible
   11487     # because TPF is a cross-compiler, and we know how we open DSOs.
   11488     lt_cv_dlopen=dlopen
   11489     lt_cv_dlopen_libs=
   11490     lt_cv_dlopen_self=no
   11491     ;;
   11492 
   11493   *)
   11494     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   11495 if test "x$ac_cv_func_shl_load" = xyes; then :
   11496   lt_cv_dlopen=shl_load
   11497 else
   11498   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   11499 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11500 if ${ac_cv_lib_dld_shl_load+:} false; then :
   11501   $as_echo_n "(cached) " >&6
   11502 else
   11503   ac_check_lib_save_LIBS=$LIBS
   11504 LIBS="-ldld  $LIBS"
   11505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11506 /* end confdefs.h.  */
   11507 
   11508 /* Override any GCC internal prototype to avoid an error.
   11509    Use char because int might match the return type of a GCC
   11510    builtin and then its argument prototype would still apply.  */
   11511 #ifdef __cplusplus
   11512 extern "C"
   11513 #endif
   11514 char shl_load ();
   11515 int
   11516 main ()
   11517 {
   11518 return shl_load ();
   11519   ;
   11520   return 0;
   11521 }
   11522 _ACEOF
   11523 if ac_fn_c_try_link "$LINENO"; then :
   11524   ac_cv_lib_dld_shl_load=yes
   11525 else
   11526   ac_cv_lib_dld_shl_load=no
   11527 fi
   11528 rm -f core conftest.err conftest.$ac_objext \
   11529     conftest$ac_exeext conftest.$ac_ext
   11530 LIBS=$ac_check_lib_save_LIBS
   11531 fi
   11532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   11533 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11534 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   11535   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   11536 else
   11537   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   11538 if test "x$ac_cv_func_dlopen" = xyes; then :
   11539   lt_cv_dlopen=dlopen
   11540 else
   11541   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11542 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11543 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11544   $as_echo_n "(cached) " >&6
   11545 else
   11546   ac_check_lib_save_LIBS=$LIBS
   11547 LIBS="-ldl  $LIBS"
   11548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11549 /* end confdefs.h.  */
   11550 
   11551 /* Override any GCC internal prototype to avoid an error.
   11552    Use char because int might match the return type of a GCC
   11553    builtin and then its argument prototype would still apply.  */
   11554 #ifdef __cplusplus
   11555 extern "C"
   11556 #endif
   11557 char dlopen ();
   11558 int
   11559 main ()
   11560 {
   11561 return dlopen ();
   11562   ;
   11563   return 0;
   11564 }
   11565 _ACEOF
   11566 if ac_fn_c_try_link "$LINENO"; then :
   11567   ac_cv_lib_dl_dlopen=yes
   11568 else
   11569   ac_cv_lib_dl_dlopen=no
   11570 fi
   11571 rm -f core conftest.err conftest.$ac_objext \
   11572     conftest$ac_exeext conftest.$ac_ext
   11573 LIBS=$ac_check_lib_save_LIBS
   11574 fi
   11575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11576 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11577 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11578   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   11579 else
   11580   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11581 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11582 if ${ac_cv_lib_svld_dlopen+:} false; then :
   11583   $as_echo_n "(cached) " >&6
   11584 else
   11585   ac_check_lib_save_LIBS=$LIBS
   11586 LIBS="-lsvld  $LIBS"
   11587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11588 /* end confdefs.h.  */
   11589 
   11590 /* Override any GCC internal prototype to avoid an error.
   11591    Use char because int might match the return type of a GCC
   11592    builtin and then its argument prototype would still apply.  */
   11593 #ifdef __cplusplus
   11594 extern "C"
   11595 #endif
   11596 char dlopen ();
   11597 int
   11598 main ()
   11599 {
   11600 return dlopen ();
   11601   ;
   11602   return 0;
   11603 }
   11604 _ACEOF
   11605 if ac_fn_c_try_link "$LINENO"; then :
   11606   ac_cv_lib_svld_dlopen=yes
   11607 else
   11608   ac_cv_lib_svld_dlopen=no
   11609 fi
   11610 rm -f core conftest.err conftest.$ac_objext \
   11611     conftest$ac_exeext conftest.$ac_ext
   11612 LIBS=$ac_check_lib_save_LIBS
   11613 fi
   11614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11615 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11616 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11617   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   11618 else
   11619   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11620 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11621 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11622   $as_echo_n "(cached) " >&6
   11623 else
   11624   ac_check_lib_save_LIBS=$LIBS
   11625 LIBS="-ldld  $LIBS"
   11626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11627 /* end confdefs.h.  */
   11628 
   11629 /* Override any GCC internal prototype to avoid an error.
   11630    Use char because int might match the return type of a GCC
   11631    builtin and then its argument prototype would still apply.  */
   11632 #ifdef __cplusplus
   11633 extern "C"
   11634 #endif
   11635 char dld_link ();
   11636 int
   11637 main ()
   11638 {
   11639 return dld_link ();
   11640   ;
   11641   return 0;
   11642 }
   11643 _ACEOF
   11644 if ac_fn_c_try_link "$LINENO"; then :
   11645   ac_cv_lib_dld_dld_link=yes
   11646 else
   11647   ac_cv_lib_dld_dld_link=no
   11648 fi
   11649 rm -f core conftest.err conftest.$ac_objext \
   11650     conftest$ac_exeext conftest.$ac_ext
   11651 LIBS=$ac_check_lib_save_LIBS
   11652 fi
   11653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11654 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11655 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11656   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   11657 fi
   11658 
   11659 
   11660 fi
   11661 
   11662 
   11663 fi
   11664 
   11665 
   11666 fi
   11667 
   11668 
   11669 fi
   11670 
   11671 
   11672 fi
   11673 
   11674     ;;
   11675   esac
   11676 
   11677   if test no = "$lt_cv_dlopen"; then
   11678     enable_dlopen=no
   11679   else
   11680     enable_dlopen=yes
   11681   fi
   11682 
   11683   case $lt_cv_dlopen in
   11684   dlopen)
   11685     save_CPPFLAGS=$CPPFLAGS
   11686     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11687 
   11688     save_LDFLAGS=$LDFLAGS
   11689     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11690 
   11691     save_LIBS=$LIBS
   11692     LIBS="$lt_cv_dlopen_libs $LIBS"
   11693 
   11694     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11695 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11696 if ${lt_cv_dlopen_self+:} false; then :
   11697   $as_echo_n "(cached) " >&6
   11698 else
   11699   	  if test yes = "$cross_compiling"; then :
   11700   lt_cv_dlopen_self=cross
   11701 else
   11702   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11703   lt_status=$lt_dlunknown
   11704   cat > conftest.$ac_ext <<_LT_EOF
   11705 #line $LINENO "configure"
   11706 #include "confdefs.h"
   11707 
   11708 #if HAVE_DLFCN_H
   11709 #include <dlfcn.h>
   11710 #endif
   11711 
   11712 #include <stdio.h>
   11713 
   11714 #ifdef RTLD_GLOBAL
   11715 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11716 #else
   11717 #  ifdef DL_GLOBAL
   11718 #    define LT_DLGLOBAL		DL_GLOBAL
   11719 #  else
   11720 #    define LT_DLGLOBAL		0
   11721 #  endif
   11722 #endif
   11723 
   11724 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11725    find out it does not work in some platform. */
   11726 #ifndef LT_DLLAZY_OR_NOW
   11727 #  ifdef RTLD_LAZY
   11728 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11729 #  else
   11730 #    ifdef DL_LAZY
   11731 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11732 #    else
   11733 #      ifdef RTLD_NOW
   11734 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11735 #      else
   11736 #        ifdef DL_NOW
   11737 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11738 #        else
   11739 #          define LT_DLLAZY_OR_NOW	0
   11740 #        endif
   11741 #      endif
   11742 #    endif
   11743 #  endif
   11744 #endif
   11745 
   11746 /* When -fvisibility=hidden is used, assume the code has been annotated
   11747    correspondingly for the symbols needed.  */
   11748 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11749 int fnord () __attribute__((visibility("default")));
   11750 #endif
   11751 
   11752 int fnord () { return 42; }
   11753 int main ()
   11754 {
   11755   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11756   int status = $lt_dlunknown;
   11757 
   11758   if (self)
   11759     {
   11760       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11761       else
   11762         {
   11763 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11764           else puts (dlerror ());
   11765 	}
   11766       /* dlclose (self); */
   11767     }
   11768   else
   11769     puts (dlerror ());
   11770 
   11771   return status;
   11772 }
   11773 _LT_EOF
   11774   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11775   (eval $ac_link) 2>&5
   11776   ac_status=$?
   11777   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11778   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   11779     (./conftest; exit; ) >&5 2>/dev/null
   11780     lt_status=$?
   11781     case x$lt_status in
   11782       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11783       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11784       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11785     esac
   11786   else :
   11787     # compilation failed
   11788     lt_cv_dlopen_self=no
   11789   fi
   11790 fi
   11791 rm -fr conftest*
   11792 
   11793 
   11794 fi
   11795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11796 $as_echo "$lt_cv_dlopen_self" >&6; }
   11797 
   11798     if test yes = "$lt_cv_dlopen_self"; then
   11799       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11800       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11801 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11802 if ${lt_cv_dlopen_self_static+:} false; then :
   11803   $as_echo_n "(cached) " >&6
   11804 else
   11805   	  if test yes = "$cross_compiling"; then :
   11806   lt_cv_dlopen_self_static=cross
   11807 else
   11808   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11809   lt_status=$lt_dlunknown
   11810   cat > conftest.$ac_ext <<_LT_EOF
   11811 #line $LINENO "configure"
   11812 #include "confdefs.h"
   11813 
   11814 #if HAVE_DLFCN_H
   11815 #include <dlfcn.h>
   11816 #endif
   11817 
   11818 #include <stdio.h>
   11819 
   11820 #ifdef RTLD_GLOBAL
   11821 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11822 #else
   11823 #  ifdef DL_GLOBAL
   11824 #    define LT_DLGLOBAL		DL_GLOBAL
   11825 #  else
   11826 #    define LT_DLGLOBAL		0
   11827 #  endif
   11828 #endif
   11829 
   11830 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11831    find out it does not work in some platform. */
   11832 #ifndef LT_DLLAZY_OR_NOW
   11833 #  ifdef RTLD_LAZY
   11834 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11835 #  else
   11836 #    ifdef DL_LAZY
   11837 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11838 #    else
   11839 #      ifdef RTLD_NOW
   11840 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11841 #      else
   11842 #        ifdef DL_NOW
   11843 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11844 #        else
   11845 #          define LT_DLLAZY_OR_NOW	0
   11846 #        endif
   11847 #      endif
   11848 #    endif
   11849 #  endif
   11850 #endif
   11851 
   11852 /* When -fvisibility=hidden is used, assume the code has been annotated
   11853    correspondingly for the symbols needed.  */
   11854 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11855 int fnord () __attribute__((visibility("default")));
   11856 #endif
   11857 
   11858 int fnord () { return 42; }
   11859 int main ()
   11860 {
   11861   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11862   int status = $lt_dlunknown;
   11863 
   11864   if (self)
   11865     {
   11866       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11867       else
   11868         {
   11869 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11870           else puts (dlerror ());
   11871 	}
   11872       /* dlclose (self); */
   11873     }
   11874   else
   11875     puts (dlerror ());
   11876 
   11877   return status;
   11878 }
   11879 _LT_EOF
   11880   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11881   (eval $ac_link) 2>&5
   11882   ac_status=$?
   11883   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11884   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   11885     (./conftest; exit; ) >&5 2>/dev/null
   11886     lt_status=$?
   11887     case x$lt_status in
   11888       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11889       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11890       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11891     esac
   11892   else :
   11893     # compilation failed
   11894     lt_cv_dlopen_self_static=no
   11895   fi
   11896 fi
   11897 rm -fr conftest*
   11898 
   11899 
   11900 fi
   11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11902 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11903     fi
   11904 
   11905     CPPFLAGS=$save_CPPFLAGS
   11906     LDFLAGS=$save_LDFLAGS
   11907     LIBS=$save_LIBS
   11908     ;;
   11909   esac
   11910 
   11911   case $lt_cv_dlopen_self in
   11912   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11913   *) enable_dlopen_self=unknown ;;
   11914   esac
   11915 
   11916   case $lt_cv_dlopen_self_static in
   11917   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11918   *) enable_dlopen_self_static=unknown ;;
   11919   esac
   11920 fi
   11921 
   11922 
   11923 
   11924 
   11925 
   11926 
   11927 
   11928 
   11929 
   11930 
   11931 
   11932 
   11933 
   11934 
   11935 
   11936 
   11937 
   11938 striplib=
   11939 old_striplib=
   11940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11941 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11942 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11943   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11944   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11946 $as_echo "yes" >&6; }
   11947 else
   11948 # FIXME - insert some real tests, host_os isn't really good enough
   11949   case $host_os in
   11950   darwin*)
   11951     if test -n "$STRIP"; then
   11952       striplib="$STRIP -x"
   11953       old_striplib="$STRIP -S"
   11954       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11955 $as_echo "yes" >&6; }
   11956     else
   11957       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11958 $as_echo "no" >&6; }
   11959     fi
   11960     ;;
   11961   *)
   11962     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11963 $as_echo "no" >&6; }
   11964     ;;
   11965   esac
   11966 fi
   11967 
   11968 
   11969 
   11970 
   11971 
   11972 
   11973 
   11974 
   11975 
   11976 
   11977 
   11978 
   11979   # Report what library types will actually be built
   11980   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11981 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11983 $as_echo "$can_build_shared" >&6; }
   11984 
   11985   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11986 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11987   test no = "$can_build_shared" && enable_shared=no
   11988 
   11989   # On AIX, shared libraries and static libraries use the same namespace, and
   11990   # are all built from PIC.
   11991   case $host_os in
   11992   aix3*)
   11993     test yes = "$enable_shared" && enable_static=no
   11994     if test -n "$RANLIB"; then
   11995       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11996       postinstall_cmds='$RANLIB $lib'
   11997     fi
   11998     ;;
   11999 
   12000   aix[4-9]*)
   12001     if test ia64 != "$host_cpu"; then
   12002       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   12003       yes,aix,yes) ;;			# shared object as lib.so file only
   12004       yes,svr4,*) ;;			# shared object as lib.so archive member only
   12005       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   12006       esac
   12007     fi
   12008     ;;
   12009   esac
   12010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   12011 $as_echo "$enable_shared" >&6; }
   12012 
   12013   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   12014 $as_echo_n "checking whether to build static libraries... " >&6; }
   12015   # Make sure either enable_shared or enable_static is yes.
   12016   test yes = "$enable_shared" || enable_static=yes
   12017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   12018 $as_echo "$enable_static" >&6; }
   12019 
   12020 
   12021 
   12022 
   12023 fi
   12024 ac_ext=c
   12025 ac_cpp='$CPP $CPPFLAGS'
   12026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12029 
   12030 CC=$lt_save_CC
   12031 
   12032 
   12033 
   12034 
   12035 
   12036 
   12037 
   12038 
   12039 
   12040 
   12041 
   12042 
   12043 
   12044 
   12045 
   12046         ac_config_commands="$ac_config_commands libtool"
   12047 
   12048 
   12049 
   12050 
   12051 # Only expand once:
   12052 
   12053 
   12054 
   12055 # Require xorg-macros minimum of 1.12 for DocBook external references
   12056 
   12057 
   12058 
   12059 
   12060 
   12061 
   12062 
   12063 
   12064 
   12065 
   12066 
   12067    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   12068 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   12069 if ${ac_cv_prog_cc_c99+:} false; then :
   12070   $as_echo_n "(cached) " >&6
   12071 else
   12072   ac_cv_prog_cc_c99=no
   12073 ac_save_CC=$CC
   12074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12075 /* end confdefs.h.  */
   12076 #include <stdarg.h>
   12077 #include <stdbool.h>
   12078 #include <stdlib.h>
   12079 #include <wchar.h>
   12080 #include <stdio.h>
   12081 
   12082 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   12083 #define debug(...) fprintf (stderr, __VA_ARGS__)
   12084 #define showlist(...) puts (#__VA_ARGS__)
   12085 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   12086 static void
   12087 test_varargs_macros (void)
   12088 {
   12089   int x = 1234;
   12090   int y = 5678;
   12091   debug ("Flag");
   12092   debug ("X = %d\n", x);
   12093   showlist (The first, second, and third items.);
   12094   report (x>y, "x is %d but y is %d", x, y);
   12095 }
   12096 
   12097 // Check long long types.
   12098 #define BIG64 18446744073709551615ull
   12099 #define BIG32 4294967295ul
   12100 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   12101 #if !BIG_OK
   12102   your preprocessor is broken;
   12103 #endif
   12104 #if BIG_OK
   12105 #else
   12106   your preprocessor is broken;
   12107 #endif
   12108 static long long int bignum = -9223372036854775807LL;
   12109 static unsigned long long int ubignum = BIG64;
   12110 
   12111 struct incomplete_array
   12112 {
   12113   int datasize;
   12114   double data[];
   12115 };
   12116 
   12117 struct named_init {
   12118   int number;
   12119   const wchar_t *name;
   12120   double average;
   12121 };
   12122 
   12123 typedef const char *ccp;
   12124 
   12125 static inline int
   12126 test_restrict (ccp restrict text)
   12127 {
   12128   // See if C++-style comments work.
   12129   // Iterate through items via the restricted pointer.
   12130   // Also check for declarations in for loops.
   12131   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   12132     continue;
   12133   return 0;
   12134 }
   12135 
   12136 // Check varargs and va_copy.
   12137 static void
   12138 test_varargs (const char *format, ...)
   12139 {
   12140   va_list args;
   12141   va_start (args, format);
   12142   va_list args_copy;
   12143   va_copy (args_copy, args);
   12144 
   12145   const char *str;
   12146   int number;
   12147   float fnumber;
   12148 
   12149   while (*format)
   12150     {
   12151       switch (*format++)
   12152 	{
   12153 	case 's': // string
   12154 	  str = va_arg (args_copy, const char *);
   12155 	  break;
   12156 	case 'd': // int
   12157 	  number = va_arg (args_copy, int);
   12158 	  break;
   12159 	case 'f': // float
   12160 	  fnumber = va_arg (args_copy, double);
   12161 	  break;
   12162 	default:
   12163 	  break;
   12164 	}
   12165     }
   12166   va_end (args_copy);
   12167   va_end (args);
   12168 }
   12169 
   12170 int
   12171 main ()
   12172 {
   12173 
   12174   // Check bool.
   12175   _Bool success = false;
   12176 
   12177   // Check restrict.
   12178   if (test_restrict ("String literal") == 0)
   12179     success = true;
   12180   char *restrict newvar = "Another string";
   12181 
   12182   // Check varargs.
   12183   test_varargs ("s, d' f .", "string", 65, 34.234);
   12184   test_varargs_macros ();
   12185 
   12186   // Check flexible array members.
   12187   struct incomplete_array *ia =
   12188     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   12189   ia->datasize = 10;
   12190   for (int i = 0; i < ia->datasize; ++i)
   12191     ia->data[i] = i * 1.234;
   12192 
   12193   // Check named initializers.
   12194   struct named_init ni = {
   12195     .number = 34,
   12196     .name = L"Test wide string",
   12197     .average = 543.34343,
   12198   };
   12199 
   12200   ni.number = 58;
   12201 
   12202   int dynamic_array[ni.number];
   12203   dynamic_array[ni.number - 1] = 543;
   12204 
   12205   // work around unused variable warnings
   12206   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   12207 	  || dynamic_array[ni.number - 1] != 543);
   12208 
   12209   ;
   12210   return 0;
   12211 }
   12212 _ACEOF
   12213 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   12214 do
   12215   CC="$ac_save_CC $ac_arg"
   12216   if ac_fn_c_try_compile "$LINENO"; then :
   12217   ac_cv_prog_cc_c99=$ac_arg
   12218 fi
   12219 rm -f core conftest.err conftest.$ac_objext
   12220   test "x$ac_cv_prog_cc_c99" != "xno" && break
   12221 done
   12222 rm -f conftest.$ac_ext
   12223 CC=$ac_save_CC
   12224 
   12225 fi
   12226 # AC_CACHE_VAL
   12227 case "x$ac_cv_prog_cc_c99" in
   12228   x)
   12229     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   12230 $as_echo "none needed" >&6; } ;;
   12231   xno)
   12232     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   12233 $as_echo "unsupported" >&6; } ;;
   12234   *)
   12235     CC="$CC $ac_cv_prog_cc_c99"
   12236     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   12237 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   12238 esac
   12239 if test "x$ac_cv_prog_cc_c99" != xno; then :
   12240 
   12241 fi
   12242 
   12243 
   12244 
   12245 
   12246 
   12247 
   12248 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   12249 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   12250   CLANGCC="yes"
   12251 else
   12252   CLANGCC="no"
   12253 fi
   12254 
   12255 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   12256 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   12257   INTELCC="yes"
   12258 else
   12259   INTELCC="no"
   12260 fi
   12261 
   12262 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   12263 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   12264   SUNCC="yes"
   12265 else
   12266   SUNCC="no"
   12267 fi
   12268 
   12269 
   12270 
   12271 
   12272 
   12273 
   12274 
   12275 
   12276 
   12277 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   12278 	if test -n "$ac_tool_prefix"; then
   12279   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   12280 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   12281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12282 $as_echo_n "checking for $ac_word... " >&6; }
   12283 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   12284   $as_echo_n "(cached) " >&6
   12285 else
   12286   case $PKG_CONFIG in
   12287   [\\/]* | ?:[\\/]*)
   12288   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   12289   ;;
   12290   *)
   12291   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12292 for as_dir in $PATH
   12293 do
   12294   IFS=$as_save_IFS
   12295   test -z "$as_dir" && as_dir=.
   12296     for ac_exec_ext in '' $ac_executable_extensions; do
   12297   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12298     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12299     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12300     break 2
   12301   fi
   12302 done
   12303   done
   12304 IFS=$as_save_IFS
   12305 
   12306   ;;
   12307 esac
   12308 fi
   12309 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   12310 if test -n "$PKG_CONFIG"; then
   12311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   12312 $as_echo "$PKG_CONFIG" >&6; }
   12313 else
   12314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12315 $as_echo "no" >&6; }
   12316 fi
   12317 
   12318 
   12319 fi
   12320 if test -z "$ac_cv_path_PKG_CONFIG"; then
   12321   ac_pt_PKG_CONFIG=$PKG_CONFIG
   12322   # Extract the first word of "pkg-config", so it can be a program name with args.
   12323 set dummy pkg-config; ac_word=$2
   12324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12325 $as_echo_n "checking for $ac_word... " >&6; }
   12326 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   12327   $as_echo_n "(cached) " >&6
   12328 else
   12329   case $ac_pt_PKG_CONFIG in
   12330   [\\/]* | ?:[\\/]*)
   12331   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   12332   ;;
   12333   *)
   12334   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12335 for as_dir in $PATH
   12336 do
   12337   IFS=$as_save_IFS
   12338   test -z "$as_dir" && as_dir=.
   12339     for ac_exec_ext in '' $ac_executable_extensions; do
   12340   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12341     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12342     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12343     break 2
   12344   fi
   12345 done
   12346   done
   12347 IFS=$as_save_IFS
   12348 
   12349   ;;
   12350 esac
   12351 fi
   12352 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   12353 if test -n "$ac_pt_PKG_CONFIG"; then
   12354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   12355 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   12356 else
   12357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12358 $as_echo "no" >&6; }
   12359 fi
   12360 
   12361   if test "x$ac_pt_PKG_CONFIG" = x; then
   12362     PKG_CONFIG=""
   12363   else
   12364     case $cross_compiling:$ac_tool_warned in
   12365 yes:)
   12366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12367 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12368 ac_tool_warned=yes ;;
   12369 esac
   12370     PKG_CONFIG=$ac_pt_PKG_CONFIG
   12371   fi
   12372 else
   12373   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   12374 fi
   12375 
   12376 fi
   12377 if test -n "$PKG_CONFIG"; then
   12378 	_pkg_min_version=0.9.0
   12379 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   12380 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   12381 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   12382 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12383 $as_echo "yes" >&6; }
   12384 	else
   12385 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12386 $as_echo "no" >&6; }
   12387 		PKG_CONFIG=""
   12388 	fi
   12389 fi
   12390 
   12391 
   12392 
   12393 
   12394 
   12395 # Check whether --enable-selective-werror was given.
   12396 if test "${enable_selective_werror+set}" = set; then :
   12397   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   12398 else
   12399   SELECTIVE_WERROR=yes
   12400 fi
   12401 
   12402 
   12403 
   12404 
   12405 
   12406 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   12407 if test "x$SUNCC" = "xyes"; then
   12408     BASE_CFLAGS="-v"
   12409 else
   12410     BASE_CFLAGS=""
   12411 fi
   12412 
   12413 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   12414 
   12415 
   12416 
   12417 
   12418 
   12419 
   12420 
   12421 
   12422 
   12423 
   12424 
   12425 
   12426 
   12427 xorg_testset_save_CFLAGS="$CFLAGS"
   12428 
   12429 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12430 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12431 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12432 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12433 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12434   $as_echo_n "(cached) " >&6
   12435 else
   12436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12437 /* end confdefs.h.  */
   12438 int i;
   12439 _ACEOF
   12440 if ac_fn_c_try_compile "$LINENO"; then :
   12441   xorg_cv_cc_flag_unknown_warning_option=yes
   12442 else
   12443   xorg_cv_cc_flag_unknown_warning_option=no
   12444 fi
   12445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12446 fi
   12447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12448 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12449 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12450 	CFLAGS="$xorg_testset_save_CFLAGS"
   12451 fi
   12452 
   12453 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12454 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12455 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12456 	fi
   12457 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12458 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12459 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12460 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12461   $as_echo_n "(cached) " >&6
   12462 else
   12463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12464 /* end confdefs.h.  */
   12465 int i;
   12466 _ACEOF
   12467 if ac_fn_c_try_compile "$LINENO"; then :
   12468   xorg_cv_cc_flag_unused_command_line_argument=yes
   12469 else
   12470   xorg_cv_cc_flag_unused_command_line_argument=no
   12471 fi
   12472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12473 fi
   12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12475 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12476 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12477 	CFLAGS="$xorg_testset_save_CFLAGS"
   12478 fi
   12479 
   12480 found="no"
   12481 
   12482 	if test $found = "no" ; then
   12483 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12484 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12485 		fi
   12486 
   12487 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12488 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12489 		fi
   12490 
   12491 		CFLAGS="$CFLAGS -Wall"
   12492 
   12493 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   12494 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   12495 		cacheid=xorg_cv_cc_flag__Wall
   12496 		if eval \${$cacheid+:} false; then :
   12497   $as_echo_n "(cached) " >&6
   12498 else
   12499   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12500 /* end confdefs.h.  */
   12501 int i;
   12502 int
   12503 main ()
   12504 {
   12505 
   12506   ;
   12507   return 0;
   12508 }
   12509 _ACEOF
   12510 if ac_fn_c_try_link "$LINENO"; then :
   12511   eval $cacheid=yes
   12512 else
   12513   eval $cacheid=no
   12514 fi
   12515 rm -f core conftest.err conftest.$ac_objext \
   12516     conftest$ac_exeext conftest.$ac_ext
   12517 fi
   12518 
   12519 
   12520 		CFLAGS="$xorg_testset_save_CFLAGS"
   12521 
   12522 		eval supported=\$$cacheid
   12523 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12524 $as_echo "$supported" >&6; }
   12525 		if test "$supported" = "yes" ; then
   12526 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   12527 			found="yes"
   12528 		fi
   12529 	fi
   12530 
   12531 
   12532 
   12533 
   12534 
   12535 
   12536 
   12537 
   12538 
   12539 
   12540 
   12541 
   12542 
   12543 
   12544 
   12545 xorg_testset_save_CFLAGS="$CFLAGS"
   12546 
   12547 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12548 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12549 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12550 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12551 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12552   $as_echo_n "(cached) " >&6
   12553 else
   12554   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12555 /* end confdefs.h.  */
   12556 int i;
   12557 _ACEOF
   12558 if ac_fn_c_try_compile "$LINENO"; then :
   12559   xorg_cv_cc_flag_unknown_warning_option=yes
   12560 else
   12561   xorg_cv_cc_flag_unknown_warning_option=no
   12562 fi
   12563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12564 fi
   12565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12566 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12567 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12568 	CFLAGS="$xorg_testset_save_CFLAGS"
   12569 fi
   12570 
   12571 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12572 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12573 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12574 	fi
   12575 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12576 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12577 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12578 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12579   $as_echo_n "(cached) " >&6
   12580 else
   12581   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12582 /* end confdefs.h.  */
   12583 int i;
   12584 _ACEOF
   12585 if ac_fn_c_try_compile "$LINENO"; then :
   12586   xorg_cv_cc_flag_unused_command_line_argument=yes
   12587 else
   12588   xorg_cv_cc_flag_unused_command_line_argument=no
   12589 fi
   12590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12591 fi
   12592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12593 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12594 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12595 	CFLAGS="$xorg_testset_save_CFLAGS"
   12596 fi
   12597 
   12598 found="no"
   12599 
   12600 	if test $found = "no" ; then
   12601 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12602 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12603 		fi
   12604 
   12605 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12606 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12607 		fi
   12608 
   12609 		CFLAGS="$CFLAGS -Wpointer-arith"
   12610 
   12611 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   12612 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   12613 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   12614 		if eval \${$cacheid+:} false; then :
   12615   $as_echo_n "(cached) " >&6
   12616 else
   12617   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12618 /* end confdefs.h.  */
   12619 int i;
   12620 int
   12621 main ()
   12622 {
   12623 
   12624   ;
   12625   return 0;
   12626 }
   12627 _ACEOF
   12628 if ac_fn_c_try_link "$LINENO"; then :
   12629   eval $cacheid=yes
   12630 else
   12631   eval $cacheid=no
   12632 fi
   12633 rm -f core conftest.err conftest.$ac_objext \
   12634     conftest$ac_exeext conftest.$ac_ext
   12635 fi
   12636 
   12637 
   12638 		CFLAGS="$xorg_testset_save_CFLAGS"
   12639 
   12640 		eval supported=\$$cacheid
   12641 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12642 $as_echo "$supported" >&6; }
   12643 		if test "$supported" = "yes" ; then
   12644 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   12645 			found="yes"
   12646 		fi
   12647 	fi
   12648 
   12649 
   12650 
   12651 
   12652 
   12653 
   12654 
   12655 
   12656 
   12657 
   12658 
   12659 
   12660 
   12661 
   12662 
   12663 xorg_testset_save_CFLAGS="$CFLAGS"
   12664 
   12665 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12666 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12667 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12668 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12669 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12670   $as_echo_n "(cached) " >&6
   12671 else
   12672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12673 /* end confdefs.h.  */
   12674 int i;
   12675 _ACEOF
   12676 if ac_fn_c_try_compile "$LINENO"; then :
   12677   xorg_cv_cc_flag_unknown_warning_option=yes
   12678 else
   12679   xorg_cv_cc_flag_unknown_warning_option=no
   12680 fi
   12681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12682 fi
   12683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12684 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12685 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12686 	CFLAGS="$xorg_testset_save_CFLAGS"
   12687 fi
   12688 
   12689 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12690 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12691 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12692 	fi
   12693 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12694 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12695 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12696 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12697   $as_echo_n "(cached) " >&6
   12698 else
   12699   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12700 /* end confdefs.h.  */
   12701 int i;
   12702 _ACEOF
   12703 if ac_fn_c_try_compile "$LINENO"; then :
   12704   xorg_cv_cc_flag_unused_command_line_argument=yes
   12705 else
   12706   xorg_cv_cc_flag_unused_command_line_argument=no
   12707 fi
   12708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12709 fi
   12710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12711 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12712 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12713 	CFLAGS="$xorg_testset_save_CFLAGS"
   12714 fi
   12715 
   12716 found="no"
   12717 
   12718 	if test $found = "no" ; then
   12719 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12720 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12721 		fi
   12722 
   12723 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12724 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12725 		fi
   12726 
   12727 		CFLAGS="$CFLAGS -Wmissing-declarations"
   12728 
   12729 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   12730 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   12731 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   12732 		if eval \${$cacheid+:} false; then :
   12733   $as_echo_n "(cached) " >&6
   12734 else
   12735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12736 /* end confdefs.h.  */
   12737 int i;
   12738 int
   12739 main ()
   12740 {
   12741 
   12742   ;
   12743   return 0;
   12744 }
   12745 _ACEOF
   12746 if ac_fn_c_try_link "$LINENO"; then :
   12747   eval $cacheid=yes
   12748 else
   12749   eval $cacheid=no
   12750 fi
   12751 rm -f core conftest.err conftest.$ac_objext \
   12752     conftest$ac_exeext conftest.$ac_ext
   12753 fi
   12754 
   12755 
   12756 		CFLAGS="$xorg_testset_save_CFLAGS"
   12757 
   12758 		eval supported=\$$cacheid
   12759 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12760 $as_echo "$supported" >&6; }
   12761 		if test "$supported" = "yes" ; then
   12762 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   12763 			found="yes"
   12764 		fi
   12765 	fi
   12766 
   12767 
   12768 
   12769 
   12770 
   12771 
   12772 
   12773 
   12774 
   12775 
   12776 
   12777 
   12778 
   12779 
   12780 
   12781 xorg_testset_save_CFLAGS="$CFLAGS"
   12782 
   12783 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12784 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12785 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12786 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12787 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12788   $as_echo_n "(cached) " >&6
   12789 else
   12790   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12791 /* end confdefs.h.  */
   12792 int i;
   12793 _ACEOF
   12794 if ac_fn_c_try_compile "$LINENO"; then :
   12795   xorg_cv_cc_flag_unknown_warning_option=yes
   12796 else
   12797   xorg_cv_cc_flag_unknown_warning_option=no
   12798 fi
   12799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12800 fi
   12801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12802 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12803 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12804 	CFLAGS="$xorg_testset_save_CFLAGS"
   12805 fi
   12806 
   12807 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12808 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12809 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12810 	fi
   12811 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12812 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12813 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12814 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12815   $as_echo_n "(cached) " >&6
   12816 else
   12817   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12818 /* end confdefs.h.  */
   12819 int i;
   12820 _ACEOF
   12821 if ac_fn_c_try_compile "$LINENO"; then :
   12822   xorg_cv_cc_flag_unused_command_line_argument=yes
   12823 else
   12824   xorg_cv_cc_flag_unused_command_line_argument=no
   12825 fi
   12826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12827 fi
   12828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12829 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12830 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12831 	CFLAGS="$xorg_testset_save_CFLAGS"
   12832 fi
   12833 
   12834 found="no"
   12835 
   12836 	if test $found = "no" ; then
   12837 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12838 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12839 		fi
   12840 
   12841 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12842 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12843 		fi
   12844 
   12845 		CFLAGS="$CFLAGS -Wformat=2"
   12846 
   12847 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   12848 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   12849 		cacheid=xorg_cv_cc_flag__Wformat_2
   12850 		if eval \${$cacheid+:} false; then :
   12851   $as_echo_n "(cached) " >&6
   12852 else
   12853   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12854 /* end confdefs.h.  */
   12855 int i;
   12856 int
   12857 main ()
   12858 {
   12859 
   12860   ;
   12861   return 0;
   12862 }
   12863 _ACEOF
   12864 if ac_fn_c_try_link "$LINENO"; then :
   12865   eval $cacheid=yes
   12866 else
   12867   eval $cacheid=no
   12868 fi
   12869 rm -f core conftest.err conftest.$ac_objext \
   12870     conftest$ac_exeext conftest.$ac_ext
   12871 fi
   12872 
   12873 
   12874 		CFLAGS="$xorg_testset_save_CFLAGS"
   12875 
   12876 		eval supported=\$$cacheid
   12877 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12878 $as_echo "$supported" >&6; }
   12879 		if test "$supported" = "yes" ; then
   12880 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   12881 			found="yes"
   12882 		fi
   12883 	fi
   12884 
   12885 	if test $found = "no" ; then
   12886 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12887 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12888 		fi
   12889 
   12890 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12891 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12892 		fi
   12893 
   12894 		CFLAGS="$CFLAGS -Wformat"
   12895 
   12896 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   12897 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   12898 		cacheid=xorg_cv_cc_flag__Wformat
   12899 		if eval \${$cacheid+:} false; then :
   12900   $as_echo_n "(cached) " >&6
   12901 else
   12902   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12903 /* end confdefs.h.  */
   12904 int i;
   12905 int
   12906 main ()
   12907 {
   12908 
   12909   ;
   12910   return 0;
   12911 }
   12912 _ACEOF
   12913 if ac_fn_c_try_link "$LINENO"; then :
   12914   eval $cacheid=yes
   12915 else
   12916   eval $cacheid=no
   12917 fi
   12918 rm -f core conftest.err conftest.$ac_objext \
   12919     conftest$ac_exeext conftest.$ac_ext
   12920 fi
   12921 
   12922 
   12923 		CFLAGS="$xorg_testset_save_CFLAGS"
   12924 
   12925 		eval supported=\$$cacheid
   12926 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12927 $as_echo "$supported" >&6; }
   12928 		if test "$supported" = "yes" ; then
   12929 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   12930 			found="yes"
   12931 		fi
   12932 	fi
   12933 
   12934 
   12935 
   12936 
   12937 
   12938 
   12939 
   12940 
   12941 
   12942 
   12943 
   12944 
   12945 
   12946 
   12947 
   12948 
   12949 
   12950 xorg_testset_save_CFLAGS="$CFLAGS"
   12951 
   12952 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12953 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12954 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12955 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12956 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12957   $as_echo_n "(cached) " >&6
   12958 else
   12959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12960 /* end confdefs.h.  */
   12961 int i;
   12962 _ACEOF
   12963 if ac_fn_c_try_compile "$LINENO"; then :
   12964   xorg_cv_cc_flag_unknown_warning_option=yes
   12965 else
   12966   xorg_cv_cc_flag_unknown_warning_option=no
   12967 fi
   12968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12969 fi
   12970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12971 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12972 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12973 	CFLAGS="$xorg_testset_save_CFLAGS"
   12974 fi
   12975 
   12976 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12977 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12978 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12979 	fi
   12980 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12981 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12982 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12983 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12984   $as_echo_n "(cached) " >&6
   12985 else
   12986   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12987 /* end confdefs.h.  */
   12988 int i;
   12989 _ACEOF
   12990 if ac_fn_c_try_compile "$LINENO"; then :
   12991   xorg_cv_cc_flag_unused_command_line_argument=yes
   12992 else
   12993   xorg_cv_cc_flag_unused_command_line_argument=no
   12994 fi
   12995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12996 fi
   12997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12998 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12999 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13000 	CFLAGS="$xorg_testset_save_CFLAGS"
   13001 fi
   13002 
   13003 found="no"
   13004 
   13005 	if test $found = "no" ; then
   13006 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13007 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13008 		fi
   13009 
   13010 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13011 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13012 		fi
   13013 
   13014 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   13015 
   13016 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   13017 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   13018 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   13019 		if eval \${$cacheid+:} false; then :
   13020   $as_echo_n "(cached) " >&6
   13021 else
   13022   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13023 /* end confdefs.h.  */
   13024 int i;
   13025 int
   13026 main ()
   13027 {
   13028 
   13029   ;
   13030   return 0;
   13031 }
   13032 _ACEOF
   13033 if ac_fn_c_try_link "$LINENO"; then :
   13034   eval $cacheid=yes
   13035 else
   13036   eval $cacheid=no
   13037 fi
   13038 rm -f core conftest.err conftest.$ac_objext \
   13039     conftest$ac_exeext conftest.$ac_ext
   13040 fi
   13041 
   13042 
   13043 		CFLAGS="$xorg_testset_save_CFLAGS"
   13044 
   13045 		eval supported=\$$cacheid
   13046 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13047 $as_echo "$supported" >&6; }
   13048 		if test "$supported" = "yes" ; then
   13049 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   13050 			found="yes"
   13051 		fi
   13052 	fi
   13053 
   13054 
   13055 
   13056 
   13057 
   13058 
   13059 
   13060 
   13061 
   13062 
   13063 
   13064 
   13065 
   13066 
   13067 
   13068 xorg_testset_save_CFLAGS="$CFLAGS"
   13069 
   13070 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13071 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13072 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13073 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13074 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13075   $as_echo_n "(cached) " >&6
   13076 else
   13077   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13078 /* end confdefs.h.  */
   13079 int i;
   13080 _ACEOF
   13081 if ac_fn_c_try_compile "$LINENO"; then :
   13082   xorg_cv_cc_flag_unknown_warning_option=yes
   13083 else
   13084   xorg_cv_cc_flag_unknown_warning_option=no
   13085 fi
   13086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13087 fi
   13088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13089 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13090 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13091 	CFLAGS="$xorg_testset_save_CFLAGS"
   13092 fi
   13093 
   13094 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13095 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13096 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13097 	fi
   13098 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13099 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13100 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13101 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13102   $as_echo_n "(cached) " >&6
   13103 else
   13104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13105 /* end confdefs.h.  */
   13106 int i;
   13107 _ACEOF
   13108 if ac_fn_c_try_compile "$LINENO"; then :
   13109   xorg_cv_cc_flag_unused_command_line_argument=yes
   13110 else
   13111   xorg_cv_cc_flag_unused_command_line_argument=no
   13112 fi
   13113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13114 fi
   13115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13116 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13117 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13118 	CFLAGS="$xorg_testset_save_CFLAGS"
   13119 fi
   13120 
   13121 found="no"
   13122 
   13123 	if test $found = "no" ; then
   13124 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13125 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13126 		fi
   13127 
   13128 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13129 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13130 		fi
   13131 
   13132 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   13133 
   13134 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   13135 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   13136 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   13137 		if eval \${$cacheid+:} false; then :
   13138   $as_echo_n "(cached) " >&6
   13139 else
   13140   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13141 /* end confdefs.h.  */
   13142 int i;
   13143 int
   13144 main ()
   13145 {
   13146 
   13147   ;
   13148   return 0;
   13149 }
   13150 _ACEOF
   13151 if ac_fn_c_try_link "$LINENO"; then :
   13152   eval $cacheid=yes
   13153 else
   13154   eval $cacheid=no
   13155 fi
   13156 rm -f core conftest.err conftest.$ac_objext \
   13157     conftest$ac_exeext conftest.$ac_ext
   13158 fi
   13159 
   13160 
   13161 		CFLAGS="$xorg_testset_save_CFLAGS"
   13162 
   13163 		eval supported=\$$cacheid
   13164 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13165 $as_echo "$supported" >&6; }
   13166 		if test "$supported" = "yes" ; then
   13167 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   13168 			found="yes"
   13169 		fi
   13170 	fi
   13171 
   13172 
   13173 
   13174 
   13175 
   13176 
   13177 
   13178 
   13179 
   13180 
   13181 
   13182 
   13183 
   13184 
   13185 
   13186 xorg_testset_save_CFLAGS="$CFLAGS"
   13187 
   13188 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13189 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13190 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13191 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13192 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13193   $as_echo_n "(cached) " >&6
   13194 else
   13195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13196 /* end confdefs.h.  */
   13197 int i;
   13198 _ACEOF
   13199 if ac_fn_c_try_compile "$LINENO"; then :
   13200   xorg_cv_cc_flag_unknown_warning_option=yes
   13201 else
   13202   xorg_cv_cc_flag_unknown_warning_option=no
   13203 fi
   13204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13205 fi
   13206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13207 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13208 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13209 	CFLAGS="$xorg_testset_save_CFLAGS"
   13210 fi
   13211 
   13212 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13213 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13214 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13215 	fi
   13216 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13217 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13218 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13219 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13220   $as_echo_n "(cached) " >&6
   13221 else
   13222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13223 /* end confdefs.h.  */
   13224 int i;
   13225 _ACEOF
   13226 if ac_fn_c_try_compile "$LINENO"; then :
   13227   xorg_cv_cc_flag_unused_command_line_argument=yes
   13228 else
   13229   xorg_cv_cc_flag_unused_command_line_argument=no
   13230 fi
   13231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13232 fi
   13233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13234 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13235 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13236 	CFLAGS="$xorg_testset_save_CFLAGS"
   13237 fi
   13238 
   13239 found="no"
   13240 
   13241 	if test $found = "no" ; then
   13242 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13243 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13244 		fi
   13245 
   13246 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13247 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13248 		fi
   13249 
   13250 		CFLAGS="$CFLAGS -Wnested-externs"
   13251 
   13252 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   13253 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   13254 		cacheid=xorg_cv_cc_flag__Wnested_externs
   13255 		if eval \${$cacheid+:} false; then :
   13256   $as_echo_n "(cached) " >&6
   13257 else
   13258   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13259 /* end confdefs.h.  */
   13260 int i;
   13261 int
   13262 main ()
   13263 {
   13264 
   13265   ;
   13266   return 0;
   13267 }
   13268 _ACEOF
   13269 if ac_fn_c_try_link "$LINENO"; then :
   13270   eval $cacheid=yes
   13271 else
   13272   eval $cacheid=no
   13273 fi
   13274 rm -f core conftest.err conftest.$ac_objext \
   13275     conftest$ac_exeext conftest.$ac_ext
   13276 fi
   13277 
   13278 
   13279 		CFLAGS="$xorg_testset_save_CFLAGS"
   13280 
   13281 		eval supported=\$$cacheid
   13282 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13283 $as_echo "$supported" >&6; }
   13284 		if test "$supported" = "yes" ; then
   13285 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   13286 			found="yes"
   13287 		fi
   13288 	fi
   13289 
   13290 
   13291 
   13292 
   13293 
   13294 
   13295 
   13296 
   13297 
   13298 
   13299 
   13300 
   13301 
   13302 
   13303 
   13304 xorg_testset_save_CFLAGS="$CFLAGS"
   13305 
   13306 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13307 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13308 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13309 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13310 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13311   $as_echo_n "(cached) " >&6
   13312 else
   13313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13314 /* end confdefs.h.  */
   13315 int i;
   13316 _ACEOF
   13317 if ac_fn_c_try_compile "$LINENO"; then :
   13318   xorg_cv_cc_flag_unknown_warning_option=yes
   13319 else
   13320   xorg_cv_cc_flag_unknown_warning_option=no
   13321 fi
   13322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13323 fi
   13324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13325 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13326 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13327 	CFLAGS="$xorg_testset_save_CFLAGS"
   13328 fi
   13329 
   13330 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13331 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13332 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13333 	fi
   13334 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13335 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13336 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13337 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13338   $as_echo_n "(cached) " >&6
   13339 else
   13340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13341 /* end confdefs.h.  */
   13342 int i;
   13343 _ACEOF
   13344 if ac_fn_c_try_compile "$LINENO"; then :
   13345   xorg_cv_cc_flag_unused_command_line_argument=yes
   13346 else
   13347   xorg_cv_cc_flag_unused_command_line_argument=no
   13348 fi
   13349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13350 fi
   13351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13352 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13353 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13354 	CFLAGS="$xorg_testset_save_CFLAGS"
   13355 fi
   13356 
   13357 found="no"
   13358 
   13359 	if test $found = "no" ; then
   13360 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13361 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13362 		fi
   13363 
   13364 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13365 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13366 		fi
   13367 
   13368 		CFLAGS="$CFLAGS -Wbad-function-cast"
   13369 
   13370 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   13371 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   13372 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   13373 		if eval \${$cacheid+:} false; then :
   13374   $as_echo_n "(cached) " >&6
   13375 else
   13376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13377 /* end confdefs.h.  */
   13378 int i;
   13379 int
   13380 main ()
   13381 {
   13382 
   13383   ;
   13384   return 0;
   13385 }
   13386 _ACEOF
   13387 if ac_fn_c_try_link "$LINENO"; then :
   13388   eval $cacheid=yes
   13389 else
   13390   eval $cacheid=no
   13391 fi
   13392 rm -f core conftest.err conftest.$ac_objext \
   13393     conftest$ac_exeext conftest.$ac_ext
   13394 fi
   13395 
   13396 
   13397 		CFLAGS="$xorg_testset_save_CFLAGS"
   13398 
   13399 		eval supported=\$$cacheid
   13400 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13401 $as_echo "$supported" >&6; }
   13402 		if test "$supported" = "yes" ; then
   13403 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   13404 			found="yes"
   13405 		fi
   13406 	fi
   13407 
   13408 
   13409 
   13410 
   13411 
   13412 
   13413 
   13414 
   13415 
   13416 
   13417 
   13418 
   13419 
   13420 
   13421 
   13422 xorg_testset_save_CFLAGS="$CFLAGS"
   13423 
   13424 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13425 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13426 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13427 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13428 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13429   $as_echo_n "(cached) " >&6
   13430 else
   13431   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13432 /* end confdefs.h.  */
   13433 int i;
   13434 _ACEOF
   13435 if ac_fn_c_try_compile "$LINENO"; then :
   13436   xorg_cv_cc_flag_unknown_warning_option=yes
   13437 else
   13438   xorg_cv_cc_flag_unknown_warning_option=no
   13439 fi
   13440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13441 fi
   13442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13443 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13444 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13445 	CFLAGS="$xorg_testset_save_CFLAGS"
   13446 fi
   13447 
   13448 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13449 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13450 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13451 	fi
   13452 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13453 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13454 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13455 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13456   $as_echo_n "(cached) " >&6
   13457 else
   13458   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13459 /* end confdefs.h.  */
   13460 int i;
   13461 _ACEOF
   13462 if ac_fn_c_try_compile "$LINENO"; then :
   13463   xorg_cv_cc_flag_unused_command_line_argument=yes
   13464 else
   13465   xorg_cv_cc_flag_unused_command_line_argument=no
   13466 fi
   13467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13468 fi
   13469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13470 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13471 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13472 	CFLAGS="$xorg_testset_save_CFLAGS"
   13473 fi
   13474 
   13475 found="no"
   13476 
   13477 	if test $found = "no" ; then
   13478 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13479 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13480 		fi
   13481 
   13482 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13483 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13484 		fi
   13485 
   13486 		CFLAGS="$CFLAGS -Wold-style-definition"
   13487 
   13488 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   13489 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   13490 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   13491 		if eval \${$cacheid+:} false; then :
   13492   $as_echo_n "(cached) " >&6
   13493 else
   13494   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13495 /* end confdefs.h.  */
   13496 int i;
   13497 int
   13498 main ()
   13499 {
   13500 
   13501   ;
   13502   return 0;
   13503 }
   13504 _ACEOF
   13505 if ac_fn_c_try_link "$LINENO"; then :
   13506   eval $cacheid=yes
   13507 else
   13508   eval $cacheid=no
   13509 fi
   13510 rm -f core conftest.err conftest.$ac_objext \
   13511     conftest$ac_exeext conftest.$ac_ext
   13512 fi
   13513 
   13514 
   13515 		CFLAGS="$xorg_testset_save_CFLAGS"
   13516 
   13517 		eval supported=\$$cacheid
   13518 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13519 $as_echo "$supported" >&6; }
   13520 		if test "$supported" = "yes" ; then
   13521 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   13522 			found="yes"
   13523 		fi
   13524 	fi
   13525 
   13526 	if test $found = "no" ; then
   13527 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13528 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13529 		fi
   13530 
   13531 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13532 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13533 		fi
   13534 
   13535 		CFLAGS="$CFLAGS -fd"
   13536 
   13537 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   13538 $as_echo_n "checking if $CC supports -fd... " >&6; }
   13539 		cacheid=xorg_cv_cc_flag__fd
   13540 		if eval \${$cacheid+:} false; then :
   13541   $as_echo_n "(cached) " >&6
   13542 else
   13543   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13544 /* end confdefs.h.  */
   13545 int i;
   13546 int
   13547 main ()
   13548 {
   13549 
   13550   ;
   13551   return 0;
   13552 }
   13553 _ACEOF
   13554 if ac_fn_c_try_link "$LINENO"; then :
   13555   eval $cacheid=yes
   13556 else
   13557   eval $cacheid=no
   13558 fi
   13559 rm -f core conftest.err conftest.$ac_objext \
   13560     conftest$ac_exeext conftest.$ac_ext
   13561 fi
   13562 
   13563 
   13564 		CFLAGS="$xorg_testset_save_CFLAGS"
   13565 
   13566 		eval supported=\$$cacheid
   13567 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13568 $as_echo "$supported" >&6; }
   13569 		if test "$supported" = "yes" ; then
   13570 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   13571 			found="yes"
   13572 		fi
   13573 	fi
   13574 
   13575 
   13576 
   13577 
   13578 
   13579 
   13580 
   13581 
   13582 
   13583 
   13584 
   13585 
   13586 
   13587 
   13588 
   13589 xorg_testset_save_CFLAGS="$CFLAGS"
   13590 
   13591 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13592 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13593 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13594 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13595 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13596   $as_echo_n "(cached) " >&6
   13597 else
   13598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13599 /* end confdefs.h.  */
   13600 int i;
   13601 _ACEOF
   13602 if ac_fn_c_try_compile "$LINENO"; then :
   13603   xorg_cv_cc_flag_unknown_warning_option=yes
   13604 else
   13605   xorg_cv_cc_flag_unknown_warning_option=no
   13606 fi
   13607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13608 fi
   13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13610 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13611 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13612 	CFLAGS="$xorg_testset_save_CFLAGS"
   13613 fi
   13614 
   13615 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13616 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13617 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13618 	fi
   13619 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13620 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13621 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13622 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13623   $as_echo_n "(cached) " >&6
   13624 else
   13625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13626 /* end confdefs.h.  */
   13627 int i;
   13628 _ACEOF
   13629 if ac_fn_c_try_compile "$LINENO"; then :
   13630   xorg_cv_cc_flag_unused_command_line_argument=yes
   13631 else
   13632   xorg_cv_cc_flag_unused_command_line_argument=no
   13633 fi
   13634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13635 fi
   13636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13637 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13638 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13639 	CFLAGS="$xorg_testset_save_CFLAGS"
   13640 fi
   13641 
   13642 found="no"
   13643 
   13644 	if test $found = "no" ; then
   13645 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13646 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13647 		fi
   13648 
   13649 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13650 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13651 		fi
   13652 
   13653 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   13654 
   13655 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   13656 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   13657 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   13658 		if eval \${$cacheid+:} false; then :
   13659   $as_echo_n "(cached) " >&6
   13660 else
   13661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13662 /* end confdefs.h.  */
   13663 int i;
   13664 int
   13665 main ()
   13666 {
   13667 
   13668   ;
   13669   return 0;
   13670 }
   13671 _ACEOF
   13672 if ac_fn_c_try_link "$LINENO"; then :
   13673   eval $cacheid=yes
   13674 else
   13675   eval $cacheid=no
   13676 fi
   13677 rm -f core conftest.err conftest.$ac_objext \
   13678     conftest$ac_exeext conftest.$ac_ext
   13679 fi
   13680 
   13681 
   13682 		CFLAGS="$xorg_testset_save_CFLAGS"
   13683 
   13684 		eval supported=\$$cacheid
   13685 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13686 $as_echo "$supported" >&6; }
   13687 		if test "$supported" = "yes" ; then
   13688 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   13689 			found="yes"
   13690 		fi
   13691 	fi
   13692 
   13693 
   13694 
   13695 
   13696 
   13697 # This chunk adds additional warnings that could catch undesired effects.
   13698 
   13699 
   13700 
   13701 
   13702 
   13703 
   13704 
   13705 
   13706 
   13707 
   13708 
   13709 
   13710 
   13711 xorg_testset_save_CFLAGS="$CFLAGS"
   13712 
   13713 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13714 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13715 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13716 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13717 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13718   $as_echo_n "(cached) " >&6
   13719 else
   13720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13721 /* end confdefs.h.  */
   13722 int i;
   13723 _ACEOF
   13724 if ac_fn_c_try_compile "$LINENO"; then :
   13725   xorg_cv_cc_flag_unknown_warning_option=yes
   13726 else
   13727   xorg_cv_cc_flag_unknown_warning_option=no
   13728 fi
   13729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13730 fi
   13731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13732 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13733 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13734 	CFLAGS="$xorg_testset_save_CFLAGS"
   13735 fi
   13736 
   13737 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13738 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13739 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13740 	fi
   13741 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13742 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13743 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13744 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13745   $as_echo_n "(cached) " >&6
   13746 else
   13747   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13748 /* end confdefs.h.  */
   13749 int i;
   13750 _ACEOF
   13751 if ac_fn_c_try_compile "$LINENO"; then :
   13752   xorg_cv_cc_flag_unused_command_line_argument=yes
   13753 else
   13754   xorg_cv_cc_flag_unused_command_line_argument=no
   13755 fi
   13756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13757 fi
   13758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13759 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13760 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13761 	CFLAGS="$xorg_testset_save_CFLAGS"
   13762 fi
   13763 
   13764 found="no"
   13765 
   13766 	if test $found = "no" ; then
   13767 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13768 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13769 		fi
   13770 
   13771 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13772 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13773 		fi
   13774 
   13775 		CFLAGS="$CFLAGS -Wunused"
   13776 
   13777 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   13778 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   13779 		cacheid=xorg_cv_cc_flag__Wunused
   13780 		if eval \${$cacheid+:} false; then :
   13781   $as_echo_n "(cached) " >&6
   13782 else
   13783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13784 /* end confdefs.h.  */
   13785 int i;
   13786 int
   13787 main ()
   13788 {
   13789 
   13790   ;
   13791   return 0;
   13792 }
   13793 _ACEOF
   13794 if ac_fn_c_try_link "$LINENO"; then :
   13795   eval $cacheid=yes
   13796 else
   13797   eval $cacheid=no
   13798 fi
   13799 rm -f core conftest.err conftest.$ac_objext \
   13800     conftest$ac_exeext conftest.$ac_ext
   13801 fi
   13802 
   13803 
   13804 		CFLAGS="$xorg_testset_save_CFLAGS"
   13805 
   13806 		eval supported=\$$cacheid
   13807 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13808 $as_echo "$supported" >&6; }
   13809 		if test "$supported" = "yes" ; then
   13810 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   13811 			found="yes"
   13812 		fi
   13813 	fi
   13814 
   13815 
   13816 
   13817 
   13818 
   13819 
   13820 
   13821 
   13822 
   13823 
   13824 
   13825 
   13826 
   13827 
   13828 
   13829 xorg_testset_save_CFLAGS="$CFLAGS"
   13830 
   13831 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13832 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13833 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13834 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13835 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13836   $as_echo_n "(cached) " >&6
   13837 else
   13838   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13839 /* end confdefs.h.  */
   13840 int i;
   13841 _ACEOF
   13842 if ac_fn_c_try_compile "$LINENO"; then :
   13843   xorg_cv_cc_flag_unknown_warning_option=yes
   13844 else
   13845   xorg_cv_cc_flag_unknown_warning_option=no
   13846 fi
   13847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13848 fi
   13849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13850 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13851 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13852 	CFLAGS="$xorg_testset_save_CFLAGS"
   13853 fi
   13854 
   13855 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13856 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13857 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13858 	fi
   13859 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13860 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13861 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13862 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13863   $as_echo_n "(cached) " >&6
   13864 else
   13865   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13866 /* end confdefs.h.  */
   13867 int i;
   13868 _ACEOF
   13869 if ac_fn_c_try_compile "$LINENO"; then :
   13870   xorg_cv_cc_flag_unused_command_line_argument=yes
   13871 else
   13872   xorg_cv_cc_flag_unused_command_line_argument=no
   13873 fi
   13874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13875 fi
   13876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13877 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13878 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13879 	CFLAGS="$xorg_testset_save_CFLAGS"
   13880 fi
   13881 
   13882 found="no"
   13883 
   13884 	if test $found = "no" ; then
   13885 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13886 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13887 		fi
   13888 
   13889 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13890 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13891 		fi
   13892 
   13893 		CFLAGS="$CFLAGS -Wuninitialized"
   13894 
   13895 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   13896 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   13897 		cacheid=xorg_cv_cc_flag__Wuninitialized
   13898 		if eval \${$cacheid+:} false; then :
   13899   $as_echo_n "(cached) " >&6
   13900 else
   13901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13902 /* end confdefs.h.  */
   13903 int i;
   13904 int
   13905 main ()
   13906 {
   13907 
   13908   ;
   13909   return 0;
   13910 }
   13911 _ACEOF
   13912 if ac_fn_c_try_link "$LINENO"; then :
   13913   eval $cacheid=yes
   13914 else
   13915   eval $cacheid=no
   13916 fi
   13917 rm -f core conftest.err conftest.$ac_objext \
   13918     conftest$ac_exeext conftest.$ac_ext
   13919 fi
   13920 
   13921 
   13922 		CFLAGS="$xorg_testset_save_CFLAGS"
   13923 
   13924 		eval supported=\$$cacheid
   13925 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13926 $as_echo "$supported" >&6; }
   13927 		if test "$supported" = "yes" ; then
   13928 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   13929 			found="yes"
   13930 		fi
   13931 	fi
   13932 
   13933 
   13934 
   13935 
   13936 
   13937 
   13938 
   13939 
   13940 
   13941 
   13942 
   13943 
   13944 
   13945 
   13946 
   13947 xorg_testset_save_CFLAGS="$CFLAGS"
   13948 
   13949 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13950 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13951 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13952 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13953 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13954   $as_echo_n "(cached) " >&6
   13955 else
   13956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13957 /* end confdefs.h.  */
   13958 int i;
   13959 _ACEOF
   13960 if ac_fn_c_try_compile "$LINENO"; then :
   13961   xorg_cv_cc_flag_unknown_warning_option=yes
   13962 else
   13963   xorg_cv_cc_flag_unknown_warning_option=no
   13964 fi
   13965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13966 fi
   13967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13968 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13969 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13970 	CFLAGS="$xorg_testset_save_CFLAGS"
   13971 fi
   13972 
   13973 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13974 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13975 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13976 	fi
   13977 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13978 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13979 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13980 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13981   $as_echo_n "(cached) " >&6
   13982 else
   13983   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13984 /* end confdefs.h.  */
   13985 int i;
   13986 _ACEOF
   13987 if ac_fn_c_try_compile "$LINENO"; then :
   13988   xorg_cv_cc_flag_unused_command_line_argument=yes
   13989 else
   13990   xorg_cv_cc_flag_unused_command_line_argument=no
   13991 fi
   13992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13993 fi
   13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13995 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13996 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13997 	CFLAGS="$xorg_testset_save_CFLAGS"
   13998 fi
   13999 
   14000 found="no"
   14001 
   14002 	if test $found = "no" ; then
   14003 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14004 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14005 		fi
   14006 
   14007 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14008 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14009 		fi
   14010 
   14011 		CFLAGS="$CFLAGS -Wshadow"
   14012 
   14013 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   14014 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   14015 		cacheid=xorg_cv_cc_flag__Wshadow
   14016 		if eval \${$cacheid+:} false; then :
   14017   $as_echo_n "(cached) " >&6
   14018 else
   14019   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14020 /* end confdefs.h.  */
   14021 int i;
   14022 int
   14023 main ()
   14024 {
   14025 
   14026   ;
   14027   return 0;
   14028 }
   14029 _ACEOF
   14030 if ac_fn_c_try_link "$LINENO"; then :
   14031   eval $cacheid=yes
   14032 else
   14033   eval $cacheid=no
   14034 fi
   14035 rm -f core conftest.err conftest.$ac_objext \
   14036     conftest$ac_exeext conftest.$ac_ext
   14037 fi
   14038 
   14039 
   14040 		CFLAGS="$xorg_testset_save_CFLAGS"
   14041 
   14042 		eval supported=\$$cacheid
   14043 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14044 $as_echo "$supported" >&6; }
   14045 		if test "$supported" = "yes" ; then
   14046 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   14047 			found="yes"
   14048 		fi
   14049 	fi
   14050 
   14051 
   14052 
   14053 
   14054 
   14055 
   14056 
   14057 
   14058 
   14059 
   14060 
   14061 
   14062 
   14063 
   14064 
   14065 xorg_testset_save_CFLAGS="$CFLAGS"
   14066 
   14067 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14068 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14069 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14070 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14071 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14072   $as_echo_n "(cached) " >&6
   14073 else
   14074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14075 /* end confdefs.h.  */
   14076 int i;
   14077 _ACEOF
   14078 if ac_fn_c_try_compile "$LINENO"; then :
   14079   xorg_cv_cc_flag_unknown_warning_option=yes
   14080 else
   14081   xorg_cv_cc_flag_unknown_warning_option=no
   14082 fi
   14083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14084 fi
   14085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14086 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14087 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14088 	CFLAGS="$xorg_testset_save_CFLAGS"
   14089 fi
   14090 
   14091 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14092 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14093 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14094 	fi
   14095 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14096 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14097 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14098 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14099   $as_echo_n "(cached) " >&6
   14100 else
   14101   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14102 /* end confdefs.h.  */
   14103 int i;
   14104 _ACEOF
   14105 if ac_fn_c_try_compile "$LINENO"; then :
   14106   xorg_cv_cc_flag_unused_command_line_argument=yes
   14107 else
   14108   xorg_cv_cc_flag_unused_command_line_argument=no
   14109 fi
   14110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14111 fi
   14112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14113 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14114 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14115 	CFLAGS="$xorg_testset_save_CFLAGS"
   14116 fi
   14117 
   14118 found="no"
   14119 
   14120 	if test $found = "no" ; then
   14121 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14122 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14123 		fi
   14124 
   14125 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14126 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14127 		fi
   14128 
   14129 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   14130 
   14131 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   14132 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   14133 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   14134 		if eval \${$cacheid+:} false; then :
   14135   $as_echo_n "(cached) " >&6
   14136 else
   14137   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14138 /* end confdefs.h.  */
   14139 int i;
   14140 int
   14141 main ()
   14142 {
   14143 
   14144   ;
   14145   return 0;
   14146 }
   14147 _ACEOF
   14148 if ac_fn_c_try_link "$LINENO"; then :
   14149   eval $cacheid=yes
   14150 else
   14151   eval $cacheid=no
   14152 fi
   14153 rm -f core conftest.err conftest.$ac_objext \
   14154     conftest$ac_exeext conftest.$ac_ext
   14155 fi
   14156 
   14157 
   14158 		CFLAGS="$xorg_testset_save_CFLAGS"
   14159 
   14160 		eval supported=\$$cacheid
   14161 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14162 $as_echo "$supported" >&6; }
   14163 		if test "$supported" = "yes" ; then
   14164 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   14165 			found="yes"
   14166 		fi
   14167 	fi
   14168 
   14169 
   14170 
   14171 
   14172 
   14173 
   14174 
   14175 
   14176 
   14177 
   14178 
   14179 
   14180 
   14181 
   14182 
   14183 xorg_testset_save_CFLAGS="$CFLAGS"
   14184 
   14185 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14186 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14187 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14188 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14189 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14190   $as_echo_n "(cached) " >&6
   14191 else
   14192   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14193 /* end confdefs.h.  */
   14194 int i;
   14195 _ACEOF
   14196 if ac_fn_c_try_compile "$LINENO"; then :
   14197   xorg_cv_cc_flag_unknown_warning_option=yes
   14198 else
   14199   xorg_cv_cc_flag_unknown_warning_option=no
   14200 fi
   14201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14202 fi
   14203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14204 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14205 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14206 	CFLAGS="$xorg_testset_save_CFLAGS"
   14207 fi
   14208 
   14209 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14210 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14211 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14212 	fi
   14213 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14214 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14215 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14216 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14217   $as_echo_n "(cached) " >&6
   14218 else
   14219   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14220 /* end confdefs.h.  */
   14221 int i;
   14222 _ACEOF
   14223 if ac_fn_c_try_compile "$LINENO"; then :
   14224   xorg_cv_cc_flag_unused_command_line_argument=yes
   14225 else
   14226   xorg_cv_cc_flag_unused_command_line_argument=no
   14227 fi
   14228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14229 fi
   14230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14231 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14232 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14233 	CFLAGS="$xorg_testset_save_CFLAGS"
   14234 fi
   14235 
   14236 found="no"
   14237 
   14238 	if test $found = "no" ; then
   14239 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14240 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14241 		fi
   14242 
   14243 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14244 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14245 		fi
   14246 
   14247 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   14248 
   14249 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   14250 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   14251 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   14252 		if eval \${$cacheid+:} false; then :
   14253   $as_echo_n "(cached) " >&6
   14254 else
   14255   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14256 /* end confdefs.h.  */
   14257 int i;
   14258 int
   14259 main ()
   14260 {
   14261 
   14262   ;
   14263   return 0;
   14264 }
   14265 _ACEOF
   14266 if ac_fn_c_try_link "$LINENO"; then :
   14267   eval $cacheid=yes
   14268 else
   14269   eval $cacheid=no
   14270 fi
   14271 rm -f core conftest.err conftest.$ac_objext \
   14272     conftest$ac_exeext conftest.$ac_ext
   14273 fi
   14274 
   14275 
   14276 		CFLAGS="$xorg_testset_save_CFLAGS"
   14277 
   14278 		eval supported=\$$cacheid
   14279 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14280 $as_echo "$supported" >&6; }
   14281 		if test "$supported" = "yes" ; then
   14282 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   14283 			found="yes"
   14284 		fi
   14285 	fi
   14286 
   14287 
   14288 
   14289 
   14290 
   14291 
   14292 
   14293 
   14294 
   14295 
   14296 
   14297 
   14298 
   14299 
   14300 
   14301 xorg_testset_save_CFLAGS="$CFLAGS"
   14302 
   14303 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14304 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14305 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14306 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14307 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14308   $as_echo_n "(cached) " >&6
   14309 else
   14310   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14311 /* end confdefs.h.  */
   14312 int i;
   14313 _ACEOF
   14314 if ac_fn_c_try_compile "$LINENO"; then :
   14315   xorg_cv_cc_flag_unknown_warning_option=yes
   14316 else
   14317   xorg_cv_cc_flag_unknown_warning_option=no
   14318 fi
   14319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14320 fi
   14321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14322 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14323 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14324 	CFLAGS="$xorg_testset_save_CFLAGS"
   14325 fi
   14326 
   14327 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14328 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14329 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14330 	fi
   14331 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14332 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14333 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14334 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14335   $as_echo_n "(cached) " >&6
   14336 else
   14337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14338 /* end confdefs.h.  */
   14339 int i;
   14340 _ACEOF
   14341 if ac_fn_c_try_compile "$LINENO"; then :
   14342   xorg_cv_cc_flag_unused_command_line_argument=yes
   14343 else
   14344   xorg_cv_cc_flag_unused_command_line_argument=no
   14345 fi
   14346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14347 fi
   14348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14349 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14350 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14351 	CFLAGS="$xorg_testset_save_CFLAGS"
   14352 fi
   14353 
   14354 found="no"
   14355 
   14356 	if test $found = "no" ; then
   14357 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14358 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14359 		fi
   14360 
   14361 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14362 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14363 		fi
   14364 
   14365 		CFLAGS="$CFLAGS -Wredundant-decls"
   14366 
   14367 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   14368 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   14369 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   14370 		if eval \${$cacheid+:} false; then :
   14371   $as_echo_n "(cached) " >&6
   14372 else
   14373   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14374 /* end confdefs.h.  */
   14375 int i;
   14376 int
   14377 main ()
   14378 {
   14379 
   14380   ;
   14381   return 0;
   14382 }
   14383 _ACEOF
   14384 if ac_fn_c_try_link "$LINENO"; then :
   14385   eval $cacheid=yes
   14386 else
   14387   eval $cacheid=no
   14388 fi
   14389 rm -f core conftest.err conftest.$ac_objext \
   14390     conftest$ac_exeext conftest.$ac_ext
   14391 fi
   14392 
   14393 
   14394 		CFLAGS="$xorg_testset_save_CFLAGS"
   14395 
   14396 		eval supported=\$$cacheid
   14397 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14398 $as_echo "$supported" >&6; }
   14399 		if test "$supported" = "yes" ; then
   14400 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   14401 			found="yes"
   14402 		fi
   14403 	fi
   14404 
   14405 
   14406 
   14407 
   14408 
   14409 
   14410 
   14411 
   14412 
   14413 
   14414 
   14415 
   14416 
   14417 
   14418 
   14419 xorg_testset_save_CFLAGS="$CFLAGS"
   14420 
   14421 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14422 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14423 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14424 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14425 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14426   $as_echo_n "(cached) " >&6
   14427 else
   14428   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14429 /* end confdefs.h.  */
   14430 int i;
   14431 _ACEOF
   14432 if ac_fn_c_try_compile "$LINENO"; then :
   14433   xorg_cv_cc_flag_unknown_warning_option=yes
   14434 else
   14435   xorg_cv_cc_flag_unknown_warning_option=no
   14436 fi
   14437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14438 fi
   14439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14440 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14441 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14442 	CFLAGS="$xorg_testset_save_CFLAGS"
   14443 fi
   14444 
   14445 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14446 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14447 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14448 	fi
   14449 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14450 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14451 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14452 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14453   $as_echo_n "(cached) " >&6
   14454 else
   14455   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14456 /* end confdefs.h.  */
   14457 int i;
   14458 _ACEOF
   14459 if ac_fn_c_try_compile "$LINENO"; then :
   14460   xorg_cv_cc_flag_unused_command_line_argument=yes
   14461 else
   14462   xorg_cv_cc_flag_unused_command_line_argument=no
   14463 fi
   14464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14465 fi
   14466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14467 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14468 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14469 	CFLAGS="$xorg_testset_save_CFLAGS"
   14470 fi
   14471 
   14472 found="no"
   14473 
   14474 	if test $found = "no" ; then
   14475 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14476 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14477 		fi
   14478 
   14479 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14480 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14481 		fi
   14482 
   14483 		CFLAGS="$CFLAGS -Wlogical-op"
   14484 
   14485 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   14486 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   14487 		cacheid=xorg_cv_cc_flag__Wlogical_op
   14488 		if eval \${$cacheid+:} false; then :
   14489   $as_echo_n "(cached) " >&6
   14490 else
   14491   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14492 /* end confdefs.h.  */
   14493 int i;
   14494 int
   14495 main ()
   14496 {
   14497 
   14498   ;
   14499   return 0;
   14500 }
   14501 _ACEOF
   14502 if ac_fn_c_try_link "$LINENO"; then :
   14503   eval $cacheid=yes
   14504 else
   14505   eval $cacheid=no
   14506 fi
   14507 rm -f core conftest.err conftest.$ac_objext \
   14508     conftest$ac_exeext conftest.$ac_ext
   14509 fi
   14510 
   14511 
   14512 		CFLAGS="$xorg_testset_save_CFLAGS"
   14513 
   14514 		eval supported=\$$cacheid
   14515 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14516 $as_echo "$supported" >&6; }
   14517 		if test "$supported" = "yes" ; then
   14518 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   14519 			found="yes"
   14520 		fi
   14521 	fi
   14522 
   14523 
   14524 
   14525 # These are currently disabled because they are noisy.  They will be enabled
   14526 # in the future once the codebase is sufficiently modernized to silence
   14527 # them.  For now, I don't want them to drown out the other warnings.
   14528 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   14529 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   14530 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   14531 
   14532 # Turn some warnings into errors, so we don't accidently get successful builds
   14533 # when there are problems that should be fixed.
   14534 
   14535 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   14536 
   14537 
   14538 
   14539 
   14540 
   14541 
   14542 
   14543 
   14544 
   14545 
   14546 
   14547 
   14548 
   14549 xorg_testset_save_CFLAGS="$CFLAGS"
   14550 
   14551 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14552 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14553 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14554 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14555 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14556   $as_echo_n "(cached) " >&6
   14557 else
   14558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14559 /* end confdefs.h.  */
   14560 int i;
   14561 _ACEOF
   14562 if ac_fn_c_try_compile "$LINENO"; then :
   14563   xorg_cv_cc_flag_unknown_warning_option=yes
   14564 else
   14565   xorg_cv_cc_flag_unknown_warning_option=no
   14566 fi
   14567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14568 fi
   14569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14570 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14571 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14572 	CFLAGS="$xorg_testset_save_CFLAGS"
   14573 fi
   14574 
   14575 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14576 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14577 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14578 	fi
   14579 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14580 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14581 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14582 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14583   $as_echo_n "(cached) " >&6
   14584 else
   14585   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14586 /* end confdefs.h.  */
   14587 int i;
   14588 _ACEOF
   14589 if ac_fn_c_try_compile "$LINENO"; then :
   14590   xorg_cv_cc_flag_unused_command_line_argument=yes
   14591 else
   14592   xorg_cv_cc_flag_unused_command_line_argument=no
   14593 fi
   14594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14595 fi
   14596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14597 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14598 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14599 	CFLAGS="$xorg_testset_save_CFLAGS"
   14600 fi
   14601 
   14602 found="no"
   14603 
   14604 	if test $found = "no" ; then
   14605 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14606 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14607 		fi
   14608 
   14609 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14610 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14611 		fi
   14612 
   14613 		CFLAGS="$CFLAGS -Werror=implicit"
   14614 
   14615 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   14616 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   14617 		cacheid=xorg_cv_cc_flag__Werror_implicit
   14618 		if eval \${$cacheid+:} false; then :
   14619   $as_echo_n "(cached) " >&6
   14620 else
   14621   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14622 /* end confdefs.h.  */
   14623 int i;
   14624 int
   14625 main ()
   14626 {
   14627 
   14628   ;
   14629   return 0;
   14630 }
   14631 _ACEOF
   14632 if ac_fn_c_try_link "$LINENO"; then :
   14633   eval $cacheid=yes
   14634 else
   14635   eval $cacheid=no
   14636 fi
   14637 rm -f core conftest.err conftest.$ac_objext \
   14638     conftest$ac_exeext conftest.$ac_ext
   14639 fi
   14640 
   14641 
   14642 		CFLAGS="$xorg_testset_save_CFLAGS"
   14643 
   14644 		eval supported=\$$cacheid
   14645 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14646 $as_echo "$supported" >&6; }
   14647 		if test "$supported" = "yes" ; then
   14648 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   14649 			found="yes"
   14650 		fi
   14651 	fi
   14652 
   14653 	if test $found = "no" ; then
   14654 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14655 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14656 		fi
   14657 
   14658 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14659 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14660 		fi
   14661 
   14662 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14663 
   14664 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   14665 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   14666 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   14667 		if eval \${$cacheid+:} false; then :
   14668   $as_echo_n "(cached) " >&6
   14669 else
   14670   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14671 /* end confdefs.h.  */
   14672 int i;
   14673 int
   14674 main ()
   14675 {
   14676 
   14677   ;
   14678   return 0;
   14679 }
   14680 _ACEOF
   14681 if ac_fn_c_try_link "$LINENO"; then :
   14682   eval $cacheid=yes
   14683 else
   14684   eval $cacheid=no
   14685 fi
   14686 rm -f core conftest.err conftest.$ac_objext \
   14687     conftest$ac_exeext conftest.$ac_ext
   14688 fi
   14689 
   14690 
   14691 		CFLAGS="$xorg_testset_save_CFLAGS"
   14692 
   14693 		eval supported=\$$cacheid
   14694 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14695 $as_echo "$supported" >&6; }
   14696 		if test "$supported" = "yes" ; then
   14697 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14698 			found="yes"
   14699 		fi
   14700 	fi
   14701 
   14702 
   14703 
   14704 
   14705 
   14706 
   14707 
   14708 
   14709 
   14710 
   14711 
   14712 
   14713 
   14714 
   14715 
   14716 xorg_testset_save_CFLAGS="$CFLAGS"
   14717 
   14718 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14719 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14720 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14721 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14722 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14723   $as_echo_n "(cached) " >&6
   14724 else
   14725   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14726 /* end confdefs.h.  */
   14727 int i;
   14728 _ACEOF
   14729 if ac_fn_c_try_compile "$LINENO"; then :
   14730   xorg_cv_cc_flag_unknown_warning_option=yes
   14731 else
   14732   xorg_cv_cc_flag_unknown_warning_option=no
   14733 fi
   14734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14735 fi
   14736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14737 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14738 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14739 	CFLAGS="$xorg_testset_save_CFLAGS"
   14740 fi
   14741 
   14742 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14743 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14744 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14745 	fi
   14746 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14747 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14748 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14749 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14750   $as_echo_n "(cached) " >&6
   14751 else
   14752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14753 /* end confdefs.h.  */
   14754 int i;
   14755 _ACEOF
   14756 if ac_fn_c_try_compile "$LINENO"; then :
   14757   xorg_cv_cc_flag_unused_command_line_argument=yes
   14758 else
   14759   xorg_cv_cc_flag_unused_command_line_argument=no
   14760 fi
   14761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14762 fi
   14763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14764 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14765 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14766 	CFLAGS="$xorg_testset_save_CFLAGS"
   14767 fi
   14768 
   14769 found="no"
   14770 
   14771 	if test $found = "no" ; then
   14772 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14773 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14774 		fi
   14775 
   14776 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14777 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14778 		fi
   14779 
   14780 		CFLAGS="$CFLAGS -Werror=nonnull"
   14781 
   14782 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   14783 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   14784 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   14785 		if eval \${$cacheid+:} false; then :
   14786   $as_echo_n "(cached) " >&6
   14787 else
   14788   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14789 /* end confdefs.h.  */
   14790 int i;
   14791 int
   14792 main ()
   14793 {
   14794 
   14795   ;
   14796   return 0;
   14797 }
   14798 _ACEOF
   14799 if ac_fn_c_try_link "$LINENO"; then :
   14800   eval $cacheid=yes
   14801 else
   14802   eval $cacheid=no
   14803 fi
   14804 rm -f core conftest.err conftest.$ac_objext \
   14805     conftest$ac_exeext conftest.$ac_ext
   14806 fi
   14807 
   14808 
   14809 		CFLAGS="$xorg_testset_save_CFLAGS"
   14810 
   14811 		eval supported=\$$cacheid
   14812 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14813 $as_echo "$supported" >&6; }
   14814 		if test "$supported" = "yes" ; then
   14815 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   14816 			found="yes"
   14817 		fi
   14818 	fi
   14819 
   14820 
   14821 
   14822 
   14823 
   14824 
   14825 
   14826 
   14827 
   14828 
   14829 
   14830 
   14831 
   14832 
   14833 
   14834 xorg_testset_save_CFLAGS="$CFLAGS"
   14835 
   14836 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14837 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14838 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14839 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14840 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14841   $as_echo_n "(cached) " >&6
   14842 else
   14843   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14844 /* end confdefs.h.  */
   14845 int i;
   14846 _ACEOF
   14847 if ac_fn_c_try_compile "$LINENO"; then :
   14848   xorg_cv_cc_flag_unknown_warning_option=yes
   14849 else
   14850   xorg_cv_cc_flag_unknown_warning_option=no
   14851 fi
   14852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14853 fi
   14854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14855 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14856 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14857 	CFLAGS="$xorg_testset_save_CFLAGS"
   14858 fi
   14859 
   14860 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14861 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14862 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14863 	fi
   14864 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14865 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14866 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14867 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14868   $as_echo_n "(cached) " >&6
   14869 else
   14870   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14871 /* end confdefs.h.  */
   14872 int i;
   14873 _ACEOF
   14874 if ac_fn_c_try_compile "$LINENO"; then :
   14875   xorg_cv_cc_flag_unused_command_line_argument=yes
   14876 else
   14877   xorg_cv_cc_flag_unused_command_line_argument=no
   14878 fi
   14879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14880 fi
   14881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14882 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14883 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14884 	CFLAGS="$xorg_testset_save_CFLAGS"
   14885 fi
   14886 
   14887 found="no"
   14888 
   14889 	if test $found = "no" ; then
   14890 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14891 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14892 		fi
   14893 
   14894 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14895 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14896 		fi
   14897 
   14898 		CFLAGS="$CFLAGS -Werror=init-self"
   14899 
   14900 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   14901 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   14902 		cacheid=xorg_cv_cc_flag__Werror_init_self
   14903 		if eval \${$cacheid+:} false; then :
   14904   $as_echo_n "(cached) " >&6
   14905 else
   14906   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14907 /* end confdefs.h.  */
   14908 int i;
   14909 int
   14910 main ()
   14911 {
   14912 
   14913   ;
   14914   return 0;
   14915 }
   14916 _ACEOF
   14917 if ac_fn_c_try_link "$LINENO"; then :
   14918   eval $cacheid=yes
   14919 else
   14920   eval $cacheid=no
   14921 fi
   14922 rm -f core conftest.err conftest.$ac_objext \
   14923     conftest$ac_exeext conftest.$ac_ext
   14924 fi
   14925 
   14926 
   14927 		CFLAGS="$xorg_testset_save_CFLAGS"
   14928 
   14929 		eval supported=\$$cacheid
   14930 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14931 $as_echo "$supported" >&6; }
   14932 		if test "$supported" = "yes" ; then
   14933 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   14934 			found="yes"
   14935 		fi
   14936 	fi
   14937 
   14938 
   14939 
   14940 
   14941 
   14942 
   14943 
   14944 
   14945 
   14946 
   14947 
   14948 
   14949 
   14950 
   14951 
   14952 xorg_testset_save_CFLAGS="$CFLAGS"
   14953 
   14954 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14955 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14956 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14957 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14958 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14959   $as_echo_n "(cached) " >&6
   14960 else
   14961   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14962 /* end confdefs.h.  */
   14963 int i;
   14964 _ACEOF
   14965 if ac_fn_c_try_compile "$LINENO"; then :
   14966   xorg_cv_cc_flag_unknown_warning_option=yes
   14967 else
   14968   xorg_cv_cc_flag_unknown_warning_option=no
   14969 fi
   14970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14971 fi
   14972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14973 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14974 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14975 	CFLAGS="$xorg_testset_save_CFLAGS"
   14976 fi
   14977 
   14978 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14979 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14980 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14981 	fi
   14982 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14983 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14984 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14985 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14986   $as_echo_n "(cached) " >&6
   14987 else
   14988   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14989 /* end confdefs.h.  */
   14990 int i;
   14991 _ACEOF
   14992 if ac_fn_c_try_compile "$LINENO"; then :
   14993   xorg_cv_cc_flag_unused_command_line_argument=yes
   14994 else
   14995   xorg_cv_cc_flag_unused_command_line_argument=no
   14996 fi
   14997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14998 fi
   14999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15000 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15001 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15002 	CFLAGS="$xorg_testset_save_CFLAGS"
   15003 fi
   15004 
   15005 found="no"
   15006 
   15007 	if test $found = "no" ; then
   15008 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15009 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15010 		fi
   15011 
   15012 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15013 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15014 		fi
   15015 
   15016 		CFLAGS="$CFLAGS -Werror=main"
   15017 
   15018 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   15019 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   15020 		cacheid=xorg_cv_cc_flag__Werror_main
   15021 		if eval \${$cacheid+:} false; then :
   15022   $as_echo_n "(cached) " >&6
   15023 else
   15024   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15025 /* end confdefs.h.  */
   15026 int i;
   15027 int
   15028 main ()
   15029 {
   15030 
   15031   ;
   15032   return 0;
   15033 }
   15034 _ACEOF
   15035 if ac_fn_c_try_link "$LINENO"; then :
   15036   eval $cacheid=yes
   15037 else
   15038   eval $cacheid=no
   15039 fi
   15040 rm -f core conftest.err conftest.$ac_objext \
   15041     conftest$ac_exeext conftest.$ac_ext
   15042 fi
   15043 
   15044 
   15045 		CFLAGS="$xorg_testset_save_CFLAGS"
   15046 
   15047 		eval supported=\$$cacheid
   15048 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15049 $as_echo "$supported" >&6; }
   15050 		if test "$supported" = "yes" ; then
   15051 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   15052 			found="yes"
   15053 		fi
   15054 	fi
   15055 
   15056 
   15057 
   15058 
   15059 
   15060 
   15061 
   15062 
   15063 
   15064 
   15065 
   15066 
   15067 
   15068 
   15069 
   15070 xorg_testset_save_CFLAGS="$CFLAGS"
   15071 
   15072 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15073 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15074 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15075 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15076 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15077   $as_echo_n "(cached) " >&6
   15078 else
   15079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15080 /* end confdefs.h.  */
   15081 int i;
   15082 _ACEOF
   15083 if ac_fn_c_try_compile "$LINENO"; then :
   15084   xorg_cv_cc_flag_unknown_warning_option=yes
   15085 else
   15086   xorg_cv_cc_flag_unknown_warning_option=no
   15087 fi
   15088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15089 fi
   15090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15091 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15092 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15093 	CFLAGS="$xorg_testset_save_CFLAGS"
   15094 fi
   15095 
   15096 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15097 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15098 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15099 	fi
   15100 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15101 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15102 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15103 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15104   $as_echo_n "(cached) " >&6
   15105 else
   15106   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15107 /* end confdefs.h.  */
   15108 int i;
   15109 _ACEOF
   15110 if ac_fn_c_try_compile "$LINENO"; then :
   15111   xorg_cv_cc_flag_unused_command_line_argument=yes
   15112 else
   15113   xorg_cv_cc_flag_unused_command_line_argument=no
   15114 fi
   15115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15116 fi
   15117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15118 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15119 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15120 	CFLAGS="$xorg_testset_save_CFLAGS"
   15121 fi
   15122 
   15123 found="no"
   15124 
   15125 	if test $found = "no" ; then
   15126 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15127 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15128 		fi
   15129 
   15130 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15131 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15132 		fi
   15133 
   15134 		CFLAGS="$CFLAGS -Werror=missing-braces"
   15135 
   15136 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   15137 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   15138 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   15139 		if eval \${$cacheid+:} false; then :
   15140   $as_echo_n "(cached) " >&6
   15141 else
   15142   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15143 /* end confdefs.h.  */
   15144 int i;
   15145 int
   15146 main ()
   15147 {
   15148 
   15149   ;
   15150   return 0;
   15151 }
   15152 _ACEOF
   15153 if ac_fn_c_try_link "$LINENO"; then :
   15154   eval $cacheid=yes
   15155 else
   15156   eval $cacheid=no
   15157 fi
   15158 rm -f core conftest.err conftest.$ac_objext \
   15159     conftest$ac_exeext conftest.$ac_ext
   15160 fi
   15161 
   15162 
   15163 		CFLAGS="$xorg_testset_save_CFLAGS"
   15164 
   15165 		eval supported=\$$cacheid
   15166 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15167 $as_echo "$supported" >&6; }
   15168 		if test "$supported" = "yes" ; then
   15169 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   15170 			found="yes"
   15171 		fi
   15172 	fi
   15173 
   15174 
   15175 
   15176 
   15177 
   15178 
   15179 
   15180 
   15181 
   15182 
   15183 
   15184 
   15185 
   15186 
   15187 
   15188 xorg_testset_save_CFLAGS="$CFLAGS"
   15189 
   15190 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15191 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15192 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15193 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15194 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15195   $as_echo_n "(cached) " >&6
   15196 else
   15197   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15198 /* end confdefs.h.  */
   15199 int i;
   15200 _ACEOF
   15201 if ac_fn_c_try_compile "$LINENO"; then :
   15202   xorg_cv_cc_flag_unknown_warning_option=yes
   15203 else
   15204   xorg_cv_cc_flag_unknown_warning_option=no
   15205 fi
   15206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15207 fi
   15208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15209 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15210 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15211 	CFLAGS="$xorg_testset_save_CFLAGS"
   15212 fi
   15213 
   15214 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15215 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15216 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15217 	fi
   15218 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15219 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15220 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15221 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15222   $as_echo_n "(cached) " >&6
   15223 else
   15224   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15225 /* end confdefs.h.  */
   15226 int i;
   15227 _ACEOF
   15228 if ac_fn_c_try_compile "$LINENO"; then :
   15229   xorg_cv_cc_flag_unused_command_line_argument=yes
   15230 else
   15231   xorg_cv_cc_flag_unused_command_line_argument=no
   15232 fi
   15233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15234 fi
   15235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15236 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15237 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15238 	CFLAGS="$xorg_testset_save_CFLAGS"
   15239 fi
   15240 
   15241 found="no"
   15242 
   15243 	if test $found = "no" ; then
   15244 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15245 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15246 		fi
   15247 
   15248 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15249 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15250 		fi
   15251 
   15252 		CFLAGS="$CFLAGS -Werror=sequence-point"
   15253 
   15254 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   15255 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   15256 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   15257 		if eval \${$cacheid+:} false; then :
   15258   $as_echo_n "(cached) " >&6
   15259 else
   15260   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15261 /* end confdefs.h.  */
   15262 int i;
   15263 int
   15264 main ()
   15265 {
   15266 
   15267   ;
   15268   return 0;
   15269 }
   15270 _ACEOF
   15271 if ac_fn_c_try_link "$LINENO"; then :
   15272   eval $cacheid=yes
   15273 else
   15274   eval $cacheid=no
   15275 fi
   15276 rm -f core conftest.err conftest.$ac_objext \
   15277     conftest$ac_exeext conftest.$ac_ext
   15278 fi
   15279 
   15280 
   15281 		CFLAGS="$xorg_testset_save_CFLAGS"
   15282 
   15283 		eval supported=\$$cacheid
   15284 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15285 $as_echo "$supported" >&6; }
   15286 		if test "$supported" = "yes" ; then
   15287 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   15288 			found="yes"
   15289 		fi
   15290 	fi
   15291 
   15292 
   15293 
   15294 
   15295 
   15296 
   15297 
   15298 
   15299 
   15300 
   15301 
   15302 
   15303 
   15304 
   15305 
   15306 xorg_testset_save_CFLAGS="$CFLAGS"
   15307 
   15308 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15309 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15310 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15311 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15312 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15313   $as_echo_n "(cached) " >&6
   15314 else
   15315   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15316 /* end confdefs.h.  */
   15317 int i;
   15318 _ACEOF
   15319 if ac_fn_c_try_compile "$LINENO"; then :
   15320   xorg_cv_cc_flag_unknown_warning_option=yes
   15321 else
   15322   xorg_cv_cc_flag_unknown_warning_option=no
   15323 fi
   15324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15325 fi
   15326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15327 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15328 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15329 	CFLAGS="$xorg_testset_save_CFLAGS"
   15330 fi
   15331 
   15332 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15333 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15334 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15335 	fi
   15336 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15337 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15338 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15339 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15340   $as_echo_n "(cached) " >&6
   15341 else
   15342   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15343 /* end confdefs.h.  */
   15344 int i;
   15345 _ACEOF
   15346 if ac_fn_c_try_compile "$LINENO"; then :
   15347   xorg_cv_cc_flag_unused_command_line_argument=yes
   15348 else
   15349   xorg_cv_cc_flag_unused_command_line_argument=no
   15350 fi
   15351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15352 fi
   15353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15354 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15355 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15356 	CFLAGS="$xorg_testset_save_CFLAGS"
   15357 fi
   15358 
   15359 found="no"
   15360 
   15361 	if test $found = "no" ; then
   15362 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15363 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15364 		fi
   15365 
   15366 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15367 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15368 		fi
   15369 
   15370 		CFLAGS="$CFLAGS -Werror=return-type"
   15371 
   15372 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   15373 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   15374 		cacheid=xorg_cv_cc_flag__Werror_return_type
   15375 		if eval \${$cacheid+:} false; then :
   15376   $as_echo_n "(cached) " >&6
   15377 else
   15378   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15379 /* end confdefs.h.  */
   15380 int i;
   15381 int
   15382 main ()
   15383 {
   15384 
   15385   ;
   15386   return 0;
   15387 }
   15388 _ACEOF
   15389 if ac_fn_c_try_link "$LINENO"; then :
   15390   eval $cacheid=yes
   15391 else
   15392   eval $cacheid=no
   15393 fi
   15394 rm -f core conftest.err conftest.$ac_objext \
   15395     conftest$ac_exeext conftest.$ac_ext
   15396 fi
   15397 
   15398 
   15399 		CFLAGS="$xorg_testset_save_CFLAGS"
   15400 
   15401 		eval supported=\$$cacheid
   15402 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15403 $as_echo "$supported" >&6; }
   15404 		if test "$supported" = "yes" ; then
   15405 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   15406 			found="yes"
   15407 		fi
   15408 	fi
   15409 
   15410 	if test $found = "no" ; then
   15411 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15412 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15413 		fi
   15414 
   15415 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15416 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15417 		fi
   15418 
   15419 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   15420 
   15421 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   15422 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   15423 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   15424 		if eval \${$cacheid+:} false; then :
   15425   $as_echo_n "(cached) " >&6
   15426 else
   15427   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15428 /* end confdefs.h.  */
   15429 int i;
   15430 int
   15431 main ()
   15432 {
   15433 
   15434   ;
   15435   return 0;
   15436 }
   15437 _ACEOF
   15438 if ac_fn_c_try_link "$LINENO"; then :
   15439   eval $cacheid=yes
   15440 else
   15441   eval $cacheid=no
   15442 fi
   15443 rm -f core conftest.err conftest.$ac_objext \
   15444     conftest$ac_exeext conftest.$ac_ext
   15445 fi
   15446 
   15447 
   15448 		CFLAGS="$xorg_testset_save_CFLAGS"
   15449 
   15450 		eval supported=\$$cacheid
   15451 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15452 $as_echo "$supported" >&6; }
   15453 		if test "$supported" = "yes" ; then
   15454 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   15455 			found="yes"
   15456 		fi
   15457 	fi
   15458 
   15459 
   15460 
   15461 
   15462 
   15463 
   15464 
   15465 
   15466 
   15467 
   15468 
   15469 
   15470 
   15471 
   15472 
   15473 xorg_testset_save_CFLAGS="$CFLAGS"
   15474 
   15475 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15476 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15477 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15478 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15479 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15480   $as_echo_n "(cached) " >&6
   15481 else
   15482   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15483 /* end confdefs.h.  */
   15484 int i;
   15485 _ACEOF
   15486 if ac_fn_c_try_compile "$LINENO"; then :
   15487   xorg_cv_cc_flag_unknown_warning_option=yes
   15488 else
   15489   xorg_cv_cc_flag_unknown_warning_option=no
   15490 fi
   15491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15492 fi
   15493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15494 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15495 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15496 	CFLAGS="$xorg_testset_save_CFLAGS"
   15497 fi
   15498 
   15499 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15500 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15501 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15502 	fi
   15503 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15504 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15505 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15506 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15507   $as_echo_n "(cached) " >&6
   15508 else
   15509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15510 /* end confdefs.h.  */
   15511 int i;
   15512 _ACEOF
   15513 if ac_fn_c_try_compile "$LINENO"; then :
   15514   xorg_cv_cc_flag_unused_command_line_argument=yes
   15515 else
   15516   xorg_cv_cc_flag_unused_command_line_argument=no
   15517 fi
   15518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15519 fi
   15520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15521 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15522 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15523 	CFLAGS="$xorg_testset_save_CFLAGS"
   15524 fi
   15525 
   15526 found="no"
   15527 
   15528 	if test $found = "no" ; then
   15529 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15530 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15531 		fi
   15532 
   15533 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15534 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15535 		fi
   15536 
   15537 		CFLAGS="$CFLAGS -Werror=trigraphs"
   15538 
   15539 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   15540 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   15541 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   15542 		if eval \${$cacheid+:} false; then :
   15543   $as_echo_n "(cached) " >&6
   15544 else
   15545   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15546 /* end confdefs.h.  */
   15547 int i;
   15548 int
   15549 main ()
   15550 {
   15551 
   15552   ;
   15553   return 0;
   15554 }
   15555 _ACEOF
   15556 if ac_fn_c_try_link "$LINENO"; then :
   15557   eval $cacheid=yes
   15558 else
   15559   eval $cacheid=no
   15560 fi
   15561 rm -f core conftest.err conftest.$ac_objext \
   15562     conftest$ac_exeext conftest.$ac_ext
   15563 fi
   15564 
   15565 
   15566 		CFLAGS="$xorg_testset_save_CFLAGS"
   15567 
   15568 		eval supported=\$$cacheid
   15569 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15570 $as_echo "$supported" >&6; }
   15571 		if test "$supported" = "yes" ; then
   15572 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   15573 			found="yes"
   15574 		fi
   15575 	fi
   15576 
   15577 
   15578 
   15579 
   15580 
   15581 
   15582 
   15583 
   15584 
   15585 
   15586 
   15587 
   15588 
   15589 
   15590 
   15591 xorg_testset_save_CFLAGS="$CFLAGS"
   15592 
   15593 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15594 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15595 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15596 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15597 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15598   $as_echo_n "(cached) " >&6
   15599 else
   15600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15601 /* end confdefs.h.  */
   15602 int i;
   15603 _ACEOF
   15604 if ac_fn_c_try_compile "$LINENO"; then :
   15605   xorg_cv_cc_flag_unknown_warning_option=yes
   15606 else
   15607   xorg_cv_cc_flag_unknown_warning_option=no
   15608 fi
   15609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15610 fi
   15611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15612 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15613 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15614 	CFLAGS="$xorg_testset_save_CFLAGS"
   15615 fi
   15616 
   15617 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15618 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15619 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15620 	fi
   15621 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15622 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15623 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15624 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15625   $as_echo_n "(cached) " >&6
   15626 else
   15627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15628 /* end confdefs.h.  */
   15629 int i;
   15630 _ACEOF
   15631 if ac_fn_c_try_compile "$LINENO"; then :
   15632   xorg_cv_cc_flag_unused_command_line_argument=yes
   15633 else
   15634   xorg_cv_cc_flag_unused_command_line_argument=no
   15635 fi
   15636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15637 fi
   15638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15639 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15640 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15641 	CFLAGS="$xorg_testset_save_CFLAGS"
   15642 fi
   15643 
   15644 found="no"
   15645 
   15646 	if test $found = "no" ; then
   15647 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15648 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15649 		fi
   15650 
   15651 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15652 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15653 		fi
   15654 
   15655 		CFLAGS="$CFLAGS -Werror=array-bounds"
   15656 
   15657 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   15658 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   15659 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   15660 		if eval \${$cacheid+:} false; then :
   15661   $as_echo_n "(cached) " >&6
   15662 else
   15663   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15664 /* end confdefs.h.  */
   15665 int i;
   15666 int
   15667 main ()
   15668 {
   15669 
   15670   ;
   15671   return 0;
   15672 }
   15673 _ACEOF
   15674 if ac_fn_c_try_link "$LINENO"; then :
   15675   eval $cacheid=yes
   15676 else
   15677   eval $cacheid=no
   15678 fi
   15679 rm -f core conftest.err conftest.$ac_objext \
   15680     conftest$ac_exeext conftest.$ac_ext
   15681 fi
   15682 
   15683 
   15684 		CFLAGS="$xorg_testset_save_CFLAGS"
   15685 
   15686 		eval supported=\$$cacheid
   15687 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15688 $as_echo "$supported" >&6; }
   15689 		if test "$supported" = "yes" ; then
   15690 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   15691 			found="yes"
   15692 		fi
   15693 	fi
   15694 
   15695 
   15696 
   15697 
   15698 
   15699 
   15700 
   15701 
   15702 
   15703 
   15704 
   15705 
   15706 
   15707 
   15708 
   15709 xorg_testset_save_CFLAGS="$CFLAGS"
   15710 
   15711 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15712 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15713 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15714 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15715 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15716   $as_echo_n "(cached) " >&6
   15717 else
   15718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15719 /* end confdefs.h.  */
   15720 int i;
   15721 _ACEOF
   15722 if ac_fn_c_try_compile "$LINENO"; then :
   15723   xorg_cv_cc_flag_unknown_warning_option=yes
   15724 else
   15725   xorg_cv_cc_flag_unknown_warning_option=no
   15726 fi
   15727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15728 fi
   15729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15730 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15731 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15732 	CFLAGS="$xorg_testset_save_CFLAGS"
   15733 fi
   15734 
   15735 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15736 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15737 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15738 	fi
   15739 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15740 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15741 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15742 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15743   $as_echo_n "(cached) " >&6
   15744 else
   15745   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15746 /* end confdefs.h.  */
   15747 int i;
   15748 _ACEOF
   15749 if ac_fn_c_try_compile "$LINENO"; then :
   15750   xorg_cv_cc_flag_unused_command_line_argument=yes
   15751 else
   15752   xorg_cv_cc_flag_unused_command_line_argument=no
   15753 fi
   15754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15755 fi
   15756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15757 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15758 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15759 	CFLAGS="$xorg_testset_save_CFLAGS"
   15760 fi
   15761 
   15762 found="no"
   15763 
   15764 	if test $found = "no" ; then
   15765 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15766 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15767 		fi
   15768 
   15769 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15770 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15771 		fi
   15772 
   15773 		CFLAGS="$CFLAGS -Werror=write-strings"
   15774 
   15775 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   15776 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   15777 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   15778 		if eval \${$cacheid+:} false; then :
   15779   $as_echo_n "(cached) " >&6
   15780 else
   15781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15782 /* end confdefs.h.  */
   15783 int i;
   15784 int
   15785 main ()
   15786 {
   15787 
   15788   ;
   15789   return 0;
   15790 }
   15791 _ACEOF
   15792 if ac_fn_c_try_link "$LINENO"; then :
   15793   eval $cacheid=yes
   15794 else
   15795   eval $cacheid=no
   15796 fi
   15797 rm -f core conftest.err conftest.$ac_objext \
   15798     conftest$ac_exeext conftest.$ac_ext
   15799 fi
   15800 
   15801 
   15802 		CFLAGS="$xorg_testset_save_CFLAGS"
   15803 
   15804 		eval supported=\$$cacheid
   15805 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15806 $as_echo "$supported" >&6; }
   15807 		if test "$supported" = "yes" ; then
   15808 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   15809 			found="yes"
   15810 		fi
   15811 	fi
   15812 
   15813 
   15814 
   15815 
   15816 
   15817 
   15818 
   15819 
   15820 
   15821 
   15822 
   15823 
   15824 
   15825 
   15826 
   15827 xorg_testset_save_CFLAGS="$CFLAGS"
   15828 
   15829 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15830 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15831 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15832 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15833 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15834   $as_echo_n "(cached) " >&6
   15835 else
   15836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15837 /* end confdefs.h.  */
   15838 int i;
   15839 _ACEOF
   15840 if ac_fn_c_try_compile "$LINENO"; then :
   15841   xorg_cv_cc_flag_unknown_warning_option=yes
   15842 else
   15843   xorg_cv_cc_flag_unknown_warning_option=no
   15844 fi
   15845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15846 fi
   15847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15848 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15849 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15850 	CFLAGS="$xorg_testset_save_CFLAGS"
   15851 fi
   15852 
   15853 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15854 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15855 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15856 	fi
   15857 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15858 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15859 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15860 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15861   $as_echo_n "(cached) " >&6
   15862 else
   15863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15864 /* end confdefs.h.  */
   15865 int i;
   15866 _ACEOF
   15867 if ac_fn_c_try_compile "$LINENO"; then :
   15868   xorg_cv_cc_flag_unused_command_line_argument=yes
   15869 else
   15870   xorg_cv_cc_flag_unused_command_line_argument=no
   15871 fi
   15872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15873 fi
   15874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15875 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15876 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15877 	CFLAGS="$xorg_testset_save_CFLAGS"
   15878 fi
   15879 
   15880 found="no"
   15881 
   15882 	if test $found = "no" ; then
   15883 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15884 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15885 		fi
   15886 
   15887 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15888 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15889 		fi
   15890 
   15891 		CFLAGS="$CFLAGS -Werror=address"
   15892 
   15893 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   15894 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   15895 		cacheid=xorg_cv_cc_flag__Werror_address
   15896 		if eval \${$cacheid+:} false; then :
   15897   $as_echo_n "(cached) " >&6
   15898 else
   15899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15900 /* end confdefs.h.  */
   15901 int i;
   15902 int
   15903 main ()
   15904 {
   15905 
   15906   ;
   15907   return 0;
   15908 }
   15909 _ACEOF
   15910 if ac_fn_c_try_link "$LINENO"; then :
   15911   eval $cacheid=yes
   15912 else
   15913   eval $cacheid=no
   15914 fi
   15915 rm -f core conftest.err conftest.$ac_objext \
   15916     conftest$ac_exeext conftest.$ac_ext
   15917 fi
   15918 
   15919 
   15920 		CFLAGS="$xorg_testset_save_CFLAGS"
   15921 
   15922 		eval supported=\$$cacheid
   15923 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15924 $as_echo "$supported" >&6; }
   15925 		if test "$supported" = "yes" ; then
   15926 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   15927 			found="yes"
   15928 		fi
   15929 	fi
   15930 
   15931 
   15932 
   15933 
   15934 
   15935 
   15936 
   15937 
   15938 
   15939 
   15940 
   15941 
   15942 
   15943 
   15944 
   15945 xorg_testset_save_CFLAGS="$CFLAGS"
   15946 
   15947 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15948 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15949 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15950 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15951 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15952   $as_echo_n "(cached) " >&6
   15953 else
   15954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15955 /* end confdefs.h.  */
   15956 int i;
   15957 _ACEOF
   15958 if ac_fn_c_try_compile "$LINENO"; then :
   15959   xorg_cv_cc_flag_unknown_warning_option=yes
   15960 else
   15961   xorg_cv_cc_flag_unknown_warning_option=no
   15962 fi
   15963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15964 fi
   15965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15966 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15967 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15968 	CFLAGS="$xorg_testset_save_CFLAGS"
   15969 fi
   15970 
   15971 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15972 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15973 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15974 	fi
   15975 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15976 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15977 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15978 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15979   $as_echo_n "(cached) " >&6
   15980 else
   15981   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15982 /* end confdefs.h.  */
   15983 int i;
   15984 _ACEOF
   15985 if ac_fn_c_try_compile "$LINENO"; then :
   15986   xorg_cv_cc_flag_unused_command_line_argument=yes
   15987 else
   15988   xorg_cv_cc_flag_unused_command_line_argument=no
   15989 fi
   15990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15991 fi
   15992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15993 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15994 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15995 	CFLAGS="$xorg_testset_save_CFLAGS"
   15996 fi
   15997 
   15998 found="no"
   15999 
   16000 	if test $found = "no" ; then
   16001 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16002 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16003 		fi
   16004 
   16005 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16006 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16007 		fi
   16008 
   16009 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   16010 
   16011 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   16012 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   16013 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   16014 		if eval \${$cacheid+:} false; then :
   16015   $as_echo_n "(cached) " >&6
   16016 else
   16017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16018 /* end confdefs.h.  */
   16019 int i;
   16020 int
   16021 main ()
   16022 {
   16023 
   16024   ;
   16025   return 0;
   16026 }
   16027 _ACEOF
   16028 if ac_fn_c_try_link "$LINENO"; then :
   16029   eval $cacheid=yes
   16030 else
   16031   eval $cacheid=no
   16032 fi
   16033 rm -f core conftest.err conftest.$ac_objext \
   16034     conftest$ac_exeext conftest.$ac_ext
   16035 fi
   16036 
   16037 
   16038 		CFLAGS="$xorg_testset_save_CFLAGS"
   16039 
   16040 		eval supported=\$$cacheid
   16041 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16042 $as_echo "$supported" >&6; }
   16043 		if test "$supported" = "yes" ; then
   16044 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   16045 			found="yes"
   16046 		fi
   16047 	fi
   16048 
   16049 	if test $found = "no" ; then
   16050 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16051 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16052 		fi
   16053 
   16054 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16055 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16056 		fi
   16057 
   16058 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16059 
   16060 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   16061 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   16062 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   16063 		if eval \${$cacheid+:} false; then :
   16064   $as_echo_n "(cached) " >&6
   16065 else
   16066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16067 /* end confdefs.h.  */
   16068 int i;
   16069 int
   16070 main ()
   16071 {
   16072 
   16073   ;
   16074   return 0;
   16075 }
   16076 _ACEOF
   16077 if ac_fn_c_try_link "$LINENO"; then :
   16078   eval $cacheid=yes
   16079 else
   16080   eval $cacheid=no
   16081 fi
   16082 rm -f core conftest.err conftest.$ac_objext \
   16083     conftest$ac_exeext conftest.$ac_ext
   16084 fi
   16085 
   16086 
   16087 		CFLAGS="$xorg_testset_save_CFLAGS"
   16088 
   16089 		eval supported=\$$cacheid
   16090 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16091 $as_echo "$supported" >&6; }
   16092 		if test "$supported" = "yes" ; then
   16093 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16094 			found="yes"
   16095 		fi
   16096 	fi
   16097 
   16098 
   16099 
   16100 
   16101 
   16102 
   16103 
   16104 
   16105 
   16106 
   16107 
   16108 
   16109 
   16110 
   16111 
   16112 xorg_testset_save_CFLAGS="$CFLAGS"
   16113 
   16114 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16115 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16116 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16117 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16118 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16119   $as_echo_n "(cached) " >&6
   16120 else
   16121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16122 /* end confdefs.h.  */
   16123 int i;
   16124 _ACEOF
   16125 if ac_fn_c_try_compile "$LINENO"; then :
   16126   xorg_cv_cc_flag_unknown_warning_option=yes
   16127 else
   16128   xorg_cv_cc_flag_unknown_warning_option=no
   16129 fi
   16130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16131 fi
   16132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16133 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16134 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16135 	CFLAGS="$xorg_testset_save_CFLAGS"
   16136 fi
   16137 
   16138 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16139 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16140 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16141 	fi
   16142 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16143 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16144 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16145 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16146   $as_echo_n "(cached) " >&6
   16147 else
   16148   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16149 /* end confdefs.h.  */
   16150 int i;
   16151 _ACEOF
   16152 if ac_fn_c_try_compile "$LINENO"; then :
   16153   xorg_cv_cc_flag_unused_command_line_argument=yes
   16154 else
   16155   xorg_cv_cc_flag_unused_command_line_argument=no
   16156 fi
   16157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16158 fi
   16159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16160 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16161 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16162 	CFLAGS="$xorg_testset_save_CFLAGS"
   16163 fi
   16164 
   16165 found="no"
   16166 
   16167 	if test $found = "no" ; then
   16168 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16169 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16170 		fi
   16171 
   16172 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16173 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16174 		fi
   16175 
   16176 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   16177 
   16178 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   16179 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   16180 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   16181 		if eval \${$cacheid+:} false; then :
   16182   $as_echo_n "(cached) " >&6
   16183 else
   16184   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16185 /* end confdefs.h.  */
   16186 int i;
   16187 int
   16188 main ()
   16189 {
   16190 
   16191   ;
   16192   return 0;
   16193 }
   16194 _ACEOF
   16195 if ac_fn_c_try_link "$LINENO"; then :
   16196   eval $cacheid=yes
   16197 else
   16198   eval $cacheid=no
   16199 fi
   16200 rm -f core conftest.err conftest.$ac_objext \
   16201     conftest$ac_exeext conftest.$ac_ext
   16202 fi
   16203 
   16204 
   16205 		CFLAGS="$xorg_testset_save_CFLAGS"
   16206 
   16207 		eval supported=\$$cacheid
   16208 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16209 $as_echo "$supported" >&6; }
   16210 		if test "$supported" = "yes" ; then
   16211 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   16212 			found="yes"
   16213 		fi
   16214 	fi
   16215 
   16216  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   16217 else
   16218 { $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
   16219 $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;}
   16220 
   16221 
   16222 
   16223 
   16224 
   16225 
   16226 
   16227 
   16228 
   16229 
   16230 
   16231 
   16232 
   16233 xorg_testset_save_CFLAGS="$CFLAGS"
   16234 
   16235 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16236 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16237 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16238 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16239 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16240   $as_echo_n "(cached) " >&6
   16241 else
   16242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16243 /* end confdefs.h.  */
   16244 int i;
   16245 _ACEOF
   16246 if ac_fn_c_try_compile "$LINENO"; then :
   16247   xorg_cv_cc_flag_unknown_warning_option=yes
   16248 else
   16249   xorg_cv_cc_flag_unknown_warning_option=no
   16250 fi
   16251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16252 fi
   16253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16254 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16255 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16256 	CFLAGS="$xorg_testset_save_CFLAGS"
   16257 fi
   16258 
   16259 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16260 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16261 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16262 	fi
   16263 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16264 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16265 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16266 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16267   $as_echo_n "(cached) " >&6
   16268 else
   16269   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16270 /* end confdefs.h.  */
   16271 int i;
   16272 _ACEOF
   16273 if ac_fn_c_try_compile "$LINENO"; then :
   16274   xorg_cv_cc_flag_unused_command_line_argument=yes
   16275 else
   16276   xorg_cv_cc_flag_unused_command_line_argument=no
   16277 fi
   16278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16279 fi
   16280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16281 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16282 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16283 	CFLAGS="$xorg_testset_save_CFLAGS"
   16284 fi
   16285 
   16286 found="no"
   16287 
   16288 	if test $found = "no" ; then
   16289 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16290 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16291 		fi
   16292 
   16293 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16294 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16295 		fi
   16296 
   16297 		CFLAGS="$CFLAGS -Wimplicit"
   16298 
   16299 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   16300 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   16301 		cacheid=xorg_cv_cc_flag__Wimplicit
   16302 		if eval \${$cacheid+:} false; then :
   16303   $as_echo_n "(cached) " >&6
   16304 else
   16305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16306 /* end confdefs.h.  */
   16307 int i;
   16308 int
   16309 main ()
   16310 {
   16311 
   16312   ;
   16313   return 0;
   16314 }
   16315 _ACEOF
   16316 if ac_fn_c_try_link "$LINENO"; then :
   16317   eval $cacheid=yes
   16318 else
   16319   eval $cacheid=no
   16320 fi
   16321 rm -f core conftest.err conftest.$ac_objext \
   16322     conftest$ac_exeext conftest.$ac_ext
   16323 fi
   16324 
   16325 
   16326 		CFLAGS="$xorg_testset_save_CFLAGS"
   16327 
   16328 		eval supported=\$$cacheid
   16329 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16330 $as_echo "$supported" >&6; }
   16331 		if test "$supported" = "yes" ; then
   16332 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   16333 			found="yes"
   16334 		fi
   16335 	fi
   16336 
   16337 
   16338 
   16339 
   16340 
   16341 
   16342 
   16343 
   16344 
   16345 
   16346 
   16347 
   16348 
   16349 
   16350 
   16351 xorg_testset_save_CFLAGS="$CFLAGS"
   16352 
   16353 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16354 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16355 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16356 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16357 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16358   $as_echo_n "(cached) " >&6
   16359 else
   16360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16361 /* end confdefs.h.  */
   16362 int i;
   16363 _ACEOF
   16364 if ac_fn_c_try_compile "$LINENO"; then :
   16365   xorg_cv_cc_flag_unknown_warning_option=yes
   16366 else
   16367   xorg_cv_cc_flag_unknown_warning_option=no
   16368 fi
   16369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16370 fi
   16371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16372 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16373 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16374 	CFLAGS="$xorg_testset_save_CFLAGS"
   16375 fi
   16376 
   16377 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16378 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16379 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16380 	fi
   16381 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16382 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16383 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16384 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16385   $as_echo_n "(cached) " >&6
   16386 else
   16387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16388 /* end confdefs.h.  */
   16389 int i;
   16390 _ACEOF
   16391 if ac_fn_c_try_compile "$LINENO"; then :
   16392   xorg_cv_cc_flag_unused_command_line_argument=yes
   16393 else
   16394   xorg_cv_cc_flag_unused_command_line_argument=no
   16395 fi
   16396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16397 fi
   16398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16399 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16400 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16401 	CFLAGS="$xorg_testset_save_CFLAGS"
   16402 fi
   16403 
   16404 found="no"
   16405 
   16406 	if test $found = "no" ; then
   16407 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16408 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16409 		fi
   16410 
   16411 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16412 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16413 		fi
   16414 
   16415 		CFLAGS="$CFLAGS -Wnonnull"
   16416 
   16417 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   16418 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   16419 		cacheid=xorg_cv_cc_flag__Wnonnull
   16420 		if eval \${$cacheid+:} false; then :
   16421   $as_echo_n "(cached) " >&6
   16422 else
   16423   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16424 /* end confdefs.h.  */
   16425 int i;
   16426 int
   16427 main ()
   16428 {
   16429 
   16430   ;
   16431   return 0;
   16432 }
   16433 _ACEOF
   16434 if ac_fn_c_try_link "$LINENO"; then :
   16435   eval $cacheid=yes
   16436 else
   16437   eval $cacheid=no
   16438 fi
   16439 rm -f core conftest.err conftest.$ac_objext \
   16440     conftest$ac_exeext conftest.$ac_ext
   16441 fi
   16442 
   16443 
   16444 		CFLAGS="$xorg_testset_save_CFLAGS"
   16445 
   16446 		eval supported=\$$cacheid
   16447 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16448 $as_echo "$supported" >&6; }
   16449 		if test "$supported" = "yes" ; then
   16450 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   16451 			found="yes"
   16452 		fi
   16453 	fi
   16454 
   16455 
   16456 
   16457 
   16458 
   16459 
   16460 
   16461 
   16462 
   16463 
   16464 
   16465 
   16466 
   16467 
   16468 
   16469 xorg_testset_save_CFLAGS="$CFLAGS"
   16470 
   16471 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16472 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16473 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16474 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16475 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16476   $as_echo_n "(cached) " >&6
   16477 else
   16478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16479 /* end confdefs.h.  */
   16480 int i;
   16481 _ACEOF
   16482 if ac_fn_c_try_compile "$LINENO"; then :
   16483   xorg_cv_cc_flag_unknown_warning_option=yes
   16484 else
   16485   xorg_cv_cc_flag_unknown_warning_option=no
   16486 fi
   16487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16488 fi
   16489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16490 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16491 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16492 	CFLAGS="$xorg_testset_save_CFLAGS"
   16493 fi
   16494 
   16495 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16496 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16497 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16498 	fi
   16499 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16500 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16501 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16502 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16503   $as_echo_n "(cached) " >&6
   16504 else
   16505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16506 /* end confdefs.h.  */
   16507 int i;
   16508 _ACEOF
   16509 if ac_fn_c_try_compile "$LINENO"; then :
   16510   xorg_cv_cc_flag_unused_command_line_argument=yes
   16511 else
   16512   xorg_cv_cc_flag_unused_command_line_argument=no
   16513 fi
   16514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16515 fi
   16516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16517 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16518 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16519 	CFLAGS="$xorg_testset_save_CFLAGS"
   16520 fi
   16521 
   16522 found="no"
   16523 
   16524 	if test $found = "no" ; then
   16525 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16526 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16527 		fi
   16528 
   16529 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16530 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16531 		fi
   16532 
   16533 		CFLAGS="$CFLAGS -Winit-self"
   16534 
   16535 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   16536 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   16537 		cacheid=xorg_cv_cc_flag__Winit_self
   16538 		if eval \${$cacheid+:} false; then :
   16539   $as_echo_n "(cached) " >&6
   16540 else
   16541   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16542 /* end confdefs.h.  */
   16543 int i;
   16544 int
   16545 main ()
   16546 {
   16547 
   16548   ;
   16549   return 0;
   16550 }
   16551 _ACEOF
   16552 if ac_fn_c_try_link "$LINENO"; then :
   16553   eval $cacheid=yes
   16554 else
   16555   eval $cacheid=no
   16556 fi
   16557 rm -f core conftest.err conftest.$ac_objext \
   16558     conftest$ac_exeext conftest.$ac_ext
   16559 fi
   16560 
   16561 
   16562 		CFLAGS="$xorg_testset_save_CFLAGS"
   16563 
   16564 		eval supported=\$$cacheid
   16565 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16566 $as_echo "$supported" >&6; }
   16567 		if test "$supported" = "yes" ; then
   16568 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   16569 			found="yes"
   16570 		fi
   16571 	fi
   16572 
   16573 
   16574 
   16575 
   16576 
   16577 
   16578 
   16579 
   16580 
   16581 
   16582 
   16583 
   16584 
   16585 
   16586 
   16587 xorg_testset_save_CFLAGS="$CFLAGS"
   16588 
   16589 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16590 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16591 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16592 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16593 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16594   $as_echo_n "(cached) " >&6
   16595 else
   16596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16597 /* end confdefs.h.  */
   16598 int i;
   16599 _ACEOF
   16600 if ac_fn_c_try_compile "$LINENO"; then :
   16601   xorg_cv_cc_flag_unknown_warning_option=yes
   16602 else
   16603   xorg_cv_cc_flag_unknown_warning_option=no
   16604 fi
   16605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16606 fi
   16607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16608 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16609 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16610 	CFLAGS="$xorg_testset_save_CFLAGS"
   16611 fi
   16612 
   16613 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16614 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16615 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16616 	fi
   16617 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16618 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16619 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16620 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16621   $as_echo_n "(cached) " >&6
   16622 else
   16623   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16624 /* end confdefs.h.  */
   16625 int i;
   16626 _ACEOF
   16627 if ac_fn_c_try_compile "$LINENO"; then :
   16628   xorg_cv_cc_flag_unused_command_line_argument=yes
   16629 else
   16630   xorg_cv_cc_flag_unused_command_line_argument=no
   16631 fi
   16632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16633 fi
   16634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16635 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16636 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16637 	CFLAGS="$xorg_testset_save_CFLAGS"
   16638 fi
   16639 
   16640 found="no"
   16641 
   16642 	if test $found = "no" ; then
   16643 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16644 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16645 		fi
   16646 
   16647 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16648 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16649 		fi
   16650 
   16651 		CFLAGS="$CFLAGS -Wmain"
   16652 
   16653 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   16654 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   16655 		cacheid=xorg_cv_cc_flag__Wmain
   16656 		if eval \${$cacheid+:} false; then :
   16657   $as_echo_n "(cached) " >&6
   16658 else
   16659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16660 /* end confdefs.h.  */
   16661 int i;
   16662 int
   16663 main ()
   16664 {
   16665 
   16666   ;
   16667   return 0;
   16668 }
   16669 _ACEOF
   16670 if ac_fn_c_try_link "$LINENO"; then :
   16671   eval $cacheid=yes
   16672 else
   16673   eval $cacheid=no
   16674 fi
   16675 rm -f core conftest.err conftest.$ac_objext \
   16676     conftest$ac_exeext conftest.$ac_ext
   16677 fi
   16678 
   16679 
   16680 		CFLAGS="$xorg_testset_save_CFLAGS"
   16681 
   16682 		eval supported=\$$cacheid
   16683 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16684 $as_echo "$supported" >&6; }
   16685 		if test "$supported" = "yes" ; then
   16686 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   16687 			found="yes"
   16688 		fi
   16689 	fi
   16690 
   16691 
   16692 
   16693 
   16694 
   16695 
   16696 
   16697 
   16698 
   16699 
   16700 
   16701 
   16702 
   16703 
   16704 
   16705 xorg_testset_save_CFLAGS="$CFLAGS"
   16706 
   16707 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16708 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16709 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16710 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16711 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16712   $as_echo_n "(cached) " >&6
   16713 else
   16714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16715 /* end confdefs.h.  */
   16716 int i;
   16717 _ACEOF
   16718 if ac_fn_c_try_compile "$LINENO"; then :
   16719   xorg_cv_cc_flag_unknown_warning_option=yes
   16720 else
   16721   xorg_cv_cc_flag_unknown_warning_option=no
   16722 fi
   16723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16724 fi
   16725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16726 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16727 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16728 	CFLAGS="$xorg_testset_save_CFLAGS"
   16729 fi
   16730 
   16731 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16732 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16733 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16734 	fi
   16735 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16736 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16737 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16738 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16739   $as_echo_n "(cached) " >&6
   16740 else
   16741   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16742 /* end confdefs.h.  */
   16743 int i;
   16744 _ACEOF
   16745 if ac_fn_c_try_compile "$LINENO"; then :
   16746   xorg_cv_cc_flag_unused_command_line_argument=yes
   16747 else
   16748   xorg_cv_cc_flag_unused_command_line_argument=no
   16749 fi
   16750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16751 fi
   16752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16753 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16754 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16755 	CFLAGS="$xorg_testset_save_CFLAGS"
   16756 fi
   16757 
   16758 found="no"
   16759 
   16760 	if test $found = "no" ; then
   16761 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16762 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16763 		fi
   16764 
   16765 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16766 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16767 		fi
   16768 
   16769 		CFLAGS="$CFLAGS -Wmissing-braces"
   16770 
   16771 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   16772 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   16773 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   16774 		if eval \${$cacheid+:} false; then :
   16775   $as_echo_n "(cached) " >&6
   16776 else
   16777   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16778 /* end confdefs.h.  */
   16779 int i;
   16780 int
   16781 main ()
   16782 {
   16783 
   16784   ;
   16785   return 0;
   16786 }
   16787 _ACEOF
   16788 if ac_fn_c_try_link "$LINENO"; then :
   16789   eval $cacheid=yes
   16790 else
   16791   eval $cacheid=no
   16792 fi
   16793 rm -f core conftest.err conftest.$ac_objext \
   16794     conftest$ac_exeext conftest.$ac_ext
   16795 fi
   16796 
   16797 
   16798 		CFLAGS="$xorg_testset_save_CFLAGS"
   16799 
   16800 		eval supported=\$$cacheid
   16801 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16802 $as_echo "$supported" >&6; }
   16803 		if test "$supported" = "yes" ; then
   16804 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   16805 			found="yes"
   16806 		fi
   16807 	fi
   16808 
   16809 
   16810 
   16811 
   16812 
   16813 
   16814 
   16815 
   16816 
   16817 
   16818 
   16819 
   16820 
   16821 
   16822 
   16823 xorg_testset_save_CFLAGS="$CFLAGS"
   16824 
   16825 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16826 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16827 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16828 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16829 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16830   $as_echo_n "(cached) " >&6
   16831 else
   16832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16833 /* end confdefs.h.  */
   16834 int i;
   16835 _ACEOF
   16836 if ac_fn_c_try_compile "$LINENO"; then :
   16837   xorg_cv_cc_flag_unknown_warning_option=yes
   16838 else
   16839   xorg_cv_cc_flag_unknown_warning_option=no
   16840 fi
   16841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16842 fi
   16843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16844 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16845 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16846 	CFLAGS="$xorg_testset_save_CFLAGS"
   16847 fi
   16848 
   16849 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16850 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16851 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16852 	fi
   16853 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16854 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16855 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16856 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16857   $as_echo_n "(cached) " >&6
   16858 else
   16859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16860 /* end confdefs.h.  */
   16861 int i;
   16862 _ACEOF
   16863 if ac_fn_c_try_compile "$LINENO"; then :
   16864   xorg_cv_cc_flag_unused_command_line_argument=yes
   16865 else
   16866   xorg_cv_cc_flag_unused_command_line_argument=no
   16867 fi
   16868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16869 fi
   16870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16871 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16872 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16873 	CFLAGS="$xorg_testset_save_CFLAGS"
   16874 fi
   16875 
   16876 found="no"
   16877 
   16878 	if test $found = "no" ; then
   16879 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16880 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16881 		fi
   16882 
   16883 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16884 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16885 		fi
   16886 
   16887 		CFLAGS="$CFLAGS -Wsequence-point"
   16888 
   16889 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   16890 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   16891 		cacheid=xorg_cv_cc_flag__Wsequence_point
   16892 		if eval \${$cacheid+:} false; then :
   16893   $as_echo_n "(cached) " >&6
   16894 else
   16895   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16896 /* end confdefs.h.  */
   16897 int i;
   16898 int
   16899 main ()
   16900 {
   16901 
   16902   ;
   16903   return 0;
   16904 }
   16905 _ACEOF
   16906 if ac_fn_c_try_link "$LINENO"; then :
   16907   eval $cacheid=yes
   16908 else
   16909   eval $cacheid=no
   16910 fi
   16911 rm -f core conftest.err conftest.$ac_objext \
   16912     conftest$ac_exeext conftest.$ac_ext
   16913 fi
   16914 
   16915 
   16916 		CFLAGS="$xorg_testset_save_CFLAGS"
   16917 
   16918 		eval supported=\$$cacheid
   16919 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16920 $as_echo "$supported" >&6; }
   16921 		if test "$supported" = "yes" ; then
   16922 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   16923 			found="yes"
   16924 		fi
   16925 	fi
   16926 
   16927 
   16928 
   16929 
   16930 
   16931 
   16932 
   16933 
   16934 
   16935 
   16936 
   16937 
   16938 
   16939 
   16940 
   16941 xorg_testset_save_CFLAGS="$CFLAGS"
   16942 
   16943 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16944 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16945 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16946 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16947 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16948   $as_echo_n "(cached) " >&6
   16949 else
   16950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16951 /* end confdefs.h.  */
   16952 int i;
   16953 _ACEOF
   16954 if ac_fn_c_try_compile "$LINENO"; then :
   16955   xorg_cv_cc_flag_unknown_warning_option=yes
   16956 else
   16957   xorg_cv_cc_flag_unknown_warning_option=no
   16958 fi
   16959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16960 fi
   16961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16962 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16963 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16964 	CFLAGS="$xorg_testset_save_CFLAGS"
   16965 fi
   16966 
   16967 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16968 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16969 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16970 	fi
   16971 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16972 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16973 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16974 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16975   $as_echo_n "(cached) " >&6
   16976 else
   16977   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16978 /* end confdefs.h.  */
   16979 int i;
   16980 _ACEOF
   16981 if ac_fn_c_try_compile "$LINENO"; then :
   16982   xorg_cv_cc_flag_unused_command_line_argument=yes
   16983 else
   16984   xorg_cv_cc_flag_unused_command_line_argument=no
   16985 fi
   16986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16987 fi
   16988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16989 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16990 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16991 	CFLAGS="$xorg_testset_save_CFLAGS"
   16992 fi
   16993 
   16994 found="no"
   16995 
   16996 	if test $found = "no" ; then
   16997 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16998 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16999 		fi
   17000 
   17001 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17002 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17003 		fi
   17004 
   17005 		CFLAGS="$CFLAGS -Wreturn-type"
   17006 
   17007 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   17008 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   17009 		cacheid=xorg_cv_cc_flag__Wreturn_type
   17010 		if eval \${$cacheid+:} false; then :
   17011   $as_echo_n "(cached) " >&6
   17012 else
   17013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17014 /* end confdefs.h.  */
   17015 int i;
   17016 int
   17017 main ()
   17018 {
   17019 
   17020   ;
   17021   return 0;
   17022 }
   17023 _ACEOF
   17024 if ac_fn_c_try_link "$LINENO"; then :
   17025   eval $cacheid=yes
   17026 else
   17027   eval $cacheid=no
   17028 fi
   17029 rm -f core conftest.err conftest.$ac_objext \
   17030     conftest$ac_exeext conftest.$ac_ext
   17031 fi
   17032 
   17033 
   17034 		CFLAGS="$xorg_testset_save_CFLAGS"
   17035 
   17036 		eval supported=\$$cacheid
   17037 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17038 $as_echo "$supported" >&6; }
   17039 		if test "$supported" = "yes" ; then
   17040 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   17041 			found="yes"
   17042 		fi
   17043 	fi
   17044 
   17045 
   17046 
   17047 
   17048 
   17049 
   17050 
   17051 
   17052 
   17053 
   17054 
   17055 
   17056 
   17057 
   17058 
   17059 xorg_testset_save_CFLAGS="$CFLAGS"
   17060 
   17061 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17062 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17063 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17064 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17065 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17066   $as_echo_n "(cached) " >&6
   17067 else
   17068   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17069 /* end confdefs.h.  */
   17070 int i;
   17071 _ACEOF
   17072 if ac_fn_c_try_compile "$LINENO"; then :
   17073   xorg_cv_cc_flag_unknown_warning_option=yes
   17074 else
   17075   xorg_cv_cc_flag_unknown_warning_option=no
   17076 fi
   17077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17078 fi
   17079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17080 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17081 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17082 	CFLAGS="$xorg_testset_save_CFLAGS"
   17083 fi
   17084 
   17085 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17086 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17087 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17088 	fi
   17089 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17090 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17091 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17092 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17093   $as_echo_n "(cached) " >&6
   17094 else
   17095   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17096 /* end confdefs.h.  */
   17097 int i;
   17098 _ACEOF
   17099 if ac_fn_c_try_compile "$LINENO"; then :
   17100   xorg_cv_cc_flag_unused_command_line_argument=yes
   17101 else
   17102   xorg_cv_cc_flag_unused_command_line_argument=no
   17103 fi
   17104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17105 fi
   17106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17107 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17108 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17109 	CFLAGS="$xorg_testset_save_CFLAGS"
   17110 fi
   17111 
   17112 found="no"
   17113 
   17114 	if test $found = "no" ; then
   17115 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17116 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17117 		fi
   17118 
   17119 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17120 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17121 		fi
   17122 
   17123 		CFLAGS="$CFLAGS -Wtrigraphs"
   17124 
   17125 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   17126 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   17127 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   17128 		if eval \${$cacheid+:} false; then :
   17129   $as_echo_n "(cached) " >&6
   17130 else
   17131   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17132 /* end confdefs.h.  */
   17133 int i;
   17134 int
   17135 main ()
   17136 {
   17137 
   17138   ;
   17139   return 0;
   17140 }
   17141 _ACEOF
   17142 if ac_fn_c_try_link "$LINENO"; then :
   17143   eval $cacheid=yes
   17144 else
   17145   eval $cacheid=no
   17146 fi
   17147 rm -f core conftest.err conftest.$ac_objext \
   17148     conftest$ac_exeext conftest.$ac_ext
   17149 fi
   17150 
   17151 
   17152 		CFLAGS="$xorg_testset_save_CFLAGS"
   17153 
   17154 		eval supported=\$$cacheid
   17155 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17156 $as_echo "$supported" >&6; }
   17157 		if test "$supported" = "yes" ; then
   17158 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   17159 			found="yes"
   17160 		fi
   17161 	fi
   17162 
   17163 
   17164 
   17165 
   17166 
   17167 
   17168 
   17169 
   17170 
   17171 
   17172 
   17173 
   17174 
   17175 
   17176 
   17177 xorg_testset_save_CFLAGS="$CFLAGS"
   17178 
   17179 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17180 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17181 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17182 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17183 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17184   $as_echo_n "(cached) " >&6
   17185 else
   17186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17187 /* end confdefs.h.  */
   17188 int i;
   17189 _ACEOF
   17190 if ac_fn_c_try_compile "$LINENO"; then :
   17191   xorg_cv_cc_flag_unknown_warning_option=yes
   17192 else
   17193   xorg_cv_cc_flag_unknown_warning_option=no
   17194 fi
   17195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17196 fi
   17197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17198 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17199 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17200 	CFLAGS="$xorg_testset_save_CFLAGS"
   17201 fi
   17202 
   17203 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17204 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17205 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17206 	fi
   17207 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17208 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17209 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17210 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17211   $as_echo_n "(cached) " >&6
   17212 else
   17213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17214 /* end confdefs.h.  */
   17215 int i;
   17216 _ACEOF
   17217 if ac_fn_c_try_compile "$LINENO"; then :
   17218   xorg_cv_cc_flag_unused_command_line_argument=yes
   17219 else
   17220   xorg_cv_cc_flag_unused_command_line_argument=no
   17221 fi
   17222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17223 fi
   17224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17225 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17226 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17227 	CFLAGS="$xorg_testset_save_CFLAGS"
   17228 fi
   17229 
   17230 found="no"
   17231 
   17232 	if test $found = "no" ; then
   17233 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17234 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17235 		fi
   17236 
   17237 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17238 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17239 		fi
   17240 
   17241 		CFLAGS="$CFLAGS -Warray-bounds"
   17242 
   17243 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   17244 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   17245 		cacheid=xorg_cv_cc_flag__Warray_bounds
   17246 		if eval \${$cacheid+:} false; then :
   17247   $as_echo_n "(cached) " >&6
   17248 else
   17249   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17250 /* end confdefs.h.  */
   17251 int i;
   17252 int
   17253 main ()
   17254 {
   17255 
   17256   ;
   17257   return 0;
   17258 }
   17259 _ACEOF
   17260 if ac_fn_c_try_link "$LINENO"; then :
   17261   eval $cacheid=yes
   17262 else
   17263   eval $cacheid=no
   17264 fi
   17265 rm -f core conftest.err conftest.$ac_objext \
   17266     conftest$ac_exeext conftest.$ac_ext
   17267 fi
   17268 
   17269 
   17270 		CFLAGS="$xorg_testset_save_CFLAGS"
   17271 
   17272 		eval supported=\$$cacheid
   17273 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17274 $as_echo "$supported" >&6; }
   17275 		if test "$supported" = "yes" ; then
   17276 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   17277 			found="yes"
   17278 		fi
   17279 	fi
   17280 
   17281 
   17282 
   17283 
   17284 
   17285 
   17286 
   17287 
   17288 
   17289 
   17290 
   17291 
   17292 
   17293 
   17294 
   17295 xorg_testset_save_CFLAGS="$CFLAGS"
   17296 
   17297 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17298 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17299 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17300 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17301 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17302   $as_echo_n "(cached) " >&6
   17303 else
   17304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17305 /* end confdefs.h.  */
   17306 int i;
   17307 _ACEOF
   17308 if ac_fn_c_try_compile "$LINENO"; then :
   17309   xorg_cv_cc_flag_unknown_warning_option=yes
   17310 else
   17311   xorg_cv_cc_flag_unknown_warning_option=no
   17312 fi
   17313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17314 fi
   17315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17316 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17317 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17318 	CFLAGS="$xorg_testset_save_CFLAGS"
   17319 fi
   17320 
   17321 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17322 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17323 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17324 	fi
   17325 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17326 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17327 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17328 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17329   $as_echo_n "(cached) " >&6
   17330 else
   17331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17332 /* end confdefs.h.  */
   17333 int i;
   17334 _ACEOF
   17335 if ac_fn_c_try_compile "$LINENO"; then :
   17336   xorg_cv_cc_flag_unused_command_line_argument=yes
   17337 else
   17338   xorg_cv_cc_flag_unused_command_line_argument=no
   17339 fi
   17340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17341 fi
   17342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17343 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17344 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17345 	CFLAGS="$xorg_testset_save_CFLAGS"
   17346 fi
   17347 
   17348 found="no"
   17349 
   17350 	if test $found = "no" ; then
   17351 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17352 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17353 		fi
   17354 
   17355 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17356 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17357 		fi
   17358 
   17359 		CFLAGS="$CFLAGS -Wwrite-strings"
   17360 
   17361 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   17362 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   17363 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   17364 		if eval \${$cacheid+:} false; then :
   17365   $as_echo_n "(cached) " >&6
   17366 else
   17367   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17368 /* end confdefs.h.  */
   17369 int i;
   17370 int
   17371 main ()
   17372 {
   17373 
   17374   ;
   17375   return 0;
   17376 }
   17377 _ACEOF
   17378 if ac_fn_c_try_link "$LINENO"; then :
   17379   eval $cacheid=yes
   17380 else
   17381   eval $cacheid=no
   17382 fi
   17383 rm -f core conftest.err conftest.$ac_objext \
   17384     conftest$ac_exeext conftest.$ac_ext
   17385 fi
   17386 
   17387 
   17388 		CFLAGS="$xorg_testset_save_CFLAGS"
   17389 
   17390 		eval supported=\$$cacheid
   17391 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17392 $as_echo "$supported" >&6; }
   17393 		if test "$supported" = "yes" ; then
   17394 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   17395 			found="yes"
   17396 		fi
   17397 	fi
   17398 
   17399 
   17400 
   17401 
   17402 
   17403 
   17404 
   17405 
   17406 
   17407 
   17408 
   17409 
   17410 
   17411 
   17412 
   17413 xorg_testset_save_CFLAGS="$CFLAGS"
   17414 
   17415 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17416 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17417 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17418 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17419 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17420   $as_echo_n "(cached) " >&6
   17421 else
   17422   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17423 /* end confdefs.h.  */
   17424 int i;
   17425 _ACEOF
   17426 if ac_fn_c_try_compile "$LINENO"; then :
   17427   xorg_cv_cc_flag_unknown_warning_option=yes
   17428 else
   17429   xorg_cv_cc_flag_unknown_warning_option=no
   17430 fi
   17431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17432 fi
   17433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17434 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17435 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17436 	CFLAGS="$xorg_testset_save_CFLAGS"
   17437 fi
   17438 
   17439 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17440 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17441 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17442 	fi
   17443 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17444 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17445 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17446 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17447   $as_echo_n "(cached) " >&6
   17448 else
   17449   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17450 /* end confdefs.h.  */
   17451 int i;
   17452 _ACEOF
   17453 if ac_fn_c_try_compile "$LINENO"; then :
   17454   xorg_cv_cc_flag_unused_command_line_argument=yes
   17455 else
   17456   xorg_cv_cc_flag_unused_command_line_argument=no
   17457 fi
   17458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17459 fi
   17460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17461 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17462 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17463 	CFLAGS="$xorg_testset_save_CFLAGS"
   17464 fi
   17465 
   17466 found="no"
   17467 
   17468 	if test $found = "no" ; then
   17469 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17470 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17471 		fi
   17472 
   17473 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17474 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17475 		fi
   17476 
   17477 		CFLAGS="$CFLAGS -Waddress"
   17478 
   17479 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   17480 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   17481 		cacheid=xorg_cv_cc_flag__Waddress
   17482 		if eval \${$cacheid+:} false; then :
   17483   $as_echo_n "(cached) " >&6
   17484 else
   17485   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17486 /* end confdefs.h.  */
   17487 int i;
   17488 int
   17489 main ()
   17490 {
   17491 
   17492   ;
   17493   return 0;
   17494 }
   17495 _ACEOF
   17496 if ac_fn_c_try_link "$LINENO"; then :
   17497   eval $cacheid=yes
   17498 else
   17499   eval $cacheid=no
   17500 fi
   17501 rm -f core conftest.err conftest.$ac_objext \
   17502     conftest$ac_exeext conftest.$ac_ext
   17503 fi
   17504 
   17505 
   17506 		CFLAGS="$xorg_testset_save_CFLAGS"
   17507 
   17508 		eval supported=\$$cacheid
   17509 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17510 $as_echo "$supported" >&6; }
   17511 		if test "$supported" = "yes" ; then
   17512 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   17513 			found="yes"
   17514 		fi
   17515 	fi
   17516 
   17517 
   17518 
   17519 
   17520 
   17521 
   17522 
   17523 
   17524 
   17525 
   17526 
   17527 
   17528 
   17529 
   17530 
   17531 xorg_testset_save_CFLAGS="$CFLAGS"
   17532 
   17533 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17534 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17535 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17536 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17537 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17538   $as_echo_n "(cached) " >&6
   17539 else
   17540   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17541 /* end confdefs.h.  */
   17542 int i;
   17543 _ACEOF
   17544 if ac_fn_c_try_compile "$LINENO"; then :
   17545   xorg_cv_cc_flag_unknown_warning_option=yes
   17546 else
   17547   xorg_cv_cc_flag_unknown_warning_option=no
   17548 fi
   17549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17550 fi
   17551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17552 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17553 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17554 	CFLAGS="$xorg_testset_save_CFLAGS"
   17555 fi
   17556 
   17557 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17558 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17559 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17560 	fi
   17561 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17562 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17563 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17564 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17565   $as_echo_n "(cached) " >&6
   17566 else
   17567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17568 /* end confdefs.h.  */
   17569 int i;
   17570 _ACEOF
   17571 if ac_fn_c_try_compile "$LINENO"; then :
   17572   xorg_cv_cc_flag_unused_command_line_argument=yes
   17573 else
   17574   xorg_cv_cc_flag_unused_command_line_argument=no
   17575 fi
   17576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17577 fi
   17578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17579 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17580 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17581 	CFLAGS="$xorg_testset_save_CFLAGS"
   17582 fi
   17583 
   17584 found="no"
   17585 
   17586 	if test $found = "no" ; then
   17587 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17588 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17589 		fi
   17590 
   17591 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17592 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17593 		fi
   17594 
   17595 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   17596 
   17597 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   17598 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   17599 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   17600 		if eval \${$cacheid+:} false; then :
   17601   $as_echo_n "(cached) " >&6
   17602 else
   17603   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17604 /* end confdefs.h.  */
   17605 int i;
   17606 int
   17607 main ()
   17608 {
   17609 
   17610   ;
   17611   return 0;
   17612 }
   17613 _ACEOF
   17614 if ac_fn_c_try_link "$LINENO"; then :
   17615   eval $cacheid=yes
   17616 else
   17617   eval $cacheid=no
   17618 fi
   17619 rm -f core conftest.err conftest.$ac_objext \
   17620     conftest$ac_exeext conftest.$ac_ext
   17621 fi
   17622 
   17623 
   17624 		CFLAGS="$xorg_testset_save_CFLAGS"
   17625 
   17626 		eval supported=\$$cacheid
   17627 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17628 $as_echo "$supported" >&6; }
   17629 		if test "$supported" = "yes" ; then
   17630 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   17631 			found="yes"
   17632 		fi
   17633 	fi
   17634 
   17635 
   17636 
   17637 
   17638 
   17639 
   17640 
   17641 
   17642 
   17643 
   17644 
   17645 
   17646 
   17647 
   17648 
   17649 xorg_testset_save_CFLAGS="$CFLAGS"
   17650 
   17651 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17652 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17653 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17654 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17655 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17656   $as_echo_n "(cached) " >&6
   17657 else
   17658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17659 /* end confdefs.h.  */
   17660 int i;
   17661 _ACEOF
   17662 if ac_fn_c_try_compile "$LINENO"; then :
   17663   xorg_cv_cc_flag_unknown_warning_option=yes
   17664 else
   17665   xorg_cv_cc_flag_unknown_warning_option=no
   17666 fi
   17667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17668 fi
   17669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17670 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17671 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17672 	CFLAGS="$xorg_testset_save_CFLAGS"
   17673 fi
   17674 
   17675 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17676 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17677 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17678 	fi
   17679 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17680 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17681 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17682 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17683   $as_echo_n "(cached) " >&6
   17684 else
   17685   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17686 /* end confdefs.h.  */
   17687 int i;
   17688 _ACEOF
   17689 if ac_fn_c_try_compile "$LINENO"; then :
   17690   xorg_cv_cc_flag_unused_command_line_argument=yes
   17691 else
   17692   xorg_cv_cc_flag_unused_command_line_argument=no
   17693 fi
   17694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17695 fi
   17696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17697 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17698 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17699 	CFLAGS="$xorg_testset_save_CFLAGS"
   17700 fi
   17701 
   17702 found="no"
   17703 
   17704 	if test $found = "no" ; then
   17705 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17706 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17707 		fi
   17708 
   17709 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17710 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17711 		fi
   17712 
   17713 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   17714 
   17715 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   17716 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   17717 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   17718 		if eval \${$cacheid+:} false; then :
   17719   $as_echo_n "(cached) " >&6
   17720 else
   17721   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17722 /* end confdefs.h.  */
   17723 int i;
   17724 int
   17725 main ()
   17726 {
   17727 
   17728   ;
   17729   return 0;
   17730 }
   17731 _ACEOF
   17732 if ac_fn_c_try_link "$LINENO"; then :
   17733   eval $cacheid=yes
   17734 else
   17735   eval $cacheid=no
   17736 fi
   17737 rm -f core conftest.err conftest.$ac_objext \
   17738     conftest$ac_exeext conftest.$ac_ext
   17739 fi
   17740 
   17741 
   17742 		CFLAGS="$xorg_testset_save_CFLAGS"
   17743 
   17744 		eval supported=\$$cacheid
   17745 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17746 $as_echo "$supported" >&6; }
   17747 		if test "$supported" = "yes" ; then
   17748 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   17749 			found="yes"
   17750 		fi
   17751 	fi
   17752 
   17753 
   17754 fi
   17755 
   17756 
   17757 
   17758 
   17759 
   17760 
   17761 
   17762 		CWARNFLAGS="$BASE_CFLAGS"
   17763 		if  test "x$GCC" = xyes ; then
   17764 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   17765 		fi
   17766 
   17767 
   17768 
   17769 
   17770 
   17771 
   17772 
   17773 
   17774 # Check whether --enable-strict-compilation was given.
   17775 if test "${enable_strict_compilation+set}" = set; then :
   17776   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   17777 else
   17778   STRICT_COMPILE=no
   17779 fi
   17780 
   17781 
   17782 
   17783 
   17784 
   17785 
   17786 STRICT_CFLAGS=""
   17787 
   17788 
   17789 
   17790 
   17791 
   17792 
   17793 
   17794 
   17795 
   17796 
   17797 
   17798 
   17799 
   17800 xorg_testset_save_CFLAGS="$CFLAGS"
   17801 
   17802 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17803 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17804 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17805 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17806 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17807   $as_echo_n "(cached) " >&6
   17808 else
   17809   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17810 /* end confdefs.h.  */
   17811 int i;
   17812 _ACEOF
   17813 if ac_fn_c_try_compile "$LINENO"; then :
   17814   xorg_cv_cc_flag_unknown_warning_option=yes
   17815 else
   17816   xorg_cv_cc_flag_unknown_warning_option=no
   17817 fi
   17818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17819 fi
   17820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17821 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17822 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17823 	CFLAGS="$xorg_testset_save_CFLAGS"
   17824 fi
   17825 
   17826 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17827 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17828 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17829 	fi
   17830 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17831 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17832 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17833 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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_unused_command_line_argument=yes
   17842 else
   17843   xorg_cv_cc_flag_unused_command_line_argument=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_unused_command_line_argument" >&5
   17848 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17849 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17850 	CFLAGS="$xorg_testset_save_CFLAGS"
   17851 fi
   17852 
   17853 found="no"
   17854 
   17855 	if test $found = "no" ; then
   17856 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17857 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17858 		fi
   17859 
   17860 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17861 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17862 		fi
   17863 
   17864 		CFLAGS="$CFLAGS -pedantic"
   17865 
   17866 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   17867 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   17868 		cacheid=xorg_cv_cc_flag__pedantic
   17869 		if eval \${$cacheid+:} false; then :
   17870   $as_echo_n "(cached) " >&6
   17871 else
   17872   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17873 /* end confdefs.h.  */
   17874 int i;
   17875 int
   17876 main ()
   17877 {
   17878 
   17879   ;
   17880   return 0;
   17881 }
   17882 _ACEOF
   17883 if ac_fn_c_try_link "$LINENO"; then :
   17884   eval $cacheid=yes
   17885 else
   17886   eval $cacheid=no
   17887 fi
   17888 rm -f core conftest.err conftest.$ac_objext \
   17889     conftest$ac_exeext conftest.$ac_ext
   17890 fi
   17891 
   17892 
   17893 		CFLAGS="$xorg_testset_save_CFLAGS"
   17894 
   17895 		eval supported=\$$cacheid
   17896 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17897 $as_echo "$supported" >&6; }
   17898 		if test "$supported" = "yes" ; then
   17899 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   17900 			found="yes"
   17901 		fi
   17902 	fi
   17903 
   17904 
   17905 
   17906 
   17907 
   17908 
   17909 
   17910 
   17911 
   17912 
   17913 
   17914 
   17915 
   17916 
   17917 
   17918 xorg_testset_save_CFLAGS="$CFLAGS"
   17919 
   17920 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17921 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17922 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17923 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17924 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17925   $as_echo_n "(cached) " >&6
   17926 else
   17927   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17928 /* end confdefs.h.  */
   17929 int i;
   17930 _ACEOF
   17931 if ac_fn_c_try_compile "$LINENO"; then :
   17932   xorg_cv_cc_flag_unknown_warning_option=yes
   17933 else
   17934   xorg_cv_cc_flag_unknown_warning_option=no
   17935 fi
   17936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17937 fi
   17938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17939 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17940 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17941 	CFLAGS="$xorg_testset_save_CFLAGS"
   17942 fi
   17943 
   17944 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17945 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17946 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17947 	fi
   17948 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17949 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17950 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17951 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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_unused_command_line_argument=yes
   17960 else
   17961   xorg_cv_cc_flag_unused_command_line_argument=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_unused_command_line_argument" >&5
   17966 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17967 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17968 	CFLAGS="$xorg_testset_save_CFLAGS"
   17969 fi
   17970 
   17971 found="no"
   17972 
   17973 	if test $found = "no" ; then
   17974 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17975 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17976 		fi
   17977 
   17978 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17979 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17980 		fi
   17981 
   17982 		CFLAGS="$CFLAGS -Werror"
   17983 
   17984 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   17985 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   17986 		cacheid=xorg_cv_cc_flag__Werror
   17987 		if eval \${$cacheid+:} false; then :
   17988   $as_echo_n "(cached) " >&6
   17989 else
   17990   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17991 /* end confdefs.h.  */
   17992 int i;
   17993 int
   17994 main ()
   17995 {
   17996 
   17997   ;
   17998   return 0;
   17999 }
   18000 _ACEOF
   18001 if ac_fn_c_try_link "$LINENO"; then :
   18002   eval $cacheid=yes
   18003 else
   18004   eval $cacheid=no
   18005 fi
   18006 rm -f core conftest.err conftest.$ac_objext \
   18007     conftest$ac_exeext conftest.$ac_ext
   18008 fi
   18009 
   18010 
   18011 		CFLAGS="$xorg_testset_save_CFLAGS"
   18012 
   18013 		eval supported=\$$cacheid
   18014 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18015 $as_echo "$supported" >&6; }
   18016 		if test "$supported" = "yes" ; then
   18017 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   18018 			found="yes"
   18019 		fi
   18020 	fi
   18021 
   18022 	if test $found = "no" ; then
   18023 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18024 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18025 		fi
   18026 
   18027 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18028 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18029 		fi
   18030 
   18031 		CFLAGS="$CFLAGS -errwarn"
   18032 
   18033 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   18034 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   18035 		cacheid=xorg_cv_cc_flag__errwarn
   18036 		if eval \${$cacheid+:} false; then :
   18037   $as_echo_n "(cached) " >&6
   18038 else
   18039   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18040 /* end confdefs.h.  */
   18041 int i;
   18042 int
   18043 main ()
   18044 {
   18045 
   18046   ;
   18047   return 0;
   18048 }
   18049 _ACEOF
   18050 if ac_fn_c_try_link "$LINENO"; then :
   18051   eval $cacheid=yes
   18052 else
   18053   eval $cacheid=no
   18054 fi
   18055 rm -f core conftest.err conftest.$ac_objext \
   18056     conftest$ac_exeext conftest.$ac_ext
   18057 fi
   18058 
   18059 
   18060 		CFLAGS="$xorg_testset_save_CFLAGS"
   18061 
   18062 		eval supported=\$$cacheid
   18063 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18064 $as_echo "$supported" >&6; }
   18065 		if test "$supported" = "yes" ; then
   18066 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   18067 			found="yes"
   18068 		fi
   18069 	fi
   18070 
   18071 
   18072 
   18073 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   18074 # activate it with -Werror, so we add it here explicitly.
   18075 
   18076 
   18077 
   18078 
   18079 
   18080 
   18081 
   18082 
   18083 
   18084 
   18085 
   18086 
   18087 
   18088 xorg_testset_save_CFLAGS="$CFLAGS"
   18089 
   18090 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18091 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18092 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18093 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18094 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   18095   $as_echo_n "(cached) " >&6
   18096 else
   18097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18098 /* end confdefs.h.  */
   18099 int i;
   18100 _ACEOF
   18101 if ac_fn_c_try_compile "$LINENO"; then :
   18102   xorg_cv_cc_flag_unknown_warning_option=yes
   18103 else
   18104   xorg_cv_cc_flag_unknown_warning_option=no
   18105 fi
   18106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18107 fi
   18108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18109 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18110 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18111 	CFLAGS="$xorg_testset_save_CFLAGS"
   18112 fi
   18113 
   18114 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18115 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18116 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18117 	fi
   18118 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18119 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18120 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18121 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18122   $as_echo_n "(cached) " >&6
   18123 else
   18124   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18125 /* end confdefs.h.  */
   18126 int i;
   18127 _ACEOF
   18128 if ac_fn_c_try_compile "$LINENO"; then :
   18129   xorg_cv_cc_flag_unused_command_line_argument=yes
   18130 else
   18131   xorg_cv_cc_flag_unused_command_line_argument=no
   18132 fi
   18133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18134 fi
   18135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18136 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18137 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18138 	CFLAGS="$xorg_testset_save_CFLAGS"
   18139 fi
   18140 
   18141 found="no"
   18142 
   18143 	if test $found = "no" ; then
   18144 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18145 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18146 		fi
   18147 
   18148 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18149 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18150 		fi
   18151 
   18152 		CFLAGS="$CFLAGS -Werror=attributes"
   18153 
   18154 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   18155 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   18156 		cacheid=xorg_cv_cc_flag__Werror_attributes
   18157 		if eval \${$cacheid+:} false; then :
   18158   $as_echo_n "(cached) " >&6
   18159 else
   18160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18161 /* end confdefs.h.  */
   18162 int i;
   18163 int
   18164 main ()
   18165 {
   18166 
   18167   ;
   18168   return 0;
   18169 }
   18170 _ACEOF
   18171 if ac_fn_c_try_link "$LINENO"; then :
   18172   eval $cacheid=yes
   18173 else
   18174   eval $cacheid=no
   18175 fi
   18176 rm -f core conftest.err conftest.$ac_objext \
   18177     conftest$ac_exeext conftest.$ac_ext
   18178 fi
   18179 
   18180 
   18181 		CFLAGS="$xorg_testset_save_CFLAGS"
   18182 
   18183 		eval supported=\$$cacheid
   18184 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18185 $as_echo "$supported" >&6; }
   18186 		if test "$supported" = "yes" ; then
   18187 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   18188 			found="yes"
   18189 		fi
   18190 	fi
   18191 
   18192 
   18193 
   18194 if test "x$STRICT_COMPILE" = "xyes"; then
   18195     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   18196     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   18197 fi
   18198 
   18199 
   18200 
   18201 
   18202 
   18203 
   18204 cat >>confdefs.h <<_ACEOF
   18205 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   18206 _ACEOF
   18207 
   18208 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   18209 	if test "x$PVM" = "x"; then
   18210 		PVM="0"
   18211 	fi
   18212 
   18213 cat >>confdefs.h <<_ACEOF
   18214 #define PACKAGE_VERSION_MINOR $PVM
   18215 _ACEOF
   18216 
   18217 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   18218 	if test "x$PVP" = "x"; then
   18219 		PVP="0"
   18220 	fi
   18221 
   18222 cat >>confdefs.h <<_ACEOF
   18223 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   18224 _ACEOF
   18225 
   18226 
   18227 
   18228 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   18229 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   18230 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   18231 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   18232 
   18233 
   18234 
   18235 
   18236 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   18237 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   18238 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   18239 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   18240 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   18241 
   18242 
   18243 
   18244 
   18245 
   18246 
   18247 if test x$APP_MAN_SUFFIX = x    ; then
   18248     APP_MAN_SUFFIX=1
   18249 fi
   18250 if test x$APP_MAN_DIR = x    ; then
   18251     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   18252 fi
   18253 
   18254 if test x$LIB_MAN_SUFFIX = x    ; then
   18255     LIB_MAN_SUFFIX=3
   18256 fi
   18257 if test x$LIB_MAN_DIR = x    ; then
   18258     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   18259 fi
   18260 
   18261 if test x$FILE_MAN_SUFFIX = x    ; then
   18262     case $host_os in
   18263 	# Solaris 2.0 - 11 use SysV man page sections
   18264 	solaris2.?|solaris2.1[01])	FILE_MAN_SUFFIX=4  ;;
   18265 	*)				FILE_MAN_SUFFIX=5  ;;
   18266     esac
   18267 fi
   18268 if test x$FILE_MAN_DIR = x    ; then
   18269     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   18270 fi
   18271 
   18272 if test x$MISC_MAN_SUFFIX = x    ; then
   18273     case $host_os in
   18274 	# Solaris 2.0 - 11 use SysV man page sections
   18275 	solaris2.?|solaris2.1[01])	MISC_MAN_SUFFIX=5  ;;
   18276 	*)				MISC_MAN_SUFFIX=7  ;;
   18277     esac
   18278 fi
   18279 if test x$MISC_MAN_DIR = x    ; then
   18280     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   18281 fi
   18282 
   18283 if test x$DRIVER_MAN_SUFFIX = x    ; then
   18284     case $host_os in
   18285 	# Solaris 2.0 - 11 use SysV man page sections
   18286 	solaris2.?|solaris2.1[01])	DRIVER_MAN_SUFFIX=7  ;;
   18287 	*)				DRIVER_MAN_SUFFIX=4  ;;
   18288     esac
   18289 fi
   18290 if test x$DRIVER_MAN_DIR = x    ; then
   18291     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   18292 fi
   18293 
   18294 if test x$ADMIN_MAN_SUFFIX = x    ; then
   18295     case $host_os in
   18296 	# Solaris 2.0 - 11 use SysV man page sections
   18297 	solaris2.?|solaris2.1[01])	ADMIN_MAN_SUFFIX=1m ;;
   18298 	*)				ADMIN_MAN_SUFFIX=8  ;;
   18299     esac
   18300 fi
   18301 if test x$ADMIN_MAN_DIR = x    ; then
   18302     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   18303 fi
   18304 
   18305 
   18306 
   18307 
   18308 
   18309 
   18310 
   18311 
   18312 
   18313 
   18314 
   18315 
   18316 
   18317 
   18318 
   18319 XORG_MAN_PAGE="X Version 11"
   18320 
   18321 MAN_SUBSTS="\
   18322 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   18323 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   18324 	-e 's|__xservername__|Xorg|g' \
   18325 	-e 's|__xconfigfile__|xorg.conf|g' \
   18326 	-e 's|__projectroot__|\$(prefix)|g' \
   18327 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   18328 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   18329 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   18330 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   18331 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   18332 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   18333 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   18334 
   18335 
   18336 
   18337 # Check whether --enable-silent-rules was given.
   18338 if test "${enable_silent_rules+set}" = set; then :
   18339   enableval=$enable_silent_rules;
   18340 fi
   18341 
   18342 case $enable_silent_rules in # (((
   18343   yes) AM_DEFAULT_VERBOSITY=0;;
   18344    no) AM_DEFAULT_VERBOSITY=1;;
   18345     *) AM_DEFAULT_VERBOSITY=0;;
   18346 esac
   18347 am_make=${MAKE-make}
   18348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   18349 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   18350 if ${am_cv_make_support_nested_variables+:} false; then :
   18351   $as_echo_n "(cached) " >&6
   18352 else
   18353   if $as_echo 'TRUE=$(BAR$(V))
   18354 BAR0=false
   18355 BAR1=true
   18356 V=1
   18357 am__doit:
   18358 	@$(TRUE)
   18359 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   18360   am_cv_make_support_nested_variables=yes
   18361 else
   18362   am_cv_make_support_nested_variables=no
   18363 fi
   18364 fi
   18365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   18366 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   18367 if test $am_cv_make_support_nested_variables = yes; then
   18368     AM_V='$(V)'
   18369   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   18370 else
   18371   AM_V=$AM_DEFAULT_VERBOSITY
   18372   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   18373 fi
   18374 AM_BACKSLASH='\'
   18375 
   18376 
   18377 
   18378 
   18379 # Check whether --enable-specs was given.
   18380 if test "${enable_specs+set}" = set; then :
   18381   enableval=$enable_specs; build_specs=$enableval
   18382 else
   18383   build_specs=yes
   18384 fi
   18385 
   18386 
   18387  if test x$build_specs = xyes; then
   18388   ENABLE_SPECS_TRUE=
   18389   ENABLE_SPECS_FALSE='#'
   18390 else
   18391   ENABLE_SPECS_TRUE='#'
   18392   ENABLE_SPECS_FALSE=
   18393 fi
   18394 
   18395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build functional specifications" >&5
   18396 $as_echo_n "checking whether to build functional specifications... " >&6; }
   18397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_specs" >&5
   18398 $as_echo "$build_specs" >&6; }
   18399 
   18400 
   18401 
   18402 
   18403 
   18404 # Check whether --with-xmlto was given.
   18405 if test "${with_xmlto+set}" = set; then :
   18406   withval=$with_xmlto; use_xmlto=$withval
   18407 else
   18408   use_xmlto=auto
   18409 fi
   18410 
   18411 
   18412 
   18413 if test "x$use_xmlto" = x"auto"; then
   18414    # Extract the first word of "xmlto", so it can be a program name with args.
   18415 set dummy xmlto; ac_word=$2
   18416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18417 $as_echo_n "checking for $ac_word... " >&6; }
   18418 if ${ac_cv_path_XMLTO+:} false; then :
   18419   $as_echo_n "(cached) " >&6
   18420 else
   18421   case $XMLTO in
   18422   [\\/]* | ?:[\\/]*)
   18423   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   18424   ;;
   18425   *)
   18426   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18427 for as_dir in $PATH
   18428 do
   18429   IFS=$as_save_IFS
   18430   test -z "$as_dir" && as_dir=.
   18431     for ac_exec_ext in '' $ac_executable_extensions; do
   18432   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18433     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   18434     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18435     break 2
   18436   fi
   18437 done
   18438   done
   18439 IFS=$as_save_IFS
   18440 
   18441   ;;
   18442 esac
   18443 fi
   18444 XMLTO=$ac_cv_path_XMLTO
   18445 if test -n "$XMLTO"; then
   18446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   18447 $as_echo "$XMLTO" >&6; }
   18448 else
   18449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18450 $as_echo "no" >&6; }
   18451 fi
   18452 
   18453 
   18454    if test "x$XMLTO" = "x"; then
   18455         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   18456 $as_echo "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   18457 	have_xmlto=no
   18458    else
   18459         have_xmlto=yes
   18460    fi
   18461 elif test "x$use_xmlto" = x"yes" ; then
   18462    # Extract the first word of "xmlto", so it can be a program name with args.
   18463 set dummy xmlto; ac_word=$2
   18464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18465 $as_echo_n "checking for $ac_word... " >&6; }
   18466 if ${ac_cv_path_XMLTO+:} false; then :
   18467   $as_echo_n "(cached) " >&6
   18468 else
   18469   case $XMLTO in
   18470   [\\/]* | ?:[\\/]*)
   18471   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   18472   ;;
   18473   *)
   18474   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18475 for as_dir in $PATH
   18476 do
   18477   IFS=$as_save_IFS
   18478   test -z "$as_dir" && as_dir=.
   18479     for ac_exec_ext in '' $ac_executable_extensions; do
   18480   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18481     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   18482     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18483     break 2
   18484   fi
   18485 done
   18486   done
   18487 IFS=$as_save_IFS
   18488 
   18489   ;;
   18490 esac
   18491 fi
   18492 XMLTO=$ac_cv_path_XMLTO
   18493 if test -n "$XMLTO"; then
   18494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   18495 $as_echo "$XMLTO" >&6; }
   18496 else
   18497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18498 $as_echo "no" >&6; }
   18499 fi
   18500 
   18501 
   18502    if test "x$XMLTO" = "x"; then
   18503         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   18504    fi
   18505    have_xmlto=yes
   18506 elif test "x$use_xmlto" = x"no" ; then
   18507    if test "x$XMLTO" != "x"; then
   18508       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   18509 $as_echo "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   18510    fi
   18511    have_xmlto=no
   18512 else
   18513    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   18514 fi
   18515 
   18516 # Test for a minimum version of xmlto, if provided.
   18517 if test "$have_xmlto" = yes; then
   18518     # scrape the xmlto version
   18519     { $as_echo "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   18520 $as_echo_n "checking the xmlto version... " >&6; }
   18521     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   18522     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   18523 $as_echo "$xmlto_version" >&6; }
   18524     as_arg_v1=$xmlto_version
   18525 as_arg_v2=0.0.22
   18526 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   18527 case $? in #(
   18528   1) :
   18529     if test "x$use_xmlto" = xauto; then
   18530             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&5
   18531 $as_echo "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&2;}
   18532             have_xmlto=no
   18533         else
   18534             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.22 needed" "$LINENO" 5
   18535         fi ;; #(
   18536   0) :
   18537      ;; #(
   18538   2) :
   18539      ;; #(
   18540   *) :
   18541      ;;
   18542 esac
   18543 fi
   18544 
   18545 # Test for the ability of xmlto to generate a text target
   18546 #
   18547 # NOTE: xmlto 0.0.27 or higher return a non-zero return code in the
   18548 # following test for empty XML docbook files.
   18549 # For compatibility reasons use the following empty XML docbook file and if
   18550 # it fails try it again with a non-empty XML file.
   18551 have_xmlto_text=no
   18552 cat > conftest.xml << "EOF"
   18553 EOF
   18554 if test "$have_xmlto" = yes; then :
   18555   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1; then :
   18556   have_xmlto_text=yes
   18557 else
   18558   # Try it again with a non-empty XML file.
   18559               cat > conftest.xml << "EOF"
   18560 <x></x>
   18561 EOF
   18562               if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1; then :
   18563   have_xmlto_text=yes
   18564 else
   18565   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   18566 $as_echo "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;}
   18567 fi
   18568 fi
   18569 fi
   18570 rm -f conftest.xml
   18571  if test $have_xmlto_text = yes; then
   18572   HAVE_XMLTO_TEXT_TRUE=
   18573   HAVE_XMLTO_TEXT_FALSE='#'
   18574 else
   18575   HAVE_XMLTO_TEXT_TRUE='#'
   18576   HAVE_XMLTO_TEXT_FALSE=
   18577 fi
   18578 
   18579  if test "$have_xmlto" = yes; then
   18580   HAVE_XMLTO_TRUE=
   18581   HAVE_XMLTO_FALSE='#'
   18582 else
   18583   HAVE_XMLTO_TRUE='#'
   18584   HAVE_XMLTO_FALSE=
   18585 fi
   18586 
   18587 
   18588 
   18589 
   18590 
   18591 
   18592 # Check whether --with-fop was given.
   18593 if test "${with_fop+set}" = set; then :
   18594   withval=$with_fop; use_fop=$withval
   18595 else
   18596   use_fop=auto
   18597 fi
   18598 
   18599 
   18600 
   18601 if test "x$use_fop" = x"auto"; then
   18602    # Extract the first word of "fop", so it can be a program name with args.
   18603 set dummy fop; ac_word=$2
   18604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18605 $as_echo_n "checking for $ac_word... " >&6; }
   18606 if ${ac_cv_path_FOP+:} false; then :
   18607   $as_echo_n "(cached) " >&6
   18608 else
   18609   case $FOP in
   18610   [\\/]* | ?:[\\/]*)
   18611   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   18612   ;;
   18613   *)
   18614   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18615 for as_dir in $PATH
   18616 do
   18617   IFS=$as_save_IFS
   18618   test -z "$as_dir" && as_dir=.
   18619     for ac_exec_ext in '' $ac_executable_extensions; do
   18620   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18621     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   18622     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18623     break 2
   18624   fi
   18625 done
   18626   done
   18627 IFS=$as_save_IFS
   18628 
   18629   ;;
   18630 esac
   18631 fi
   18632 FOP=$ac_cv_path_FOP
   18633 if test -n "$FOP"; then
   18634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   18635 $as_echo "$FOP" >&6; }
   18636 else
   18637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18638 $as_echo "no" >&6; }
   18639 fi
   18640 
   18641 
   18642    if test "x$FOP" = "x"; then
   18643         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   18644 $as_echo "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   18645 	have_fop=no
   18646    else
   18647         have_fop=yes
   18648    fi
   18649 elif test "x$use_fop" = x"yes" ; then
   18650    # Extract the first word of "fop", so it can be a program name with args.
   18651 set dummy fop; ac_word=$2
   18652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18653 $as_echo_n "checking for $ac_word... " >&6; }
   18654 if ${ac_cv_path_FOP+:} false; then :
   18655   $as_echo_n "(cached) " >&6
   18656 else
   18657   case $FOP in
   18658   [\\/]* | ?:[\\/]*)
   18659   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   18660   ;;
   18661   *)
   18662   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18663 for as_dir in $PATH
   18664 do
   18665   IFS=$as_save_IFS
   18666   test -z "$as_dir" && as_dir=.
   18667     for ac_exec_ext in '' $ac_executable_extensions; do
   18668   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18669     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   18670     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18671     break 2
   18672   fi
   18673 done
   18674   done
   18675 IFS=$as_save_IFS
   18676 
   18677   ;;
   18678 esac
   18679 fi
   18680 FOP=$ac_cv_path_FOP
   18681 if test -n "$FOP"; then
   18682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   18683 $as_echo "$FOP" >&6; }
   18684 else
   18685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18686 $as_echo "no" >&6; }
   18687 fi
   18688 
   18689 
   18690    if test "x$FOP" = "x"; then
   18691         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   18692    fi
   18693    have_fop=yes
   18694 elif test "x$use_fop" = x"no" ; then
   18695    if test "x$FOP" != "x"; then
   18696       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   18697 $as_echo "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   18698    fi
   18699    have_fop=no
   18700 else
   18701    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   18702 fi
   18703 
   18704 # Test for a minimum version of fop, if provided.
   18705 
   18706  if test "$have_fop" = yes; then
   18707   HAVE_FOP_TRUE=
   18708   HAVE_FOP_FALSE='#'
   18709 else
   18710   HAVE_FOP_TRUE='#'
   18711   HAVE_FOP_FALSE=
   18712 fi
   18713 
   18714 
   18715 
   18716 
   18717 # Preserves the interface, should it be implemented later
   18718 
   18719 
   18720 
   18721 # Check whether --with-xsltproc was given.
   18722 if test "${with_xsltproc+set}" = set; then :
   18723   withval=$with_xsltproc; use_xsltproc=$withval
   18724 else
   18725   use_xsltproc=auto
   18726 fi
   18727 
   18728 
   18729 
   18730 if test "x$use_xsltproc" = x"auto"; then
   18731    # Extract the first word of "xsltproc", so it can be a program name with args.
   18732 set dummy xsltproc; ac_word=$2
   18733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18734 $as_echo_n "checking for $ac_word... " >&6; }
   18735 if ${ac_cv_path_XSLTPROC+:} false; then :
   18736   $as_echo_n "(cached) " >&6
   18737 else
   18738   case $XSLTPROC in
   18739   [\\/]* | ?:[\\/]*)
   18740   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   18741   ;;
   18742   *)
   18743   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18744 for as_dir in $PATH
   18745 do
   18746   IFS=$as_save_IFS
   18747   test -z "$as_dir" && as_dir=.
   18748     for ac_exec_ext in '' $ac_executable_extensions; do
   18749   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18750     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
   18751     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18752     break 2
   18753   fi
   18754 done
   18755   done
   18756 IFS=$as_save_IFS
   18757 
   18758   ;;
   18759 esac
   18760 fi
   18761 XSLTPROC=$ac_cv_path_XSLTPROC
   18762 if test -n "$XSLTPROC"; then
   18763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   18764 $as_echo "$XSLTPROC" >&6; }
   18765 else
   18766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18767 $as_echo "no" >&6; }
   18768 fi
   18769 
   18770 
   18771    if test "x$XSLTPROC" = "x"; then
   18772         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xsltproc not found - cannot transform XML documents" >&5
   18773 $as_echo "$as_me: WARNING: xsltproc not found - cannot transform XML documents" >&2;}
   18774 	have_xsltproc=no
   18775    else
   18776         have_xsltproc=yes
   18777    fi
   18778 elif test "x$use_xsltproc" = x"yes" ; then
   18779    # Extract the first word of "xsltproc", so it can be a program name with args.
   18780 set dummy xsltproc; ac_word=$2
   18781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18782 $as_echo_n "checking for $ac_word... " >&6; }
   18783 if ${ac_cv_path_XSLTPROC+:} false; then :
   18784   $as_echo_n "(cached) " >&6
   18785 else
   18786   case $XSLTPROC in
   18787   [\\/]* | ?:[\\/]*)
   18788   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   18789   ;;
   18790   *)
   18791   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18792 for as_dir in $PATH
   18793 do
   18794   IFS=$as_save_IFS
   18795   test -z "$as_dir" && as_dir=.
   18796     for ac_exec_ext in '' $ac_executable_extensions; do
   18797   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18798     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
   18799     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18800     break 2
   18801   fi
   18802 done
   18803   done
   18804 IFS=$as_save_IFS
   18805 
   18806   ;;
   18807 esac
   18808 fi
   18809 XSLTPROC=$ac_cv_path_XSLTPROC
   18810 if test -n "$XSLTPROC"; then
   18811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   18812 $as_echo "$XSLTPROC" >&6; }
   18813 else
   18814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18815 $as_echo "no" >&6; }
   18816 fi
   18817 
   18818 
   18819    if test "x$XSLTPROC" = "x"; then
   18820         as_fn_error $? "--with-xsltproc=yes specified but xsltproc not found in PATH" "$LINENO" 5
   18821    fi
   18822    have_xsltproc=yes
   18823 elif test "x$use_xsltproc" = x"no" ; then
   18824    if test "x$XSLTPROC" != "x"; then
   18825       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&5
   18826 $as_echo "$as_me: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&2;}
   18827    fi
   18828    have_xsltproc=no
   18829 else
   18830    as_fn_error $? "--with-xsltproc expects 'yes' or 'no'" "$LINENO" 5
   18831 fi
   18832 
   18833  if test "$have_xsltproc" = yes; then
   18834   HAVE_XSLTPROC_TRUE=
   18835   HAVE_XSLTPROC_FALSE='#'
   18836 else
   18837   HAVE_XSLTPROC_TRUE='#'
   18838   HAVE_XSLTPROC_FALSE=
   18839 fi
   18840 
   18841 
   18842 
   18843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.8" >&5
   18844 $as_echo_n "checking for X.Org SGML entities >= 1.8... " >&6; }
   18845 XORG_SGML_PATH=
   18846 if test -n "$PKG_CONFIG" && \
   18847     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.8\""; } >&5
   18848   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.8") 2>&5
   18849   ac_status=$?
   18850   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18851   test $ac_status = 0; }; then
   18852   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   18853 else
   18854   :
   18855 
   18856 fi
   18857 
   18858 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   18859 # the path and the name of the doc stylesheet
   18860 if test "x$XORG_SGML_PATH" != "x" ; then
   18861    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   18862 $as_echo "$XORG_SGML_PATH" >&6; }
   18863    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   18864    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   18865 else
   18866    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18867 $as_echo "no" >&6; }
   18868 fi
   18869 
   18870 
   18871 
   18872 
   18873  if test "x$XSL_STYLESHEET" != "x"; then
   18874   HAVE_STYLESHEETS_TRUE=
   18875   HAVE_STYLESHEETS_FALSE='#'
   18876 else
   18877   HAVE_STYLESHEETS_TRUE='#'
   18878   HAVE_STYLESHEETS_FALSE=
   18879 fi
   18880 
   18881 
   18882 
   18883 # Check whether --enable-malloc0returnsnull was given.
   18884 if test "${enable_malloc0returnsnull+set}" = set; then :
   18885   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   18886 else
   18887   MALLOC_ZERO_RETURNS_NULL=auto
   18888 fi
   18889 
   18890 
   18891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc(0) returns NULL" >&5
   18892 $as_echo_n "checking whether malloc(0) returns NULL... " >&6; }
   18893 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   18894 if ${xorg_cv_malloc0_returns_null+:} false; then :
   18895   $as_echo_n "(cached) " >&6
   18896 else
   18897   if test "$cross_compiling" = yes; then :
   18898   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18899 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18900 as_fn_error $? "cannot run test program while cross compiling
   18901 See \`config.log' for more details" "$LINENO" 5; }
   18902 else
   18903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18904 /* end confdefs.h.  */
   18905 
   18906 #include <stdlib.h>
   18907 
   18908 int
   18909 main ()
   18910 {
   18911 
   18912     char *m0, *r0, *c0, *p;
   18913     m0 = malloc(0);
   18914     p = malloc(10);
   18915     r0 = realloc(p,0);
   18916     c0 = calloc(0,10);
   18917     exit((m0 == 0 || r0 == 0 || c0 == 0) ? 0 : 1);
   18918 
   18919   ;
   18920   return 0;
   18921 }
   18922 _ACEOF
   18923 if ac_fn_c_try_run "$LINENO"; then :
   18924   xorg_cv_malloc0_returns_null=yes
   18925 else
   18926   xorg_cv_malloc0_returns_null=no
   18927 fi
   18928 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   18929   conftest.$ac_objext conftest.beam conftest.$ac_ext
   18930 fi
   18931 
   18932 fi
   18933 
   18934 MALLOC_ZERO_RETURNS_NULL=$xorg_cv_malloc0_returns_null
   18935 fi
   18936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   18937 $as_echo "$MALLOC_ZERO_RETURNS_NULL" >&6; }
   18938 
   18939 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   18940 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   18941 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   18942 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   18943 else
   18944 	MALLOC_ZERO_CFLAGS=""
   18945 	XMALLOC_ZERO_CFLAGS=""
   18946 	XTMALLOC_ZERO_CFLAGS=""
   18947 fi
   18948 
   18949 
   18950 
   18951 
   18952 
   18953 
   18954 # Determine .so library version per platform
   18955 # based on SharedXextRev in monolith xc/config/cf/*Lib.tmpl
   18956 if test "x$XEXT_SOREV" = "x" ; then
   18957     case $host_os in
   18958 	openbsd*)	XEXT_SOREV=8:0 		;;
   18959 	solaris*)       XEXT_SOREV=0 		;;
   18960 	*)              XEXT_SOREV=6:4:0 	;;
   18961     esac
   18962 fi
   18963 
   18964 
   18965 # Obtain compiler/linker options for depedencies
   18966 
   18967 pkg_failed=no
   18968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
   18969 $as_echo_n "checking for XEXT... " >&6; }
   18970 
   18971 if test -n "$XEXT_CFLAGS"; then
   18972     pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
   18973  elif test -n "$PKG_CONFIG"; then
   18974     if test -n "$PKG_CONFIG" && \
   18975     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.13 x11 >= 1.6 xextproto >= 7.1.99\""; } >&5
   18976   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.13 x11 >= 1.6 xextproto >= 7.1.99") 2>&5
   18977   ac_status=$?
   18978   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18979   test $ac_status = 0; }; then
   18980   pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xproto >= 7.0.13 x11 >= 1.6 xextproto >= 7.1.99" 2>/dev/null`
   18981 		      test "x$?" != "x0" && pkg_failed=yes
   18982 else
   18983   pkg_failed=yes
   18984 fi
   18985  else
   18986     pkg_failed=untried
   18987 fi
   18988 if test -n "$XEXT_LIBS"; then
   18989     pkg_cv_XEXT_LIBS="$XEXT_LIBS"
   18990  elif test -n "$PKG_CONFIG"; then
   18991     if test -n "$PKG_CONFIG" && \
   18992     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.13 x11 >= 1.6 xextproto >= 7.1.99\""; } >&5
   18993   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.13 x11 >= 1.6 xextproto >= 7.1.99") 2>&5
   18994   ac_status=$?
   18995   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18996   test $ac_status = 0; }; then
   18997   pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xproto >= 7.0.13 x11 >= 1.6 xextproto >= 7.1.99" 2>/dev/null`
   18998 		      test "x$?" != "x0" && pkg_failed=yes
   18999 else
   19000   pkg_failed=yes
   19001 fi
   19002  else
   19003     pkg_failed=untried
   19004 fi
   19005 
   19006 
   19007 
   19008 if test $pkg_failed = yes; then
   19009    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19010 $as_echo "no" >&6; }
   19011 
   19012 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19013         _pkg_short_errors_supported=yes
   19014 else
   19015         _pkg_short_errors_supported=no
   19016 fi
   19017         if test $_pkg_short_errors_supported = yes; then
   19018 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto >= 7.0.13 x11 >= 1.6 xextproto >= 7.1.99" 2>&1`
   19019         else
   19020 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto >= 7.0.13 x11 >= 1.6 xextproto >= 7.1.99" 2>&1`
   19021         fi
   19022 	# Put the nasty error message in config.log where it belongs
   19023 	echo "$XEXT_PKG_ERRORS" >&5
   19024 
   19025 	as_fn_error $? "Package requirements (xproto >= 7.0.13 x11 >= 1.6 xextproto >= 7.1.99) were not met:
   19026 
   19027 $XEXT_PKG_ERRORS
   19028 
   19029 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19030 installed software in a non-standard prefix.
   19031 
   19032 Alternatively, you may set the environment variables XEXT_CFLAGS
   19033 and XEXT_LIBS to avoid the need to call pkg-config.
   19034 See the pkg-config man page for more details." "$LINENO" 5
   19035 elif test $pkg_failed = untried; then
   19036      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19037 $as_echo "no" >&6; }
   19038 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19039 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   19040 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19041 is in your PATH or set the PKG_CONFIG environment variable to the full
   19042 path to pkg-config.
   19043 
   19044 Alternatively, you may set the environment variables XEXT_CFLAGS
   19045 and XEXT_LIBS to avoid the need to call pkg-config.
   19046 See the pkg-config man page for more details.
   19047 
   19048 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19049 See \`config.log' for more details" "$LINENO" 5; }
   19050 else
   19051 	XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
   19052 	XEXT_LIBS=$pkg_cv_XEXT_LIBS
   19053         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19054 $as_echo "yes" >&6; }
   19055 
   19056 fi
   19057 
   19058 
   19059 
   19060 
   19061     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcountl" >&5
   19062 $as_echo_n "checking for __builtin_popcountl... " >&6; }
   19063 if ${ax_cv_have___builtin_popcountl+:} false; then :
   19064   $as_echo_n "(cached) " >&6
   19065 else
   19066 
   19067         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19068 /* end confdefs.h.  */
   19069 
   19070 int
   19071 main ()
   19072 {
   19073 
   19074             __builtin_popcountl(0)
   19075 
   19076   ;
   19077   return 0;
   19078 }
   19079 _ACEOF
   19080 if ac_fn_c_try_link "$LINENO"; then :
   19081   ax_cv_have___builtin_popcountl=yes
   19082 else
   19083   ax_cv_have___builtin_popcountl=no
   19084 fi
   19085 rm -f core conftest.err conftest.$ac_objext \
   19086     conftest$ac_exeext conftest.$ac_ext
   19087 
   19088 fi
   19089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have___builtin_popcountl" >&5
   19090 $as_echo "$ax_cv_have___builtin_popcountl" >&6; }
   19091 
   19092     if test yes = $ax_cv_have___builtin_popcountl; then :
   19093 
   19094 cat >>confdefs.h <<_ACEOF
   19095 #define HAVE___BUILTIN_POPCOUNTL 1
   19096 _ACEOF
   19097 
   19098 fi
   19099 
   19100 
   19101 
   19102 
   19103 # Allow checking code with lint, sparse, etc.
   19104 
   19105 
   19106 
   19107 
   19108 
   19109 # Check whether --with-lint was given.
   19110 if test "${with_lint+set}" = set; then :
   19111   withval=$with_lint; use_lint=$withval
   19112 else
   19113   use_lint=no
   19114 fi
   19115 
   19116 
   19117 # Obtain platform specific info like program name and options
   19118 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   19119 case $host_os in
   19120   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   19121 	lint_name=splint
   19122 	lint_options="-badflag"
   19123 	;;
   19124   *freebsd* | *netbsd*)
   19125 	lint_name=lint
   19126 	lint_options="-u -b"
   19127 	;;
   19128   *solaris*)
   19129 	lint_name=lint
   19130 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   19131 	;;
   19132 esac
   19133 
   19134 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   19135 if test "x$use_lint" = x"yes" ; then
   19136    # Extract the first word of "$lint_name", so it can be a program name with args.
   19137 set dummy $lint_name; ac_word=$2
   19138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19139 $as_echo_n "checking for $ac_word... " >&6; }
   19140 if ${ac_cv_path_LINT+:} false; then :
   19141   $as_echo_n "(cached) " >&6
   19142 else
   19143   case $LINT in
   19144   [\\/]* | ?:[\\/]*)
   19145   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   19146   ;;
   19147   *)
   19148   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19149 for as_dir in $PATH
   19150 do
   19151   IFS=$as_save_IFS
   19152   test -z "$as_dir" && as_dir=.
   19153     for ac_exec_ext in '' $ac_executable_extensions; do
   19154   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19155     ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
   19156     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19157     break 2
   19158   fi
   19159 done
   19160   done
   19161 IFS=$as_save_IFS
   19162 
   19163   ;;
   19164 esac
   19165 fi
   19166 LINT=$ac_cv_path_LINT
   19167 if test -n "$LINT"; then
   19168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   19169 $as_echo "$LINT" >&6; }
   19170 else
   19171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19172 $as_echo "no" >&6; }
   19173 fi
   19174 
   19175 
   19176    if test "x$LINT" = "x"; then
   19177         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   19178    fi
   19179 elif test "x$use_lint" = x"no" ; then
   19180    if test "x$LINT" != "x"; then
   19181       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   19182 $as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   19183    fi
   19184 else
   19185    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   19186 fi
   19187 
   19188 # User supplied flags override default flags
   19189 if test "x$LINT_FLAGS" != "x"; then
   19190    lint_options=$LINT_FLAGS
   19191 fi
   19192 
   19193 LINT_FLAGS=$lint_options
   19194 
   19195  if test "x$LINT" != x; then
   19196   LINT_TRUE=
   19197   LINT_FALSE='#'
   19198 else
   19199   LINT_TRUE='#'
   19200   LINT_FALSE=
   19201 fi
   19202 
   19203 
   19204 
   19205 
   19206 
   19207 # Check whether --enable-lint-library was given.
   19208 if test "${enable_lint_library+set}" = set; then :
   19209   enableval=$enable_lint_library; make_lint_lib=$enableval
   19210 else
   19211   make_lint_lib=no
   19212 fi
   19213 
   19214 
   19215 if test "x$make_lint_lib" = x"yes" ; then
   19216    LINTLIB=llib-lXext.ln
   19217    if test "x$LINT" = "x"; then
   19218         as_fn_error $? "Cannot make lint library without --with-lint" "$LINENO" 5
   19219    fi
   19220 elif test "x$make_lint_lib" != x"no" ; then
   19221    as_fn_error $? "--enable-lint-library expects 'yes' or 'no'." "$LINENO" 5
   19222 fi
   19223 
   19224 
   19225  if test x$make_lint_lib != xno; then
   19226   MAKE_LINT_LIB_TRUE=
   19227   MAKE_LINT_LIB_FALSE='#'
   19228 else
   19229   MAKE_LINT_LIB_TRUE='#'
   19230   MAKE_LINT_LIB_FALSE=
   19231 fi
   19232 
   19233 
   19234 
   19235 
   19236 ac_config_files="$ac_config_files Makefile man/Makefile src/Makefile specs/Makefile xext.pc"
   19237 
   19238 cat >confcache <<\_ACEOF
   19239 # This file is a shell script that caches the results of configure
   19240 # tests run on this system so they can be shared between configure
   19241 # scripts and configure runs, see configure's option --config-cache.
   19242 # It is not useful on other systems.  If it contains results you don't
   19243 # want to keep, you may remove or edit it.
   19244 #
   19245 # config.status only pays attention to the cache file if you give it
   19246 # the --recheck option to rerun configure.
   19247 #
   19248 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   19249 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   19250 # following values.
   19251 
   19252 _ACEOF
   19253 
   19254 # The following way of writing the cache mishandles newlines in values,
   19255 # but we know of no workaround that is simple, portable, and efficient.
   19256 # So, we kill variables containing newlines.
   19257 # Ultrix sh set writes to stderr and can't be redirected directly,
   19258 # and sets the high bit in the cache file unless we assign to the vars.
   19259 (
   19260   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   19261     eval ac_val=\$$ac_var
   19262     case $ac_val in #(
   19263     *${as_nl}*)
   19264       case $ac_var in #(
   19265       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   19266 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   19267       esac
   19268       case $ac_var in #(
   19269       _ | IFS | as_nl) ;; #(
   19270       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   19271       *) { eval $ac_var=; unset $ac_var;} ;;
   19272       esac ;;
   19273     esac
   19274   done
   19275 
   19276   (set) 2>&1 |
   19277     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   19278     *${as_nl}ac_space=\ *)
   19279       # `set' does not quote correctly, so add quotes: double-quote
   19280       # substitution turns \\\\ into \\, and sed turns \\ into \.
   19281       sed -n \
   19282 	"s/'/'\\\\''/g;
   19283 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   19284       ;; #(
   19285     *)
   19286       # `set' quotes correctly as required by POSIX, so do not add quotes.
   19287       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   19288       ;;
   19289     esac |
   19290     sort
   19291 ) |
   19292   sed '
   19293      /^ac_cv_env_/b end
   19294      t clear
   19295      :clear
   19296      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   19297      t end
   19298      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   19299      :end' >>confcache
   19300 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   19301   if test -w "$cache_file"; then
   19302     if test "x$cache_file" != "x/dev/null"; then
   19303       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   19304 $as_echo "$as_me: updating cache $cache_file" >&6;}
   19305       if test ! -f "$cache_file" || test -h "$cache_file"; then
   19306 	cat confcache >"$cache_file"
   19307       else
   19308         case $cache_file in #(
   19309         */* | ?:*)
   19310 	  mv -f confcache "$cache_file"$$ &&
   19311 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   19312         *)
   19313 	  mv -f confcache "$cache_file" ;;
   19314 	esac
   19315       fi
   19316     fi
   19317   else
   19318     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   19319 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   19320   fi
   19321 fi
   19322 rm -f confcache
   19323 
   19324 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   19325 # Let make expand exec_prefix.
   19326 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   19327 
   19328 DEFS=-DHAVE_CONFIG_H
   19329 
   19330 ac_libobjs=
   19331 ac_ltlibobjs=
   19332 U=
   19333 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   19334   # 1. Remove the extension, and $U if already installed.
   19335   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   19336   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   19337   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   19338   #    will be set to the directory where LIBOBJS objects are built.
   19339   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   19340   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   19341 done
   19342 LIBOBJS=$ac_libobjs
   19343 
   19344 LTLIBOBJS=$ac_ltlibobjs
   19345 
   19346 
   19347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   19348 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   19349    if test -n "$am_sleep_pid"; then
   19350      # Hide warnings about reused PIDs.
   19351      wait $am_sleep_pid 2>/dev/null
   19352    fi
   19353    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   19354 $as_echo "done" >&6; }
   19355  if test -n "$EXEEXT"; then
   19356   am__EXEEXT_TRUE=
   19357   am__EXEEXT_FALSE='#'
   19358 else
   19359   am__EXEEXT_TRUE='#'
   19360   am__EXEEXT_FALSE=
   19361 fi
   19362 
   19363 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   19364   as_fn_error $? "conditional \"AMDEP\" was never defined.
   19365 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19366 fi
   19367 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   19368   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   19369 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19370 fi
   19371 if test -z "${ENABLE_SPECS_TRUE}" && test -z "${ENABLE_SPECS_FALSE}"; then
   19372   as_fn_error $? "conditional \"ENABLE_SPECS\" was never defined.
   19373 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19374 fi
   19375 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   19376   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   19377 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19378 fi
   19379 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   19380   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   19381 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19382 fi
   19383 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   19384   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   19385 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19386 fi
   19387 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
   19388   as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
   19389 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19390 fi
   19391 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   19392   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   19393 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19394 fi
   19395 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   19396   as_fn_error $? "conditional \"LINT\" was never defined.
   19397 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19398 fi
   19399 if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then
   19400   as_fn_error $? "conditional \"MAKE_LINT_LIB\" was never defined.
   19401 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19402 fi
   19403 
   19404 : "${CONFIG_STATUS=./config.status}"
   19405 ac_write_fail=0
   19406 ac_clean_files_save=$ac_clean_files
   19407 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   19408 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   19409 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   19410 as_write_fail=0
   19411 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   19412 #! $SHELL
   19413 # Generated by $as_me.
   19414 # Run this file to recreate the current configuration.
   19415 # Compiler output produced by configure, useful for debugging
   19416 # configure, is in config.log if it exists.
   19417 
   19418 debug=false
   19419 ac_cs_recheck=false
   19420 ac_cs_silent=false
   19421 
   19422 SHELL=\${CONFIG_SHELL-$SHELL}
   19423 export SHELL
   19424 _ASEOF
   19425 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   19426 ## -------------------- ##
   19427 ## M4sh Initialization. ##
   19428 ## -------------------- ##
   19429 
   19430 # Be more Bourne compatible
   19431 DUALCASE=1; export DUALCASE # for MKS sh
   19432 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   19433   emulate sh
   19434   NULLCMD=:
   19435   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   19436   # is contrary to our usage.  Disable this feature.
   19437   alias -g '${1+"$@"}'='"$@"'
   19438   setopt NO_GLOB_SUBST
   19439 else
   19440   case `(set -o) 2>/dev/null` in #(
   19441   *posix*) :
   19442     set -o posix ;; #(
   19443   *) :
   19444      ;;
   19445 esac
   19446 fi
   19447 
   19448 
   19449 as_nl='
   19450 '
   19451 export as_nl
   19452 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   19453 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   19454 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   19455 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   19456 # Prefer a ksh shell builtin over an external printf program on Solaris,
   19457 # but without wasting forks for bash or zsh.
   19458 if test -z "$BASH_VERSION$ZSH_VERSION" \
   19459     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   19460   as_echo='print -r --'
   19461   as_echo_n='print -rn --'
   19462 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   19463   as_echo='printf %s\n'
   19464   as_echo_n='printf %s'
   19465 else
   19466   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   19467     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   19468     as_echo_n='/usr/ucb/echo -n'
   19469   else
   19470     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   19471     as_echo_n_body='eval
   19472       arg=$1;
   19473       case $arg in #(
   19474       *"$as_nl"*)
   19475 	expr "X$arg" : "X\\(.*\\)$as_nl";
   19476 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   19477       esac;
   19478       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   19479     '
   19480     export as_echo_n_body
   19481     as_echo_n='sh -c $as_echo_n_body as_echo'
   19482   fi
   19483   export as_echo_body
   19484   as_echo='sh -c $as_echo_body as_echo'
   19485 fi
   19486 
   19487 # The user is always right.
   19488 if test "${PATH_SEPARATOR+set}" != set; then
   19489   PATH_SEPARATOR=:
   19490   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   19491     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   19492       PATH_SEPARATOR=';'
   19493   }
   19494 fi
   19495 
   19496 
   19497 # IFS
   19498 # We need space, tab and new line, in precisely that order.  Quoting is
   19499 # there to prevent editors from complaining about space-tab.
   19500 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   19501 # splitting by setting IFS to empty value.)
   19502 IFS=" ""	$as_nl"
   19503 
   19504 # Find who we are.  Look in the path if we contain no directory separator.
   19505 as_myself=
   19506 case $0 in #((
   19507   *[\\/]* ) as_myself=$0 ;;
   19508   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19509 for as_dir in $PATH
   19510 do
   19511   IFS=$as_save_IFS
   19512   test -z "$as_dir" && as_dir=.
   19513     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   19514   done
   19515 IFS=$as_save_IFS
   19516 
   19517      ;;
   19518 esac
   19519 # We did not find ourselves, most probably we were run as `sh COMMAND'
   19520 # in which case we are not to be found in the path.
   19521 if test "x$as_myself" = x; then
   19522   as_myself=$0
   19523 fi
   19524 if test ! -f "$as_myself"; then
   19525   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   19526   exit 1
   19527 fi
   19528 
   19529 # Unset variables that we do not need and which cause bugs (e.g. in
   19530 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   19531 # suppresses any "Segmentation fault" message there.  '((' could
   19532 # trigger a bug in pdksh 5.2.14.
   19533 for as_var in BASH_ENV ENV MAIL MAILPATH
   19534 do eval test x\${$as_var+set} = xset \
   19535   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   19536 done
   19537 PS1='$ '
   19538 PS2='> '
   19539 PS4='+ '
   19540 
   19541 # NLS nuisances.
   19542 LC_ALL=C
   19543 export LC_ALL
   19544 LANGUAGE=C
   19545 export LANGUAGE
   19546 
   19547 # CDPATH.
   19548 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19549 
   19550 
   19551 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   19552 # ----------------------------------------
   19553 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   19554 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   19555 # script with STATUS, using 1 if that was 0.
   19556 as_fn_error ()
   19557 {
   19558   as_status=$1; test $as_status -eq 0 && as_status=1
   19559   if test "$4"; then
   19560     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   19561     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   19562   fi
   19563   $as_echo "$as_me: error: $2" >&2
   19564   as_fn_exit $as_status
   19565 } # as_fn_error
   19566 
   19567 
   19568 # as_fn_set_status STATUS
   19569 # -----------------------
   19570 # Set $? to STATUS, without forking.
   19571 as_fn_set_status ()
   19572 {
   19573   return $1
   19574 } # as_fn_set_status
   19575 
   19576 # as_fn_exit STATUS
   19577 # -----------------
   19578 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   19579 as_fn_exit ()
   19580 {
   19581   set +e
   19582   as_fn_set_status $1
   19583   exit $1
   19584 } # as_fn_exit
   19585 
   19586 # as_fn_unset VAR
   19587 # ---------------
   19588 # Portably unset VAR.
   19589 as_fn_unset ()
   19590 {
   19591   { eval $1=; unset $1;}
   19592 }
   19593 as_unset=as_fn_unset
   19594 # as_fn_append VAR VALUE
   19595 # ----------------------
   19596 # Append the text in VALUE to the end of the definition contained in VAR. Take
   19597 # advantage of any shell optimizations that allow amortized linear growth over
   19598 # repeated appends, instead of the typical quadratic growth present in naive
   19599 # implementations.
   19600 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   19601   eval 'as_fn_append ()
   19602   {
   19603     eval $1+=\$2
   19604   }'
   19605 else
   19606   as_fn_append ()
   19607   {
   19608     eval $1=\$$1\$2
   19609   }
   19610 fi # as_fn_append
   19611 
   19612 # as_fn_arith ARG...
   19613 # ------------------
   19614 # Perform arithmetic evaluation on the ARGs, and store the result in the
   19615 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   19616 # must be portable across $(()) and expr.
   19617 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   19618   eval 'as_fn_arith ()
   19619   {
   19620     as_val=$(( $* ))
   19621   }'
   19622 else
   19623   as_fn_arith ()
   19624   {
   19625     as_val=`expr "$@" || test $? -eq 1`
   19626   }
   19627 fi # as_fn_arith
   19628 
   19629 
   19630 if expr a : '\(a\)' >/dev/null 2>&1 &&
   19631    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   19632   as_expr=expr
   19633 else
   19634   as_expr=false
   19635 fi
   19636 
   19637 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   19638   as_basename=basename
   19639 else
   19640   as_basename=false
   19641 fi
   19642 
   19643 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   19644   as_dirname=dirname
   19645 else
   19646   as_dirname=false
   19647 fi
   19648 
   19649 as_me=`$as_basename -- "$0" ||
   19650 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   19651 	 X"$0" : 'X\(//\)$' \| \
   19652 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   19653 $as_echo X/"$0" |
   19654     sed '/^.*\/\([^/][^/]*\)\/*$/{
   19655 	    s//\1/
   19656 	    q
   19657 	  }
   19658 	  /^X\/\(\/\/\)$/{
   19659 	    s//\1/
   19660 	    q
   19661 	  }
   19662 	  /^X\/\(\/\).*/{
   19663 	    s//\1/
   19664 	    q
   19665 	  }
   19666 	  s/.*/./; q'`
   19667 
   19668 # Avoid depending upon Character Ranges.
   19669 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   19670 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   19671 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   19672 as_cr_digits='0123456789'
   19673 as_cr_alnum=$as_cr_Letters$as_cr_digits
   19674 
   19675 ECHO_C= ECHO_N= ECHO_T=
   19676 case `echo -n x` in #(((((
   19677 -n*)
   19678   case `echo 'xy\c'` in
   19679   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   19680   xy)  ECHO_C='\c';;
   19681   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   19682        ECHO_T='	';;
   19683   esac;;
   19684 *)
   19685   ECHO_N='-n';;
   19686 esac
   19687 
   19688 rm -f conf$$ conf$$.exe conf$$.file
   19689 if test -d conf$$.dir; then
   19690   rm -f conf$$.dir/conf$$.file
   19691 else
   19692   rm -f conf$$.dir
   19693   mkdir conf$$.dir 2>/dev/null
   19694 fi
   19695 if (echo >conf$$.file) 2>/dev/null; then
   19696   if ln -s conf$$.file conf$$ 2>/dev/null; then
   19697     as_ln_s='ln -s'
   19698     # ... but there are two gotchas:
   19699     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   19700     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   19701     # In both cases, we have to default to `cp -pR'.
   19702     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   19703       as_ln_s='cp -pR'
   19704   elif ln conf$$.file conf$$ 2>/dev/null; then
   19705     as_ln_s=ln
   19706   else
   19707     as_ln_s='cp -pR'
   19708   fi
   19709 else
   19710   as_ln_s='cp -pR'
   19711 fi
   19712 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   19713 rmdir conf$$.dir 2>/dev/null
   19714 
   19715 
   19716 # as_fn_mkdir_p
   19717 # -------------
   19718 # Create "$as_dir" as a directory, including parents if necessary.
   19719 as_fn_mkdir_p ()
   19720 {
   19721 
   19722   case $as_dir in #(
   19723   -*) as_dir=./$as_dir;;
   19724   esac
   19725   test -d "$as_dir" || eval $as_mkdir_p || {
   19726     as_dirs=
   19727     while :; do
   19728       case $as_dir in #(
   19729       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   19730       *) as_qdir=$as_dir;;
   19731       esac
   19732       as_dirs="'$as_qdir' $as_dirs"
   19733       as_dir=`$as_dirname -- "$as_dir" ||
   19734 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19735 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   19736 	 X"$as_dir" : 'X\(//\)$' \| \
   19737 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   19738 $as_echo X"$as_dir" |
   19739     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19740 	    s//\1/
   19741 	    q
   19742 	  }
   19743 	  /^X\(\/\/\)[^/].*/{
   19744 	    s//\1/
   19745 	    q
   19746 	  }
   19747 	  /^X\(\/\/\)$/{
   19748 	    s//\1/
   19749 	    q
   19750 	  }
   19751 	  /^X\(\/\).*/{
   19752 	    s//\1/
   19753 	    q
   19754 	  }
   19755 	  s/.*/./; q'`
   19756       test -d "$as_dir" && break
   19757     done
   19758     test -z "$as_dirs" || eval "mkdir $as_dirs"
   19759   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   19760 
   19761 
   19762 } # as_fn_mkdir_p
   19763 if mkdir -p . 2>/dev/null; then
   19764   as_mkdir_p='mkdir -p "$as_dir"'
   19765 else
   19766   test -d ./-p && rmdir ./-p
   19767   as_mkdir_p=false
   19768 fi
   19769 
   19770 
   19771 # as_fn_executable_p FILE
   19772 # -----------------------
   19773 # Test if FILE is an executable regular file.
   19774 as_fn_executable_p ()
   19775 {
   19776   test -f "$1" && test -x "$1"
   19777 } # as_fn_executable_p
   19778 as_test_x='test -x'
   19779 as_executable_p=as_fn_executable_p
   19780 
   19781 # Sed expression to map a string onto a valid CPP name.
   19782 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   19783 
   19784 # Sed expression to map a string onto a valid variable name.
   19785 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   19786 
   19787 
   19788 exec 6>&1
   19789 ## ----------------------------------- ##
   19790 ## Main body of $CONFIG_STATUS script. ##
   19791 ## ----------------------------------- ##
   19792 _ASEOF
   19793 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   19794 
   19795 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19796 # Save the log message, to keep $0 and so on meaningful, and to
   19797 # report actual input values of CONFIG_FILES etc. instead of their
   19798 # values after options handling.
   19799 ac_log="
   19800 This file was extended by libXext $as_me 1.3.4, which was
   19801 generated by GNU Autoconf 2.69.  Invocation command line was
   19802 
   19803   CONFIG_FILES    = $CONFIG_FILES
   19804   CONFIG_HEADERS  = $CONFIG_HEADERS
   19805   CONFIG_LINKS    = $CONFIG_LINKS
   19806   CONFIG_COMMANDS = $CONFIG_COMMANDS
   19807   $ $0 $@
   19808 
   19809 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   19810 "
   19811 
   19812 _ACEOF
   19813 
   19814 case $ac_config_files in *"
   19815 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   19816 esac
   19817 
   19818 case $ac_config_headers in *"
   19819 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   19820 esac
   19821 
   19822 
   19823 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19824 # Files that config.status was made for.
   19825 config_files="$ac_config_files"
   19826 config_headers="$ac_config_headers"
   19827 config_commands="$ac_config_commands"
   19828 
   19829 _ACEOF
   19830 
   19831 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19832 ac_cs_usage="\
   19833 \`$as_me' instantiates files and other configuration actions
   19834 from templates according to the current configuration.  Unless the files
   19835 and actions are specified as TAGs, all are instantiated by default.
   19836 
   19837 Usage: $0 [OPTION]... [TAG]...
   19838 
   19839   -h, --help       print this help, then exit
   19840   -V, --version    print version number and configuration settings, then exit
   19841       --config     print configuration, then exit
   19842   -q, --quiet, --silent
   19843                    do not print progress messages
   19844   -d, --debug      don't remove temporary files
   19845       --recheck    update $as_me by reconfiguring in the same conditions
   19846       --file=FILE[:TEMPLATE]
   19847                    instantiate the configuration file FILE
   19848       --header=FILE[:TEMPLATE]
   19849                    instantiate the configuration header FILE
   19850 
   19851 Configuration files:
   19852 $config_files
   19853 
   19854 Configuration headers:
   19855 $config_headers
   19856 
   19857 Configuration commands:
   19858 $config_commands
   19859 
   19860 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libXext/issues>."
   19861 
   19862 _ACEOF
   19863 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19864 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   19865 ac_cs_version="\\
   19866 libXext config.status 1.3.4
   19867 configured by $0, generated by GNU Autoconf 2.69,
   19868   with options \\"\$ac_cs_config\\"
   19869 
   19870 Copyright (C) 2012 Free Software Foundation, Inc.
   19871 This config.status script is free software; the Free Software Foundation
   19872 gives unlimited permission to copy, distribute and modify it."
   19873 
   19874 ac_pwd='$ac_pwd'
   19875 srcdir='$srcdir'
   19876 INSTALL='$INSTALL'
   19877 MKDIR_P='$MKDIR_P'
   19878 AWK='$AWK'
   19879 test -n "\$AWK" || AWK=awk
   19880 _ACEOF
   19881 
   19882 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19883 # The default lists apply if the user does not specify any file.
   19884 ac_need_defaults=:
   19885 while test $# != 0
   19886 do
   19887   case $1 in
   19888   --*=?*)
   19889     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19890     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   19891     ac_shift=:
   19892     ;;
   19893   --*=)
   19894     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19895     ac_optarg=
   19896     ac_shift=:
   19897     ;;
   19898   *)
   19899     ac_option=$1
   19900     ac_optarg=$2
   19901     ac_shift=shift
   19902     ;;
   19903   esac
   19904 
   19905   case $ac_option in
   19906   # Handling of the options.
   19907   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   19908     ac_cs_recheck=: ;;
   19909   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   19910     $as_echo "$ac_cs_version"; exit ;;
   19911   --config | --confi | --conf | --con | --co | --c )
   19912     $as_echo "$ac_cs_config"; exit ;;
   19913   --debug | --debu | --deb | --de | --d | -d )
   19914     debug=: ;;
   19915   --file | --fil | --fi | --f )
   19916     $ac_shift
   19917     case $ac_optarg in
   19918     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19919     '') as_fn_error $? "missing file argument" ;;
   19920     esac
   19921     as_fn_append CONFIG_FILES " '$ac_optarg'"
   19922     ac_need_defaults=false;;
   19923   --header | --heade | --head | --hea )
   19924     $ac_shift
   19925     case $ac_optarg in
   19926     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19927     esac
   19928     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   19929     ac_need_defaults=false;;
   19930   --he | --h)
   19931     # Conflict between --help and --header
   19932     as_fn_error $? "ambiguous option: \`$1'
   19933 Try \`$0 --help' for more information.";;
   19934   --help | --hel | -h )
   19935     $as_echo "$ac_cs_usage"; exit ;;
   19936   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   19937   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   19938     ac_cs_silent=: ;;
   19939 
   19940   # This is an error.
   19941   -*) as_fn_error $? "unrecognized option: \`$1'
   19942 Try \`$0 --help' for more information." ;;
   19943 
   19944   *) as_fn_append ac_config_targets " $1"
   19945      ac_need_defaults=false ;;
   19946 
   19947   esac
   19948   shift
   19949 done
   19950 
   19951 ac_configure_extra_args=
   19952 
   19953 if $ac_cs_silent; then
   19954   exec 6>/dev/null
   19955   ac_configure_extra_args="$ac_configure_extra_args --silent"
   19956 fi
   19957 
   19958 _ACEOF
   19959 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19960 if \$ac_cs_recheck; then
   19961   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   19962   shift
   19963   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   19964   CONFIG_SHELL='$SHELL'
   19965   export CONFIG_SHELL
   19966   exec "\$@"
   19967 fi
   19968 
   19969 _ACEOF
   19970 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19971 exec 5>>config.log
   19972 {
   19973   echo
   19974   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   19975 ## Running $as_me. ##
   19976 _ASBOX
   19977   $as_echo "$ac_log"
   19978 } >&5
   19979 
   19980 _ACEOF
   19981 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19982 #
   19983 # INIT-COMMANDS
   19984 #
   19985 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   19986 
   19987 
   19988 # The HP-UX ksh and POSIX shell print the target directory to stdout
   19989 # if CDPATH is set.
   19990 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19991 
   19992 sed_quote_subst='$sed_quote_subst'
   19993 double_quote_subst='$double_quote_subst'
   19994 delay_variable_subst='$delay_variable_subst'
   19995 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   19996 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   19997 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   19998 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   19999 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   20000 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   20001 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   20002 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   20003 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   20004 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   20005 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   20006 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   20007 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   20008 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   20009 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   20010 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   20011 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   20012 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   20013 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   20014 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   20015 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   20016 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   20017 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   20018 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   20019 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   20020 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   20021 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   20022 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   20023 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   20024 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   20025 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   20026 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   20027 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   20028 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   20029 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   20030 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   20031 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   20032 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   20033 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   20034 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   20035 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   20036 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   20037 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   20038 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   20039 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   20040 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   20041 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20042 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20043 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   20044 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   20045 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   20046 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   20047 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   20048 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   20049 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   20050 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   20051 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   20052 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   20053 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"`'
   20054 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   20055 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   20056 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   20057 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   20058 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   20059 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   20060 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   20061 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   20062 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   20063 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   20064 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   20065 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   20066 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   20067 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   20068 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   20069 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   20070 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   20071 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   20072 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   20073 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   20074 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20075 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   20076 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   20077 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   20078 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   20079 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   20080 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   20081 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20082 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   20083 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20084 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   20085 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20086 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   20087 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20088 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20089 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   20090 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   20091 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   20092 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   20093 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   20094 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20095 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   20096 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   20097 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   20098 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   20099 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   20100 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   20101 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   20102 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   20103 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   20104 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   20105 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   20106 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   20107 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   20108 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   20109 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   20110 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20111 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   20112 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   20113 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   20114 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   20115 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   20116 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20117 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20118 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   20119 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   20120 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   20121 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   20122 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   20123 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   20124 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   20125 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   20126 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   20127 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   20128 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   20129 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   20130 
   20131 LTCC='$LTCC'
   20132 LTCFLAGS='$LTCFLAGS'
   20133 compiler='$compiler_DEFAULT'
   20134 
   20135 # A function that is used when there is no print builtin or printf.
   20136 func_fallback_echo ()
   20137 {
   20138   eval 'cat <<_LTECHO_EOF
   20139 \$1
   20140 _LTECHO_EOF'
   20141 }
   20142 
   20143 # Quote evaled strings.
   20144 for var in SHELL \
   20145 ECHO \
   20146 PATH_SEPARATOR \
   20147 SED \
   20148 GREP \
   20149 EGREP \
   20150 FGREP \
   20151 LD \
   20152 NM \
   20153 LN_S \
   20154 lt_SP2NL \
   20155 lt_NL2SP \
   20156 reload_flag \
   20157 OBJDUMP \
   20158 deplibs_check_method \
   20159 file_magic_cmd \
   20160 file_magic_glob \
   20161 want_nocaseglob \
   20162 DLLTOOL \
   20163 sharedlib_from_linklib_cmd \
   20164 AR \
   20165 AR_FLAGS \
   20166 archiver_list_spec \
   20167 STRIP \
   20168 RANLIB \
   20169 CC \
   20170 CFLAGS \
   20171 compiler \
   20172 lt_cv_sys_global_symbol_pipe \
   20173 lt_cv_sys_global_symbol_to_cdecl \
   20174 lt_cv_sys_global_symbol_to_import \
   20175 lt_cv_sys_global_symbol_to_c_name_address \
   20176 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   20177 lt_cv_nm_interface \
   20178 nm_file_list_spec \
   20179 lt_cv_truncate_bin \
   20180 lt_prog_compiler_no_builtin_flag \
   20181 lt_prog_compiler_pic \
   20182 lt_prog_compiler_wl \
   20183 lt_prog_compiler_static \
   20184 lt_cv_prog_compiler_c_o \
   20185 need_locks \
   20186 MANIFEST_TOOL \
   20187 DSYMUTIL \
   20188 NMEDIT \
   20189 LIPO \
   20190 OTOOL \
   20191 OTOOL64 \
   20192 shrext_cmds \
   20193 export_dynamic_flag_spec \
   20194 whole_archive_flag_spec \
   20195 compiler_needs_object \
   20196 with_gnu_ld \
   20197 allow_undefined_flag \
   20198 no_undefined_flag \
   20199 hardcode_libdir_flag_spec \
   20200 hardcode_libdir_separator \
   20201 exclude_expsyms \
   20202 include_expsyms \
   20203 file_list_spec \
   20204 variables_saved_for_relink \
   20205 libname_spec \
   20206 library_names_spec \
   20207 soname_spec \
   20208 install_override_mode \
   20209 finish_eval \
   20210 old_striplib \
   20211 striplib; do
   20212     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20213     *[\\\\\\\`\\"\\\$]*)
   20214       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20215       ;;
   20216     *)
   20217       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20218       ;;
   20219     esac
   20220 done
   20221 
   20222 # Double-quote double-evaled strings.
   20223 for var in reload_cmds \
   20224 old_postinstall_cmds \
   20225 old_postuninstall_cmds \
   20226 old_archive_cmds \
   20227 extract_expsyms_cmds \
   20228 old_archive_from_new_cmds \
   20229 old_archive_from_expsyms_cmds \
   20230 archive_cmds \
   20231 archive_expsym_cmds \
   20232 module_cmds \
   20233 module_expsym_cmds \
   20234 export_symbols_cmds \
   20235 prelink_cmds \
   20236 postlink_cmds \
   20237 postinstall_cmds \
   20238 postuninstall_cmds \
   20239 finish_cmds \
   20240 sys_lib_search_path_spec \
   20241 configure_time_dlsearch_path \
   20242 configure_time_lt_sys_library_path; do
   20243     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20244     *[\\\\\\\`\\"\\\$]*)
   20245       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20246       ;;
   20247     *)
   20248       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20249       ;;
   20250     esac
   20251 done
   20252 
   20253 ac_aux_dir='$ac_aux_dir'
   20254 
   20255 # See if we are running on zsh, and set the options that allow our
   20256 # commands through without removal of \ escapes INIT.
   20257 if test -n "\${ZSH_VERSION+set}"; then
   20258    setopt NO_GLOB_SUBST
   20259 fi
   20260 
   20261 
   20262     PACKAGE='$PACKAGE'
   20263     VERSION='$VERSION'
   20264     RM='$RM'
   20265     ofile='$ofile'
   20266 
   20267 
   20268 
   20269 
   20270 _ACEOF
   20271 
   20272 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20273 
   20274 # Handling of arguments.
   20275 for ac_config_target in $ac_config_targets
   20276 do
   20277   case $ac_config_target in
   20278     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   20279     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   20280     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   20281     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   20282     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   20283     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   20284     "specs/Makefile") CONFIG_FILES="$CONFIG_FILES specs/Makefile" ;;
   20285     "xext.pc") CONFIG_FILES="$CONFIG_FILES xext.pc" ;;
   20286 
   20287   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   20288   esac
   20289 done
   20290 
   20291 
   20292 # If the user did not use the arguments to specify the items to instantiate,
   20293 # then the envvar interface is used.  Set only those that are not.
   20294 # We use the long form for the default assignment because of an extremely
   20295 # bizarre bug on SunOS 4.1.3.
   20296 if $ac_need_defaults; then
   20297   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   20298   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   20299   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   20300 fi
   20301 
   20302 # Have a temporary directory for convenience.  Make it in the build tree
   20303 # simply because there is no reason against having it here, and in addition,
   20304 # creating and moving files from /tmp can sometimes cause problems.
   20305 # Hook for its removal unless debugging.
   20306 # Note that there is a small window in which the directory will not be cleaned:
   20307 # after its creation but before its name has been assigned to `$tmp'.
   20308 $debug ||
   20309 {
   20310   tmp= ac_tmp=
   20311   trap 'exit_status=$?
   20312   : "${ac_tmp:=$tmp}"
   20313   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   20314 ' 0
   20315   trap 'as_fn_exit 1' 1 2 13 15
   20316 }
   20317 # Create a (secure) tmp directory for tmp files.
   20318 
   20319 {
   20320   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   20321   test -d "$tmp"
   20322 }  ||
   20323 {
   20324   tmp=./conf$$-$RANDOM
   20325   (umask 077 && mkdir "$tmp")
   20326 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   20327 ac_tmp=$tmp
   20328 
   20329 # Set up the scripts for CONFIG_FILES section.
   20330 # No need to generate them if there are no CONFIG_FILES.
   20331 # This happens for instance with `./config.status config.h'.
   20332 if test -n "$CONFIG_FILES"; then
   20333 
   20334 
   20335 ac_cr=`echo X | tr X '\015'`
   20336 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   20337 # But we know of no other shell where ac_cr would be empty at this
   20338 # point, so we can use a bashism as a fallback.
   20339 if test "x$ac_cr" = x; then
   20340   eval ac_cr=\$\'\\r\'
   20341 fi
   20342 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   20343 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   20344   ac_cs_awk_cr='\\r'
   20345 else
   20346   ac_cs_awk_cr=$ac_cr
   20347 fi
   20348 
   20349 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   20350 _ACEOF
   20351 
   20352 
   20353 {
   20354   echo "cat >conf$$subs.awk <<_ACEOF" &&
   20355   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   20356   echo "_ACEOF"
   20357 } >conf$$subs.sh ||
   20358   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20359 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   20360 ac_delim='%!_!# '
   20361 for ac_last_try in false false false false false :; do
   20362   . ./conf$$subs.sh ||
   20363     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20364 
   20365   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   20366   if test $ac_delim_n = $ac_delim_num; then
   20367     break
   20368   elif $ac_last_try; then
   20369     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20370   else
   20371     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20372   fi
   20373 done
   20374 rm -f conf$$subs.sh
   20375 
   20376 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20377 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   20378 _ACEOF
   20379 sed -n '
   20380 h
   20381 s/^/S["/; s/!.*/"]=/
   20382 p
   20383 g
   20384 s/^[^!]*!//
   20385 :repl
   20386 t repl
   20387 s/'"$ac_delim"'$//
   20388 t delim
   20389 :nl
   20390 h
   20391 s/\(.\{148\}\)..*/\1/
   20392 t more1
   20393 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   20394 p
   20395 n
   20396 b repl
   20397 :more1
   20398 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20399 p
   20400 g
   20401 s/.\{148\}//
   20402 t nl
   20403 :delim
   20404 h
   20405 s/\(.\{148\}\)..*/\1/
   20406 t more2
   20407 s/["\\]/\\&/g; s/^/"/; s/$/"/
   20408 p
   20409 b
   20410 :more2
   20411 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20412 p
   20413 g
   20414 s/.\{148\}//
   20415 t delim
   20416 ' <conf$$subs.awk | sed '
   20417 /^[^""]/{
   20418   N
   20419   s/\n//
   20420 }
   20421 ' >>$CONFIG_STATUS || ac_write_fail=1
   20422 rm -f conf$$subs.awk
   20423 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20424 _ACAWK
   20425 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   20426   for (key in S) S_is_set[key] = 1
   20427   FS = ""
   20428 
   20429 }
   20430 {
   20431   line = $ 0
   20432   nfields = split(line, field, "@")
   20433   substed = 0
   20434   len = length(field[1])
   20435   for (i = 2; i < nfields; i++) {
   20436     key = field[i]
   20437     keylen = length(key)
   20438     if (S_is_set[key]) {
   20439       value = S[key]
   20440       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   20441       len += length(value) + length(field[++i])
   20442       substed = 1
   20443     } else
   20444       len += 1 + keylen
   20445   }
   20446 
   20447   print line
   20448 }
   20449 
   20450 _ACAWK
   20451 _ACEOF
   20452 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20453 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   20454   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   20455 else
   20456   cat
   20457 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   20458   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   20459 _ACEOF
   20460 
   20461 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   20462 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   20463 # trailing colons and then remove the whole line if VPATH becomes empty
   20464 # (actually we leave an empty line to preserve line numbers).
   20465 if test "x$srcdir" = x.; then
   20466   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   20467 h
   20468 s///
   20469 s/^/:/
   20470 s/[	 ]*$/:/
   20471 s/:\$(srcdir):/:/g
   20472 s/:\${srcdir}:/:/g
   20473 s/:@srcdir@:/:/g
   20474 s/^:*//
   20475 s/:*$//
   20476 x
   20477 s/\(=[	 ]*\).*/\1/
   20478 G
   20479 s/\n//
   20480 s/^[^=]*=[	 ]*$//
   20481 }'
   20482 fi
   20483 
   20484 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20485 fi # test -n "$CONFIG_FILES"
   20486 
   20487 # Set up the scripts for CONFIG_HEADERS section.
   20488 # No need to generate them if there are no CONFIG_HEADERS.
   20489 # This happens for instance with `./config.status Makefile'.
   20490 if test -n "$CONFIG_HEADERS"; then
   20491 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   20492 BEGIN {
   20493 _ACEOF
   20494 
   20495 # Transform confdefs.h into an awk script `defines.awk', embedded as
   20496 # here-document in config.status, that substitutes the proper values into
   20497 # config.h.in to produce config.h.
   20498 
   20499 # Create a delimiter string that does not exist in confdefs.h, to ease
   20500 # handling of long lines.
   20501 ac_delim='%!_!# '
   20502 for ac_last_try in false false :; do
   20503   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   20504   if test -z "$ac_tt"; then
   20505     break
   20506   elif $ac_last_try; then
   20507     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   20508   else
   20509     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20510   fi
   20511 done
   20512 
   20513 # For the awk script, D is an array of macro values keyed by name,
   20514 # likewise P contains macro parameters if any.  Preserve backslash
   20515 # newline sequences.
   20516 
   20517 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   20518 sed -n '
   20519 s/.\{148\}/&'"$ac_delim"'/g
   20520 t rset
   20521 :rset
   20522 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   20523 t def
   20524 d
   20525 :def
   20526 s/\\$//
   20527 t bsnl
   20528 s/["\\]/\\&/g
   20529 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20530 D["\1"]=" \3"/p
   20531 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   20532 d
   20533 :bsnl
   20534 s/["\\]/\\&/g
   20535 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20536 D["\1"]=" \3\\\\\\n"\\/p
   20537 t cont
   20538 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   20539 t cont
   20540 d
   20541 :cont
   20542 n
   20543 s/.\{148\}/&'"$ac_delim"'/g
   20544 t clear
   20545 :clear
   20546 s/\\$//
   20547 t bsnlc
   20548 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   20549 d
   20550 :bsnlc
   20551 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   20552 b cont
   20553 ' <confdefs.h | sed '
   20554 s/'"$ac_delim"'/"\\\
   20555 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   20556 
   20557 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20558   for (key in D) D_is_set[key] = 1
   20559   FS = ""
   20560 }
   20561 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   20562   line = \$ 0
   20563   split(line, arg, " ")
   20564   if (arg[1] == "#") {
   20565     defundef = arg[2]
   20566     mac1 = arg[3]
   20567   } else {
   20568     defundef = substr(arg[1], 2)
   20569     mac1 = arg[2]
   20570   }
   20571   split(mac1, mac2, "(") #)
   20572   macro = mac2[1]
   20573   prefix = substr(line, 1, index(line, defundef) - 1)
   20574   if (D_is_set[macro]) {
   20575     # Preserve the white space surrounding the "#".
   20576     print prefix "define", macro P[macro] D[macro]
   20577     next
   20578   } else {
   20579     # Replace #undef with comments.  This is necessary, for example,
   20580     # in the case of _POSIX_SOURCE, which is predefined and required
   20581     # on some systems where configure will not decide to define it.
   20582     if (defundef == "undef") {
   20583       print "/*", prefix defundef, macro, "*/"
   20584       next
   20585     }
   20586   }
   20587 }
   20588 { print }
   20589 _ACAWK
   20590 _ACEOF
   20591 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20592   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   20593 fi # test -n "$CONFIG_HEADERS"
   20594 
   20595 
   20596 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   20597 shift
   20598 for ac_tag
   20599 do
   20600   case $ac_tag in
   20601   :[FHLC]) ac_mode=$ac_tag; continue;;
   20602   esac
   20603   case $ac_mode$ac_tag in
   20604   :[FHL]*:*);;
   20605   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   20606   :[FH]-) ac_tag=-:-;;
   20607   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   20608   esac
   20609   ac_save_IFS=$IFS
   20610   IFS=:
   20611   set x $ac_tag
   20612   IFS=$ac_save_IFS
   20613   shift
   20614   ac_file=$1
   20615   shift
   20616 
   20617   case $ac_mode in
   20618   :L) ac_source=$1;;
   20619   :[FH])
   20620     ac_file_inputs=
   20621     for ac_f
   20622     do
   20623       case $ac_f in
   20624       -) ac_f="$ac_tmp/stdin";;
   20625       *) # Look for the file first in the build tree, then in the source tree
   20626 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   20627 	 # because $ac_f cannot contain `:'.
   20628 	 test -f "$ac_f" ||
   20629 	   case $ac_f in
   20630 	   [\\/$]*) false;;
   20631 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   20632 	   esac ||
   20633 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   20634       esac
   20635       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   20636       as_fn_append ac_file_inputs " '$ac_f'"
   20637     done
   20638 
   20639     # Let's still pretend it is `configure' which instantiates (i.e., don't
   20640     # use $as_me), people would be surprised to read:
   20641     #    /* config.h.  Generated by config.status.  */
   20642     configure_input='Generated from '`
   20643 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   20644 	`' by configure.'
   20645     if test x"$ac_file" != x-; then
   20646       configure_input="$ac_file.  $configure_input"
   20647       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   20648 $as_echo "$as_me: creating $ac_file" >&6;}
   20649     fi
   20650     # Neutralize special characters interpreted by sed in replacement strings.
   20651     case $configure_input in #(
   20652     *\&* | *\|* | *\\* )
   20653        ac_sed_conf_input=`$as_echo "$configure_input" |
   20654        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   20655     *) ac_sed_conf_input=$configure_input;;
   20656     esac
   20657 
   20658     case $ac_tag in
   20659     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   20660       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   20661     esac
   20662     ;;
   20663   esac
   20664 
   20665   ac_dir=`$as_dirname -- "$ac_file" ||
   20666 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20667 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   20668 	 X"$ac_file" : 'X\(//\)$' \| \
   20669 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   20670 $as_echo X"$ac_file" |
   20671     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20672 	    s//\1/
   20673 	    q
   20674 	  }
   20675 	  /^X\(\/\/\)[^/].*/{
   20676 	    s//\1/
   20677 	    q
   20678 	  }
   20679 	  /^X\(\/\/\)$/{
   20680 	    s//\1/
   20681 	    q
   20682 	  }
   20683 	  /^X\(\/\).*/{
   20684 	    s//\1/
   20685 	    q
   20686 	  }
   20687 	  s/.*/./; q'`
   20688   as_dir="$ac_dir"; as_fn_mkdir_p
   20689   ac_builddir=.
   20690 
   20691 case "$ac_dir" in
   20692 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20693 *)
   20694   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   20695   # A ".." for each directory in $ac_dir_suffix.
   20696   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   20697   case $ac_top_builddir_sub in
   20698   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20699   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   20700   esac ;;
   20701 esac
   20702 ac_abs_top_builddir=$ac_pwd
   20703 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   20704 # for backward compatibility:
   20705 ac_top_builddir=$ac_top_build_prefix
   20706 
   20707 case $srcdir in
   20708   .)  # We are building in place.
   20709     ac_srcdir=.
   20710     ac_top_srcdir=$ac_top_builddir_sub
   20711     ac_abs_top_srcdir=$ac_pwd ;;
   20712   [\\/]* | ?:[\\/]* )  # Absolute name.
   20713     ac_srcdir=$srcdir$ac_dir_suffix;
   20714     ac_top_srcdir=$srcdir
   20715     ac_abs_top_srcdir=$srcdir ;;
   20716   *) # Relative name.
   20717     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   20718     ac_top_srcdir=$ac_top_build_prefix$srcdir
   20719     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   20720 esac
   20721 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   20722 
   20723 
   20724   case $ac_mode in
   20725   :F)
   20726   #
   20727   # CONFIG_FILE
   20728   #
   20729 
   20730   case $INSTALL in
   20731   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   20732   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   20733   esac
   20734   ac_MKDIR_P=$MKDIR_P
   20735   case $MKDIR_P in
   20736   [\\/$]* | ?:[\\/]* ) ;;
   20737   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   20738   esac
   20739 _ACEOF
   20740 
   20741 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20742 # If the template does not know about datarootdir, expand it.
   20743 # FIXME: This hack should be removed a few years after 2.60.
   20744 ac_datarootdir_hack=; ac_datarootdir_seen=
   20745 ac_sed_dataroot='
   20746 /datarootdir/ {
   20747   p
   20748   q
   20749 }
   20750 /@datadir@/p
   20751 /@docdir@/p
   20752 /@infodir@/p
   20753 /@localedir@/p
   20754 /@mandir@/p'
   20755 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   20756 *datarootdir*) ac_datarootdir_seen=yes;;
   20757 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   20758   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   20759 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   20760 _ACEOF
   20761 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20762   ac_datarootdir_hack='
   20763   s&@datadir@&$datadir&g
   20764   s&@docdir@&$docdir&g
   20765   s&@infodir@&$infodir&g
   20766   s&@localedir@&$localedir&g
   20767   s&@mandir@&$mandir&g
   20768   s&\\\${datarootdir}&$datarootdir&g' ;;
   20769 esac
   20770 _ACEOF
   20771 
   20772 # Neutralize VPATH when `$srcdir' = `.'.
   20773 # Shell code in configure.ac might set extrasub.
   20774 # FIXME: do we really want to maintain this feature?
   20775 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20776 ac_sed_extra="$ac_vpsub
   20777 $extrasub
   20778 _ACEOF
   20779 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20780 :t
   20781 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   20782 s|@configure_input@|$ac_sed_conf_input|;t t
   20783 s&@top_builddir@&$ac_top_builddir_sub&;t t
   20784 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   20785 s&@srcdir@&$ac_srcdir&;t t
   20786 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   20787 s&@top_srcdir@&$ac_top_srcdir&;t t
   20788 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   20789 s&@builddir@&$ac_builddir&;t t
   20790 s&@abs_builddir@&$ac_abs_builddir&;t t
   20791 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   20792 s&@INSTALL@&$ac_INSTALL&;t t
   20793 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   20794 $ac_datarootdir_hack
   20795 "
   20796 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   20797   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20798 
   20799 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   20800   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   20801   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   20802       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   20803   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20804 which seems to be undefined.  Please make sure it is defined" >&5
   20805 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20806 which seems to be undefined.  Please make sure it is defined" >&2;}
   20807 
   20808   rm -f "$ac_tmp/stdin"
   20809   case $ac_file in
   20810   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   20811   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   20812   esac \
   20813   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20814  ;;
   20815   :H)
   20816   #
   20817   # CONFIG_HEADER
   20818   #
   20819   if test x"$ac_file" != x-; then
   20820     {
   20821       $as_echo "/* $configure_input  */" \
   20822       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   20823     } >"$ac_tmp/config.h" \
   20824       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20825     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   20826       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   20827 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   20828     else
   20829       rm -f "$ac_file"
   20830       mv "$ac_tmp/config.h" "$ac_file" \
   20831 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20832     fi
   20833   else
   20834     $as_echo "/* $configure_input  */" \
   20835       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   20836       || as_fn_error $? "could not create -" "$LINENO" 5
   20837   fi
   20838 # Compute "$ac_file"'s index in $config_headers.
   20839 _am_arg="$ac_file"
   20840 _am_stamp_count=1
   20841 for _am_header in $config_headers :; do
   20842   case $_am_header in
   20843     $_am_arg | $_am_arg:* )
   20844       break ;;
   20845     * )
   20846       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   20847   esac
   20848 done
   20849 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   20850 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20851 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   20852 	 X"$_am_arg" : 'X\(//\)$' \| \
   20853 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   20854 $as_echo X"$_am_arg" |
   20855     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20856 	    s//\1/
   20857 	    q
   20858 	  }
   20859 	  /^X\(\/\/\)[^/].*/{
   20860 	    s//\1/
   20861 	    q
   20862 	  }
   20863 	  /^X\(\/\/\)$/{
   20864 	    s//\1/
   20865 	    q
   20866 	  }
   20867 	  /^X\(\/\).*/{
   20868 	    s//\1/
   20869 	    q
   20870 	  }
   20871 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   20872  ;;
   20873 
   20874   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   20875 $as_echo "$as_me: executing $ac_file commands" >&6;}
   20876  ;;
   20877   esac
   20878 
   20879 
   20880   case $ac_file$ac_mode in
   20881     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   20882   # Older Autoconf quotes --file arguments for eval, but not when files
   20883   # are listed without --file.  Let's play safe and only enable the eval
   20884   # if we detect the quoting.
   20885   case $CONFIG_FILES in
   20886   *\'*) eval set x "$CONFIG_FILES" ;;
   20887   *)   set x $CONFIG_FILES ;;
   20888   esac
   20889   shift
   20890   for mf
   20891   do
   20892     # Strip MF so we end up with the name of the file.
   20893     mf=`echo "$mf" | sed -e 's/:.*$//'`
   20894     # Check whether this is an Automake generated Makefile or not.
   20895     # We used to match only the files named 'Makefile.in', but
   20896     # some people rename them; so instead we look at the file content.
   20897     # Grep'ing the first line is not enough: some people post-process
   20898     # each Makefile.in and add a new line on top of each file to say so.
   20899     # Grep'ing the whole file is not good either: AIX grep has a line
   20900     # limit of 2048, but all sed's we know have understand at least 4000.
   20901     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   20902       dirpart=`$as_dirname -- "$mf" ||
   20903 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20904 	 X"$mf" : 'X\(//\)[^/]' \| \
   20905 	 X"$mf" : 'X\(//\)$' \| \
   20906 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   20907 $as_echo X"$mf" |
   20908     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20909 	    s//\1/
   20910 	    q
   20911 	  }
   20912 	  /^X\(\/\/\)[^/].*/{
   20913 	    s//\1/
   20914 	    q
   20915 	  }
   20916 	  /^X\(\/\/\)$/{
   20917 	    s//\1/
   20918 	    q
   20919 	  }
   20920 	  /^X\(\/\).*/{
   20921 	    s//\1/
   20922 	    q
   20923 	  }
   20924 	  s/.*/./; q'`
   20925     else
   20926       continue
   20927     fi
   20928     # Extract the definition of DEPDIR, am__include, and am__quote
   20929     # from the Makefile without running 'make'.
   20930     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   20931     test -z "$DEPDIR" && continue
   20932     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   20933     test -z "$am__include" && continue
   20934     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   20935     # Find all dependency output files, they are included files with
   20936     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   20937     # simplest approach to changing $(DEPDIR) to its actual value in the
   20938     # expansion.
   20939     for file in `sed -n "
   20940       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   20941 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   20942       # Make sure the directory exists.
   20943       test -f "$dirpart/$file" && continue
   20944       fdir=`$as_dirname -- "$file" ||
   20945 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20946 	 X"$file" : 'X\(//\)[^/]' \| \
   20947 	 X"$file" : 'X\(//\)$' \| \
   20948 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   20949 $as_echo X"$file" |
   20950     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20951 	    s//\1/
   20952 	    q
   20953 	  }
   20954 	  /^X\(\/\/\)[^/].*/{
   20955 	    s//\1/
   20956 	    q
   20957 	  }
   20958 	  /^X\(\/\/\)$/{
   20959 	    s//\1/
   20960 	    q
   20961 	  }
   20962 	  /^X\(\/\).*/{
   20963 	    s//\1/
   20964 	    q
   20965 	  }
   20966 	  s/.*/./; q'`
   20967       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   20968       # echo "creating $dirpart/$file"
   20969       echo '# dummy' > "$dirpart/$file"
   20970     done
   20971   done
   20972 }
   20973  ;;
   20974     "libtool":C)
   20975 
   20976     # See if we are running on zsh, and set the options that allow our
   20977     # commands through without removal of \ escapes.
   20978     if test -n "${ZSH_VERSION+set}"; then
   20979       setopt NO_GLOB_SUBST
   20980     fi
   20981 
   20982     cfgfile=${ofile}T
   20983     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   20984     $RM "$cfgfile"
   20985 
   20986     cat <<_LT_EOF >> "$cfgfile"
   20987 #! $SHELL
   20988 # Generated automatically by $as_me ($PACKAGE) $VERSION
   20989 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   20990 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   20991 
   20992 # Provide generalized library-building support services.
   20993 # Written by Gordon Matzigkeit, 1996
   20994 
   20995 # Copyright (C) 2014 Free Software Foundation, Inc.
   20996 # This is free software; see the source for copying conditions.  There is NO
   20997 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   20998 
   20999 # GNU Libtool is free software; you can redistribute it and/or modify
   21000 # it under the terms of the GNU General Public License as published by
   21001 # the Free Software Foundation; either version 2 of of the License, or
   21002 # (at your option) any later version.
   21003 #
   21004 # As a special exception to the GNU General Public License, if you
   21005 # distribute this file as part of a program or library that is built
   21006 # using GNU Libtool, you may include this file under the  same
   21007 # distribution terms that you use for the rest of that program.
   21008 #
   21009 # GNU Libtool is distributed in the hope that it will be useful, but
   21010 # WITHOUT ANY WARRANTY; without even the implied warranty of
   21011 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   21012 # GNU General Public License for more details.
   21013 #
   21014 # You should have received a copy of the GNU General Public License
   21015 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   21016 
   21017 
   21018 # The names of the tagged configurations supported by this script.
   21019 available_tags=''
   21020 
   21021 # Configured defaults for sys_lib_dlsearch_path munging.
   21022 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   21023 
   21024 # ### BEGIN LIBTOOL CONFIG
   21025 
   21026 # Which release of libtool.m4 was used?
   21027 macro_version=$macro_version
   21028 macro_revision=$macro_revision
   21029 
   21030 # Whether or not to build shared libraries.
   21031 build_libtool_libs=$enable_shared
   21032 
   21033 # Whether or not to build static libraries.
   21034 build_old_libs=$enable_static
   21035 
   21036 # What type of objects to build.
   21037 pic_mode=$pic_mode
   21038 
   21039 # Whether or not to optimize for fast installation.
   21040 fast_install=$enable_fast_install
   21041 
   21042 # Shared archive member basename,for filename based shared library versioning on AIX.
   21043 shared_archive_member_spec=$shared_archive_member_spec
   21044 
   21045 # Shell to use when invoking shell scripts.
   21046 SHELL=$lt_SHELL
   21047 
   21048 # An echo program that protects backslashes.
   21049 ECHO=$lt_ECHO
   21050 
   21051 # The PATH separator for the build system.
   21052 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   21053 
   21054 # The host system.
   21055 host_alias=$host_alias
   21056 host=$host
   21057 host_os=$host_os
   21058 
   21059 # The build system.
   21060 build_alias=$build_alias
   21061 build=$build
   21062 build_os=$build_os
   21063 
   21064 # A sed program that does not truncate output.
   21065 SED=$lt_SED
   21066 
   21067 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   21068 Xsed="\$SED -e 1s/^X//"
   21069 
   21070 # A grep program that handles long lines.
   21071 GREP=$lt_GREP
   21072 
   21073 # An ERE matcher.
   21074 EGREP=$lt_EGREP
   21075 
   21076 # A literal string matcher.
   21077 FGREP=$lt_FGREP
   21078 
   21079 # A BSD- or MS-compatible name lister.
   21080 NM=$lt_NM
   21081 
   21082 # Whether we need soft or hard links.
   21083 LN_S=$lt_LN_S
   21084 
   21085 # What is the maximum length of a command?
   21086 max_cmd_len=$max_cmd_len
   21087 
   21088 # Object file suffix (normally "o").
   21089 objext=$ac_objext
   21090 
   21091 # Executable file suffix (normally "").
   21092 exeext=$exeext
   21093 
   21094 # whether the shell understands "unset".
   21095 lt_unset=$lt_unset
   21096 
   21097 # turn spaces into newlines.
   21098 SP2NL=$lt_lt_SP2NL
   21099 
   21100 # turn newlines into spaces.
   21101 NL2SP=$lt_lt_NL2SP
   21102 
   21103 # convert \$build file names to \$host format.
   21104 to_host_file_cmd=$lt_cv_to_host_file_cmd
   21105 
   21106 # convert \$build files to toolchain format.
   21107 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   21108 
   21109 # An object symbol dumper.
   21110 OBJDUMP=$lt_OBJDUMP
   21111 
   21112 # Method to check whether dependent libraries are shared objects.
   21113 deplibs_check_method=$lt_deplibs_check_method
   21114 
   21115 # Command to use when deplibs_check_method = "file_magic".
   21116 file_magic_cmd=$lt_file_magic_cmd
   21117 
   21118 # How to find potential files when deplibs_check_method = "file_magic".
   21119 file_magic_glob=$lt_file_magic_glob
   21120 
   21121 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   21122 want_nocaseglob=$lt_want_nocaseglob
   21123 
   21124 # DLL creation program.
   21125 DLLTOOL=$lt_DLLTOOL
   21126 
   21127 # Command to associate shared and link libraries.
   21128 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   21129 
   21130 # The archiver.
   21131 AR=$lt_AR
   21132 
   21133 # Flags to create an archive.
   21134 AR_FLAGS=$lt_AR_FLAGS
   21135 
   21136 # How to feed a file listing to the archiver.
   21137 archiver_list_spec=$lt_archiver_list_spec
   21138 
   21139 # A symbol stripping program.
   21140 STRIP=$lt_STRIP
   21141 
   21142 # Commands used to install an old-style archive.
   21143 RANLIB=$lt_RANLIB
   21144 old_postinstall_cmds=$lt_old_postinstall_cmds
   21145 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   21146 
   21147 # Whether to use a lock for old archive extraction.
   21148 lock_old_archive_extraction=$lock_old_archive_extraction
   21149 
   21150 # A C compiler.
   21151 LTCC=$lt_CC
   21152 
   21153 # LTCC compiler flags.
   21154 LTCFLAGS=$lt_CFLAGS
   21155 
   21156 # Take the output of nm and produce a listing of raw symbols and C names.
   21157 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   21158 
   21159 # Transform the output of nm in a proper C declaration.
   21160 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   21161 
   21162 # Transform the output of nm into a list of symbols to manually relocate.
   21163 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   21164 
   21165 # Transform the output of nm in a C name address pair.
   21166 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   21167 
   21168 # Transform the output of nm in a C name address pair when lib prefix is needed.
   21169 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   21170 
   21171 # The name lister interface.
   21172 nm_interface=$lt_lt_cv_nm_interface
   21173 
   21174 # Specify filename containing input files for \$NM.
   21175 nm_file_list_spec=$lt_nm_file_list_spec
   21176 
   21177 # The root where to search for dependent libraries,and where our libraries should be installed.
   21178 lt_sysroot=$lt_sysroot
   21179 
   21180 # Command to truncate a binary pipe.
   21181 lt_truncate_bin=$lt_lt_cv_truncate_bin
   21182 
   21183 # The name of the directory that contains temporary libtool files.
   21184 objdir=$objdir
   21185 
   21186 # Used to examine libraries when file_magic_cmd begins with "file".
   21187 MAGIC_CMD=$MAGIC_CMD
   21188 
   21189 # Must we lock files when doing compilation?
   21190 need_locks=$lt_need_locks
   21191 
   21192 # Manifest tool.
   21193 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   21194 
   21195 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   21196 DSYMUTIL=$lt_DSYMUTIL
   21197 
   21198 # Tool to change global to local symbols on Mac OS X.
   21199 NMEDIT=$lt_NMEDIT
   21200 
   21201 # Tool to manipulate fat objects and archives on Mac OS X.
   21202 LIPO=$lt_LIPO
   21203 
   21204 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   21205 OTOOL=$lt_OTOOL
   21206 
   21207 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   21208 OTOOL64=$lt_OTOOL64
   21209 
   21210 # Old archive suffix (normally "a").
   21211 libext=$libext
   21212 
   21213 # Shared library suffix (normally ".so").
   21214 shrext_cmds=$lt_shrext_cmds
   21215 
   21216 # The commands to extract the exported symbol list from a shared archive.
   21217 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   21218 
   21219 # Variables whose values should be saved in libtool wrapper scripts and
   21220 # restored at link time.
   21221 variables_saved_for_relink=$lt_variables_saved_for_relink
   21222 
   21223 # Do we need the "lib" prefix for modules?
   21224 need_lib_prefix=$need_lib_prefix
   21225 
   21226 # Do we need a version for libraries?
   21227 need_version=$need_version
   21228 
   21229 # Library versioning type.
   21230 version_type=$version_type
   21231 
   21232 # Shared library runtime path variable.
   21233 runpath_var=$runpath_var
   21234 
   21235 # Shared library path variable.
   21236 shlibpath_var=$shlibpath_var
   21237 
   21238 # Is shlibpath searched before the hard-coded library search path?
   21239 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   21240 
   21241 # Format of library name prefix.
   21242 libname_spec=$lt_libname_spec
   21243 
   21244 # List of archive names.  First name is the real one, the rest are links.
   21245 # The last name is the one that the linker finds with -lNAME
   21246 library_names_spec=$lt_library_names_spec
   21247 
   21248 # The coded name of the library, if different from the real name.
   21249 soname_spec=$lt_soname_spec
   21250 
   21251 # Permission mode override for installation of shared libraries.
   21252 install_override_mode=$lt_install_override_mode
   21253 
   21254 # Command to use after installation of a shared archive.
   21255 postinstall_cmds=$lt_postinstall_cmds
   21256 
   21257 # Command to use after uninstallation of a shared archive.
   21258 postuninstall_cmds=$lt_postuninstall_cmds
   21259 
   21260 # Commands used to finish a libtool library installation in a directory.
   21261 finish_cmds=$lt_finish_cmds
   21262 
   21263 # As "finish_cmds", except a single script fragment to be evaled but
   21264 # not shown.
   21265 finish_eval=$lt_finish_eval
   21266 
   21267 # Whether we should hardcode library paths into libraries.
   21268 hardcode_into_libs=$hardcode_into_libs
   21269 
   21270 # Compile-time system search path for libraries.
   21271 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   21272 
   21273 # Detected run-time system search path for libraries.
   21274 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   21275 
   21276 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   21277 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   21278 
   21279 # Whether dlopen is supported.
   21280 dlopen_support=$enable_dlopen
   21281 
   21282 # Whether dlopen of programs is supported.
   21283 dlopen_self=$enable_dlopen_self
   21284 
   21285 # Whether dlopen of statically linked programs is supported.
   21286 dlopen_self_static=$enable_dlopen_self_static
   21287 
   21288 # Commands to strip libraries.
   21289 old_striplib=$lt_old_striplib
   21290 striplib=$lt_striplib
   21291 
   21292 
   21293 # The linker used to build libraries.
   21294 LD=$lt_LD
   21295 
   21296 # How to create reloadable object files.
   21297 reload_flag=$lt_reload_flag
   21298 reload_cmds=$lt_reload_cmds
   21299 
   21300 # Commands used to build an old-style archive.
   21301 old_archive_cmds=$lt_old_archive_cmds
   21302 
   21303 # A language specific compiler.
   21304 CC=$lt_compiler
   21305 
   21306 # Is the compiler the GNU compiler?
   21307 with_gcc=$GCC
   21308 
   21309 # Compiler flag to turn off builtin functions.
   21310 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   21311 
   21312 # Additional compiler flags for building library objects.
   21313 pic_flag=$lt_lt_prog_compiler_pic
   21314 
   21315 # How to pass a linker flag through the compiler.
   21316 wl=$lt_lt_prog_compiler_wl
   21317 
   21318 # Compiler flag to prevent dynamic linking.
   21319 link_static_flag=$lt_lt_prog_compiler_static
   21320 
   21321 # Does compiler simultaneously support -c and -o options?
   21322 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   21323 
   21324 # Whether or not to add -lc for building shared libraries.
   21325 build_libtool_need_lc=$archive_cmds_need_lc
   21326 
   21327 # Whether or not to disallow shared libs when runtime libs are static.
   21328 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   21329 
   21330 # Compiler flag to allow reflexive dlopens.
   21331 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   21332 
   21333 # Compiler flag to generate shared objects directly from archives.
   21334 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   21335 
   21336 # Whether the compiler copes with passing no objects directly.
   21337 compiler_needs_object=$lt_compiler_needs_object
   21338 
   21339 # Create an old-style archive from a shared archive.
   21340 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   21341 
   21342 # Create a temporary old-style archive to link instead of a shared archive.
   21343 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   21344 
   21345 # Commands used to build a shared archive.
   21346 archive_cmds=$lt_archive_cmds
   21347 archive_expsym_cmds=$lt_archive_expsym_cmds
   21348 
   21349 # Commands used to build a loadable module if different from building
   21350 # a shared archive.
   21351 module_cmds=$lt_module_cmds
   21352 module_expsym_cmds=$lt_module_expsym_cmds
   21353 
   21354 # Whether we are building with GNU ld or not.
   21355 with_gnu_ld=$lt_with_gnu_ld
   21356 
   21357 # Flag that allows shared libraries with undefined symbols to be built.
   21358 allow_undefined_flag=$lt_allow_undefined_flag
   21359 
   21360 # Flag that enforces no undefined symbols.
   21361 no_undefined_flag=$lt_no_undefined_flag
   21362 
   21363 # Flag to hardcode \$libdir into a binary during linking.
   21364 # This must work even if \$libdir does not exist
   21365 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   21366 
   21367 # Whether we need a single "-rpath" flag with a separated argument.
   21368 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   21369 
   21370 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21371 # DIR into the resulting binary.
   21372 hardcode_direct=$hardcode_direct
   21373 
   21374 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21375 # DIR into the resulting binary and the resulting library dependency is
   21376 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   21377 # library is relocated.
   21378 hardcode_direct_absolute=$hardcode_direct_absolute
   21379 
   21380 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   21381 # into the resulting binary.
   21382 hardcode_minus_L=$hardcode_minus_L
   21383 
   21384 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   21385 # into the resulting binary.
   21386 hardcode_shlibpath_var=$hardcode_shlibpath_var
   21387 
   21388 # Set to "yes" if building a shared library automatically hardcodes DIR
   21389 # into the library and all subsequent libraries and executables linked
   21390 # against it.
   21391 hardcode_automatic=$hardcode_automatic
   21392 
   21393 # Set to yes if linker adds runtime paths of dependent libraries
   21394 # to runtime path list.
   21395 inherit_rpath=$inherit_rpath
   21396 
   21397 # Whether libtool must link a program against all its dependency libraries.
   21398 link_all_deplibs=$link_all_deplibs
   21399 
   21400 # Set to "yes" if exported symbols are required.
   21401 always_export_symbols=$always_export_symbols
   21402 
   21403 # The commands to list exported symbols.
   21404 export_symbols_cmds=$lt_export_symbols_cmds
   21405 
   21406 # Symbols that should not be listed in the preloaded symbols.
   21407 exclude_expsyms=$lt_exclude_expsyms
   21408 
   21409 # Symbols that must always be exported.
   21410 include_expsyms=$lt_include_expsyms
   21411 
   21412 # Commands necessary for linking programs (against libraries) with templates.
   21413 prelink_cmds=$lt_prelink_cmds
   21414 
   21415 # Commands necessary for finishing linking programs.
   21416 postlink_cmds=$lt_postlink_cmds
   21417 
   21418 # Specify filename containing input files.
   21419 file_list_spec=$lt_file_list_spec
   21420 
   21421 # How to hardcode a shared library path into an executable.
   21422 hardcode_action=$hardcode_action
   21423 
   21424 # ### END LIBTOOL CONFIG
   21425 
   21426 _LT_EOF
   21427 
   21428     cat <<'_LT_EOF' >> "$cfgfile"
   21429 
   21430 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   21431 
   21432 # func_munge_path_list VARIABLE PATH
   21433 # -----------------------------------
   21434 # VARIABLE is name of variable containing _space_ separated list of
   21435 # directories to be munged by the contents of PATH, which is string
   21436 # having a format:
   21437 # "DIR[:DIR]:"
   21438 #       string "DIR[ DIR]" will be prepended to VARIABLE
   21439 # ":DIR[:DIR]"
   21440 #       string "DIR[ DIR]" will be appended to VARIABLE
   21441 # "DIRP[:DIRP]::[DIRA:]DIRA"
   21442 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   21443 #       "DIRA[ DIRA]" will be appended to VARIABLE
   21444 # "DIR[:DIR]"
   21445 #       VARIABLE will be replaced by "DIR[ DIR]"
   21446 func_munge_path_list ()
   21447 {
   21448     case x$2 in
   21449     x)
   21450         ;;
   21451     *:)
   21452         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   21453         ;;
   21454     x:*)
   21455         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   21456         ;;
   21457     *::*)
   21458         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   21459         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   21460         ;;
   21461     *)
   21462         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   21463         ;;
   21464     esac
   21465 }
   21466 
   21467 
   21468 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   21469 func_cc_basename ()
   21470 {
   21471     for cc_temp in $*""; do
   21472       case $cc_temp in
   21473         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   21474         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   21475         \-*) ;;
   21476         *) break;;
   21477       esac
   21478     done
   21479     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   21480 }
   21481 
   21482 
   21483 # ### END FUNCTIONS SHARED WITH CONFIGURE
   21484 
   21485 _LT_EOF
   21486 
   21487   case $host_os in
   21488   aix3*)
   21489     cat <<\_LT_EOF >> "$cfgfile"
   21490 # AIX sometimes has problems with the GCC collect2 program.  For some
   21491 # reason, if we set the COLLECT_NAMES environment variable, the problems
   21492 # vanish in a puff of smoke.
   21493 if test set != "${COLLECT_NAMES+set}"; then
   21494   COLLECT_NAMES=
   21495   export COLLECT_NAMES
   21496 fi
   21497 _LT_EOF
   21498     ;;
   21499   esac
   21500 
   21501 
   21502 ltmain=$ac_aux_dir/ltmain.sh
   21503 
   21504 
   21505   # We use sed instead of cat because bash on DJGPP gets confused if
   21506   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   21507   # text mode, it properly converts lines to CR/LF.  This bash problem
   21508   # is reportedly fixed, but why not run on old versions too?
   21509   sed '$q' "$ltmain" >> "$cfgfile" \
   21510      || (rm -f "$cfgfile"; exit 1)
   21511 
   21512    mv -f "$cfgfile" "$ofile" ||
   21513     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   21514   chmod +x "$ofile"
   21515 
   21516  ;;
   21517 
   21518   esac
   21519 done # for ac_tag
   21520 
   21521 
   21522 as_fn_exit 0
   21523 _ACEOF
   21524 ac_clean_files=$ac_clean_files_save
   21525 
   21526 test $ac_write_fail = 0 ||
   21527   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   21528 
   21529 
   21530 # configure is writing to config.log, and then calls config.status.
   21531 # config.status does its own redirection, appending to config.log.
   21532 # Unfortunately, on DOS this fails, as config.log is still kept open
   21533 # by configure, so config.status won't be able to write to it; its
   21534 # output is simply discarded.  So we exec the FD to /dev/null,
   21535 # effectively closing config.log, so it can be properly (re)opened and
   21536 # appended to by config.status.  When coming back to configure, we
   21537 # need to make the FD available again.
   21538 if test "$no_create" != yes; then
   21539   ac_cs_success=:
   21540   ac_config_status_args=
   21541   test "$silent" = yes &&
   21542     ac_config_status_args="$ac_config_status_args --quiet"
   21543   exec 5>/dev/null
   21544   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   21545   exec 5>>config.log
   21546   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   21547   # would make configure fail if this is the last instruction.
   21548   $ac_cs_success || as_fn_exit 1
   21549 fi
   21550 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   21551   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   21552 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   21553 fi
   21554 
   21555