Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.1
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for libxshmfence 1.2.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 
    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://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    279 $0: about your system, including any error possibly output
    280 $0: before this message. Then install a modern shell, or
    281 $0: manually run the script under such a shell if you do
    282 $0: have one."
    283   fi
    284   exit 1
    285 fi
    286 fi
    287 fi
    288 SHELL=${CONFIG_SHELL-/bin/sh}
    289 export SHELL
    290 # Unset more variables known to interfere with behavior of common tools.
    291 CLICOLOR_FORCE= GREP_OPTIONS=
    292 unset CLICOLOR_FORCE GREP_OPTIONS
    293 
    294 ## --------------------- ##
    295 ## M4sh Shell Functions. ##
    296 ## --------------------- ##
    297 # as_fn_unset VAR
    298 # ---------------
    299 # Portably unset VAR.
    300 as_fn_unset ()
    301 {
    302   { eval $1=; unset $1;}
    303 }
    304 as_unset=as_fn_unset
    305 
    306 # as_fn_set_status STATUS
    307 # -----------------------
    308 # Set $? to STATUS, without forking.
    309 as_fn_set_status ()
    310 {
    311   return $1
    312 } # as_fn_set_status
    313 
    314 # as_fn_exit STATUS
    315 # -----------------
    316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    317 as_fn_exit ()
    318 {
    319   set +e
    320   as_fn_set_status $1
    321   exit $1
    322 } # as_fn_exit
    323 
    324 # as_fn_mkdir_p
    325 # -------------
    326 # Create "$as_dir" as a directory, including parents if necessary.
    327 as_fn_mkdir_p ()
    328 {
    329 
    330   case $as_dir in #(
    331   -*) as_dir=./$as_dir;;
    332   esac
    333   test -d "$as_dir" || eval $as_mkdir_p || {
    334     as_dirs=
    335     while :; do
    336       case $as_dir in #(
    337       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    338       *) as_qdir=$as_dir;;
    339       esac
    340       as_dirs="'$as_qdir' $as_dirs"
    341       as_dir=`$as_dirname -- "$as_dir" ||
    342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    343 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    344 	 X"$as_dir" : 'X\(//\)$' \| \
    345 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    346 $as_echo X"$as_dir" |
    347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\/\)[^/].*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  /^X\(\/\/\)$/{
    356 	    s//\1/
    357 	    q
    358 	  }
    359 	  /^X\(\/\).*/{
    360 	    s//\1/
    361 	    q
    362 	  }
    363 	  s/.*/./; q'`
    364       test -d "$as_dir" && break
    365     done
    366     test -z "$as_dirs" || eval "mkdir $as_dirs"
    367   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    368 
    369 
    370 } # as_fn_mkdir_p
    371 
    372 # as_fn_executable_p FILE
    373 # -----------------------
    374 # Test if FILE is an executable regular file.
    375 as_fn_executable_p ()
    376 {
    377   test -f "$1" && test -x "$1"
    378 } # as_fn_executable_p
    379 # as_fn_append VAR VALUE
    380 # ----------------------
    381 # Append the text in VALUE to the end of the definition contained in VAR. Take
    382 # advantage of any shell optimizations that allow amortized linear growth over
    383 # repeated appends, instead of the typical quadratic growth present in naive
    384 # implementations.
    385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    386   eval 'as_fn_append ()
    387   {
    388     eval $1+=\$2
    389   }'
    390 else
    391   as_fn_append ()
    392   {
    393     eval $1=\$$1\$2
    394   }
    395 fi # as_fn_append
    396 
    397 # as_fn_arith ARG...
    398 # ------------------
    399 # Perform arithmetic evaluation on the ARGs, and store the result in the
    400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    401 # must be portable across $(()) and expr.
    402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    403   eval 'as_fn_arith ()
    404   {
    405     as_val=$(( $* ))
    406   }'
    407 else
    408   as_fn_arith ()
    409   {
    410     as_val=`expr "$@" || test $? -eq 1`
    411   }
    412 fi # as_fn_arith
    413 
    414 
    415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    416 # ----------------------------------------
    417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    419 # script with STATUS, using 1 if that was 0.
    420 as_fn_error ()
    421 {
    422   as_status=$1; test $as_status -eq 0 && as_status=1
    423   if test "$4"; then
    424     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    425     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    426   fi
    427   $as_echo "$as_me: error: $2" >&2
    428   as_fn_exit $as_status
    429 } # as_fn_error
    430 
    431 if expr a : '\(a\)' >/dev/null 2>&1 &&
    432    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    433   as_expr=expr
    434 else
    435   as_expr=false
    436 fi
    437 
    438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    439   as_basename=basename
    440 else
    441   as_basename=false
    442 fi
    443 
    444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    445   as_dirname=dirname
    446 else
    447   as_dirname=false
    448 fi
    449 
    450 as_me=`$as_basename -- "$0" ||
    451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    452 	 X"$0" : 'X\(//\)$' \| \
    453 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    454 $as_echo X/"$0" |
    455     sed '/^.*\/\([^/][^/]*\)\/*$/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  /^X\/\(\/\/\)$/{
    460 	    s//\1/
    461 	    q
    462 	  }
    463 	  /^X\/\(\/\).*/{
    464 	    s//\1/
    465 	    q
    466 	  }
    467 	  s/.*/./; q'`
    468 
    469 # Avoid depending upon Character Ranges.
    470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    473 as_cr_digits='0123456789'
    474 as_cr_alnum=$as_cr_Letters$as_cr_digits
    475 
    476 
    477   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    478   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    479   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    480   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    481   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    482   sed -n '
    483     p
    484     /[$]LINENO/=
    485   ' <$as_myself |
    486     sed '
    487       s/[$]LINENO.*/&-/
    488       t lineno
    489       b
    490       :lineno
    491       N
    492       :loop
    493       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    494       t loop
    495       s/-\n.*//
    496     ' >$as_me.lineno &&
    497   chmod +x "$as_me.lineno" ||
    498     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    499 
    500   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    501   # already done that, so ensure we don't try to do so again and fall
    502   # in an infinite loop.  This has already happened in practice.
    503   _as_can_reexec=no; export _as_can_reexec
    504   # Don't try to exec as it changes $[0], causing all sort of problems
    505   # (the dirname of $[0] is not the place where we might find the
    506   # original and so on.  Autoconf is especially sensitive to this).
    507   . "./$as_me.lineno"
    508   # Exit status is that of the last command.
    509   exit
    510 }
    511 
    512 ECHO_C= ECHO_N= ECHO_T=
    513 case `echo -n x` in #(((((
    514 -n*)
    515   case `echo 'xy\c'` in
    516   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    517   xy)  ECHO_C='\c';;
    518   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    519        ECHO_T='	';;
    520   esac;;
    521 *)
    522   ECHO_N='-n';;
    523 esac
    524 
    525 rm -f conf$$ conf$$.exe conf$$.file
    526 if test -d conf$$.dir; then
    527   rm -f conf$$.dir/conf$$.file
    528 else
    529   rm -f conf$$.dir
    530   mkdir conf$$.dir 2>/dev/null
    531 fi
    532 if (echo >conf$$.file) 2>/dev/null; then
    533   if ln -s conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s='ln -s'
    535     # ... but there are two gotchas:
    536     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    537     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    538     # In both cases, we have to default to `cp -pR'.
    539     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    540       as_ln_s='cp -pR'
    541   elif ln conf$$.file conf$$ 2>/dev/null; then
    542     as_ln_s=ln
    543   else
    544     as_ln_s='cp -pR'
    545   fi
    546 else
    547   as_ln_s='cp -pR'
    548 fi
    549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    550 rmdir conf$$.dir 2>/dev/null
    551 
    552 if mkdir -p . 2>/dev/null; then
    553   as_mkdir_p='mkdir -p "$as_dir"'
    554 else
    555   test -d ./-p && rmdir ./-p
    556   as_mkdir_p=false
    557 fi
    558 
    559 as_test_x='test -x'
    560 as_executable_p=as_fn_executable_p
    561 
    562 # Sed expression to map a string onto a valid CPP name.
    563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    564 
    565 # Sed expression to map a string onto a valid variable name.
    566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    567 
    568 SHELL=${CONFIG_SHELL-/bin/sh}
    569 
    570 
    571 test -n "$DJDIR" || exec 7<&0 </dev/null
    572 exec 6>&1
    573 
    574 # Name of the host.
    575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    576 # so uname gets run too.
    577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    578 
    579 #
    580 # Initializations.
    581 #
    582 ac_default_prefix=/usr/local
    583 ac_clean_files=
    584 ac_config_libobj_dir=.
    585 LIBOBJS=
    586 cross_compiling=no
    587 subdirs=
    588 MFLAGS=
    589 MAKEFLAGS=
    590 
    591 # Identity of this package.
    592 PACKAGE_NAME='libxshmfence'
    593 PACKAGE_TARNAME='libxshmfence'
    594 PACKAGE_VERSION='1.2'
    595 PACKAGE_STRING='libxshmfence 1.2'
    596 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    597 PACKAGE_URL=''
    598 
    599 ac_unique_file="Makefile.am"
    600 # Factoring default headers for most tests.
    601 ac_includes_default="\
    602 #include <stdio.h>
    603 #ifdef HAVE_SYS_TYPES_H
    604 # include <sys/types.h>
    605 #endif
    606 #ifdef HAVE_SYS_STAT_H
    607 # include <sys/stat.h>
    608 #endif
    609 #ifdef STDC_HEADERS
    610 # include <stdlib.h>
    611 # include <stddef.h>
    612 #else
    613 # ifdef HAVE_STDLIB_H
    614 #  include <stdlib.h>
    615 # endif
    616 #endif
    617 #ifdef HAVE_STRING_H
    618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    619 #  include <memory.h>
    620 # endif
    621 # include <string.h>
    622 #endif
    623 #ifdef HAVE_STRINGS_H
    624 # include <strings.h>
    625 #endif
    626 #ifdef HAVE_INTTYPES_H
    627 # include <inttypes.h>
    628 #endif
    629 #ifdef HAVE_STDINT_H
    630 # include <stdint.h>
    631 #endif
    632 #ifdef HAVE_UNISTD_H
    633 # include <unistd.h>
    634 #endif"
    635 
    636 ac_subst_vars='am__EXEEXT_FALSE
    637 am__EXEEXT_TRUE
    638 LTLIBOBJS
    639 LIBOBJS
    640 XPROTO_LIBS
    641 XPROTO_CFLAGS
    642 PTHREAD_FALSE
    643 PTHREAD_TRUE
    644 FUTEX_FALSE
    645 FUTEX_TRUE
    646 PTHREAD_LIBS
    647 LINT_FALSE
    648 LINT_TRUE
    649 LINT_FLAGS
    650 LINT
    651 MAN_SUBSTS
    652 XORG_MAN_PAGE
    653 ADMIN_MAN_DIR
    654 DRIVER_MAN_DIR
    655 MISC_MAN_DIR
    656 FILE_MAN_DIR
    657 LIB_MAN_DIR
    658 APP_MAN_DIR
    659 ADMIN_MAN_SUFFIX
    660 DRIVER_MAN_SUFFIX
    661 MISC_MAN_SUFFIX
    662 FILE_MAN_SUFFIX
    663 LIB_MAN_SUFFIX
    664 APP_MAN_SUFFIX
    665 INSTALL_CMD
    666 PKG_CONFIG_LIBDIR
    667 PKG_CONFIG_PATH
    668 PKG_CONFIG
    669 CHANGELOG_CMD
    670 STRICT_CFLAGS
    671 CWARNFLAGS
    672 BASE_CFLAGS
    673 CPP
    674 OTOOL64
    675 OTOOL
    676 LIPO
    677 NMEDIT
    678 DSYMUTIL
    679 MANIFEST_TOOL
    680 RANLIB
    681 ac_ct_AR
    682 AR
    683 DLLTOOL
    684 OBJDUMP
    685 LN_S
    686 NM
    687 ac_ct_DUMPBIN
    688 DUMPBIN
    689 LD
    690 FGREP
    691 EGREP
    692 GREP
    693 SED
    694 am__fastdepCC_FALSE
    695 am__fastdepCC_TRUE
    696 CCDEPMODE
    697 am__nodep
    698 AMDEPBACKSLASH
    699 AMDEP_FALSE
    700 AMDEP_TRUE
    701 am__quote
    702 am__include
    703 DEPDIR
    704 OBJEXT
    705 EXEEXT
    706 ac_ct_CC
    707 CPPFLAGS
    708 LDFLAGS
    709 CFLAGS
    710 CC
    711 host_os
    712 host_vendor
    713 host_cpu
    714 host
    715 build_os
    716 build_vendor
    717 build_cpu
    718 build
    719 LIBTOOL
    720 AM_BACKSLASH
    721 AM_DEFAULT_VERBOSITY
    722 AM_DEFAULT_V
    723 AM_V
    724 am__untar
    725 am__tar
    726 AMTAR
    727 am__leading_dot
    728 SET_MAKE
    729 AWK
    730 mkdir_p
    731 MKDIR_P
    732 INSTALL_STRIP_PROGRAM
    733 STRIP
    734 install_sh
    735 MAKEINFO
    736 AUTOHEADER
    737 AUTOMAKE
    738 AUTOCONF
    739 ACLOCAL
    740 VERSION
    741 PACKAGE
    742 CYGPATH_W
    743 am__isrc
    744 INSTALL_DATA
    745 INSTALL_SCRIPT
    746 INSTALL_PROGRAM
    747 target_alias
    748 host_alias
    749 build_alias
    750 LIBS
    751 ECHO_T
    752 ECHO_N
    753 ECHO_C
    754 DEFS
    755 mandir
    756 localedir
    757 libdir
    758 psdir
    759 pdfdir
    760 dvidir
    761 htmldir
    762 infodir
    763 docdir
    764 oldincludedir
    765 includedir
    766 localstatedir
    767 sharedstatedir
    768 sysconfdir
    769 datadir
    770 datarootdir
    771 libexecdir
    772 sbindir
    773 bindir
    774 program_transform_name
    775 prefix
    776 exec_prefix
    777 PACKAGE_URL
    778 PACKAGE_BUGREPORT
    779 PACKAGE_STRING
    780 PACKAGE_VERSION
    781 PACKAGE_TARNAME
    782 PACKAGE_NAME
    783 PATH_SEPARATOR
    784 SHELL'
    785 ac_subst_files=''
    786 ac_user_opts='
    787 enable_option_checking
    788 enable_silent_rules
    789 enable_shared
    790 enable_static
    791 with_pic
    792 enable_fast_install
    793 enable_dependency_tracking
    794 with_gnu_ld
    795 with_sysroot
    796 enable_libtool_lock
    797 enable_selective_werror
    798 enable_strict_compilation
    799 with_lint
    800 enable_futex
    801 enable_visibility
    802 with_shared_memory_dir
    803 '
    804       ac_precious_vars='build_alias
    805 host_alias
    806 target_alias
    807 CC
    808 CFLAGS
    809 LDFLAGS
    810 LIBS
    811 CPPFLAGS
    812 CPP
    813 PKG_CONFIG
    814 PKG_CONFIG_PATH
    815 PKG_CONFIG_LIBDIR
    816 LINT
    817 LINT_FLAGS
    818 XPROTO_CFLAGS
    819 XPROTO_LIBS'
    820 
    821 
    822 # Initialize some variables set by options.
    823 ac_init_help=
    824 ac_init_version=false
    825 ac_unrecognized_opts=
    826 ac_unrecognized_sep=
    827 # The variables have the same names as the options, with
    828 # dashes changed to underlines.
    829 cache_file=/dev/null
    830 exec_prefix=NONE
    831 no_create=
    832 no_recursion=
    833 prefix=NONE
    834 program_prefix=NONE
    835 program_suffix=NONE
    836 program_transform_name=s,x,x,
    837 silent=
    838 site=
    839 srcdir=
    840 verbose=
    841 x_includes=NONE
    842 x_libraries=NONE
    843 
    844 # Installation directory options.
    845 # These are left unexpanded so users can "make install exec_prefix=/foo"
    846 # and all the variables that are supposed to be based on exec_prefix
    847 # by default will actually change.
    848 # Use braces instead of parens because sh, perl, etc. also accept them.
    849 # (The list follows the same order as the GNU Coding Standards.)
    850 bindir='${exec_prefix}/bin'
    851 sbindir='${exec_prefix}/sbin'
    852 libexecdir='${exec_prefix}/libexec'
    853 datarootdir='${prefix}/share'
    854 datadir='${datarootdir}'
    855 sysconfdir='${prefix}/etc'
    856 sharedstatedir='${prefix}/com'
    857 localstatedir='${prefix}/var'
    858 includedir='${prefix}/include'
    859 oldincludedir='/usr/include'
    860 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    861 infodir='${datarootdir}/info'
    862 htmldir='${docdir}'
    863 dvidir='${docdir}'
    864 pdfdir='${docdir}'
    865 psdir='${docdir}'
    866 libdir='${exec_prefix}/lib'
    867 localedir='${datarootdir}/locale'
    868 mandir='${datarootdir}/man'
    869 
    870 ac_prev=
    871 ac_dashdash=
    872 for ac_option
    873 do
    874   # If the previous option needs an argument, assign it.
    875   if test -n "$ac_prev"; then
    876     eval $ac_prev=\$ac_option
    877     ac_prev=
    878     continue
    879   fi
    880 
    881   case $ac_option in
    882   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    883   *=)   ac_optarg= ;;
    884   *)    ac_optarg=yes ;;
    885   esac
    886 
    887   # Accept the important Cygnus configure options, so we can diagnose typos.
    888 
    889   case $ac_dashdash$ac_option in
    890   --)
    891     ac_dashdash=yes ;;
    892 
    893   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    894     ac_prev=bindir ;;
    895   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    896     bindir=$ac_optarg ;;
    897 
    898   -build | --build | --buil | --bui | --bu)
    899     ac_prev=build_alias ;;
    900   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    901     build_alias=$ac_optarg ;;
    902 
    903   -cache-file | --cache-file | --cache-fil | --cache-fi \
    904   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    905     ac_prev=cache_file ;;
    906   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    907   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    908     cache_file=$ac_optarg ;;
    909 
    910   --config-cache | -C)
    911     cache_file=config.cache ;;
    912 
    913   -datadir | --datadir | --datadi | --datad)
    914     ac_prev=datadir ;;
    915   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    916     datadir=$ac_optarg ;;
    917 
    918   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    919   | --dataroo | --dataro | --datar)
    920     ac_prev=datarootdir ;;
    921   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    922   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    923     datarootdir=$ac_optarg ;;
    924 
    925   -disable-* | --disable-*)
    926     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    927     # Reject names that are not valid shell variable names.
    928     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    929       as_fn_error $? "invalid feature name: $ac_useropt"
    930     ac_useropt_orig=$ac_useropt
    931     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    932     case $ac_user_opts in
    933       *"
    934 "enable_$ac_useropt"
    935 "*) ;;
    936       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    937 	 ac_unrecognized_sep=', ';;
    938     esac
    939     eval enable_$ac_useropt=no ;;
    940 
    941   -docdir | --docdir | --docdi | --doc | --do)
    942     ac_prev=docdir ;;
    943   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    944     docdir=$ac_optarg ;;
    945 
    946   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    947     ac_prev=dvidir ;;
    948   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    949     dvidir=$ac_optarg ;;
    950 
    951   -enable-* | --enable-*)
    952     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    953     # Reject names that are not valid shell variable names.
    954     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    955       as_fn_error $? "invalid feature name: $ac_useropt"
    956     ac_useropt_orig=$ac_useropt
    957     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    958     case $ac_user_opts in
    959       *"
    960 "enable_$ac_useropt"
    961 "*) ;;
    962       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    963 	 ac_unrecognized_sep=', ';;
    964     esac
    965     eval enable_$ac_useropt=\$ac_optarg ;;
    966 
    967   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    968   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    969   | --exec | --exe | --ex)
    970     ac_prev=exec_prefix ;;
    971   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    972   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    973   | --exec=* | --exe=* | --ex=*)
    974     exec_prefix=$ac_optarg ;;
    975 
    976   -gas | --gas | --ga | --g)
    977     # Obsolete; use --with-gas.
    978     with_gas=yes ;;
    979 
    980   -help | --help | --hel | --he | -h)
    981     ac_init_help=long ;;
    982   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    983     ac_init_help=recursive ;;
    984   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    985     ac_init_help=short ;;
    986 
    987   -host | --host | --hos | --ho)
    988     ac_prev=host_alias ;;
    989   -host=* | --host=* | --hos=* | --ho=*)
    990     host_alias=$ac_optarg ;;
    991 
    992   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    993     ac_prev=htmldir ;;
    994   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    995   | --ht=*)
    996     htmldir=$ac_optarg ;;
    997 
    998   -includedir | --includedir | --includedi | --included | --include \
    999   | --includ | --inclu | --incl | --inc)
   1000     ac_prev=includedir ;;
   1001   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1002   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1003     includedir=$ac_optarg ;;
   1004 
   1005   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1006     ac_prev=infodir ;;
   1007   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1008     infodir=$ac_optarg ;;
   1009 
   1010   -libdir | --libdir | --libdi | --libd)
   1011     ac_prev=libdir ;;
   1012   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1013     libdir=$ac_optarg ;;
   1014 
   1015   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1016   | --libexe | --libex | --libe)
   1017     ac_prev=libexecdir ;;
   1018   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1019   | --libexe=* | --libex=* | --libe=*)
   1020     libexecdir=$ac_optarg ;;
   1021 
   1022   -localedir | --localedir | --localedi | --localed | --locale)
   1023     ac_prev=localedir ;;
   1024   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1025     localedir=$ac_optarg ;;
   1026 
   1027   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1028   | --localstate | --localstat | --localsta | --localst | --locals)
   1029     ac_prev=localstatedir ;;
   1030   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1031   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1032     localstatedir=$ac_optarg ;;
   1033 
   1034   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1035     ac_prev=mandir ;;
   1036   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1037     mandir=$ac_optarg ;;
   1038 
   1039   -nfp | --nfp | --nf)
   1040     # Obsolete; use --without-fp.
   1041     with_fp=no ;;
   1042 
   1043   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1044   | --no-cr | --no-c | -n)
   1045     no_create=yes ;;
   1046 
   1047   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1048   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1049     no_recursion=yes ;;
   1050 
   1051   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1052   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1053   | --oldin | --oldi | --old | --ol | --o)
   1054     ac_prev=oldincludedir ;;
   1055   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1056   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1057   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1058     oldincludedir=$ac_optarg ;;
   1059 
   1060   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1061     ac_prev=prefix ;;
   1062   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1063     prefix=$ac_optarg ;;
   1064 
   1065   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1066   | --program-pre | --program-pr | --program-p)
   1067     ac_prev=program_prefix ;;
   1068   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1069   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1070     program_prefix=$ac_optarg ;;
   1071 
   1072   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1073   | --program-suf | --program-su | --program-s)
   1074     ac_prev=program_suffix ;;
   1075   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1076   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1077     program_suffix=$ac_optarg ;;
   1078 
   1079   -program-transform-name | --program-transform-name \
   1080   | --program-transform-nam | --program-transform-na \
   1081   | --program-transform-n | --program-transform- \
   1082   | --program-transform | --program-transfor \
   1083   | --program-transfo | --program-transf \
   1084   | --program-trans | --program-tran \
   1085   | --progr-tra | --program-tr | --program-t)
   1086     ac_prev=program_transform_name ;;
   1087   -program-transform-name=* | --program-transform-name=* \
   1088   | --program-transform-nam=* | --program-transform-na=* \
   1089   | --program-transform-n=* | --program-transform-=* \
   1090   | --program-transform=* | --program-transfor=* \
   1091   | --program-transfo=* | --program-transf=* \
   1092   | --program-trans=* | --program-tran=* \
   1093   | --progr-tra=* | --program-tr=* | --program-t=*)
   1094     program_transform_name=$ac_optarg ;;
   1095 
   1096   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1097     ac_prev=pdfdir ;;
   1098   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1099     pdfdir=$ac_optarg ;;
   1100 
   1101   -psdir | --psdir | --psdi | --psd | --ps)
   1102     ac_prev=psdir ;;
   1103   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1104     psdir=$ac_optarg ;;
   1105 
   1106   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1107   | -silent | --silent | --silen | --sile | --sil)
   1108     silent=yes ;;
   1109 
   1110   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1111     ac_prev=sbindir ;;
   1112   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1113   | --sbi=* | --sb=*)
   1114     sbindir=$ac_optarg ;;
   1115 
   1116   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1117   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1118   | --sharedst | --shareds | --shared | --share | --shar \
   1119   | --sha | --sh)
   1120     ac_prev=sharedstatedir ;;
   1121   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1122   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1123   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1124   | --sha=* | --sh=*)
   1125     sharedstatedir=$ac_optarg ;;
   1126 
   1127   -site | --site | --sit)
   1128     ac_prev=site ;;
   1129   -site=* | --site=* | --sit=*)
   1130     site=$ac_optarg ;;
   1131 
   1132   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1133     ac_prev=srcdir ;;
   1134   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1135     srcdir=$ac_optarg ;;
   1136 
   1137   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1138   | --syscon | --sysco | --sysc | --sys | --sy)
   1139     ac_prev=sysconfdir ;;
   1140   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1141   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1142     sysconfdir=$ac_optarg ;;
   1143 
   1144   -target | --target | --targe | --targ | --tar | --ta | --t)
   1145     ac_prev=target_alias ;;
   1146   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1147     target_alias=$ac_optarg ;;
   1148 
   1149   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1150     verbose=yes ;;
   1151 
   1152   -version | --version | --versio | --versi | --vers | -V)
   1153     ac_init_version=: ;;
   1154 
   1155   -with-* | --with-*)
   1156     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1157     # Reject names that are not valid shell variable names.
   1158     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1159       as_fn_error $? "invalid package name: $ac_useropt"
   1160     ac_useropt_orig=$ac_useropt
   1161     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1162     case $ac_user_opts in
   1163       *"
   1164 "with_$ac_useropt"
   1165 "*) ;;
   1166       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1167 	 ac_unrecognized_sep=', ';;
   1168     esac
   1169     eval with_$ac_useropt=\$ac_optarg ;;
   1170 
   1171   -without-* | --without-*)
   1172     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1173     # Reject names that are not valid shell variable names.
   1174     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1175       as_fn_error $? "invalid package name: $ac_useropt"
   1176     ac_useropt_orig=$ac_useropt
   1177     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1178     case $ac_user_opts in
   1179       *"
   1180 "with_$ac_useropt"
   1181 "*) ;;
   1182       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1183 	 ac_unrecognized_sep=', ';;
   1184     esac
   1185     eval with_$ac_useropt=no ;;
   1186 
   1187   --x)
   1188     # Obsolete; use --with-x.
   1189     with_x=yes ;;
   1190 
   1191   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1192   | --x-incl | --x-inc | --x-in | --x-i)
   1193     ac_prev=x_includes ;;
   1194   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1195   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1196     x_includes=$ac_optarg ;;
   1197 
   1198   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1199   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1200     ac_prev=x_libraries ;;
   1201   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1202   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1203     x_libraries=$ac_optarg ;;
   1204 
   1205   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1206 Try \`$0 --help' for more information"
   1207     ;;
   1208 
   1209   *=*)
   1210     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1211     # Reject names that are not valid shell variable names.
   1212     case $ac_envvar in #(
   1213       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1214       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1215     esac
   1216     eval $ac_envvar=\$ac_optarg
   1217     export $ac_envvar ;;
   1218 
   1219   *)
   1220     # FIXME: should be removed in autoconf 3.0.
   1221     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1222     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1223       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1224     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1225     ;;
   1226 
   1227   esac
   1228 done
   1229 
   1230 if test -n "$ac_prev"; then
   1231   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1232   as_fn_error $? "missing argument to $ac_option"
   1233 fi
   1234 
   1235 if test -n "$ac_unrecognized_opts"; then
   1236   case $enable_option_checking in
   1237     no) ;;
   1238     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1239     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1240   esac
   1241 fi
   1242 
   1243 # Check all directory arguments for consistency.
   1244 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1245 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1246 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1247 		libdir localedir mandir
   1248 do
   1249   eval ac_val=\$$ac_var
   1250   # Remove trailing slashes.
   1251   case $ac_val in
   1252     */ )
   1253       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1254       eval $ac_var=\$ac_val;;
   1255   esac
   1256   # Be sure to have absolute directory names.
   1257   case $ac_val in
   1258     [\\/$]* | ?:[\\/]* )  continue;;
   1259     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1260   esac
   1261   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1262 done
   1263 
   1264 # There might be people who depend on the old broken behavior: `$host'
   1265 # used to hold the argument of --host etc.
   1266 # FIXME: To remove some day.
   1267 build=$build_alias
   1268 host=$host_alias
   1269 target=$target_alias
   1270 
   1271 # FIXME: To remove some day.
   1272 if test "x$host_alias" != x; then
   1273   if test "x$build_alias" = x; then
   1274     cross_compiling=maybe
   1275   elif test "x$build_alias" != "x$host_alias"; then
   1276     cross_compiling=yes
   1277   fi
   1278 fi
   1279 
   1280 ac_tool_prefix=
   1281 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1282 
   1283 test "$silent" = yes && exec 6>/dev/null
   1284 
   1285 
   1286 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1287 ac_ls_di=`ls -di .` &&
   1288 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1289   as_fn_error $? "working directory cannot be determined"
   1290 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1291   as_fn_error $? "pwd does not report name of working directory"
   1292 
   1293 
   1294 # Find the source files, if location was not specified.
   1295 if test -z "$srcdir"; then
   1296   ac_srcdir_defaulted=yes
   1297   # Try the directory containing this script, then the parent directory.
   1298   ac_confdir=`$as_dirname -- "$as_myself" ||
   1299 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1300 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1301 	 X"$as_myself" : 'X\(//\)$' \| \
   1302 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1303 $as_echo X"$as_myself" |
   1304     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1305 	    s//\1/
   1306 	    q
   1307 	  }
   1308 	  /^X\(\/\/\)[^/].*/{
   1309 	    s//\1/
   1310 	    q
   1311 	  }
   1312 	  /^X\(\/\/\)$/{
   1313 	    s//\1/
   1314 	    q
   1315 	  }
   1316 	  /^X\(\/\).*/{
   1317 	    s//\1/
   1318 	    q
   1319 	  }
   1320 	  s/.*/./; q'`
   1321   srcdir=$ac_confdir
   1322   if test ! -r "$srcdir/$ac_unique_file"; then
   1323     srcdir=..
   1324   fi
   1325 else
   1326   ac_srcdir_defaulted=no
   1327 fi
   1328 if test ! -r "$srcdir/$ac_unique_file"; then
   1329   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1330   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1331 fi
   1332 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1333 ac_abs_confdir=`(
   1334 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1335 	pwd)`
   1336 # When building in place, set srcdir=.
   1337 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1338   srcdir=.
   1339 fi
   1340 # Remove unnecessary trailing slashes from srcdir.
   1341 # Double slashes in file names in object file debugging info
   1342 # mess up M-x gdb in Emacs.
   1343 case $srcdir in
   1344 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1345 esac
   1346 for ac_var in $ac_precious_vars; do
   1347   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1348   eval ac_env_${ac_var}_value=\$${ac_var}
   1349   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1350   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1351 done
   1352 
   1353 #
   1354 # Report the --help message.
   1355 #
   1356 if test "$ac_init_help" = "long"; then
   1357   # Omit some internal or obsolete options to make the list less imposing.
   1358   # This message is too long to be a string in the A/UX 3.1 sh.
   1359   cat <<_ACEOF
   1360 \`configure' configures libxshmfence 1.2 to adapt to many kinds of systems.
   1361 
   1362 Usage: $0 [OPTION]... [VAR=VALUE]...
   1363 
   1364 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1365 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1366 
   1367 Defaults for the options are specified in brackets.
   1368 
   1369 Configuration:
   1370   -h, --help              display this help and exit
   1371       --help=short        display options specific to this package
   1372       --help=recursive    display the short help of all the included packages
   1373   -V, --version           display version information and exit
   1374   -q, --quiet, --silent   do not print \`checking ...' messages
   1375       --cache-file=FILE   cache test results in FILE [disabled]
   1376   -C, --config-cache      alias for \`--cache-file=config.cache'
   1377   -n, --no-create         do not create output files
   1378       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1379 
   1380 Installation directories:
   1381   --prefix=PREFIX         install architecture-independent files in PREFIX
   1382                           [$ac_default_prefix]
   1383   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1384                           [PREFIX]
   1385 
   1386 By default, \`make install' will install all the files in
   1387 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1388 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1389 for instance \`--prefix=\$HOME'.
   1390 
   1391 For better control, use the options below.
   1392 
   1393 Fine tuning of the installation directories:
   1394   --bindir=DIR            user executables [EPREFIX/bin]
   1395   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1396   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1397   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1398   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1399   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1400   --libdir=DIR            object code libraries [EPREFIX/lib]
   1401   --includedir=DIR        C header files [PREFIX/include]
   1402   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1403   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1404   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1405   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1406   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1407   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1408   --docdir=DIR            documentation root [DATAROOTDIR/doc/libxshmfence]
   1409   --htmldir=DIR           html documentation [DOCDIR]
   1410   --dvidir=DIR            dvi documentation [DOCDIR]
   1411   --pdfdir=DIR            pdf documentation [DOCDIR]
   1412   --psdir=DIR             ps documentation [DOCDIR]
   1413 _ACEOF
   1414 
   1415   cat <<\_ACEOF
   1416 
   1417 Program names:
   1418   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1419   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1420   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1421 
   1422 System types:
   1423   --build=BUILD     configure for building on BUILD [guessed]
   1424   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1425 _ACEOF
   1426 fi
   1427 
   1428 if test -n "$ac_init_help"; then
   1429   case $ac_init_help in
   1430      short | recursive ) echo "Configuration of libxshmfence 1.2:";;
   1431    esac
   1432   cat <<\_ACEOF
   1433 
   1434 Optional Features:
   1435   --disable-option-checking  ignore unrecognized --enable/--with options
   1436   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1437   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1438   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1439   --disable-silent-rules  verbose build output (undo: "make V=0")
   1440   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1441   --enable-static[=PKGS]  build static libraries [default=yes]
   1442   --enable-fast-install[=PKGS]
   1443                           optimize for fast installation [default=yes]
   1444   --enable-dependency-tracking
   1445                           do not reject slow dependency extractors
   1446   --disable-dependency-tracking
   1447                           speeds up one-time build
   1448   --disable-libtool-lock  avoid locking (might break parallel builds)
   1449   --disable-selective-werror
   1450                           Turn off selective compiler errors. (default:
   1451                           enabled)
   1452   --enable-strict-compilation
   1453                           Enable all warnings from compiler and make them
   1454                           errors (default: disabled)
   1455   --enable-futex          Enable futexes (default: auto)
   1456   --enable-visibility     Enable symbol visibility (default: auto)
   1457 
   1458 Optional Packages:
   1459   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1460   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1461   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1462                           both]
   1463   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1464   --with-sysroot=DIR Search for dependent libraries within DIR
   1465                         (or the compiler's sysroot if not specified).
   1466   --with-lint             Use a lint-style source code checker (default:
   1467                           disabled)
   1468   --with-shared-memory-dir=PATH
   1469                           Path to directory in a world-writable temporary
   1470                           directory for anonymous shared memory (default:
   1471                           auto)
   1472 
   1473 Some influential environment variables:
   1474   CC          C compiler command
   1475   CFLAGS      C compiler flags
   1476   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1477               nonstandard directory <lib dir>
   1478   LIBS        libraries to pass to the linker, e.g. -l<library>
   1479   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1480               you have headers in a nonstandard directory <include dir>
   1481   CPP         C preprocessor
   1482   PKG_CONFIG  path to pkg-config utility
   1483   PKG_CONFIG_PATH
   1484               directories to add to pkg-config's search path
   1485   PKG_CONFIG_LIBDIR
   1486               path overriding pkg-config's built-in search path
   1487   LINT        Path to a lint-style command
   1488   LINT_FLAGS  Flags for the lint-style command
   1489   XPROTO_CFLAGS
   1490               C compiler flags for XPROTO, overriding pkg-config
   1491   XPROTO_LIBS linker flags for XPROTO, overriding pkg-config
   1492 
   1493 Use these variables to override the choices made by `configure' or to help
   1494 it to find libraries and programs with nonstandard names/locations.
   1495 
   1496 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1497 _ACEOF
   1498 ac_status=$?
   1499 fi
   1500 
   1501 if test "$ac_init_help" = "recursive"; then
   1502   # If there are subdirs, report their specific --help.
   1503   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1504     test -d "$ac_dir" ||
   1505       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1506       continue
   1507     ac_builddir=.
   1508 
   1509 case "$ac_dir" in
   1510 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1511 *)
   1512   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1513   # A ".." for each directory in $ac_dir_suffix.
   1514   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1515   case $ac_top_builddir_sub in
   1516   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1517   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1518   esac ;;
   1519 esac
   1520 ac_abs_top_builddir=$ac_pwd
   1521 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1522 # for backward compatibility:
   1523 ac_top_builddir=$ac_top_build_prefix
   1524 
   1525 case $srcdir in
   1526   .)  # We are building in place.
   1527     ac_srcdir=.
   1528     ac_top_srcdir=$ac_top_builddir_sub
   1529     ac_abs_top_srcdir=$ac_pwd ;;
   1530   [\\/]* | ?:[\\/]* )  # Absolute name.
   1531     ac_srcdir=$srcdir$ac_dir_suffix;
   1532     ac_top_srcdir=$srcdir
   1533     ac_abs_top_srcdir=$srcdir ;;
   1534   *) # Relative name.
   1535     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1536     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1537     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1538 esac
   1539 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1540 
   1541     cd "$ac_dir" || { ac_status=$?; continue; }
   1542     # Check for guested configure.
   1543     if test -f "$ac_srcdir/configure.gnu"; then
   1544       echo &&
   1545       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1546     elif test -f "$ac_srcdir/configure"; then
   1547       echo &&
   1548       $SHELL "$ac_srcdir/configure" --help=recursive
   1549     else
   1550       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1551     fi || ac_status=$?
   1552     cd "$ac_pwd" || { ac_status=$?; break; }
   1553   done
   1554 fi
   1555 
   1556 test -n "$ac_init_help" && exit $ac_status
   1557 if $ac_init_version; then
   1558   cat <<\_ACEOF
   1559 libxshmfence configure 1.2
   1560 generated by GNU Autoconf 2.69
   1561 
   1562 Copyright (C) 2012 Free Software Foundation, Inc.
   1563 This configure script is free software; the Free Software Foundation
   1564 gives unlimited permission to copy, distribute and modify it.
   1565 _ACEOF
   1566   exit
   1567 fi
   1568 
   1569 ## ------------------------ ##
   1570 ## Autoconf initialization. ##
   1571 ## ------------------------ ##
   1572 
   1573 # ac_fn_c_try_compile LINENO
   1574 # --------------------------
   1575 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1576 ac_fn_c_try_compile ()
   1577 {
   1578   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1579   rm -f conftest.$ac_objext
   1580   if { { ac_try="$ac_compile"
   1581 case "(($ac_try" in
   1582   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1583   *) ac_try_echo=$ac_try;;
   1584 esac
   1585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1586 $as_echo "$ac_try_echo"; } >&5
   1587   (eval "$ac_compile") 2>conftest.err
   1588   ac_status=$?
   1589   if test -s conftest.err; then
   1590     grep -v '^ *+' conftest.err >conftest.er1
   1591     cat conftest.er1 >&5
   1592     mv -f conftest.er1 conftest.err
   1593   fi
   1594   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1595   test $ac_status = 0; } && {
   1596 	 test -z "$ac_c_werror_flag" ||
   1597 	 test ! -s conftest.err
   1598        } && test -s conftest.$ac_objext; then :
   1599   ac_retval=0
   1600 else
   1601   $as_echo "$as_me: failed program was:" >&5
   1602 sed 's/^/| /' conftest.$ac_ext >&5
   1603 
   1604 	ac_retval=1
   1605 fi
   1606   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1607   as_fn_set_status $ac_retval
   1608 
   1609 } # ac_fn_c_try_compile
   1610 
   1611 # ac_fn_c_try_link LINENO
   1612 # -----------------------
   1613 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1614 ac_fn_c_try_link ()
   1615 {
   1616   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1617   rm -f conftest.$ac_objext conftest$ac_exeext
   1618   if { { ac_try="$ac_link"
   1619 case "(($ac_try" in
   1620   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1621   *) ac_try_echo=$ac_try;;
   1622 esac
   1623 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1624 $as_echo "$ac_try_echo"; } >&5
   1625   (eval "$ac_link") 2>conftest.err
   1626   ac_status=$?
   1627   if test -s conftest.err; then
   1628     grep -v '^ *+' conftest.err >conftest.er1
   1629     cat conftest.er1 >&5
   1630     mv -f conftest.er1 conftest.err
   1631   fi
   1632   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1633   test $ac_status = 0; } && {
   1634 	 test -z "$ac_c_werror_flag" ||
   1635 	 test ! -s conftest.err
   1636        } && test -s conftest$ac_exeext && {
   1637 	 test "$cross_compiling" = yes ||
   1638 	 test -x conftest$ac_exeext
   1639        }; then :
   1640   ac_retval=0
   1641 else
   1642   $as_echo "$as_me: failed program was:" >&5
   1643 sed 's/^/| /' conftest.$ac_ext >&5
   1644 
   1645 	ac_retval=1
   1646 fi
   1647   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1648   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1649   # interfere with the next link command; also delete a directory that is
   1650   # left behind by Apple's compiler.  We do this before executing the actions.
   1651   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1652   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1653   as_fn_set_status $ac_retval
   1654 
   1655 } # ac_fn_c_try_link
   1656 
   1657 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1658 # -------------------------------------------------------
   1659 # Tests whether HEADER exists and can be compiled using the include files in
   1660 # INCLUDES, setting the cache variable VAR accordingly.
   1661 ac_fn_c_check_header_compile ()
   1662 {
   1663   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1664   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1665 $as_echo_n "checking for $2... " >&6; }
   1666 if eval \${$3+:} false; then :
   1667   $as_echo_n "(cached) " >&6
   1668 else
   1669   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1670 /* end confdefs.h.  */
   1671 $4
   1672 #include <$2>
   1673 _ACEOF
   1674 if ac_fn_c_try_compile "$LINENO"; then :
   1675   eval "$3=yes"
   1676 else
   1677   eval "$3=no"
   1678 fi
   1679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1680 fi
   1681 eval ac_res=\$$3
   1682 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1683 $as_echo "$ac_res" >&6; }
   1684   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1685 
   1686 } # ac_fn_c_check_header_compile
   1687 
   1688 # ac_fn_c_try_cpp LINENO
   1689 # ----------------------
   1690 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1691 ac_fn_c_try_cpp ()
   1692 {
   1693   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1694   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1695 case "(($ac_try" in
   1696   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1697   *) ac_try_echo=$ac_try;;
   1698 esac
   1699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1700 $as_echo "$ac_try_echo"; } >&5
   1701   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1702   ac_status=$?
   1703   if test -s conftest.err; then
   1704     grep -v '^ *+' conftest.err >conftest.er1
   1705     cat conftest.er1 >&5
   1706     mv -f conftest.er1 conftest.err
   1707   fi
   1708   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1709   test $ac_status = 0; } > conftest.i && {
   1710 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1711 	 test ! -s conftest.err
   1712        }; then :
   1713   ac_retval=0
   1714 else
   1715   $as_echo "$as_me: failed program was:" >&5
   1716 sed 's/^/| /' conftest.$ac_ext >&5
   1717 
   1718     ac_retval=1
   1719 fi
   1720   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1721   as_fn_set_status $ac_retval
   1722 
   1723 } # ac_fn_c_try_cpp
   1724 
   1725 # ac_fn_c_try_run LINENO
   1726 # ----------------------
   1727 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1728 # that executables *can* be run.
   1729 ac_fn_c_try_run ()
   1730 {
   1731   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1732   if { { ac_try="$ac_link"
   1733 case "(($ac_try" in
   1734   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1735   *) ac_try_echo=$ac_try;;
   1736 esac
   1737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1738 $as_echo "$ac_try_echo"; } >&5
   1739   (eval "$ac_link") 2>&5
   1740   ac_status=$?
   1741   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1742   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1743   { { case "(($ac_try" in
   1744   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1745   *) ac_try_echo=$ac_try;;
   1746 esac
   1747 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1748 $as_echo "$ac_try_echo"; } >&5
   1749   (eval "$ac_try") 2>&5
   1750   ac_status=$?
   1751   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1752   test $ac_status = 0; }; }; then :
   1753   ac_retval=0
   1754 else
   1755   $as_echo "$as_me: program exited with status $ac_status" >&5
   1756        $as_echo "$as_me: failed program was:" >&5
   1757 sed 's/^/| /' conftest.$ac_ext >&5
   1758 
   1759        ac_retval=$ac_status
   1760 fi
   1761   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1762   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1763   as_fn_set_status $ac_retval
   1764 
   1765 } # ac_fn_c_try_run
   1766 
   1767 # ac_fn_c_check_func LINENO FUNC VAR
   1768 # ----------------------------------
   1769 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1770 ac_fn_c_check_func ()
   1771 {
   1772   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1773   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1774 $as_echo_n "checking for $2... " >&6; }
   1775 if eval \${$3+:} false; then :
   1776   $as_echo_n "(cached) " >&6
   1777 else
   1778   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1779 /* end confdefs.h.  */
   1780 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1781    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1782 #define $2 innocuous_$2
   1783 
   1784 /* System header to define __stub macros and hopefully few prototypes,
   1785     which can conflict with char $2 (); below.
   1786     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1787     <limits.h> exists even on freestanding compilers.  */
   1788 
   1789 #ifdef __STDC__
   1790 # include <limits.h>
   1791 #else
   1792 # include <assert.h>
   1793 #endif
   1794 
   1795 #undef $2
   1796 
   1797 /* Override any GCC internal prototype to avoid an error.
   1798    Use char because int might match the return type of a GCC
   1799    builtin and then its argument prototype would still apply.  */
   1800 #ifdef __cplusplus
   1801 extern "C"
   1802 #endif
   1803 char $2 ();
   1804 /* The GNU C library defines this for functions which it implements
   1805     to always fail with ENOSYS.  Some functions are actually named
   1806     something starting with __ and the normal name is an alias.  */
   1807 #if defined __stub_$2 || defined __stub___$2
   1808 choke me
   1809 #endif
   1810 
   1811 int
   1812 main ()
   1813 {
   1814 return $2 ();
   1815   ;
   1816   return 0;
   1817 }
   1818 _ACEOF
   1819 if ac_fn_c_try_link "$LINENO"; then :
   1820   eval "$3=yes"
   1821 else
   1822   eval "$3=no"
   1823 fi
   1824 rm -f core conftest.err conftest.$ac_objext \
   1825     conftest$ac_exeext conftest.$ac_ext
   1826 fi
   1827 eval ac_res=\$$3
   1828 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1829 $as_echo "$ac_res" >&6; }
   1830   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1831 
   1832 } # ac_fn_c_check_func
   1833 
   1834 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1835 # ---------------------------------------------
   1836 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1837 # accordingly.
   1838 ac_fn_c_check_decl ()
   1839 {
   1840   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1841   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1842   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1843   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1844 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1845 if eval \${$3+:} false; then :
   1846   $as_echo_n "(cached) " >&6
   1847 else
   1848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1849 /* end confdefs.h.  */
   1850 $4
   1851 int
   1852 main ()
   1853 {
   1854 #ifndef $as_decl_name
   1855 #ifdef __cplusplus
   1856   (void) $as_decl_use;
   1857 #else
   1858   (void) $as_decl_name;
   1859 #endif
   1860 #endif
   1861 
   1862   ;
   1863   return 0;
   1864 }
   1865 _ACEOF
   1866 if ac_fn_c_try_compile "$LINENO"; then :
   1867   eval "$3=yes"
   1868 else
   1869   eval "$3=no"
   1870 fi
   1871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1872 fi
   1873 eval ac_res=\$$3
   1874 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1875 $as_echo "$ac_res" >&6; }
   1876   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1877 
   1878 } # ac_fn_c_check_decl
   1879 
   1880 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1881 # -------------------------------------------------------
   1882 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1883 # the include files in INCLUDES and setting the cache variable VAR
   1884 # accordingly.
   1885 ac_fn_c_check_header_mongrel ()
   1886 {
   1887   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1888   if eval \${$3+:} false; then :
   1889   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1890 $as_echo_n "checking for $2... " >&6; }
   1891 if eval \${$3+:} false; then :
   1892   $as_echo_n "(cached) " >&6
   1893 fi
   1894 eval ac_res=\$$3
   1895 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1896 $as_echo "$ac_res" >&6; }
   1897 else
   1898   # Is the header compilable?
   1899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1900 $as_echo_n "checking $2 usability... " >&6; }
   1901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1902 /* end confdefs.h.  */
   1903 $4
   1904 #include <$2>
   1905 _ACEOF
   1906 if ac_fn_c_try_compile "$LINENO"; then :
   1907   ac_header_compiler=yes
   1908 else
   1909   ac_header_compiler=no
   1910 fi
   1911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1913 $as_echo "$ac_header_compiler" >&6; }
   1914 
   1915 # Is the header present?
   1916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1917 $as_echo_n "checking $2 presence... " >&6; }
   1918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1919 /* end confdefs.h.  */
   1920 #include <$2>
   1921 _ACEOF
   1922 if ac_fn_c_try_cpp "$LINENO"; then :
   1923   ac_header_preproc=yes
   1924 else
   1925   ac_header_preproc=no
   1926 fi
   1927 rm -f conftest.err conftest.i conftest.$ac_ext
   1928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1929 $as_echo "$ac_header_preproc" >&6; }
   1930 
   1931 # So?  What about this header?
   1932 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1933   yes:no: )
   1934     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1935 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1936     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1937 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1938     ;;
   1939   no:yes:* )
   1940     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1941 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1942     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1943 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1944     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1945 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1946     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1947 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1948     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1949 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1950 ( $as_echo "## ---------------------------------------------------------------------- ##
   1951 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   1952 ## ---------------------------------------------------------------------- ##"
   1953      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1954     ;;
   1955 esac
   1956   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1957 $as_echo_n "checking for $2... " >&6; }
   1958 if eval \${$3+:} false; then :
   1959   $as_echo_n "(cached) " >&6
   1960 else
   1961   eval "$3=\$ac_header_compiler"
   1962 fi
   1963 eval ac_res=\$$3
   1964 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1965 $as_echo "$ac_res" >&6; }
   1966 fi
   1967   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1968 
   1969 } # ac_fn_c_check_header_mongrel
   1970 cat >config.log <<_ACEOF
   1971 This file contains any messages produced by compilers while
   1972 running configure, to aid debugging if configure makes a mistake.
   1973 
   1974 It was created by libxshmfence $as_me 1.2, which was
   1975 generated by GNU Autoconf 2.69.  Invocation command line was
   1976 
   1977   $ $0 $@
   1978 
   1979 _ACEOF
   1980 exec 5>>config.log
   1981 {
   1982 cat <<_ASUNAME
   1983 ## --------- ##
   1984 ## Platform. ##
   1985 ## --------- ##
   1986 
   1987 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1988 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1989 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1990 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1991 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1992 
   1993 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1994 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1995 
   1996 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1997 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1998 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1999 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2000 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2001 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2002 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2003 
   2004 _ASUNAME
   2005 
   2006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2007 for as_dir in $PATH
   2008 do
   2009   IFS=$as_save_IFS
   2010   test -z "$as_dir" && as_dir=.
   2011     $as_echo "PATH: $as_dir"
   2012   done
   2013 IFS=$as_save_IFS
   2014 
   2015 } >&5
   2016 
   2017 cat >&5 <<_ACEOF
   2018 
   2019 
   2020 ## ----------- ##
   2021 ## Core tests. ##
   2022 ## ----------- ##
   2023 
   2024 _ACEOF
   2025 
   2026 
   2027 # Keep a trace of the command line.
   2028 # Strip out --no-create and --no-recursion so they do not pile up.
   2029 # Strip out --silent because we don't want to record it for future runs.
   2030 # Also quote any args containing shell meta-characters.
   2031 # Make two passes to allow for proper duplicate-argument suppression.
   2032 ac_configure_args=
   2033 ac_configure_args0=
   2034 ac_configure_args1=
   2035 ac_must_keep_next=false
   2036 for ac_pass in 1 2
   2037 do
   2038   for ac_arg
   2039   do
   2040     case $ac_arg in
   2041     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2042     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2043     | -silent | --silent | --silen | --sile | --sil)
   2044       continue ;;
   2045     *\'*)
   2046       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2047     esac
   2048     case $ac_pass in
   2049     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2050     2)
   2051       as_fn_append ac_configure_args1 " '$ac_arg'"
   2052       if test $ac_must_keep_next = true; then
   2053 	ac_must_keep_next=false # Got value, back to normal.
   2054       else
   2055 	case $ac_arg in
   2056 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2057 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2058 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2059 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2060 	    case "$ac_configure_args0 " in
   2061 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2062 	    esac
   2063 	    ;;
   2064 	  -* ) ac_must_keep_next=true ;;
   2065 	esac
   2066       fi
   2067       as_fn_append ac_configure_args " '$ac_arg'"
   2068       ;;
   2069     esac
   2070   done
   2071 done
   2072 { ac_configure_args0=; unset ac_configure_args0;}
   2073 { ac_configure_args1=; unset ac_configure_args1;}
   2074 
   2075 # When interrupted or exit'd, cleanup temporary files, and complete
   2076 # config.log.  We remove comments because anyway the quotes in there
   2077 # would cause problems or look ugly.
   2078 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2079 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2080 trap 'exit_status=$?
   2081   # Save into config.log some information that might help in debugging.
   2082   {
   2083     echo
   2084 
   2085     $as_echo "## ---------------- ##
   2086 ## Cache variables. ##
   2087 ## ---------------- ##"
   2088     echo
   2089     # The following way of writing the cache mishandles newlines in values,
   2090 (
   2091   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2092     eval ac_val=\$$ac_var
   2093     case $ac_val in #(
   2094     *${as_nl}*)
   2095       case $ac_var in #(
   2096       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2097 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2098       esac
   2099       case $ac_var in #(
   2100       _ | IFS | as_nl) ;; #(
   2101       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2102       *) { eval $ac_var=; unset $ac_var;} ;;
   2103       esac ;;
   2104     esac
   2105   done
   2106   (set) 2>&1 |
   2107     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2108     *${as_nl}ac_space=\ *)
   2109       sed -n \
   2110 	"s/'\''/'\''\\\\'\'''\''/g;
   2111 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2112       ;; #(
   2113     *)
   2114       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2115       ;;
   2116     esac |
   2117     sort
   2118 )
   2119     echo
   2120 
   2121     $as_echo "## ----------------- ##
   2122 ## Output variables. ##
   2123 ## ----------------- ##"
   2124     echo
   2125     for ac_var in $ac_subst_vars
   2126     do
   2127       eval ac_val=\$$ac_var
   2128       case $ac_val in
   2129       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2130       esac
   2131       $as_echo "$ac_var='\''$ac_val'\''"
   2132     done | sort
   2133     echo
   2134 
   2135     if test -n "$ac_subst_files"; then
   2136       $as_echo "## ------------------- ##
   2137 ## File substitutions. ##
   2138 ## ------------------- ##"
   2139       echo
   2140       for ac_var in $ac_subst_files
   2141       do
   2142 	eval ac_val=\$$ac_var
   2143 	case $ac_val in
   2144 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2145 	esac
   2146 	$as_echo "$ac_var='\''$ac_val'\''"
   2147       done | sort
   2148       echo
   2149     fi
   2150 
   2151     if test -s confdefs.h; then
   2152       $as_echo "## ----------- ##
   2153 ## confdefs.h. ##
   2154 ## ----------- ##"
   2155       echo
   2156       cat confdefs.h
   2157       echo
   2158     fi
   2159     test "$ac_signal" != 0 &&
   2160       $as_echo "$as_me: caught signal $ac_signal"
   2161     $as_echo "$as_me: exit $exit_status"
   2162   } >&5
   2163   rm -f core *.core core.conftest.* &&
   2164     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2165     exit $exit_status
   2166 ' 0
   2167 for ac_signal in 1 2 13 15; do
   2168   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2169 done
   2170 ac_signal=0
   2171 
   2172 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2173 rm -f -r conftest* confdefs.h
   2174 
   2175 $as_echo "/* confdefs.h */" > confdefs.h
   2176 
   2177 # Predefined preprocessor variables.
   2178 
   2179 cat >>confdefs.h <<_ACEOF
   2180 #define PACKAGE_NAME "$PACKAGE_NAME"
   2181 _ACEOF
   2182 
   2183 cat >>confdefs.h <<_ACEOF
   2184 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2185 _ACEOF
   2186 
   2187 cat >>confdefs.h <<_ACEOF
   2188 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2189 _ACEOF
   2190 
   2191 cat >>confdefs.h <<_ACEOF
   2192 #define PACKAGE_STRING "$PACKAGE_STRING"
   2193 _ACEOF
   2194 
   2195 cat >>confdefs.h <<_ACEOF
   2196 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2197 _ACEOF
   2198 
   2199 cat >>confdefs.h <<_ACEOF
   2200 #define PACKAGE_URL "$PACKAGE_URL"
   2201 _ACEOF
   2202 
   2203 
   2204 # Let the site file select an alternate cache file if it wants to.
   2205 # Prefer an explicitly selected file to automatically selected ones.
   2206 ac_site_file1=NONE
   2207 ac_site_file2=NONE
   2208 if test -n "$CONFIG_SITE"; then
   2209   # We do not want a PATH search for config.site.
   2210   case $CONFIG_SITE in #((
   2211     -*)  ac_site_file1=./$CONFIG_SITE;;
   2212     */*) ac_site_file1=$CONFIG_SITE;;
   2213     *)   ac_site_file1=./$CONFIG_SITE;;
   2214   esac
   2215 elif test "x$prefix" != xNONE; then
   2216   ac_site_file1=$prefix/share/config.site
   2217   ac_site_file2=$prefix/etc/config.site
   2218 else
   2219   ac_site_file1=$ac_default_prefix/share/config.site
   2220   ac_site_file2=$ac_default_prefix/etc/config.site
   2221 fi
   2222 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2223 do
   2224   test "x$ac_site_file" = xNONE && continue
   2225   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2226     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2227 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2228     sed 's/^/| /' "$ac_site_file" >&5
   2229     . "$ac_site_file" \
   2230       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2231 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2232 as_fn_error $? "failed to load site script $ac_site_file
   2233 See \`config.log' for more details" "$LINENO" 5; }
   2234   fi
   2235 done
   2236 
   2237 if test -r "$cache_file"; then
   2238   # Some versions of bash will fail to source /dev/null (special files
   2239   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2240   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2241     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2242 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2243     case $cache_file in
   2244       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2245       *)                      . "./$cache_file";;
   2246     esac
   2247   fi
   2248 else
   2249   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2250 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2251   >$cache_file
   2252 fi
   2253 
   2254 # Check that the precious variables saved in the cache have kept the same
   2255 # value.
   2256 ac_cache_corrupted=false
   2257 for ac_var in $ac_precious_vars; do
   2258   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2259   eval ac_new_set=\$ac_env_${ac_var}_set
   2260   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2261   eval ac_new_val=\$ac_env_${ac_var}_value
   2262   case $ac_old_set,$ac_new_set in
   2263     set,)
   2264       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2265 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2266       ac_cache_corrupted=: ;;
   2267     ,set)
   2268       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2269 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2270       ac_cache_corrupted=: ;;
   2271     ,);;
   2272     *)
   2273       if test "x$ac_old_val" != "x$ac_new_val"; then
   2274 	# differences in whitespace do not lead to failure.
   2275 	ac_old_val_w=`echo x $ac_old_val`
   2276 	ac_new_val_w=`echo x $ac_new_val`
   2277 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2278 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2279 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2280 	  ac_cache_corrupted=:
   2281 	else
   2282 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2283 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2284 	  eval $ac_var=\$ac_old_val
   2285 	fi
   2286 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2287 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2288 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2289 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2290       fi;;
   2291   esac
   2292   # Pass precious variables to config.status.
   2293   if test "$ac_new_set" = set; then
   2294     case $ac_new_val in
   2295     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2296     *) ac_arg=$ac_var=$ac_new_val ;;
   2297     esac
   2298     case " $ac_configure_args " in
   2299       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2300       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2301     esac
   2302   fi
   2303 done
   2304 if $ac_cache_corrupted; then
   2305   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2306 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2307   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2308 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2309   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2310 fi
   2311 ## -------------------- ##
   2312 ## Main body of script. ##
   2313 ## -------------------- ##
   2314 
   2315 ac_ext=c
   2316 ac_cpp='$CPP $CPPFLAGS'
   2317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2320 
   2321 
   2322 
   2323 ac_config_headers="$ac_config_headers config.h"
   2324 
   2325 
   2326 # Initialize Automake
   2327 am__api_version='1.14'
   2328 
   2329 ac_aux_dir=
   2330 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2331   if test -f "$ac_dir/install-sh"; then
   2332     ac_aux_dir=$ac_dir
   2333     ac_install_sh="$ac_aux_dir/install-sh -c"
   2334     break
   2335   elif test -f "$ac_dir/install.sh"; then
   2336     ac_aux_dir=$ac_dir
   2337     ac_install_sh="$ac_aux_dir/install.sh -c"
   2338     break
   2339   elif test -f "$ac_dir/shtool"; then
   2340     ac_aux_dir=$ac_dir
   2341     ac_install_sh="$ac_aux_dir/shtool install -c"
   2342     break
   2343   fi
   2344 done
   2345 if test -z "$ac_aux_dir"; then
   2346   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2347 fi
   2348 
   2349 # These three variables are undocumented and unsupported,
   2350 # and are intended to be withdrawn in a future Autoconf release.
   2351 # They can cause serious problems if a builder's source tree is in a directory
   2352 # whose full name contains unusual characters.
   2353 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2354 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2355 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2356 
   2357 
   2358 # Find a good install program.  We prefer a C program (faster),
   2359 # so one script is as good as another.  But avoid the broken or
   2360 # incompatible versions:
   2361 # SysV /etc/install, /usr/sbin/install
   2362 # SunOS /usr/etc/install
   2363 # IRIX /sbin/install
   2364 # AIX /bin/install
   2365 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2366 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2367 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2368 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2369 # OS/2's system install, which has a completely different semantic
   2370 # ./install, which can be erroneously created by make from ./install.sh.
   2371 # Reject install programs that cannot install multiple files.
   2372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2373 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2374 if test -z "$INSTALL"; then
   2375 if ${ac_cv_path_install+:} false; then :
   2376   $as_echo_n "(cached) " >&6
   2377 else
   2378   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2379 for as_dir in $PATH
   2380 do
   2381   IFS=$as_save_IFS
   2382   test -z "$as_dir" && as_dir=.
   2383     # Account for people who put trailing slashes in PATH elements.
   2384 case $as_dir/ in #((
   2385   ./ | .// | /[cC]/* | \
   2386   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2387   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2388   /usr/ucb/* ) ;;
   2389   *)
   2390     # OSF1 and SCO ODT 3.0 have their own names for install.
   2391     # Don't use installbsd from OSF since it installs stuff as root
   2392     # by default.
   2393     for ac_prog in ginstall scoinst install; do
   2394       for ac_exec_ext in '' $ac_executable_extensions; do
   2395 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2396 	  if test $ac_prog = install &&
   2397 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2398 	    # AIX install.  It has an incompatible calling convention.
   2399 	    :
   2400 	  elif test $ac_prog = install &&
   2401 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2402 	    # program-specific install script used by HP pwplus--don't use.
   2403 	    :
   2404 	  else
   2405 	    rm -rf conftest.one conftest.two conftest.dir
   2406 	    echo one > conftest.one
   2407 	    echo two > conftest.two
   2408 	    mkdir conftest.dir
   2409 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2410 	      test -s conftest.one && test -s conftest.two &&
   2411 	      test -s conftest.dir/conftest.one &&
   2412 	      test -s conftest.dir/conftest.two
   2413 	    then
   2414 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2415 	      break 3
   2416 	    fi
   2417 	  fi
   2418 	fi
   2419       done
   2420     done
   2421     ;;
   2422 esac
   2423 
   2424   done
   2425 IFS=$as_save_IFS
   2426 
   2427 rm -rf conftest.one conftest.two conftest.dir
   2428 
   2429 fi
   2430   if test "${ac_cv_path_install+set}" = set; then
   2431     INSTALL=$ac_cv_path_install
   2432   else
   2433     # As a last resort, use the slow shell script.  Don't cache a
   2434     # value for INSTALL within a source directory, because that will
   2435     # break other packages using the cache if that directory is
   2436     # removed, or if the value is a relative name.
   2437     INSTALL=$ac_install_sh
   2438   fi
   2439 fi
   2440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2441 $as_echo "$INSTALL" >&6; }
   2442 
   2443 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2444 # It thinks the first close brace ends the variable substitution.
   2445 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2446 
   2447 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2448 
   2449 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2450 
   2451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2452 $as_echo_n "checking whether build environment is sane... " >&6; }
   2453 # Reject unsafe characters in $srcdir or the absolute working directory
   2454 # name.  Accept space and tab only in the latter.
   2455 am_lf='
   2456 '
   2457 case `pwd` in
   2458   *[\\\"\#\$\&\'\`$am_lf]*)
   2459     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2460 esac
   2461 case $srcdir in
   2462   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2463     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2464 esac
   2465 
   2466 # Do 'set' in a subshell so we don't clobber the current shell's
   2467 # arguments.  Must try -L first in case configure is actually a
   2468 # symlink; some systems play weird games with the mod time of symlinks
   2469 # (eg FreeBSD returns the mod time of the symlink's containing
   2470 # directory).
   2471 if (
   2472    am_has_slept=no
   2473    for am_try in 1 2; do
   2474      echo "timestamp, slept: $am_has_slept" > conftest.file
   2475      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2476      if test "$*" = "X"; then
   2477 	# -L didn't work.
   2478 	set X `ls -t "$srcdir/configure" conftest.file`
   2479      fi
   2480      if test "$*" != "X $srcdir/configure conftest.file" \
   2481 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2482 
   2483 	# If neither matched, then we have a broken ls.  This can happen
   2484 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2485 	# broken ls alias from the environment.  This has actually
   2486 	# happened.  Such a system could not be considered "sane".
   2487 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2488   alias in your environment" "$LINENO" 5
   2489      fi
   2490      if test "$2" = conftest.file || test $am_try -eq 2; then
   2491        break
   2492      fi
   2493      # Just in case.
   2494      sleep 1
   2495      am_has_slept=yes
   2496    done
   2497    test "$2" = conftest.file
   2498    )
   2499 then
   2500    # Ok.
   2501    :
   2502 else
   2503    as_fn_error $? "newly created file is older than distributed files!
   2504 Check your system clock" "$LINENO" 5
   2505 fi
   2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2507 $as_echo "yes" >&6; }
   2508 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2509 # generated files are strictly newer.
   2510 am_sleep_pid=
   2511 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2512   ( sleep 1 ) &
   2513   am_sleep_pid=$!
   2514 fi
   2515 
   2516 rm -f conftest.file
   2517 
   2518 test "$program_prefix" != NONE &&
   2519   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2520 # Use a double $ so make ignores it.
   2521 test "$program_suffix" != NONE &&
   2522   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2523 # Double any \ or $.
   2524 # By default was `s,x,x', remove it if useless.
   2525 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2526 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2527 
   2528 # Expand $ac_aux_dir to an absolute path.
   2529 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2530 
   2531 if test x"${MISSING+set}" != xset; then
   2532   case $am_aux_dir in
   2533   *\ * | *\	*)
   2534     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2535   *)
   2536     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2537   esac
   2538 fi
   2539 # Use eval to expand $SHELL
   2540 if eval "$MISSING --is-lightweight"; then
   2541   am_missing_run="$MISSING "
   2542 else
   2543   am_missing_run=
   2544   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2545 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2546 fi
   2547 
   2548 if test x"${install_sh}" != xset; then
   2549   case $am_aux_dir in
   2550   *\ * | *\	*)
   2551     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2552   *)
   2553     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2554   esac
   2555 fi
   2556 
   2557 # Installed binaries are usually stripped using 'strip' when the user
   2558 # run "make install-strip".  However 'strip' might not be the right
   2559 # tool to use in cross-compilation environments, therefore Automake
   2560 # will honor the 'STRIP' environment variable to overrule this program.
   2561 if test "$cross_compiling" != no; then
   2562   if test -n "$ac_tool_prefix"; then
   2563   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2564 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2566 $as_echo_n "checking for $ac_word... " >&6; }
   2567 if ${ac_cv_prog_STRIP+:} false; then :
   2568   $as_echo_n "(cached) " >&6
   2569 else
   2570   if test -n "$STRIP"; then
   2571   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2572 else
   2573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2574 for as_dir in $PATH
   2575 do
   2576   IFS=$as_save_IFS
   2577   test -z "$as_dir" && as_dir=.
   2578     for ac_exec_ext in '' $ac_executable_extensions; do
   2579   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2580     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2581     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2582     break 2
   2583   fi
   2584 done
   2585   done
   2586 IFS=$as_save_IFS
   2587 
   2588 fi
   2589 fi
   2590 STRIP=$ac_cv_prog_STRIP
   2591 if test -n "$STRIP"; then
   2592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2593 $as_echo "$STRIP" >&6; }
   2594 else
   2595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2596 $as_echo "no" >&6; }
   2597 fi
   2598 
   2599 
   2600 fi
   2601 if test -z "$ac_cv_prog_STRIP"; then
   2602   ac_ct_STRIP=$STRIP
   2603   # Extract the first word of "strip", so it can be a program name with args.
   2604 set dummy strip; ac_word=$2
   2605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2606 $as_echo_n "checking for $ac_word... " >&6; }
   2607 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2608   $as_echo_n "(cached) " >&6
   2609 else
   2610   if test -n "$ac_ct_STRIP"; then
   2611   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2612 else
   2613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2614 for as_dir in $PATH
   2615 do
   2616   IFS=$as_save_IFS
   2617   test -z "$as_dir" && as_dir=.
   2618     for ac_exec_ext in '' $ac_executable_extensions; do
   2619   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2620     ac_cv_prog_ac_ct_STRIP="strip"
   2621     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2622     break 2
   2623   fi
   2624 done
   2625   done
   2626 IFS=$as_save_IFS
   2627 
   2628 fi
   2629 fi
   2630 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2631 if test -n "$ac_ct_STRIP"; then
   2632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2633 $as_echo "$ac_ct_STRIP" >&6; }
   2634 else
   2635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2636 $as_echo "no" >&6; }
   2637 fi
   2638 
   2639   if test "x$ac_ct_STRIP" = x; then
   2640     STRIP=":"
   2641   else
   2642     case $cross_compiling:$ac_tool_warned in
   2643 yes:)
   2644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2645 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2646 ac_tool_warned=yes ;;
   2647 esac
   2648     STRIP=$ac_ct_STRIP
   2649   fi
   2650 else
   2651   STRIP="$ac_cv_prog_STRIP"
   2652 fi
   2653 
   2654 fi
   2655 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2656 
   2657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2658 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2659 if test -z "$MKDIR_P"; then
   2660   if ${ac_cv_path_mkdir+:} false; then :
   2661   $as_echo_n "(cached) " >&6
   2662 else
   2663   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2664 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2665 do
   2666   IFS=$as_save_IFS
   2667   test -z "$as_dir" && as_dir=.
   2668     for ac_prog in mkdir gmkdir; do
   2669 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2670 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2671 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2672 	     'mkdir (GNU coreutils) '* | \
   2673 	     'mkdir (coreutils) '* | \
   2674 	     'mkdir (fileutils) '4.1*)
   2675 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2676 	       break 3;;
   2677 	   esac
   2678 	 done
   2679        done
   2680   done
   2681 IFS=$as_save_IFS
   2682 
   2683 fi
   2684 
   2685   test -d ./--version && rmdir ./--version
   2686   if test "${ac_cv_path_mkdir+set}" = set; then
   2687     MKDIR_P="$ac_cv_path_mkdir -p"
   2688   else
   2689     # As a last resort, use the slow shell script.  Don't cache a
   2690     # value for MKDIR_P within a source directory, because that will
   2691     # break other packages using the cache if that directory is
   2692     # removed, or if the value is a relative name.
   2693     MKDIR_P="$ac_install_sh -d"
   2694   fi
   2695 fi
   2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2697 $as_echo "$MKDIR_P" >&6; }
   2698 
   2699 for ac_prog in gawk mawk nawk awk
   2700 do
   2701   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2702 set dummy $ac_prog; ac_word=$2
   2703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2704 $as_echo_n "checking for $ac_word... " >&6; }
   2705 if ${ac_cv_prog_AWK+:} false; then :
   2706   $as_echo_n "(cached) " >&6
   2707 else
   2708   if test -n "$AWK"; then
   2709   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2710 else
   2711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2712 for as_dir in $PATH
   2713 do
   2714   IFS=$as_save_IFS
   2715   test -z "$as_dir" && as_dir=.
   2716     for ac_exec_ext in '' $ac_executable_extensions; do
   2717   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2718     ac_cv_prog_AWK="$ac_prog"
   2719     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2720     break 2
   2721   fi
   2722 done
   2723   done
   2724 IFS=$as_save_IFS
   2725 
   2726 fi
   2727 fi
   2728 AWK=$ac_cv_prog_AWK
   2729 if test -n "$AWK"; then
   2730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2731 $as_echo "$AWK" >&6; }
   2732 else
   2733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2734 $as_echo "no" >&6; }
   2735 fi
   2736 
   2737 
   2738   test -n "$AWK" && break
   2739 done
   2740 
   2741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2742 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2743 set x ${MAKE-make}
   2744 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2745 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2746   $as_echo_n "(cached) " >&6
   2747 else
   2748   cat >conftest.make <<\_ACEOF
   2749 SHELL = /bin/sh
   2750 all:
   2751 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2752 _ACEOF
   2753 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2754 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2755   *@@@%%%=?*=@@@%%%*)
   2756     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2757   *)
   2758     eval ac_cv_prog_make_${ac_make}_set=no;;
   2759 esac
   2760 rm -f conftest.make
   2761 fi
   2762 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2764 $as_echo "yes" >&6; }
   2765   SET_MAKE=
   2766 else
   2767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2768 $as_echo "no" >&6; }
   2769   SET_MAKE="MAKE=${MAKE-make}"
   2770 fi
   2771 
   2772 rm -rf .tst 2>/dev/null
   2773 mkdir .tst 2>/dev/null
   2774 if test -d .tst; then
   2775   am__leading_dot=.
   2776 else
   2777   am__leading_dot=_
   2778 fi
   2779 rmdir .tst 2>/dev/null
   2780 
   2781 # Check whether --enable-silent-rules was given.
   2782 if test "${enable_silent_rules+set}" = set; then :
   2783   enableval=$enable_silent_rules;
   2784 fi
   2785 
   2786 case $enable_silent_rules in # (((
   2787   yes) AM_DEFAULT_VERBOSITY=0;;
   2788    no) AM_DEFAULT_VERBOSITY=1;;
   2789     *) AM_DEFAULT_VERBOSITY=1;;
   2790 esac
   2791 am_make=${MAKE-make}
   2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2793 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2794 if ${am_cv_make_support_nested_variables+:} false; then :
   2795   $as_echo_n "(cached) " >&6
   2796 else
   2797   if $as_echo 'TRUE=$(BAR$(V))
   2798 BAR0=false
   2799 BAR1=true
   2800 V=1
   2801 am__doit:
   2802 	@$(TRUE)
   2803 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2804   am_cv_make_support_nested_variables=yes
   2805 else
   2806   am_cv_make_support_nested_variables=no
   2807 fi
   2808 fi
   2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2810 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2811 if test $am_cv_make_support_nested_variables = yes; then
   2812     AM_V='$(V)'
   2813   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2814 else
   2815   AM_V=$AM_DEFAULT_VERBOSITY
   2816   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2817 fi
   2818 AM_BACKSLASH='\'
   2819 
   2820 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2821   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2822   # is not polluted with repeated "-I."
   2823   am__isrc=' -I$(srcdir)'
   2824   # test to see if srcdir already configured
   2825   if test -f $srcdir/config.status; then
   2826     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2827   fi
   2828 fi
   2829 
   2830 # test whether we have cygpath
   2831 if test -z "$CYGPATH_W"; then
   2832   if (cygpath --version) >/dev/null 2>/dev/null; then
   2833     CYGPATH_W='cygpath -w'
   2834   else
   2835     CYGPATH_W=echo
   2836   fi
   2837 fi
   2838 
   2839 
   2840 # Define the identity of the package.
   2841  PACKAGE='libxshmfence'
   2842  VERSION='1.2'
   2843 
   2844 
   2845 cat >>confdefs.h <<_ACEOF
   2846 #define PACKAGE "$PACKAGE"
   2847 _ACEOF
   2848 
   2849 
   2850 cat >>confdefs.h <<_ACEOF
   2851 #define VERSION "$VERSION"
   2852 _ACEOF
   2853 
   2854 # Some tools Automake needs.
   2855 
   2856 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2857 
   2858 
   2859 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2860 
   2861 
   2862 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2863 
   2864 
   2865 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2866 
   2867 
   2868 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2869 
   2870 # For better backward compatibility.  To be removed once Automake 1.9.x
   2871 # dies out for good.  For more background, see:
   2872 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2873 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2874 mkdir_p='$(MKDIR_P)'
   2875 
   2876 # We need awk for the "check" target.  The system "awk" is bad on
   2877 # some platforms.
   2878 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2879 # in the wild :-(  We should find a proper way to deprecate it ...
   2880 AMTAR='$${TAR-tar}'
   2881 
   2882 
   2883 # We'll loop over all known methods to create a tar archive until one works.
   2884 _am_tools='gnutar  pax cpio none'
   2885 
   2886 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2887 
   2888 
   2889 
   2890 
   2891 
   2892 
   2893 # POSIX will say in a future version that running "rm -f" with no argument
   2894 # is OK; and we want to be able to make that assumption in our Makefile
   2895 # recipes.  So use an aggressive probe to check that the usage we want is
   2896 # actually supported "in the wild" to an acceptable degree.
   2897 # See automake bug#10828.
   2898 # To make any issue more visible, cause the running configure to be aborted
   2899 # by default if the 'rm' program in use doesn't match our expectations; the
   2900 # user can still override this though.
   2901 if rm -f && rm -fr && rm -rf; then : OK; else
   2902   cat >&2 <<'END'
   2903 Oops!
   2904 
   2905 Your 'rm' program seems unable to run without file operands specified
   2906 on the command line, even when the '-f' option is present.  This is contrary
   2907 to the behaviour of most rm programs out there, and not conforming with
   2908 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2909 
   2910 Please tell bug-automake@gnu.org about your system, including the value
   2911 of your $PATH and any error possibly output before this message.  This
   2912 can help us improve future automake versions.
   2913 
   2914 END
   2915   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2916     echo 'Configuration will proceed anyway, since you have set the' >&2
   2917     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2918     echo >&2
   2919   else
   2920     cat >&2 <<'END'
   2921 Aborting the configuration process, to ensure you take notice of the issue.
   2922 
   2923 You can download and install GNU coreutils to get an 'rm' implementation
   2924 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2925 
   2926 If you want to complete the configuration process using your problematic
   2927 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2928 to "yes", and re-run configure.
   2929 
   2930 END
   2931     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2932   fi
   2933 fi
   2934 
   2935 
   2936 # Initialize libtool
   2937 case `pwd` in
   2938   *\ * | *\	*)
   2939     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   2940 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   2941 esac
   2942 
   2943 
   2944 
   2945 macro_version='2.4.2'
   2946 macro_revision='1.3337'
   2947 
   2948 
   2949 
   2950 
   2951 
   2952 
   2953 
   2954 
   2955 
   2956 
   2957 
   2958 
   2959 
   2960 ltmain="$ac_aux_dir/ltmain.sh"
   2961 
   2962 # Make sure we can run config.sub.
   2963 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2964   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2965 
   2966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2967 $as_echo_n "checking build system type... " >&6; }
   2968 if ${ac_cv_build+:} false; then :
   2969   $as_echo_n "(cached) " >&6
   2970 else
   2971   ac_build_alias=$build_alias
   2972 test "x$ac_build_alias" = x &&
   2973   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2974 test "x$ac_build_alias" = x &&
   2975   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2976 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2977   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2978 
   2979 fi
   2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2981 $as_echo "$ac_cv_build" >&6; }
   2982 case $ac_cv_build in
   2983 *-*-*) ;;
   2984 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2985 esac
   2986 build=$ac_cv_build
   2987 ac_save_IFS=$IFS; IFS='-'
   2988 set x $ac_cv_build
   2989 shift
   2990 build_cpu=$1
   2991 build_vendor=$2
   2992 shift; shift
   2993 # Remember, the first character of IFS is used to create $*,
   2994 # except with old shells:
   2995 build_os=$*
   2996 IFS=$ac_save_IFS
   2997 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2998 
   2999 
   3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3001 $as_echo_n "checking host system type... " >&6; }
   3002 if ${ac_cv_host+:} false; then :
   3003   $as_echo_n "(cached) " >&6
   3004 else
   3005   if test "x$host_alias" = x; then
   3006   ac_cv_host=$ac_cv_build
   3007 else
   3008   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3009     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   3010 fi
   3011 
   3012 fi
   3013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3014 $as_echo "$ac_cv_host" >&6; }
   3015 case $ac_cv_host in
   3016 *-*-*) ;;
   3017 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3018 esac
   3019 host=$ac_cv_host
   3020 ac_save_IFS=$IFS; IFS='-'
   3021 set x $ac_cv_host
   3022 shift
   3023 host_cpu=$1
   3024 host_vendor=$2
   3025 shift; shift
   3026 # Remember, the first character of IFS is used to create $*,
   3027 # except with old shells:
   3028 host_os=$*
   3029 IFS=$ac_save_IFS
   3030 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3031 
   3032 
   3033 # Backslashify metacharacters that are still active within
   3034 # double-quoted strings.
   3035 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   3036 
   3037 # Same as above, but do not quote variable references.
   3038 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   3039 
   3040 # Sed substitution to delay expansion of an escaped shell variable in a
   3041 # double_quote_subst'ed string.
   3042 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   3043 
   3044 # Sed substitution to delay expansion of an escaped single quote.
   3045 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   3046 
   3047 # Sed substitution to avoid accidental globbing in evaled expressions
   3048 no_glob_subst='s/\*/\\\*/g'
   3049 
   3050 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   3051 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   3052 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   3053 
   3054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   3055 $as_echo_n "checking how to print strings... " >&6; }
   3056 # Test print first, because it will be a builtin if present.
   3057 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   3058    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   3059   ECHO='print -r --'
   3060 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   3061   ECHO='printf %s\n'
   3062 else
   3063   # Use this function as a fallback that always works.
   3064   func_fallback_echo ()
   3065   {
   3066     eval 'cat <<_LTECHO_EOF
   3067 $1
   3068 _LTECHO_EOF'
   3069   }
   3070   ECHO='func_fallback_echo'
   3071 fi
   3072 
   3073 # func_echo_all arg...
   3074 # Invoke $ECHO with all args, space-separated.
   3075 func_echo_all ()
   3076 {
   3077     $ECHO ""
   3078 }
   3079 
   3080 case "$ECHO" in
   3081   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   3082 $as_echo "printf" >&6; } ;;
   3083   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   3084 $as_echo "print -r" >&6; } ;;
   3085   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   3086 $as_echo "cat" >&6; } ;;
   3087 esac
   3088 
   3089 
   3090 
   3091 
   3092 
   3093 
   3094 
   3095 
   3096 
   3097 
   3098 
   3099 
   3100 
   3101 
   3102 DEPDIR="${am__leading_dot}deps"
   3103 
   3104 ac_config_commands="$ac_config_commands depfiles"
   3105 
   3106 
   3107 am_make=${MAKE-make}
   3108 cat > confinc << 'END'
   3109 am__doit:
   3110 	@echo this is the am__doit target
   3111 .PHONY: am__doit
   3112 END
   3113 # If we don't find an include directive, just comment out the code.
   3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3115 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3116 am__include="#"
   3117 am__quote=
   3118 _am_result=none
   3119 # First try GNU make style include.
   3120 echo "include confinc" > confmf
   3121 # Ignore all kinds of additional output from 'make'.
   3122 case `$am_make -s -f confmf 2> /dev/null` in #(
   3123 *the\ am__doit\ target*)
   3124   am__include=include
   3125   am__quote=
   3126   _am_result=GNU
   3127   ;;
   3128 esac
   3129 # Now try BSD make style include.
   3130 if test "$am__include" = "#"; then
   3131    echo '.include "confinc"' > confmf
   3132    case `$am_make -s -f confmf 2> /dev/null` in #(
   3133    *the\ am__doit\ target*)
   3134      am__include=.include
   3135      am__quote="\""
   3136      _am_result=BSD
   3137      ;;
   3138    esac
   3139 fi
   3140 
   3141 
   3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3143 $as_echo "$_am_result" >&6; }
   3144 rm -f confinc confmf
   3145 
   3146 # Check whether --enable-dependency-tracking was given.
   3147 if test "${enable_dependency_tracking+set}" = set; then :
   3148   enableval=$enable_dependency_tracking;
   3149 fi
   3150 
   3151 if test "x$enable_dependency_tracking" != xno; then
   3152   am_depcomp="$ac_aux_dir/depcomp"
   3153   AMDEPBACKSLASH='\'
   3154   am__nodep='_no'
   3155 fi
   3156  if test "x$enable_dependency_tracking" != xno; then
   3157   AMDEP_TRUE=
   3158   AMDEP_FALSE='#'
   3159 else
   3160   AMDEP_TRUE='#'
   3161   AMDEP_FALSE=
   3162 fi
   3163 
   3164 
   3165 ac_ext=c
   3166 ac_cpp='$CPP $CPPFLAGS'
   3167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3170 if test -n "$ac_tool_prefix"; then
   3171   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3172 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3174 $as_echo_n "checking for $ac_word... " >&6; }
   3175 if ${ac_cv_prog_CC+:} false; then :
   3176   $as_echo_n "(cached) " >&6
   3177 else
   3178   if test -n "$CC"; then
   3179   ac_cv_prog_CC="$CC" # Let the user override the test.
   3180 else
   3181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3182 for as_dir in $PATH
   3183 do
   3184   IFS=$as_save_IFS
   3185   test -z "$as_dir" && as_dir=.
   3186     for ac_exec_ext in '' $ac_executable_extensions; do
   3187   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3188     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3189     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3190     break 2
   3191   fi
   3192 done
   3193   done
   3194 IFS=$as_save_IFS
   3195 
   3196 fi
   3197 fi
   3198 CC=$ac_cv_prog_CC
   3199 if test -n "$CC"; then
   3200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3201 $as_echo "$CC" >&6; }
   3202 else
   3203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3204 $as_echo "no" >&6; }
   3205 fi
   3206 
   3207 
   3208 fi
   3209 if test -z "$ac_cv_prog_CC"; then
   3210   ac_ct_CC=$CC
   3211   # Extract the first word of "gcc", so it can be a program name with args.
   3212 set dummy gcc; ac_word=$2
   3213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3214 $as_echo_n "checking for $ac_word... " >&6; }
   3215 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3216   $as_echo_n "(cached) " >&6
   3217 else
   3218   if test -n "$ac_ct_CC"; then
   3219   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3220 else
   3221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3222 for as_dir in $PATH
   3223 do
   3224   IFS=$as_save_IFS
   3225   test -z "$as_dir" && as_dir=.
   3226     for ac_exec_ext in '' $ac_executable_extensions; do
   3227   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3228     ac_cv_prog_ac_ct_CC="gcc"
   3229     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3230     break 2
   3231   fi
   3232 done
   3233   done
   3234 IFS=$as_save_IFS
   3235 
   3236 fi
   3237 fi
   3238 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3239 if test -n "$ac_ct_CC"; then
   3240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3241 $as_echo "$ac_ct_CC" >&6; }
   3242 else
   3243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3244 $as_echo "no" >&6; }
   3245 fi
   3246 
   3247   if test "x$ac_ct_CC" = x; then
   3248     CC=""
   3249   else
   3250     case $cross_compiling:$ac_tool_warned in
   3251 yes:)
   3252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3254 ac_tool_warned=yes ;;
   3255 esac
   3256     CC=$ac_ct_CC
   3257   fi
   3258 else
   3259   CC="$ac_cv_prog_CC"
   3260 fi
   3261 
   3262 if test -z "$CC"; then
   3263           if test -n "$ac_tool_prefix"; then
   3264     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3265 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3267 $as_echo_n "checking for $ac_word... " >&6; }
   3268 if ${ac_cv_prog_CC+:} false; then :
   3269   $as_echo_n "(cached) " >&6
   3270 else
   3271   if test -n "$CC"; then
   3272   ac_cv_prog_CC="$CC" # Let the user override the test.
   3273 else
   3274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3275 for as_dir in $PATH
   3276 do
   3277   IFS=$as_save_IFS
   3278   test -z "$as_dir" && as_dir=.
   3279     for ac_exec_ext in '' $ac_executable_extensions; do
   3280   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3281     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3282     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3283     break 2
   3284   fi
   3285 done
   3286   done
   3287 IFS=$as_save_IFS
   3288 
   3289 fi
   3290 fi
   3291 CC=$ac_cv_prog_CC
   3292 if test -n "$CC"; then
   3293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3294 $as_echo "$CC" >&6; }
   3295 else
   3296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3297 $as_echo "no" >&6; }
   3298 fi
   3299 
   3300 
   3301   fi
   3302 fi
   3303 if test -z "$CC"; then
   3304   # Extract the first word of "cc", so it can be a program name with args.
   3305 set dummy cc; ac_word=$2
   3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3307 $as_echo_n "checking for $ac_word... " >&6; }
   3308 if ${ac_cv_prog_CC+:} false; then :
   3309   $as_echo_n "(cached) " >&6
   3310 else
   3311   if test -n "$CC"; then
   3312   ac_cv_prog_CC="$CC" # Let the user override the test.
   3313 else
   3314   ac_prog_rejected=no
   3315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3316 for as_dir in $PATH
   3317 do
   3318   IFS=$as_save_IFS
   3319   test -z "$as_dir" && as_dir=.
   3320     for ac_exec_ext in '' $ac_executable_extensions; do
   3321   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3322     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3323        ac_prog_rejected=yes
   3324        continue
   3325      fi
   3326     ac_cv_prog_CC="cc"
   3327     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3328     break 2
   3329   fi
   3330 done
   3331   done
   3332 IFS=$as_save_IFS
   3333 
   3334 if test $ac_prog_rejected = yes; then
   3335   # We found a bogon in the path, so make sure we never use it.
   3336   set dummy $ac_cv_prog_CC
   3337   shift
   3338   if test $# != 0; then
   3339     # We chose a different compiler from the bogus one.
   3340     # However, it has the same basename, so the bogon will be chosen
   3341     # first if we set CC to just the basename; use the full file name.
   3342     shift
   3343     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3344   fi
   3345 fi
   3346 fi
   3347 fi
   3348 CC=$ac_cv_prog_CC
   3349 if test -n "$CC"; then
   3350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3351 $as_echo "$CC" >&6; }
   3352 else
   3353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3354 $as_echo "no" >&6; }
   3355 fi
   3356 
   3357 
   3358 fi
   3359 if test -z "$CC"; then
   3360   if test -n "$ac_tool_prefix"; then
   3361   for ac_prog in cl.exe
   3362   do
   3363     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3364 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3366 $as_echo_n "checking for $ac_word... " >&6; }
   3367 if ${ac_cv_prog_CC+:} false; then :
   3368   $as_echo_n "(cached) " >&6
   3369 else
   3370   if test -n "$CC"; then
   3371   ac_cv_prog_CC="$CC" # Let the user override the test.
   3372 else
   3373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3374 for as_dir in $PATH
   3375 do
   3376   IFS=$as_save_IFS
   3377   test -z "$as_dir" && as_dir=.
   3378     for ac_exec_ext in '' $ac_executable_extensions; do
   3379   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3380     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3381     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3382     break 2
   3383   fi
   3384 done
   3385   done
   3386 IFS=$as_save_IFS
   3387 
   3388 fi
   3389 fi
   3390 CC=$ac_cv_prog_CC
   3391 if test -n "$CC"; then
   3392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3393 $as_echo "$CC" >&6; }
   3394 else
   3395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3396 $as_echo "no" >&6; }
   3397 fi
   3398 
   3399 
   3400     test -n "$CC" && break
   3401   done
   3402 fi
   3403 if test -z "$CC"; then
   3404   ac_ct_CC=$CC
   3405   for ac_prog in cl.exe
   3406 do
   3407   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3408 set dummy $ac_prog; ac_word=$2
   3409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3410 $as_echo_n "checking for $ac_word... " >&6; }
   3411 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3412   $as_echo_n "(cached) " >&6
   3413 else
   3414   if test -n "$ac_ct_CC"; then
   3415   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3416 else
   3417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3418 for as_dir in $PATH
   3419 do
   3420   IFS=$as_save_IFS
   3421   test -z "$as_dir" && as_dir=.
   3422     for ac_exec_ext in '' $ac_executable_extensions; do
   3423   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3424     ac_cv_prog_ac_ct_CC="$ac_prog"
   3425     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3426     break 2
   3427   fi
   3428 done
   3429   done
   3430 IFS=$as_save_IFS
   3431 
   3432 fi
   3433 fi
   3434 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3435 if test -n "$ac_ct_CC"; then
   3436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3437 $as_echo "$ac_ct_CC" >&6; }
   3438 else
   3439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3440 $as_echo "no" >&6; }
   3441 fi
   3442 
   3443 
   3444   test -n "$ac_ct_CC" && break
   3445 done
   3446 
   3447   if test "x$ac_ct_CC" = x; then
   3448     CC=""
   3449   else
   3450     case $cross_compiling:$ac_tool_warned in
   3451 yes:)
   3452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3453 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3454 ac_tool_warned=yes ;;
   3455 esac
   3456     CC=$ac_ct_CC
   3457   fi
   3458 fi
   3459 
   3460 fi
   3461 
   3462 
   3463 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3464 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3465 as_fn_error $? "no acceptable C compiler found in \$PATH
   3466 See \`config.log' for more details" "$LINENO" 5; }
   3467 
   3468 # Provide some information about the compiler.
   3469 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3470 set X $ac_compile
   3471 ac_compiler=$2
   3472 for ac_option in --version -v -V -qversion; do
   3473   { { ac_try="$ac_compiler $ac_option >&5"
   3474 case "(($ac_try" in
   3475   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3476   *) ac_try_echo=$ac_try;;
   3477 esac
   3478 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3479 $as_echo "$ac_try_echo"; } >&5
   3480   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3481   ac_status=$?
   3482   if test -s conftest.err; then
   3483     sed '10a\
   3484 ... rest of stderr output deleted ...
   3485          10q' conftest.err >conftest.er1
   3486     cat conftest.er1 >&5
   3487   fi
   3488   rm -f conftest.er1 conftest.err
   3489   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3490   test $ac_status = 0; }
   3491 done
   3492 
   3493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3494 /* end confdefs.h.  */
   3495 
   3496 int
   3497 main ()
   3498 {
   3499 
   3500   ;
   3501   return 0;
   3502 }
   3503 _ACEOF
   3504 ac_clean_files_save=$ac_clean_files
   3505 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3506 # Try to create an executable without -o first, disregard a.out.
   3507 # It will help us diagnose broken compilers, and finding out an intuition
   3508 # of exeext.
   3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3510 $as_echo_n "checking whether the C compiler works... " >&6; }
   3511 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3512 
   3513 # The possible output files:
   3514 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3515 
   3516 ac_rmfiles=
   3517 for ac_file in $ac_files
   3518 do
   3519   case $ac_file in
   3520     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3521     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3522   esac
   3523 done
   3524 rm -f $ac_rmfiles
   3525 
   3526 if { { ac_try="$ac_link_default"
   3527 case "(($ac_try" in
   3528   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3529   *) ac_try_echo=$ac_try;;
   3530 esac
   3531 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3532 $as_echo "$ac_try_echo"; } >&5
   3533   (eval "$ac_link_default") 2>&5
   3534   ac_status=$?
   3535   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3536   test $ac_status = 0; }; then :
   3537   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3538 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3539 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3540 # so that the user can short-circuit this test for compilers unknown to
   3541 # Autoconf.
   3542 for ac_file in $ac_files ''
   3543 do
   3544   test -f "$ac_file" || continue
   3545   case $ac_file in
   3546     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3547 	;;
   3548     [ab].out )
   3549 	# We found the default executable, but exeext='' is most
   3550 	# certainly right.
   3551 	break;;
   3552     *.* )
   3553 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3554 	then :; else
   3555 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3556 	fi
   3557 	# We set ac_cv_exeext here because the later test for it is not
   3558 	# safe: cross compilers may not add the suffix if given an `-o'
   3559 	# argument, so we may need to know it at that point already.
   3560 	# Even if this section looks crufty: it has the advantage of
   3561 	# actually working.
   3562 	break;;
   3563     * )
   3564 	break;;
   3565   esac
   3566 done
   3567 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3568 
   3569 else
   3570   ac_file=''
   3571 fi
   3572 if test -z "$ac_file"; then :
   3573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3574 $as_echo "no" >&6; }
   3575 $as_echo "$as_me: failed program was:" >&5
   3576 sed 's/^/| /' conftest.$ac_ext >&5
   3577 
   3578 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3580 as_fn_error 77 "C compiler cannot create executables
   3581 See \`config.log' for more details" "$LINENO" 5; }
   3582 else
   3583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3584 $as_echo "yes" >&6; }
   3585 fi
   3586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3587 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3589 $as_echo "$ac_file" >&6; }
   3590 ac_exeext=$ac_cv_exeext
   3591 
   3592 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3593 ac_clean_files=$ac_clean_files_save
   3594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3595 $as_echo_n "checking for suffix of executables... " >&6; }
   3596 if { { ac_try="$ac_link"
   3597 case "(($ac_try" in
   3598   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3599   *) ac_try_echo=$ac_try;;
   3600 esac
   3601 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3602 $as_echo "$ac_try_echo"; } >&5
   3603   (eval "$ac_link") 2>&5
   3604   ac_status=$?
   3605   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3606   test $ac_status = 0; }; then :
   3607   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3608 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3609 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3610 # `rm'.
   3611 for ac_file in conftest.exe conftest conftest.*; do
   3612   test -f "$ac_file" || continue
   3613   case $ac_file in
   3614     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3615     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3616 	  break;;
   3617     * ) break;;
   3618   esac
   3619 done
   3620 else
   3621   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3622 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3623 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3624 See \`config.log' for more details" "$LINENO" 5; }
   3625 fi
   3626 rm -f conftest conftest$ac_cv_exeext
   3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3628 $as_echo "$ac_cv_exeext" >&6; }
   3629 
   3630 rm -f conftest.$ac_ext
   3631 EXEEXT=$ac_cv_exeext
   3632 ac_exeext=$EXEEXT
   3633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3634 /* end confdefs.h.  */
   3635 #include <stdio.h>
   3636 int
   3637 main ()
   3638 {
   3639 FILE *f = fopen ("conftest.out", "w");
   3640  return ferror (f) || fclose (f) != 0;
   3641 
   3642   ;
   3643   return 0;
   3644 }
   3645 _ACEOF
   3646 ac_clean_files="$ac_clean_files conftest.out"
   3647 # Check that the compiler produces executables we can run.  If not, either
   3648 # the compiler is broken, or we cross compile.
   3649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3650 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3651 if test "$cross_compiling" != yes; then
   3652   { { ac_try="$ac_link"
   3653 case "(($ac_try" in
   3654   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3655   *) ac_try_echo=$ac_try;;
   3656 esac
   3657 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3658 $as_echo "$ac_try_echo"; } >&5
   3659   (eval "$ac_link") 2>&5
   3660   ac_status=$?
   3661   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3662   test $ac_status = 0; }
   3663   if { ac_try='./conftest$ac_cv_exeext'
   3664   { { case "(($ac_try" in
   3665   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3666   *) ac_try_echo=$ac_try;;
   3667 esac
   3668 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3669 $as_echo "$ac_try_echo"; } >&5
   3670   (eval "$ac_try") 2>&5
   3671   ac_status=$?
   3672   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3673   test $ac_status = 0; }; }; then
   3674     cross_compiling=no
   3675   else
   3676     if test "$cross_compiling" = maybe; then
   3677 	cross_compiling=yes
   3678     else
   3679 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3680 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3681 as_fn_error $? "cannot run C compiled programs.
   3682 If you meant to cross compile, use \`--host'.
   3683 See \`config.log' for more details" "$LINENO" 5; }
   3684     fi
   3685   fi
   3686 fi
   3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3688 $as_echo "$cross_compiling" >&6; }
   3689 
   3690 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3691 ac_clean_files=$ac_clean_files_save
   3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3693 $as_echo_n "checking for suffix of object files... " >&6; }
   3694 if ${ac_cv_objext+:} false; then :
   3695   $as_echo_n "(cached) " >&6
   3696 else
   3697   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3698 /* end confdefs.h.  */
   3699 
   3700 int
   3701 main ()
   3702 {
   3703 
   3704   ;
   3705   return 0;
   3706 }
   3707 _ACEOF
   3708 rm -f conftest.o conftest.obj
   3709 if { { ac_try="$ac_compile"
   3710 case "(($ac_try" in
   3711   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3712   *) ac_try_echo=$ac_try;;
   3713 esac
   3714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3715 $as_echo "$ac_try_echo"; } >&5
   3716   (eval "$ac_compile") 2>&5
   3717   ac_status=$?
   3718   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3719   test $ac_status = 0; }; then :
   3720   for ac_file in conftest.o conftest.obj conftest.*; do
   3721   test -f "$ac_file" || continue;
   3722   case $ac_file in
   3723     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3724     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3725        break;;
   3726   esac
   3727 done
   3728 else
   3729   $as_echo "$as_me: failed program was:" >&5
   3730 sed 's/^/| /' conftest.$ac_ext >&5
   3731 
   3732 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3733 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3734 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3735 See \`config.log' for more details" "$LINENO" 5; }
   3736 fi
   3737 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3738 fi
   3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3740 $as_echo "$ac_cv_objext" >&6; }
   3741 OBJEXT=$ac_cv_objext
   3742 ac_objext=$OBJEXT
   3743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3744 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3745 if ${ac_cv_c_compiler_gnu+:} false; then :
   3746   $as_echo_n "(cached) " >&6
   3747 else
   3748   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3749 /* end confdefs.h.  */
   3750 
   3751 int
   3752 main ()
   3753 {
   3754 #ifndef __GNUC__
   3755        choke me
   3756 #endif
   3757 
   3758   ;
   3759   return 0;
   3760 }
   3761 _ACEOF
   3762 if ac_fn_c_try_compile "$LINENO"; then :
   3763   ac_compiler_gnu=yes
   3764 else
   3765   ac_compiler_gnu=no
   3766 fi
   3767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3768 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3769 
   3770 fi
   3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3772 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3773 if test $ac_compiler_gnu = yes; then
   3774   GCC=yes
   3775 else
   3776   GCC=
   3777 fi
   3778 ac_test_CFLAGS=${CFLAGS+set}
   3779 ac_save_CFLAGS=$CFLAGS
   3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3781 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3782 if ${ac_cv_prog_cc_g+:} false; then :
   3783   $as_echo_n "(cached) " >&6
   3784 else
   3785   ac_save_c_werror_flag=$ac_c_werror_flag
   3786    ac_c_werror_flag=yes
   3787    ac_cv_prog_cc_g=no
   3788    CFLAGS="-g"
   3789    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3790 /* end confdefs.h.  */
   3791 
   3792 int
   3793 main ()
   3794 {
   3795 
   3796   ;
   3797   return 0;
   3798 }
   3799 _ACEOF
   3800 if ac_fn_c_try_compile "$LINENO"; then :
   3801   ac_cv_prog_cc_g=yes
   3802 else
   3803   CFLAGS=""
   3804       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3805 /* end confdefs.h.  */
   3806 
   3807 int
   3808 main ()
   3809 {
   3810 
   3811   ;
   3812   return 0;
   3813 }
   3814 _ACEOF
   3815 if ac_fn_c_try_compile "$LINENO"; then :
   3816 
   3817 else
   3818   ac_c_werror_flag=$ac_save_c_werror_flag
   3819 	 CFLAGS="-g"
   3820 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3821 /* end confdefs.h.  */
   3822 
   3823 int
   3824 main ()
   3825 {
   3826 
   3827   ;
   3828   return 0;
   3829 }
   3830 _ACEOF
   3831 if ac_fn_c_try_compile "$LINENO"; then :
   3832   ac_cv_prog_cc_g=yes
   3833 fi
   3834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3835 fi
   3836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3837 fi
   3838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3839    ac_c_werror_flag=$ac_save_c_werror_flag
   3840 fi
   3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3842 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3843 if test "$ac_test_CFLAGS" = set; then
   3844   CFLAGS=$ac_save_CFLAGS
   3845 elif test $ac_cv_prog_cc_g = yes; then
   3846   if test "$GCC" = yes; then
   3847     CFLAGS="-g -O2"
   3848   else
   3849     CFLAGS="-g"
   3850   fi
   3851 else
   3852   if test "$GCC" = yes; then
   3853     CFLAGS="-O2"
   3854   else
   3855     CFLAGS=
   3856   fi
   3857 fi
   3858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3859 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3860 if ${ac_cv_prog_cc_c89+:} false; then :
   3861   $as_echo_n "(cached) " >&6
   3862 else
   3863   ac_cv_prog_cc_c89=no
   3864 ac_save_CC=$CC
   3865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3866 /* end confdefs.h.  */
   3867 #include <stdarg.h>
   3868 #include <stdio.h>
   3869 struct stat;
   3870 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3871 struct buf { int x; };
   3872 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3873 static char *e (p, i)
   3874      char **p;
   3875      int i;
   3876 {
   3877   return p[i];
   3878 }
   3879 static char *f (char * (*g) (char **, int), char **p, ...)
   3880 {
   3881   char *s;
   3882   va_list v;
   3883   va_start (v,p);
   3884   s = g (p, va_arg (v,int));
   3885   va_end (v);
   3886   return s;
   3887 }
   3888 
   3889 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3890    function prototypes and stuff, but not '\xHH' hex character constants.
   3891    These don't provoke an error unfortunately, instead are silently treated
   3892    as 'x'.  The following induces an error, until -std is added to get
   3893    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3894    array size at least.  It's necessary to write '\x00'==0 to get something
   3895    that's true only with -std.  */
   3896 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3897 
   3898 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3899    inside strings and character constants.  */
   3900 #define FOO(x) 'x'
   3901 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3902 
   3903 int test (int i, double x);
   3904 struct s1 {int (*f) (int a);};
   3905 struct s2 {int (*f) (double a);};
   3906 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3907 int argc;
   3908 char **argv;
   3909 int
   3910 main ()
   3911 {
   3912 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3913   ;
   3914   return 0;
   3915 }
   3916 _ACEOF
   3917 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3918 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3919 do
   3920   CC="$ac_save_CC $ac_arg"
   3921   if ac_fn_c_try_compile "$LINENO"; then :
   3922   ac_cv_prog_cc_c89=$ac_arg
   3923 fi
   3924 rm -f core conftest.err conftest.$ac_objext
   3925   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3926 done
   3927 rm -f conftest.$ac_ext
   3928 CC=$ac_save_CC
   3929 
   3930 fi
   3931 # AC_CACHE_VAL
   3932 case "x$ac_cv_prog_cc_c89" in
   3933   x)
   3934     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3935 $as_echo "none needed" >&6; } ;;
   3936   xno)
   3937     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3938 $as_echo "unsupported" >&6; } ;;
   3939   *)
   3940     CC="$CC $ac_cv_prog_cc_c89"
   3941     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3942 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3943 esac
   3944 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3945 
   3946 fi
   3947 
   3948 ac_ext=c
   3949 ac_cpp='$CPP $CPPFLAGS'
   3950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3953 
   3954 ac_ext=c
   3955 ac_cpp='$CPP $CPPFLAGS'
   3956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3960 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3961 if ${am_cv_prog_cc_c_o+:} false; then :
   3962   $as_echo_n "(cached) " >&6
   3963 else
   3964   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3965 /* end confdefs.h.  */
   3966 
   3967 int
   3968 main ()
   3969 {
   3970 
   3971   ;
   3972   return 0;
   3973 }
   3974 _ACEOF
   3975   # Make sure it works both with $CC and with simple cc.
   3976   # Following AC_PROG_CC_C_O, we do the test twice because some
   3977   # compilers refuse to overwrite an existing .o file with -o,
   3978   # though they will create one.
   3979   am_cv_prog_cc_c_o=yes
   3980   for am_i in 1 2; do
   3981     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3982    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3983    ac_status=$?
   3984    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3985    (exit $ac_status); } \
   3986          && test -f conftest2.$ac_objext; then
   3987       : OK
   3988     else
   3989       am_cv_prog_cc_c_o=no
   3990       break
   3991     fi
   3992   done
   3993   rm -f core conftest*
   3994   unset am_i
   3995 fi
   3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3997 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3998 if test "$am_cv_prog_cc_c_o" != yes; then
   3999    # Losing compiler, so override with the script.
   4000    # FIXME: It is wrong to rewrite CC.
   4001    # But if we don't then we get into trouble of one sort or another.
   4002    # A longer-term fix would be to have automake use am__CC in this case,
   4003    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4004    CC="$am_aux_dir/compile $CC"
   4005 fi
   4006 ac_ext=c
   4007 ac_cpp='$CPP $CPPFLAGS'
   4008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4011 
   4012 
   4013 depcc="$CC"   am_compiler_list=
   4014 
   4015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4016 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4017 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4018   $as_echo_n "(cached) " >&6
   4019 else
   4020   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4021   # We make a subdir and do the tests there.  Otherwise we can end up
   4022   # making bogus files that we don't know about and never remove.  For
   4023   # instance it was reported that on HP-UX the gcc test will end up
   4024   # making a dummy file named 'D' -- because '-MD' means "put the output
   4025   # in D".
   4026   rm -rf conftest.dir
   4027   mkdir conftest.dir
   4028   # Copy depcomp to subdir because otherwise we won't find it if we're
   4029   # using a relative directory.
   4030   cp "$am_depcomp" conftest.dir
   4031   cd conftest.dir
   4032   # We will build objects and dependencies in a subdirectory because
   4033   # it helps to detect inapplicable dependency modes.  For instance
   4034   # both Tru64's cc and ICC support -MD to output dependencies as a
   4035   # side effect of compilation, but ICC will put the dependencies in
   4036   # the current directory while Tru64 will put them in the object
   4037   # directory.
   4038   mkdir sub
   4039 
   4040   am_cv_CC_dependencies_compiler_type=none
   4041   if test "$am_compiler_list" = ""; then
   4042      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4043   fi
   4044   am__universal=false
   4045   case " $depcc " in #(
   4046      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4047      esac
   4048 
   4049   for depmode in $am_compiler_list; do
   4050     # Setup a source with many dependencies, because some compilers
   4051     # like to wrap large dependency lists on column 80 (with \), and
   4052     # we should not choose a depcomp mode which is confused by this.
   4053     #
   4054     # We need to recreate these files for each test, as the compiler may
   4055     # overwrite some of them when testing with obscure command lines.
   4056     # This happens at least with the AIX C compiler.
   4057     : > sub/conftest.c
   4058     for i in 1 2 3 4 5 6; do
   4059       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4060       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4061       # Solaris 10 /bin/sh.
   4062       echo '/* dummy */' > sub/conftst$i.h
   4063     done
   4064     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4065 
   4066     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4067     # mode.  It turns out that the SunPro C++ compiler does not properly
   4068     # handle '-M -o', and we need to detect this.  Also, some Intel
   4069     # versions had trouble with output in subdirs.
   4070     am__obj=sub/conftest.${OBJEXT-o}
   4071     am__minus_obj="-o $am__obj"
   4072     case $depmode in
   4073     gcc)
   4074       # This depmode causes a compiler race in universal mode.
   4075       test "$am__universal" = false || continue
   4076       ;;
   4077     nosideeffect)
   4078       # After this tag, mechanisms are not by side-effect, so they'll
   4079       # only be used when explicitly requested.
   4080       if test "x$enable_dependency_tracking" = xyes; then
   4081 	continue
   4082       else
   4083 	break
   4084       fi
   4085       ;;
   4086     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4087       # This compiler won't grok '-c -o', but also, the minuso test has
   4088       # not run yet.  These depmodes are late enough in the game, and
   4089       # so weak that their functioning should not be impacted.
   4090       am__obj=conftest.${OBJEXT-o}
   4091       am__minus_obj=
   4092       ;;
   4093     none) break ;;
   4094     esac
   4095     if depmode=$depmode \
   4096        source=sub/conftest.c object=$am__obj \
   4097        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4098        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4099          >/dev/null 2>conftest.err &&
   4100        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4101        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4102        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4103        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4104       # icc doesn't choke on unknown options, it will just issue warnings
   4105       # or remarks (even with -Werror).  So we grep stderr for any message
   4106       # that says an option was ignored or not supported.
   4107       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4108       #   icc: Command line warning: ignoring option '-M'; no argument required
   4109       # The diagnosis changed in icc 8.0:
   4110       #   icc: Command line remark: option '-MP' not supported
   4111       if (grep 'ignoring option' conftest.err ||
   4112           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4113         am_cv_CC_dependencies_compiler_type=$depmode
   4114         break
   4115       fi
   4116     fi
   4117   done
   4118 
   4119   cd ..
   4120   rm -rf conftest.dir
   4121 else
   4122   am_cv_CC_dependencies_compiler_type=none
   4123 fi
   4124 
   4125 fi
   4126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4127 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4128 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4129 
   4130  if
   4131   test "x$enable_dependency_tracking" != xno \
   4132   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4133   am__fastdepCC_TRUE=
   4134   am__fastdepCC_FALSE='#'
   4135 else
   4136   am__fastdepCC_TRUE='#'
   4137   am__fastdepCC_FALSE=
   4138 fi
   4139 
   4140 
   4141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4142 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4143 if ${ac_cv_path_SED+:} false; then :
   4144   $as_echo_n "(cached) " >&6
   4145 else
   4146             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4147      for ac_i in 1 2 3 4 5 6 7; do
   4148        ac_script="$ac_script$as_nl$ac_script"
   4149      done
   4150      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4151      { ac_script=; unset ac_script;}
   4152      if test -z "$SED"; then
   4153   ac_path_SED_found=false
   4154   # Loop through the user's path and test for each of PROGNAME-LIST
   4155   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4156 for as_dir in $PATH
   4157 do
   4158   IFS=$as_save_IFS
   4159   test -z "$as_dir" && as_dir=.
   4160     for ac_prog in sed gsed; do
   4161     for ac_exec_ext in '' $ac_executable_extensions; do
   4162       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4163       as_fn_executable_p "$ac_path_SED" || continue
   4164 # Check for GNU ac_path_SED and select it if it is found.
   4165   # Check for GNU $ac_path_SED
   4166 case `"$ac_path_SED" --version 2>&1` in
   4167 *GNU*)
   4168   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4169 *)
   4170   ac_count=0
   4171   $as_echo_n 0123456789 >"conftest.in"
   4172   while :
   4173   do
   4174     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4175     mv "conftest.tmp" "conftest.in"
   4176     cp "conftest.in" "conftest.nl"
   4177     $as_echo '' >> "conftest.nl"
   4178     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4179     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4180     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4181     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4182       # Best one so far, save it but keep looking for a better one
   4183       ac_cv_path_SED="$ac_path_SED"
   4184       ac_path_SED_max=$ac_count
   4185     fi
   4186     # 10*(2^10) chars as input seems more than enough
   4187     test $ac_count -gt 10 && break
   4188   done
   4189   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4190 esac
   4191 
   4192       $ac_path_SED_found && break 3
   4193     done
   4194   done
   4195   done
   4196 IFS=$as_save_IFS
   4197   if test -z "$ac_cv_path_SED"; then
   4198     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4199   fi
   4200 else
   4201   ac_cv_path_SED=$SED
   4202 fi
   4203 
   4204 fi
   4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4206 $as_echo "$ac_cv_path_SED" >&6; }
   4207  SED="$ac_cv_path_SED"
   4208   rm -f conftest.sed
   4209 
   4210 test -z "$SED" && SED=sed
   4211 Xsed="$SED -e 1s/^X//"
   4212 
   4213 
   4214 
   4215 
   4216 
   4217 
   4218 
   4219 
   4220 
   4221 
   4222 
   4223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4224 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4225 if ${ac_cv_path_GREP+:} false; then :
   4226   $as_echo_n "(cached) " >&6
   4227 else
   4228   if test -z "$GREP"; then
   4229   ac_path_GREP_found=false
   4230   # Loop through the user's path and test for each of PROGNAME-LIST
   4231   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4232 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4233 do
   4234   IFS=$as_save_IFS
   4235   test -z "$as_dir" && as_dir=.
   4236     for ac_prog in grep ggrep; do
   4237     for ac_exec_ext in '' $ac_executable_extensions; do
   4238       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4239       as_fn_executable_p "$ac_path_GREP" || continue
   4240 # Check for GNU ac_path_GREP and select it if it is found.
   4241   # Check for GNU $ac_path_GREP
   4242 case `"$ac_path_GREP" --version 2>&1` in
   4243 *GNU*)
   4244   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4245 *)
   4246   ac_count=0
   4247   $as_echo_n 0123456789 >"conftest.in"
   4248   while :
   4249   do
   4250     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4251     mv "conftest.tmp" "conftest.in"
   4252     cp "conftest.in" "conftest.nl"
   4253     $as_echo 'GREP' >> "conftest.nl"
   4254     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4255     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4256     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4257     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4258       # Best one so far, save it but keep looking for a better one
   4259       ac_cv_path_GREP="$ac_path_GREP"
   4260       ac_path_GREP_max=$ac_count
   4261     fi
   4262     # 10*(2^10) chars as input seems more than enough
   4263     test $ac_count -gt 10 && break
   4264   done
   4265   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4266 esac
   4267 
   4268       $ac_path_GREP_found && break 3
   4269     done
   4270   done
   4271   done
   4272 IFS=$as_save_IFS
   4273   if test -z "$ac_cv_path_GREP"; then
   4274     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4275   fi
   4276 else
   4277   ac_cv_path_GREP=$GREP
   4278 fi
   4279 
   4280 fi
   4281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4282 $as_echo "$ac_cv_path_GREP" >&6; }
   4283  GREP="$ac_cv_path_GREP"
   4284 
   4285 
   4286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4287 $as_echo_n "checking for egrep... " >&6; }
   4288 if ${ac_cv_path_EGREP+:} false; then :
   4289   $as_echo_n "(cached) " >&6
   4290 else
   4291   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4292    then ac_cv_path_EGREP="$GREP -E"
   4293    else
   4294      if test -z "$EGREP"; then
   4295   ac_path_EGREP_found=false
   4296   # Loop through the user's path and test for each of PROGNAME-LIST
   4297   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4298 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4299 do
   4300   IFS=$as_save_IFS
   4301   test -z "$as_dir" && as_dir=.
   4302     for ac_prog in egrep; do
   4303     for ac_exec_ext in '' $ac_executable_extensions; do
   4304       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4305       as_fn_executable_p "$ac_path_EGREP" || continue
   4306 # Check for GNU ac_path_EGREP and select it if it is found.
   4307   # Check for GNU $ac_path_EGREP
   4308 case `"$ac_path_EGREP" --version 2>&1` in
   4309 *GNU*)
   4310   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4311 *)
   4312   ac_count=0
   4313   $as_echo_n 0123456789 >"conftest.in"
   4314   while :
   4315   do
   4316     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4317     mv "conftest.tmp" "conftest.in"
   4318     cp "conftest.in" "conftest.nl"
   4319     $as_echo 'EGREP' >> "conftest.nl"
   4320     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4321     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4322     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4323     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4324       # Best one so far, save it but keep looking for a better one
   4325       ac_cv_path_EGREP="$ac_path_EGREP"
   4326       ac_path_EGREP_max=$ac_count
   4327     fi
   4328     # 10*(2^10) chars as input seems more than enough
   4329     test $ac_count -gt 10 && break
   4330   done
   4331   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4332 esac
   4333 
   4334       $ac_path_EGREP_found && break 3
   4335     done
   4336   done
   4337   done
   4338 IFS=$as_save_IFS
   4339   if test -z "$ac_cv_path_EGREP"; then
   4340     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4341   fi
   4342 else
   4343   ac_cv_path_EGREP=$EGREP
   4344 fi
   4345 
   4346    fi
   4347 fi
   4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4349 $as_echo "$ac_cv_path_EGREP" >&6; }
   4350  EGREP="$ac_cv_path_EGREP"
   4351 
   4352 
   4353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4354 $as_echo_n "checking for fgrep... " >&6; }
   4355 if ${ac_cv_path_FGREP+:} false; then :
   4356   $as_echo_n "(cached) " >&6
   4357 else
   4358   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4359    then ac_cv_path_FGREP="$GREP -F"
   4360    else
   4361      if test -z "$FGREP"; then
   4362   ac_path_FGREP_found=false
   4363   # Loop through the user's path and test for each of PROGNAME-LIST
   4364   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4365 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4366 do
   4367   IFS=$as_save_IFS
   4368   test -z "$as_dir" && as_dir=.
   4369     for ac_prog in fgrep; do
   4370     for ac_exec_ext in '' $ac_executable_extensions; do
   4371       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4372       as_fn_executable_p "$ac_path_FGREP" || continue
   4373 # Check for GNU ac_path_FGREP and select it if it is found.
   4374   # Check for GNU $ac_path_FGREP
   4375 case `"$ac_path_FGREP" --version 2>&1` in
   4376 *GNU*)
   4377   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4378 *)
   4379   ac_count=0
   4380   $as_echo_n 0123456789 >"conftest.in"
   4381   while :
   4382   do
   4383     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4384     mv "conftest.tmp" "conftest.in"
   4385     cp "conftest.in" "conftest.nl"
   4386     $as_echo 'FGREP' >> "conftest.nl"
   4387     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4388     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4389     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4390     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4391       # Best one so far, save it but keep looking for a better one
   4392       ac_cv_path_FGREP="$ac_path_FGREP"
   4393       ac_path_FGREP_max=$ac_count
   4394     fi
   4395     # 10*(2^10) chars as input seems more than enough
   4396     test $ac_count -gt 10 && break
   4397   done
   4398   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4399 esac
   4400 
   4401       $ac_path_FGREP_found && break 3
   4402     done
   4403   done
   4404   done
   4405 IFS=$as_save_IFS
   4406   if test -z "$ac_cv_path_FGREP"; then
   4407     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4408   fi
   4409 else
   4410   ac_cv_path_FGREP=$FGREP
   4411 fi
   4412 
   4413    fi
   4414 fi
   4415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4416 $as_echo "$ac_cv_path_FGREP" >&6; }
   4417  FGREP="$ac_cv_path_FGREP"
   4418 
   4419 
   4420 test -z "$GREP" && GREP=grep
   4421 
   4422 
   4423 
   4424 
   4425 
   4426 
   4427 
   4428 
   4429 
   4430 
   4431 
   4432 
   4433 
   4434 
   4435 
   4436 
   4437 
   4438 
   4439 
   4440 # Check whether --with-gnu-ld was given.
   4441 if test "${with_gnu_ld+set}" = set; then :
   4442   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4443 else
   4444   with_gnu_ld=no
   4445 fi
   4446 
   4447 ac_prog=ld
   4448 if test "$GCC" = yes; then
   4449   # Check if gcc -print-prog-name=ld gives a path.
   4450   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4451 $as_echo_n "checking for ld used by $CC... " >&6; }
   4452   case $host in
   4453   *-*-mingw*)
   4454     # gcc leaves a trailing carriage return which upsets mingw
   4455     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4456   *)
   4457     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4458   esac
   4459   case $ac_prog in
   4460     # Accept absolute paths.
   4461     [\\/]* | ?:[\\/]*)
   4462       re_direlt='/[^/][^/]*/\.\./'
   4463       # Canonicalize the pathname of ld
   4464       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4465       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4466 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4467       done
   4468       test -z "$LD" && LD="$ac_prog"
   4469       ;;
   4470   "")
   4471     # If it fails, then pretend we aren't using GCC.
   4472     ac_prog=ld
   4473     ;;
   4474   *)
   4475     # If it is relative, then search for the first ld in PATH.
   4476     with_gnu_ld=unknown
   4477     ;;
   4478   esac
   4479 elif test "$with_gnu_ld" = yes; then
   4480   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4481 $as_echo_n "checking for GNU ld... " >&6; }
   4482 else
   4483   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4484 $as_echo_n "checking for non-GNU ld... " >&6; }
   4485 fi
   4486 if ${lt_cv_path_LD+:} false; then :
   4487   $as_echo_n "(cached) " >&6
   4488 else
   4489   if test -z "$LD"; then
   4490   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4491   for ac_dir in $PATH; do
   4492     IFS="$lt_save_ifs"
   4493     test -z "$ac_dir" && ac_dir=.
   4494     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4495       lt_cv_path_LD="$ac_dir/$ac_prog"
   4496       # Check to see if the program is GNU ld.  I'd rather use --version,
   4497       # but apparently some variants of GNU ld only accept -v.
   4498       # Break only if it was the GNU/non-GNU ld that we prefer.
   4499       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4500       *GNU* | *'with BFD'*)
   4501 	test "$with_gnu_ld" != no && break
   4502 	;;
   4503       *)
   4504 	test "$with_gnu_ld" != yes && break
   4505 	;;
   4506       esac
   4507     fi
   4508   done
   4509   IFS="$lt_save_ifs"
   4510 else
   4511   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4512 fi
   4513 fi
   4514 
   4515 LD="$lt_cv_path_LD"
   4516 if test -n "$LD"; then
   4517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4518 $as_echo "$LD" >&6; }
   4519 else
   4520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4521 $as_echo "no" >&6; }
   4522 fi
   4523 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4525 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4526 if ${lt_cv_prog_gnu_ld+:} false; then :
   4527   $as_echo_n "(cached) " >&6
   4528 else
   4529   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4530 case `$LD -v 2>&1 </dev/null` in
   4531 *GNU* | *'with BFD'*)
   4532   lt_cv_prog_gnu_ld=yes
   4533   ;;
   4534 *)
   4535   lt_cv_prog_gnu_ld=no
   4536   ;;
   4537 esac
   4538 fi
   4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4540 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4541 with_gnu_ld=$lt_cv_prog_gnu_ld
   4542 
   4543 
   4544 
   4545 
   4546 
   4547 
   4548 
   4549 
   4550 
   4551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4552 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4553 if ${lt_cv_path_NM+:} false; then :
   4554   $as_echo_n "(cached) " >&6
   4555 else
   4556   if test -n "$NM"; then
   4557   # Let the user override the test.
   4558   lt_cv_path_NM="$NM"
   4559 else
   4560   lt_nm_to_check="${ac_tool_prefix}nm"
   4561   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4562     lt_nm_to_check="$lt_nm_to_check nm"
   4563   fi
   4564   for lt_tmp_nm in $lt_nm_to_check; do
   4565     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4566     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4567       IFS="$lt_save_ifs"
   4568       test -z "$ac_dir" && ac_dir=.
   4569       tmp_nm="$ac_dir/$lt_tmp_nm"
   4570       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4571 	# Check to see if the nm accepts a BSD-compat flag.
   4572 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4573 	#   nm: unknown option "B" ignored
   4574 	# Tru64's nm complains that /dev/null is an invalid object file
   4575 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4576 	*/dev/null* | *'Invalid file or object type'*)
   4577 	  lt_cv_path_NM="$tmp_nm -B"
   4578 	  break
   4579 	  ;;
   4580 	*)
   4581 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4582 	  */dev/null*)
   4583 	    lt_cv_path_NM="$tmp_nm -p"
   4584 	    break
   4585 	    ;;
   4586 	  *)
   4587 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4588 	    continue # so that we can try to find one that supports BSD flags
   4589 	    ;;
   4590 	  esac
   4591 	  ;;
   4592 	esac
   4593       fi
   4594     done
   4595     IFS="$lt_save_ifs"
   4596   done
   4597   : ${lt_cv_path_NM=no}
   4598 fi
   4599 fi
   4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4601 $as_echo "$lt_cv_path_NM" >&6; }
   4602 if test "$lt_cv_path_NM" != "no"; then
   4603   NM="$lt_cv_path_NM"
   4604 else
   4605   # Didn't find any BSD compatible name lister, look for dumpbin.
   4606   if test -n "$DUMPBIN"; then :
   4607     # Let the user override the test.
   4608   else
   4609     if test -n "$ac_tool_prefix"; then
   4610   for ac_prog in dumpbin "link -dump"
   4611   do
   4612     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4613 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4615 $as_echo_n "checking for $ac_word... " >&6; }
   4616 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4617   $as_echo_n "(cached) " >&6
   4618 else
   4619   if test -n "$DUMPBIN"; then
   4620   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4621 else
   4622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4623 for as_dir in $PATH
   4624 do
   4625   IFS=$as_save_IFS
   4626   test -z "$as_dir" && as_dir=.
   4627     for ac_exec_ext in '' $ac_executable_extensions; do
   4628   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4629     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4630     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4631     break 2
   4632   fi
   4633 done
   4634   done
   4635 IFS=$as_save_IFS
   4636 
   4637 fi
   4638 fi
   4639 DUMPBIN=$ac_cv_prog_DUMPBIN
   4640 if test -n "$DUMPBIN"; then
   4641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4642 $as_echo "$DUMPBIN" >&6; }
   4643 else
   4644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4645 $as_echo "no" >&6; }
   4646 fi
   4647 
   4648 
   4649     test -n "$DUMPBIN" && break
   4650   done
   4651 fi
   4652 if test -z "$DUMPBIN"; then
   4653   ac_ct_DUMPBIN=$DUMPBIN
   4654   for ac_prog in dumpbin "link -dump"
   4655 do
   4656   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4657 set dummy $ac_prog; ac_word=$2
   4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4659 $as_echo_n "checking for $ac_word... " >&6; }
   4660 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4661   $as_echo_n "(cached) " >&6
   4662 else
   4663   if test -n "$ac_ct_DUMPBIN"; then
   4664   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4665 else
   4666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4667 for as_dir in $PATH
   4668 do
   4669   IFS=$as_save_IFS
   4670   test -z "$as_dir" && as_dir=.
   4671     for ac_exec_ext in '' $ac_executable_extensions; do
   4672   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4673     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4674     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4675     break 2
   4676   fi
   4677 done
   4678   done
   4679 IFS=$as_save_IFS
   4680 
   4681 fi
   4682 fi
   4683 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4684 if test -n "$ac_ct_DUMPBIN"; then
   4685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4686 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4687 else
   4688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4689 $as_echo "no" >&6; }
   4690 fi
   4691 
   4692 
   4693   test -n "$ac_ct_DUMPBIN" && break
   4694 done
   4695 
   4696   if test "x$ac_ct_DUMPBIN" = x; then
   4697     DUMPBIN=":"
   4698   else
   4699     case $cross_compiling:$ac_tool_warned in
   4700 yes:)
   4701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4702 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4703 ac_tool_warned=yes ;;
   4704 esac
   4705     DUMPBIN=$ac_ct_DUMPBIN
   4706   fi
   4707 fi
   4708 
   4709     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   4710     *COFF*)
   4711       DUMPBIN="$DUMPBIN -symbols"
   4712       ;;
   4713     *)
   4714       DUMPBIN=:
   4715       ;;
   4716     esac
   4717   fi
   4718 
   4719   if test "$DUMPBIN" != ":"; then
   4720     NM="$DUMPBIN"
   4721   fi
   4722 fi
   4723 test -z "$NM" && NM=nm
   4724 
   4725 
   4726 
   4727 
   4728 
   4729 
   4730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4731 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4732 if ${lt_cv_nm_interface+:} false; then :
   4733   $as_echo_n "(cached) " >&6
   4734 else
   4735   lt_cv_nm_interface="BSD nm"
   4736   echo "int some_variable = 0;" > conftest.$ac_ext
   4737   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4738   (eval "$ac_compile" 2>conftest.err)
   4739   cat conftest.err >&5
   4740   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4741   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4742   cat conftest.err >&5
   4743   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4744   cat conftest.out >&5
   4745   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4746     lt_cv_nm_interface="MS dumpbin"
   4747   fi
   4748   rm -f conftest*
   4749 fi
   4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4751 $as_echo "$lt_cv_nm_interface" >&6; }
   4752 
   4753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4754 $as_echo_n "checking whether ln -s works... " >&6; }
   4755 LN_S=$as_ln_s
   4756 if test "$LN_S" = "ln -s"; then
   4757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4758 $as_echo "yes" >&6; }
   4759 else
   4760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4761 $as_echo "no, using $LN_S" >&6; }
   4762 fi
   4763 
   4764 # find the maximum length of command line arguments
   4765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4766 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4767 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4768   $as_echo_n "(cached) " >&6
   4769 else
   4770     i=0
   4771   teststring="ABCD"
   4772 
   4773   case $build_os in
   4774   msdosdjgpp*)
   4775     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4776     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4777     # during glob expansion).  Even if it were fixed, the result of this
   4778     # check would be larger than it should be.
   4779     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4780     ;;
   4781 
   4782   gnu*)
   4783     # Under GNU Hurd, this test is not required because there is
   4784     # no limit to the length of command line arguments.
   4785     # Libtool will interpret -1 as no limit whatsoever
   4786     lt_cv_sys_max_cmd_len=-1;
   4787     ;;
   4788 
   4789   cygwin* | mingw* | cegcc*)
   4790     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4791     # about 5 minutes as the teststring grows exponentially.
   4792     # Worse, since 9x/ME are not pre-emptively multitasking,
   4793     # you end up with a "frozen" computer, even though with patience
   4794     # the test eventually succeeds (with a max line length of 256k).
   4795     # Instead, let's just punt: use the minimum linelength reported by
   4796     # all of the supported platforms: 8192 (on NT/2K/XP).
   4797     lt_cv_sys_max_cmd_len=8192;
   4798     ;;
   4799 
   4800   mint*)
   4801     # On MiNT this can take a long time and run out of memory.
   4802     lt_cv_sys_max_cmd_len=8192;
   4803     ;;
   4804 
   4805   amigaos*)
   4806     # On AmigaOS with pdksh, this test takes hours, literally.
   4807     # So we just punt and use a minimum line length of 8192.
   4808     lt_cv_sys_max_cmd_len=8192;
   4809     ;;
   4810 
   4811   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4812     # This has been around since 386BSD, at least.  Likely further.
   4813     if test -x /sbin/sysctl; then
   4814       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4815     elif test -x /usr/sbin/sysctl; then
   4816       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4817     else
   4818       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4819     fi
   4820     # And add a safety zone
   4821     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4822     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4823     ;;
   4824 
   4825   interix*)
   4826     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4827     lt_cv_sys_max_cmd_len=196608
   4828     ;;
   4829 
   4830   os2*)
   4831     # The test takes a long time on OS/2.
   4832     lt_cv_sys_max_cmd_len=8192
   4833     ;;
   4834 
   4835   osf*)
   4836     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4837     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4838     # nice to cause kernel panics so lets avoid the loop below.
   4839     # First set a reasonable default.
   4840     lt_cv_sys_max_cmd_len=16384
   4841     #
   4842     if test -x /sbin/sysconfig; then
   4843       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4844         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4845       esac
   4846     fi
   4847     ;;
   4848   sco3.2v5*)
   4849     lt_cv_sys_max_cmd_len=102400
   4850     ;;
   4851   sysv5* | sco5v6* | sysv4.2uw2*)
   4852     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4853     if test -n "$kargmax"; then
   4854       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4855     else
   4856       lt_cv_sys_max_cmd_len=32768
   4857     fi
   4858     ;;
   4859   *)
   4860     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4861     if test -n "$lt_cv_sys_max_cmd_len"; then
   4862       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4863       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4864     else
   4865       # Make teststring a little bigger before we do anything with it.
   4866       # a 1K string should be a reasonable start.
   4867       for i in 1 2 3 4 5 6 7 8 ; do
   4868         teststring=$teststring$teststring
   4869       done
   4870       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4871       # If test is not a shell built-in, we'll probably end up computing a
   4872       # maximum length that is only half of the actual maximum length, but
   4873       # we can't tell.
   4874       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   4875 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   4876 	      test $i != 17 # 1/2 MB should be enough
   4877       do
   4878         i=`expr $i + 1`
   4879         teststring=$teststring$teststring
   4880       done
   4881       # Only check the string length outside the loop.
   4882       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4883       teststring=
   4884       # Add a significant safety factor because C++ compilers can tack on
   4885       # massive amounts of additional arguments before passing them to the
   4886       # linker.  It appears as though 1/2 is a usable value.
   4887       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4888     fi
   4889     ;;
   4890   esac
   4891 
   4892 fi
   4893 
   4894 if test -n $lt_cv_sys_max_cmd_len ; then
   4895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4896 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4897 else
   4898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4899 $as_echo "none" >&6; }
   4900 fi
   4901 max_cmd_len=$lt_cv_sys_max_cmd_len
   4902 
   4903 
   4904 
   4905 
   4906 
   4907 
   4908 : ${CP="cp -f"}
   4909 : ${MV="mv -f"}
   4910 : ${RM="rm -f"}
   4911 
   4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   4913 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4914 # Try some XSI features
   4915 xsi_shell=no
   4916 ( _lt_dummy="a/b/c"
   4917   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   4918       = c,a/b,b/c, \
   4919     && eval 'test $(( 1 + 1 )) -eq 2 \
   4920     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4921   && xsi_shell=yes
   4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   4923 $as_echo "$xsi_shell" >&6; }
   4924 
   4925 
   4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   4927 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4928 lt_shell_append=no
   4929 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4930     >/dev/null 2>&1 \
   4931   && lt_shell_append=yes
   4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   4933 $as_echo "$lt_shell_append" >&6; }
   4934 
   4935 
   4936 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4937   lt_unset=unset
   4938 else
   4939   lt_unset=false
   4940 fi
   4941 
   4942 
   4943 
   4944 
   4945 
   4946 # test EBCDIC or ASCII
   4947 case `echo X|tr X '\101'` in
   4948  A) # ASCII based system
   4949     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4950   lt_SP2NL='tr \040 \012'
   4951   lt_NL2SP='tr \015\012 \040\040'
   4952   ;;
   4953  *) # EBCDIC based system
   4954   lt_SP2NL='tr \100 \n'
   4955   lt_NL2SP='tr \r\n \100\100'
   4956   ;;
   4957 esac
   4958 
   4959 
   4960 
   4961 
   4962 
   4963 
   4964 
   4965 
   4966 
   4967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   4968 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   4969 if ${lt_cv_to_host_file_cmd+:} false; then :
   4970   $as_echo_n "(cached) " >&6
   4971 else
   4972   case $host in
   4973   *-*-mingw* )
   4974     case $build in
   4975       *-*-mingw* ) # actually msys
   4976         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   4977         ;;
   4978       *-*-cygwin* )
   4979         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   4980         ;;
   4981       * ) # otherwise, assume *nix
   4982         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   4983         ;;
   4984     esac
   4985     ;;
   4986   *-*-cygwin* )
   4987     case $build in
   4988       *-*-mingw* ) # actually msys
   4989         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   4990         ;;
   4991       *-*-cygwin* )
   4992         lt_cv_to_host_file_cmd=func_convert_file_noop
   4993         ;;
   4994       * ) # otherwise, assume *nix
   4995         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   4996         ;;
   4997     esac
   4998     ;;
   4999   * ) # unhandled hosts (and "normal" native builds)
   5000     lt_cv_to_host_file_cmd=func_convert_file_noop
   5001     ;;
   5002 esac
   5003 
   5004 fi
   5005 
   5006 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5008 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   5009 
   5010 
   5011 
   5012 
   5013 
   5014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5015 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   5016 if ${lt_cv_to_tool_file_cmd+:} false; then :
   5017   $as_echo_n "(cached) " >&6
   5018 else
   5019   #assume ordinary cross tools, or native build.
   5020 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5021 case $host in
   5022   *-*-mingw* )
   5023     case $build in
   5024       *-*-mingw* ) # actually msys
   5025         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5026         ;;
   5027     esac
   5028     ;;
   5029 esac
   5030 
   5031 fi
   5032 
   5033 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5035 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   5036 
   5037 
   5038 
   5039 
   5040 
   5041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5042 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5043 if ${lt_cv_ld_reload_flag+:} false; then :
   5044   $as_echo_n "(cached) " >&6
   5045 else
   5046   lt_cv_ld_reload_flag='-r'
   5047 fi
   5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5049 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5050 reload_flag=$lt_cv_ld_reload_flag
   5051 case $reload_flag in
   5052 "" | " "*) ;;
   5053 *) reload_flag=" $reload_flag" ;;
   5054 esac
   5055 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5056 case $host_os in
   5057   cygwin* | mingw* | pw32* | cegcc*)
   5058     if test "$GCC" != yes; then
   5059       reload_cmds=false
   5060     fi
   5061     ;;
   5062   darwin*)
   5063     if test "$GCC" = yes; then
   5064       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   5065     else
   5066       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5067     fi
   5068     ;;
   5069 esac
   5070 
   5071 
   5072 
   5073 
   5074 
   5075 
   5076 
   5077 
   5078 
   5079 if test -n "$ac_tool_prefix"; then
   5080   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5081 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5083 $as_echo_n "checking for $ac_word... " >&6; }
   5084 if ${ac_cv_prog_OBJDUMP+:} false; then :
   5085   $as_echo_n "(cached) " >&6
   5086 else
   5087   if test -n "$OBJDUMP"; then
   5088   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5089 else
   5090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5091 for as_dir in $PATH
   5092 do
   5093   IFS=$as_save_IFS
   5094   test -z "$as_dir" && as_dir=.
   5095     for ac_exec_ext in '' $ac_executable_extensions; do
   5096   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5097     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5098     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5099     break 2
   5100   fi
   5101 done
   5102   done
   5103 IFS=$as_save_IFS
   5104 
   5105 fi
   5106 fi
   5107 OBJDUMP=$ac_cv_prog_OBJDUMP
   5108 if test -n "$OBJDUMP"; then
   5109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5110 $as_echo "$OBJDUMP" >&6; }
   5111 else
   5112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5113 $as_echo "no" >&6; }
   5114 fi
   5115 
   5116 
   5117 fi
   5118 if test -z "$ac_cv_prog_OBJDUMP"; then
   5119   ac_ct_OBJDUMP=$OBJDUMP
   5120   # Extract the first word of "objdump", so it can be a program name with args.
   5121 set dummy objdump; ac_word=$2
   5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5123 $as_echo_n "checking for $ac_word... " >&6; }
   5124 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5125   $as_echo_n "(cached) " >&6
   5126 else
   5127   if test -n "$ac_ct_OBJDUMP"; then
   5128   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5129 else
   5130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5131 for as_dir in $PATH
   5132 do
   5133   IFS=$as_save_IFS
   5134   test -z "$as_dir" && as_dir=.
   5135     for ac_exec_ext in '' $ac_executable_extensions; do
   5136   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5137     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5138     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5139     break 2
   5140   fi
   5141 done
   5142   done
   5143 IFS=$as_save_IFS
   5144 
   5145 fi
   5146 fi
   5147 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5148 if test -n "$ac_ct_OBJDUMP"; then
   5149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5150 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5151 else
   5152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5153 $as_echo "no" >&6; }
   5154 fi
   5155 
   5156   if test "x$ac_ct_OBJDUMP" = x; then
   5157     OBJDUMP="false"
   5158   else
   5159     case $cross_compiling:$ac_tool_warned in
   5160 yes:)
   5161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5162 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5163 ac_tool_warned=yes ;;
   5164 esac
   5165     OBJDUMP=$ac_ct_OBJDUMP
   5166   fi
   5167 else
   5168   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5169 fi
   5170 
   5171 test -z "$OBJDUMP" && OBJDUMP=objdump
   5172 
   5173 
   5174 
   5175 
   5176 
   5177 
   5178 
   5179 
   5180 
   5181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5182 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5183 if ${lt_cv_deplibs_check_method+:} false; then :
   5184   $as_echo_n "(cached) " >&6
   5185 else
   5186   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5187 lt_cv_file_magic_test_file=
   5188 lt_cv_deplibs_check_method='unknown'
   5189 # Need to set the preceding variable on all platforms that support
   5190 # interlibrary dependencies.
   5191 # 'none' -- dependencies not supported.
   5192 # `unknown' -- same as none, but documents that we really don't know.
   5193 # 'pass_all' -- all dependencies passed with no checks.
   5194 # 'test_compile' -- check by making test program.
   5195 # 'file_magic [[regex]]' -- check by looking for files in library path
   5196 # which responds to the $file_magic_cmd with a given extended regex.
   5197 # If you have `file' or equivalent on your system and you're not sure
   5198 # whether `pass_all' will *always* work, you probably want this one.
   5199 
   5200 case $host_os in
   5201 aix[4-9]*)
   5202   lt_cv_deplibs_check_method=pass_all
   5203   ;;
   5204 
   5205 beos*)
   5206   lt_cv_deplibs_check_method=pass_all
   5207   ;;
   5208 
   5209 bsdi[45]*)
   5210   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5211   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5212   lt_cv_file_magic_test_file=/shlib/libc.so
   5213   ;;
   5214 
   5215 cygwin*)
   5216   # func_win32_libid is a shell function defined in ltmain.sh
   5217   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5218   lt_cv_file_magic_cmd='func_win32_libid'
   5219   ;;
   5220 
   5221 mingw* | pw32*)
   5222   # Base MSYS/MinGW do not provide the 'file' command needed by
   5223   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5224   # unless we find 'file', for example because we are cross-compiling.
   5225   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5226   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5227     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5228     lt_cv_file_magic_cmd='func_win32_libid'
   5229   else
   5230     # Keep this pattern in sync with the one in func_win32_libid.
   5231     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5232     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5233   fi
   5234   ;;
   5235 
   5236 cegcc*)
   5237   # use the weaker test based on 'objdump'. See mingw*.
   5238   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5239   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5240   ;;
   5241 
   5242 darwin* | rhapsody*)
   5243   lt_cv_deplibs_check_method=pass_all
   5244   ;;
   5245 
   5246 freebsd* | dragonfly*)
   5247   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5248     case $host_cpu in
   5249     i*86 )
   5250       # Not sure whether the presence of OpenBSD here was a mistake.
   5251       # Let's accept both of them until this is cleared up.
   5252       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5253       lt_cv_file_magic_cmd=/usr/bin/file
   5254       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5255       ;;
   5256     esac
   5257   else
   5258     lt_cv_deplibs_check_method=pass_all
   5259   fi
   5260   ;;
   5261 
   5262 gnu*)
   5263   lt_cv_deplibs_check_method=pass_all
   5264   ;;
   5265 
   5266 haiku*)
   5267   lt_cv_deplibs_check_method=pass_all
   5268   ;;
   5269 
   5270 hpux10.20* | hpux11*)
   5271   lt_cv_file_magic_cmd=/usr/bin/file
   5272   case $host_cpu in
   5273   ia64*)
   5274     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5275     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5276     ;;
   5277   hppa*64*)
   5278     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]'
   5279     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5280     ;;
   5281   *)
   5282     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5283     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5284     ;;
   5285   esac
   5286   ;;
   5287 
   5288 interix[3-9]*)
   5289   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5290   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5291   ;;
   5292 
   5293 irix5* | irix6* | nonstopux*)
   5294   case $LD in
   5295   *-32|*"-32 ") libmagic=32-bit;;
   5296   *-n32|*"-n32 ") libmagic=N32;;
   5297   *-64|*"-64 ") libmagic=64-bit;;
   5298   *) libmagic=never-match;;
   5299   esac
   5300   lt_cv_deplibs_check_method=pass_all
   5301   ;;
   5302 
   5303 # This must be glibc/ELF.
   5304 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   5305   lt_cv_deplibs_check_method=pass_all
   5306   ;;
   5307 
   5308 netbsd* | netbsdelf*-gnu)
   5309   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5310     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5311   else
   5312     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5313   fi
   5314   ;;
   5315 
   5316 newos6*)
   5317   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5318   lt_cv_file_magic_cmd=/usr/bin/file
   5319   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5320   ;;
   5321 
   5322 *nto* | *qnx*)
   5323   lt_cv_deplibs_check_method=pass_all
   5324   ;;
   5325 
   5326 openbsd*)
   5327   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5328     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5329   else
   5330     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5331   fi
   5332   ;;
   5333 
   5334 osf3* | osf4* | osf5*)
   5335   lt_cv_deplibs_check_method=pass_all
   5336   ;;
   5337 
   5338 rdos*)
   5339   lt_cv_deplibs_check_method=pass_all
   5340   ;;
   5341 
   5342 solaris*)
   5343   lt_cv_deplibs_check_method=pass_all
   5344   ;;
   5345 
   5346 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5347   lt_cv_deplibs_check_method=pass_all
   5348   ;;
   5349 
   5350 sysv4 | sysv4.3*)
   5351   case $host_vendor in
   5352   motorola)
   5353     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]'
   5354     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5355     ;;
   5356   ncr)
   5357     lt_cv_deplibs_check_method=pass_all
   5358     ;;
   5359   sequent)
   5360     lt_cv_file_magic_cmd='/bin/file'
   5361     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5362     ;;
   5363   sni)
   5364     lt_cv_file_magic_cmd='/bin/file'
   5365     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5366     lt_cv_file_magic_test_file=/lib/libc.so
   5367     ;;
   5368   siemens)
   5369     lt_cv_deplibs_check_method=pass_all
   5370     ;;
   5371   pc)
   5372     lt_cv_deplibs_check_method=pass_all
   5373     ;;
   5374   esac
   5375   ;;
   5376 
   5377 tpf*)
   5378   lt_cv_deplibs_check_method=pass_all
   5379   ;;
   5380 esac
   5381 
   5382 fi
   5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5384 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5385 
   5386 file_magic_glob=
   5387 want_nocaseglob=no
   5388 if test "$build" = "$host"; then
   5389   case $host_os in
   5390   mingw* | pw32*)
   5391     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5392       want_nocaseglob=yes
   5393     else
   5394       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5395     fi
   5396     ;;
   5397   esac
   5398 fi
   5399 
   5400 file_magic_cmd=$lt_cv_file_magic_cmd
   5401 deplibs_check_method=$lt_cv_deplibs_check_method
   5402 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5403 
   5404 
   5405 
   5406 
   5407 
   5408 
   5409 
   5410 
   5411 
   5412 
   5413 
   5414 
   5415 
   5416 
   5417 
   5418 
   5419 
   5420 
   5421 
   5422 
   5423 
   5424 
   5425 if test -n "$ac_tool_prefix"; then
   5426   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5427 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5429 $as_echo_n "checking for $ac_word... " >&6; }
   5430 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5431   $as_echo_n "(cached) " >&6
   5432 else
   5433   if test -n "$DLLTOOL"; then
   5434   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5435 else
   5436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5437 for as_dir in $PATH
   5438 do
   5439   IFS=$as_save_IFS
   5440   test -z "$as_dir" && as_dir=.
   5441     for ac_exec_ext in '' $ac_executable_extensions; do
   5442   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5443     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5444     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5445     break 2
   5446   fi
   5447 done
   5448   done
   5449 IFS=$as_save_IFS
   5450 
   5451 fi
   5452 fi
   5453 DLLTOOL=$ac_cv_prog_DLLTOOL
   5454 if test -n "$DLLTOOL"; then
   5455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5456 $as_echo "$DLLTOOL" >&6; }
   5457 else
   5458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5459 $as_echo "no" >&6; }
   5460 fi
   5461 
   5462 
   5463 fi
   5464 if test -z "$ac_cv_prog_DLLTOOL"; then
   5465   ac_ct_DLLTOOL=$DLLTOOL
   5466   # Extract the first word of "dlltool", so it can be a program name with args.
   5467 set dummy dlltool; ac_word=$2
   5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5469 $as_echo_n "checking for $ac_word... " >&6; }
   5470 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5471   $as_echo_n "(cached) " >&6
   5472 else
   5473   if test -n "$ac_ct_DLLTOOL"; then
   5474   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5475 else
   5476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5477 for as_dir in $PATH
   5478 do
   5479   IFS=$as_save_IFS
   5480   test -z "$as_dir" && as_dir=.
   5481     for ac_exec_ext in '' $ac_executable_extensions; do
   5482   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5483     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5484     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5485     break 2
   5486   fi
   5487 done
   5488   done
   5489 IFS=$as_save_IFS
   5490 
   5491 fi
   5492 fi
   5493 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5494 if test -n "$ac_ct_DLLTOOL"; then
   5495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5496 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5497 else
   5498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5499 $as_echo "no" >&6; }
   5500 fi
   5501 
   5502   if test "x$ac_ct_DLLTOOL" = x; then
   5503     DLLTOOL="false"
   5504   else
   5505     case $cross_compiling:$ac_tool_warned in
   5506 yes:)
   5507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5508 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5509 ac_tool_warned=yes ;;
   5510 esac
   5511     DLLTOOL=$ac_ct_DLLTOOL
   5512   fi
   5513 else
   5514   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5515 fi
   5516 
   5517 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5518 
   5519 
   5520 
   5521 
   5522 
   5523 
   5524 
   5525 
   5526 
   5527 
   5528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5529 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5530 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5531   $as_echo_n "(cached) " >&6
   5532 else
   5533   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5534 
   5535 case $host_os in
   5536 cygwin* | mingw* | pw32* | cegcc*)
   5537   # two different shell functions defined in ltmain.sh
   5538   # decide which to use based on capabilities of $DLLTOOL
   5539   case `$DLLTOOL --help 2>&1` in
   5540   *--identify-strict*)
   5541     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5542     ;;
   5543   *)
   5544     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5545     ;;
   5546   esac
   5547   ;;
   5548 *)
   5549   # fallback: assume linklib IS sharedlib
   5550   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   5551   ;;
   5552 esac
   5553 
   5554 fi
   5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5556 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5557 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5558 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5559 
   5560 
   5561 
   5562 
   5563 
   5564 
   5565 
   5566 
   5567 if test -n "$ac_tool_prefix"; then
   5568   for ac_prog in ar
   5569   do
   5570     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5571 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5573 $as_echo_n "checking for $ac_word... " >&6; }
   5574 if ${ac_cv_prog_AR+:} false; then :
   5575   $as_echo_n "(cached) " >&6
   5576 else
   5577   if test -n "$AR"; then
   5578   ac_cv_prog_AR="$AR" # Let the user override the test.
   5579 else
   5580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5581 for as_dir in $PATH
   5582 do
   5583   IFS=$as_save_IFS
   5584   test -z "$as_dir" && as_dir=.
   5585     for ac_exec_ext in '' $ac_executable_extensions; do
   5586   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5587     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5588     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5589     break 2
   5590   fi
   5591 done
   5592   done
   5593 IFS=$as_save_IFS
   5594 
   5595 fi
   5596 fi
   5597 AR=$ac_cv_prog_AR
   5598 if test -n "$AR"; then
   5599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5600 $as_echo "$AR" >&6; }
   5601 else
   5602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5603 $as_echo "no" >&6; }
   5604 fi
   5605 
   5606 
   5607     test -n "$AR" && break
   5608   done
   5609 fi
   5610 if test -z "$AR"; then
   5611   ac_ct_AR=$AR
   5612   for ac_prog in ar
   5613 do
   5614   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5615 set dummy $ac_prog; ac_word=$2
   5616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5617 $as_echo_n "checking for $ac_word... " >&6; }
   5618 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5619   $as_echo_n "(cached) " >&6
   5620 else
   5621   if test -n "$ac_ct_AR"; then
   5622   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5623 else
   5624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5625 for as_dir in $PATH
   5626 do
   5627   IFS=$as_save_IFS
   5628   test -z "$as_dir" && as_dir=.
   5629     for ac_exec_ext in '' $ac_executable_extensions; do
   5630   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5631     ac_cv_prog_ac_ct_AR="$ac_prog"
   5632     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5633     break 2
   5634   fi
   5635 done
   5636   done
   5637 IFS=$as_save_IFS
   5638 
   5639 fi
   5640 fi
   5641 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5642 if test -n "$ac_ct_AR"; then
   5643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5644 $as_echo "$ac_ct_AR" >&6; }
   5645 else
   5646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5647 $as_echo "no" >&6; }
   5648 fi
   5649 
   5650 
   5651   test -n "$ac_ct_AR" && break
   5652 done
   5653 
   5654   if test "x$ac_ct_AR" = x; then
   5655     AR="false"
   5656   else
   5657     case $cross_compiling:$ac_tool_warned in
   5658 yes:)
   5659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5660 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5661 ac_tool_warned=yes ;;
   5662 esac
   5663     AR=$ac_ct_AR
   5664   fi
   5665 fi
   5666 
   5667 : ${AR=ar}
   5668 : ${AR_FLAGS=cru}
   5669 
   5670 
   5671 
   5672 
   5673 
   5674 
   5675 
   5676 
   5677 
   5678 
   5679 
   5680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   5681 $as_echo_n "checking for archiver @FILE support... " >&6; }
   5682 if ${lt_cv_ar_at_file+:} false; then :
   5683   $as_echo_n "(cached) " >&6
   5684 else
   5685   lt_cv_ar_at_file=no
   5686    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5687 /* end confdefs.h.  */
   5688 
   5689 int
   5690 main ()
   5691 {
   5692 
   5693   ;
   5694   return 0;
   5695 }
   5696 _ACEOF
   5697 if ac_fn_c_try_compile "$LINENO"; then :
   5698   echo conftest.$ac_objext > conftest.lst
   5699       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   5700       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5701   (eval $lt_ar_try) 2>&5
   5702   ac_status=$?
   5703   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5704   test $ac_status = 0; }
   5705       if test "$ac_status" -eq 0; then
   5706 	# Ensure the archiver fails upon bogus file names.
   5707 	rm -f conftest.$ac_objext libconftest.a
   5708 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5709   (eval $lt_ar_try) 2>&5
   5710   ac_status=$?
   5711   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5712   test $ac_status = 0; }
   5713 	if test "$ac_status" -ne 0; then
   5714           lt_cv_ar_at_file=@
   5715         fi
   5716       fi
   5717       rm -f conftest.* libconftest.a
   5718 
   5719 fi
   5720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5721 
   5722 fi
   5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   5724 $as_echo "$lt_cv_ar_at_file" >&6; }
   5725 
   5726 if test "x$lt_cv_ar_at_file" = xno; then
   5727   archiver_list_spec=
   5728 else
   5729   archiver_list_spec=$lt_cv_ar_at_file
   5730 fi
   5731 
   5732 
   5733 
   5734 
   5735 
   5736 
   5737 
   5738 if test -n "$ac_tool_prefix"; then
   5739   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5740 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5742 $as_echo_n "checking for $ac_word... " >&6; }
   5743 if ${ac_cv_prog_STRIP+:} false; then :
   5744   $as_echo_n "(cached) " >&6
   5745 else
   5746   if test -n "$STRIP"; then
   5747   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5748 else
   5749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5750 for as_dir in $PATH
   5751 do
   5752   IFS=$as_save_IFS
   5753   test -z "$as_dir" && as_dir=.
   5754     for ac_exec_ext in '' $ac_executable_extensions; do
   5755   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5756     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5757     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5758     break 2
   5759   fi
   5760 done
   5761   done
   5762 IFS=$as_save_IFS
   5763 
   5764 fi
   5765 fi
   5766 STRIP=$ac_cv_prog_STRIP
   5767 if test -n "$STRIP"; then
   5768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5769 $as_echo "$STRIP" >&6; }
   5770 else
   5771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5772 $as_echo "no" >&6; }
   5773 fi
   5774 
   5775 
   5776 fi
   5777 if test -z "$ac_cv_prog_STRIP"; then
   5778   ac_ct_STRIP=$STRIP
   5779   # Extract the first word of "strip", so it can be a program name with args.
   5780 set dummy strip; ac_word=$2
   5781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5782 $as_echo_n "checking for $ac_word... " >&6; }
   5783 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5784   $as_echo_n "(cached) " >&6
   5785 else
   5786   if test -n "$ac_ct_STRIP"; then
   5787   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5788 else
   5789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5790 for as_dir in $PATH
   5791 do
   5792   IFS=$as_save_IFS
   5793   test -z "$as_dir" && as_dir=.
   5794     for ac_exec_ext in '' $ac_executable_extensions; do
   5795   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5796     ac_cv_prog_ac_ct_STRIP="strip"
   5797     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5798     break 2
   5799   fi
   5800 done
   5801   done
   5802 IFS=$as_save_IFS
   5803 
   5804 fi
   5805 fi
   5806 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5807 if test -n "$ac_ct_STRIP"; then
   5808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5809 $as_echo "$ac_ct_STRIP" >&6; }
   5810 else
   5811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5812 $as_echo "no" >&6; }
   5813 fi
   5814 
   5815   if test "x$ac_ct_STRIP" = x; then
   5816     STRIP=":"
   5817   else
   5818     case $cross_compiling:$ac_tool_warned in
   5819 yes:)
   5820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5821 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5822 ac_tool_warned=yes ;;
   5823 esac
   5824     STRIP=$ac_ct_STRIP
   5825   fi
   5826 else
   5827   STRIP="$ac_cv_prog_STRIP"
   5828 fi
   5829 
   5830 test -z "$STRIP" && STRIP=:
   5831 
   5832 
   5833 
   5834 
   5835 
   5836 
   5837 if test -n "$ac_tool_prefix"; then
   5838   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5839 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5841 $as_echo_n "checking for $ac_word... " >&6; }
   5842 if ${ac_cv_prog_RANLIB+:} false; then :
   5843   $as_echo_n "(cached) " >&6
   5844 else
   5845   if test -n "$RANLIB"; then
   5846   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5847 else
   5848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5849 for as_dir in $PATH
   5850 do
   5851   IFS=$as_save_IFS
   5852   test -z "$as_dir" && as_dir=.
   5853     for ac_exec_ext in '' $ac_executable_extensions; do
   5854   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5855     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5856     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5857     break 2
   5858   fi
   5859 done
   5860   done
   5861 IFS=$as_save_IFS
   5862 
   5863 fi
   5864 fi
   5865 RANLIB=$ac_cv_prog_RANLIB
   5866 if test -n "$RANLIB"; then
   5867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5868 $as_echo "$RANLIB" >&6; }
   5869 else
   5870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5871 $as_echo "no" >&6; }
   5872 fi
   5873 
   5874 
   5875 fi
   5876 if test -z "$ac_cv_prog_RANLIB"; then
   5877   ac_ct_RANLIB=$RANLIB
   5878   # Extract the first word of "ranlib", so it can be a program name with args.
   5879 set dummy ranlib; ac_word=$2
   5880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5881 $as_echo_n "checking for $ac_word... " >&6; }
   5882 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5883   $as_echo_n "(cached) " >&6
   5884 else
   5885   if test -n "$ac_ct_RANLIB"; then
   5886   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5887 else
   5888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5889 for as_dir in $PATH
   5890 do
   5891   IFS=$as_save_IFS
   5892   test -z "$as_dir" && as_dir=.
   5893     for ac_exec_ext in '' $ac_executable_extensions; do
   5894   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5895     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5896     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5897     break 2
   5898   fi
   5899 done
   5900   done
   5901 IFS=$as_save_IFS
   5902 
   5903 fi
   5904 fi
   5905 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5906 if test -n "$ac_ct_RANLIB"; then
   5907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5908 $as_echo "$ac_ct_RANLIB" >&6; }
   5909 else
   5910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5911 $as_echo "no" >&6; }
   5912 fi
   5913 
   5914   if test "x$ac_ct_RANLIB" = x; then
   5915     RANLIB=":"
   5916   else
   5917     case $cross_compiling:$ac_tool_warned in
   5918 yes:)
   5919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5920 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5921 ac_tool_warned=yes ;;
   5922 esac
   5923     RANLIB=$ac_ct_RANLIB
   5924   fi
   5925 else
   5926   RANLIB="$ac_cv_prog_RANLIB"
   5927 fi
   5928 
   5929 test -z "$RANLIB" && RANLIB=:
   5930 
   5931 
   5932 
   5933 
   5934 
   5935 
   5936 # Determine commands to create old-style static archives.
   5937 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5938 old_postinstall_cmds='chmod 644 $oldlib'
   5939 old_postuninstall_cmds=
   5940 
   5941 if test -n "$RANLIB"; then
   5942   case $host_os in
   5943   openbsd*)
   5944     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   5945     ;;
   5946   *)
   5947     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   5948     ;;
   5949   esac
   5950   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   5951 fi
   5952 
   5953 case $host_os in
   5954   darwin*)
   5955     lock_old_archive_extraction=yes ;;
   5956   *)
   5957     lock_old_archive_extraction=no ;;
   5958 esac
   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 
   5988 
   5989 
   5990 
   5991 
   5992 
   5993 
   5994 
   5995 
   5996 
   5997 
   5998 # If no C compiler was specified, use CC.
   5999 LTCC=${LTCC-"$CC"}
   6000 
   6001 # If no C compiler flags were specified, use CFLAGS.
   6002 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6003 
   6004 # Allow CC to be a program name with arguments.
   6005 compiler=$CC
   6006 
   6007 
   6008 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6010 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6011 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   6012   $as_echo_n "(cached) " >&6
   6013 else
   6014 
   6015 # These are sane defaults that work on at least a few old systems.
   6016 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6017 
   6018 # Character class describing NM global symbol codes.
   6019 symcode='[BCDEGRST]'
   6020 
   6021 # Regexp to match symbols that can be accessed directly from C.
   6022 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6023 
   6024 # Define system-specific variables.
   6025 case $host_os in
   6026 aix*)
   6027   symcode='[BCDT]'
   6028   ;;
   6029 cygwin* | mingw* | pw32* | cegcc*)
   6030   symcode='[ABCDGISTW]'
   6031   ;;
   6032 hpux*)
   6033   if test "$host_cpu" = ia64; then
   6034     symcode='[ABCDEGRST]'
   6035   fi
   6036   ;;
   6037 irix* | nonstopux*)
   6038   symcode='[BCDEGRST]'
   6039   ;;
   6040 osf*)
   6041   symcode='[BCDEGQRST]'
   6042   ;;
   6043 solaris*)
   6044   symcode='[BDRT]'
   6045   ;;
   6046 sco3.2v5*)
   6047   symcode='[DT]'
   6048   ;;
   6049 sysv4.2uw2*)
   6050   symcode='[DT]'
   6051   ;;
   6052 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6053   symcode='[ABDT]'
   6054   ;;
   6055 sysv4)
   6056   symcode='[DFNSTU]'
   6057   ;;
   6058 esac
   6059 
   6060 # If we're using GNU nm, then use its standard symbol codes.
   6061 case `$NM -V 2>&1` in
   6062 *GNU* | *'with BFD'*)
   6063   symcode='[ABCDGIRSTW]' ;;
   6064 esac
   6065 
   6066 # Transform an extracted symbol line into a proper C declaration.
   6067 # Some systems (esp. on ia64) link data and code symbols differently,
   6068 # so use this general approach.
   6069 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6070 
   6071 # Transform an extracted symbol line into symbol name and symbol address
   6072 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   6073 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
   6074 
   6075 # Handle CRLF in mingw tool chain
   6076 opt_cr=
   6077 case $build_os in
   6078 mingw*)
   6079   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6080   ;;
   6081 esac
   6082 
   6083 # Try without a prefix underscore, then with it.
   6084 for ac_symprfx in "" "_"; do
   6085 
   6086   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6087   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6088 
   6089   # Write the raw and C identifiers.
   6090   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6091     # Fake it for dumpbin and say T for any non-static function
   6092     # and D for any global variable.
   6093     # Also find C++ and __fastcall symbols from MSVC++,
   6094     # which start with @ or ?.
   6095     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6096 "     {last_section=section; section=\$ 3};"\
   6097 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   6098 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6099 "     \$ 0!~/External *\|/{next};"\
   6100 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6101 "     {if(hide[section]) next};"\
   6102 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6103 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6104 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6105 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6106 "     ' prfx=^$ac_symprfx"
   6107   else
   6108     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6109   fi
   6110   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   6111 
   6112   # Check to see that the pipe works correctly.
   6113   pipe_works=no
   6114 
   6115   rm -f conftest*
   6116   cat > conftest.$ac_ext <<_LT_EOF
   6117 #ifdef __cplusplus
   6118 extern "C" {
   6119 #endif
   6120 char nm_test_var;
   6121 void nm_test_func(void);
   6122 void nm_test_func(void){}
   6123 #ifdef __cplusplus
   6124 }
   6125 #endif
   6126 int main(){nm_test_var='a';nm_test_func();return(0);}
   6127 _LT_EOF
   6128 
   6129   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6130   (eval $ac_compile) 2>&5
   6131   ac_status=$?
   6132   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6133   test $ac_status = 0; }; then
   6134     # Now try to grab the symbols.
   6135     nlist=conftest.nm
   6136     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6137   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6138   ac_status=$?
   6139   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6140   test $ac_status = 0; } && test -s "$nlist"; then
   6141       # Try sorting and uniquifying the output.
   6142       if sort "$nlist" | uniq > "$nlist"T; then
   6143 	mv -f "$nlist"T "$nlist"
   6144       else
   6145 	rm -f "$nlist"T
   6146       fi
   6147 
   6148       # Make sure that we snagged all the symbols we need.
   6149       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6150 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6151 	  cat <<_LT_EOF > conftest.$ac_ext
   6152 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6153 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   6154 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   6155    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6156 # define LT_DLSYM_CONST
   6157 #elif defined(__osf__)
   6158 /* This system does not cope well with relocations in const data.  */
   6159 # define LT_DLSYM_CONST
   6160 #else
   6161 # define LT_DLSYM_CONST const
   6162 #endif
   6163 
   6164 #ifdef __cplusplus
   6165 extern "C" {
   6166 #endif
   6167 
   6168 _LT_EOF
   6169 	  # Now generate the symbol file.
   6170 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6171 
   6172 	  cat <<_LT_EOF >> conftest.$ac_ext
   6173 
   6174 /* The mapping between symbol names and symbols.  */
   6175 LT_DLSYM_CONST struct {
   6176   const char *name;
   6177   void       *address;
   6178 }
   6179 lt__PROGRAM__LTX_preloaded_symbols[] =
   6180 {
   6181   { "@PROGRAM@", (void *) 0 },
   6182 _LT_EOF
   6183 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6184 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6185   {0, (void *) 0}
   6186 };
   6187 
   6188 /* This works around a problem in FreeBSD linker */
   6189 #ifdef FREEBSD_WORKAROUND
   6190 static const void *lt_preloaded_setup() {
   6191   return lt__PROGRAM__LTX_preloaded_symbols;
   6192 }
   6193 #endif
   6194 
   6195 #ifdef __cplusplus
   6196 }
   6197 #endif
   6198 _LT_EOF
   6199 	  # Now try linking the two files.
   6200 	  mv conftest.$ac_objext conftstm.$ac_objext
   6201 	  lt_globsym_save_LIBS=$LIBS
   6202 	  lt_globsym_save_CFLAGS=$CFLAGS
   6203 	  LIBS="conftstm.$ac_objext"
   6204 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6205 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6206   (eval $ac_link) 2>&5
   6207   ac_status=$?
   6208   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6209   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6210 	    pipe_works=yes
   6211 	  fi
   6212 	  LIBS=$lt_globsym_save_LIBS
   6213 	  CFLAGS=$lt_globsym_save_CFLAGS
   6214 	else
   6215 	  echo "cannot find nm_test_func in $nlist" >&5
   6216 	fi
   6217       else
   6218 	echo "cannot find nm_test_var in $nlist" >&5
   6219       fi
   6220     else
   6221       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6222     fi
   6223   else
   6224     echo "$progname: failed program was:" >&5
   6225     cat conftest.$ac_ext >&5
   6226   fi
   6227   rm -rf conftest* conftst*
   6228 
   6229   # Do not use the global_symbol_pipe unless it works.
   6230   if test "$pipe_works" = yes; then
   6231     break
   6232   else
   6233     lt_cv_sys_global_symbol_pipe=
   6234   fi
   6235 done
   6236 
   6237 fi
   6238 
   6239 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6240   lt_cv_sys_global_symbol_to_cdecl=
   6241 fi
   6242 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6244 $as_echo "failed" >&6; }
   6245 else
   6246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6247 $as_echo "ok" >&6; }
   6248 fi
   6249 
   6250 # Response file support.
   6251 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6252   nm_file_list_spec='@'
   6253 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6254   nm_file_list_spec='@'
   6255 fi
   6256 
   6257 
   6258 
   6259 
   6260 
   6261 
   6262 
   6263 
   6264 
   6265 
   6266 
   6267 
   6268 
   6269 
   6270 
   6271 
   6272 
   6273 
   6274 
   6275 
   6276 
   6277 
   6278 
   6279 
   6280 
   6281 
   6282 
   6283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6284 $as_echo_n "checking for sysroot... " >&6; }
   6285 
   6286 # Check whether --with-sysroot was given.
   6287 if test "${with_sysroot+set}" = set; then :
   6288   withval=$with_sysroot;
   6289 else
   6290   with_sysroot=no
   6291 fi
   6292 
   6293 
   6294 lt_sysroot=
   6295 case ${with_sysroot} in #(
   6296  yes)
   6297    if test "$GCC" = yes; then
   6298      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6299    fi
   6300    ;; #(
   6301  /*)
   6302    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6303    ;; #(
   6304  no|'')
   6305    ;; #(
   6306  *)
   6307    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6308 $as_echo "${with_sysroot}" >&6; }
   6309    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6310    ;;
   6311 esac
   6312 
   6313  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6314 $as_echo "${lt_sysroot:-no}" >&6; }
   6315 
   6316 
   6317 
   6318 
   6319 
   6320 # Check whether --enable-libtool-lock was given.
   6321 if test "${enable_libtool_lock+set}" = set; then :
   6322   enableval=$enable_libtool_lock;
   6323 fi
   6324 
   6325 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6326 
   6327 # Some flags need to be propagated to the compiler or linker for good
   6328 # libtool support.
   6329 case $host in
   6330 ia64-*-hpux*)
   6331   # Find out which ABI we are using.
   6332   echo 'int i;' > conftest.$ac_ext
   6333   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6334   (eval $ac_compile) 2>&5
   6335   ac_status=$?
   6336   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6337   test $ac_status = 0; }; then
   6338     case `/usr/bin/file conftest.$ac_objext` in
   6339       *ELF-32*)
   6340 	HPUX_IA64_MODE="32"
   6341 	;;
   6342       *ELF-64*)
   6343 	HPUX_IA64_MODE="64"
   6344 	;;
   6345     esac
   6346   fi
   6347   rm -rf conftest*
   6348   ;;
   6349 *-*-irix6*)
   6350   # Find out which ABI we are using.
   6351   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6352   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6353   (eval $ac_compile) 2>&5
   6354   ac_status=$?
   6355   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6356   test $ac_status = 0; }; then
   6357     if test "$lt_cv_prog_gnu_ld" = yes; then
   6358       case `/usr/bin/file conftest.$ac_objext` in
   6359 	*32-bit*)
   6360 	  LD="${LD-ld} -melf32bsmip"
   6361 	  ;;
   6362 	*N32*)
   6363 	  LD="${LD-ld} -melf32bmipn32"
   6364 	  ;;
   6365 	*64-bit*)
   6366 	  LD="${LD-ld} -melf64bmip"
   6367 	;;
   6368       esac
   6369     else
   6370       case `/usr/bin/file conftest.$ac_objext` in
   6371 	*32-bit*)
   6372 	  LD="${LD-ld} -32"
   6373 	  ;;
   6374 	*N32*)
   6375 	  LD="${LD-ld} -n32"
   6376 	  ;;
   6377 	*64-bit*)
   6378 	  LD="${LD-ld} -64"
   6379 	  ;;
   6380       esac
   6381     fi
   6382   fi
   6383   rm -rf conftest*
   6384   ;;
   6385 
   6386 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6387 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6388   # Find out which ABI we are using.
   6389   echo 'int i;' > conftest.$ac_ext
   6390   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6391   (eval $ac_compile) 2>&5
   6392   ac_status=$?
   6393   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6394   test $ac_status = 0; }; then
   6395     case `/usr/bin/file conftest.o` in
   6396       *32-bit*)
   6397 	case $host in
   6398 	  x86_64-*kfreebsd*-gnu)
   6399 	    LD="${LD-ld} -m elf_i386_fbsd"
   6400 	    ;;
   6401 	  x86_64-*linux*)
   6402 	    LD="${LD-ld} -m elf_i386"
   6403 	    ;;
   6404 	  ppc64-*linux*|powerpc64-*linux*)
   6405 	    LD="${LD-ld} -m elf32ppclinux"
   6406 	    ;;
   6407 	  s390x-*linux*)
   6408 	    LD="${LD-ld} -m elf_s390"
   6409 	    ;;
   6410 	  sparc64-*linux*)
   6411 	    LD="${LD-ld} -m elf32_sparc"
   6412 	    ;;
   6413 	esac
   6414 	;;
   6415       *64-bit*)
   6416 	case $host in
   6417 	  x86_64-*kfreebsd*-gnu)
   6418 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6419 	    ;;
   6420 	  x86_64-*linux*)
   6421 	    LD="${LD-ld} -m elf_x86_64"
   6422 	    ;;
   6423 	  ppc*-*linux*|powerpc*-*linux*)
   6424 	    LD="${LD-ld} -m elf64ppc"
   6425 	    ;;
   6426 	  s390*-*linux*|s390*-*tpf*)
   6427 	    LD="${LD-ld} -m elf64_s390"
   6428 	    ;;
   6429 	  sparc*-*linux*)
   6430 	    LD="${LD-ld} -m elf64_sparc"
   6431 	    ;;
   6432 	esac
   6433 	;;
   6434     esac
   6435   fi
   6436   rm -rf conftest*
   6437   ;;
   6438 
   6439 *-*-sco3.2v5*)
   6440   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6441   SAVE_CFLAGS="$CFLAGS"
   6442   CFLAGS="$CFLAGS -belf"
   6443   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6444 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6445 if ${lt_cv_cc_needs_belf+:} false; then :
   6446   $as_echo_n "(cached) " >&6
   6447 else
   6448   ac_ext=c
   6449 ac_cpp='$CPP $CPPFLAGS'
   6450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6453 
   6454      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6455 /* end confdefs.h.  */
   6456 
   6457 int
   6458 main ()
   6459 {
   6460 
   6461   ;
   6462   return 0;
   6463 }
   6464 _ACEOF
   6465 if ac_fn_c_try_link "$LINENO"; then :
   6466   lt_cv_cc_needs_belf=yes
   6467 else
   6468   lt_cv_cc_needs_belf=no
   6469 fi
   6470 rm -f core conftest.err conftest.$ac_objext \
   6471     conftest$ac_exeext conftest.$ac_ext
   6472      ac_ext=c
   6473 ac_cpp='$CPP $CPPFLAGS'
   6474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6477 
   6478 fi
   6479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6480 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6481   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6482     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6483     CFLAGS="$SAVE_CFLAGS"
   6484   fi
   6485   ;;
   6486 *-*solaris*)
   6487   # Find out which ABI we are using.
   6488   echo 'int i;' > conftest.$ac_ext
   6489   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6490   (eval $ac_compile) 2>&5
   6491   ac_status=$?
   6492   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6493   test $ac_status = 0; }; then
   6494     case `/usr/bin/file conftest.o` in
   6495     *64-bit*)
   6496       case $lt_cv_prog_gnu_ld in
   6497       yes*)
   6498         case $host in
   6499         i?86-*-solaris*)
   6500           LD="${LD-ld} -m elf_x86_64"
   6501           ;;
   6502         sparc*-*-solaris*)
   6503           LD="${LD-ld} -m elf64_sparc"
   6504           ;;
   6505         esac
   6506         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   6507         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   6508           LD="${LD-ld}_sol2"
   6509         fi
   6510         ;;
   6511       *)
   6512 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6513 	  LD="${LD-ld} -64"
   6514 	fi
   6515 	;;
   6516       esac
   6517       ;;
   6518     esac
   6519   fi
   6520   rm -rf conftest*
   6521   ;;
   6522 esac
   6523 
   6524 need_locks="$enable_libtool_lock"
   6525 
   6526 if test -n "$ac_tool_prefix"; then
   6527   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6528 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6530 $as_echo_n "checking for $ac_word... " >&6; }
   6531 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6532   $as_echo_n "(cached) " >&6
   6533 else
   6534   if test -n "$MANIFEST_TOOL"; then
   6535   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6536 else
   6537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6538 for as_dir in $PATH
   6539 do
   6540   IFS=$as_save_IFS
   6541   test -z "$as_dir" && as_dir=.
   6542     for ac_exec_ext in '' $ac_executable_extensions; do
   6543   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6544     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6545     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6546     break 2
   6547   fi
   6548 done
   6549   done
   6550 IFS=$as_save_IFS
   6551 
   6552 fi
   6553 fi
   6554 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6555 if test -n "$MANIFEST_TOOL"; then
   6556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6557 $as_echo "$MANIFEST_TOOL" >&6; }
   6558 else
   6559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6560 $as_echo "no" >&6; }
   6561 fi
   6562 
   6563 
   6564 fi
   6565 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6566   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6567   # Extract the first word of "mt", so it can be a program name with args.
   6568 set dummy mt; ac_word=$2
   6569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6570 $as_echo_n "checking for $ac_word... " >&6; }
   6571 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6572   $as_echo_n "(cached) " >&6
   6573 else
   6574   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6575   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6576 else
   6577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6578 for as_dir in $PATH
   6579 do
   6580   IFS=$as_save_IFS
   6581   test -z "$as_dir" && as_dir=.
   6582     for ac_exec_ext in '' $ac_executable_extensions; do
   6583   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6584     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6585     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6586     break 2
   6587   fi
   6588 done
   6589   done
   6590 IFS=$as_save_IFS
   6591 
   6592 fi
   6593 fi
   6594 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6595 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6597 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6598 else
   6599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6600 $as_echo "no" >&6; }
   6601 fi
   6602 
   6603   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6604     MANIFEST_TOOL=":"
   6605   else
   6606     case $cross_compiling:$ac_tool_warned in
   6607 yes:)
   6608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6609 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6610 ac_tool_warned=yes ;;
   6611 esac
   6612     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6613   fi
   6614 else
   6615   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6616 fi
   6617 
   6618 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6620 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6621 if ${lt_cv_path_mainfest_tool+:} false; then :
   6622   $as_echo_n "(cached) " >&6
   6623 else
   6624   lt_cv_path_mainfest_tool=no
   6625   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6626   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6627   cat conftest.err >&5
   6628   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6629     lt_cv_path_mainfest_tool=yes
   6630   fi
   6631   rm -f conftest*
   6632 fi
   6633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6634 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6635 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   6636   MANIFEST_TOOL=:
   6637 fi
   6638 
   6639 
   6640 
   6641 
   6642 
   6643 
   6644   case $host_os in
   6645     rhapsody* | darwin*)
   6646     if test -n "$ac_tool_prefix"; then
   6647   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6648 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6650 $as_echo_n "checking for $ac_word... " >&6; }
   6651 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   6652   $as_echo_n "(cached) " >&6
   6653 else
   6654   if test -n "$DSYMUTIL"; then
   6655   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6656 else
   6657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6658 for as_dir in $PATH
   6659 do
   6660   IFS=$as_save_IFS
   6661   test -z "$as_dir" && as_dir=.
   6662     for ac_exec_ext in '' $ac_executable_extensions; do
   6663   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6664     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6665     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6666     break 2
   6667   fi
   6668 done
   6669   done
   6670 IFS=$as_save_IFS
   6671 
   6672 fi
   6673 fi
   6674 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6675 if test -n "$DSYMUTIL"; then
   6676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6677 $as_echo "$DSYMUTIL" >&6; }
   6678 else
   6679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6680 $as_echo "no" >&6; }
   6681 fi
   6682 
   6683 
   6684 fi
   6685 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6686   ac_ct_DSYMUTIL=$DSYMUTIL
   6687   # Extract the first word of "dsymutil", so it can be a program name with args.
   6688 set dummy dsymutil; ac_word=$2
   6689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6690 $as_echo_n "checking for $ac_word... " >&6; }
   6691 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6692   $as_echo_n "(cached) " >&6
   6693 else
   6694   if test -n "$ac_ct_DSYMUTIL"; then
   6695   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6696 else
   6697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6698 for as_dir in $PATH
   6699 do
   6700   IFS=$as_save_IFS
   6701   test -z "$as_dir" && as_dir=.
   6702     for ac_exec_ext in '' $ac_executable_extensions; do
   6703   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6704     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6705     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6706     break 2
   6707   fi
   6708 done
   6709   done
   6710 IFS=$as_save_IFS
   6711 
   6712 fi
   6713 fi
   6714 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6715 if test -n "$ac_ct_DSYMUTIL"; then
   6716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6717 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6718 else
   6719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6720 $as_echo "no" >&6; }
   6721 fi
   6722 
   6723   if test "x$ac_ct_DSYMUTIL" = x; then
   6724     DSYMUTIL=":"
   6725   else
   6726     case $cross_compiling:$ac_tool_warned in
   6727 yes:)
   6728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6729 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6730 ac_tool_warned=yes ;;
   6731 esac
   6732     DSYMUTIL=$ac_ct_DSYMUTIL
   6733   fi
   6734 else
   6735   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6736 fi
   6737 
   6738     if test -n "$ac_tool_prefix"; then
   6739   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6740 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6742 $as_echo_n "checking for $ac_word... " >&6; }
   6743 if ${ac_cv_prog_NMEDIT+:} false; then :
   6744   $as_echo_n "(cached) " >&6
   6745 else
   6746   if test -n "$NMEDIT"; then
   6747   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6748 else
   6749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6750 for as_dir in $PATH
   6751 do
   6752   IFS=$as_save_IFS
   6753   test -z "$as_dir" && as_dir=.
   6754     for ac_exec_ext in '' $ac_executable_extensions; do
   6755   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6756     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6757     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6758     break 2
   6759   fi
   6760 done
   6761   done
   6762 IFS=$as_save_IFS
   6763 
   6764 fi
   6765 fi
   6766 NMEDIT=$ac_cv_prog_NMEDIT
   6767 if test -n "$NMEDIT"; then
   6768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6769 $as_echo "$NMEDIT" >&6; }
   6770 else
   6771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6772 $as_echo "no" >&6; }
   6773 fi
   6774 
   6775 
   6776 fi
   6777 if test -z "$ac_cv_prog_NMEDIT"; then
   6778   ac_ct_NMEDIT=$NMEDIT
   6779   # Extract the first word of "nmedit", so it can be a program name with args.
   6780 set dummy nmedit; ac_word=$2
   6781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6782 $as_echo_n "checking for $ac_word... " >&6; }
   6783 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   6784   $as_echo_n "(cached) " >&6
   6785 else
   6786   if test -n "$ac_ct_NMEDIT"; then
   6787   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6788 else
   6789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6790 for as_dir in $PATH
   6791 do
   6792   IFS=$as_save_IFS
   6793   test -z "$as_dir" && as_dir=.
   6794     for ac_exec_ext in '' $ac_executable_extensions; do
   6795   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6796     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6797     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6798     break 2
   6799   fi
   6800 done
   6801   done
   6802 IFS=$as_save_IFS
   6803 
   6804 fi
   6805 fi
   6806 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6807 if test -n "$ac_ct_NMEDIT"; then
   6808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6809 $as_echo "$ac_ct_NMEDIT" >&6; }
   6810 else
   6811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6812 $as_echo "no" >&6; }
   6813 fi
   6814 
   6815   if test "x$ac_ct_NMEDIT" = x; then
   6816     NMEDIT=":"
   6817   else
   6818     case $cross_compiling:$ac_tool_warned in
   6819 yes:)
   6820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6821 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6822 ac_tool_warned=yes ;;
   6823 esac
   6824     NMEDIT=$ac_ct_NMEDIT
   6825   fi
   6826 else
   6827   NMEDIT="$ac_cv_prog_NMEDIT"
   6828 fi
   6829 
   6830     if test -n "$ac_tool_prefix"; then
   6831   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6832 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6834 $as_echo_n "checking for $ac_word... " >&6; }
   6835 if ${ac_cv_prog_LIPO+:} false; then :
   6836   $as_echo_n "(cached) " >&6
   6837 else
   6838   if test -n "$LIPO"; then
   6839   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6840 else
   6841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6842 for as_dir in $PATH
   6843 do
   6844   IFS=$as_save_IFS
   6845   test -z "$as_dir" && as_dir=.
   6846     for ac_exec_ext in '' $ac_executable_extensions; do
   6847   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6848     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6849     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6850     break 2
   6851   fi
   6852 done
   6853   done
   6854 IFS=$as_save_IFS
   6855 
   6856 fi
   6857 fi
   6858 LIPO=$ac_cv_prog_LIPO
   6859 if test -n "$LIPO"; then
   6860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6861 $as_echo "$LIPO" >&6; }
   6862 else
   6863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6864 $as_echo "no" >&6; }
   6865 fi
   6866 
   6867 
   6868 fi
   6869 if test -z "$ac_cv_prog_LIPO"; then
   6870   ac_ct_LIPO=$LIPO
   6871   # Extract the first word of "lipo", so it can be a program name with args.
   6872 set dummy lipo; ac_word=$2
   6873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6874 $as_echo_n "checking for $ac_word... " >&6; }
   6875 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   6876   $as_echo_n "(cached) " >&6
   6877 else
   6878   if test -n "$ac_ct_LIPO"; then
   6879   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6880 else
   6881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6882 for as_dir in $PATH
   6883 do
   6884   IFS=$as_save_IFS
   6885   test -z "$as_dir" && as_dir=.
   6886     for ac_exec_ext in '' $ac_executable_extensions; do
   6887   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6888     ac_cv_prog_ac_ct_LIPO="lipo"
   6889     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6890     break 2
   6891   fi
   6892 done
   6893   done
   6894 IFS=$as_save_IFS
   6895 
   6896 fi
   6897 fi
   6898 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6899 if test -n "$ac_ct_LIPO"; then
   6900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6901 $as_echo "$ac_ct_LIPO" >&6; }
   6902 else
   6903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6904 $as_echo "no" >&6; }
   6905 fi
   6906 
   6907   if test "x$ac_ct_LIPO" = x; then
   6908     LIPO=":"
   6909   else
   6910     case $cross_compiling:$ac_tool_warned in
   6911 yes:)
   6912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6913 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6914 ac_tool_warned=yes ;;
   6915 esac
   6916     LIPO=$ac_ct_LIPO
   6917   fi
   6918 else
   6919   LIPO="$ac_cv_prog_LIPO"
   6920 fi
   6921 
   6922     if test -n "$ac_tool_prefix"; then
   6923   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6924 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6926 $as_echo_n "checking for $ac_word... " >&6; }
   6927 if ${ac_cv_prog_OTOOL+:} false; then :
   6928   $as_echo_n "(cached) " >&6
   6929 else
   6930   if test -n "$OTOOL"; then
   6931   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6932 else
   6933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6934 for as_dir in $PATH
   6935 do
   6936   IFS=$as_save_IFS
   6937   test -z "$as_dir" && as_dir=.
   6938     for ac_exec_ext in '' $ac_executable_extensions; do
   6939   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6940     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6941     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6942     break 2
   6943   fi
   6944 done
   6945   done
   6946 IFS=$as_save_IFS
   6947 
   6948 fi
   6949 fi
   6950 OTOOL=$ac_cv_prog_OTOOL
   6951 if test -n "$OTOOL"; then
   6952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   6953 $as_echo "$OTOOL" >&6; }
   6954 else
   6955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6956 $as_echo "no" >&6; }
   6957 fi
   6958 
   6959 
   6960 fi
   6961 if test -z "$ac_cv_prog_OTOOL"; then
   6962   ac_ct_OTOOL=$OTOOL
   6963   # Extract the first word of "otool", so it can be a program name with args.
   6964 set dummy otool; ac_word=$2
   6965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6966 $as_echo_n "checking for $ac_word... " >&6; }
   6967 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   6968   $as_echo_n "(cached) " >&6
   6969 else
   6970   if test -n "$ac_ct_OTOOL"; then
   6971   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6972 else
   6973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6974 for as_dir in $PATH
   6975 do
   6976   IFS=$as_save_IFS
   6977   test -z "$as_dir" && as_dir=.
   6978     for ac_exec_ext in '' $ac_executable_extensions; do
   6979   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6980     ac_cv_prog_ac_ct_OTOOL="otool"
   6981     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6982     break 2
   6983   fi
   6984 done
   6985   done
   6986 IFS=$as_save_IFS
   6987 
   6988 fi
   6989 fi
   6990 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6991 if test -n "$ac_ct_OTOOL"; then
   6992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   6993 $as_echo "$ac_ct_OTOOL" >&6; }
   6994 else
   6995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6996 $as_echo "no" >&6; }
   6997 fi
   6998 
   6999   if test "x$ac_ct_OTOOL" = x; then
   7000     OTOOL=":"
   7001   else
   7002     case $cross_compiling:$ac_tool_warned in
   7003 yes:)
   7004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7005 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7006 ac_tool_warned=yes ;;
   7007 esac
   7008     OTOOL=$ac_ct_OTOOL
   7009   fi
   7010 else
   7011   OTOOL="$ac_cv_prog_OTOOL"
   7012 fi
   7013 
   7014     if test -n "$ac_tool_prefix"; then
   7015   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7016 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7018 $as_echo_n "checking for $ac_word... " >&6; }
   7019 if ${ac_cv_prog_OTOOL64+:} false; then :
   7020   $as_echo_n "(cached) " >&6
   7021 else
   7022   if test -n "$OTOOL64"; then
   7023   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7024 else
   7025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7026 for as_dir in $PATH
   7027 do
   7028   IFS=$as_save_IFS
   7029   test -z "$as_dir" && as_dir=.
   7030     for ac_exec_ext in '' $ac_executable_extensions; do
   7031   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7032     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7033     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7034     break 2
   7035   fi
   7036 done
   7037   done
   7038 IFS=$as_save_IFS
   7039 
   7040 fi
   7041 fi
   7042 OTOOL64=$ac_cv_prog_OTOOL64
   7043 if test -n "$OTOOL64"; then
   7044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7045 $as_echo "$OTOOL64" >&6; }
   7046 else
   7047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7048 $as_echo "no" >&6; }
   7049 fi
   7050 
   7051 
   7052 fi
   7053 if test -z "$ac_cv_prog_OTOOL64"; then
   7054   ac_ct_OTOOL64=$OTOOL64
   7055   # Extract the first word of "otool64", so it can be a program name with args.
   7056 set dummy otool64; ac_word=$2
   7057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7058 $as_echo_n "checking for $ac_word... " >&6; }
   7059 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   7060   $as_echo_n "(cached) " >&6
   7061 else
   7062   if test -n "$ac_ct_OTOOL64"; then
   7063   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7064 else
   7065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7066 for as_dir in $PATH
   7067 do
   7068   IFS=$as_save_IFS
   7069   test -z "$as_dir" && as_dir=.
   7070     for ac_exec_ext in '' $ac_executable_extensions; do
   7071   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7072     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7073     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7074     break 2
   7075   fi
   7076 done
   7077   done
   7078 IFS=$as_save_IFS
   7079 
   7080 fi
   7081 fi
   7082 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7083 if test -n "$ac_ct_OTOOL64"; then
   7084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7085 $as_echo "$ac_ct_OTOOL64" >&6; }
   7086 else
   7087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7088 $as_echo "no" >&6; }
   7089 fi
   7090 
   7091   if test "x$ac_ct_OTOOL64" = x; then
   7092     OTOOL64=":"
   7093   else
   7094     case $cross_compiling:$ac_tool_warned in
   7095 yes:)
   7096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7097 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7098 ac_tool_warned=yes ;;
   7099 esac
   7100     OTOOL64=$ac_ct_OTOOL64
   7101   fi
   7102 else
   7103   OTOOL64="$ac_cv_prog_OTOOL64"
   7104 fi
   7105 
   7106 
   7107 
   7108 
   7109 
   7110 
   7111 
   7112 
   7113 
   7114 
   7115 
   7116 
   7117 
   7118 
   7119 
   7120 
   7121 
   7122 
   7123 
   7124 
   7125 
   7126 
   7127 
   7128 
   7129 
   7130 
   7131 
   7132     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7133 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7134 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7135   $as_echo_n "(cached) " >&6
   7136 else
   7137   lt_cv_apple_cc_single_mod=no
   7138       if test -z "${LT_MULTI_MODULE}"; then
   7139 	# By default we will add the -single_module flag. You can override
   7140 	# by either setting the environment variable LT_MULTI_MODULE
   7141 	# non-empty at configure time, or by adding -multi_module to the
   7142 	# link flags.
   7143 	rm -rf libconftest.dylib*
   7144 	echo "int foo(void){return 1;}" > conftest.c
   7145 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7146 -dynamiclib -Wl,-single_module conftest.c" >&5
   7147 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7148 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7149         _lt_result=$?
   7150 	# If there is a non-empty error log, and "single_module"
   7151 	# appears in it, assume the flag caused a linker warning
   7152         if test -s conftest.err && $GREP single_module conftest.err; then
   7153 	  cat conftest.err >&5
   7154 	# Otherwise, if the output was created with a 0 exit code from
   7155 	# the compiler, it worked.
   7156 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   7157 	  lt_cv_apple_cc_single_mod=yes
   7158 	else
   7159 	  cat conftest.err >&5
   7160 	fi
   7161 	rm -rf libconftest.dylib*
   7162 	rm -f conftest.*
   7163       fi
   7164 fi
   7165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7166 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7167 
   7168     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7169 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7170 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7171   $as_echo_n "(cached) " >&6
   7172 else
   7173   lt_cv_ld_exported_symbols_list=no
   7174       save_LDFLAGS=$LDFLAGS
   7175       echo "_main" > conftest.sym
   7176       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7177       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7178 /* end confdefs.h.  */
   7179 
   7180 int
   7181 main ()
   7182 {
   7183 
   7184   ;
   7185   return 0;
   7186 }
   7187 _ACEOF
   7188 if ac_fn_c_try_link "$LINENO"; then :
   7189   lt_cv_ld_exported_symbols_list=yes
   7190 else
   7191   lt_cv_ld_exported_symbols_list=no
   7192 fi
   7193 rm -f core conftest.err conftest.$ac_objext \
   7194     conftest$ac_exeext conftest.$ac_ext
   7195 	LDFLAGS="$save_LDFLAGS"
   7196 
   7197 fi
   7198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7199 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7200 
   7201     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7202 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7203 if ${lt_cv_ld_force_load+:} false; then :
   7204   $as_echo_n "(cached) " >&6
   7205 else
   7206   lt_cv_ld_force_load=no
   7207       cat > conftest.c << _LT_EOF
   7208 int forced_loaded() { return 2;}
   7209 _LT_EOF
   7210       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7211       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7212       echo "$AR cru libconftest.a conftest.o" >&5
   7213       $AR cru libconftest.a conftest.o 2>&5
   7214       echo "$RANLIB libconftest.a" >&5
   7215       $RANLIB libconftest.a 2>&5
   7216       cat > conftest.c << _LT_EOF
   7217 int main() { return 0;}
   7218 _LT_EOF
   7219       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7220       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7221       _lt_result=$?
   7222       if test -s conftest.err && $GREP force_load conftest.err; then
   7223 	cat conftest.err >&5
   7224       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   7225 	lt_cv_ld_force_load=yes
   7226       else
   7227 	cat conftest.err >&5
   7228       fi
   7229         rm -f conftest.err libconftest.a conftest conftest.c
   7230         rm -rf conftest.dSYM
   7231 
   7232 fi
   7233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7234 $as_echo "$lt_cv_ld_force_load" >&6; }
   7235     case $host_os in
   7236     rhapsody* | darwin1.[012])
   7237       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7238     darwin1.*)
   7239       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7240     darwin*) # darwin 5.x on
   7241       # if running on 10.5 or later, the deployment target defaults
   7242       # to the OS version, if on x86, and 10.4, the deployment
   7243       # target defaults to 10.4. Don't you love it?
   7244       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7245 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7246 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7247 	10.[012]*)
   7248 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7249 	10.*)
   7250 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7251       esac
   7252     ;;
   7253   esac
   7254     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7255       _lt_dar_single_mod='$single_module'
   7256     fi
   7257     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7258       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7259     else
   7260       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7261     fi
   7262     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7263       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7264     else
   7265       _lt_dsymutil=
   7266     fi
   7267     ;;
   7268   esac
   7269 
   7270 ac_ext=c
   7271 ac_cpp='$CPP $CPPFLAGS'
   7272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7276 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7277 # On Suns, sometimes $CPP names a directory.
   7278 if test -n "$CPP" && test -d "$CPP"; then
   7279   CPP=
   7280 fi
   7281 if test -z "$CPP"; then
   7282   if ${ac_cv_prog_CPP+:} false; then :
   7283   $as_echo_n "(cached) " >&6
   7284 else
   7285       # Double quotes because CPP needs to be expanded
   7286     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7287     do
   7288       ac_preproc_ok=false
   7289 for ac_c_preproc_warn_flag in '' yes
   7290 do
   7291   # Use a header file that comes with gcc, so configuring glibc
   7292   # with a fresh cross-compiler works.
   7293   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7294   # <limits.h> exists even on freestanding compilers.
   7295   # On the NeXT, cc -E runs the code through the compiler's parser,
   7296   # not just through cpp. "Syntax error" is here to catch this case.
   7297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7298 /* end confdefs.h.  */
   7299 #ifdef __STDC__
   7300 # include <limits.h>
   7301 #else
   7302 # include <assert.h>
   7303 #endif
   7304 		     Syntax error
   7305 _ACEOF
   7306 if ac_fn_c_try_cpp "$LINENO"; then :
   7307 
   7308 else
   7309   # Broken: fails on valid input.
   7310 continue
   7311 fi
   7312 rm -f conftest.err conftest.i conftest.$ac_ext
   7313 
   7314   # OK, works on sane cases.  Now check whether nonexistent headers
   7315   # can be detected and how.
   7316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7317 /* end confdefs.h.  */
   7318 #include <ac_nonexistent.h>
   7319 _ACEOF
   7320 if ac_fn_c_try_cpp "$LINENO"; then :
   7321   # Broken: success on invalid input.
   7322 continue
   7323 else
   7324   # Passes both tests.
   7325 ac_preproc_ok=:
   7326 break
   7327 fi
   7328 rm -f conftest.err conftest.i conftest.$ac_ext
   7329 
   7330 done
   7331 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7332 rm -f conftest.i conftest.err conftest.$ac_ext
   7333 if $ac_preproc_ok; then :
   7334   break
   7335 fi
   7336 
   7337     done
   7338     ac_cv_prog_CPP=$CPP
   7339 
   7340 fi
   7341   CPP=$ac_cv_prog_CPP
   7342 else
   7343   ac_cv_prog_CPP=$CPP
   7344 fi
   7345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7346 $as_echo "$CPP" >&6; }
   7347 ac_preproc_ok=false
   7348 for ac_c_preproc_warn_flag in '' yes
   7349 do
   7350   # Use a header file that comes with gcc, so configuring glibc
   7351   # with a fresh cross-compiler works.
   7352   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7353   # <limits.h> exists even on freestanding compilers.
   7354   # On the NeXT, cc -E runs the code through the compiler's parser,
   7355   # not just through cpp. "Syntax error" is here to catch this case.
   7356   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7357 /* end confdefs.h.  */
   7358 #ifdef __STDC__
   7359 # include <limits.h>
   7360 #else
   7361 # include <assert.h>
   7362 #endif
   7363 		     Syntax error
   7364 _ACEOF
   7365 if ac_fn_c_try_cpp "$LINENO"; then :
   7366 
   7367 else
   7368   # Broken: fails on valid input.
   7369 continue
   7370 fi
   7371 rm -f conftest.err conftest.i conftest.$ac_ext
   7372 
   7373   # OK, works on sane cases.  Now check whether nonexistent headers
   7374   # can be detected and how.
   7375   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7376 /* end confdefs.h.  */
   7377 #include <ac_nonexistent.h>
   7378 _ACEOF
   7379 if ac_fn_c_try_cpp "$LINENO"; then :
   7380   # Broken: success on invalid input.
   7381 continue
   7382 else
   7383   # Passes both tests.
   7384 ac_preproc_ok=:
   7385 break
   7386 fi
   7387 rm -f conftest.err conftest.i conftest.$ac_ext
   7388 
   7389 done
   7390 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7391 rm -f conftest.i conftest.err conftest.$ac_ext
   7392 if $ac_preproc_ok; then :
   7393 
   7394 else
   7395   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7396 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7397 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7398 See \`config.log' for more details" "$LINENO" 5; }
   7399 fi
   7400 
   7401 ac_ext=c
   7402 ac_cpp='$CPP $CPPFLAGS'
   7403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7406 
   7407 
   7408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7409 $as_echo_n "checking for ANSI C header files... " >&6; }
   7410 if ${ac_cv_header_stdc+:} false; then :
   7411   $as_echo_n "(cached) " >&6
   7412 else
   7413   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7414 /* end confdefs.h.  */
   7415 #include <stdlib.h>
   7416 #include <stdarg.h>
   7417 #include <string.h>
   7418 #include <float.h>
   7419 
   7420 int
   7421 main ()
   7422 {
   7423 
   7424   ;
   7425   return 0;
   7426 }
   7427 _ACEOF
   7428 if ac_fn_c_try_compile "$LINENO"; then :
   7429   ac_cv_header_stdc=yes
   7430 else
   7431   ac_cv_header_stdc=no
   7432 fi
   7433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7434 
   7435 if test $ac_cv_header_stdc = yes; then
   7436   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7438 /* end confdefs.h.  */
   7439 #include <string.h>
   7440 
   7441 _ACEOF
   7442 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7443   $EGREP "memchr" >/dev/null 2>&1; then :
   7444 
   7445 else
   7446   ac_cv_header_stdc=no
   7447 fi
   7448 rm -f conftest*
   7449 
   7450 fi
   7451 
   7452 if test $ac_cv_header_stdc = yes; then
   7453   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7454   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7455 /* end confdefs.h.  */
   7456 #include <stdlib.h>
   7457 
   7458 _ACEOF
   7459 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7460   $EGREP "free" >/dev/null 2>&1; then :
   7461 
   7462 else
   7463   ac_cv_header_stdc=no
   7464 fi
   7465 rm -f conftest*
   7466 
   7467 fi
   7468 
   7469 if test $ac_cv_header_stdc = yes; then
   7470   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7471   if test "$cross_compiling" = yes; then :
   7472   :
   7473 else
   7474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7475 /* end confdefs.h.  */
   7476 #include <ctype.h>
   7477 #include <stdlib.h>
   7478 #if ((' ' & 0x0FF) == 0x020)
   7479 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7480 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7481 #else
   7482 # define ISLOWER(c) \
   7483 		   (('a' <= (c) && (c) <= 'i') \
   7484 		     || ('j' <= (c) && (c) <= 'r') \
   7485 		     || ('s' <= (c) && (c) <= 'z'))
   7486 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7487 #endif
   7488 
   7489 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7490 int
   7491 main ()
   7492 {
   7493   int i;
   7494   for (i = 0; i < 256; i++)
   7495     if (XOR (islower (i), ISLOWER (i))
   7496 	|| toupper (i) != TOUPPER (i))
   7497       return 2;
   7498   return 0;
   7499 }
   7500 _ACEOF
   7501 if ac_fn_c_try_run "$LINENO"; then :
   7502 
   7503 else
   7504   ac_cv_header_stdc=no
   7505 fi
   7506 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7507   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7508 fi
   7509 
   7510 fi
   7511 fi
   7512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7513 $as_echo "$ac_cv_header_stdc" >&6; }
   7514 if test $ac_cv_header_stdc = yes; then
   7515 
   7516 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7517 
   7518 fi
   7519 
   7520 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7521 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7522 		  inttypes.h stdint.h unistd.h
   7523 do :
   7524   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7525 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7526 "
   7527 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7528   cat >>confdefs.h <<_ACEOF
   7529 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7530 _ACEOF
   7531 
   7532 fi
   7533 
   7534 done
   7535 
   7536 
   7537 for ac_header in dlfcn.h
   7538 do :
   7539   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7540 "
   7541 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7542   cat >>confdefs.h <<_ACEOF
   7543 #define HAVE_DLFCN_H 1
   7544 _ACEOF
   7545 
   7546 fi
   7547 
   7548 done
   7549 
   7550 
   7551 
   7552 
   7553 
   7554 # Set options
   7555 
   7556 
   7557 
   7558         enable_dlopen=no
   7559 
   7560 
   7561   enable_win32_dll=no
   7562 
   7563 
   7564             # Check whether --enable-shared was given.
   7565 if test "${enable_shared+set}" = set; then :
   7566   enableval=$enable_shared; p=${PACKAGE-default}
   7567     case $enableval in
   7568     yes) enable_shared=yes ;;
   7569     no) enable_shared=no ;;
   7570     *)
   7571       enable_shared=no
   7572       # Look at the argument we got.  We use all the common list separators.
   7573       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7574       for pkg in $enableval; do
   7575 	IFS="$lt_save_ifs"
   7576 	if test "X$pkg" = "X$p"; then
   7577 	  enable_shared=yes
   7578 	fi
   7579       done
   7580       IFS="$lt_save_ifs"
   7581       ;;
   7582     esac
   7583 else
   7584   enable_shared=yes
   7585 fi
   7586 
   7587 
   7588 
   7589 
   7590 
   7591 
   7592 
   7593 
   7594 
   7595   # Check whether --enable-static was given.
   7596 if test "${enable_static+set}" = set; then :
   7597   enableval=$enable_static; p=${PACKAGE-default}
   7598     case $enableval in
   7599     yes) enable_static=yes ;;
   7600     no) enable_static=no ;;
   7601     *)
   7602      enable_static=no
   7603       # Look at the argument we got.  We use all the common list separators.
   7604       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7605       for pkg in $enableval; do
   7606 	IFS="$lt_save_ifs"
   7607 	if test "X$pkg" = "X$p"; then
   7608 	  enable_static=yes
   7609 	fi
   7610       done
   7611       IFS="$lt_save_ifs"
   7612       ;;
   7613     esac
   7614 else
   7615   enable_static=yes
   7616 fi
   7617 
   7618 
   7619 
   7620 
   7621 
   7622 
   7623 
   7624 
   7625 
   7626 
   7627 # Check whether --with-pic was given.
   7628 if test "${with_pic+set}" = set; then :
   7629   withval=$with_pic; lt_p=${PACKAGE-default}
   7630     case $withval in
   7631     yes|no) pic_mode=$withval ;;
   7632     *)
   7633       pic_mode=default
   7634       # Look at the argument we got.  We use all the common list separators.
   7635       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7636       for lt_pkg in $withval; do
   7637 	IFS="$lt_save_ifs"
   7638 	if test "X$lt_pkg" = "X$lt_p"; then
   7639 	  pic_mode=yes
   7640 	fi
   7641       done
   7642       IFS="$lt_save_ifs"
   7643       ;;
   7644     esac
   7645 else
   7646   pic_mode=default
   7647 fi
   7648 
   7649 
   7650 test -z "$pic_mode" && pic_mode=default
   7651 
   7652 
   7653 
   7654 
   7655 
   7656 
   7657 
   7658   # Check whether --enable-fast-install was given.
   7659 if test "${enable_fast_install+set}" = set; then :
   7660   enableval=$enable_fast_install; p=${PACKAGE-default}
   7661     case $enableval in
   7662     yes) enable_fast_install=yes ;;
   7663     no) enable_fast_install=no ;;
   7664     *)
   7665       enable_fast_install=no
   7666       # Look at the argument we got.  We use all the common list separators.
   7667       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7668       for pkg in $enableval; do
   7669 	IFS="$lt_save_ifs"
   7670 	if test "X$pkg" = "X$p"; then
   7671 	  enable_fast_install=yes
   7672 	fi
   7673       done
   7674       IFS="$lt_save_ifs"
   7675       ;;
   7676     esac
   7677 else
   7678   enable_fast_install=yes
   7679 fi
   7680 
   7681 
   7682 
   7683 
   7684 
   7685 
   7686 
   7687 
   7688 
   7689 
   7690 
   7691 # This can be used to rebuild libtool when needed
   7692 LIBTOOL_DEPS="$ltmain"
   7693 
   7694 # Always use our own libtool.
   7695 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7696 
   7697 
   7698 
   7699 
   7700 
   7701 
   7702 
   7703 
   7704 
   7705 
   7706 
   7707 
   7708 
   7709 
   7710 
   7711 
   7712 
   7713 
   7714 
   7715 
   7716 
   7717 
   7718 
   7719 
   7720 
   7721 
   7722 
   7723 
   7724 
   7725 
   7726 test -z "$LN_S" && LN_S="ln -s"
   7727 
   7728 
   7729 
   7730 
   7731 
   7732 
   7733 
   7734 
   7735 
   7736 
   7737 
   7738 
   7739 
   7740 
   7741 if test -n "${ZSH_VERSION+set}" ; then
   7742    setopt NO_GLOB_SUBST
   7743 fi
   7744 
   7745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7746 $as_echo_n "checking for objdir... " >&6; }
   7747 if ${lt_cv_objdir+:} false; then :
   7748   $as_echo_n "(cached) " >&6
   7749 else
   7750   rm -f .libs 2>/dev/null
   7751 mkdir .libs 2>/dev/null
   7752 if test -d .libs; then
   7753   lt_cv_objdir=.libs
   7754 else
   7755   # MS-DOS does not allow filenames that begin with a dot.
   7756   lt_cv_objdir=_libs
   7757 fi
   7758 rmdir .libs 2>/dev/null
   7759 fi
   7760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7761 $as_echo "$lt_cv_objdir" >&6; }
   7762 objdir=$lt_cv_objdir
   7763 
   7764 
   7765 
   7766 
   7767 
   7768 cat >>confdefs.h <<_ACEOF
   7769 #define LT_OBJDIR "$lt_cv_objdir/"
   7770 _ACEOF
   7771 
   7772 
   7773 
   7774 
   7775 case $host_os in
   7776 aix3*)
   7777   # AIX sometimes has problems with the GCC collect2 program.  For some
   7778   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7779   # vanish in a puff of smoke.
   7780   if test "X${COLLECT_NAMES+set}" != Xset; then
   7781     COLLECT_NAMES=
   7782     export COLLECT_NAMES
   7783   fi
   7784   ;;
   7785 esac
   7786 
   7787 # Global variables:
   7788 ofile=libtool
   7789 can_build_shared=yes
   7790 
   7791 # All known linkers require a `.a' archive for static linking (except MSVC,
   7792 # which needs '.lib').
   7793 libext=a
   7794 
   7795 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7796 
   7797 old_CC="$CC"
   7798 old_CFLAGS="$CFLAGS"
   7799 
   7800 # Set sane defaults for various variables
   7801 test -z "$CC" && CC=cc
   7802 test -z "$LTCC" && LTCC=$CC
   7803 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7804 test -z "$LD" && LD=ld
   7805 test -z "$ac_objext" && ac_objext=o
   7806 
   7807 for cc_temp in $compiler""; do
   7808   case $cc_temp in
   7809     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7810     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7811     \-*) ;;
   7812     *) break;;
   7813   esac
   7814 done
   7815 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7816 
   7817 
   7818 # Only perform the check for file, if the check method requires it
   7819 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7820 case $deplibs_check_method in
   7821 file_magic*)
   7822   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7823     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7824 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7825 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7826   $as_echo_n "(cached) " >&6
   7827 else
   7828   case $MAGIC_CMD in
   7829 [\\/*] |  ?:[\\/]*)
   7830   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7831   ;;
   7832 *)
   7833   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7834   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7835   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7836   for ac_dir in $ac_dummy; do
   7837     IFS="$lt_save_ifs"
   7838     test -z "$ac_dir" && ac_dir=.
   7839     if test -f $ac_dir/${ac_tool_prefix}file; then
   7840       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7841       if test -n "$file_magic_test_file"; then
   7842 	case $deplibs_check_method in
   7843 	"file_magic "*)
   7844 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7845 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7846 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7847 	    $EGREP "$file_magic_regex" > /dev/null; then
   7848 	    :
   7849 	  else
   7850 	    cat <<_LT_EOF 1>&2
   7851 
   7852 *** Warning: the command libtool uses to detect shared libraries,
   7853 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7854 *** The result is that libtool may fail to recognize shared libraries
   7855 *** as such.  This will affect the creation of libtool libraries that
   7856 *** depend on shared libraries, but programs linked with such libtool
   7857 *** libraries will work regardless of this problem.  Nevertheless, you
   7858 *** may want to report the problem to your system manager and/or to
   7859 *** bug-libtool@gnu.org
   7860 
   7861 _LT_EOF
   7862 	  fi ;;
   7863 	esac
   7864       fi
   7865       break
   7866     fi
   7867   done
   7868   IFS="$lt_save_ifs"
   7869   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7870   ;;
   7871 esac
   7872 fi
   7873 
   7874 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7875 if test -n "$MAGIC_CMD"; then
   7876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7877 $as_echo "$MAGIC_CMD" >&6; }
   7878 else
   7879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7880 $as_echo "no" >&6; }
   7881 fi
   7882 
   7883 
   7884 
   7885 
   7886 
   7887 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7888   if test -n "$ac_tool_prefix"; then
   7889     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7890 $as_echo_n "checking for file... " >&6; }
   7891 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7892   $as_echo_n "(cached) " >&6
   7893 else
   7894   case $MAGIC_CMD in
   7895 [\\/*] |  ?:[\\/]*)
   7896   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7897   ;;
   7898 *)
   7899   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7900   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7901   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7902   for ac_dir in $ac_dummy; do
   7903     IFS="$lt_save_ifs"
   7904     test -z "$ac_dir" && ac_dir=.
   7905     if test -f $ac_dir/file; then
   7906       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7907       if test -n "$file_magic_test_file"; then
   7908 	case $deplibs_check_method in
   7909 	"file_magic "*)
   7910 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7911 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7912 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7913 	    $EGREP "$file_magic_regex" > /dev/null; then
   7914 	    :
   7915 	  else
   7916 	    cat <<_LT_EOF 1>&2
   7917 
   7918 *** Warning: the command libtool uses to detect shared libraries,
   7919 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7920 *** The result is that libtool may fail to recognize shared libraries
   7921 *** as such.  This will affect the creation of libtool libraries that
   7922 *** depend on shared libraries, but programs linked with such libtool
   7923 *** libraries will work regardless of this problem.  Nevertheless, you
   7924 *** may want to report the problem to your system manager and/or to
   7925 *** bug-libtool@gnu.org
   7926 
   7927 _LT_EOF
   7928 	  fi ;;
   7929 	esac
   7930       fi
   7931       break
   7932     fi
   7933   done
   7934   IFS="$lt_save_ifs"
   7935   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7936   ;;
   7937 esac
   7938 fi
   7939 
   7940 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7941 if test -n "$MAGIC_CMD"; then
   7942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7943 $as_echo "$MAGIC_CMD" >&6; }
   7944 else
   7945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7946 $as_echo "no" >&6; }
   7947 fi
   7948 
   7949 
   7950   else
   7951     MAGIC_CMD=:
   7952   fi
   7953 fi
   7954 
   7955   fi
   7956   ;;
   7957 esac
   7958 
   7959 # Use C for the default configuration in the libtool script
   7960 
   7961 lt_save_CC="$CC"
   7962 ac_ext=c
   7963 ac_cpp='$CPP $CPPFLAGS'
   7964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7967 
   7968 
   7969 # Source file extension for C test sources.
   7970 ac_ext=c
   7971 
   7972 # Object file extension for compiled C test sources.
   7973 objext=o
   7974 objext=$objext
   7975 
   7976 # Code to be used in simple compile tests
   7977 lt_simple_compile_test_code="int some_variable = 0;"
   7978 
   7979 # Code to be used in simple link tests
   7980 lt_simple_link_test_code='int main(){return(0);}'
   7981 
   7982 
   7983 
   7984 
   7985 
   7986 
   7987 
   7988 # If no C compiler was specified, use CC.
   7989 LTCC=${LTCC-"$CC"}
   7990 
   7991 # If no C compiler flags were specified, use CFLAGS.
   7992 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7993 
   7994 # Allow CC to be a program name with arguments.
   7995 compiler=$CC
   7996 
   7997 # Save the default compiler, since it gets overwritten when the other
   7998 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7999 compiler_DEFAULT=$CC
   8000 
   8001 # save warnings/boilerplate of simple test code
   8002 ac_outfile=conftest.$ac_objext
   8003 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8004 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8005 _lt_compiler_boilerplate=`cat conftest.err`
   8006 $RM conftest*
   8007 
   8008 ac_outfile=conftest.$ac_objext
   8009 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8010 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8011 _lt_linker_boilerplate=`cat conftest.err`
   8012 $RM -r conftest*
   8013 
   8014 
   8015 if test -n "$compiler"; then
   8016 
   8017 lt_prog_compiler_no_builtin_flag=
   8018 
   8019 if test "$GCC" = yes; then
   8020   case $cc_basename in
   8021   nvcc*)
   8022     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8023   *)
   8024     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8025   esac
   8026 
   8027   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8028 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8029 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8030   $as_echo_n "(cached) " >&6
   8031 else
   8032   lt_cv_prog_compiler_rtti_exceptions=no
   8033    ac_outfile=conftest.$ac_objext
   8034    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8035    lt_compiler_flag="-fno-rtti -fno-exceptions"
   8036    # Insert the option either (1) after the last *FLAGS variable, or
   8037    # (2) before a word containing "conftest.", or (3) at the end.
   8038    # Note that $ac_compile itself does not contain backslashes and begins
   8039    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8040    # The option is referenced via a variable to avoid confusing sed.
   8041    lt_compile=`echo "$ac_compile" | $SED \
   8042    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8043    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8044    -e 's:$: $lt_compiler_flag:'`
   8045    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8046    (eval "$lt_compile" 2>conftest.err)
   8047    ac_status=$?
   8048    cat conftest.err >&5
   8049    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8050    if (exit $ac_status) && test -s "$ac_outfile"; then
   8051      # The compiler can only warn and ignore the option if not recognized
   8052      # So say no if there are warnings other than the usual output.
   8053      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8054      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8055      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8056        lt_cv_prog_compiler_rtti_exceptions=yes
   8057      fi
   8058    fi
   8059    $RM conftest*
   8060 
   8061 fi
   8062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8063 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8064 
   8065 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   8066     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8067 else
   8068     :
   8069 fi
   8070 
   8071 fi
   8072 
   8073 
   8074 
   8075 
   8076 
   8077 
   8078   lt_prog_compiler_wl=
   8079 lt_prog_compiler_pic=
   8080 lt_prog_compiler_static=
   8081 
   8082 
   8083   if test "$GCC" = yes; then
   8084     lt_prog_compiler_wl='-Wl,'
   8085     lt_prog_compiler_static='-static'
   8086 
   8087     case $host_os in
   8088       aix*)
   8089       # All AIX code is PIC.
   8090       if test "$host_cpu" = ia64; then
   8091 	# AIX 5 now supports IA64 processor
   8092 	lt_prog_compiler_static='-Bstatic'
   8093       fi
   8094       ;;
   8095 
   8096     amigaos*)
   8097       case $host_cpu in
   8098       powerpc)
   8099             # see comment about AmigaOS4 .so support
   8100             lt_prog_compiler_pic='-fPIC'
   8101         ;;
   8102       m68k)
   8103             # FIXME: we need at least 68020 code to build shared libraries, but
   8104             # adding the `-m68020' flag to GCC prevents building anything better,
   8105             # like `-m68040'.
   8106             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8107         ;;
   8108       esac
   8109       ;;
   8110 
   8111     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8112       # PIC is the default for these OSes.
   8113       ;;
   8114 
   8115     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8116       # This hack is so that the source file can tell whether it is being
   8117       # built for inclusion in a dll (and should export symbols for example).
   8118       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8119       # (--disable-auto-import) libraries
   8120       lt_prog_compiler_pic='-DDLL_EXPORT'
   8121       ;;
   8122 
   8123     darwin* | rhapsody*)
   8124       # PIC is the default on this platform
   8125       # Common symbols not allowed in MH_DYLIB files
   8126       lt_prog_compiler_pic='-fno-common'
   8127       ;;
   8128 
   8129     haiku*)
   8130       # PIC is the default for Haiku.
   8131       # The "-static" flag exists, but is broken.
   8132       lt_prog_compiler_static=
   8133       ;;
   8134 
   8135     hpux*)
   8136       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8137       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8138       # sets the default TLS model and affects inlining.
   8139       case $host_cpu in
   8140       hppa*64*)
   8141 	# +Z the default
   8142 	;;
   8143       *)
   8144 	lt_prog_compiler_pic='-fPIC'
   8145 	;;
   8146       esac
   8147       ;;
   8148 
   8149     interix[3-9]*)
   8150       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8151       # Instead, we relocate shared libraries at runtime.
   8152       ;;
   8153 
   8154     msdosdjgpp*)
   8155       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8156       # on systems that don't support them.
   8157       lt_prog_compiler_can_build_shared=no
   8158       enable_shared=no
   8159       ;;
   8160 
   8161     *nto* | *qnx*)
   8162       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8163       # it will coredump.
   8164       lt_prog_compiler_pic='-fPIC -shared'
   8165       ;;
   8166 
   8167     sysv4*MP*)
   8168       if test -d /usr/nec; then
   8169 	lt_prog_compiler_pic=-Kconform_pic
   8170       fi
   8171       ;;
   8172 
   8173     *)
   8174       lt_prog_compiler_pic='-fPIC'
   8175       ;;
   8176     esac
   8177 
   8178     case $cc_basename in
   8179     nvcc*) # Cuda Compiler Driver 2.2
   8180       lt_prog_compiler_wl='-Xlinker '
   8181       if test -n "$lt_prog_compiler_pic"; then
   8182         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   8183       fi
   8184       ;;
   8185     esac
   8186   else
   8187     # PORTME Check for flag to pass linker flags through the system compiler.
   8188     case $host_os in
   8189     aix*)
   8190       lt_prog_compiler_wl='-Wl,'
   8191       if test "$host_cpu" = ia64; then
   8192 	# AIX 5 now supports IA64 processor
   8193 	lt_prog_compiler_static='-Bstatic'
   8194       else
   8195 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8196       fi
   8197       ;;
   8198 
   8199     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8200       # This hack is so that the source file can tell whether it is being
   8201       # built for inclusion in a dll (and should export symbols for example).
   8202       lt_prog_compiler_pic='-DDLL_EXPORT'
   8203       ;;
   8204 
   8205     hpux9* | hpux10* | hpux11*)
   8206       lt_prog_compiler_wl='-Wl,'
   8207       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8208       # not for PA HP-UX.
   8209       case $host_cpu in
   8210       hppa*64*|ia64*)
   8211 	# +Z the default
   8212 	;;
   8213       *)
   8214 	lt_prog_compiler_pic='+Z'
   8215 	;;
   8216       esac
   8217       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8218       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8219       ;;
   8220 
   8221     irix5* | irix6* | nonstopux*)
   8222       lt_prog_compiler_wl='-Wl,'
   8223       # PIC (with -KPIC) is the default.
   8224       lt_prog_compiler_static='-non_shared'
   8225       ;;
   8226 
   8227     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8228       case $cc_basename in
   8229       # old Intel for x86_64 which still supported -KPIC.
   8230       ecc*)
   8231 	lt_prog_compiler_wl='-Wl,'
   8232 	lt_prog_compiler_pic='-KPIC'
   8233 	lt_prog_compiler_static='-static'
   8234         ;;
   8235       # icc used to be incompatible with GCC.
   8236       # ICC 10 doesn't accept -KPIC any more.
   8237       icc* | ifort*)
   8238 	lt_prog_compiler_wl='-Wl,'
   8239 	lt_prog_compiler_pic='-fPIC'
   8240 	lt_prog_compiler_static='-static'
   8241         ;;
   8242       # Lahey Fortran 8.1.
   8243       lf95*)
   8244 	lt_prog_compiler_wl='-Wl,'
   8245 	lt_prog_compiler_pic='--shared'
   8246 	lt_prog_compiler_static='--static'
   8247 	;;
   8248       nagfor*)
   8249 	# NAG Fortran compiler
   8250 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8251 	lt_prog_compiler_pic='-PIC'
   8252 	lt_prog_compiler_static='-Bstatic'
   8253 	;;
   8254       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8255         # Portland Group compilers (*not* the Pentium gcc compiler,
   8256 	# which looks to be a dead project)
   8257 	lt_prog_compiler_wl='-Wl,'
   8258 	lt_prog_compiler_pic='-fpic'
   8259 	lt_prog_compiler_static='-Bstatic'
   8260         ;;
   8261       ccc*)
   8262         lt_prog_compiler_wl='-Wl,'
   8263         # All Alpha code is PIC.
   8264         lt_prog_compiler_static='-non_shared'
   8265         ;;
   8266       xl* | bgxl* | bgf* | mpixl*)
   8267 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8268 	lt_prog_compiler_wl='-Wl,'
   8269 	lt_prog_compiler_pic='-qpic'
   8270 	lt_prog_compiler_static='-qstaticlink'
   8271 	;;
   8272       *)
   8273 	case `$CC -V 2>&1 | sed 5q` in
   8274 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8275 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8276 	  lt_prog_compiler_pic='-KPIC'
   8277 	  lt_prog_compiler_static='-Bstatic'
   8278 	  lt_prog_compiler_wl=''
   8279 	  ;;
   8280 	*Sun\ F* | *Sun*Fortran*)
   8281 	  lt_prog_compiler_pic='-KPIC'
   8282 	  lt_prog_compiler_static='-Bstatic'
   8283 	  lt_prog_compiler_wl='-Qoption ld '
   8284 	  ;;
   8285 	*Sun\ C*)
   8286 	  # Sun C 5.9
   8287 	  lt_prog_compiler_pic='-KPIC'
   8288 	  lt_prog_compiler_static='-Bstatic'
   8289 	  lt_prog_compiler_wl='-Wl,'
   8290 	  ;;
   8291         *Intel*\ [CF]*Compiler*)
   8292 	  lt_prog_compiler_wl='-Wl,'
   8293 	  lt_prog_compiler_pic='-fPIC'
   8294 	  lt_prog_compiler_static='-static'
   8295 	  ;;
   8296 	*Portland\ Group*)
   8297 	  lt_prog_compiler_wl='-Wl,'
   8298 	  lt_prog_compiler_pic='-fpic'
   8299 	  lt_prog_compiler_static='-Bstatic'
   8300 	  ;;
   8301 	esac
   8302 	;;
   8303       esac
   8304       ;;
   8305 
   8306     newsos6)
   8307       lt_prog_compiler_pic='-KPIC'
   8308       lt_prog_compiler_static='-Bstatic'
   8309       ;;
   8310 
   8311     *nto* | *qnx*)
   8312       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8313       # it will coredump.
   8314       lt_prog_compiler_pic='-fPIC -shared'
   8315       ;;
   8316 
   8317     osf3* | osf4* | osf5*)
   8318       lt_prog_compiler_wl='-Wl,'
   8319       # All OSF/1 code is PIC.
   8320       lt_prog_compiler_static='-non_shared'
   8321       ;;
   8322 
   8323     rdos*)
   8324       lt_prog_compiler_static='-non_shared'
   8325       ;;
   8326 
   8327     solaris*)
   8328       lt_prog_compiler_pic='-KPIC'
   8329       lt_prog_compiler_static='-Bstatic'
   8330       case $cc_basename in
   8331       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8332 	lt_prog_compiler_wl='-Qoption ld ';;
   8333       *)
   8334 	lt_prog_compiler_wl='-Wl,';;
   8335       esac
   8336       ;;
   8337 
   8338     sunos4*)
   8339       lt_prog_compiler_wl='-Qoption ld '
   8340       lt_prog_compiler_pic='-PIC'
   8341       lt_prog_compiler_static='-Bstatic'
   8342       ;;
   8343 
   8344     sysv4 | sysv4.2uw2* | sysv4.3*)
   8345       lt_prog_compiler_wl='-Wl,'
   8346       lt_prog_compiler_pic='-KPIC'
   8347       lt_prog_compiler_static='-Bstatic'
   8348       ;;
   8349 
   8350     sysv4*MP*)
   8351       if test -d /usr/nec ;then
   8352 	lt_prog_compiler_pic='-Kconform_pic'
   8353 	lt_prog_compiler_static='-Bstatic'
   8354       fi
   8355       ;;
   8356 
   8357     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8358       lt_prog_compiler_wl='-Wl,'
   8359       lt_prog_compiler_pic='-KPIC'
   8360       lt_prog_compiler_static='-Bstatic'
   8361       ;;
   8362 
   8363     unicos*)
   8364       lt_prog_compiler_wl='-Wl,'
   8365       lt_prog_compiler_can_build_shared=no
   8366       ;;
   8367 
   8368     uts4*)
   8369       lt_prog_compiler_pic='-pic'
   8370       lt_prog_compiler_static='-Bstatic'
   8371       ;;
   8372 
   8373     *)
   8374       lt_prog_compiler_can_build_shared=no
   8375       ;;
   8376     esac
   8377   fi
   8378 
   8379 case $host_os in
   8380   # For platforms which do not support PIC, -DPIC is meaningless:
   8381   *djgpp*)
   8382     lt_prog_compiler_pic=
   8383     ;;
   8384   *)
   8385     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8386     ;;
   8387 esac
   8388 
   8389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8390 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8391 if ${lt_cv_prog_compiler_pic+:} false; then :
   8392   $as_echo_n "(cached) " >&6
   8393 else
   8394   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8395 fi
   8396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8397 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8398 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8399 
   8400 #
   8401 # Check to make sure the PIC flag actually works.
   8402 #
   8403 if test -n "$lt_prog_compiler_pic"; then
   8404   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8405 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8406 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8407   $as_echo_n "(cached) " >&6
   8408 else
   8409   lt_cv_prog_compiler_pic_works=no
   8410    ac_outfile=conftest.$ac_objext
   8411    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8412    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8413    # Insert the option either (1) after the last *FLAGS variable, or
   8414    # (2) before a word containing "conftest.", or (3) at the end.
   8415    # Note that $ac_compile itself does not contain backslashes and begins
   8416    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8417    # The option is referenced via a variable to avoid confusing sed.
   8418    lt_compile=`echo "$ac_compile" | $SED \
   8419    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8420    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8421    -e 's:$: $lt_compiler_flag:'`
   8422    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8423    (eval "$lt_compile" 2>conftest.err)
   8424    ac_status=$?
   8425    cat conftest.err >&5
   8426    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8427    if (exit $ac_status) && test -s "$ac_outfile"; then
   8428      # The compiler can only warn and ignore the option if not recognized
   8429      # So say no if there are warnings other than the usual output.
   8430      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8431      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8432      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8433        lt_cv_prog_compiler_pic_works=yes
   8434      fi
   8435    fi
   8436    $RM conftest*
   8437 
   8438 fi
   8439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8440 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8441 
   8442 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8443     case $lt_prog_compiler_pic in
   8444      "" | " "*) ;;
   8445      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8446      esac
   8447 else
   8448     lt_prog_compiler_pic=
   8449      lt_prog_compiler_can_build_shared=no
   8450 fi
   8451 
   8452 fi
   8453 
   8454 
   8455 
   8456 
   8457 
   8458 
   8459 
   8460 
   8461 
   8462 
   8463 
   8464 #
   8465 # Check to make sure the static flag actually works.
   8466 #
   8467 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8469 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8470 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8471   $as_echo_n "(cached) " >&6
   8472 else
   8473   lt_cv_prog_compiler_static_works=no
   8474    save_LDFLAGS="$LDFLAGS"
   8475    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8476    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8477    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8478      # The linker can only warn and ignore the option if not recognized
   8479      # So say no if there are warnings
   8480      if test -s conftest.err; then
   8481        # Append any errors to the config.log.
   8482        cat conftest.err 1>&5
   8483        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8484        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8485        if diff conftest.exp conftest.er2 >/dev/null; then
   8486          lt_cv_prog_compiler_static_works=yes
   8487        fi
   8488      else
   8489        lt_cv_prog_compiler_static_works=yes
   8490      fi
   8491    fi
   8492    $RM -r conftest*
   8493    LDFLAGS="$save_LDFLAGS"
   8494 
   8495 fi
   8496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8497 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8498 
   8499 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8500     :
   8501 else
   8502     lt_prog_compiler_static=
   8503 fi
   8504 
   8505 
   8506 
   8507 
   8508 
   8509 
   8510 
   8511   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8512 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8513 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8514   $as_echo_n "(cached) " >&6
   8515 else
   8516   lt_cv_prog_compiler_c_o=no
   8517    $RM -r conftest 2>/dev/null
   8518    mkdir conftest
   8519    cd conftest
   8520    mkdir out
   8521    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8522 
   8523    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8524    # Insert the option either (1) after the last *FLAGS variable, or
   8525    # (2) before a word containing "conftest.", or (3) at the end.
   8526    # Note that $ac_compile itself does not contain backslashes and begins
   8527    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8528    lt_compile=`echo "$ac_compile" | $SED \
   8529    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8530    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8531    -e 's:$: $lt_compiler_flag:'`
   8532    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8533    (eval "$lt_compile" 2>out/conftest.err)
   8534    ac_status=$?
   8535    cat out/conftest.err >&5
   8536    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8537    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8538    then
   8539      # The compiler can only warn and ignore the option if not recognized
   8540      # So say no if there are warnings
   8541      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8542      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8543      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8544        lt_cv_prog_compiler_c_o=yes
   8545      fi
   8546    fi
   8547    chmod u+w . 2>&5
   8548    $RM conftest*
   8549    # SGI C++ compiler will create directory out/ii_files/ for
   8550    # template instantiation
   8551    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8552    $RM out/* && rmdir out
   8553    cd ..
   8554    $RM -r conftest
   8555    $RM conftest*
   8556 
   8557 fi
   8558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8559 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8560 
   8561 
   8562 
   8563 
   8564 
   8565 
   8566   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8567 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8568 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8569   $as_echo_n "(cached) " >&6
   8570 else
   8571   lt_cv_prog_compiler_c_o=no
   8572    $RM -r conftest 2>/dev/null
   8573    mkdir conftest
   8574    cd conftest
   8575    mkdir out
   8576    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8577 
   8578    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8579    # Insert the option either (1) after the last *FLAGS variable, or
   8580    # (2) before a word containing "conftest.", or (3) at the end.
   8581    # Note that $ac_compile itself does not contain backslashes and begins
   8582    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8583    lt_compile=`echo "$ac_compile" | $SED \
   8584    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8585    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8586    -e 's:$: $lt_compiler_flag:'`
   8587    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8588    (eval "$lt_compile" 2>out/conftest.err)
   8589    ac_status=$?
   8590    cat out/conftest.err >&5
   8591    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8592    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8593    then
   8594      # The compiler can only warn and ignore the option if not recognized
   8595      # So say no if there are warnings
   8596      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8597      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8598      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8599        lt_cv_prog_compiler_c_o=yes
   8600      fi
   8601    fi
   8602    chmod u+w . 2>&5
   8603    $RM conftest*
   8604    # SGI C++ compiler will create directory out/ii_files/ for
   8605    # template instantiation
   8606    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8607    $RM out/* && rmdir out
   8608    cd ..
   8609    $RM -r conftest
   8610    $RM conftest*
   8611 
   8612 fi
   8613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8614 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8615 
   8616 
   8617 
   8618 
   8619 hard_links="nottested"
   8620 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8621   # do not overwrite the value of need_locks provided by the user
   8622   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8623 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8624   hard_links=yes
   8625   $RM conftest*
   8626   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8627   touch conftest.a
   8628   ln conftest.a conftest.b 2>&5 || hard_links=no
   8629   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8631 $as_echo "$hard_links" >&6; }
   8632   if test "$hard_links" = no; then
   8633     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8634 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8635     need_locks=warn
   8636   fi
   8637 else
   8638   need_locks=no
   8639 fi
   8640 
   8641 
   8642 
   8643 
   8644 
   8645 
   8646   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8647 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8648 
   8649   runpath_var=
   8650   allow_undefined_flag=
   8651   always_export_symbols=no
   8652   archive_cmds=
   8653   archive_expsym_cmds=
   8654   compiler_needs_object=no
   8655   enable_shared_with_static_runtimes=no
   8656   export_dynamic_flag_spec=
   8657   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8658   hardcode_automatic=no
   8659   hardcode_direct=no
   8660   hardcode_direct_absolute=no
   8661   hardcode_libdir_flag_spec=
   8662   hardcode_libdir_separator=
   8663   hardcode_minus_L=no
   8664   hardcode_shlibpath_var=unsupported
   8665   inherit_rpath=no
   8666   link_all_deplibs=unknown
   8667   module_cmds=
   8668   module_expsym_cmds=
   8669   old_archive_from_new_cmds=
   8670   old_archive_from_expsyms_cmds=
   8671   thread_safe_flag_spec=
   8672   whole_archive_flag_spec=
   8673   # include_expsyms should be a list of space-separated symbols to be *always*
   8674   # included in the symbol list
   8675   include_expsyms=
   8676   # exclude_expsyms can be an extended regexp of symbols to exclude
   8677   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8678   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8679   # as well as any symbol that contains `d'.
   8680   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8681   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8682   # platforms (ab)use it in PIC code, but their linkers get confused if
   8683   # the symbol is explicitly referenced.  Since portable code cannot
   8684   # rely on this symbol name, it's probably fine to never include it in
   8685   # preloaded symbol tables.
   8686   # Exclude shared library initialization/finalization symbols.
   8687   extract_expsyms_cmds=
   8688 
   8689   case $host_os in
   8690   cygwin* | mingw* | pw32* | cegcc*)
   8691     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8692     # When not using gcc, we currently assume that we are using
   8693     # Microsoft Visual C++.
   8694     if test "$GCC" != yes; then
   8695       with_gnu_ld=no
   8696     fi
   8697     ;;
   8698   interix*)
   8699     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8700     with_gnu_ld=yes
   8701     ;;
   8702   openbsd*)
   8703     with_gnu_ld=no
   8704     ;;
   8705   linux* | k*bsd*-gnu | gnu*)
   8706     link_all_deplibs=no
   8707     ;;
   8708   esac
   8709 
   8710   ld_shlibs=yes
   8711 
   8712   # On some targets, GNU ld is compatible enough with the native linker
   8713   # that we're better off using the native interface for both.
   8714   lt_use_gnu_ld_interface=no
   8715   if test "$with_gnu_ld" = yes; then
   8716     case $host_os in
   8717       aix*)
   8718 	# The AIX port of GNU ld has always aspired to compatibility
   8719 	# with the native linker.  However, as the warning in the GNU ld
   8720 	# block says, versions before 2.19.5* couldn't really create working
   8721 	# shared libraries, regardless of the interface used.
   8722 	case `$LD -v 2>&1` in
   8723 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8724 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8725 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8726 	  *)
   8727 	    lt_use_gnu_ld_interface=yes
   8728 	    ;;
   8729 	esac
   8730 	;;
   8731       *)
   8732 	lt_use_gnu_ld_interface=yes
   8733 	;;
   8734     esac
   8735   fi
   8736 
   8737   if test "$lt_use_gnu_ld_interface" = yes; then
   8738     # If archive_cmds runs LD, not CC, wlarc should be empty
   8739     wlarc='${wl}'
   8740 
   8741     # Set some defaults for GNU ld with shared library support. These
   8742     # are reset later if shared libraries are not supported. Putting them
   8743     # here allows them to be overridden if necessary.
   8744     runpath_var=LD_RUN_PATH
   8745     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8746     export_dynamic_flag_spec='${wl}--export-dynamic'
   8747     # ancient GNU ld didn't support --whole-archive et. al.
   8748     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8749       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8750     else
   8751       whole_archive_flag_spec=
   8752     fi
   8753     supports_anon_versioning=no
   8754     case `$LD -v 2>&1` in
   8755       *GNU\ gold*) supports_anon_versioning=yes ;;
   8756       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8757       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8758       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8759       *\ 2.11.*) ;; # other 2.11 versions
   8760       *) supports_anon_versioning=yes ;;
   8761     esac
   8762 
   8763     # See if GNU ld supports shared libraries.
   8764     case $host_os in
   8765     aix[3-9]*)
   8766       # On AIX/PPC, the GNU linker is very broken
   8767       if test "$host_cpu" != ia64; then
   8768 	ld_shlibs=no
   8769 	cat <<_LT_EOF 1>&2
   8770 
   8771 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8772 *** to be unable to reliably create shared libraries on AIX.
   8773 *** Therefore, libtool is disabling shared libraries support.  If you
   8774 *** really care for shared libraries, you may want to install binutils
   8775 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8776 *** You will then need to restart the configuration process.
   8777 
   8778 _LT_EOF
   8779       fi
   8780       ;;
   8781 
   8782     amigaos*)
   8783       case $host_cpu in
   8784       powerpc)
   8785             # see comment about AmigaOS4 .so support
   8786             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8787             archive_expsym_cmds=''
   8788         ;;
   8789       m68k)
   8790             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)'
   8791             hardcode_libdir_flag_spec='-L$libdir'
   8792             hardcode_minus_L=yes
   8793         ;;
   8794       esac
   8795       ;;
   8796 
   8797     beos*)
   8798       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8799 	allow_undefined_flag=unsupported
   8800 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8801 	# support --undefined.  This deserves some investigation.  FIXME
   8802 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8803       else
   8804 	ld_shlibs=no
   8805       fi
   8806       ;;
   8807 
   8808     cygwin* | mingw* | pw32* | cegcc*)
   8809       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8810       # as there is no search path for DLLs.
   8811       hardcode_libdir_flag_spec='-L$libdir'
   8812       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8813       allow_undefined_flag=unsupported
   8814       always_export_symbols=no
   8815       enable_shared_with_static_runtimes=yes
   8816       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'
   8817       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   8818 
   8819       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8820         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8821 	# If the export-symbols file already is a .def file (1st line
   8822 	# is EXPORTS), use it as is; otherwise, prepend...
   8823 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8824 	  cp $export_symbols $output_objdir/$soname.def;
   8825 	else
   8826 	  echo EXPORTS > $output_objdir/$soname.def;
   8827 	  cat $export_symbols >> $output_objdir/$soname.def;
   8828 	fi~
   8829 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8830       else
   8831 	ld_shlibs=no
   8832       fi
   8833       ;;
   8834 
   8835     haiku*)
   8836       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8837       link_all_deplibs=yes
   8838       ;;
   8839 
   8840     interix[3-9]*)
   8841       hardcode_direct=no
   8842       hardcode_shlibpath_var=no
   8843       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8844       export_dynamic_flag_spec='${wl}-E'
   8845       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8846       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8847       # default) and relocated if they conflict, which is a slow very memory
   8848       # consuming and fragmenting process.  To avoid this, we pick a random,
   8849       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8850       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8851       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8852       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'
   8853       ;;
   8854 
   8855     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8856       tmp_diet=no
   8857       if test "$host_os" = linux-dietlibc; then
   8858 	case $cc_basename in
   8859 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8860 	esac
   8861       fi
   8862       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8863 	 && test "$tmp_diet" = no
   8864       then
   8865 	tmp_addflag=' $pic_flag'
   8866 	tmp_sharedflag='-shared'
   8867 	case $cc_basename,$host_cpu in
   8868         pgcc*)				# Portland Group C compiler
   8869 	  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'
   8870 	  tmp_addflag=' $pic_flag'
   8871 	  ;;
   8872 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8873 					# Portland Group f77 and f90 compilers
   8874 	  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'
   8875 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8876 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8877 	  tmp_addflag=' -i_dynamic' ;;
   8878 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8879 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8880 	ifc* | ifort*)			# Intel Fortran compiler
   8881 	  tmp_addflag=' -nofor_main' ;;
   8882 	lf95*)				# Lahey Fortran 8.1
   8883 	  whole_archive_flag_spec=
   8884 	  tmp_sharedflag='--shared' ;;
   8885 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8886 	  tmp_sharedflag='-qmkshrobj'
   8887 	  tmp_addflag= ;;
   8888 	nvcc*)	# Cuda Compiler Driver 2.2
   8889 	  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'
   8890 	  compiler_needs_object=yes
   8891 	  ;;
   8892 	esac
   8893 	case `$CC -V 2>&1 | sed 5q` in
   8894 	*Sun\ C*)			# Sun C 5.9
   8895 	  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'
   8896 	  compiler_needs_object=yes
   8897 	  tmp_sharedflag='-G' ;;
   8898 	*Sun\ F*)			# Sun Fortran 8.3
   8899 	  tmp_sharedflag='-G' ;;
   8900 	esac
   8901 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8902 
   8903         if test "x$supports_anon_versioning" = xyes; then
   8904           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8905 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8906 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8907 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8908         fi
   8909 
   8910 	case $cc_basename in
   8911 	xlf* | bgf* | bgxlf* | mpixlf*)
   8912 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8913 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8914 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8915 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   8916 	  if test "x$supports_anon_versioning" = xyes; then
   8917 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8918 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8919 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8920 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8921 	  fi
   8922 	  ;;
   8923 	esac
   8924       else
   8925         ld_shlibs=no
   8926       fi
   8927       ;;
   8928 
   8929     netbsd* | netbsdelf*-gnu)
   8930       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8931 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8932 	wlarc=
   8933       else
   8934 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8935 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8936       fi
   8937       ;;
   8938 
   8939     solaris*)
   8940       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8941 	ld_shlibs=no
   8942 	cat <<_LT_EOF 1>&2
   8943 
   8944 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8945 *** create shared libraries on Solaris systems.  Therefore, libtool
   8946 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8947 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8948 *** your PATH or compiler configuration so that the native linker is
   8949 *** used, and then restart.
   8950 
   8951 _LT_EOF
   8952       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8953 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8954 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8955       else
   8956 	ld_shlibs=no
   8957       fi
   8958       ;;
   8959 
   8960     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8961       case `$LD -v 2>&1` in
   8962         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8963 	ld_shlibs=no
   8964 	cat <<_LT_EOF 1>&2
   8965 
   8966 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8967 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8968 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8969 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8970 *** your PATH or compiler configuration so that the native linker is
   8971 *** used, and then restart.
   8972 
   8973 _LT_EOF
   8974 	;;
   8975 	*)
   8976 	  # For security reasons, it is highly recommended that you always
   8977 	  # use absolute paths for naming shared libraries, and exclude the
   8978 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8979 	  # requires that you compile everything twice, which is a pain.
   8980 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8981 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8982 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8983 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8984 	  else
   8985 	    ld_shlibs=no
   8986 	  fi
   8987 	;;
   8988       esac
   8989       ;;
   8990 
   8991     sunos4*)
   8992       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8993       wlarc=
   8994       hardcode_direct=yes
   8995       hardcode_shlibpath_var=no
   8996       ;;
   8997 
   8998     *)
   8999       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9000 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9001 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9002       else
   9003 	ld_shlibs=no
   9004       fi
   9005       ;;
   9006     esac
   9007 
   9008     if test "$ld_shlibs" = no; then
   9009       runpath_var=
   9010       hardcode_libdir_flag_spec=
   9011       export_dynamic_flag_spec=
   9012       whole_archive_flag_spec=
   9013     fi
   9014   else
   9015     # PORTME fill in a description of your system's linker (not GNU ld)
   9016     case $host_os in
   9017     aix3*)
   9018       allow_undefined_flag=unsupported
   9019       always_export_symbols=yes
   9020       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'
   9021       # Note: this linker hardcodes the directories in LIBPATH if there
   9022       # are no directories specified by -L.
   9023       hardcode_minus_L=yes
   9024       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   9025 	# Neither direct hardcoding nor static linking is supported with a
   9026 	# broken collect2.
   9027 	hardcode_direct=unsupported
   9028       fi
   9029       ;;
   9030 
   9031     aix[4-9]*)
   9032       if test "$host_cpu" = ia64; then
   9033 	# On IA64, the linker does run time linking by default, so we don't
   9034 	# have to do anything special.
   9035 	aix_use_runtimelinking=no
   9036 	exp_sym_flag='-Bexport'
   9037 	no_entry_flag=""
   9038       else
   9039 	# If we're using GNU nm, then we don't want the "-C" option.
   9040 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   9041 	# Also, AIX nm treats weak defined symbols like other global
   9042 	# defined symbols, whereas GNU nm marks them as "W".
   9043 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9044 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   9045 	else
   9046 	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   9047 	fi
   9048 	aix_use_runtimelinking=no
   9049 
   9050 	# Test if we are trying to use run time linking or normal
   9051 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9052 	# need to do runtime linking.
   9053 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9054 	  for ld_flag in $LDFLAGS; do
   9055 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   9056 	    aix_use_runtimelinking=yes
   9057 	    break
   9058 	  fi
   9059 	  done
   9060 	  ;;
   9061 	esac
   9062 
   9063 	exp_sym_flag='-bexport'
   9064 	no_entry_flag='-bnoentry'
   9065       fi
   9066 
   9067       # When large executables or shared objects are built, AIX ld can
   9068       # have problems creating the table of contents.  If linking a library
   9069       # or program results in "error TOC overflow" add -mminimal-toc to
   9070       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9071       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9072 
   9073       archive_cmds=''
   9074       hardcode_direct=yes
   9075       hardcode_direct_absolute=yes
   9076       hardcode_libdir_separator=':'
   9077       link_all_deplibs=yes
   9078       file_list_spec='${wl}-f,'
   9079 
   9080       if test "$GCC" = yes; then
   9081 	case $host_os in aix4.[012]|aix4.[012].*)
   9082 	# We only want to do this on AIX 4.2 and lower, the check
   9083 	# below for broken collect2 doesn't work under 4.3+
   9084 	  collect2name=`${CC} -print-prog-name=collect2`
   9085 	  if test -f "$collect2name" &&
   9086 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9087 	  then
   9088 	  # We have reworked collect2
   9089 	  :
   9090 	  else
   9091 	  # We have old collect2
   9092 	  hardcode_direct=unsupported
   9093 	  # It fails to find uninstalled libraries when the uninstalled
   9094 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9095 	  # to unsupported forces relinking
   9096 	  hardcode_minus_L=yes
   9097 	  hardcode_libdir_flag_spec='-L$libdir'
   9098 	  hardcode_libdir_separator=
   9099 	  fi
   9100 	  ;;
   9101 	esac
   9102 	shared_flag='-shared'
   9103 	if test "$aix_use_runtimelinking" = yes; then
   9104 	  shared_flag="$shared_flag "'${wl}-G'
   9105 	fi
   9106 	link_all_deplibs=no
   9107       else
   9108 	# not using gcc
   9109 	if test "$host_cpu" = ia64; then
   9110 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9111 	# chokes on -Wl,-G. The following line is correct:
   9112 	  shared_flag='-G'
   9113 	else
   9114 	  if test "$aix_use_runtimelinking" = yes; then
   9115 	    shared_flag='${wl}-G'
   9116 	  else
   9117 	    shared_flag='${wl}-bM:SRE'
   9118 	  fi
   9119 	fi
   9120       fi
   9121 
   9122       export_dynamic_flag_spec='${wl}-bexpall'
   9123       # It seems that -bexpall does not export symbols beginning with
   9124       # underscore (_), so it is better to generate a list of symbols to export.
   9125       always_export_symbols=yes
   9126       if test "$aix_use_runtimelinking" = yes; then
   9127 	# Warning - without using the other runtime loading flags (-brtl),
   9128 	# -berok will link without error, but may produce a broken library.
   9129 	allow_undefined_flag='-berok'
   9130         # Determine the default libpath from the value encoded in an
   9131         # empty executable.
   9132         if test "${lt_cv_aix_libpath+set}" = set; then
   9133   aix_libpath=$lt_cv_aix_libpath
   9134 else
   9135   if ${lt_cv_aix_libpath_+:} false; then :
   9136   $as_echo_n "(cached) " >&6
   9137 else
   9138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9139 /* end confdefs.h.  */
   9140 
   9141 int
   9142 main ()
   9143 {
   9144 
   9145   ;
   9146   return 0;
   9147 }
   9148 _ACEOF
   9149 if ac_fn_c_try_link "$LINENO"; then :
   9150 
   9151   lt_aix_libpath_sed='
   9152       /Import File Strings/,/^$/ {
   9153 	  /^0/ {
   9154 	      s/^0  *\([^ ]*\) *$/\1/
   9155 	      p
   9156 	  }
   9157       }'
   9158   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9159   # Check for a 64-bit object if we didn't find anything.
   9160   if test -z "$lt_cv_aix_libpath_"; then
   9161     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9162   fi
   9163 fi
   9164 rm -f core conftest.err conftest.$ac_objext \
   9165     conftest$ac_exeext conftest.$ac_ext
   9166   if test -z "$lt_cv_aix_libpath_"; then
   9167     lt_cv_aix_libpath_="/usr/lib:/lib"
   9168   fi
   9169 
   9170 fi
   9171 
   9172   aix_libpath=$lt_cv_aix_libpath_
   9173 fi
   9174 
   9175         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9176         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   9177       else
   9178 	if test "$host_cpu" = ia64; then
   9179 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9180 	  allow_undefined_flag="-z nodefs"
   9181 	  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"
   9182 	else
   9183 	 # Determine the default libpath from the value encoded in an
   9184 	 # empty executable.
   9185 	 if test "${lt_cv_aix_libpath+set}" = set; then
   9186   aix_libpath=$lt_cv_aix_libpath
   9187 else
   9188   if ${lt_cv_aix_libpath_+:} false; then :
   9189   $as_echo_n "(cached) " >&6
   9190 else
   9191   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9192 /* end confdefs.h.  */
   9193 
   9194 int
   9195 main ()
   9196 {
   9197 
   9198   ;
   9199   return 0;
   9200 }
   9201 _ACEOF
   9202 if ac_fn_c_try_link "$LINENO"; then :
   9203 
   9204   lt_aix_libpath_sed='
   9205       /Import File Strings/,/^$/ {
   9206 	  /^0/ {
   9207 	      s/^0  *\([^ ]*\) *$/\1/
   9208 	      p
   9209 	  }
   9210       }'
   9211   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9212   # Check for a 64-bit object if we didn't find anything.
   9213   if test -z "$lt_cv_aix_libpath_"; then
   9214     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9215   fi
   9216 fi
   9217 rm -f core conftest.err conftest.$ac_objext \
   9218     conftest$ac_exeext conftest.$ac_ext
   9219   if test -z "$lt_cv_aix_libpath_"; then
   9220     lt_cv_aix_libpath_="/usr/lib:/lib"
   9221   fi
   9222 
   9223 fi
   9224 
   9225   aix_libpath=$lt_cv_aix_libpath_
   9226 fi
   9227 
   9228 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9229 	  # Warning - without using the other run time loading flags,
   9230 	  # -berok will link without error, but may produce a broken library.
   9231 	  no_undefined_flag=' ${wl}-bernotok'
   9232 	  allow_undefined_flag=' ${wl}-berok'
   9233 	  if test "$with_gnu_ld" = yes; then
   9234 	    # We only use this code for GNU lds that support --whole-archive.
   9235 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9236 	  else
   9237 	    # Exported symbols can be pulled into shared objects from archives
   9238 	    whole_archive_flag_spec='$convenience'
   9239 	  fi
   9240 	  archive_cmds_need_lc=yes
   9241 	  # This is similar to how AIX traditionally builds its shared libraries.
   9242 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
   9243 	fi
   9244       fi
   9245       ;;
   9246 
   9247     amigaos*)
   9248       case $host_cpu in
   9249       powerpc)
   9250             # see comment about AmigaOS4 .so support
   9251             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9252             archive_expsym_cmds=''
   9253         ;;
   9254       m68k)
   9255             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)'
   9256             hardcode_libdir_flag_spec='-L$libdir'
   9257             hardcode_minus_L=yes
   9258         ;;
   9259       esac
   9260       ;;
   9261 
   9262     bsdi[45]*)
   9263       export_dynamic_flag_spec=-rdynamic
   9264       ;;
   9265 
   9266     cygwin* | mingw* | pw32* | cegcc*)
   9267       # When not using gcc, we currently assume that we are using
   9268       # Microsoft Visual C++.
   9269       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9270       # no search path for DLLs.
   9271       case $cc_basename in
   9272       cl*)
   9273 	# Native MSVC
   9274 	hardcode_libdir_flag_spec=' '
   9275 	allow_undefined_flag=unsupported
   9276 	always_export_symbols=yes
   9277 	file_list_spec='@'
   9278 	# Tell ltmain to make .lib files, not .a files.
   9279 	libext=lib
   9280 	# Tell ltmain to make .dll files, not .so files.
   9281 	shrext_cmds=".dll"
   9282 	# FIXME: Setting linknames here is a bad hack.
   9283 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   9284 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9285 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   9286 	  else
   9287 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   9288 	  fi~
   9289 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9290 	  linknames='
   9291 	# The linker will not automatically build a static lib if we build a DLL.
   9292 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9293 	enable_shared_with_static_runtimes=yes
   9294 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9295 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9296 	# Don't use ranlib
   9297 	old_postinstall_cmds='chmod 644 $oldlib'
   9298 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9299 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   9300 	  case $lt_outputfile in
   9301 	    *.exe|*.EXE) ;;
   9302 	    *)
   9303 	      lt_outputfile="$lt_outputfile.exe"
   9304 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   9305 	      ;;
   9306 	  esac~
   9307 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   9308 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9309 	    $RM "$lt_outputfile.manifest";
   9310 	  fi'
   9311 	;;
   9312       *)
   9313 	# Assume MSVC wrapper
   9314 	hardcode_libdir_flag_spec=' '
   9315 	allow_undefined_flag=unsupported
   9316 	# Tell ltmain to make .lib files, not .a files.
   9317 	libext=lib
   9318 	# Tell ltmain to make .dll files, not .so files.
   9319 	shrext_cmds=".dll"
   9320 	# FIXME: Setting linknames here is a bad hack.
   9321 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9322 	# The linker will automatically build a .lib file if we build a DLL.
   9323 	old_archive_from_new_cmds='true'
   9324 	# FIXME: Should let the user specify the lib program.
   9325 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9326 	enable_shared_with_static_runtimes=yes
   9327 	;;
   9328       esac
   9329       ;;
   9330 
   9331     darwin* | rhapsody*)
   9332 
   9333 
   9334   archive_cmds_need_lc=no
   9335   hardcode_direct=no
   9336   hardcode_automatic=yes
   9337   hardcode_shlibpath_var=unsupported
   9338   if test "$lt_cv_ld_force_load" = "yes"; then
   9339     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\"`'
   9340 
   9341   else
   9342     whole_archive_flag_spec=''
   9343   fi
   9344   link_all_deplibs=yes
   9345   allow_undefined_flag="$_lt_dar_allow_undefined"
   9346   case $cc_basename in
   9347      ifort*) _lt_dar_can_shared=yes ;;
   9348      *) _lt_dar_can_shared=$GCC ;;
   9349   esac
   9350   if test "$_lt_dar_can_shared" = "yes"; then
   9351     output_verbose_link_cmd=func_echo_all
   9352     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9353     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9354     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}"
   9355     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}"
   9356 
   9357   else
   9358   ld_shlibs=no
   9359   fi
   9360 
   9361       ;;
   9362 
   9363     dgux*)
   9364       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9365       hardcode_libdir_flag_spec='-L$libdir'
   9366       hardcode_shlibpath_var=no
   9367       ;;
   9368 
   9369     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9370     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9371     # does not break anything, and helps significantly (at the cost of a little
   9372     # extra space).
   9373     freebsd2.2*)
   9374       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9375       hardcode_libdir_flag_spec='-R$libdir'
   9376       hardcode_direct=yes
   9377       hardcode_shlibpath_var=no
   9378       ;;
   9379 
   9380     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9381     freebsd2.*)
   9382       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9383       hardcode_direct=yes
   9384       hardcode_minus_L=yes
   9385       hardcode_shlibpath_var=no
   9386       ;;
   9387 
   9388     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9389     freebsd* | dragonfly*)
   9390       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9391       hardcode_libdir_flag_spec='-R$libdir'
   9392       hardcode_direct=yes
   9393       hardcode_shlibpath_var=no
   9394       ;;
   9395 
   9396     hpux9*)
   9397       if test "$GCC" = yes; then
   9398 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   9399       else
   9400 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   9401       fi
   9402       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9403       hardcode_libdir_separator=:
   9404       hardcode_direct=yes
   9405 
   9406       # hardcode_minus_L: Not really in the search PATH,
   9407       # but as the default location of the library.
   9408       hardcode_minus_L=yes
   9409       export_dynamic_flag_spec='${wl}-E'
   9410       ;;
   9411 
   9412     hpux10*)
   9413       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9414 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9415       else
   9416 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9417       fi
   9418       if test "$with_gnu_ld" = no; then
   9419 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9420 	hardcode_libdir_separator=:
   9421 	hardcode_direct=yes
   9422 	hardcode_direct_absolute=yes
   9423 	export_dynamic_flag_spec='${wl}-E'
   9424 	# hardcode_minus_L: Not really in the search PATH,
   9425 	# but as the default location of the library.
   9426 	hardcode_minus_L=yes
   9427       fi
   9428       ;;
   9429 
   9430     hpux11*)
   9431       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9432 	case $host_cpu in
   9433 	hppa*64*)
   9434 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9435 	  ;;
   9436 	ia64*)
   9437 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9438 	  ;;
   9439 	*)
   9440 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9441 	  ;;
   9442 	esac
   9443       else
   9444 	case $host_cpu in
   9445 	hppa*64*)
   9446 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9447 	  ;;
   9448 	ia64*)
   9449 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9450 	  ;;
   9451 	*)
   9452 
   9453 	  # Older versions of the 11.00 compiler do not understand -b yet
   9454 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9455 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9456 $as_echo_n "checking if $CC understands -b... " >&6; }
   9457 if ${lt_cv_prog_compiler__b+:} false; then :
   9458   $as_echo_n "(cached) " >&6
   9459 else
   9460   lt_cv_prog_compiler__b=no
   9461    save_LDFLAGS="$LDFLAGS"
   9462    LDFLAGS="$LDFLAGS -b"
   9463    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9464    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9465      # The linker can only warn and ignore the option if not recognized
   9466      # So say no if there are warnings
   9467      if test -s conftest.err; then
   9468        # Append any errors to the config.log.
   9469        cat conftest.err 1>&5
   9470        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9471        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9472        if diff conftest.exp conftest.er2 >/dev/null; then
   9473          lt_cv_prog_compiler__b=yes
   9474        fi
   9475      else
   9476        lt_cv_prog_compiler__b=yes
   9477      fi
   9478    fi
   9479    $RM -r conftest*
   9480    LDFLAGS="$save_LDFLAGS"
   9481 
   9482 fi
   9483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9484 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9485 
   9486 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9487     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9488 else
   9489     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9490 fi
   9491 
   9492 	  ;;
   9493 	esac
   9494       fi
   9495       if test "$with_gnu_ld" = no; then
   9496 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9497 	hardcode_libdir_separator=:
   9498 
   9499 	case $host_cpu in
   9500 	hppa*64*|ia64*)
   9501 	  hardcode_direct=no
   9502 	  hardcode_shlibpath_var=no
   9503 	  ;;
   9504 	*)
   9505 	  hardcode_direct=yes
   9506 	  hardcode_direct_absolute=yes
   9507 	  export_dynamic_flag_spec='${wl}-E'
   9508 
   9509 	  # hardcode_minus_L: Not really in the search PATH,
   9510 	  # but as the default location of the library.
   9511 	  hardcode_minus_L=yes
   9512 	  ;;
   9513 	esac
   9514       fi
   9515       ;;
   9516 
   9517     irix5* | irix6* | nonstopux*)
   9518       if test "$GCC" = yes; then
   9519 	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'
   9520 	# Try to use the -exported_symbol ld option, if it does not
   9521 	# work, assume that -exports_file does not work either and
   9522 	# implicitly export all symbols.
   9523 	# This should be the same for all languages, so no per-tag cache variable.
   9524 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9525 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9526 if ${lt_cv_irix_exported_symbol+:} false; then :
   9527   $as_echo_n "(cached) " >&6
   9528 else
   9529   save_LDFLAGS="$LDFLAGS"
   9530 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9531 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9532 /* end confdefs.h.  */
   9533 int foo (void) { return 0; }
   9534 _ACEOF
   9535 if ac_fn_c_try_link "$LINENO"; then :
   9536   lt_cv_irix_exported_symbol=yes
   9537 else
   9538   lt_cv_irix_exported_symbol=no
   9539 fi
   9540 rm -f core conftest.err conftest.$ac_objext \
   9541     conftest$ac_exeext conftest.$ac_ext
   9542            LDFLAGS="$save_LDFLAGS"
   9543 fi
   9544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9545 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9546 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9547           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'
   9548 	fi
   9549       else
   9550 	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'
   9551 	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'
   9552       fi
   9553       archive_cmds_need_lc='no'
   9554       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9555       hardcode_libdir_separator=:
   9556       inherit_rpath=yes
   9557       link_all_deplibs=yes
   9558       ;;
   9559 
   9560     netbsd* | netbsdelf*-gnu)
   9561       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9562 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9563       else
   9564 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9565       fi
   9566       hardcode_libdir_flag_spec='-R$libdir'
   9567       hardcode_direct=yes
   9568       hardcode_shlibpath_var=no
   9569       ;;
   9570 
   9571     newsos6)
   9572       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9573       hardcode_direct=yes
   9574       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9575       hardcode_libdir_separator=:
   9576       hardcode_shlibpath_var=no
   9577       ;;
   9578 
   9579     *nto* | *qnx*)
   9580       ;;
   9581 
   9582     openbsd*)
   9583       if test -f /usr/libexec/ld.so; then
   9584 	hardcode_direct=yes
   9585 	hardcode_shlibpath_var=no
   9586 	hardcode_direct_absolute=yes
   9587 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9588 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9589 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9590 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9591 	  export_dynamic_flag_spec='${wl}-E'
   9592 	else
   9593 	  case $host_os in
   9594 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9595 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9596 	     hardcode_libdir_flag_spec='-R$libdir'
   9597 	     ;;
   9598 	   *)
   9599 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9600 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9601 	     ;;
   9602 	  esac
   9603 	fi
   9604       else
   9605 	ld_shlibs=no
   9606       fi
   9607       ;;
   9608 
   9609     os2*)
   9610       hardcode_libdir_flag_spec='-L$libdir'
   9611       hardcode_minus_L=yes
   9612       allow_undefined_flag=unsupported
   9613       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
   9614       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9615       ;;
   9616 
   9617     osf3*)
   9618       if test "$GCC" = yes; then
   9619 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9620 	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'
   9621       else
   9622 	allow_undefined_flag=' -expect_unresolved \*'
   9623 	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'
   9624       fi
   9625       archive_cmds_need_lc='no'
   9626       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9627       hardcode_libdir_separator=:
   9628       ;;
   9629 
   9630     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9631       if test "$GCC" = yes; then
   9632 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9633 	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'
   9634 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9635       else
   9636 	allow_undefined_flag=' -expect_unresolved \*'
   9637 	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'
   9638 	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~
   9639 	$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'
   9640 
   9641 	# Both c and cxx compiler support -rpath directly
   9642 	hardcode_libdir_flag_spec='-rpath $libdir'
   9643       fi
   9644       archive_cmds_need_lc='no'
   9645       hardcode_libdir_separator=:
   9646       ;;
   9647 
   9648     solaris*)
   9649       no_undefined_flag=' -z defs'
   9650       if test "$GCC" = yes; then
   9651 	wlarc='${wl}'
   9652 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9653 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9654 	  $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'
   9655       else
   9656 	case `$CC -V 2>&1` in
   9657 	*"Compilers 5.0"*)
   9658 	  wlarc=''
   9659 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9660 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9661 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9662 	  ;;
   9663 	*)
   9664 	  wlarc='${wl}'
   9665 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9666 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9667 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9668 	  ;;
   9669 	esac
   9670       fi
   9671       hardcode_libdir_flag_spec='-R$libdir'
   9672       hardcode_shlibpath_var=no
   9673       case $host_os in
   9674       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9675       *)
   9676 	# The compiler driver will combine and reorder linker options,
   9677 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9678 	# but is careful enough not to reorder.
   9679 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9680 	if test "$GCC" = yes; then
   9681 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9682 	else
   9683 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9684 	fi
   9685 	;;
   9686       esac
   9687       link_all_deplibs=yes
   9688       ;;
   9689 
   9690     sunos4*)
   9691       if test "x$host_vendor" = xsequent; then
   9692 	# Use $CC to link under sequent, because it throws in some extra .o
   9693 	# files that make .init and .fini sections work.
   9694 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9695       else
   9696 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9697       fi
   9698       hardcode_libdir_flag_spec='-L$libdir'
   9699       hardcode_direct=yes
   9700       hardcode_minus_L=yes
   9701       hardcode_shlibpath_var=no
   9702       ;;
   9703 
   9704     sysv4)
   9705       case $host_vendor in
   9706 	sni)
   9707 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9708 	  hardcode_direct=yes # is this really true???
   9709 	;;
   9710 	siemens)
   9711 	  ## LD is ld it makes a PLAMLIB
   9712 	  ## CC just makes a GrossModule.
   9713 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9714 	  reload_cmds='$CC -r -o $output$reload_objs'
   9715 	  hardcode_direct=no
   9716         ;;
   9717 	motorola)
   9718 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9719 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9720 	;;
   9721       esac
   9722       runpath_var='LD_RUN_PATH'
   9723       hardcode_shlibpath_var=no
   9724       ;;
   9725 
   9726     sysv4.3*)
   9727       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9728       hardcode_shlibpath_var=no
   9729       export_dynamic_flag_spec='-Bexport'
   9730       ;;
   9731 
   9732     sysv4*MP*)
   9733       if test -d /usr/nec; then
   9734 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9735 	hardcode_shlibpath_var=no
   9736 	runpath_var=LD_RUN_PATH
   9737 	hardcode_runpath_var=yes
   9738 	ld_shlibs=yes
   9739       fi
   9740       ;;
   9741 
   9742     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9743       no_undefined_flag='${wl}-z,text'
   9744       archive_cmds_need_lc=no
   9745       hardcode_shlibpath_var=no
   9746       runpath_var='LD_RUN_PATH'
   9747 
   9748       if test "$GCC" = yes; then
   9749 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9750 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9751       else
   9752 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9753 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9754       fi
   9755       ;;
   9756 
   9757     sysv5* | sco3.2v5* | sco5v6*)
   9758       # Note: We can NOT use -z defs as we might desire, because we do not
   9759       # link with -lc, and that would cause any symbols used from libc to
   9760       # always be unresolved, which means just about no library would
   9761       # ever link correctly.  If we're not using GNU ld we use -z text
   9762       # though, which does catch some bad symbols but isn't as heavy-handed
   9763       # as -z defs.
   9764       no_undefined_flag='${wl}-z,text'
   9765       allow_undefined_flag='${wl}-z,nodefs'
   9766       archive_cmds_need_lc=no
   9767       hardcode_shlibpath_var=no
   9768       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9769       hardcode_libdir_separator=':'
   9770       link_all_deplibs=yes
   9771       export_dynamic_flag_spec='${wl}-Bexport'
   9772       runpath_var='LD_RUN_PATH'
   9773 
   9774       if test "$GCC" = yes; then
   9775 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9776 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9777       else
   9778 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9779 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9780       fi
   9781       ;;
   9782 
   9783     uts4*)
   9784       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9785       hardcode_libdir_flag_spec='-L$libdir'
   9786       hardcode_shlibpath_var=no
   9787       ;;
   9788 
   9789     *)
   9790       ld_shlibs=no
   9791       ;;
   9792     esac
   9793 
   9794     if test x$host_vendor = xsni; then
   9795       case $host in
   9796       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9797 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9798 	;;
   9799       esac
   9800     fi
   9801   fi
   9802 
   9803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9804 $as_echo "$ld_shlibs" >&6; }
   9805 test "$ld_shlibs" = no && can_build_shared=no
   9806 
   9807 with_gnu_ld=$with_gnu_ld
   9808 
   9809 
   9810 
   9811 
   9812 
   9813 
   9814 
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 #
   9824 # Do we need to explicitly link libc?
   9825 #
   9826 case "x$archive_cmds_need_lc" in
   9827 x|xyes)
   9828   # Assume -lc should be added
   9829   archive_cmds_need_lc=yes
   9830 
   9831   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9832     case $archive_cmds in
   9833     *'~'*)
   9834       # FIXME: we may have to deal with multi-command sequences.
   9835       ;;
   9836     '$CC '*)
   9837       # Test whether the compiler implicitly links with -lc since on some
   9838       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9839       # to ld, don't add -lc before -lgcc.
   9840       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9841 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9842 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9843   $as_echo_n "(cached) " >&6
   9844 else
   9845   $RM conftest*
   9846 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9847 
   9848 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9849   (eval $ac_compile) 2>&5
   9850   ac_status=$?
   9851   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9852   test $ac_status = 0; } 2>conftest.err; then
   9853 	  soname=conftest
   9854 	  lib=conftest
   9855 	  libobjs=conftest.$ac_objext
   9856 	  deplibs=
   9857 	  wl=$lt_prog_compiler_wl
   9858 	  pic_flag=$lt_prog_compiler_pic
   9859 	  compiler_flags=-v
   9860 	  linker_flags=-v
   9861 	  verstring=
   9862 	  output_objdir=.
   9863 	  libname=conftest
   9864 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9865 	  allow_undefined_flag=
   9866 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9867   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9868   ac_status=$?
   9869   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9870   test $ac_status = 0; }
   9871 	  then
   9872 	    lt_cv_archive_cmds_need_lc=no
   9873 	  else
   9874 	    lt_cv_archive_cmds_need_lc=yes
   9875 	  fi
   9876 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9877 	else
   9878 	  cat conftest.err 1>&5
   9879 	fi
   9880 	$RM conftest*
   9881 
   9882 fi
   9883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9884 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9885       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9886       ;;
   9887     esac
   9888   fi
   9889   ;;
   9890 esac
   9891 
   9892 
   9893 
   9894 
   9895 
   9896 
   9897 
   9898 
   9899 
   9900 
   9901 
   9902 
   9903 
   9904 
   9905 
   9906 
   9907 
   9908 
   9909 
   9910 
   9911 
   9912 
   9913 
   9914 
   9915 
   9916 
   9917 
   9918 
   9919 
   9920 
   9921 
   9922 
   9923 
   9924 
   9925 
   9926 
   9927 
   9928 
   9929 
   9930 
   9931 
   9932 
   9933 
   9934 
   9935 
   9936 
   9937 
   9938 
   9939 
   9940 
   9941 
   9942 
   9943 
   9944 
   9945 
   9946 
   9947 
   9948 
   9949 
   9950 
   9951 
   9952 
   9953 
   9954 
   9955 
   9956 
   9957 
   9958 
   9959 
   9960 
   9961 
   9962 
   9963 
   9964 
   9965 
   9966 
   9967 
   9968 
   9969 
   9970 
   9971 
   9972 
   9973 
   9974 
   9975 
   9976 
   9977 
   9978 
   9979 
   9980 
   9981 
   9982 
   9983 
   9984 
   9985 
   9986 
   9987 
   9988 
   9989 
   9990 
   9991 
   9992 
   9993 
   9994 
   9995 
   9996 
   9997 
   9998 
   9999 
   10000 
   10001 
   10002 
   10003 
   10004 
   10005 
   10006 
   10007 
   10008 
   10009 
   10010 
   10011 
   10012 
   10013 
   10014 
   10015 
   10016 
   10017 
   10018 
   10019 
   10020 
   10021 
   10022 
   10023 
   10024 
   10025 
   10026 
   10027 
   10028 
   10029 
   10030 
   10031 
   10032 
   10033 
   10034 
   10035 
   10036 
   10037 
   10038 
   10039 
   10040 
   10041 
   10042 
   10043   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10044 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10045 
   10046 if test "$GCC" = yes; then
   10047   case $host_os in
   10048     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   10049     *) lt_awk_arg="/^libraries:/" ;;
   10050   esac
   10051   case $host_os in
   10052     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   10053     *) lt_sed_strip_eq="s,=/,/,g" ;;
   10054   esac
   10055   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10056   case $lt_search_path_spec in
   10057   *\;*)
   10058     # if the path contains ";" then we assume it to be the separator
   10059     # otherwise default to the standard path separator (i.e. ":") - it is
   10060     # assumed that no part of a normal pathname contains ";" but that should
   10061     # okay in the real world where ";" in dirpaths is itself problematic.
   10062     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10063     ;;
   10064   *)
   10065     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10066     ;;
   10067   esac
   10068   # Ok, now we have the path, separated by spaces, we can step through it
   10069   # and add multilib dir if necessary.
   10070   lt_tmp_lt_search_path_spec=
   10071   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10072   for lt_sys_path in $lt_search_path_spec; do
   10073     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   10074       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   10075     else
   10076       test -d "$lt_sys_path" && \
   10077 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10078     fi
   10079   done
   10080   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10081 BEGIN {RS=" "; FS="/|\n";} {
   10082   lt_foo="";
   10083   lt_count=0;
   10084   for (lt_i = NF; lt_i > 0; lt_i--) {
   10085     if ($lt_i != "" && $lt_i != ".") {
   10086       if ($lt_i == "..") {
   10087         lt_count++;
   10088       } else {
   10089         if (lt_count == 0) {
   10090           lt_foo="/" $lt_i lt_foo;
   10091         } else {
   10092           lt_count--;
   10093         }
   10094       }
   10095     }
   10096   }
   10097   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10098   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10099 }'`
   10100   # AWK program above erroneously prepends '/' to C:/dos/paths
   10101   # for these hosts.
   10102   case $host_os in
   10103     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10104       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   10105   esac
   10106   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10107 else
   10108   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10109 fi
   10110 library_names_spec=
   10111 libname_spec='lib$name'
   10112 soname_spec=
   10113 shrext_cmds=".so"
   10114 postinstall_cmds=
   10115 postuninstall_cmds=
   10116 finish_cmds=
   10117 finish_eval=
   10118 shlibpath_var=
   10119 shlibpath_overrides_runpath=unknown
   10120 version_type=none
   10121 dynamic_linker="$host_os ld.so"
   10122 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10123 need_lib_prefix=unknown
   10124 hardcode_into_libs=no
   10125 
   10126 # when you set need_version to no, make sure it does not cause -set_version
   10127 # flags to be left without arguments
   10128 need_version=unknown
   10129 
   10130 case $host_os in
   10131 aix3*)
   10132   version_type=linux # correct to gnu/linux during the next big refactor
   10133   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10134   shlibpath_var=LIBPATH
   10135 
   10136   # AIX 3 has no versioning support, so we append a major version to the name.
   10137   soname_spec='${libname}${release}${shared_ext}$major'
   10138   ;;
   10139 
   10140 aix[4-9]*)
   10141   version_type=linux # correct to gnu/linux during the next big refactor
   10142   need_lib_prefix=no
   10143   need_version=no
   10144   hardcode_into_libs=yes
   10145   if test "$host_cpu" = ia64; then
   10146     # AIX 5 supports IA64
   10147     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10148     shlibpath_var=LD_LIBRARY_PATH
   10149   else
   10150     # With GCC up to 2.95.x, collect2 would create an import file
   10151     # for dependence libraries.  The import file would start with
   10152     # the line `#! .'.  This would cause the generated library to
   10153     # depend on `.', always an invalid library.  This was fixed in
   10154     # development snapshots of GCC prior to 3.0.
   10155     case $host_os in
   10156       aix4 | aix4.[01] | aix4.[01].*)
   10157       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10158 	   echo ' yes '
   10159 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10160 	:
   10161       else
   10162 	can_build_shared=no
   10163       fi
   10164       ;;
   10165     esac
   10166     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10167     # soname into executable. Probably we can add versioning support to
   10168     # collect2, so additional links can be useful in future.
   10169     if test "$aix_use_runtimelinking" = yes; then
   10170       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10171       # instead of lib<name>.a to let people know that these are not
   10172       # typical AIX shared libraries.
   10173       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10174     else
   10175       # We preserve .a as extension for shared libraries through AIX4.2
   10176       # and later when we are not doing run time linking.
   10177       library_names_spec='${libname}${release}.a $libname.a'
   10178       soname_spec='${libname}${release}${shared_ext}$major'
   10179     fi
   10180     shlibpath_var=LIBPATH
   10181   fi
   10182   ;;
   10183 
   10184 amigaos*)
   10185   case $host_cpu in
   10186   powerpc)
   10187     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10188     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10189     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10190     ;;
   10191   m68k)
   10192     library_names_spec='$libname.ixlibrary $libname.a'
   10193     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10194     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   10195     ;;
   10196   esac
   10197   ;;
   10198 
   10199 beos*)
   10200   library_names_spec='${libname}${shared_ext}'
   10201   dynamic_linker="$host_os ld.so"
   10202   shlibpath_var=LIBRARY_PATH
   10203   ;;
   10204 
   10205 bsdi[45]*)
   10206   version_type=linux # correct to gnu/linux during the next big refactor
   10207   need_version=no
   10208   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10209   soname_spec='${libname}${release}${shared_ext}$major'
   10210   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10211   shlibpath_var=LD_LIBRARY_PATH
   10212   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10213   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10214   # the default ld.so.conf also contains /usr/contrib/lib and
   10215   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10216   # libtool to hard-code these into programs
   10217   ;;
   10218 
   10219 cygwin* | mingw* | pw32* | cegcc*)
   10220   version_type=windows
   10221   shrext_cmds=".dll"
   10222   need_version=no
   10223   need_lib_prefix=no
   10224 
   10225   case $GCC,$cc_basename in
   10226   yes,*)
   10227     # gcc
   10228     library_names_spec='$libname.dll.a'
   10229     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10230     postinstall_cmds='base_file=`basename \${file}`~
   10231       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10232       dldir=$destdir/`dirname \$dlpath`~
   10233       test -d \$dldir || mkdir -p \$dldir~
   10234       $install_prog $dir/$dlname \$dldir/$dlname~
   10235       chmod a+x \$dldir/$dlname~
   10236       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10237         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10238       fi'
   10239     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10240       dlpath=$dir/\$dldll~
   10241        $RM \$dlpath'
   10242     shlibpath_overrides_runpath=yes
   10243 
   10244     case $host_os in
   10245     cygwin*)
   10246       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10247       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10248 
   10249       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10250       ;;
   10251     mingw* | cegcc*)
   10252       # MinGW DLLs use traditional 'lib' prefix
   10253       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10254       ;;
   10255     pw32*)
   10256       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10257       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10258       ;;
   10259     esac
   10260     dynamic_linker='Win32 ld.exe'
   10261     ;;
   10262 
   10263   *,cl*)
   10264     # Native MSVC
   10265     libname_spec='$name'
   10266     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10267     library_names_spec='${libname}.dll.lib'
   10268 
   10269     case $build_os in
   10270     mingw*)
   10271       sys_lib_search_path_spec=
   10272       lt_save_ifs=$IFS
   10273       IFS=';'
   10274       for lt_path in $LIB
   10275       do
   10276         IFS=$lt_save_ifs
   10277         # Let DOS variable expansion print the short 8.3 style file name.
   10278         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10279         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10280       done
   10281       IFS=$lt_save_ifs
   10282       # Convert to MSYS style.
   10283       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10284       ;;
   10285     cygwin*)
   10286       # Convert to unix form, then to dos form, then back to unix form
   10287       # but this time dos style (no spaces!) so that the unix form looks
   10288       # like /cygdrive/c/PROGRA~1:/cygdr...
   10289       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10290       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10291       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10292       ;;
   10293     *)
   10294       sys_lib_search_path_spec="$LIB"
   10295       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10296         # It is most probably a Windows format PATH.
   10297         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10298       else
   10299         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10300       fi
   10301       # FIXME: find the short name or the path components, as spaces are
   10302       # common. (e.g. "Program Files" -> "PROGRA~1")
   10303       ;;
   10304     esac
   10305 
   10306     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10307     postinstall_cmds='base_file=`basename \${file}`~
   10308       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10309       dldir=$destdir/`dirname \$dlpath`~
   10310       test -d \$dldir || mkdir -p \$dldir~
   10311       $install_prog $dir/$dlname \$dldir/$dlname'
   10312     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10313       dlpath=$dir/\$dldll~
   10314        $RM \$dlpath'
   10315     shlibpath_overrides_runpath=yes
   10316     dynamic_linker='Win32 link.exe'
   10317     ;;
   10318 
   10319   *)
   10320     # Assume MSVC wrapper
   10321     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10322     dynamic_linker='Win32 ld.exe'
   10323     ;;
   10324   esac
   10325   # FIXME: first we should search . and the directory the executable is in
   10326   shlibpath_var=PATH
   10327   ;;
   10328 
   10329 darwin* | rhapsody*)
   10330   dynamic_linker="$host_os dyld"
   10331   version_type=darwin
   10332   need_lib_prefix=no
   10333   need_version=no
   10334   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10335   soname_spec='${libname}${release}${major}$shared_ext'
   10336   shlibpath_overrides_runpath=yes
   10337   shlibpath_var=DYLD_LIBRARY_PATH
   10338   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10339 
   10340   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10341   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10342   ;;
   10343 
   10344 dgux*)
   10345   version_type=linux # correct to gnu/linux during the next big refactor
   10346   need_lib_prefix=no
   10347   need_version=no
   10348   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10349   soname_spec='${libname}${release}${shared_ext}$major'
   10350   shlibpath_var=LD_LIBRARY_PATH
   10351   ;;
   10352 
   10353 freebsd* | dragonfly*)
   10354   # DragonFly does not have aout.  When/if they implement a new
   10355   # versioning mechanism, adjust this.
   10356   if test -x /usr/bin/objformat; then
   10357     objformat=`/usr/bin/objformat`
   10358   else
   10359     case $host_os in
   10360     freebsd[23].*) objformat=aout ;;
   10361     *) objformat=elf ;;
   10362     esac
   10363   fi
   10364   version_type=freebsd-$objformat
   10365   case $version_type in
   10366     freebsd-elf*)
   10367       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10368       need_version=no
   10369       need_lib_prefix=no
   10370       ;;
   10371     freebsd-*)
   10372       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10373       need_version=yes
   10374       ;;
   10375   esac
   10376   shlibpath_var=LD_LIBRARY_PATH
   10377   case $host_os in
   10378   freebsd2.*)
   10379     shlibpath_overrides_runpath=yes
   10380     ;;
   10381   freebsd3.[01]* | freebsdelf3.[01]*)
   10382     shlibpath_overrides_runpath=yes
   10383     hardcode_into_libs=yes
   10384     ;;
   10385   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10386   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10387     shlibpath_overrides_runpath=no
   10388     hardcode_into_libs=yes
   10389     ;;
   10390   *) # from 4.6 on, and DragonFly
   10391     shlibpath_overrides_runpath=yes
   10392     hardcode_into_libs=yes
   10393     ;;
   10394   esac
   10395   ;;
   10396 
   10397 gnu*)
   10398   version_type=linux # correct to gnu/linux during the next big refactor
   10399   need_lib_prefix=no
   10400   need_version=no
   10401   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10402   soname_spec='${libname}${release}${shared_ext}$major'
   10403   shlibpath_var=LD_LIBRARY_PATH
   10404   shlibpath_overrides_runpath=no
   10405   hardcode_into_libs=yes
   10406   ;;
   10407 
   10408 haiku*)
   10409   version_type=linux # correct to gnu/linux during the next big refactor
   10410   need_lib_prefix=no
   10411   need_version=no
   10412   dynamic_linker="$host_os runtime_loader"
   10413   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10414   soname_spec='${libname}${release}${shared_ext}$major'
   10415   shlibpath_var=LIBRARY_PATH
   10416   shlibpath_overrides_runpath=yes
   10417   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10418   hardcode_into_libs=yes
   10419   ;;
   10420 
   10421 hpux9* | hpux10* | hpux11*)
   10422   # Give a soname corresponding to the major version so that dld.sl refuses to
   10423   # link against other versions.
   10424   version_type=sunos
   10425   need_lib_prefix=no
   10426   need_version=no
   10427   case $host_cpu in
   10428   ia64*)
   10429     shrext_cmds='.so'
   10430     hardcode_into_libs=yes
   10431     dynamic_linker="$host_os dld.so"
   10432     shlibpath_var=LD_LIBRARY_PATH
   10433     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10434     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10435     soname_spec='${libname}${release}${shared_ext}$major'
   10436     if test "X$HPUX_IA64_MODE" = X32; then
   10437       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10438     else
   10439       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10440     fi
   10441     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10442     ;;
   10443   hppa*64*)
   10444     shrext_cmds='.sl'
   10445     hardcode_into_libs=yes
   10446     dynamic_linker="$host_os dld.sl"
   10447     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10448     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10449     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10450     soname_spec='${libname}${release}${shared_ext}$major'
   10451     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10452     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10453     ;;
   10454   *)
   10455     shrext_cmds='.sl'
   10456     dynamic_linker="$host_os dld.sl"
   10457     shlibpath_var=SHLIB_PATH
   10458     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10459     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10460     soname_spec='${libname}${release}${shared_ext}$major'
   10461     ;;
   10462   esac
   10463   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10464   postinstall_cmds='chmod 555 $lib'
   10465   # or fails outright, so override atomically:
   10466   install_override_mode=555
   10467   ;;
   10468 
   10469 interix[3-9]*)
   10470   version_type=linux # correct to gnu/linux during the next big refactor
   10471   need_lib_prefix=no
   10472   need_version=no
   10473   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10474   soname_spec='${libname}${release}${shared_ext}$major'
   10475   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10476   shlibpath_var=LD_LIBRARY_PATH
   10477   shlibpath_overrides_runpath=no
   10478   hardcode_into_libs=yes
   10479   ;;
   10480 
   10481 irix5* | irix6* | nonstopux*)
   10482   case $host_os in
   10483     nonstopux*) version_type=nonstopux ;;
   10484     *)
   10485 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10486 		version_type=linux # correct to gnu/linux during the next big refactor
   10487 	else
   10488 		version_type=irix
   10489 	fi ;;
   10490   esac
   10491   need_lib_prefix=no
   10492   need_version=no
   10493   soname_spec='${libname}${release}${shared_ext}$major'
   10494   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10495   case $host_os in
   10496   irix5* | nonstopux*)
   10497     libsuff= shlibsuff=
   10498     ;;
   10499   *)
   10500     case $LD in # libtool.m4 will add one of these switches to LD
   10501     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10502       libsuff= shlibsuff= libmagic=32-bit;;
   10503     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10504       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10505     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10506       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10507     *) libsuff= shlibsuff= libmagic=never-match;;
   10508     esac
   10509     ;;
   10510   esac
   10511   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10512   shlibpath_overrides_runpath=no
   10513   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10514   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10515   hardcode_into_libs=yes
   10516   ;;
   10517 
   10518 # No shared lib support for Linux oldld, aout, or coff.
   10519 linux*oldld* | linux*aout* | linux*coff*)
   10520   dynamic_linker=no
   10521   ;;
   10522 
   10523 # This must be glibc/ELF.
   10524 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10525   version_type=linux # correct to gnu/linux during the next big refactor
   10526   need_lib_prefix=no
   10527   need_version=no
   10528   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10529   soname_spec='${libname}${release}${shared_ext}$major'
   10530   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10531   shlibpath_var=LD_LIBRARY_PATH
   10532   shlibpath_overrides_runpath=no
   10533 
   10534   # Some binutils ld are patched to set DT_RUNPATH
   10535   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10536   $as_echo_n "(cached) " >&6
   10537 else
   10538   lt_cv_shlibpath_overrides_runpath=no
   10539     save_LDFLAGS=$LDFLAGS
   10540     save_libdir=$libdir
   10541     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10542 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10543     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10544 /* end confdefs.h.  */
   10545 
   10546 int
   10547 main ()
   10548 {
   10549 
   10550   ;
   10551   return 0;
   10552 }
   10553 _ACEOF
   10554 if ac_fn_c_try_link "$LINENO"; then :
   10555   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10556   lt_cv_shlibpath_overrides_runpath=yes
   10557 fi
   10558 fi
   10559 rm -f core conftest.err conftest.$ac_objext \
   10560     conftest$ac_exeext conftest.$ac_ext
   10561     LDFLAGS=$save_LDFLAGS
   10562     libdir=$save_libdir
   10563 
   10564 fi
   10565 
   10566   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10567 
   10568   # This implies no fast_install, which is unacceptable.
   10569   # Some rework will be needed to allow for fast_install
   10570   # before this can be enabled.
   10571   hardcode_into_libs=yes
   10572 
   10573   # Append ld.so.conf contents to the search path
   10574   if test -f /etc/ld.so.conf; then
   10575     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' ' '`
   10576     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10577   fi
   10578 
   10579   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10580   # powerpc, because MkLinux only supported shared libraries with the
   10581   # GNU dynamic linker.  Since this was broken with cross compilers,
   10582   # most powerpc-linux boxes support dynamic linking these days and
   10583   # people can always --disable-shared, the test was removed, and we
   10584   # assume the GNU/Linux dynamic linker is in use.
   10585   dynamic_linker='GNU/Linux ld.so'
   10586   ;;
   10587 
   10588 netbsdelf*-gnu)
   10589   version_type=linux
   10590   need_lib_prefix=no
   10591   need_version=no
   10592   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10593   soname_spec='${libname}${release}${shared_ext}$major'
   10594   shlibpath_var=LD_LIBRARY_PATH
   10595   shlibpath_overrides_runpath=no
   10596   hardcode_into_libs=yes
   10597   dynamic_linker='NetBSD ld.elf_so'
   10598   ;;
   10599 
   10600 netbsd*)
   10601   version_type=sunos
   10602   need_lib_prefix=no
   10603   need_version=no
   10604   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10605     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10606     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10607     dynamic_linker='NetBSD (a.out) ld.so'
   10608   else
   10609     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10610     soname_spec='${libname}${release}${shared_ext}$major'
   10611     dynamic_linker='NetBSD ld.elf_so'
   10612   fi
   10613   shlibpath_var=LD_LIBRARY_PATH
   10614   shlibpath_overrides_runpath=yes
   10615   hardcode_into_libs=yes
   10616   ;;
   10617 
   10618 newsos6)
   10619   version_type=linux # correct to gnu/linux during the next big refactor
   10620   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10621   shlibpath_var=LD_LIBRARY_PATH
   10622   shlibpath_overrides_runpath=yes
   10623   ;;
   10624 
   10625 *nto* | *qnx*)
   10626   version_type=qnx
   10627   need_lib_prefix=no
   10628   need_version=no
   10629   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10630   soname_spec='${libname}${release}${shared_ext}$major'
   10631   shlibpath_var=LD_LIBRARY_PATH
   10632   shlibpath_overrides_runpath=no
   10633   hardcode_into_libs=yes
   10634   dynamic_linker='ldqnx.so'
   10635   ;;
   10636 
   10637 openbsd*)
   10638   version_type=sunos
   10639   sys_lib_dlsearch_path_spec="/usr/lib"
   10640   need_lib_prefix=no
   10641   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10642   case $host_os in
   10643     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10644     *)				need_version=no  ;;
   10645   esac
   10646   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10647   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10648   shlibpath_var=LD_LIBRARY_PATH
   10649   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10650     case $host_os in
   10651       openbsd2.[89] | openbsd2.[89].*)
   10652 	shlibpath_overrides_runpath=no
   10653 	;;
   10654       *)
   10655 	shlibpath_overrides_runpath=yes
   10656 	;;
   10657       esac
   10658   else
   10659     shlibpath_overrides_runpath=yes
   10660   fi
   10661   ;;
   10662 
   10663 os2*)
   10664   libname_spec='$name'
   10665   shrext_cmds=".dll"
   10666   need_lib_prefix=no
   10667   library_names_spec='$libname${shared_ext} $libname.a'
   10668   dynamic_linker='OS/2 ld.exe'
   10669   shlibpath_var=LIBPATH
   10670   ;;
   10671 
   10672 osf3* | osf4* | osf5*)
   10673   version_type=osf
   10674   need_lib_prefix=no
   10675   need_version=no
   10676   soname_spec='${libname}${release}${shared_ext}$major'
   10677   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10678   shlibpath_var=LD_LIBRARY_PATH
   10679   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10680   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10681   ;;
   10682 
   10683 rdos*)
   10684   dynamic_linker=no
   10685   ;;
   10686 
   10687 solaris*)
   10688   version_type=linux # correct to gnu/linux during the next big refactor
   10689   need_lib_prefix=no
   10690   need_version=no
   10691   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10692   soname_spec='${libname}${release}${shared_ext}$major'
   10693   shlibpath_var=LD_LIBRARY_PATH
   10694   shlibpath_overrides_runpath=yes
   10695   hardcode_into_libs=yes
   10696   # ldd complains unless libraries are executable
   10697   postinstall_cmds='chmod +x $lib'
   10698   ;;
   10699 
   10700 sunos4*)
   10701   version_type=sunos
   10702   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10703   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10704   shlibpath_var=LD_LIBRARY_PATH
   10705   shlibpath_overrides_runpath=yes
   10706   if test "$with_gnu_ld" = yes; then
   10707     need_lib_prefix=no
   10708   fi
   10709   need_version=yes
   10710   ;;
   10711 
   10712 sysv4 | sysv4.3*)
   10713   version_type=linux # correct to gnu/linux during the next big refactor
   10714   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10715   soname_spec='${libname}${release}${shared_ext}$major'
   10716   shlibpath_var=LD_LIBRARY_PATH
   10717   case $host_vendor in
   10718     sni)
   10719       shlibpath_overrides_runpath=no
   10720       need_lib_prefix=no
   10721       runpath_var=LD_RUN_PATH
   10722       ;;
   10723     siemens)
   10724       need_lib_prefix=no
   10725       ;;
   10726     motorola)
   10727       need_lib_prefix=no
   10728       need_version=no
   10729       shlibpath_overrides_runpath=no
   10730       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10731       ;;
   10732   esac
   10733   ;;
   10734 
   10735 sysv4*MP*)
   10736   if test -d /usr/nec ;then
   10737     version_type=linux # correct to gnu/linux during the next big refactor
   10738     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10739     soname_spec='$libname${shared_ext}.$major'
   10740     shlibpath_var=LD_LIBRARY_PATH
   10741   fi
   10742   ;;
   10743 
   10744 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10745   version_type=freebsd-elf
   10746   need_lib_prefix=no
   10747   need_version=no
   10748   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10749   soname_spec='${libname}${release}${shared_ext}$major'
   10750   shlibpath_var=LD_LIBRARY_PATH
   10751   shlibpath_overrides_runpath=yes
   10752   hardcode_into_libs=yes
   10753   if test "$with_gnu_ld" = yes; then
   10754     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10755   else
   10756     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10757     case $host_os in
   10758       sco3.2v5*)
   10759         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10760 	;;
   10761     esac
   10762   fi
   10763   sys_lib_dlsearch_path_spec='/usr/lib'
   10764   ;;
   10765 
   10766 tpf*)
   10767   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10768   version_type=linux # correct to gnu/linux during the next big refactor
   10769   need_lib_prefix=no
   10770   need_version=no
   10771   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10772   shlibpath_var=LD_LIBRARY_PATH
   10773   shlibpath_overrides_runpath=no
   10774   hardcode_into_libs=yes
   10775   ;;
   10776 
   10777 uts4*)
   10778   version_type=linux # correct to gnu/linux during the next big refactor
   10779   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10780   soname_spec='${libname}${release}${shared_ext}$major'
   10781   shlibpath_var=LD_LIBRARY_PATH
   10782   ;;
   10783 
   10784 *)
   10785   dynamic_linker=no
   10786   ;;
   10787 esac
   10788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10789 $as_echo "$dynamic_linker" >&6; }
   10790 test "$dynamic_linker" = no && can_build_shared=no
   10791 
   10792 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10793 if test "$GCC" = yes; then
   10794   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10795 fi
   10796 
   10797 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10798   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10799 fi
   10800 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10801   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10802 fi
   10803 
   10804 
   10805 
   10806 
   10807 
   10808 
   10809 
   10810 
   10811 
   10812 
   10813 
   10814 
   10815 
   10816 
   10817 
   10818 
   10819 
   10820 
   10821 
   10822 
   10823 
   10824 
   10825 
   10826 
   10827 
   10828 
   10829 
   10830 
   10831 
   10832 
   10833 
   10834 
   10835 
   10836 
   10837 
   10838 
   10839 
   10840 
   10841 
   10842 
   10843 
   10844 
   10845 
   10846 
   10847 
   10848 
   10849 
   10850 
   10851 
   10852 
   10853 
   10854 
   10855 
   10856 
   10857 
   10858 
   10859 
   10860 
   10861 
   10862 
   10863 
   10864 
   10865 
   10866 
   10867 
   10868 
   10869 
   10870 
   10871 
   10872 
   10873 
   10874 
   10875 
   10876 
   10877 
   10878 
   10879 
   10880 
   10881 
   10882 
   10883 
   10884 
   10885 
   10886 
   10887 
   10888 
   10889 
   10890 
   10891 
   10892 
   10893 
   10894 
   10895   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10896 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10897 hardcode_action=
   10898 if test -n "$hardcode_libdir_flag_spec" ||
   10899    test -n "$runpath_var" ||
   10900    test "X$hardcode_automatic" = "Xyes" ; then
   10901 
   10902   # We can hardcode non-existent directories.
   10903   if test "$hardcode_direct" != no &&
   10904      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10905      # have to relink, otherwise we might link with an installed library
   10906      # when we should be linking with a yet-to-be-installed one
   10907      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10908      test "$hardcode_minus_L" != no; then
   10909     # Linking always hardcodes the temporary library directory.
   10910     hardcode_action=relink
   10911   else
   10912     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10913     hardcode_action=immediate
   10914   fi
   10915 else
   10916   # We cannot hardcode anything, or else we can only hardcode existing
   10917   # directories.
   10918   hardcode_action=unsupported
   10919 fi
   10920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10921 $as_echo "$hardcode_action" >&6; }
   10922 
   10923 if test "$hardcode_action" = relink ||
   10924    test "$inherit_rpath" = yes; then
   10925   # Fast installation is not supported
   10926   enable_fast_install=no
   10927 elif test "$shlibpath_overrides_runpath" = yes ||
   10928      test "$enable_shared" = no; then
   10929   # Fast installation is not necessary
   10930   enable_fast_install=needless
   10931 fi
   10932 
   10933 
   10934 
   10935 
   10936 
   10937 
   10938   if test "x$enable_dlopen" != xyes; then
   10939   enable_dlopen=unknown
   10940   enable_dlopen_self=unknown
   10941   enable_dlopen_self_static=unknown
   10942 else
   10943   lt_cv_dlopen=no
   10944   lt_cv_dlopen_libs=
   10945 
   10946   case $host_os in
   10947   beos*)
   10948     lt_cv_dlopen="load_add_on"
   10949     lt_cv_dlopen_libs=
   10950     lt_cv_dlopen_self=yes
   10951     ;;
   10952 
   10953   mingw* | pw32* | cegcc*)
   10954     lt_cv_dlopen="LoadLibrary"
   10955     lt_cv_dlopen_libs=
   10956     ;;
   10957 
   10958   cygwin*)
   10959     lt_cv_dlopen="dlopen"
   10960     lt_cv_dlopen_libs=
   10961     ;;
   10962 
   10963   darwin*)
   10964   # if libdl is installed we need to link against it
   10965     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10966 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10967 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10968   $as_echo_n "(cached) " >&6
   10969 else
   10970   ac_check_lib_save_LIBS=$LIBS
   10971 LIBS="-ldl  $LIBS"
   10972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10973 /* end confdefs.h.  */
   10974 
   10975 /* Override any GCC internal prototype to avoid an error.
   10976    Use char because int might match the return type of a GCC
   10977    builtin and then its argument prototype would still apply.  */
   10978 #ifdef __cplusplus
   10979 extern "C"
   10980 #endif
   10981 char dlopen ();
   10982 int
   10983 main ()
   10984 {
   10985 return dlopen ();
   10986   ;
   10987   return 0;
   10988 }
   10989 _ACEOF
   10990 if ac_fn_c_try_link "$LINENO"; then :
   10991   ac_cv_lib_dl_dlopen=yes
   10992 else
   10993   ac_cv_lib_dl_dlopen=no
   10994 fi
   10995 rm -f core conftest.err conftest.$ac_objext \
   10996     conftest$ac_exeext conftest.$ac_ext
   10997 LIBS=$ac_check_lib_save_LIBS
   10998 fi
   10999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11000 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11001 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11002   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11003 else
   11004 
   11005     lt_cv_dlopen="dyld"
   11006     lt_cv_dlopen_libs=
   11007     lt_cv_dlopen_self=yes
   11008 
   11009 fi
   11010 
   11011     ;;
   11012 
   11013   *)
   11014     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   11015 if test "x$ac_cv_func_shl_load" = xyes; then :
   11016   lt_cv_dlopen="shl_load"
   11017 else
   11018   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   11019 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11020 if ${ac_cv_lib_dld_shl_load+:} false; then :
   11021   $as_echo_n "(cached) " >&6
   11022 else
   11023   ac_check_lib_save_LIBS=$LIBS
   11024 LIBS="-ldld  $LIBS"
   11025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11026 /* end confdefs.h.  */
   11027 
   11028 /* Override any GCC internal prototype to avoid an error.
   11029    Use char because int might match the return type of a GCC
   11030    builtin and then its argument prototype would still apply.  */
   11031 #ifdef __cplusplus
   11032 extern "C"
   11033 #endif
   11034 char shl_load ();
   11035 int
   11036 main ()
   11037 {
   11038 return shl_load ();
   11039   ;
   11040   return 0;
   11041 }
   11042 _ACEOF
   11043 if ac_fn_c_try_link "$LINENO"; then :
   11044   ac_cv_lib_dld_shl_load=yes
   11045 else
   11046   ac_cv_lib_dld_shl_load=no
   11047 fi
   11048 rm -f core conftest.err conftest.$ac_objext \
   11049     conftest$ac_exeext conftest.$ac_ext
   11050 LIBS=$ac_check_lib_save_LIBS
   11051 fi
   11052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   11053 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11054 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   11055   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   11056 else
   11057   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   11058 if test "x$ac_cv_func_dlopen" = xyes; then :
   11059   lt_cv_dlopen="dlopen"
   11060 else
   11061   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11062 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11063 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11064   $as_echo_n "(cached) " >&6
   11065 else
   11066   ac_check_lib_save_LIBS=$LIBS
   11067 LIBS="-ldl  $LIBS"
   11068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11069 /* end confdefs.h.  */
   11070 
   11071 /* Override any GCC internal prototype to avoid an error.
   11072    Use char because int might match the return type of a GCC
   11073    builtin and then its argument prototype would still apply.  */
   11074 #ifdef __cplusplus
   11075 extern "C"
   11076 #endif
   11077 char dlopen ();
   11078 int
   11079 main ()
   11080 {
   11081 return dlopen ();
   11082   ;
   11083   return 0;
   11084 }
   11085 _ACEOF
   11086 if ac_fn_c_try_link "$LINENO"; then :
   11087   ac_cv_lib_dl_dlopen=yes
   11088 else
   11089   ac_cv_lib_dl_dlopen=no
   11090 fi
   11091 rm -f core conftest.err conftest.$ac_objext \
   11092     conftest$ac_exeext conftest.$ac_ext
   11093 LIBS=$ac_check_lib_save_LIBS
   11094 fi
   11095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11096 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11097 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11098   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11099 else
   11100   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11101 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11102 if ${ac_cv_lib_svld_dlopen+:} false; then :
   11103   $as_echo_n "(cached) " >&6
   11104 else
   11105   ac_check_lib_save_LIBS=$LIBS
   11106 LIBS="-lsvld  $LIBS"
   11107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11108 /* end confdefs.h.  */
   11109 
   11110 /* Override any GCC internal prototype to avoid an error.
   11111    Use char because int might match the return type of a GCC
   11112    builtin and then its argument prototype would still apply.  */
   11113 #ifdef __cplusplus
   11114 extern "C"
   11115 #endif
   11116 char dlopen ();
   11117 int
   11118 main ()
   11119 {
   11120 return dlopen ();
   11121   ;
   11122   return 0;
   11123 }
   11124 _ACEOF
   11125 if ac_fn_c_try_link "$LINENO"; then :
   11126   ac_cv_lib_svld_dlopen=yes
   11127 else
   11128   ac_cv_lib_svld_dlopen=no
   11129 fi
   11130 rm -f core conftest.err conftest.$ac_objext \
   11131     conftest$ac_exeext conftest.$ac_ext
   11132 LIBS=$ac_check_lib_save_LIBS
   11133 fi
   11134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11135 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11136 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11137   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11138 else
   11139   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11140 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11141 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11142   $as_echo_n "(cached) " >&6
   11143 else
   11144   ac_check_lib_save_LIBS=$LIBS
   11145 LIBS="-ldld  $LIBS"
   11146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11147 /* end confdefs.h.  */
   11148 
   11149 /* Override any GCC internal prototype to avoid an error.
   11150    Use char because int might match the return type of a GCC
   11151    builtin and then its argument prototype would still apply.  */
   11152 #ifdef __cplusplus
   11153 extern "C"
   11154 #endif
   11155 char dld_link ();
   11156 int
   11157 main ()
   11158 {
   11159 return dld_link ();
   11160   ;
   11161   return 0;
   11162 }
   11163 _ACEOF
   11164 if ac_fn_c_try_link "$LINENO"; then :
   11165   ac_cv_lib_dld_dld_link=yes
   11166 else
   11167   ac_cv_lib_dld_dld_link=no
   11168 fi
   11169 rm -f core conftest.err conftest.$ac_objext \
   11170     conftest$ac_exeext conftest.$ac_ext
   11171 LIBS=$ac_check_lib_save_LIBS
   11172 fi
   11173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11174 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11175 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11176   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11177 fi
   11178 
   11179 
   11180 fi
   11181 
   11182 
   11183 fi
   11184 
   11185 
   11186 fi
   11187 
   11188 
   11189 fi
   11190 
   11191 
   11192 fi
   11193 
   11194     ;;
   11195   esac
   11196 
   11197   if test "x$lt_cv_dlopen" != xno; then
   11198     enable_dlopen=yes
   11199   else
   11200     enable_dlopen=no
   11201   fi
   11202 
   11203   case $lt_cv_dlopen in
   11204   dlopen)
   11205     save_CPPFLAGS="$CPPFLAGS"
   11206     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11207 
   11208     save_LDFLAGS="$LDFLAGS"
   11209     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11210 
   11211     save_LIBS="$LIBS"
   11212     LIBS="$lt_cv_dlopen_libs $LIBS"
   11213 
   11214     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11215 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11216 if ${lt_cv_dlopen_self+:} false; then :
   11217   $as_echo_n "(cached) " >&6
   11218 else
   11219   	  if test "$cross_compiling" = yes; then :
   11220   lt_cv_dlopen_self=cross
   11221 else
   11222   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11223   lt_status=$lt_dlunknown
   11224   cat > conftest.$ac_ext <<_LT_EOF
   11225 #line $LINENO "configure"
   11226 #include "confdefs.h"
   11227 
   11228 #if HAVE_DLFCN_H
   11229 #include <dlfcn.h>
   11230 #endif
   11231 
   11232 #include <stdio.h>
   11233 
   11234 #ifdef RTLD_GLOBAL
   11235 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11236 #else
   11237 #  ifdef DL_GLOBAL
   11238 #    define LT_DLGLOBAL		DL_GLOBAL
   11239 #  else
   11240 #    define LT_DLGLOBAL		0
   11241 #  endif
   11242 #endif
   11243 
   11244 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11245    find out it does not work in some platform. */
   11246 #ifndef LT_DLLAZY_OR_NOW
   11247 #  ifdef RTLD_LAZY
   11248 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11249 #  else
   11250 #    ifdef DL_LAZY
   11251 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11252 #    else
   11253 #      ifdef RTLD_NOW
   11254 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11255 #      else
   11256 #        ifdef DL_NOW
   11257 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11258 #        else
   11259 #          define LT_DLLAZY_OR_NOW	0
   11260 #        endif
   11261 #      endif
   11262 #    endif
   11263 #  endif
   11264 #endif
   11265 
   11266 /* When -fvisbility=hidden is used, assume the code has been annotated
   11267    correspondingly for the symbols needed.  */
   11268 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11269 int fnord () __attribute__((visibility("default")));
   11270 #endif
   11271 
   11272 int fnord () { return 42; }
   11273 int main ()
   11274 {
   11275   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11276   int status = $lt_dlunknown;
   11277 
   11278   if (self)
   11279     {
   11280       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11281       else
   11282         {
   11283 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11284           else puts (dlerror ());
   11285 	}
   11286       /* dlclose (self); */
   11287     }
   11288   else
   11289     puts (dlerror ());
   11290 
   11291   return status;
   11292 }
   11293 _LT_EOF
   11294   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11295   (eval $ac_link) 2>&5
   11296   ac_status=$?
   11297   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11298   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11299     (./conftest; exit; ) >&5 2>/dev/null
   11300     lt_status=$?
   11301     case x$lt_status in
   11302       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11303       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11304       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11305     esac
   11306   else :
   11307     # compilation failed
   11308     lt_cv_dlopen_self=no
   11309   fi
   11310 fi
   11311 rm -fr conftest*
   11312 
   11313 
   11314 fi
   11315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11316 $as_echo "$lt_cv_dlopen_self" >&6; }
   11317 
   11318     if test "x$lt_cv_dlopen_self" = xyes; then
   11319       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11320       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11321 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11322 if ${lt_cv_dlopen_self_static+:} false; then :
   11323   $as_echo_n "(cached) " >&6
   11324 else
   11325   	  if test "$cross_compiling" = yes; then :
   11326   lt_cv_dlopen_self_static=cross
   11327 else
   11328   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11329   lt_status=$lt_dlunknown
   11330   cat > conftest.$ac_ext <<_LT_EOF
   11331 #line $LINENO "configure"
   11332 #include "confdefs.h"
   11333 
   11334 #if HAVE_DLFCN_H
   11335 #include <dlfcn.h>
   11336 #endif
   11337 
   11338 #include <stdio.h>
   11339 
   11340 #ifdef RTLD_GLOBAL
   11341 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11342 #else
   11343 #  ifdef DL_GLOBAL
   11344 #    define LT_DLGLOBAL		DL_GLOBAL
   11345 #  else
   11346 #    define LT_DLGLOBAL		0
   11347 #  endif
   11348 #endif
   11349 
   11350 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11351    find out it does not work in some platform. */
   11352 #ifndef LT_DLLAZY_OR_NOW
   11353 #  ifdef RTLD_LAZY
   11354 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11355 #  else
   11356 #    ifdef DL_LAZY
   11357 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11358 #    else
   11359 #      ifdef RTLD_NOW
   11360 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11361 #      else
   11362 #        ifdef DL_NOW
   11363 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11364 #        else
   11365 #          define LT_DLLAZY_OR_NOW	0
   11366 #        endif
   11367 #      endif
   11368 #    endif
   11369 #  endif
   11370 #endif
   11371 
   11372 /* When -fvisbility=hidden is used, assume the code has been annotated
   11373    correspondingly for the symbols needed.  */
   11374 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11375 int fnord () __attribute__((visibility("default")));
   11376 #endif
   11377 
   11378 int fnord () { return 42; }
   11379 int main ()
   11380 {
   11381   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11382   int status = $lt_dlunknown;
   11383 
   11384   if (self)
   11385     {
   11386       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11387       else
   11388         {
   11389 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11390           else puts (dlerror ());
   11391 	}
   11392       /* dlclose (self); */
   11393     }
   11394   else
   11395     puts (dlerror ());
   11396 
   11397   return status;
   11398 }
   11399 _LT_EOF
   11400   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11401   (eval $ac_link) 2>&5
   11402   ac_status=$?
   11403   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11404   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11405     (./conftest; exit; ) >&5 2>/dev/null
   11406     lt_status=$?
   11407     case x$lt_status in
   11408       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11409       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11410       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11411     esac
   11412   else :
   11413     # compilation failed
   11414     lt_cv_dlopen_self_static=no
   11415   fi
   11416 fi
   11417 rm -fr conftest*
   11418 
   11419 
   11420 fi
   11421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11422 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11423     fi
   11424 
   11425     CPPFLAGS="$save_CPPFLAGS"
   11426     LDFLAGS="$save_LDFLAGS"
   11427     LIBS="$save_LIBS"
   11428     ;;
   11429   esac
   11430 
   11431   case $lt_cv_dlopen_self in
   11432   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11433   *) enable_dlopen_self=unknown ;;
   11434   esac
   11435 
   11436   case $lt_cv_dlopen_self_static in
   11437   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11438   *) enable_dlopen_self_static=unknown ;;
   11439   esac
   11440 fi
   11441 
   11442 
   11443 
   11444 
   11445 
   11446 
   11447 
   11448 
   11449 
   11450 
   11451 
   11452 
   11453 
   11454 
   11455 
   11456 
   11457 
   11458 striplib=
   11459 old_striplib=
   11460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11461 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11462 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11463   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11464   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11466 $as_echo "yes" >&6; }
   11467 else
   11468 # FIXME - insert some real tests, host_os isn't really good enough
   11469   case $host_os in
   11470   darwin*)
   11471     if test -n "$STRIP" ; then
   11472       striplib="$STRIP -x"
   11473       old_striplib="$STRIP -S"
   11474       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11475 $as_echo "yes" >&6; }
   11476     else
   11477       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11478 $as_echo "no" >&6; }
   11479     fi
   11480     ;;
   11481   *)
   11482     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11483 $as_echo "no" >&6; }
   11484     ;;
   11485   esac
   11486 fi
   11487 
   11488 
   11489 
   11490 
   11491 
   11492 
   11493 
   11494 
   11495 
   11496 
   11497 
   11498 
   11499   # Report which library types will actually be built
   11500   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11501 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11503 $as_echo "$can_build_shared" >&6; }
   11504 
   11505   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11506 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11507   test "$can_build_shared" = "no" && enable_shared=no
   11508 
   11509   # On AIX, shared libraries and static libraries use the same namespace, and
   11510   # are all built from PIC.
   11511   case $host_os in
   11512   aix3*)
   11513     test "$enable_shared" = yes && enable_static=no
   11514     if test -n "$RANLIB"; then
   11515       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11516       postinstall_cmds='$RANLIB $lib'
   11517     fi
   11518     ;;
   11519 
   11520   aix[4-9]*)
   11521     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11522       test "$enable_shared" = yes && enable_static=no
   11523     fi
   11524     ;;
   11525   esac
   11526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11527 $as_echo "$enable_shared" >&6; }
   11528 
   11529   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11530 $as_echo_n "checking whether to build static libraries... " >&6; }
   11531   # Make sure either enable_shared or enable_static is yes.
   11532   test "$enable_shared" = yes || enable_static=yes
   11533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11534 $as_echo "$enable_static" >&6; }
   11535 
   11536 
   11537 
   11538 
   11539 fi
   11540 ac_ext=c
   11541 ac_cpp='$CPP $CPPFLAGS'
   11542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11545 
   11546 CC="$lt_save_CC"
   11547 
   11548 
   11549 
   11550 
   11551 
   11552 
   11553 
   11554 
   11555 
   11556 
   11557 
   11558 
   11559 
   11560 
   11561 
   11562         ac_config_commands="$ac_config_commands libtool"
   11563 
   11564 
   11565 
   11566 
   11567 # Only expand once:
   11568 
   11569 
   11570 
   11571 # Require xorg-macros: XORG_DEFAULT_OPTIONS, XORG_WITH_LINT
   11572 
   11573 
   11574 
   11575 
   11576 
   11577 
   11578 
   11579 
   11580 
   11581 
   11582 
   11583    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   11584 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11585 if ${ac_cv_prog_cc_c99+:} false; then :
   11586   $as_echo_n "(cached) " >&6
   11587 else
   11588   ac_cv_prog_cc_c99=no
   11589 ac_save_CC=$CC
   11590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11591 /* end confdefs.h.  */
   11592 #include <stdarg.h>
   11593 #include <stdbool.h>
   11594 #include <stdlib.h>
   11595 #include <wchar.h>
   11596 #include <stdio.h>
   11597 
   11598 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   11599 #define debug(...) fprintf (stderr, __VA_ARGS__)
   11600 #define showlist(...) puts (#__VA_ARGS__)
   11601 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   11602 static void
   11603 test_varargs_macros (void)
   11604 {
   11605   int x = 1234;
   11606   int y = 5678;
   11607   debug ("Flag");
   11608   debug ("X = %d\n", x);
   11609   showlist (The first, second, and third items.);
   11610   report (x>y, "x is %d but y is %d", x, y);
   11611 }
   11612 
   11613 // Check long long types.
   11614 #define BIG64 18446744073709551615ull
   11615 #define BIG32 4294967295ul
   11616 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   11617 #if !BIG_OK
   11618   your preprocessor is broken;
   11619 #endif
   11620 #if BIG_OK
   11621 #else
   11622   your preprocessor is broken;
   11623 #endif
   11624 static long long int bignum = -9223372036854775807LL;
   11625 static unsigned long long int ubignum = BIG64;
   11626 
   11627 struct incomplete_array
   11628 {
   11629   int datasize;
   11630   double data[];
   11631 };
   11632 
   11633 struct named_init {
   11634   int number;
   11635   const wchar_t *name;
   11636   double average;
   11637 };
   11638 
   11639 typedef const char *ccp;
   11640 
   11641 static inline int
   11642 test_restrict (ccp restrict text)
   11643 {
   11644   // See if C++-style comments work.
   11645   // Iterate through items via the restricted pointer.
   11646   // Also check for declarations in for loops.
   11647   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   11648     continue;
   11649   return 0;
   11650 }
   11651 
   11652 // Check varargs and va_copy.
   11653 static void
   11654 test_varargs (const char *format, ...)
   11655 {
   11656   va_list args;
   11657   va_start (args, format);
   11658   va_list args_copy;
   11659   va_copy (args_copy, args);
   11660 
   11661   const char *str;
   11662   int number;
   11663   float fnumber;
   11664 
   11665   while (*format)
   11666     {
   11667       switch (*format++)
   11668 	{
   11669 	case 's': // string
   11670 	  str = va_arg (args_copy, const char *);
   11671 	  break;
   11672 	case 'd': // int
   11673 	  number = va_arg (args_copy, int);
   11674 	  break;
   11675 	case 'f': // float
   11676 	  fnumber = va_arg (args_copy, double);
   11677 	  break;
   11678 	default:
   11679 	  break;
   11680 	}
   11681     }
   11682   va_end (args_copy);
   11683   va_end (args);
   11684 }
   11685 
   11686 int
   11687 main ()
   11688 {
   11689 
   11690   // Check bool.
   11691   _Bool success = false;
   11692 
   11693   // Check restrict.
   11694   if (test_restrict ("String literal") == 0)
   11695     success = true;
   11696   char *restrict newvar = "Another string";
   11697 
   11698   // Check varargs.
   11699   test_varargs ("s, d' f .", "string", 65, 34.234);
   11700   test_varargs_macros ();
   11701 
   11702   // Check flexible array members.
   11703   struct incomplete_array *ia =
   11704     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   11705   ia->datasize = 10;
   11706   for (int i = 0; i < ia->datasize; ++i)
   11707     ia->data[i] = i * 1.234;
   11708 
   11709   // Check named initializers.
   11710   struct named_init ni = {
   11711     .number = 34,
   11712     .name = L"Test wide string",
   11713     .average = 543.34343,
   11714   };
   11715 
   11716   ni.number = 58;
   11717 
   11718   int dynamic_array[ni.number];
   11719   dynamic_array[ni.number - 1] = 543;
   11720 
   11721   // work around unused variable warnings
   11722   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   11723 	  || dynamic_array[ni.number - 1] != 543);
   11724 
   11725   ;
   11726   return 0;
   11727 }
   11728 _ACEOF
   11729 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   11730 do
   11731   CC="$ac_save_CC $ac_arg"
   11732   if ac_fn_c_try_compile "$LINENO"; then :
   11733   ac_cv_prog_cc_c99=$ac_arg
   11734 fi
   11735 rm -f core conftest.err conftest.$ac_objext
   11736   test "x$ac_cv_prog_cc_c99" != "xno" && break
   11737 done
   11738 rm -f conftest.$ac_ext
   11739 CC=$ac_save_CC
   11740 
   11741 fi
   11742 # AC_CACHE_VAL
   11743 case "x$ac_cv_prog_cc_c99" in
   11744   x)
   11745     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   11746 $as_echo "none needed" >&6; } ;;
   11747   xno)
   11748     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   11749 $as_echo "unsupported" >&6; } ;;
   11750   *)
   11751     CC="$CC $ac_cv_prog_cc_c99"
   11752     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   11753 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   11754 esac
   11755 if test "x$ac_cv_prog_cc_c99" != xno; then :
   11756 
   11757 fi
   11758 
   11759 
   11760 
   11761 
   11762 
   11763 
   11764 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   11765 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   11766   CLANGCC="yes"
   11767 else
   11768   CLANGCC="no"
   11769 fi
   11770 
   11771 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   11772 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   11773   INTELCC="yes"
   11774 else
   11775   INTELCC="no"
   11776 fi
   11777 
   11778 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   11779 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   11780   SUNCC="yes"
   11781 else
   11782   SUNCC="no"
   11783 fi
   11784 
   11785 
   11786 
   11787 
   11788 
   11789 
   11790 
   11791 
   11792 
   11793 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   11794 	if test -n "$ac_tool_prefix"; then
   11795   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   11796 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   11797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11798 $as_echo_n "checking for $ac_word... " >&6; }
   11799 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   11800   $as_echo_n "(cached) " >&6
   11801 else
   11802   case $PKG_CONFIG in
   11803   [\\/]* | ?:[\\/]*)
   11804   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   11805   ;;
   11806   *)
   11807   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11808 for as_dir in $PATH
   11809 do
   11810   IFS=$as_save_IFS
   11811   test -z "$as_dir" && as_dir=.
   11812     for ac_exec_ext in '' $ac_executable_extensions; do
   11813   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11814     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11815     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11816     break 2
   11817   fi
   11818 done
   11819   done
   11820 IFS=$as_save_IFS
   11821 
   11822   ;;
   11823 esac
   11824 fi
   11825 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   11826 if test -n "$PKG_CONFIG"; then
   11827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   11828 $as_echo "$PKG_CONFIG" >&6; }
   11829 else
   11830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11831 $as_echo "no" >&6; }
   11832 fi
   11833 
   11834 
   11835 fi
   11836 if test -z "$ac_cv_path_PKG_CONFIG"; then
   11837   ac_pt_PKG_CONFIG=$PKG_CONFIG
   11838   # Extract the first word of "pkg-config", so it can be a program name with args.
   11839 set dummy pkg-config; ac_word=$2
   11840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11841 $as_echo_n "checking for $ac_word... " >&6; }
   11842 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   11843   $as_echo_n "(cached) " >&6
   11844 else
   11845   case $ac_pt_PKG_CONFIG in
   11846   [\\/]* | ?:[\\/]*)
   11847   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   11848   ;;
   11849   *)
   11850   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11851 for as_dir in $PATH
   11852 do
   11853   IFS=$as_save_IFS
   11854   test -z "$as_dir" && as_dir=.
   11855     for ac_exec_ext in '' $ac_executable_extensions; do
   11856   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11857     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11858     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11859     break 2
   11860   fi
   11861 done
   11862   done
   11863 IFS=$as_save_IFS
   11864 
   11865   ;;
   11866 esac
   11867 fi
   11868 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   11869 if test -n "$ac_pt_PKG_CONFIG"; then
   11870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   11871 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   11872 else
   11873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11874 $as_echo "no" >&6; }
   11875 fi
   11876 
   11877   if test "x$ac_pt_PKG_CONFIG" = x; then
   11878     PKG_CONFIG=""
   11879   else
   11880     case $cross_compiling:$ac_tool_warned in
   11881 yes:)
   11882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11883 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11884 ac_tool_warned=yes ;;
   11885 esac
   11886     PKG_CONFIG=$ac_pt_PKG_CONFIG
   11887   fi
   11888 else
   11889   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   11890 fi
   11891 
   11892 fi
   11893 if test -n "$PKG_CONFIG"; then
   11894 	_pkg_min_version=0.9.0
   11895 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   11896 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   11897 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   11898 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11899 $as_echo "yes" >&6; }
   11900 	else
   11901 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11902 $as_echo "no" >&6; }
   11903 		PKG_CONFIG=""
   11904 	fi
   11905 fi
   11906 
   11907 
   11908 
   11909 
   11910 
   11911 # Check whether --enable-selective-werror was given.
   11912 if test "${enable_selective_werror+set}" = set; then :
   11913   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   11914 else
   11915   SELECTIVE_WERROR=yes
   11916 fi
   11917 
   11918 
   11919 
   11920 
   11921 
   11922 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   11923 if test "x$SUNCC" = "xyes"; then
   11924     BASE_CFLAGS="-v"
   11925 else
   11926     BASE_CFLAGS=""
   11927 fi
   11928 
   11929 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   11930 
   11931 
   11932 
   11933 
   11934 
   11935 
   11936 
   11937 
   11938 
   11939 
   11940 
   11941 
   11942 
   11943 xorg_testset_save_CFLAGS="$CFLAGS"
   11944 
   11945 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11946 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11947 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11948 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11949 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11950   $as_echo_n "(cached) " >&6
   11951 else
   11952   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11953 /* end confdefs.h.  */
   11954 int i;
   11955 _ACEOF
   11956 if ac_fn_c_try_compile "$LINENO"; then :
   11957   xorg_cv_cc_flag_unknown_warning_option=yes
   11958 else
   11959   xorg_cv_cc_flag_unknown_warning_option=no
   11960 fi
   11961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11962 fi
   11963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11964 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11965 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11966 	CFLAGS="$xorg_testset_save_CFLAGS"
   11967 fi
   11968 
   11969 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11970 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11971 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11972 	fi
   11973 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11974 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11975 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11976 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11977   $as_echo_n "(cached) " >&6
   11978 else
   11979   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11980 /* end confdefs.h.  */
   11981 int i;
   11982 _ACEOF
   11983 if ac_fn_c_try_compile "$LINENO"; then :
   11984   xorg_cv_cc_flag_unused_command_line_argument=yes
   11985 else
   11986   xorg_cv_cc_flag_unused_command_line_argument=no
   11987 fi
   11988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11989 fi
   11990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11991 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11992 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11993 	CFLAGS="$xorg_testset_save_CFLAGS"
   11994 fi
   11995 
   11996 found="no"
   11997 
   11998 	if test $found = "no" ; then
   11999 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12000 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12001 		fi
   12002 
   12003 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12004 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12005 		fi
   12006 
   12007 		CFLAGS="$CFLAGS -Wall"
   12008 
   12009 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   12010 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   12011 		cacheid=xorg_cv_cc_flag__Wall
   12012 		if eval \${$cacheid+:} false; then :
   12013   $as_echo_n "(cached) " >&6
   12014 else
   12015   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12016 /* end confdefs.h.  */
   12017 int i;
   12018 int
   12019 main ()
   12020 {
   12021 
   12022   ;
   12023   return 0;
   12024 }
   12025 _ACEOF
   12026 if ac_fn_c_try_link "$LINENO"; then :
   12027   eval $cacheid=yes
   12028 else
   12029   eval $cacheid=no
   12030 fi
   12031 rm -f core conftest.err conftest.$ac_objext \
   12032     conftest$ac_exeext conftest.$ac_ext
   12033 fi
   12034 
   12035 
   12036 		CFLAGS="$xorg_testset_save_CFLAGS"
   12037 
   12038 		eval supported=\$$cacheid
   12039 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12040 $as_echo "$supported" >&6; }
   12041 		if test "$supported" = "yes" ; then
   12042 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   12043 			found="yes"
   12044 		fi
   12045 	fi
   12046 
   12047 
   12048 
   12049 
   12050 
   12051 
   12052 
   12053 
   12054 
   12055 
   12056 
   12057 
   12058 
   12059 
   12060 
   12061 xorg_testset_save_CFLAGS="$CFLAGS"
   12062 
   12063 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12064 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12065 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12066 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12067 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12068   $as_echo_n "(cached) " >&6
   12069 else
   12070   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12071 /* end confdefs.h.  */
   12072 int i;
   12073 _ACEOF
   12074 if ac_fn_c_try_compile "$LINENO"; then :
   12075   xorg_cv_cc_flag_unknown_warning_option=yes
   12076 else
   12077   xorg_cv_cc_flag_unknown_warning_option=no
   12078 fi
   12079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12080 fi
   12081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12082 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12083 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12084 	CFLAGS="$xorg_testset_save_CFLAGS"
   12085 fi
   12086 
   12087 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12088 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12089 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12090 	fi
   12091 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12092 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12093 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12094 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12095   $as_echo_n "(cached) " >&6
   12096 else
   12097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12098 /* end confdefs.h.  */
   12099 int i;
   12100 _ACEOF
   12101 if ac_fn_c_try_compile "$LINENO"; then :
   12102   xorg_cv_cc_flag_unused_command_line_argument=yes
   12103 else
   12104   xorg_cv_cc_flag_unused_command_line_argument=no
   12105 fi
   12106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12107 fi
   12108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12109 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12110 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12111 	CFLAGS="$xorg_testset_save_CFLAGS"
   12112 fi
   12113 
   12114 found="no"
   12115 
   12116 	if test $found = "no" ; then
   12117 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12118 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12119 		fi
   12120 
   12121 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12122 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12123 		fi
   12124 
   12125 		CFLAGS="$CFLAGS -Wpointer-arith"
   12126 
   12127 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   12128 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   12129 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   12130 		if eval \${$cacheid+:} false; then :
   12131   $as_echo_n "(cached) " >&6
   12132 else
   12133   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12134 /* end confdefs.h.  */
   12135 int i;
   12136 int
   12137 main ()
   12138 {
   12139 
   12140   ;
   12141   return 0;
   12142 }
   12143 _ACEOF
   12144 if ac_fn_c_try_link "$LINENO"; then :
   12145   eval $cacheid=yes
   12146 else
   12147   eval $cacheid=no
   12148 fi
   12149 rm -f core conftest.err conftest.$ac_objext \
   12150     conftest$ac_exeext conftest.$ac_ext
   12151 fi
   12152 
   12153 
   12154 		CFLAGS="$xorg_testset_save_CFLAGS"
   12155 
   12156 		eval supported=\$$cacheid
   12157 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12158 $as_echo "$supported" >&6; }
   12159 		if test "$supported" = "yes" ; then
   12160 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   12161 			found="yes"
   12162 		fi
   12163 	fi
   12164 
   12165 
   12166 
   12167 
   12168 
   12169 
   12170 
   12171 
   12172 
   12173 
   12174 
   12175 
   12176 
   12177 
   12178 
   12179 xorg_testset_save_CFLAGS="$CFLAGS"
   12180 
   12181 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12182 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12183 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12184 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12185 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12186   $as_echo_n "(cached) " >&6
   12187 else
   12188   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12189 /* end confdefs.h.  */
   12190 int i;
   12191 _ACEOF
   12192 if ac_fn_c_try_compile "$LINENO"; then :
   12193   xorg_cv_cc_flag_unknown_warning_option=yes
   12194 else
   12195   xorg_cv_cc_flag_unknown_warning_option=no
   12196 fi
   12197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12198 fi
   12199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12200 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12201 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12202 	CFLAGS="$xorg_testset_save_CFLAGS"
   12203 fi
   12204 
   12205 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12206 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12207 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12208 	fi
   12209 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12210 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12211 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12212 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12213   $as_echo_n "(cached) " >&6
   12214 else
   12215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12216 /* end confdefs.h.  */
   12217 int i;
   12218 _ACEOF
   12219 if ac_fn_c_try_compile "$LINENO"; then :
   12220   xorg_cv_cc_flag_unused_command_line_argument=yes
   12221 else
   12222   xorg_cv_cc_flag_unused_command_line_argument=no
   12223 fi
   12224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12225 fi
   12226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12227 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12228 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12229 	CFLAGS="$xorg_testset_save_CFLAGS"
   12230 fi
   12231 
   12232 found="no"
   12233 
   12234 	if test $found = "no" ; then
   12235 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12236 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12237 		fi
   12238 
   12239 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12240 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12241 		fi
   12242 
   12243 		CFLAGS="$CFLAGS -Wmissing-declarations"
   12244 
   12245 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   12246 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   12247 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   12248 		if eval \${$cacheid+:} false; then :
   12249   $as_echo_n "(cached) " >&6
   12250 else
   12251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12252 /* end confdefs.h.  */
   12253 int i;
   12254 int
   12255 main ()
   12256 {
   12257 
   12258   ;
   12259   return 0;
   12260 }
   12261 _ACEOF
   12262 if ac_fn_c_try_link "$LINENO"; then :
   12263   eval $cacheid=yes
   12264 else
   12265   eval $cacheid=no
   12266 fi
   12267 rm -f core conftest.err conftest.$ac_objext \
   12268     conftest$ac_exeext conftest.$ac_ext
   12269 fi
   12270 
   12271 
   12272 		CFLAGS="$xorg_testset_save_CFLAGS"
   12273 
   12274 		eval supported=\$$cacheid
   12275 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12276 $as_echo "$supported" >&6; }
   12277 		if test "$supported" = "yes" ; then
   12278 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   12279 			found="yes"
   12280 		fi
   12281 	fi
   12282 
   12283 
   12284 
   12285 
   12286 
   12287 
   12288 
   12289 
   12290 
   12291 
   12292 
   12293 
   12294 
   12295 
   12296 
   12297 xorg_testset_save_CFLAGS="$CFLAGS"
   12298 
   12299 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12300 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12301 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12302 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12303 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12304   $as_echo_n "(cached) " >&6
   12305 else
   12306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12307 /* end confdefs.h.  */
   12308 int i;
   12309 _ACEOF
   12310 if ac_fn_c_try_compile "$LINENO"; then :
   12311   xorg_cv_cc_flag_unknown_warning_option=yes
   12312 else
   12313   xorg_cv_cc_flag_unknown_warning_option=no
   12314 fi
   12315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12316 fi
   12317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12318 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12319 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12320 	CFLAGS="$xorg_testset_save_CFLAGS"
   12321 fi
   12322 
   12323 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12324 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12325 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12326 	fi
   12327 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12328 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12329 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12330 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12331   $as_echo_n "(cached) " >&6
   12332 else
   12333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12334 /* end confdefs.h.  */
   12335 int i;
   12336 _ACEOF
   12337 if ac_fn_c_try_compile "$LINENO"; then :
   12338   xorg_cv_cc_flag_unused_command_line_argument=yes
   12339 else
   12340   xorg_cv_cc_flag_unused_command_line_argument=no
   12341 fi
   12342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12343 fi
   12344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12345 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12346 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12347 	CFLAGS="$xorg_testset_save_CFLAGS"
   12348 fi
   12349 
   12350 found="no"
   12351 
   12352 	if test $found = "no" ; then
   12353 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12354 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12355 		fi
   12356 
   12357 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12358 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12359 		fi
   12360 
   12361 		CFLAGS="$CFLAGS -Wformat=2"
   12362 
   12363 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   12364 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   12365 		cacheid=xorg_cv_cc_flag__Wformat_2
   12366 		if eval \${$cacheid+:} false; then :
   12367   $as_echo_n "(cached) " >&6
   12368 else
   12369   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12370 /* end confdefs.h.  */
   12371 int i;
   12372 int
   12373 main ()
   12374 {
   12375 
   12376   ;
   12377   return 0;
   12378 }
   12379 _ACEOF
   12380 if ac_fn_c_try_link "$LINENO"; then :
   12381   eval $cacheid=yes
   12382 else
   12383   eval $cacheid=no
   12384 fi
   12385 rm -f core conftest.err conftest.$ac_objext \
   12386     conftest$ac_exeext conftest.$ac_ext
   12387 fi
   12388 
   12389 
   12390 		CFLAGS="$xorg_testset_save_CFLAGS"
   12391 
   12392 		eval supported=\$$cacheid
   12393 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12394 $as_echo "$supported" >&6; }
   12395 		if test "$supported" = "yes" ; then
   12396 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   12397 			found="yes"
   12398 		fi
   12399 	fi
   12400 
   12401 	if test $found = "no" ; then
   12402 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12403 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12404 		fi
   12405 
   12406 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12407 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12408 		fi
   12409 
   12410 		CFLAGS="$CFLAGS -Wformat"
   12411 
   12412 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   12413 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   12414 		cacheid=xorg_cv_cc_flag__Wformat
   12415 		if eval \${$cacheid+:} false; then :
   12416   $as_echo_n "(cached) " >&6
   12417 else
   12418   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12419 /* end confdefs.h.  */
   12420 int i;
   12421 int
   12422 main ()
   12423 {
   12424 
   12425   ;
   12426   return 0;
   12427 }
   12428 _ACEOF
   12429 if ac_fn_c_try_link "$LINENO"; then :
   12430   eval $cacheid=yes
   12431 else
   12432   eval $cacheid=no
   12433 fi
   12434 rm -f core conftest.err conftest.$ac_objext \
   12435     conftest$ac_exeext conftest.$ac_ext
   12436 fi
   12437 
   12438 
   12439 		CFLAGS="$xorg_testset_save_CFLAGS"
   12440 
   12441 		eval supported=\$$cacheid
   12442 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12443 $as_echo "$supported" >&6; }
   12444 		if test "$supported" = "yes" ; then
   12445 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   12446 			found="yes"
   12447 		fi
   12448 	fi
   12449 
   12450 
   12451 
   12452 
   12453 
   12454 
   12455 
   12456 
   12457 
   12458 
   12459 
   12460 
   12461 
   12462 
   12463 
   12464 
   12465 
   12466 xorg_testset_save_CFLAGS="$CFLAGS"
   12467 
   12468 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12469 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12470 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12471 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12472 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12473   $as_echo_n "(cached) " >&6
   12474 else
   12475   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12476 /* end confdefs.h.  */
   12477 int i;
   12478 _ACEOF
   12479 if ac_fn_c_try_compile "$LINENO"; then :
   12480   xorg_cv_cc_flag_unknown_warning_option=yes
   12481 else
   12482   xorg_cv_cc_flag_unknown_warning_option=no
   12483 fi
   12484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12485 fi
   12486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12487 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12488 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12489 	CFLAGS="$xorg_testset_save_CFLAGS"
   12490 fi
   12491 
   12492 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12493 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12494 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12495 	fi
   12496 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12497 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12498 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12499 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12500   $as_echo_n "(cached) " >&6
   12501 else
   12502   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12503 /* end confdefs.h.  */
   12504 int i;
   12505 _ACEOF
   12506 if ac_fn_c_try_compile "$LINENO"; then :
   12507   xorg_cv_cc_flag_unused_command_line_argument=yes
   12508 else
   12509   xorg_cv_cc_flag_unused_command_line_argument=no
   12510 fi
   12511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12512 fi
   12513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12514 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12515 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12516 	CFLAGS="$xorg_testset_save_CFLAGS"
   12517 fi
   12518 
   12519 found="no"
   12520 
   12521 	if test $found = "no" ; then
   12522 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12523 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12524 		fi
   12525 
   12526 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12527 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12528 		fi
   12529 
   12530 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   12531 
   12532 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   12533 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   12534 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   12535 		if eval \${$cacheid+:} false; then :
   12536   $as_echo_n "(cached) " >&6
   12537 else
   12538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12539 /* end confdefs.h.  */
   12540 int i;
   12541 int
   12542 main ()
   12543 {
   12544 
   12545   ;
   12546   return 0;
   12547 }
   12548 _ACEOF
   12549 if ac_fn_c_try_link "$LINENO"; then :
   12550   eval $cacheid=yes
   12551 else
   12552   eval $cacheid=no
   12553 fi
   12554 rm -f core conftest.err conftest.$ac_objext \
   12555     conftest$ac_exeext conftest.$ac_ext
   12556 fi
   12557 
   12558 
   12559 		CFLAGS="$xorg_testset_save_CFLAGS"
   12560 
   12561 		eval supported=\$$cacheid
   12562 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12563 $as_echo "$supported" >&6; }
   12564 		if test "$supported" = "yes" ; then
   12565 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   12566 			found="yes"
   12567 		fi
   12568 	fi
   12569 
   12570 
   12571 
   12572 
   12573 
   12574 
   12575 
   12576 
   12577 
   12578 
   12579 
   12580 
   12581 
   12582 
   12583 
   12584 xorg_testset_save_CFLAGS="$CFLAGS"
   12585 
   12586 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12587 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12588 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12589 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12590 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12591   $as_echo_n "(cached) " >&6
   12592 else
   12593   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12594 /* end confdefs.h.  */
   12595 int i;
   12596 _ACEOF
   12597 if ac_fn_c_try_compile "$LINENO"; then :
   12598   xorg_cv_cc_flag_unknown_warning_option=yes
   12599 else
   12600   xorg_cv_cc_flag_unknown_warning_option=no
   12601 fi
   12602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12603 fi
   12604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12605 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12606 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12607 	CFLAGS="$xorg_testset_save_CFLAGS"
   12608 fi
   12609 
   12610 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12611 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12612 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12613 	fi
   12614 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12615 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12616 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12617 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12618   $as_echo_n "(cached) " >&6
   12619 else
   12620   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12621 /* end confdefs.h.  */
   12622 int i;
   12623 _ACEOF
   12624 if ac_fn_c_try_compile "$LINENO"; then :
   12625   xorg_cv_cc_flag_unused_command_line_argument=yes
   12626 else
   12627   xorg_cv_cc_flag_unused_command_line_argument=no
   12628 fi
   12629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12630 fi
   12631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12632 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12633 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12634 	CFLAGS="$xorg_testset_save_CFLAGS"
   12635 fi
   12636 
   12637 found="no"
   12638 
   12639 	if test $found = "no" ; then
   12640 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12641 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12642 		fi
   12643 
   12644 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12645 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12646 		fi
   12647 
   12648 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   12649 
   12650 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   12651 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   12652 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   12653 		if eval \${$cacheid+:} false; then :
   12654   $as_echo_n "(cached) " >&6
   12655 else
   12656   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12657 /* end confdefs.h.  */
   12658 int i;
   12659 int
   12660 main ()
   12661 {
   12662 
   12663   ;
   12664   return 0;
   12665 }
   12666 _ACEOF
   12667 if ac_fn_c_try_link "$LINENO"; then :
   12668   eval $cacheid=yes
   12669 else
   12670   eval $cacheid=no
   12671 fi
   12672 rm -f core conftest.err conftest.$ac_objext \
   12673     conftest$ac_exeext conftest.$ac_ext
   12674 fi
   12675 
   12676 
   12677 		CFLAGS="$xorg_testset_save_CFLAGS"
   12678 
   12679 		eval supported=\$$cacheid
   12680 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12681 $as_echo "$supported" >&6; }
   12682 		if test "$supported" = "yes" ; then
   12683 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   12684 			found="yes"
   12685 		fi
   12686 	fi
   12687 
   12688 
   12689 
   12690 
   12691 
   12692 
   12693 
   12694 
   12695 
   12696 
   12697 
   12698 
   12699 
   12700 
   12701 
   12702 xorg_testset_save_CFLAGS="$CFLAGS"
   12703 
   12704 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12705 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12706 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12707 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12708 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12709   $as_echo_n "(cached) " >&6
   12710 else
   12711   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12712 /* end confdefs.h.  */
   12713 int i;
   12714 _ACEOF
   12715 if ac_fn_c_try_compile "$LINENO"; then :
   12716   xorg_cv_cc_flag_unknown_warning_option=yes
   12717 else
   12718   xorg_cv_cc_flag_unknown_warning_option=no
   12719 fi
   12720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12721 fi
   12722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12723 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12724 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12725 	CFLAGS="$xorg_testset_save_CFLAGS"
   12726 fi
   12727 
   12728 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12729 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12730 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12731 	fi
   12732 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12733 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12734 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12735 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12736   $as_echo_n "(cached) " >&6
   12737 else
   12738   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12739 /* end confdefs.h.  */
   12740 int i;
   12741 _ACEOF
   12742 if ac_fn_c_try_compile "$LINENO"; then :
   12743   xorg_cv_cc_flag_unused_command_line_argument=yes
   12744 else
   12745   xorg_cv_cc_flag_unused_command_line_argument=no
   12746 fi
   12747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12748 fi
   12749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12750 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12751 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12752 	CFLAGS="$xorg_testset_save_CFLAGS"
   12753 fi
   12754 
   12755 found="no"
   12756 
   12757 	if test $found = "no" ; then
   12758 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12759 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12760 		fi
   12761 
   12762 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12763 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12764 		fi
   12765 
   12766 		CFLAGS="$CFLAGS -Wnested-externs"
   12767 
   12768 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   12769 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   12770 		cacheid=xorg_cv_cc_flag__Wnested_externs
   12771 		if eval \${$cacheid+:} false; then :
   12772   $as_echo_n "(cached) " >&6
   12773 else
   12774   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12775 /* end confdefs.h.  */
   12776 int i;
   12777 int
   12778 main ()
   12779 {
   12780 
   12781   ;
   12782   return 0;
   12783 }
   12784 _ACEOF
   12785 if ac_fn_c_try_link "$LINENO"; then :
   12786   eval $cacheid=yes
   12787 else
   12788   eval $cacheid=no
   12789 fi
   12790 rm -f core conftest.err conftest.$ac_objext \
   12791     conftest$ac_exeext conftest.$ac_ext
   12792 fi
   12793 
   12794 
   12795 		CFLAGS="$xorg_testset_save_CFLAGS"
   12796 
   12797 		eval supported=\$$cacheid
   12798 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12799 $as_echo "$supported" >&6; }
   12800 		if test "$supported" = "yes" ; then
   12801 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   12802 			found="yes"
   12803 		fi
   12804 	fi
   12805 
   12806 
   12807 
   12808 
   12809 
   12810 
   12811 
   12812 
   12813 
   12814 
   12815 
   12816 
   12817 
   12818 
   12819 
   12820 xorg_testset_save_CFLAGS="$CFLAGS"
   12821 
   12822 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12823 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12824 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12825 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12826 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12827   $as_echo_n "(cached) " >&6
   12828 else
   12829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12830 /* end confdefs.h.  */
   12831 int i;
   12832 _ACEOF
   12833 if ac_fn_c_try_compile "$LINENO"; then :
   12834   xorg_cv_cc_flag_unknown_warning_option=yes
   12835 else
   12836   xorg_cv_cc_flag_unknown_warning_option=no
   12837 fi
   12838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12839 fi
   12840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12841 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12842 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12843 	CFLAGS="$xorg_testset_save_CFLAGS"
   12844 fi
   12845 
   12846 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12847 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12848 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12849 	fi
   12850 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12851 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12852 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12853 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12854   $as_echo_n "(cached) " >&6
   12855 else
   12856   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12857 /* end confdefs.h.  */
   12858 int i;
   12859 _ACEOF
   12860 if ac_fn_c_try_compile "$LINENO"; then :
   12861   xorg_cv_cc_flag_unused_command_line_argument=yes
   12862 else
   12863   xorg_cv_cc_flag_unused_command_line_argument=no
   12864 fi
   12865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12866 fi
   12867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12868 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12869 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12870 	CFLAGS="$xorg_testset_save_CFLAGS"
   12871 fi
   12872 
   12873 found="no"
   12874 
   12875 	if test $found = "no" ; then
   12876 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12877 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12878 		fi
   12879 
   12880 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12881 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12882 		fi
   12883 
   12884 		CFLAGS="$CFLAGS -Wbad-function-cast"
   12885 
   12886 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   12887 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   12888 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   12889 		if eval \${$cacheid+:} false; then :
   12890   $as_echo_n "(cached) " >&6
   12891 else
   12892   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12893 /* end confdefs.h.  */
   12894 int i;
   12895 int
   12896 main ()
   12897 {
   12898 
   12899   ;
   12900   return 0;
   12901 }
   12902 _ACEOF
   12903 if ac_fn_c_try_link "$LINENO"; then :
   12904   eval $cacheid=yes
   12905 else
   12906   eval $cacheid=no
   12907 fi
   12908 rm -f core conftest.err conftest.$ac_objext \
   12909     conftest$ac_exeext conftest.$ac_ext
   12910 fi
   12911 
   12912 
   12913 		CFLAGS="$xorg_testset_save_CFLAGS"
   12914 
   12915 		eval supported=\$$cacheid
   12916 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12917 $as_echo "$supported" >&6; }
   12918 		if test "$supported" = "yes" ; then
   12919 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   12920 			found="yes"
   12921 		fi
   12922 	fi
   12923 
   12924 
   12925 
   12926 
   12927 
   12928 
   12929 
   12930 
   12931 
   12932 
   12933 
   12934 
   12935 
   12936 
   12937 
   12938 xorg_testset_save_CFLAGS="$CFLAGS"
   12939 
   12940 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12941 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12942 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12943 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12944 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12945   $as_echo_n "(cached) " >&6
   12946 else
   12947   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12948 /* end confdefs.h.  */
   12949 int i;
   12950 _ACEOF
   12951 if ac_fn_c_try_compile "$LINENO"; then :
   12952   xorg_cv_cc_flag_unknown_warning_option=yes
   12953 else
   12954   xorg_cv_cc_flag_unknown_warning_option=no
   12955 fi
   12956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12957 fi
   12958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12959 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12960 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12961 	CFLAGS="$xorg_testset_save_CFLAGS"
   12962 fi
   12963 
   12964 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12965 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12966 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12967 	fi
   12968 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12969 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12970 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12971 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12972   $as_echo_n "(cached) " >&6
   12973 else
   12974   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12975 /* end confdefs.h.  */
   12976 int i;
   12977 _ACEOF
   12978 if ac_fn_c_try_compile "$LINENO"; then :
   12979   xorg_cv_cc_flag_unused_command_line_argument=yes
   12980 else
   12981   xorg_cv_cc_flag_unused_command_line_argument=no
   12982 fi
   12983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12984 fi
   12985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12986 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12987 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12988 	CFLAGS="$xorg_testset_save_CFLAGS"
   12989 fi
   12990 
   12991 found="no"
   12992 
   12993 	if test $found = "no" ; then
   12994 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12995 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12996 		fi
   12997 
   12998 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12999 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13000 		fi
   13001 
   13002 		CFLAGS="$CFLAGS -Wold-style-definition"
   13003 
   13004 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   13005 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   13006 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   13007 		if eval \${$cacheid+:} false; then :
   13008   $as_echo_n "(cached) " >&6
   13009 else
   13010   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13011 /* end confdefs.h.  */
   13012 int i;
   13013 int
   13014 main ()
   13015 {
   13016 
   13017   ;
   13018   return 0;
   13019 }
   13020 _ACEOF
   13021 if ac_fn_c_try_link "$LINENO"; then :
   13022   eval $cacheid=yes
   13023 else
   13024   eval $cacheid=no
   13025 fi
   13026 rm -f core conftest.err conftest.$ac_objext \
   13027     conftest$ac_exeext conftest.$ac_ext
   13028 fi
   13029 
   13030 
   13031 		CFLAGS="$xorg_testset_save_CFLAGS"
   13032 
   13033 		eval supported=\$$cacheid
   13034 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13035 $as_echo "$supported" >&6; }
   13036 		if test "$supported" = "yes" ; then
   13037 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   13038 			found="yes"
   13039 		fi
   13040 	fi
   13041 
   13042 	if test $found = "no" ; then
   13043 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13044 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13045 		fi
   13046 
   13047 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13048 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13049 		fi
   13050 
   13051 		CFLAGS="$CFLAGS -fd"
   13052 
   13053 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   13054 $as_echo_n "checking if $CC supports -fd... " >&6; }
   13055 		cacheid=xorg_cv_cc_flag__fd
   13056 		if eval \${$cacheid+:} false; then :
   13057   $as_echo_n "(cached) " >&6
   13058 else
   13059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13060 /* end confdefs.h.  */
   13061 int i;
   13062 int
   13063 main ()
   13064 {
   13065 
   13066   ;
   13067   return 0;
   13068 }
   13069 _ACEOF
   13070 if ac_fn_c_try_link "$LINENO"; then :
   13071   eval $cacheid=yes
   13072 else
   13073   eval $cacheid=no
   13074 fi
   13075 rm -f core conftest.err conftest.$ac_objext \
   13076     conftest$ac_exeext conftest.$ac_ext
   13077 fi
   13078 
   13079 
   13080 		CFLAGS="$xorg_testset_save_CFLAGS"
   13081 
   13082 		eval supported=\$$cacheid
   13083 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13084 $as_echo "$supported" >&6; }
   13085 		if test "$supported" = "yes" ; then
   13086 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   13087 			found="yes"
   13088 		fi
   13089 	fi
   13090 
   13091 
   13092 
   13093 
   13094 
   13095 
   13096 
   13097 
   13098 
   13099 
   13100 
   13101 
   13102 
   13103 
   13104 
   13105 xorg_testset_save_CFLAGS="$CFLAGS"
   13106 
   13107 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13108 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13109 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13110 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13111 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13112   $as_echo_n "(cached) " >&6
   13113 else
   13114   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13115 /* end confdefs.h.  */
   13116 int i;
   13117 _ACEOF
   13118 if ac_fn_c_try_compile "$LINENO"; then :
   13119   xorg_cv_cc_flag_unknown_warning_option=yes
   13120 else
   13121   xorg_cv_cc_flag_unknown_warning_option=no
   13122 fi
   13123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13124 fi
   13125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13126 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13127 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13128 	CFLAGS="$xorg_testset_save_CFLAGS"
   13129 fi
   13130 
   13131 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13132 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13133 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13134 	fi
   13135 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13136 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13137 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13138 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13139   $as_echo_n "(cached) " >&6
   13140 else
   13141   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13142 /* end confdefs.h.  */
   13143 int i;
   13144 _ACEOF
   13145 if ac_fn_c_try_compile "$LINENO"; then :
   13146   xorg_cv_cc_flag_unused_command_line_argument=yes
   13147 else
   13148   xorg_cv_cc_flag_unused_command_line_argument=no
   13149 fi
   13150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13151 fi
   13152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13153 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13154 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13155 	CFLAGS="$xorg_testset_save_CFLAGS"
   13156 fi
   13157 
   13158 found="no"
   13159 
   13160 	if test $found = "no" ; then
   13161 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13162 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13163 		fi
   13164 
   13165 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13166 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13167 		fi
   13168 
   13169 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   13170 
   13171 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   13172 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   13173 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   13174 		if eval \${$cacheid+:} false; then :
   13175   $as_echo_n "(cached) " >&6
   13176 else
   13177   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13178 /* end confdefs.h.  */
   13179 int i;
   13180 int
   13181 main ()
   13182 {
   13183 
   13184   ;
   13185   return 0;
   13186 }
   13187 _ACEOF
   13188 if ac_fn_c_try_link "$LINENO"; then :
   13189   eval $cacheid=yes
   13190 else
   13191   eval $cacheid=no
   13192 fi
   13193 rm -f core conftest.err conftest.$ac_objext \
   13194     conftest$ac_exeext conftest.$ac_ext
   13195 fi
   13196 
   13197 
   13198 		CFLAGS="$xorg_testset_save_CFLAGS"
   13199 
   13200 		eval supported=\$$cacheid
   13201 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13202 $as_echo "$supported" >&6; }
   13203 		if test "$supported" = "yes" ; then
   13204 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   13205 			found="yes"
   13206 		fi
   13207 	fi
   13208 
   13209 
   13210 
   13211 
   13212 
   13213 # This chunk adds additional warnings that could catch undesired effects.
   13214 
   13215 
   13216 
   13217 
   13218 
   13219 
   13220 
   13221 
   13222 
   13223 
   13224 
   13225 
   13226 
   13227 xorg_testset_save_CFLAGS="$CFLAGS"
   13228 
   13229 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13230 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13231 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13232 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13233 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13234   $as_echo_n "(cached) " >&6
   13235 else
   13236   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13237 /* end confdefs.h.  */
   13238 int i;
   13239 _ACEOF
   13240 if ac_fn_c_try_compile "$LINENO"; then :
   13241   xorg_cv_cc_flag_unknown_warning_option=yes
   13242 else
   13243   xorg_cv_cc_flag_unknown_warning_option=no
   13244 fi
   13245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13246 fi
   13247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13248 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13249 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13250 	CFLAGS="$xorg_testset_save_CFLAGS"
   13251 fi
   13252 
   13253 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13254 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13255 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13256 	fi
   13257 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13258 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13259 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13260 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13261   $as_echo_n "(cached) " >&6
   13262 else
   13263   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13264 /* end confdefs.h.  */
   13265 int i;
   13266 _ACEOF
   13267 if ac_fn_c_try_compile "$LINENO"; then :
   13268   xorg_cv_cc_flag_unused_command_line_argument=yes
   13269 else
   13270   xorg_cv_cc_flag_unused_command_line_argument=no
   13271 fi
   13272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13273 fi
   13274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13275 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13276 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13277 	CFLAGS="$xorg_testset_save_CFLAGS"
   13278 fi
   13279 
   13280 found="no"
   13281 
   13282 	if test $found = "no" ; then
   13283 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13284 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13285 		fi
   13286 
   13287 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13288 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13289 		fi
   13290 
   13291 		CFLAGS="$CFLAGS -Wunused"
   13292 
   13293 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   13294 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   13295 		cacheid=xorg_cv_cc_flag__Wunused
   13296 		if eval \${$cacheid+:} false; then :
   13297   $as_echo_n "(cached) " >&6
   13298 else
   13299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13300 /* end confdefs.h.  */
   13301 int i;
   13302 int
   13303 main ()
   13304 {
   13305 
   13306   ;
   13307   return 0;
   13308 }
   13309 _ACEOF
   13310 if ac_fn_c_try_link "$LINENO"; then :
   13311   eval $cacheid=yes
   13312 else
   13313   eval $cacheid=no
   13314 fi
   13315 rm -f core conftest.err conftest.$ac_objext \
   13316     conftest$ac_exeext conftest.$ac_ext
   13317 fi
   13318 
   13319 
   13320 		CFLAGS="$xorg_testset_save_CFLAGS"
   13321 
   13322 		eval supported=\$$cacheid
   13323 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13324 $as_echo "$supported" >&6; }
   13325 		if test "$supported" = "yes" ; then
   13326 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   13327 			found="yes"
   13328 		fi
   13329 	fi
   13330 
   13331 
   13332 
   13333 
   13334 
   13335 
   13336 
   13337 
   13338 
   13339 
   13340 
   13341 
   13342 
   13343 
   13344 
   13345 xorg_testset_save_CFLAGS="$CFLAGS"
   13346 
   13347 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13348 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13349 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13350 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13351 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13352   $as_echo_n "(cached) " >&6
   13353 else
   13354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13355 /* end confdefs.h.  */
   13356 int i;
   13357 _ACEOF
   13358 if ac_fn_c_try_compile "$LINENO"; then :
   13359   xorg_cv_cc_flag_unknown_warning_option=yes
   13360 else
   13361   xorg_cv_cc_flag_unknown_warning_option=no
   13362 fi
   13363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13364 fi
   13365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13366 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13367 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13368 	CFLAGS="$xorg_testset_save_CFLAGS"
   13369 fi
   13370 
   13371 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13372 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13373 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13374 	fi
   13375 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13376 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13377 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13378 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13379   $as_echo_n "(cached) " >&6
   13380 else
   13381   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13382 /* end confdefs.h.  */
   13383 int i;
   13384 _ACEOF
   13385 if ac_fn_c_try_compile "$LINENO"; then :
   13386   xorg_cv_cc_flag_unused_command_line_argument=yes
   13387 else
   13388   xorg_cv_cc_flag_unused_command_line_argument=no
   13389 fi
   13390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13391 fi
   13392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13393 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13394 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13395 	CFLAGS="$xorg_testset_save_CFLAGS"
   13396 fi
   13397 
   13398 found="no"
   13399 
   13400 	if test $found = "no" ; then
   13401 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13402 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13403 		fi
   13404 
   13405 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13406 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13407 		fi
   13408 
   13409 		CFLAGS="$CFLAGS -Wuninitialized"
   13410 
   13411 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   13412 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   13413 		cacheid=xorg_cv_cc_flag__Wuninitialized
   13414 		if eval \${$cacheid+:} false; then :
   13415   $as_echo_n "(cached) " >&6
   13416 else
   13417   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13418 /* end confdefs.h.  */
   13419 int i;
   13420 int
   13421 main ()
   13422 {
   13423 
   13424   ;
   13425   return 0;
   13426 }
   13427 _ACEOF
   13428 if ac_fn_c_try_link "$LINENO"; then :
   13429   eval $cacheid=yes
   13430 else
   13431   eval $cacheid=no
   13432 fi
   13433 rm -f core conftest.err conftest.$ac_objext \
   13434     conftest$ac_exeext conftest.$ac_ext
   13435 fi
   13436 
   13437 
   13438 		CFLAGS="$xorg_testset_save_CFLAGS"
   13439 
   13440 		eval supported=\$$cacheid
   13441 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13442 $as_echo "$supported" >&6; }
   13443 		if test "$supported" = "yes" ; then
   13444 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   13445 			found="yes"
   13446 		fi
   13447 	fi
   13448 
   13449 
   13450 
   13451 
   13452 
   13453 
   13454 
   13455 
   13456 
   13457 
   13458 
   13459 
   13460 
   13461 
   13462 
   13463 xorg_testset_save_CFLAGS="$CFLAGS"
   13464 
   13465 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13466 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13467 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13468 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13469 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13470   $as_echo_n "(cached) " >&6
   13471 else
   13472   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13473 /* end confdefs.h.  */
   13474 int i;
   13475 _ACEOF
   13476 if ac_fn_c_try_compile "$LINENO"; then :
   13477   xorg_cv_cc_flag_unknown_warning_option=yes
   13478 else
   13479   xorg_cv_cc_flag_unknown_warning_option=no
   13480 fi
   13481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13482 fi
   13483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13484 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13485 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13486 	CFLAGS="$xorg_testset_save_CFLAGS"
   13487 fi
   13488 
   13489 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13490 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13491 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13492 	fi
   13493 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13494 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13495 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13496 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13497   $as_echo_n "(cached) " >&6
   13498 else
   13499   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13500 /* end confdefs.h.  */
   13501 int i;
   13502 _ACEOF
   13503 if ac_fn_c_try_compile "$LINENO"; then :
   13504   xorg_cv_cc_flag_unused_command_line_argument=yes
   13505 else
   13506   xorg_cv_cc_flag_unused_command_line_argument=no
   13507 fi
   13508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13509 fi
   13510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13511 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13512 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13513 	CFLAGS="$xorg_testset_save_CFLAGS"
   13514 fi
   13515 
   13516 found="no"
   13517 
   13518 	if test $found = "no" ; then
   13519 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13520 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13521 		fi
   13522 
   13523 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13524 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13525 		fi
   13526 
   13527 		CFLAGS="$CFLAGS -Wshadow"
   13528 
   13529 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   13530 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   13531 		cacheid=xorg_cv_cc_flag__Wshadow
   13532 		if eval \${$cacheid+:} false; then :
   13533   $as_echo_n "(cached) " >&6
   13534 else
   13535   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13536 /* end confdefs.h.  */
   13537 int i;
   13538 int
   13539 main ()
   13540 {
   13541 
   13542   ;
   13543   return 0;
   13544 }
   13545 _ACEOF
   13546 if ac_fn_c_try_link "$LINENO"; then :
   13547   eval $cacheid=yes
   13548 else
   13549   eval $cacheid=no
   13550 fi
   13551 rm -f core conftest.err conftest.$ac_objext \
   13552     conftest$ac_exeext conftest.$ac_ext
   13553 fi
   13554 
   13555 
   13556 		CFLAGS="$xorg_testset_save_CFLAGS"
   13557 
   13558 		eval supported=\$$cacheid
   13559 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13560 $as_echo "$supported" >&6; }
   13561 		if test "$supported" = "yes" ; then
   13562 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   13563 			found="yes"
   13564 		fi
   13565 	fi
   13566 
   13567 
   13568 
   13569 
   13570 
   13571 
   13572 
   13573 
   13574 
   13575 
   13576 
   13577 
   13578 
   13579 
   13580 
   13581 xorg_testset_save_CFLAGS="$CFLAGS"
   13582 
   13583 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13584 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13585 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13586 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13587 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13588   $as_echo_n "(cached) " >&6
   13589 else
   13590   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13591 /* end confdefs.h.  */
   13592 int i;
   13593 _ACEOF
   13594 if ac_fn_c_try_compile "$LINENO"; then :
   13595   xorg_cv_cc_flag_unknown_warning_option=yes
   13596 else
   13597   xorg_cv_cc_flag_unknown_warning_option=no
   13598 fi
   13599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13600 fi
   13601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13602 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13603 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13604 	CFLAGS="$xorg_testset_save_CFLAGS"
   13605 fi
   13606 
   13607 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13608 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13609 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13610 	fi
   13611 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13612 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13613 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13614 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13615   $as_echo_n "(cached) " >&6
   13616 else
   13617   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13618 /* end confdefs.h.  */
   13619 int i;
   13620 _ACEOF
   13621 if ac_fn_c_try_compile "$LINENO"; then :
   13622   xorg_cv_cc_flag_unused_command_line_argument=yes
   13623 else
   13624   xorg_cv_cc_flag_unused_command_line_argument=no
   13625 fi
   13626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13627 fi
   13628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13629 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13630 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13631 	CFLAGS="$xorg_testset_save_CFLAGS"
   13632 fi
   13633 
   13634 found="no"
   13635 
   13636 	if test $found = "no" ; then
   13637 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13638 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13639 		fi
   13640 
   13641 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13642 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13643 		fi
   13644 
   13645 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   13646 
   13647 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   13648 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   13649 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   13650 		if eval \${$cacheid+:} false; then :
   13651   $as_echo_n "(cached) " >&6
   13652 else
   13653   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13654 /* end confdefs.h.  */
   13655 int i;
   13656 int
   13657 main ()
   13658 {
   13659 
   13660   ;
   13661   return 0;
   13662 }
   13663 _ACEOF
   13664 if ac_fn_c_try_link "$LINENO"; then :
   13665   eval $cacheid=yes
   13666 else
   13667   eval $cacheid=no
   13668 fi
   13669 rm -f core conftest.err conftest.$ac_objext \
   13670     conftest$ac_exeext conftest.$ac_ext
   13671 fi
   13672 
   13673 
   13674 		CFLAGS="$xorg_testset_save_CFLAGS"
   13675 
   13676 		eval supported=\$$cacheid
   13677 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13678 $as_echo "$supported" >&6; }
   13679 		if test "$supported" = "yes" ; then
   13680 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   13681 			found="yes"
   13682 		fi
   13683 	fi
   13684 
   13685 
   13686 
   13687 
   13688 
   13689 
   13690 
   13691 
   13692 
   13693 
   13694 
   13695 
   13696 
   13697 
   13698 
   13699 xorg_testset_save_CFLAGS="$CFLAGS"
   13700 
   13701 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13702 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13703 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13704 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13705 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13706   $as_echo_n "(cached) " >&6
   13707 else
   13708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13709 /* end confdefs.h.  */
   13710 int i;
   13711 _ACEOF
   13712 if ac_fn_c_try_compile "$LINENO"; then :
   13713   xorg_cv_cc_flag_unknown_warning_option=yes
   13714 else
   13715   xorg_cv_cc_flag_unknown_warning_option=no
   13716 fi
   13717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13718 fi
   13719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13720 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13721 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13722 	CFLAGS="$xorg_testset_save_CFLAGS"
   13723 fi
   13724 
   13725 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13726 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13727 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13728 	fi
   13729 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13730 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13731 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13732 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13733   $as_echo_n "(cached) " >&6
   13734 else
   13735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13736 /* end confdefs.h.  */
   13737 int i;
   13738 _ACEOF
   13739 if ac_fn_c_try_compile "$LINENO"; then :
   13740   xorg_cv_cc_flag_unused_command_line_argument=yes
   13741 else
   13742   xorg_cv_cc_flag_unused_command_line_argument=no
   13743 fi
   13744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13745 fi
   13746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13747 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13748 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13749 	CFLAGS="$xorg_testset_save_CFLAGS"
   13750 fi
   13751 
   13752 found="no"
   13753 
   13754 	if test $found = "no" ; then
   13755 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13756 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13757 		fi
   13758 
   13759 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13760 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13761 		fi
   13762 
   13763 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   13764 
   13765 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   13766 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   13767 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   13768 		if eval \${$cacheid+:} false; then :
   13769   $as_echo_n "(cached) " >&6
   13770 else
   13771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13772 /* end confdefs.h.  */
   13773 int i;
   13774 int
   13775 main ()
   13776 {
   13777 
   13778   ;
   13779   return 0;
   13780 }
   13781 _ACEOF
   13782 if ac_fn_c_try_link "$LINENO"; then :
   13783   eval $cacheid=yes
   13784 else
   13785   eval $cacheid=no
   13786 fi
   13787 rm -f core conftest.err conftest.$ac_objext \
   13788     conftest$ac_exeext conftest.$ac_ext
   13789 fi
   13790 
   13791 
   13792 		CFLAGS="$xorg_testset_save_CFLAGS"
   13793 
   13794 		eval supported=\$$cacheid
   13795 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13796 $as_echo "$supported" >&6; }
   13797 		if test "$supported" = "yes" ; then
   13798 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   13799 			found="yes"
   13800 		fi
   13801 	fi
   13802 
   13803 
   13804 
   13805 
   13806 
   13807 
   13808 
   13809 
   13810 
   13811 
   13812 
   13813 
   13814 
   13815 
   13816 
   13817 xorg_testset_save_CFLAGS="$CFLAGS"
   13818 
   13819 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13820 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13821 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13822 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13823 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13824   $as_echo_n "(cached) " >&6
   13825 else
   13826   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13827 /* end confdefs.h.  */
   13828 int i;
   13829 _ACEOF
   13830 if ac_fn_c_try_compile "$LINENO"; then :
   13831   xorg_cv_cc_flag_unknown_warning_option=yes
   13832 else
   13833   xorg_cv_cc_flag_unknown_warning_option=no
   13834 fi
   13835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13836 fi
   13837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13838 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13839 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13840 	CFLAGS="$xorg_testset_save_CFLAGS"
   13841 fi
   13842 
   13843 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13844 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13845 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13846 	fi
   13847 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13848 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13849 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13850 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13851   $as_echo_n "(cached) " >&6
   13852 else
   13853   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13854 /* end confdefs.h.  */
   13855 int i;
   13856 _ACEOF
   13857 if ac_fn_c_try_compile "$LINENO"; then :
   13858   xorg_cv_cc_flag_unused_command_line_argument=yes
   13859 else
   13860   xorg_cv_cc_flag_unused_command_line_argument=no
   13861 fi
   13862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13863 fi
   13864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13865 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13866 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13867 	CFLAGS="$xorg_testset_save_CFLAGS"
   13868 fi
   13869 
   13870 found="no"
   13871 
   13872 	if test $found = "no" ; then
   13873 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13874 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13875 		fi
   13876 
   13877 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13878 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13879 		fi
   13880 
   13881 		CFLAGS="$CFLAGS -Wredundant-decls"
   13882 
   13883 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   13884 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   13885 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   13886 		if eval \${$cacheid+:} false; then :
   13887   $as_echo_n "(cached) " >&6
   13888 else
   13889   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13890 /* end confdefs.h.  */
   13891 int i;
   13892 int
   13893 main ()
   13894 {
   13895 
   13896   ;
   13897   return 0;
   13898 }
   13899 _ACEOF
   13900 if ac_fn_c_try_link "$LINENO"; then :
   13901   eval $cacheid=yes
   13902 else
   13903   eval $cacheid=no
   13904 fi
   13905 rm -f core conftest.err conftest.$ac_objext \
   13906     conftest$ac_exeext conftest.$ac_ext
   13907 fi
   13908 
   13909 
   13910 		CFLAGS="$xorg_testset_save_CFLAGS"
   13911 
   13912 		eval supported=\$$cacheid
   13913 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13914 $as_echo "$supported" >&6; }
   13915 		if test "$supported" = "yes" ; then
   13916 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   13917 			found="yes"
   13918 		fi
   13919 	fi
   13920 
   13921 
   13922 
   13923 
   13924 
   13925 
   13926 
   13927 
   13928 
   13929 
   13930 
   13931 
   13932 
   13933 
   13934 
   13935 xorg_testset_save_CFLAGS="$CFLAGS"
   13936 
   13937 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13938 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13939 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13940 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13941 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13942   $as_echo_n "(cached) " >&6
   13943 else
   13944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13945 /* end confdefs.h.  */
   13946 int i;
   13947 _ACEOF
   13948 if ac_fn_c_try_compile "$LINENO"; then :
   13949   xorg_cv_cc_flag_unknown_warning_option=yes
   13950 else
   13951   xorg_cv_cc_flag_unknown_warning_option=no
   13952 fi
   13953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13954 fi
   13955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13956 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13957 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13958 	CFLAGS="$xorg_testset_save_CFLAGS"
   13959 fi
   13960 
   13961 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13962 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13963 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13964 	fi
   13965 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13966 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13967 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13968 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13969   $as_echo_n "(cached) " >&6
   13970 else
   13971   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13972 /* end confdefs.h.  */
   13973 int i;
   13974 _ACEOF
   13975 if ac_fn_c_try_compile "$LINENO"; then :
   13976   xorg_cv_cc_flag_unused_command_line_argument=yes
   13977 else
   13978   xorg_cv_cc_flag_unused_command_line_argument=no
   13979 fi
   13980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13981 fi
   13982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13983 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13984 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13985 	CFLAGS="$xorg_testset_save_CFLAGS"
   13986 fi
   13987 
   13988 found="no"
   13989 
   13990 	if test $found = "no" ; then
   13991 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13992 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13993 		fi
   13994 
   13995 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13996 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13997 		fi
   13998 
   13999 		CFLAGS="$CFLAGS -Wlogical-op"
   14000 
   14001 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   14002 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   14003 		cacheid=xorg_cv_cc_flag__Wlogical_op
   14004 		if eval \${$cacheid+:} false; then :
   14005   $as_echo_n "(cached) " >&6
   14006 else
   14007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14008 /* end confdefs.h.  */
   14009 int i;
   14010 int
   14011 main ()
   14012 {
   14013 
   14014   ;
   14015   return 0;
   14016 }
   14017 _ACEOF
   14018 if ac_fn_c_try_link "$LINENO"; then :
   14019   eval $cacheid=yes
   14020 else
   14021   eval $cacheid=no
   14022 fi
   14023 rm -f core conftest.err conftest.$ac_objext \
   14024     conftest$ac_exeext conftest.$ac_ext
   14025 fi
   14026 
   14027 
   14028 		CFLAGS="$xorg_testset_save_CFLAGS"
   14029 
   14030 		eval supported=\$$cacheid
   14031 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14032 $as_echo "$supported" >&6; }
   14033 		if test "$supported" = "yes" ; then
   14034 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   14035 			found="yes"
   14036 		fi
   14037 	fi
   14038 
   14039 
   14040 
   14041 # These are currently disabled because they are noisy.  They will be enabled
   14042 # in the future once the codebase is sufficiently modernized to silence
   14043 # them.  For now, I don't want them to drown out the other warnings.
   14044 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   14045 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   14046 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   14047 
   14048 # Turn some warnings into errors, so we don't accidently get successful builds
   14049 # when there are problems that should be fixed.
   14050 
   14051 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   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 -Werror=implicit"
   14130 
   14131 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   14132 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   14133 		cacheid=xorg_cv_cc_flag__Werror_implicit
   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 -Werror=implicit"
   14165 			found="yes"
   14166 		fi
   14167 	fi
   14168 
   14169 	if test $found = "no" ; then
   14170 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14171 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14172 		fi
   14173 
   14174 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14175 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14176 		fi
   14177 
   14178 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14179 
   14180 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   14181 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   14182 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   14183 		if eval \${$cacheid+:} false; then :
   14184   $as_echo_n "(cached) " >&6
   14185 else
   14186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14187 /* end confdefs.h.  */
   14188 int i;
   14189 int
   14190 main ()
   14191 {
   14192 
   14193   ;
   14194   return 0;
   14195 }
   14196 _ACEOF
   14197 if ac_fn_c_try_link "$LINENO"; then :
   14198   eval $cacheid=yes
   14199 else
   14200   eval $cacheid=no
   14201 fi
   14202 rm -f core conftest.err conftest.$ac_objext \
   14203     conftest$ac_exeext conftest.$ac_ext
   14204 fi
   14205 
   14206 
   14207 		CFLAGS="$xorg_testset_save_CFLAGS"
   14208 
   14209 		eval supported=\$$cacheid
   14210 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14211 $as_echo "$supported" >&6; }
   14212 		if test "$supported" = "yes" ; then
   14213 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14214 			found="yes"
   14215 		fi
   14216 	fi
   14217 
   14218 
   14219 
   14220 
   14221 
   14222 
   14223 
   14224 
   14225 
   14226 
   14227 
   14228 
   14229 
   14230 
   14231 
   14232 xorg_testset_save_CFLAGS="$CFLAGS"
   14233 
   14234 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14235 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14236 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14237 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14238 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14239   $as_echo_n "(cached) " >&6
   14240 else
   14241   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14242 /* end confdefs.h.  */
   14243 int i;
   14244 _ACEOF
   14245 if ac_fn_c_try_compile "$LINENO"; then :
   14246   xorg_cv_cc_flag_unknown_warning_option=yes
   14247 else
   14248   xorg_cv_cc_flag_unknown_warning_option=no
   14249 fi
   14250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14251 fi
   14252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14253 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14254 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14255 	CFLAGS="$xorg_testset_save_CFLAGS"
   14256 fi
   14257 
   14258 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14259 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14260 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14261 	fi
   14262 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14263 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14264 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14265 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14266   $as_echo_n "(cached) " >&6
   14267 else
   14268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14269 /* end confdefs.h.  */
   14270 int i;
   14271 _ACEOF
   14272 if ac_fn_c_try_compile "$LINENO"; then :
   14273   xorg_cv_cc_flag_unused_command_line_argument=yes
   14274 else
   14275   xorg_cv_cc_flag_unused_command_line_argument=no
   14276 fi
   14277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14278 fi
   14279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14280 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14281 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14282 	CFLAGS="$xorg_testset_save_CFLAGS"
   14283 fi
   14284 
   14285 found="no"
   14286 
   14287 	if test $found = "no" ; then
   14288 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14289 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14290 		fi
   14291 
   14292 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14293 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14294 		fi
   14295 
   14296 		CFLAGS="$CFLAGS -Werror=nonnull"
   14297 
   14298 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   14299 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   14300 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   14301 		if eval \${$cacheid+:} false; then :
   14302   $as_echo_n "(cached) " >&6
   14303 else
   14304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14305 /* end confdefs.h.  */
   14306 int i;
   14307 int
   14308 main ()
   14309 {
   14310 
   14311   ;
   14312   return 0;
   14313 }
   14314 _ACEOF
   14315 if ac_fn_c_try_link "$LINENO"; then :
   14316   eval $cacheid=yes
   14317 else
   14318   eval $cacheid=no
   14319 fi
   14320 rm -f core conftest.err conftest.$ac_objext \
   14321     conftest$ac_exeext conftest.$ac_ext
   14322 fi
   14323 
   14324 
   14325 		CFLAGS="$xorg_testset_save_CFLAGS"
   14326 
   14327 		eval supported=\$$cacheid
   14328 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14329 $as_echo "$supported" >&6; }
   14330 		if test "$supported" = "yes" ; then
   14331 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   14332 			found="yes"
   14333 		fi
   14334 	fi
   14335 
   14336 
   14337 
   14338 
   14339 
   14340 
   14341 
   14342 
   14343 
   14344 
   14345 
   14346 
   14347 
   14348 
   14349 
   14350 xorg_testset_save_CFLAGS="$CFLAGS"
   14351 
   14352 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14353 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14354 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14355 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14356 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14357   $as_echo_n "(cached) " >&6
   14358 else
   14359   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14360 /* end confdefs.h.  */
   14361 int i;
   14362 _ACEOF
   14363 if ac_fn_c_try_compile "$LINENO"; then :
   14364   xorg_cv_cc_flag_unknown_warning_option=yes
   14365 else
   14366   xorg_cv_cc_flag_unknown_warning_option=no
   14367 fi
   14368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14369 fi
   14370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14371 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14372 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14373 	CFLAGS="$xorg_testset_save_CFLAGS"
   14374 fi
   14375 
   14376 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14377 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14378 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14379 	fi
   14380 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14381 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14382 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14383 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14384   $as_echo_n "(cached) " >&6
   14385 else
   14386   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14387 /* end confdefs.h.  */
   14388 int i;
   14389 _ACEOF
   14390 if ac_fn_c_try_compile "$LINENO"; then :
   14391   xorg_cv_cc_flag_unused_command_line_argument=yes
   14392 else
   14393   xorg_cv_cc_flag_unused_command_line_argument=no
   14394 fi
   14395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14396 fi
   14397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14398 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14399 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14400 	CFLAGS="$xorg_testset_save_CFLAGS"
   14401 fi
   14402 
   14403 found="no"
   14404 
   14405 	if test $found = "no" ; then
   14406 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14407 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14408 		fi
   14409 
   14410 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14411 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14412 		fi
   14413 
   14414 		CFLAGS="$CFLAGS -Werror=init-self"
   14415 
   14416 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   14417 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   14418 		cacheid=xorg_cv_cc_flag__Werror_init_self
   14419 		if eval \${$cacheid+:} false; then :
   14420   $as_echo_n "(cached) " >&6
   14421 else
   14422   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14423 /* end confdefs.h.  */
   14424 int i;
   14425 int
   14426 main ()
   14427 {
   14428 
   14429   ;
   14430   return 0;
   14431 }
   14432 _ACEOF
   14433 if ac_fn_c_try_link "$LINENO"; then :
   14434   eval $cacheid=yes
   14435 else
   14436   eval $cacheid=no
   14437 fi
   14438 rm -f core conftest.err conftest.$ac_objext \
   14439     conftest$ac_exeext conftest.$ac_ext
   14440 fi
   14441 
   14442 
   14443 		CFLAGS="$xorg_testset_save_CFLAGS"
   14444 
   14445 		eval supported=\$$cacheid
   14446 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14447 $as_echo "$supported" >&6; }
   14448 		if test "$supported" = "yes" ; then
   14449 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   14450 			found="yes"
   14451 		fi
   14452 	fi
   14453 
   14454 
   14455 
   14456 
   14457 
   14458 
   14459 
   14460 
   14461 
   14462 
   14463 
   14464 
   14465 
   14466 
   14467 
   14468 xorg_testset_save_CFLAGS="$CFLAGS"
   14469 
   14470 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14471 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14472 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14473 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14474 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14475   $as_echo_n "(cached) " >&6
   14476 else
   14477   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14478 /* end confdefs.h.  */
   14479 int i;
   14480 _ACEOF
   14481 if ac_fn_c_try_compile "$LINENO"; then :
   14482   xorg_cv_cc_flag_unknown_warning_option=yes
   14483 else
   14484   xorg_cv_cc_flag_unknown_warning_option=no
   14485 fi
   14486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14487 fi
   14488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14489 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14490 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14491 	CFLAGS="$xorg_testset_save_CFLAGS"
   14492 fi
   14493 
   14494 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14495 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14496 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14497 	fi
   14498 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14499 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14500 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14501 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14502   $as_echo_n "(cached) " >&6
   14503 else
   14504   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14505 /* end confdefs.h.  */
   14506 int i;
   14507 _ACEOF
   14508 if ac_fn_c_try_compile "$LINENO"; then :
   14509   xorg_cv_cc_flag_unused_command_line_argument=yes
   14510 else
   14511   xorg_cv_cc_flag_unused_command_line_argument=no
   14512 fi
   14513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14514 fi
   14515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14516 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14517 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14518 	CFLAGS="$xorg_testset_save_CFLAGS"
   14519 fi
   14520 
   14521 found="no"
   14522 
   14523 	if test $found = "no" ; then
   14524 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14525 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14526 		fi
   14527 
   14528 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14529 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14530 		fi
   14531 
   14532 		CFLAGS="$CFLAGS -Werror=main"
   14533 
   14534 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   14535 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   14536 		cacheid=xorg_cv_cc_flag__Werror_main
   14537 		if eval \${$cacheid+:} false; then :
   14538   $as_echo_n "(cached) " >&6
   14539 else
   14540   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14541 /* end confdefs.h.  */
   14542 int i;
   14543 int
   14544 main ()
   14545 {
   14546 
   14547   ;
   14548   return 0;
   14549 }
   14550 _ACEOF
   14551 if ac_fn_c_try_link "$LINENO"; then :
   14552   eval $cacheid=yes
   14553 else
   14554   eval $cacheid=no
   14555 fi
   14556 rm -f core conftest.err conftest.$ac_objext \
   14557     conftest$ac_exeext conftest.$ac_ext
   14558 fi
   14559 
   14560 
   14561 		CFLAGS="$xorg_testset_save_CFLAGS"
   14562 
   14563 		eval supported=\$$cacheid
   14564 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14565 $as_echo "$supported" >&6; }
   14566 		if test "$supported" = "yes" ; then
   14567 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   14568 			found="yes"
   14569 		fi
   14570 	fi
   14571 
   14572 
   14573 
   14574 
   14575 
   14576 
   14577 
   14578 
   14579 
   14580 
   14581 
   14582 
   14583 
   14584 
   14585 
   14586 xorg_testset_save_CFLAGS="$CFLAGS"
   14587 
   14588 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14589 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14590 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14591 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14592 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14593   $as_echo_n "(cached) " >&6
   14594 else
   14595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14596 /* end confdefs.h.  */
   14597 int i;
   14598 _ACEOF
   14599 if ac_fn_c_try_compile "$LINENO"; then :
   14600   xorg_cv_cc_flag_unknown_warning_option=yes
   14601 else
   14602   xorg_cv_cc_flag_unknown_warning_option=no
   14603 fi
   14604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14605 fi
   14606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14607 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14608 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14609 	CFLAGS="$xorg_testset_save_CFLAGS"
   14610 fi
   14611 
   14612 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14613 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14614 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14615 	fi
   14616 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14617 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14618 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14619 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14620   $as_echo_n "(cached) " >&6
   14621 else
   14622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14623 /* end confdefs.h.  */
   14624 int i;
   14625 _ACEOF
   14626 if ac_fn_c_try_compile "$LINENO"; then :
   14627   xorg_cv_cc_flag_unused_command_line_argument=yes
   14628 else
   14629   xorg_cv_cc_flag_unused_command_line_argument=no
   14630 fi
   14631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14632 fi
   14633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14634 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14635 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14636 	CFLAGS="$xorg_testset_save_CFLAGS"
   14637 fi
   14638 
   14639 found="no"
   14640 
   14641 	if test $found = "no" ; then
   14642 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14643 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14644 		fi
   14645 
   14646 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14647 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14648 		fi
   14649 
   14650 		CFLAGS="$CFLAGS -Werror=missing-braces"
   14651 
   14652 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   14653 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   14654 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   14655 		if eval \${$cacheid+:} false; then :
   14656   $as_echo_n "(cached) " >&6
   14657 else
   14658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14659 /* end confdefs.h.  */
   14660 int i;
   14661 int
   14662 main ()
   14663 {
   14664 
   14665   ;
   14666   return 0;
   14667 }
   14668 _ACEOF
   14669 if ac_fn_c_try_link "$LINENO"; then :
   14670   eval $cacheid=yes
   14671 else
   14672   eval $cacheid=no
   14673 fi
   14674 rm -f core conftest.err conftest.$ac_objext \
   14675     conftest$ac_exeext conftest.$ac_ext
   14676 fi
   14677 
   14678 
   14679 		CFLAGS="$xorg_testset_save_CFLAGS"
   14680 
   14681 		eval supported=\$$cacheid
   14682 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14683 $as_echo "$supported" >&6; }
   14684 		if test "$supported" = "yes" ; then
   14685 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   14686 			found="yes"
   14687 		fi
   14688 	fi
   14689 
   14690 
   14691 
   14692 
   14693 
   14694 
   14695 
   14696 
   14697 
   14698 
   14699 
   14700 
   14701 
   14702 
   14703 
   14704 xorg_testset_save_CFLAGS="$CFLAGS"
   14705 
   14706 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14707 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14708 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14709 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14710 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14711   $as_echo_n "(cached) " >&6
   14712 else
   14713   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14714 /* end confdefs.h.  */
   14715 int i;
   14716 _ACEOF
   14717 if ac_fn_c_try_compile "$LINENO"; then :
   14718   xorg_cv_cc_flag_unknown_warning_option=yes
   14719 else
   14720   xorg_cv_cc_flag_unknown_warning_option=no
   14721 fi
   14722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14723 fi
   14724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14725 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14726 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14727 	CFLAGS="$xorg_testset_save_CFLAGS"
   14728 fi
   14729 
   14730 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14731 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14732 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14733 	fi
   14734 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14735 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14736 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14737 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14738   $as_echo_n "(cached) " >&6
   14739 else
   14740   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14741 /* end confdefs.h.  */
   14742 int i;
   14743 _ACEOF
   14744 if ac_fn_c_try_compile "$LINENO"; then :
   14745   xorg_cv_cc_flag_unused_command_line_argument=yes
   14746 else
   14747   xorg_cv_cc_flag_unused_command_line_argument=no
   14748 fi
   14749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14750 fi
   14751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14752 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14753 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14754 	CFLAGS="$xorg_testset_save_CFLAGS"
   14755 fi
   14756 
   14757 found="no"
   14758 
   14759 	if test $found = "no" ; then
   14760 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14761 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14762 		fi
   14763 
   14764 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14765 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14766 		fi
   14767 
   14768 		CFLAGS="$CFLAGS -Werror=sequence-point"
   14769 
   14770 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   14771 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   14772 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   14773 		if eval \${$cacheid+:} false; then :
   14774   $as_echo_n "(cached) " >&6
   14775 else
   14776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14777 /* end confdefs.h.  */
   14778 int i;
   14779 int
   14780 main ()
   14781 {
   14782 
   14783   ;
   14784   return 0;
   14785 }
   14786 _ACEOF
   14787 if ac_fn_c_try_link "$LINENO"; then :
   14788   eval $cacheid=yes
   14789 else
   14790   eval $cacheid=no
   14791 fi
   14792 rm -f core conftest.err conftest.$ac_objext \
   14793     conftest$ac_exeext conftest.$ac_ext
   14794 fi
   14795 
   14796 
   14797 		CFLAGS="$xorg_testset_save_CFLAGS"
   14798 
   14799 		eval supported=\$$cacheid
   14800 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14801 $as_echo "$supported" >&6; }
   14802 		if test "$supported" = "yes" ; then
   14803 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   14804 			found="yes"
   14805 		fi
   14806 	fi
   14807 
   14808 
   14809 
   14810 
   14811 
   14812 
   14813 
   14814 
   14815 
   14816 
   14817 
   14818 
   14819 
   14820 
   14821 
   14822 xorg_testset_save_CFLAGS="$CFLAGS"
   14823 
   14824 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14825 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14826 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14827 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14828 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14829   $as_echo_n "(cached) " >&6
   14830 else
   14831   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14832 /* end confdefs.h.  */
   14833 int i;
   14834 _ACEOF
   14835 if ac_fn_c_try_compile "$LINENO"; then :
   14836   xorg_cv_cc_flag_unknown_warning_option=yes
   14837 else
   14838   xorg_cv_cc_flag_unknown_warning_option=no
   14839 fi
   14840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14841 fi
   14842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14843 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14844 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14845 	CFLAGS="$xorg_testset_save_CFLAGS"
   14846 fi
   14847 
   14848 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14849 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14850 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14851 	fi
   14852 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14853 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14854 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14855 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14856   $as_echo_n "(cached) " >&6
   14857 else
   14858   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14859 /* end confdefs.h.  */
   14860 int i;
   14861 _ACEOF
   14862 if ac_fn_c_try_compile "$LINENO"; then :
   14863   xorg_cv_cc_flag_unused_command_line_argument=yes
   14864 else
   14865   xorg_cv_cc_flag_unused_command_line_argument=no
   14866 fi
   14867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14868 fi
   14869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14870 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14871 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14872 	CFLAGS="$xorg_testset_save_CFLAGS"
   14873 fi
   14874 
   14875 found="no"
   14876 
   14877 	if test $found = "no" ; then
   14878 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14879 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14880 		fi
   14881 
   14882 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14883 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14884 		fi
   14885 
   14886 		CFLAGS="$CFLAGS -Werror=return-type"
   14887 
   14888 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   14889 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   14890 		cacheid=xorg_cv_cc_flag__Werror_return_type
   14891 		if eval \${$cacheid+:} false; then :
   14892   $as_echo_n "(cached) " >&6
   14893 else
   14894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14895 /* end confdefs.h.  */
   14896 int i;
   14897 int
   14898 main ()
   14899 {
   14900 
   14901   ;
   14902   return 0;
   14903 }
   14904 _ACEOF
   14905 if ac_fn_c_try_link "$LINENO"; then :
   14906   eval $cacheid=yes
   14907 else
   14908   eval $cacheid=no
   14909 fi
   14910 rm -f core conftest.err conftest.$ac_objext \
   14911     conftest$ac_exeext conftest.$ac_ext
   14912 fi
   14913 
   14914 
   14915 		CFLAGS="$xorg_testset_save_CFLAGS"
   14916 
   14917 		eval supported=\$$cacheid
   14918 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14919 $as_echo "$supported" >&6; }
   14920 		if test "$supported" = "yes" ; then
   14921 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   14922 			found="yes"
   14923 		fi
   14924 	fi
   14925 
   14926 	if test $found = "no" ; then
   14927 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14928 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14929 		fi
   14930 
   14931 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14932 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14933 		fi
   14934 
   14935 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14936 
   14937 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   14938 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   14939 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   14940 		if eval \${$cacheid+:} false; then :
   14941   $as_echo_n "(cached) " >&6
   14942 else
   14943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14944 /* end confdefs.h.  */
   14945 int i;
   14946 int
   14947 main ()
   14948 {
   14949 
   14950   ;
   14951   return 0;
   14952 }
   14953 _ACEOF
   14954 if ac_fn_c_try_link "$LINENO"; then :
   14955   eval $cacheid=yes
   14956 else
   14957   eval $cacheid=no
   14958 fi
   14959 rm -f core conftest.err conftest.$ac_objext \
   14960     conftest$ac_exeext conftest.$ac_ext
   14961 fi
   14962 
   14963 
   14964 		CFLAGS="$xorg_testset_save_CFLAGS"
   14965 
   14966 		eval supported=\$$cacheid
   14967 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14968 $as_echo "$supported" >&6; }
   14969 		if test "$supported" = "yes" ; then
   14970 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14971 			found="yes"
   14972 		fi
   14973 	fi
   14974 
   14975 
   14976 
   14977 
   14978 
   14979 
   14980 
   14981 
   14982 
   14983 
   14984 
   14985 
   14986 
   14987 
   14988 
   14989 xorg_testset_save_CFLAGS="$CFLAGS"
   14990 
   14991 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14992 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14993 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14994 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14995 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14996   $as_echo_n "(cached) " >&6
   14997 else
   14998   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14999 /* end confdefs.h.  */
   15000 int i;
   15001 _ACEOF
   15002 if ac_fn_c_try_compile "$LINENO"; then :
   15003   xorg_cv_cc_flag_unknown_warning_option=yes
   15004 else
   15005   xorg_cv_cc_flag_unknown_warning_option=no
   15006 fi
   15007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15008 fi
   15009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15010 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15011 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15012 	CFLAGS="$xorg_testset_save_CFLAGS"
   15013 fi
   15014 
   15015 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15016 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15017 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15018 	fi
   15019 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15020 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15021 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15022 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15023   $as_echo_n "(cached) " >&6
   15024 else
   15025   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15026 /* end confdefs.h.  */
   15027 int i;
   15028 _ACEOF
   15029 if ac_fn_c_try_compile "$LINENO"; then :
   15030   xorg_cv_cc_flag_unused_command_line_argument=yes
   15031 else
   15032   xorg_cv_cc_flag_unused_command_line_argument=no
   15033 fi
   15034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15035 fi
   15036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15037 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15038 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15039 	CFLAGS="$xorg_testset_save_CFLAGS"
   15040 fi
   15041 
   15042 found="no"
   15043 
   15044 	if test $found = "no" ; then
   15045 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15046 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15047 		fi
   15048 
   15049 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15050 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15051 		fi
   15052 
   15053 		CFLAGS="$CFLAGS -Werror=trigraphs"
   15054 
   15055 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   15056 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   15057 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   15058 		if eval \${$cacheid+:} false; then :
   15059   $as_echo_n "(cached) " >&6
   15060 else
   15061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15062 /* end confdefs.h.  */
   15063 int i;
   15064 int
   15065 main ()
   15066 {
   15067 
   15068   ;
   15069   return 0;
   15070 }
   15071 _ACEOF
   15072 if ac_fn_c_try_link "$LINENO"; then :
   15073   eval $cacheid=yes
   15074 else
   15075   eval $cacheid=no
   15076 fi
   15077 rm -f core conftest.err conftest.$ac_objext \
   15078     conftest$ac_exeext conftest.$ac_ext
   15079 fi
   15080 
   15081 
   15082 		CFLAGS="$xorg_testset_save_CFLAGS"
   15083 
   15084 		eval supported=\$$cacheid
   15085 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15086 $as_echo "$supported" >&6; }
   15087 		if test "$supported" = "yes" ; then
   15088 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   15089 			found="yes"
   15090 		fi
   15091 	fi
   15092 
   15093 
   15094 
   15095 
   15096 
   15097 
   15098 
   15099 
   15100 
   15101 
   15102 
   15103 
   15104 
   15105 
   15106 
   15107 xorg_testset_save_CFLAGS="$CFLAGS"
   15108 
   15109 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15110 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15111 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15112 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15113 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15114   $as_echo_n "(cached) " >&6
   15115 else
   15116   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15117 /* end confdefs.h.  */
   15118 int i;
   15119 _ACEOF
   15120 if ac_fn_c_try_compile "$LINENO"; then :
   15121   xorg_cv_cc_flag_unknown_warning_option=yes
   15122 else
   15123   xorg_cv_cc_flag_unknown_warning_option=no
   15124 fi
   15125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15126 fi
   15127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15128 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15129 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15130 	CFLAGS="$xorg_testset_save_CFLAGS"
   15131 fi
   15132 
   15133 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15134 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15135 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15136 	fi
   15137 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15138 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15139 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15140 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15141   $as_echo_n "(cached) " >&6
   15142 else
   15143   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15144 /* end confdefs.h.  */
   15145 int i;
   15146 _ACEOF
   15147 if ac_fn_c_try_compile "$LINENO"; then :
   15148   xorg_cv_cc_flag_unused_command_line_argument=yes
   15149 else
   15150   xorg_cv_cc_flag_unused_command_line_argument=no
   15151 fi
   15152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15153 fi
   15154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15155 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15156 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15157 	CFLAGS="$xorg_testset_save_CFLAGS"
   15158 fi
   15159 
   15160 found="no"
   15161 
   15162 	if test $found = "no" ; then
   15163 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15164 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15165 		fi
   15166 
   15167 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15168 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15169 		fi
   15170 
   15171 		CFLAGS="$CFLAGS -Werror=array-bounds"
   15172 
   15173 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   15174 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   15175 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   15176 		if eval \${$cacheid+:} false; then :
   15177   $as_echo_n "(cached) " >&6
   15178 else
   15179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15180 /* end confdefs.h.  */
   15181 int i;
   15182 int
   15183 main ()
   15184 {
   15185 
   15186   ;
   15187   return 0;
   15188 }
   15189 _ACEOF
   15190 if ac_fn_c_try_link "$LINENO"; then :
   15191   eval $cacheid=yes
   15192 else
   15193   eval $cacheid=no
   15194 fi
   15195 rm -f core conftest.err conftest.$ac_objext \
   15196     conftest$ac_exeext conftest.$ac_ext
   15197 fi
   15198 
   15199 
   15200 		CFLAGS="$xorg_testset_save_CFLAGS"
   15201 
   15202 		eval supported=\$$cacheid
   15203 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15204 $as_echo "$supported" >&6; }
   15205 		if test "$supported" = "yes" ; then
   15206 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   15207 			found="yes"
   15208 		fi
   15209 	fi
   15210 
   15211 
   15212 
   15213 
   15214 
   15215 
   15216 
   15217 
   15218 
   15219 
   15220 
   15221 
   15222 
   15223 
   15224 
   15225 xorg_testset_save_CFLAGS="$CFLAGS"
   15226 
   15227 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15228 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15229 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15230 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15231 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15232   $as_echo_n "(cached) " >&6
   15233 else
   15234   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15235 /* end confdefs.h.  */
   15236 int i;
   15237 _ACEOF
   15238 if ac_fn_c_try_compile "$LINENO"; then :
   15239   xorg_cv_cc_flag_unknown_warning_option=yes
   15240 else
   15241   xorg_cv_cc_flag_unknown_warning_option=no
   15242 fi
   15243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15244 fi
   15245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15246 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15247 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15248 	CFLAGS="$xorg_testset_save_CFLAGS"
   15249 fi
   15250 
   15251 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15252 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15253 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15254 	fi
   15255 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15256 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15257 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15258 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15259   $as_echo_n "(cached) " >&6
   15260 else
   15261   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15262 /* end confdefs.h.  */
   15263 int i;
   15264 _ACEOF
   15265 if ac_fn_c_try_compile "$LINENO"; then :
   15266   xorg_cv_cc_flag_unused_command_line_argument=yes
   15267 else
   15268   xorg_cv_cc_flag_unused_command_line_argument=no
   15269 fi
   15270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15271 fi
   15272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15273 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15274 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15275 	CFLAGS="$xorg_testset_save_CFLAGS"
   15276 fi
   15277 
   15278 found="no"
   15279 
   15280 	if test $found = "no" ; then
   15281 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15282 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15283 		fi
   15284 
   15285 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15286 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15287 		fi
   15288 
   15289 		CFLAGS="$CFLAGS -Werror=write-strings"
   15290 
   15291 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   15292 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   15293 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   15294 		if eval \${$cacheid+:} false; then :
   15295   $as_echo_n "(cached) " >&6
   15296 else
   15297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15298 /* end confdefs.h.  */
   15299 int i;
   15300 int
   15301 main ()
   15302 {
   15303 
   15304   ;
   15305   return 0;
   15306 }
   15307 _ACEOF
   15308 if ac_fn_c_try_link "$LINENO"; then :
   15309   eval $cacheid=yes
   15310 else
   15311   eval $cacheid=no
   15312 fi
   15313 rm -f core conftest.err conftest.$ac_objext \
   15314     conftest$ac_exeext conftest.$ac_ext
   15315 fi
   15316 
   15317 
   15318 		CFLAGS="$xorg_testset_save_CFLAGS"
   15319 
   15320 		eval supported=\$$cacheid
   15321 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15322 $as_echo "$supported" >&6; }
   15323 		if test "$supported" = "yes" ; then
   15324 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   15325 			found="yes"
   15326 		fi
   15327 	fi
   15328 
   15329 
   15330 
   15331 
   15332 
   15333 
   15334 
   15335 
   15336 
   15337 
   15338 
   15339 
   15340 
   15341 
   15342 
   15343 xorg_testset_save_CFLAGS="$CFLAGS"
   15344 
   15345 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15346 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15347 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15348 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15349 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15350   $as_echo_n "(cached) " >&6
   15351 else
   15352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15353 /* end confdefs.h.  */
   15354 int i;
   15355 _ACEOF
   15356 if ac_fn_c_try_compile "$LINENO"; then :
   15357   xorg_cv_cc_flag_unknown_warning_option=yes
   15358 else
   15359   xorg_cv_cc_flag_unknown_warning_option=no
   15360 fi
   15361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15362 fi
   15363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15364 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15365 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15366 	CFLAGS="$xorg_testset_save_CFLAGS"
   15367 fi
   15368 
   15369 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15370 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15371 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15372 	fi
   15373 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15374 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15375 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15376 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15377   $as_echo_n "(cached) " >&6
   15378 else
   15379   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15380 /* end confdefs.h.  */
   15381 int i;
   15382 _ACEOF
   15383 if ac_fn_c_try_compile "$LINENO"; then :
   15384   xorg_cv_cc_flag_unused_command_line_argument=yes
   15385 else
   15386   xorg_cv_cc_flag_unused_command_line_argument=no
   15387 fi
   15388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15389 fi
   15390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15391 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15392 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15393 	CFLAGS="$xorg_testset_save_CFLAGS"
   15394 fi
   15395 
   15396 found="no"
   15397 
   15398 	if test $found = "no" ; then
   15399 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15400 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15401 		fi
   15402 
   15403 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15404 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15405 		fi
   15406 
   15407 		CFLAGS="$CFLAGS -Werror=address"
   15408 
   15409 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   15410 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   15411 		cacheid=xorg_cv_cc_flag__Werror_address
   15412 		if eval \${$cacheid+:} false; then :
   15413   $as_echo_n "(cached) " >&6
   15414 else
   15415   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15416 /* end confdefs.h.  */
   15417 int i;
   15418 int
   15419 main ()
   15420 {
   15421 
   15422   ;
   15423   return 0;
   15424 }
   15425 _ACEOF
   15426 if ac_fn_c_try_link "$LINENO"; then :
   15427   eval $cacheid=yes
   15428 else
   15429   eval $cacheid=no
   15430 fi
   15431 rm -f core conftest.err conftest.$ac_objext \
   15432     conftest$ac_exeext conftest.$ac_ext
   15433 fi
   15434 
   15435 
   15436 		CFLAGS="$xorg_testset_save_CFLAGS"
   15437 
   15438 		eval supported=\$$cacheid
   15439 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15440 $as_echo "$supported" >&6; }
   15441 		if test "$supported" = "yes" ; then
   15442 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   15443 			found="yes"
   15444 		fi
   15445 	fi
   15446 
   15447 
   15448 
   15449 
   15450 
   15451 
   15452 
   15453 
   15454 
   15455 
   15456 
   15457 
   15458 
   15459 
   15460 
   15461 xorg_testset_save_CFLAGS="$CFLAGS"
   15462 
   15463 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15464 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15465 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15466 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15467 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15468   $as_echo_n "(cached) " >&6
   15469 else
   15470   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15471 /* end confdefs.h.  */
   15472 int i;
   15473 _ACEOF
   15474 if ac_fn_c_try_compile "$LINENO"; then :
   15475   xorg_cv_cc_flag_unknown_warning_option=yes
   15476 else
   15477   xorg_cv_cc_flag_unknown_warning_option=no
   15478 fi
   15479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15480 fi
   15481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15482 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15483 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15484 	CFLAGS="$xorg_testset_save_CFLAGS"
   15485 fi
   15486 
   15487 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15488 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15489 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15490 	fi
   15491 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15492 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15493 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15494 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15495   $as_echo_n "(cached) " >&6
   15496 else
   15497   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15498 /* end confdefs.h.  */
   15499 int i;
   15500 _ACEOF
   15501 if ac_fn_c_try_compile "$LINENO"; then :
   15502   xorg_cv_cc_flag_unused_command_line_argument=yes
   15503 else
   15504   xorg_cv_cc_flag_unused_command_line_argument=no
   15505 fi
   15506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15507 fi
   15508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15509 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15510 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15511 	CFLAGS="$xorg_testset_save_CFLAGS"
   15512 fi
   15513 
   15514 found="no"
   15515 
   15516 	if test $found = "no" ; then
   15517 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15518 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15519 		fi
   15520 
   15521 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15522 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15523 		fi
   15524 
   15525 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   15526 
   15527 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   15528 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   15529 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   15530 		if eval \${$cacheid+:} false; then :
   15531   $as_echo_n "(cached) " >&6
   15532 else
   15533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15534 /* end confdefs.h.  */
   15535 int i;
   15536 int
   15537 main ()
   15538 {
   15539 
   15540   ;
   15541   return 0;
   15542 }
   15543 _ACEOF
   15544 if ac_fn_c_try_link "$LINENO"; then :
   15545   eval $cacheid=yes
   15546 else
   15547   eval $cacheid=no
   15548 fi
   15549 rm -f core conftest.err conftest.$ac_objext \
   15550     conftest$ac_exeext conftest.$ac_ext
   15551 fi
   15552 
   15553 
   15554 		CFLAGS="$xorg_testset_save_CFLAGS"
   15555 
   15556 		eval supported=\$$cacheid
   15557 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15558 $as_echo "$supported" >&6; }
   15559 		if test "$supported" = "yes" ; then
   15560 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   15561 			found="yes"
   15562 		fi
   15563 	fi
   15564 
   15565 	if test $found = "no" ; then
   15566 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15567 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15568 		fi
   15569 
   15570 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15571 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15572 		fi
   15573 
   15574 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15575 
   15576 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   15577 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   15578 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   15579 		if eval \${$cacheid+:} false; then :
   15580   $as_echo_n "(cached) " >&6
   15581 else
   15582   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15583 /* end confdefs.h.  */
   15584 int i;
   15585 int
   15586 main ()
   15587 {
   15588 
   15589   ;
   15590   return 0;
   15591 }
   15592 _ACEOF
   15593 if ac_fn_c_try_link "$LINENO"; then :
   15594   eval $cacheid=yes
   15595 else
   15596   eval $cacheid=no
   15597 fi
   15598 rm -f core conftest.err conftest.$ac_objext \
   15599     conftest$ac_exeext conftest.$ac_ext
   15600 fi
   15601 
   15602 
   15603 		CFLAGS="$xorg_testset_save_CFLAGS"
   15604 
   15605 		eval supported=\$$cacheid
   15606 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15607 $as_echo "$supported" >&6; }
   15608 		if test "$supported" = "yes" ; then
   15609 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15610 			found="yes"
   15611 		fi
   15612 	fi
   15613 
   15614 
   15615 
   15616 
   15617 
   15618 
   15619 
   15620 
   15621 
   15622 
   15623 
   15624 
   15625 
   15626 
   15627 
   15628 xorg_testset_save_CFLAGS="$CFLAGS"
   15629 
   15630 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15631 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15632 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15633 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15634 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15635   $as_echo_n "(cached) " >&6
   15636 else
   15637   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15638 /* end confdefs.h.  */
   15639 int i;
   15640 _ACEOF
   15641 if ac_fn_c_try_compile "$LINENO"; then :
   15642   xorg_cv_cc_flag_unknown_warning_option=yes
   15643 else
   15644   xorg_cv_cc_flag_unknown_warning_option=no
   15645 fi
   15646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15647 fi
   15648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15649 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15650 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15651 	CFLAGS="$xorg_testset_save_CFLAGS"
   15652 fi
   15653 
   15654 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15655 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15656 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15657 	fi
   15658 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15659 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15660 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15661 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15662   $as_echo_n "(cached) " >&6
   15663 else
   15664   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15665 /* end confdefs.h.  */
   15666 int i;
   15667 _ACEOF
   15668 if ac_fn_c_try_compile "$LINENO"; then :
   15669   xorg_cv_cc_flag_unused_command_line_argument=yes
   15670 else
   15671   xorg_cv_cc_flag_unused_command_line_argument=no
   15672 fi
   15673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15674 fi
   15675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15676 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15677 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15678 	CFLAGS="$xorg_testset_save_CFLAGS"
   15679 fi
   15680 
   15681 found="no"
   15682 
   15683 	if test $found = "no" ; then
   15684 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15685 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15686 		fi
   15687 
   15688 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15689 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15690 		fi
   15691 
   15692 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   15693 
   15694 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   15695 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   15696 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   15697 		if eval \${$cacheid+:} false; then :
   15698   $as_echo_n "(cached) " >&6
   15699 else
   15700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15701 /* end confdefs.h.  */
   15702 int i;
   15703 int
   15704 main ()
   15705 {
   15706 
   15707   ;
   15708   return 0;
   15709 }
   15710 _ACEOF
   15711 if ac_fn_c_try_link "$LINENO"; then :
   15712   eval $cacheid=yes
   15713 else
   15714   eval $cacheid=no
   15715 fi
   15716 rm -f core conftest.err conftest.$ac_objext \
   15717     conftest$ac_exeext conftest.$ac_ext
   15718 fi
   15719 
   15720 
   15721 		CFLAGS="$xorg_testset_save_CFLAGS"
   15722 
   15723 		eval supported=\$$cacheid
   15724 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15725 $as_echo "$supported" >&6; }
   15726 		if test "$supported" = "yes" ; then
   15727 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   15728 			found="yes"
   15729 		fi
   15730 	fi
   15731 
   15732  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   15733 else
   15734 { $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
   15735 $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;}
   15736 
   15737 
   15738 
   15739 
   15740 
   15741 
   15742 
   15743 
   15744 
   15745 
   15746 
   15747 
   15748 
   15749 xorg_testset_save_CFLAGS="$CFLAGS"
   15750 
   15751 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15752 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15753 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15754 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15755 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15756   $as_echo_n "(cached) " >&6
   15757 else
   15758   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15759 /* end confdefs.h.  */
   15760 int i;
   15761 _ACEOF
   15762 if ac_fn_c_try_compile "$LINENO"; then :
   15763   xorg_cv_cc_flag_unknown_warning_option=yes
   15764 else
   15765   xorg_cv_cc_flag_unknown_warning_option=no
   15766 fi
   15767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15768 fi
   15769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15770 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15771 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15772 	CFLAGS="$xorg_testset_save_CFLAGS"
   15773 fi
   15774 
   15775 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15776 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15777 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15778 	fi
   15779 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15780 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15781 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15782 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15783   $as_echo_n "(cached) " >&6
   15784 else
   15785   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15786 /* end confdefs.h.  */
   15787 int i;
   15788 _ACEOF
   15789 if ac_fn_c_try_compile "$LINENO"; then :
   15790   xorg_cv_cc_flag_unused_command_line_argument=yes
   15791 else
   15792   xorg_cv_cc_flag_unused_command_line_argument=no
   15793 fi
   15794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15795 fi
   15796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15797 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15798 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15799 	CFLAGS="$xorg_testset_save_CFLAGS"
   15800 fi
   15801 
   15802 found="no"
   15803 
   15804 	if test $found = "no" ; then
   15805 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15806 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15807 		fi
   15808 
   15809 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15810 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15811 		fi
   15812 
   15813 		CFLAGS="$CFLAGS -Wimplicit"
   15814 
   15815 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   15816 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   15817 		cacheid=xorg_cv_cc_flag__Wimplicit
   15818 		if eval \${$cacheid+:} false; then :
   15819   $as_echo_n "(cached) " >&6
   15820 else
   15821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15822 /* end confdefs.h.  */
   15823 int i;
   15824 int
   15825 main ()
   15826 {
   15827 
   15828   ;
   15829   return 0;
   15830 }
   15831 _ACEOF
   15832 if ac_fn_c_try_link "$LINENO"; then :
   15833   eval $cacheid=yes
   15834 else
   15835   eval $cacheid=no
   15836 fi
   15837 rm -f core conftest.err conftest.$ac_objext \
   15838     conftest$ac_exeext conftest.$ac_ext
   15839 fi
   15840 
   15841 
   15842 		CFLAGS="$xorg_testset_save_CFLAGS"
   15843 
   15844 		eval supported=\$$cacheid
   15845 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15846 $as_echo "$supported" >&6; }
   15847 		if test "$supported" = "yes" ; then
   15848 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   15849 			found="yes"
   15850 		fi
   15851 	fi
   15852 
   15853 
   15854 
   15855 
   15856 
   15857 
   15858 
   15859 
   15860 
   15861 
   15862 
   15863 
   15864 
   15865 
   15866 
   15867 xorg_testset_save_CFLAGS="$CFLAGS"
   15868 
   15869 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15870 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15871 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15872 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15873 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15874   $as_echo_n "(cached) " >&6
   15875 else
   15876   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15877 /* end confdefs.h.  */
   15878 int i;
   15879 _ACEOF
   15880 if ac_fn_c_try_compile "$LINENO"; then :
   15881   xorg_cv_cc_flag_unknown_warning_option=yes
   15882 else
   15883   xorg_cv_cc_flag_unknown_warning_option=no
   15884 fi
   15885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15886 fi
   15887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15888 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15889 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15890 	CFLAGS="$xorg_testset_save_CFLAGS"
   15891 fi
   15892 
   15893 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15894 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15895 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15896 	fi
   15897 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15898 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15899 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15900 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15901   $as_echo_n "(cached) " >&6
   15902 else
   15903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15904 /* end confdefs.h.  */
   15905 int i;
   15906 _ACEOF
   15907 if ac_fn_c_try_compile "$LINENO"; then :
   15908   xorg_cv_cc_flag_unused_command_line_argument=yes
   15909 else
   15910   xorg_cv_cc_flag_unused_command_line_argument=no
   15911 fi
   15912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15913 fi
   15914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15915 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15916 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15917 	CFLAGS="$xorg_testset_save_CFLAGS"
   15918 fi
   15919 
   15920 found="no"
   15921 
   15922 	if test $found = "no" ; then
   15923 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15924 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15925 		fi
   15926 
   15927 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15928 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15929 		fi
   15930 
   15931 		CFLAGS="$CFLAGS -Wnonnull"
   15932 
   15933 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   15934 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   15935 		cacheid=xorg_cv_cc_flag__Wnonnull
   15936 		if eval \${$cacheid+:} false; then :
   15937   $as_echo_n "(cached) " >&6
   15938 else
   15939   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15940 /* end confdefs.h.  */
   15941 int i;
   15942 int
   15943 main ()
   15944 {
   15945 
   15946   ;
   15947   return 0;
   15948 }
   15949 _ACEOF
   15950 if ac_fn_c_try_link "$LINENO"; then :
   15951   eval $cacheid=yes
   15952 else
   15953   eval $cacheid=no
   15954 fi
   15955 rm -f core conftest.err conftest.$ac_objext \
   15956     conftest$ac_exeext conftest.$ac_ext
   15957 fi
   15958 
   15959 
   15960 		CFLAGS="$xorg_testset_save_CFLAGS"
   15961 
   15962 		eval supported=\$$cacheid
   15963 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15964 $as_echo "$supported" >&6; }
   15965 		if test "$supported" = "yes" ; then
   15966 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   15967 			found="yes"
   15968 		fi
   15969 	fi
   15970 
   15971 
   15972 
   15973 
   15974 
   15975 
   15976 
   15977 
   15978 
   15979 
   15980 
   15981 
   15982 
   15983 
   15984 
   15985 xorg_testset_save_CFLAGS="$CFLAGS"
   15986 
   15987 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15988 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15989 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15990 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15991 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15992   $as_echo_n "(cached) " >&6
   15993 else
   15994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15995 /* end confdefs.h.  */
   15996 int i;
   15997 _ACEOF
   15998 if ac_fn_c_try_compile "$LINENO"; then :
   15999   xorg_cv_cc_flag_unknown_warning_option=yes
   16000 else
   16001   xorg_cv_cc_flag_unknown_warning_option=no
   16002 fi
   16003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16004 fi
   16005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16006 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16007 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16008 	CFLAGS="$xorg_testset_save_CFLAGS"
   16009 fi
   16010 
   16011 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16012 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16013 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16014 	fi
   16015 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16016 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16017 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16018 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16019   $as_echo_n "(cached) " >&6
   16020 else
   16021   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16022 /* end confdefs.h.  */
   16023 int i;
   16024 _ACEOF
   16025 if ac_fn_c_try_compile "$LINENO"; then :
   16026   xorg_cv_cc_flag_unused_command_line_argument=yes
   16027 else
   16028   xorg_cv_cc_flag_unused_command_line_argument=no
   16029 fi
   16030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16031 fi
   16032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16033 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16034 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16035 	CFLAGS="$xorg_testset_save_CFLAGS"
   16036 fi
   16037 
   16038 found="no"
   16039 
   16040 	if test $found = "no" ; then
   16041 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16042 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16043 		fi
   16044 
   16045 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16046 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16047 		fi
   16048 
   16049 		CFLAGS="$CFLAGS -Winit-self"
   16050 
   16051 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   16052 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   16053 		cacheid=xorg_cv_cc_flag__Winit_self
   16054 		if eval \${$cacheid+:} false; then :
   16055   $as_echo_n "(cached) " >&6
   16056 else
   16057   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16058 /* end confdefs.h.  */
   16059 int i;
   16060 int
   16061 main ()
   16062 {
   16063 
   16064   ;
   16065   return 0;
   16066 }
   16067 _ACEOF
   16068 if ac_fn_c_try_link "$LINENO"; then :
   16069   eval $cacheid=yes
   16070 else
   16071   eval $cacheid=no
   16072 fi
   16073 rm -f core conftest.err conftest.$ac_objext \
   16074     conftest$ac_exeext conftest.$ac_ext
   16075 fi
   16076 
   16077 
   16078 		CFLAGS="$xorg_testset_save_CFLAGS"
   16079 
   16080 		eval supported=\$$cacheid
   16081 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16082 $as_echo "$supported" >&6; }
   16083 		if test "$supported" = "yes" ; then
   16084 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   16085 			found="yes"
   16086 		fi
   16087 	fi
   16088 
   16089 
   16090 
   16091 
   16092 
   16093 
   16094 
   16095 
   16096 
   16097 
   16098 
   16099 
   16100 
   16101 
   16102 
   16103 xorg_testset_save_CFLAGS="$CFLAGS"
   16104 
   16105 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16106 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16107 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16108 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16109 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16110   $as_echo_n "(cached) " >&6
   16111 else
   16112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16113 /* end confdefs.h.  */
   16114 int i;
   16115 _ACEOF
   16116 if ac_fn_c_try_compile "$LINENO"; then :
   16117   xorg_cv_cc_flag_unknown_warning_option=yes
   16118 else
   16119   xorg_cv_cc_flag_unknown_warning_option=no
   16120 fi
   16121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16122 fi
   16123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16124 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16125 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16126 	CFLAGS="$xorg_testset_save_CFLAGS"
   16127 fi
   16128 
   16129 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16130 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16131 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16132 	fi
   16133 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16134 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16135 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16136 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16137   $as_echo_n "(cached) " >&6
   16138 else
   16139   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16140 /* end confdefs.h.  */
   16141 int i;
   16142 _ACEOF
   16143 if ac_fn_c_try_compile "$LINENO"; then :
   16144   xorg_cv_cc_flag_unused_command_line_argument=yes
   16145 else
   16146   xorg_cv_cc_flag_unused_command_line_argument=no
   16147 fi
   16148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16149 fi
   16150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16151 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16152 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16153 	CFLAGS="$xorg_testset_save_CFLAGS"
   16154 fi
   16155 
   16156 found="no"
   16157 
   16158 	if test $found = "no" ; then
   16159 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16160 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16161 		fi
   16162 
   16163 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16164 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16165 		fi
   16166 
   16167 		CFLAGS="$CFLAGS -Wmain"
   16168 
   16169 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   16170 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   16171 		cacheid=xorg_cv_cc_flag__Wmain
   16172 		if eval \${$cacheid+:} false; then :
   16173   $as_echo_n "(cached) " >&6
   16174 else
   16175   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16176 /* end confdefs.h.  */
   16177 int i;
   16178 int
   16179 main ()
   16180 {
   16181 
   16182   ;
   16183   return 0;
   16184 }
   16185 _ACEOF
   16186 if ac_fn_c_try_link "$LINENO"; then :
   16187   eval $cacheid=yes
   16188 else
   16189   eval $cacheid=no
   16190 fi
   16191 rm -f core conftest.err conftest.$ac_objext \
   16192     conftest$ac_exeext conftest.$ac_ext
   16193 fi
   16194 
   16195 
   16196 		CFLAGS="$xorg_testset_save_CFLAGS"
   16197 
   16198 		eval supported=\$$cacheid
   16199 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16200 $as_echo "$supported" >&6; }
   16201 		if test "$supported" = "yes" ; then
   16202 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   16203 			found="yes"
   16204 		fi
   16205 	fi
   16206 
   16207 
   16208 
   16209 
   16210 
   16211 
   16212 
   16213 
   16214 
   16215 
   16216 
   16217 
   16218 
   16219 
   16220 
   16221 xorg_testset_save_CFLAGS="$CFLAGS"
   16222 
   16223 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16224 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16225 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16226 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16227 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16228   $as_echo_n "(cached) " >&6
   16229 else
   16230   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16231 /* end confdefs.h.  */
   16232 int i;
   16233 _ACEOF
   16234 if ac_fn_c_try_compile "$LINENO"; then :
   16235   xorg_cv_cc_flag_unknown_warning_option=yes
   16236 else
   16237   xorg_cv_cc_flag_unknown_warning_option=no
   16238 fi
   16239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16240 fi
   16241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16242 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16243 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16244 	CFLAGS="$xorg_testset_save_CFLAGS"
   16245 fi
   16246 
   16247 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16248 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16249 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16250 	fi
   16251 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16252 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16253 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16254 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16255   $as_echo_n "(cached) " >&6
   16256 else
   16257   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16258 /* end confdefs.h.  */
   16259 int i;
   16260 _ACEOF
   16261 if ac_fn_c_try_compile "$LINENO"; then :
   16262   xorg_cv_cc_flag_unused_command_line_argument=yes
   16263 else
   16264   xorg_cv_cc_flag_unused_command_line_argument=no
   16265 fi
   16266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16267 fi
   16268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16269 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16270 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16271 	CFLAGS="$xorg_testset_save_CFLAGS"
   16272 fi
   16273 
   16274 found="no"
   16275 
   16276 	if test $found = "no" ; then
   16277 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16278 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16279 		fi
   16280 
   16281 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16282 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16283 		fi
   16284 
   16285 		CFLAGS="$CFLAGS -Wmissing-braces"
   16286 
   16287 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   16288 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   16289 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   16290 		if eval \${$cacheid+:} false; then :
   16291   $as_echo_n "(cached) " >&6
   16292 else
   16293   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16294 /* end confdefs.h.  */
   16295 int i;
   16296 int
   16297 main ()
   16298 {
   16299 
   16300   ;
   16301   return 0;
   16302 }
   16303 _ACEOF
   16304 if ac_fn_c_try_link "$LINENO"; then :
   16305   eval $cacheid=yes
   16306 else
   16307   eval $cacheid=no
   16308 fi
   16309 rm -f core conftest.err conftest.$ac_objext \
   16310     conftest$ac_exeext conftest.$ac_ext
   16311 fi
   16312 
   16313 
   16314 		CFLAGS="$xorg_testset_save_CFLAGS"
   16315 
   16316 		eval supported=\$$cacheid
   16317 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16318 $as_echo "$supported" >&6; }
   16319 		if test "$supported" = "yes" ; then
   16320 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   16321 			found="yes"
   16322 		fi
   16323 	fi
   16324 
   16325 
   16326 
   16327 
   16328 
   16329 
   16330 
   16331 
   16332 
   16333 
   16334 
   16335 
   16336 
   16337 
   16338 
   16339 xorg_testset_save_CFLAGS="$CFLAGS"
   16340 
   16341 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16342 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16343 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16344 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16345 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16346   $as_echo_n "(cached) " >&6
   16347 else
   16348   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16349 /* end confdefs.h.  */
   16350 int i;
   16351 _ACEOF
   16352 if ac_fn_c_try_compile "$LINENO"; then :
   16353   xorg_cv_cc_flag_unknown_warning_option=yes
   16354 else
   16355   xorg_cv_cc_flag_unknown_warning_option=no
   16356 fi
   16357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16358 fi
   16359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16360 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16361 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16362 	CFLAGS="$xorg_testset_save_CFLAGS"
   16363 fi
   16364 
   16365 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16366 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16367 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16368 	fi
   16369 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16370 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16371 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16372 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16373   $as_echo_n "(cached) " >&6
   16374 else
   16375   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16376 /* end confdefs.h.  */
   16377 int i;
   16378 _ACEOF
   16379 if ac_fn_c_try_compile "$LINENO"; then :
   16380   xorg_cv_cc_flag_unused_command_line_argument=yes
   16381 else
   16382   xorg_cv_cc_flag_unused_command_line_argument=no
   16383 fi
   16384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16385 fi
   16386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16387 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16388 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16389 	CFLAGS="$xorg_testset_save_CFLAGS"
   16390 fi
   16391 
   16392 found="no"
   16393 
   16394 	if test $found = "no" ; then
   16395 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16396 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16397 		fi
   16398 
   16399 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16400 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16401 		fi
   16402 
   16403 		CFLAGS="$CFLAGS -Wsequence-point"
   16404 
   16405 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   16406 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   16407 		cacheid=xorg_cv_cc_flag__Wsequence_point
   16408 		if eval \${$cacheid+:} false; then :
   16409   $as_echo_n "(cached) " >&6
   16410 else
   16411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16412 /* end confdefs.h.  */
   16413 int i;
   16414 int
   16415 main ()
   16416 {
   16417 
   16418   ;
   16419   return 0;
   16420 }
   16421 _ACEOF
   16422 if ac_fn_c_try_link "$LINENO"; then :
   16423   eval $cacheid=yes
   16424 else
   16425   eval $cacheid=no
   16426 fi
   16427 rm -f core conftest.err conftest.$ac_objext \
   16428     conftest$ac_exeext conftest.$ac_ext
   16429 fi
   16430 
   16431 
   16432 		CFLAGS="$xorg_testset_save_CFLAGS"
   16433 
   16434 		eval supported=\$$cacheid
   16435 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16436 $as_echo "$supported" >&6; }
   16437 		if test "$supported" = "yes" ; then
   16438 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   16439 			found="yes"
   16440 		fi
   16441 	fi
   16442 
   16443 
   16444 
   16445 
   16446 
   16447 
   16448 
   16449 
   16450 
   16451 
   16452 
   16453 
   16454 
   16455 
   16456 
   16457 xorg_testset_save_CFLAGS="$CFLAGS"
   16458 
   16459 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16460 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16461 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16462 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16463 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16464   $as_echo_n "(cached) " >&6
   16465 else
   16466   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16467 /* end confdefs.h.  */
   16468 int i;
   16469 _ACEOF
   16470 if ac_fn_c_try_compile "$LINENO"; then :
   16471   xorg_cv_cc_flag_unknown_warning_option=yes
   16472 else
   16473   xorg_cv_cc_flag_unknown_warning_option=no
   16474 fi
   16475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16476 fi
   16477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16478 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16479 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16480 	CFLAGS="$xorg_testset_save_CFLAGS"
   16481 fi
   16482 
   16483 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16484 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16485 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16486 	fi
   16487 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16488 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16489 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16490 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16491   $as_echo_n "(cached) " >&6
   16492 else
   16493   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16494 /* end confdefs.h.  */
   16495 int i;
   16496 _ACEOF
   16497 if ac_fn_c_try_compile "$LINENO"; then :
   16498   xorg_cv_cc_flag_unused_command_line_argument=yes
   16499 else
   16500   xorg_cv_cc_flag_unused_command_line_argument=no
   16501 fi
   16502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16503 fi
   16504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16505 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16506 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16507 	CFLAGS="$xorg_testset_save_CFLAGS"
   16508 fi
   16509 
   16510 found="no"
   16511 
   16512 	if test $found = "no" ; then
   16513 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16514 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16515 		fi
   16516 
   16517 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16518 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16519 		fi
   16520 
   16521 		CFLAGS="$CFLAGS -Wreturn-type"
   16522 
   16523 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   16524 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   16525 		cacheid=xorg_cv_cc_flag__Wreturn_type
   16526 		if eval \${$cacheid+:} false; then :
   16527   $as_echo_n "(cached) " >&6
   16528 else
   16529   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16530 /* end confdefs.h.  */
   16531 int i;
   16532 int
   16533 main ()
   16534 {
   16535 
   16536   ;
   16537   return 0;
   16538 }
   16539 _ACEOF
   16540 if ac_fn_c_try_link "$LINENO"; then :
   16541   eval $cacheid=yes
   16542 else
   16543   eval $cacheid=no
   16544 fi
   16545 rm -f core conftest.err conftest.$ac_objext \
   16546     conftest$ac_exeext conftest.$ac_ext
   16547 fi
   16548 
   16549 
   16550 		CFLAGS="$xorg_testset_save_CFLAGS"
   16551 
   16552 		eval supported=\$$cacheid
   16553 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16554 $as_echo "$supported" >&6; }
   16555 		if test "$supported" = "yes" ; then
   16556 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   16557 			found="yes"
   16558 		fi
   16559 	fi
   16560 
   16561 
   16562 
   16563 
   16564 
   16565 
   16566 
   16567 
   16568 
   16569 
   16570 
   16571 
   16572 
   16573 
   16574 
   16575 xorg_testset_save_CFLAGS="$CFLAGS"
   16576 
   16577 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16578 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16579 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16580 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16581 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16582   $as_echo_n "(cached) " >&6
   16583 else
   16584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16585 /* end confdefs.h.  */
   16586 int i;
   16587 _ACEOF
   16588 if ac_fn_c_try_compile "$LINENO"; then :
   16589   xorg_cv_cc_flag_unknown_warning_option=yes
   16590 else
   16591   xorg_cv_cc_flag_unknown_warning_option=no
   16592 fi
   16593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16594 fi
   16595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16596 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16597 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16598 	CFLAGS="$xorg_testset_save_CFLAGS"
   16599 fi
   16600 
   16601 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16602 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16603 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16604 	fi
   16605 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16606 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16607 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16608 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16609   $as_echo_n "(cached) " >&6
   16610 else
   16611   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16612 /* end confdefs.h.  */
   16613 int i;
   16614 _ACEOF
   16615 if ac_fn_c_try_compile "$LINENO"; then :
   16616   xorg_cv_cc_flag_unused_command_line_argument=yes
   16617 else
   16618   xorg_cv_cc_flag_unused_command_line_argument=no
   16619 fi
   16620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16621 fi
   16622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16623 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16624 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16625 	CFLAGS="$xorg_testset_save_CFLAGS"
   16626 fi
   16627 
   16628 found="no"
   16629 
   16630 	if test $found = "no" ; then
   16631 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16632 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16633 		fi
   16634 
   16635 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16636 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16637 		fi
   16638 
   16639 		CFLAGS="$CFLAGS -Wtrigraphs"
   16640 
   16641 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   16642 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   16643 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   16644 		if eval \${$cacheid+:} false; then :
   16645   $as_echo_n "(cached) " >&6
   16646 else
   16647   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16648 /* end confdefs.h.  */
   16649 int i;
   16650 int
   16651 main ()
   16652 {
   16653 
   16654   ;
   16655   return 0;
   16656 }
   16657 _ACEOF
   16658 if ac_fn_c_try_link "$LINENO"; then :
   16659   eval $cacheid=yes
   16660 else
   16661   eval $cacheid=no
   16662 fi
   16663 rm -f core conftest.err conftest.$ac_objext \
   16664     conftest$ac_exeext conftest.$ac_ext
   16665 fi
   16666 
   16667 
   16668 		CFLAGS="$xorg_testset_save_CFLAGS"
   16669 
   16670 		eval supported=\$$cacheid
   16671 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16672 $as_echo "$supported" >&6; }
   16673 		if test "$supported" = "yes" ; then
   16674 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   16675 			found="yes"
   16676 		fi
   16677 	fi
   16678 
   16679 
   16680 
   16681 
   16682 
   16683 
   16684 
   16685 
   16686 
   16687 
   16688 
   16689 
   16690 
   16691 
   16692 
   16693 xorg_testset_save_CFLAGS="$CFLAGS"
   16694 
   16695 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16696 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16697 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16698 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16699 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16700   $as_echo_n "(cached) " >&6
   16701 else
   16702   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16703 /* end confdefs.h.  */
   16704 int i;
   16705 _ACEOF
   16706 if ac_fn_c_try_compile "$LINENO"; then :
   16707   xorg_cv_cc_flag_unknown_warning_option=yes
   16708 else
   16709   xorg_cv_cc_flag_unknown_warning_option=no
   16710 fi
   16711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16712 fi
   16713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16714 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16715 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16716 	CFLAGS="$xorg_testset_save_CFLAGS"
   16717 fi
   16718 
   16719 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16720 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16721 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16722 	fi
   16723 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16724 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16725 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16726 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16727   $as_echo_n "(cached) " >&6
   16728 else
   16729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16730 /* end confdefs.h.  */
   16731 int i;
   16732 _ACEOF
   16733 if ac_fn_c_try_compile "$LINENO"; then :
   16734   xorg_cv_cc_flag_unused_command_line_argument=yes
   16735 else
   16736   xorg_cv_cc_flag_unused_command_line_argument=no
   16737 fi
   16738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16739 fi
   16740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16741 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16742 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16743 	CFLAGS="$xorg_testset_save_CFLAGS"
   16744 fi
   16745 
   16746 found="no"
   16747 
   16748 	if test $found = "no" ; then
   16749 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16750 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16751 		fi
   16752 
   16753 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16754 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16755 		fi
   16756 
   16757 		CFLAGS="$CFLAGS -Warray-bounds"
   16758 
   16759 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   16760 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   16761 		cacheid=xorg_cv_cc_flag__Warray_bounds
   16762 		if eval \${$cacheid+:} false; then :
   16763   $as_echo_n "(cached) " >&6
   16764 else
   16765   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16766 /* end confdefs.h.  */
   16767 int i;
   16768 int
   16769 main ()
   16770 {
   16771 
   16772   ;
   16773   return 0;
   16774 }
   16775 _ACEOF
   16776 if ac_fn_c_try_link "$LINENO"; then :
   16777   eval $cacheid=yes
   16778 else
   16779   eval $cacheid=no
   16780 fi
   16781 rm -f core conftest.err conftest.$ac_objext \
   16782     conftest$ac_exeext conftest.$ac_ext
   16783 fi
   16784 
   16785 
   16786 		CFLAGS="$xorg_testset_save_CFLAGS"
   16787 
   16788 		eval supported=\$$cacheid
   16789 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16790 $as_echo "$supported" >&6; }
   16791 		if test "$supported" = "yes" ; then
   16792 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   16793 			found="yes"
   16794 		fi
   16795 	fi
   16796 
   16797 
   16798 
   16799 
   16800 
   16801 
   16802 
   16803 
   16804 
   16805 
   16806 
   16807 
   16808 
   16809 
   16810 
   16811 xorg_testset_save_CFLAGS="$CFLAGS"
   16812 
   16813 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16814 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16815 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16816 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16817 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16818   $as_echo_n "(cached) " >&6
   16819 else
   16820   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16821 /* end confdefs.h.  */
   16822 int i;
   16823 _ACEOF
   16824 if ac_fn_c_try_compile "$LINENO"; then :
   16825   xorg_cv_cc_flag_unknown_warning_option=yes
   16826 else
   16827   xorg_cv_cc_flag_unknown_warning_option=no
   16828 fi
   16829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16830 fi
   16831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16832 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16833 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16834 	CFLAGS="$xorg_testset_save_CFLAGS"
   16835 fi
   16836 
   16837 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16838 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16839 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16840 	fi
   16841 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16842 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16843 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16844 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16845   $as_echo_n "(cached) " >&6
   16846 else
   16847   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16848 /* end confdefs.h.  */
   16849 int i;
   16850 _ACEOF
   16851 if ac_fn_c_try_compile "$LINENO"; then :
   16852   xorg_cv_cc_flag_unused_command_line_argument=yes
   16853 else
   16854   xorg_cv_cc_flag_unused_command_line_argument=no
   16855 fi
   16856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16857 fi
   16858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16859 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16860 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16861 	CFLAGS="$xorg_testset_save_CFLAGS"
   16862 fi
   16863 
   16864 found="no"
   16865 
   16866 	if test $found = "no" ; then
   16867 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16868 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16869 		fi
   16870 
   16871 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16872 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16873 		fi
   16874 
   16875 		CFLAGS="$CFLAGS -Wwrite-strings"
   16876 
   16877 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   16878 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   16879 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   16880 		if eval \${$cacheid+:} false; then :
   16881   $as_echo_n "(cached) " >&6
   16882 else
   16883   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16884 /* end confdefs.h.  */
   16885 int i;
   16886 int
   16887 main ()
   16888 {
   16889 
   16890   ;
   16891   return 0;
   16892 }
   16893 _ACEOF
   16894 if ac_fn_c_try_link "$LINENO"; then :
   16895   eval $cacheid=yes
   16896 else
   16897   eval $cacheid=no
   16898 fi
   16899 rm -f core conftest.err conftest.$ac_objext \
   16900     conftest$ac_exeext conftest.$ac_ext
   16901 fi
   16902 
   16903 
   16904 		CFLAGS="$xorg_testset_save_CFLAGS"
   16905 
   16906 		eval supported=\$$cacheid
   16907 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16908 $as_echo "$supported" >&6; }
   16909 		if test "$supported" = "yes" ; then
   16910 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   16911 			found="yes"
   16912 		fi
   16913 	fi
   16914 
   16915 
   16916 
   16917 
   16918 
   16919 
   16920 
   16921 
   16922 
   16923 
   16924 
   16925 
   16926 
   16927 
   16928 
   16929 xorg_testset_save_CFLAGS="$CFLAGS"
   16930 
   16931 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16932 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16933 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16934 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16935 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16936   $as_echo_n "(cached) " >&6
   16937 else
   16938   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16939 /* end confdefs.h.  */
   16940 int i;
   16941 _ACEOF
   16942 if ac_fn_c_try_compile "$LINENO"; then :
   16943   xorg_cv_cc_flag_unknown_warning_option=yes
   16944 else
   16945   xorg_cv_cc_flag_unknown_warning_option=no
   16946 fi
   16947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16948 fi
   16949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16950 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16951 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16952 	CFLAGS="$xorg_testset_save_CFLAGS"
   16953 fi
   16954 
   16955 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16956 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16957 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16958 	fi
   16959 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16960 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16961 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16962 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16963   $as_echo_n "(cached) " >&6
   16964 else
   16965   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16966 /* end confdefs.h.  */
   16967 int i;
   16968 _ACEOF
   16969 if ac_fn_c_try_compile "$LINENO"; then :
   16970   xorg_cv_cc_flag_unused_command_line_argument=yes
   16971 else
   16972   xorg_cv_cc_flag_unused_command_line_argument=no
   16973 fi
   16974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16975 fi
   16976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16977 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16978 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16979 	CFLAGS="$xorg_testset_save_CFLAGS"
   16980 fi
   16981 
   16982 found="no"
   16983 
   16984 	if test $found = "no" ; then
   16985 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16986 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16987 		fi
   16988 
   16989 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16990 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16991 		fi
   16992 
   16993 		CFLAGS="$CFLAGS -Waddress"
   16994 
   16995 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   16996 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   16997 		cacheid=xorg_cv_cc_flag__Waddress
   16998 		if eval \${$cacheid+:} false; then :
   16999   $as_echo_n "(cached) " >&6
   17000 else
   17001   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17002 /* end confdefs.h.  */
   17003 int i;
   17004 int
   17005 main ()
   17006 {
   17007 
   17008   ;
   17009   return 0;
   17010 }
   17011 _ACEOF
   17012 if ac_fn_c_try_link "$LINENO"; then :
   17013   eval $cacheid=yes
   17014 else
   17015   eval $cacheid=no
   17016 fi
   17017 rm -f core conftest.err conftest.$ac_objext \
   17018     conftest$ac_exeext conftest.$ac_ext
   17019 fi
   17020 
   17021 
   17022 		CFLAGS="$xorg_testset_save_CFLAGS"
   17023 
   17024 		eval supported=\$$cacheid
   17025 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17026 $as_echo "$supported" >&6; }
   17027 		if test "$supported" = "yes" ; then
   17028 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   17029 			found="yes"
   17030 		fi
   17031 	fi
   17032 
   17033 
   17034 
   17035 
   17036 
   17037 
   17038 
   17039 
   17040 
   17041 
   17042 
   17043 
   17044 
   17045 
   17046 
   17047 xorg_testset_save_CFLAGS="$CFLAGS"
   17048 
   17049 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17050 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17051 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17052 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17053 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17054   $as_echo_n "(cached) " >&6
   17055 else
   17056   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17057 /* end confdefs.h.  */
   17058 int i;
   17059 _ACEOF
   17060 if ac_fn_c_try_compile "$LINENO"; then :
   17061   xorg_cv_cc_flag_unknown_warning_option=yes
   17062 else
   17063   xorg_cv_cc_flag_unknown_warning_option=no
   17064 fi
   17065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17066 fi
   17067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17068 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17069 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17070 	CFLAGS="$xorg_testset_save_CFLAGS"
   17071 fi
   17072 
   17073 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17074 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17075 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17076 	fi
   17077 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17078 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17079 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17080 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17081   $as_echo_n "(cached) " >&6
   17082 else
   17083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17084 /* end confdefs.h.  */
   17085 int i;
   17086 _ACEOF
   17087 if ac_fn_c_try_compile "$LINENO"; then :
   17088   xorg_cv_cc_flag_unused_command_line_argument=yes
   17089 else
   17090   xorg_cv_cc_flag_unused_command_line_argument=no
   17091 fi
   17092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17093 fi
   17094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17095 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17096 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17097 	CFLAGS="$xorg_testset_save_CFLAGS"
   17098 fi
   17099 
   17100 found="no"
   17101 
   17102 	if test $found = "no" ; then
   17103 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17104 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17105 		fi
   17106 
   17107 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17108 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17109 		fi
   17110 
   17111 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   17112 
   17113 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   17114 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   17115 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   17116 		if eval \${$cacheid+:} false; then :
   17117   $as_echo_n "(cached) " >&6
   17118 else
   17119   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17120 /* end confdefs.h.  */
   17121 int i;
   17122 int
   17123 main ()
   17124 {
   17125 
   17126   ;
   17127   return 0;
   17128 }
   17129 _ACEOF
   17130 if ac_fn_c_try_link "$LINENO"; then :
   17131   eval $cacheid=yes
   17132 else
   17133   eval $cacheid=no
   17134 fi
   17135 rm -f core conftest.err conftest.$ac_objext \
   17136     conftest$ac_exeext conftest.$ac_ext
   17137 fi
   17138 
   17139 
   17140 		CFLAGS="$xorg_testset_save_CFLAGS"
   17141 
   17142 		eval supported=\$$cacheid
   17143 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17144 $as_echo "$supported" >&6; }
   17145 		if test "$supported" = "yes" ; then
   17146 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   17147 			found="yes"
   17148 		fi
   17149 	fi
   17150 
   17151 
   17152 
   17153 
   17154 
   17155 
   17156 
   17157 
   17158 
   17159 
   17160 
   17161 
   17162 
   17163 
   17164 
   17165 xorg_testset_save_CFLAGS="$CFLAGS"
   17166 
   17167 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17168 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17169 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17170 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17171 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17172   $as_echo_n "(cached) " >&6
   17173 else
   17174   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17175 /* end confdefs.h.  */
   17176 int i;
   17177 _ACEOF
   17178 if ac_fn_c_try_compile "$LINENO"; then :
   17179   xorg_cv_cc_flag_unknown_warning_option=yes
   17180 else
   17181   xorg_cv_cc_flag_unknown_warning_option=no
   17182 fi
   17183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17184 fi
   17185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17186 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17187 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17188 	CFLAGS="$xorg_testset_save_CFLAGS"
   17189 fi
   17190 
   17191 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17192 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17193 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17194 	fi
   17195 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17196 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17197 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17198 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17199   $as_echo_n "(cached) " >&6
   17200 else
   17201   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17202 /* end confdefs.h.  */
   17203 int i;
   17204 _ACEOF
   17205 if ac_fn_c_try_compile "$LINENO"; then :
   17206   xorg_cv_cc_flag_unused_command_line_argument=yes
   17207 else
   17208   xorg_cv_cc_flag_unused_command_line_argument=no
   17209 fi
   17210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17211 fi
   17212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17213 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17214 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17215 	CFLAGS="$xorg_testset_save_CFLAGS"
   17216 fi
   17217 
   17218 found="no"
   17219 
   17220 	if test $found = "no" ; then
   17221 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17222 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17223 		fi
   17224 
   17225 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17226 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17227 		fi
   17228 
   17229 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   17230 
   17231 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   17232 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   17233 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   17234 		if eval \${$cacheid+:} false; then :
   17235   $as_echo_n "(cached) " >&6
   17236 else
   17237   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17238 /* end confdefs.h.  */
   17239 int i;
   17240 int
   17241 main ()
   17242 {
   17243 
   17244   ;
   17245   return 0;
   17246 }
   17247 _ACEOF
   17248 if ac_fn_c_try_link "$LINENO"; then :
   17249   eval $cacheid=yes
   17250 else
   17251   eval $cacheid=no
   17252 fi
   17253 rm -f core conftest.err conftest.$ac_objext \
   17254     conftest$ac_exeext conftest.$ac_ext
   17255 fi
   17256 
   17257 
   17258 		CFLAGS="$xorg_testset_save_CFLAGS"
   17259 
   17260 		eval supported=\$$cacheid
   17261 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17262 $as_echo "$supported" >&6; }
   17263 		if test "$supported" = "yes" ; then
   17264 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   17265 			found="yes"
   17266 		fi
   17267 	fi
   17268 
   17269 
   17270 fi
   17271 
   17272 
   17273 
   17274 
   17275 
   17276 
   17277 
   17278 		CWARNFLAGS="$BASE_CFLAGS"
   17279 		if  test "x$GCC" = xyes ; then
   17280 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   17281 		fi
   17282 
   17283 
   17284 
   17285 
   17286 
   17287 
   17288 
   17289 
   17290 # Check whether --enable-strict-compilation was given.
   17291 if test "${enable_strict_compilation+set}" = set; then :
   17292   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   17293 else
   17294   STRICT_COMPILE=no
   17295 fi
   17296 
   17297 
   17298 
   17299 
   17300 
   17301 
   17302 STRICT_CFLAGS=""
   17303 
   17304 
   17305 
   17306 
   17307 
   17308 
   17309 
   17310 
   17311 
   17312 
   17313 
   17314 
   17315 
   17316 xorg_testset_save_CFLAGS="$CFLAGS"
   17317 
   17318 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17319 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17320 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17321 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17322 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17323   $as_echo_n "(cached) " >&6
   17324 else
   17325   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17326 /* end confdefs.h.  */
   17327 int i;
   17328 _ACEOF
   17329 if ac_fn_c_try_compile "$LINENO"; then :
   17330   xorg_cv_cc_flag_unknown_warning_option=yes
   17331 else
   17332   xorg_cv_cc_flag_unknown_warning_option=no
   17333 fi
   17334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17335 fi
   17336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17337 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17338 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17339 	CFLAGS="$xorg_testset_save_CFLAGS"
   17340 fi
   17341 
   17342 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17343 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17344 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17345 	fi
   17346 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17347 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17348 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17349 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17350   $as_echo_n "(cached) " >&6
   17351 else
   17352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17353 /* end confdefs.h.  */
   17354 int i;
   17355 _ACEOF
   17356 if ac_fn_c_try_compile "$LINENO"; then :
   17357   xorg_cv_cc_flag_unused_command_line_argument=yes
   17358 else
   17359   xorg_cv_cc_flag_unused_command_line_argument=no
   17360 fi
   17361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17362 fi
   17363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17364 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17365 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17366 	CFLAGS="$xorg_testset_save_CFLAGS"
   17367 fi
   17368 
   17369 found="no"
   17370 
   17371 	if test $found = "no" ; then
   17372 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17373 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17374 		fi
   17375 
   17376 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17377 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17378 		fi
   17379 
   17380 		CFLAGS="$CFLAGS -pedantic"
   17381 
   17382 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   17383 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   17384 		cacheid=xorg_cv_cc_flag__pedantic
   17385 		if eval \${$cacheid+:} false; then :
   17386   $as_echo_n "(cached) " >&6
   17387 else
   17388   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17389 /* end confdefs.h.  */
   17390 int i;
   17391 int
   17392 main ()
   17393 {
   17394 
   17395   ;
   17396   return 0;
   17397 }
   17398 _ACEOF
   17399 if ac_fn_c_try_link "$LINENO"; then :
   17400   eval $cacheid=yes
   17401 else
   17402   eval $cacheid=no
   17403 fi
   17404 rm -f core conftest.err conftest.$ac_objext \
   17405     conftest$ac_exeext conftest.$ac_ext
   17406 fi
   17407 
   17408 
   17409 		CFLAGS="$xorg_testset_save_CFLAGS"
   17410 
   17411 		eval supported=\$$cacheid
   17412 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17413 $as_echo "$supported" >&6; }
   17414 		if test "$supported" = "yes" ; then
   17415 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   17416 			found="yes"
   17417 		fi
   17418 	fi
   17419 
   17420 
   17421 
   17422 
   17423 
   17424 
   17425 
   17426 
   17427 
   17428 
   17429 
   17430 
   17431 
   17432 
   17433 
   17434 xorg_testset_save_CFLAGS="$CFLAGS"
   17435 
   17436 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17437 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17438 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17439 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17440 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17441   $as_echo_n "(cached) " >&6
   17442 else
   17443   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17444 /* end confdefs.h.  */
   17445 int i;
   17446 _ACEOF
   17447 if ac_fn_c_try_compile "$LINENO"; then :
   17448   xorg_cv_cc_flag_unknown_warning_option=yes
   17449 else
   17450   xorg_cv_cc_flag_unknown_warning_option=no
   17451 fi
   17452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17453 fi
   17454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17455 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17456 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17457 	CFLAGS="$xorg_testset_save_CFLAGS"
   17458 fi
   17459 
   17460 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17461 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17462 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17463 	fi
   17464 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17465 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17466 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17467 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17468   $as_echo_n "(cached) " >&6
   17469 else
   17470   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17471 /* end confdefs.h.  */
   17472 int i;
   17473 _ACEOF
   17474 if ac_fn_c_try_compile "$LINENO"; then :
   17475   xorg_cv_cc_flag_unused_command_line_argument=yes
   17476 else
   17477   xorg_cv_cc_flag_unused_command_line_argument=no
   17478 fi
   17479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17480 fi
   17481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17482 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17483 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17484 	CFLAGS="$xorg_testset_save_CFLAGS"
   17485 fi
   17486 
   17487 found="no"
   17488 
   17489 	if test $found = "no" ; then
   17490 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17491 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17492 		fi
   17493 
   17494 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17495 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17496 		fi
   17497 
   17498 		CFLAGS="$CFLAGS -Werror"
   17499 
   17500 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   17501 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   17502 		cacheid=xorg_cv_cc_flag__Werror
   17503 		if eval \${$cacheid+:} false; then :
   17504   $as_echo_n "(cached) " >&6
   17505 else
   17506   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17507 /* end confdefs.h.  */
   17508 int i;
   17509 int
   17510 main ()
   17511 {
   17512 
   17513   ;
   17514   return 0;
   17515 }
   17516 _ACEOF
   17517 if ac_fn_c_try_link "$LINENO"; then :
   17518   eval $cacheid=yes
   17519 else
   17520   eval $cacheid=no
   17521 fi
   17522 rm -f core conftest.err conftest.$ac_objext \
   17523     conftest$ac_exeext conftest.$ac_ext
   17524 fi
   17525 
   17526 
   17527 		CFLAGS="$xorg_testset_save_CFLAGS"
   17528 
   17529 		eval supported=\$$cacheid
   17530 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17531 $as_echo "$supported" >&6; }
   17532 		if test "$supported" = "yes" ; then
   17533 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   17534 			found="yes"
   17535 		fi
   17536 	fi
   17537 
   17538 	if test $found = "no" ; then
   17539 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17540 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17541 		fi
   17542 
   17543 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17544 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17545 		fi
   17546 
   17547 		CFLAGS="$CFLAGS -errwarn"
   17548 
   17549 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   17550 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   17551 		cacheid=xorg_cv_cc_flag__errwarn
   17552 		if eval \${$cacheid+:} false; then :
   17553   $as_echo_n "(cached) " >&6
   17554 else
   17555   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17556 /* end confdefs.h.  */
   17557 int i;
   17558 int
   17559 main ()
   17560 {
   17561 
   17562   ;
   17563   return 0;
   17564 }
   17565 _ACEOF
   17566 if ac_fn_c_try_link "$LINENO"; then :
   17567   eval $cacheid=yes
   17568 else
   17569   eval $cacheid=no
   17570 fi
   17571 rm -f core conftest.err conftest.$ac_objext \
   17572     conftest$ac_exeext conftest.$ac_ext
   17573 fi
   17574 
   17575 
   17576 		CFLAGS="$xorg_testset_save_CFLAGS"
   17577 
   17578 		eval supported=\$$cacheid
   17579 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17580 $as_echo "$supported" >&6; }
   17581 		if test "$supported" = "yes" ; then
   17582 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   17583 			found="yes"
   17584 		fi
   17585 	fi
   17586 
   17587 
   17588 
   17589 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   17590 # activate it with -Werror, so we add it here explicitly.
   17591 
   17592 
   17593 
   17594 
   17595 
   17596 
   17597 
   17598 
   17599 
   17600 
   17601 
   17602 
   17603 
   17604 xorg_testset_save_CFLAGS="$CFLAGS"
   17605 
   17606 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17607 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17608 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17609 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17610 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17611   $as_echo_n "(cached) " >&6
   17612 else
   17613   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17614 /* end confdefs.h.  */
   17615 int i;
   17616 _ACEOF
   17617 if ac_fn_c_try_compile "$LINENO"; then :
   17618   xorg_cv_cc_flag_unknown_warning_option=yes
   17619 else
   17620   xorg_cv_cc_flag_unknown_warning_option=no
   17621 fi
   17622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17623 fi
   17624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17625 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17626 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17627 	CFLAGS="$xorg_testset_save_CFLAGS"
   17628 fi
   17629 
   17630 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17631 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17632 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17633 	fi
   17634 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17635 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17636 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17637 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17638   $as_echo_n "(cached) " >&6
   17639 else
   17640   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17641 /* end confdefs.h.  */
   17642 int i;
   17643 _ACEOF
   17644 if ac_fn_c_try_compile "$LINENO"; then :
   17645   xorg_cv_cc_flag_unused_command_line_argument=yes
   17646 else
   17647   xorg_cv_cc_flag_unused_command_line_argument=no
   17648 fi
   17649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17650 fi
   17651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17652 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17653 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17654 	CFLAGS="$xorg_testset_save_CFLAGS"
   17655 fi
   17656 
   17657 found="no"
   17658 
   17659 	if test $found = "no" ; then
   17660 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17661 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17662 		fi
   17663 
   17664 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17665 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17666 		fi
   17667 
   17668 		CFLAGS="$CFLAGS -Werror=attributes"
   17669 
   17670 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   17671 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   17672 		cacheid=xorg_cv_cc_flag__Werror_attributes
   17673 		if eval \${$cacheid+:} false; then :
   17674   $as_echo_n "(cached) " >&6
   17675 else
   17676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17677 /* end confdefs.h.  */
   17678 int i;
   17679 int
   17680 main ()
   17681 {
   17682 
   17683   ;
   17684   return 0;
   17685 }
   17686 _ACEOF
   17687 if ac_fn_c_try_link "$LINENO"; then :
   17688   eval $cacheid=yes
   17689 else
   17690   eval $cacheid=no
   17691 fi
   17692 rm -f core conftest.err conftest.$ac_objext \
   17693     conftest$ac_exeext conftest.$ac_ext
   17694 fi
   17695 
   17696 
   17697 		CFLAGS="$xorg_testset_save_CFLAGS"
   17698 
   17699 		eval supported=\$$cacheid
   17700 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17701 $as_echo "$supported" >&6; }
   17702 		if test "$supported" = "yes" ; then
   17703 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   17704 			found="yes"
   17705 		fi
   17706 	fi
   17707 
   17708 
   17709 
   17710 if test "x$STRICT_COMPILE" = "xyes"; then
   17711     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   17712     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   17713 fi
   17714 
   17715 
   17716 
   17717 
   17718 
   17719 
   17720 cat >>confdefs.h <<_ACEOF
   17721 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   17722 _ACEOF
   17723 
   17724 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   17725 	if test "x$PVM" = "x"; then
   17726 		PVM="0"
   17727 	fi
   17728 
   17729 cat >>confdefs.h <<_ACEOF
   17730 #define PACKAGE_VERSION_MINOR $PVM
   17731 _ACEOF
   17732 
   17733 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   17734 	if test "x$PVP" = "x"; then
   17735 		PVP="0"
   17736 	fi
   17737 
   17738 cat >>confdefs.h <<_ACEOF
   17739 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   17740 _ACEOF
   17741 
   17742 
   17743 
   17744 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   17745 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   17746 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   17747 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   17748 
   17749 
   17750 
   17751 
   17752 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   17753 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   17754 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   17755 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   17756 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   17757 
   17758 
   17759 
   17760 
   17761 
   17762 
   17763 if test x$APP_MAN_SUFFIX = x    ; then
   17764     APP_MAN_SUFFIX=1
   17765 fi
   17766 if test x$APP_MAN_DIR = x    ; then
   17767     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   17768 fi
   17769 
   17770 if test x$LIB_MAN_SUFFIX = x    ; then
   17771     LIB_MAN_SUFFIX=3
   17772 fi
   17773 if test x$LIB_MAN_DIR = x    ; then
   17774     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   17775 fi
   17776 
   17777 if test x$FILE_MAN_SUFFIX = x    ; then
   17778     case $host_os in
   17779 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   17780 	*)		FILE_MAN_SUFFIX=5  ;;
   17781     esac
   17782 fi
   17783 if test x$FILE_MAN_DIR = x    ; then
   17784     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   17785 fi
   17786 
   17787 if test x$MISC_MAN_SUFFIX = x    ; then
   17788     case $host_os in
   17789 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   17790 	*)		MISC_MAN_SUFFIX=7  ;;
   17791     esac
   17792 fi
   17793 if test x$MISC_MAN_DIR = x    ; then
   17794     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   17795 fi
   17796 
   17797 if test x$DRIVER_MAN_SUFFIX = x    ; then
   17798     case $host_os in
   17799 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   17800 	*)		DRIVER_MAN_SUFFIX=4  ;;
   17801     esac
   17802 fi
   17803 if test x$DRIVER_MAN_DIR = x    ; then
   17804     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   17805 fi
   17806 
   17807 if test x$ADMIN_MAN_SUFFIX = x    ; then
   17808     case $host_os in
   17809 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   17810 	*)		ADMIN_MAN_SUFFIX=8  ;;
   17811     esac
   17812 fi
   17813 if test x$ADMIN_MAN_DIR = x    ; then
   17814     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   17815 fi
   17816 
   17817 
   17818 
   17819 
   17820 
   17821 
   17822 
   17823 
   17824 
   17825 
   17826 
   17827 
   17828 
   17829 
   17830 
   17831 XORG_MAN_PAGE="X Version 11"
   17832 
   17833 MAN_SUBSTS="\
   17834 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17835 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17836 	-e 's|__xservername__|Xorg|g' \
   17837 	-e 's|__xconfigfile__|xorg.conf|g' \
   17838 	-e 's|__projectroot__|\$(prefix)|g' \
   17839 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   17840 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   17841 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   17842 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   17843 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   17844 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   17845 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   17846 
   17847 
   17848 
   17849 # Check whether --enable-silent-rules was given.
   17850 if test "${enable_silent_rules+set}" = set; then :
   17851   enableval=$enable_silent_rules;
   17852 fi
   17853 
   17854 case $enable_silent_rules in # (((
   17855   yes) AM_DEFAULT_VERBOSITY=0;;
   17856    no) AM_DEFAULT_VERBOSITY=1;;
   17857     *) AM_DEFAULT_VERBOSITY=0;;
   17858 esac
   17859 am_make=${MAKE-make}
   17860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   17861 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   17862 if ${am_cv_make_support_nested_variables+:} false; then :
   17863   $as_echo_n "(cached) " >&6
   17864 else
   17865   if $as_echo 'TRUE=$(BAR$(V))
   17866 BAR0=false
   17867 BAR1=true
   17868 V=1
   17869 am__doit:
   17870 	@$(TRUE)
   17871 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   17872   am_cv_make_support_nested_variables=yes
   17873 else
   17874   am_cv_make_support_nested_variables=no
   17875 fi
   17876 fi
   17877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   17878 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   17879 if test $am_cv_make_support_nested_variables = yes; then
   17880     AM_V='$(V)'
   17881   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   17882 else
   17883   AM_V=$AM_DEFAULT_VERBOSITY
   17884   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   17885 fi
   17886 AM_BACKSLASH='\'
   17887 
   17888 
   17889 
   17890 
   17891 
   17892 
   17893 
   17894 
   17895 # Check whether --with-lint was given.
   17896 if test "${with_lint+set}" = set; then :
   17897   withval=$with_lint; use_lint=$withval
   17898 else
   17899   use_lint=no
   17900 fi
   17901 
   17902 
   17903 # Obtain platform specific info like program name and options
   17904 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   17905 case $host_os in
   17906   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   17907 	lint_name=splint
   17908 	lint_options="-badflag"
   17909 	;;
   17910   *freebsd* | *netbsd*)
   17911 	lint_name=lint
   17912 	lint_options="-u -b"
   17913 	;;
   17914   *solaris*)
   17915 	lint_name=lint
   17916 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   17917 	;;
   17918 esac
   17919 
   17920 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   17921 if test "x$use_lint" = x"yes" ; then
   17922    # Extract the first word of "$lint_name", so it can be a program name with args.
   17923 set dummy $lint_name; ac_word=$2
   17924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17925 $as_echo_n "checking for $ac_word... " >&6; }
   17926 if ${ac_cv_path_LINT+:} false; then :
   17927   $as_echo_n "(cached) " >&6
   17928 else
   17929   case $LINT in
   17930   [\\/]* | ?:[\\/]*)
   17931   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   17932   ;;
   17933   *)
   17934   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17935 for as_dir in $PATH
   17936 do
   17937   IFS=$as_save_IFS
   17938   test -z "$as_dir" && as_dir=.
   17939     for ac_exec_ext in '' $ac_executable_extensions; do
   17940   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   17941     ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
   17942     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17943     break 2
   17944   fi
   17945 done
   17946   done
   17947 IFS=$as_save_IFS
   17948 
   17949   ;;
   17950 esac
   17951 fi
   17952 LINT=$ac_cv_path_LINT
   17953 if test -n "$LINT"; then
   17954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   17955 $as_echo "$LINT" >&6; }
   17956 else
   17957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17958 $as_echo "no" >&6; }
   17959 fi
   17960 
   17961 
   17962    if test "x$LINT" = "x"; then
   17963         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   17964    fi
   17965 elif test "x$use_lint" = x"no" ; then
   17966    if test "x$LINT" != "x"; then
   17967       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   17968 $as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   17969    fi
   17970 else
   17971    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   17972 fi
   17973 
   17974 # User supplied flags override default flags
   17975 if test "x$LINT_FLAGS" != "x"; then
   17976    lint_options=$LINT_FLAGS
   17977 fi
   17978 
   17979 LINT_FLAGS=$lint_options
   17980 
   17981  if test "x$LINT" != x; then
   17982   LINT_TRUE=
   17983   LINT_FALSE='#'
   17984 else
   17985   LINT_TRUE='#'
   17986   LINT_FALSE=
   17987 fi
   17988 
   17989 
   17990 
   17991 LINT_FLAGS="${LINT_FLAGS} ${FONTENC_CFLAGS}"
   17992 
   17993 
   17994 
   17995 # Check whether --enable-futex was given.
   17996 if test "${enable_futex+set}" = set; then :
   17997   enableval=$enable_futex; FUTEX=$enableval
   17998 else
   17999   FUTEX=auto
   18000 fi
   18001 
   18002 
   18003 if test "x$FUTEX" = "xauto"; then
   18004 	ac_fn_c_check_header_mongrel "$LINENO" "linux/futex.h" "ac_cv_header_linux_futex_h" "$ac_includes_default"
   18005 if test "x$ac_cv_header_linux_futex_h" = xyes; then :
   18006   FUTEX=yes
   18007 fi
   18008 
   18009 
   18010 fi
   18011 
   18012 if test "x$FUTEX" = "xauto"; then
   18013 	ac_fn_c_check_header_compile "$LINENO" "sys/umtx.h" "ac_cv_header_sys_umtx_h" "#include <errno.h>
   18014 	     #include <sys/types.h>
   18015 "
   18016 if test "x$ac_cv_header_sys_umtx_h" = xyes; then :
   18017   FUTEX=yes
   18018 else
   18019   FUTEX=no
   18020 fi
   18021 
   18022 
   18023 	if test "x$FUTEX" = "xyes"; then
   18024 
   18025 $as_echo "#define HAVE_UMTX 1" >>confdefs.h
   18026 
   18027 	fi
   18028 fi
   18029 
   18030 if test "x$FUTEX" = "xyes"; then
   18031 	PTHREAD=no
   18032 
   18033 $as_echo "#define HAVE_FUTEX 1" >>confdefs.h
   18034 
   18035 else
   18036 	PTHREAD=yes
   18037 
   18038 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
   18039 
   18040 fi
   18041 
   18042 PTHREAD_LIBS=
   18043 if test "x$PTHREAD" = "xyes"; then
   18044 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
   18045 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
   18046 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
   18047   $as_echo_n "(cached) " >&6
   18048 else
   18049   ac_check_lib_save_LIBS=$LIBS
   18050 LIBS="-lpthread  $LIBS"
   18051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18052 /* end confdefs.h.  */
   18053 
   18054 /* Override any GCC internal prototype to avoid an error.
   18055    Use char because int might match the return type of a GCC
   18056    builtin and then its argument prototype would still apply.  */
   18057 #ifdef __cplusplus
   18058 extern "C"
   18059 #endif
   18060 char pthread_create ();
   18061 int
   18062 main ()
   18063 {
   18064 return pthread_create ();
   18065   ;
   18066   return 0;
   18067 }
   18068 _ACEOF
   18069 if ac_fn_c_try_link "$LINENO"; then :
   18070   ac_cv_lib_pthread_pthread_create=yes
   18071 else
   18072   ac_cv_lib_pthread_pthread_create=no
   18073 fi
   18074 rm -f core conftest.err conftest.$ac_objext \
   18075     conftest$ac_exeext conftest.$ac_ext
   18076 LIBS=$ac_check_lib_save_LIBS
   18077 fi
   18078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
   18079 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
   18080 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
   18081   PTHREAD_LIBS=-lpthread
   18082 else
   18083   PTHREAD_LIBS=
   18084 fi
   18085 
   18086 fi
   18087 
   18088 
   18089 
   18090  if test x"$FUTEX" = xyes; then
   18091   FUTEX_TRUE=
   18092   FUTEX_FALSE='#'
   18093 else
   18094   FUTEX_TRUE='#'
   18095   FUTEX_FALSE=
   18096 fi
   18097 
   18098  if test x"$PTHREAD" = xyes; then
   18099   PTHREAD_TRUE=
   18100   PTHREAD_FALSE='#'
   18101 else
   18102   PTHREAD_TRUE='#'
   18103   PTHREAD_FALSE=
   18104 fi
   18105 
   18106 
   18107 
   18108 pkg_failed=no
   18109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XPROTO" >&5
   18110 $as_echo_n "checking for XPROTO... " >&6; }
   18111 
   18112 if test -n "$XPROTO_CFLAGS"; then
   18113     pkg_cv_XPROTO_CFLAGS="$XPROTO_CFLAGS"
   18114  elif test -n "$PKG_CONFIG"; then
   18115     if test -n "$PKG_CONFIG" && \
   18116     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5
   18117   ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
   18118   ac_status=$?
   18119   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18120   test $ac_status = 0; }; then
   18121   pkg_cv_XPROTO_CFLAGS=`$PKG_CONFIG --cflags "xproto" 2>/dev/null`
   18122 		      test "x$?" != "x0" && pkg_failed=yes
   18123 else
   18124   pkg_failed=yes
   18125 fi
   18126  else
   18127     pkg_failed=untried
   18128 fi
   18129 if test -n "$XPROTO_LIBS"; then
   18130     pkg_cv_XPROTO_LIBS="$XPROTO_LIBS"
   18131  elif test -n "$PKG_CONFIG"; then
   18132     if test -n "$PKG_CONFIG" && \
   18133     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5
   18134   ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
   18135   ac_status=$?
   18136   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18137   test $ac_status = 0; }; then
   18138   pkg_cv_XPROTO_LIBS=`$PKG_CONFIG --libs "xproto" 2>/dev/null`
   18139 		      test "x$?" != "x0" && pkg_failed=yes
   18140 else
   18141   pkg_failed=yes
   18142 fi
   18143  else
   18144     pkg_failed=untried
   18145 fi
   18146 
   18147 
   18148 
   18149 if test $pkg_failed = yes; then
   18150    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18151 $as_echo "no" >&6; }
   18152 
   18153 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18154         _pkg_short_errors_supported=yes
   18155 else
   18156         _pkg_short_errors_supported=no
   18157 fi
   18158         if test $_pkg_short_errors_supported = yes; then
   18159 	        XPROTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto" 2>&1`
   18160         else
   18161 	        XPROTO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto" 2>&1`
   18162         fi
   18163 	# Put the nasty error message in config.log where it belongs
   18164 	echo "$XPROTO_PKG_ERRORS" >&5
   18165 
   18166 	as_fn_error $? "Package requirements (xproto) were not met:
   18167 
   18168 $XPROTO_PKG_ERRORS
   18169 
   18170 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18171 installed software in a non-standard prefix.
   18172 
   18173 Alternatively, you may set the environment variables XPROTO_CFLAGS
   18174 and XPROTO_LIBS to avoid the need to call pkg-config.
   18175 See the pkg-config man page for more details." "$LINENO" 5
   18176 elif test $pkg_failed = untried; then
   18177      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18178 $as_echo "no" >&6; }
   18179 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18180 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18181 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18182 is in your PATH or set the PKG_CONFIG environment variable to the full
   18183 path to pkg-config.
   18184 
   18185 Alternatively, you may set the environment variables XPROTO_CFLAGS
   18186 and XPROTO_LIBS to avoid the need to call pkg-config.
   18187 See the pkg-config man page for more details.
   18188 
   18189 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18190 See \`config.log' for more details" "$LINENO" 5; }
   18191 else
   18192 	XPROTO_CFLAGS=$pkg_cv_XPROTO_CFLAGS
   18193 	XPROTO_LIBS=$pkg_cv_XPROTO_LIBS
   18194         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18195 $as_echo "yes" >&6; }
   18196 
   18197 fi
   18198 
   18199 
   18200 
   18201 CFLAGS="$CFLAGS $XPROTO_CFLAGS"
   18202 
   18203 for ac_func in memfd_create
   18204 do :
   18205   ac_fn_c_check_func "$LINENO" "memfd_create" "ac_cv_func_memfd_create"
   18206 if test "x$ac_cv_func_memfd_create" = xyes; then :
   18207   cat >>confdefs.h <<_ACEOF
   18208 #define HAVE_MEMFD_CREATE 1
   18209 _ACEOF
   18210 
   18211 fi
   18212 done
   18213 
   18214 
   18215 ac_fn_c_check_decl "$LINENO" "__NR_memfd_create" "ac_cv_have_decl___NR_memfd_create" "#include <asm/unistd.h>
   18216 "
   18217 if test "x$ac_cv_have_decl___NR_memfd_create" = xyes; then :
   18218   ac_have_decl=1
   18219 else
   18220   ac_have_decl=0
   18221 fi
   18222 
   18223 cat >>confdefs.h <<_ACEOF
   18224 #define HAVE_DECL___NR_MEMFD_CREATE $ac_have_decl
   18225 _ACEOF
   18226 
   18227 
   18228 for ac_header in sys/memfd.h
   18229 do :
   18230   ac_fn_c_check_header_mongrel "$LINENO" "sys/memfd.h" "ac_cv_header_sys_memfd_h" "$ac_includes_default"
   18231 if test "x$ac_cv_header_sys_memfd_h" = xyes; then :
   18232   cat >>confdefs.h <<_ACEOF
   18233 #define HAVE_SYS_MEMFD_H 1
   18234 _ACEOF
   18235 
   18236 $as_echo "#define HAVE_MEMFD_H 1" >>confdefs.h
   18237 
   18238 fi
   18239 
   18240 done
   18241 
   18242 
   18243 # Check whether --enable-visibility was given.
   18244 if test "${enable_visibility+set}" = set; then :
   18245   enableval=$enable_visibility; SYMBOL_VISIBILITY=$enableval
   18246 else
   18247   SYMBOL_VISIBILITY=auto
   18248 fi
   18249 
   18250 
   18251 symbol_visibility=
   18252 have_visibility=disabled
   18253 if test x$SYMBOL_VISIBILITY != xno; then
   18254     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbol visibility support" >&5
   18255 $as_echo_n "checking for symbol visibility support... " >&6; }
   18256     if test x$GCC = xyes; then
   18257 	VISIBILITY_CFLAGS="-fvisibility=hidden"
   18258     else
   18259 	if test x$SUNCC = xyes; then
   18260 	    VISIBILITY_CFLAGS="-xldscope=hidden"
   18261 	else
   18262 	    have_visibility=no
   18263 	fi
   18264     fi
   18265     if test x$have_visibility != xno; then
   18266 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18267 /* end confdefs.h.  */
   18268 #include <X11/Xfuncproto.h>
   18269 	     extern _X_HIDDEN int hidden_int;
   18270 	     extern _X_EXPORT int public_int;
   18271 	     extern _X_HIDDEN int hidden_int_func(void);
   18272 	     extern _X_EXPORT int public_int_func(void);
   18273 int
   18274 main ()
   18275 {
   18276 
   18277   ;
   18278   return 0;
   18279 }
   18280 _ACEOF
   18281 if ac_fn_c_try_compile "$LINENO"; then :
   18282   have_visibility=yes
   18283 else
   18284   have_visibility=no
   18285 fi
   18286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18287     fi
   18288     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_visibility" >&5
   18289 $as_echo "$have_visibility" >&6; }
   18290     if test x$have_visibility != xno; then
   18291 	symbol_visibility=$VISIBILITY_CFLAGS
   18292 	CFLAGS="$CFLAGS $VISIBILITY_CFLAGS"
   18293     fi
   18294 fi
   18295 
   18296 
   18297 # Check whether --with-shared-memory-dir was given.
   18298 if test "${with_shared_memory_dir+set}" = set; then :
   18299   withval=$with_shared_memory_dir;
   18300 else
   18301   with_shared_memory_dir=yes
   18302 fi
   18303 
   18304 
   18305 shmdirs="/run/shm /dev/shm /var/tmp /tmp"
   18306 
   18307 case x"$with_shared_memory_dir" in
   18308 xyes)
   18309 	for dir in $shmdirs; do
   18310 		case x"$with_shared_memory_dir" in
   18311 		xyes)
   18312 			echo Checking temp dir "$dir"
   18313 			if test -d "$dir"; then
   18314 				with_shared_memory_dir="$dir"
   18315 			fi
   18316 			;;
   18317 		esac
   18318 	done
   18319 	;;
   18320 x/*)
   18321 	;;
   18322 xno)
   18323 	;;
   18324 *)
   18325 	as_fn_error $? "Invalid directory specified for --with-shared-memory-dir: $with_shared_memory_dir" "$LINENO" 5
   18326 	;;
   18327 esac
   18328 
   18329 case x"$with_shared_memory_dir" in
   18330 xyes)
   18331 	as_fn_error $? "No directory found for shared memory temp files." "$LINENO" 5
   18332 	;;
   18333 xno)
   18334 	;;
   18335 *)
   18336 
   18337 cat >>confdefs.h <<_ACEOF
   18338 #define SHMDIR "$with_shared_memory_dir"
   18339 _ACEOF
   18340 
   18341 	;;
   18342 esac
   18343 
   18344 ac_config_files="$ac_config_files Makefile src/Makefile test/Makefile xshmfence.pc"
   18345 
   18346 cat >confcache <<\_ACEOF
   18347 # This file is a shell script that caches the results of configure
   18348 # tests run on this system so they can be shared between configure
   18349 # scripts and configure runs, see configure's option --config-cache.
   18350 # It is not useful on other systems.  If it contains results you don't
   18351 # want to keep, you may remove or edit it.
   18352 #
   18353 # config.status only pays attention to the cache file if you give it
   18354 # the --recheck option to rerun configure.
   18355 #
   18356 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   18357 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   18358 # following values.
   18359 
   18360 _ACEOF
   18361 
   18362 # The following way of writing the cache mishandles newlines in values,
   18363 # but we know of no workaround that is simple, portable, and efficient.
   18364 # So, we kill variables containing newlines.
   18365 # Ultrix sh set writes to stderr and can't be redirected directly,
   18366 # and sets the high bit in the cache file unless we assign to the vars.
   18367 (
   18368   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   18369     eval ac_val=\$$ac_var
   18370     case $ac_val in #(
   18371     *${as_nl}*)
   18372       case $ac_var in #(
   18373       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   18374 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   18375       esac
   18376       case $ac_var in #(
   18377       _ | IFS | as_nl) ;; #(
   18378       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   18379       *) { eval $ac_var=; unset $ac_var;} ;;
   18380       esac ;;
   18381     esac
   18382   done
   18383 
   18384   (set) 2>&1 |
   18385     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   18386     *${as_nl}ac_space=\ *)
   18387       # `set' does not quote correctly, so add quotes: double-quote
   18388       # substitution turns \\\\ into \\, and sed turns \\ into \.
   18389       sed -n \
   18390 	"s/'/'\\\\''/g;
   18391 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   18392       ;; #(
   18393     *)
   18394       # `set' quotes correctly as required by POSIX, so do not add quotes.
   18395       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   18396       ;;
   18397     esac |
   18398     sort
   18399 ) |
   18400   sed '
   18401      /^ac_cv_env_/b end
   18402      t clear
   18403      :clear
   18404      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   18405      t end
   18406      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   18407      :end' >>confcache
   18408 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   18409   if test -w "$cache_file"; then
   18410     if test "x$cache_file" != "x/dev/null"; then
   18411       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   18412 $as_echo "$as_me: updating cache $cache_file" >&6;}
   18413       if test ! -f "$cache_file" || test -h "$cache_file"; then
   18414 	cat confcache >"$cache_file"
   18415       else
   18416         case $cache_file in #(
   18417         */* | ?:*)
   18418 	  mv -f confcache "$cache_file"$$ &&
   18419 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   18420         *)
   18421 	  mv -f confcache "$cache_file" ;;
   18422 	esac
   18423       fi
   18424     fi
   18425   else
   18426     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   18427 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   18428   fi
   18429 fi
   18430 rm -f confcache
   18431 
   18432 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   18433 # Let make expand exec_prefix.
   18434 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   18435 
   18436 DEFS=-DHAVE_CONFIG_H
   18437 
   18438 ac_libobjs=
   18439 ac_ltlibobjs=
   18440 U=
   18441 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   18442   # 1. Remove the extension, and $U if already installed.
   18443   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   18444   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   18445   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   18446   #    will be set to the directory where LIBOBJS objects are built.
   18447   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   18448   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   18449 done
   18450 LIBOBJS=$ac_libobjs
   18451 
   18452 LTLIBOBJS=$ac_ltlibobjs
   18453 
   18454 
   18455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   18456 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   18457    if test -n "$am_sleep_pid"; then
   18458      # Hide warnings about reused PIDs.
   18459      wait $am_sleep_pid 2>/dev/null
   18460    fi
   18461    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   18462 $as_echo "done" >&6; }
   18463  if test -n "$EXEEXT"; then
   18464   am__EXEEXT_TRUE=
   18465   am__EXEEXT_FALSE='#'
   18466 else
   18467   am__EXEEXT_TRUE='#'
   18468   am__EXEEXT_FALSE=
   18469 fi
   18470 
   18471 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   18472   as_fn_error $? "conditional \"AMDEP\" was never defined.
   18473 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18474 fi
   18475 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   18476   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   18477 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18478 fi
   18479 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   18480   as_fn_error $? "conditional \"LINT\" was never defined.
   18481 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18482 fi
   18483 if test -z "${FUTEX_TRUE}" && test -z "${FUTEX_FALSE}"; then
   18484   as_fn_error $? "conditional \"FUTEX\" was never defined.
   18485 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18486 fi
   18487 if test -z "${PTHREAD_TRUE}" && test -z "${PTHREAD_FALSE}"; then
   18488   as_fn_error $? "conditional \"PTHREAD\" was never defined.
   18489 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18490 fi
   18491 
   18492 : "${CONFIG_STATUS=./config.status}"
   18493 ac_write_fail=0
   18494 ac_clean_files_save=$ac_clean_files
   18495 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   18496 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   18497 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   18498 as_write_fail=0
   18499 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   18500 #! $SHELL
   18501 # Generated by $as_me.
   18502 # Run this file to recreate the current configuration.
   18503 # Compiler output produced by configure, useful for debugging
   18504 # configure, is in config.log if it exists.
   18505 
   18506 debug=false
   18507 ac_cs_recheck=false
   18508 ac_cs_silent=false
   18509 
   18510 SHELL=\${CONFIG_SHELL-$SHELL}
   18511 export SHELL
   18512 _ASEOF
   18513 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   18514 ## -------------------- ##
   18515 ## M4sh Initialization. ##
   18516 ## -------------------- ##
   18517 
   18518 # Be more Bourne compatible
   18519 DUALCASE=1; export DUALCASE # for MKS sh
   18520 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   18521   emulate sh
   18522   NULLCMD=:
   18523   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   18524   # is contrary to our usage.  Disable this feature.
   18525   alias -g '${1+"$@"}'='"$@"'
   18526   setopt NO_GLOB_SUBST
   18527 else
   18528   case `(set -o) 2>/dev/null` in #(
   18529   *posix*) :
   18530     set -o posix ;; #(
   18531   *) :
   18532      ;;
   18533 esac
   18534 fi
   18535 
   18536 
   18537 as_nl='
   18538 '
   18539 export as_nl
   18540 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   18541 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   18542 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   18543 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   18544 # Prefer a ksh shell builtin over an external printf program on Solaris,
   18545 # but without wasting forks for bash or zsh.
   18546 if test -z "$BASH_VERSION$ZSH_VERSION" \
   18547     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   18548   as_echo='print -r --'
   18549   as_echo_n='print -rn --'
   18550 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   18551   as_echo='printf %s\n'
   18552   as_echo_n='printf %s'
   18553 else
   18554   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   18555     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   18556     as_echo_n='/usr/ucb/echo -n'
   18557   else
   18558     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   18559     as_echo_n_body='eval
   18560       arg=$1;
   18561       case $arg in #(
   18562       *"$as_nl"*)
   18563 	expr "X$arg" : "X\\(.*\\)$as_nl";
   18564 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   18565       esac;
   18566       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   18567     '
   18568     export as_echo_n_body
   18569     as_echo_n='sh -c $as_echo_n_body as_echo'
   18570   fi
   18571   export as_echo_body
   18572   as_echo='sh -c $as_echo_body as_echo'
   18573 fi
   18574 
   18575 # The user is always right.
   18576 if test "${PATH_SEPARATOR+set}" != set; then
   18577   PATH_SEPARATOR=:
   18578   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   18579     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   18580       PATH_SEPARATOR=';'
   18581   }
   18582 fi
   18583 
   18584 
   18585 # IFS
   18586 # We need space, tab and new line, in precisely that order.  Quoting is
   18587 # there to prevent editors from complaining about space-tab.
   18588 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   18589 # splitting by setting IFS to empty value.)
   18590 IFS=" ""	$as_nl"
   18591 
   18592 # Find who we are.  Look in the path if we contain no directory separator.
   18593 as_myself=
   18594 case $0 in #((
   18595   *[\\/]* ) as_myself=$0 ;;
   18596   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18597 for as_dir in $PATH
   18598 do
   18599   IFS=$as_save_IFS
   18600   test -z "$as_dir" && as_dir=.
   18601     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   18602   done
   18603 IFS=$as_save_IFS
   18604 
   18605      ;;
   18606 esac
   18607 # We did not find ourselves, most probably we were run as `sh COMMAND'
   18608 # in which case we are not to be found in the path.
   18609 if test "x$as_myself" = x; then
   18610   as_myself=$0
   18611 fi
   18612 if test ! -f "$as_myself"; then
   18613   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   18614   exit 1
   18615 fi
   18616 
   18617 # Unset variables that we do not need and which cause bugs (e.g. in
   18618 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   18619 # suppresses any "Segmentation fault" message there.  '((' could
   18620 # trigger a bug in pdksh 5.2.14.
   18621 for as_var in BASH_ENV ENV MAIL MAILPATH
   18622 do eval test x\${$as_var+set} = xset \
   18623   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   18624 done
   18625 PS1='$ '
   18626 PS2='> '
   18627 PS4='+ '
   18628 
   18629 # NLS nuisances.
   18630 LC_ALL=C
   18631 export LC_ALL
   18632 LANGUAGE=C
   18633 export LANGUAGE
   18634 
   18635 # CDPATH.
   18636 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18637 
   18638 
   18639 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   18640 # ----------------------------------------
   18641 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   18642 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   18643 # script with STATUS, using 1 if that was 0.
   18644 as_fn_error ()
   18645 {
   18646   as_status=$1; test $as_status -eq 0 && as_status=1
   18647   if test "$4"; then
   18648     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   18649     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   18650   fi
   18651   $as_echo "$as_me: error: $2" >&2
   18652   as_fn_exit $as_status
   18653 } # as_fn_error
   18654 
   18655 
   18656 # as_fn_set_status STATUS
   18657 # -----------------------
   18658 # Set $? to STATUS, without forking.
   18659 as_fn_set_status ()
   18660 {
   18661   return $1
   18662 } # as_fn_set_status
   18663 
   18664 # as_fn_exit STATUS
   18665 # -----------------
   18666 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   18667 as_fn_exit ()
   18668 {
   18669   set +e
   18670   as_fn_set_status $1
   18671   exit $1
   18672 } # as_fn_exit
   18673 
   18674 # as_fn_unset VAR
   18675 # ---------------
   18676 # Portably unset VAR.
   18677 as_fn_unset ()
   18678 {
   18679   { eval $1=; unset $1;}
   18680 }
   18681 as_unset=as_fn_unset
   18682 # as_fn_append VAR VALUE
   18683 # ----------------------
   18684 # Append the text in VALUE to the end of the definition contained in VAR. Take
   18685 # advantage of any shell optimizations that allow amortized linear growth over
   18686 # repeated appends, instead of the typical quadratic growth present in naive
   18687 # implementations.
   18688 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   18689   eval 'as_fn_append ()
   18690   {
   18691     eval $1+=\$2
   18692   }'
   18693 else
   18694   as_fn_append ()
   18695   {
   18696     eval $1=\$$1\$2
   18697   }
   18698 fi # as_fn_append
   18699 
   18700 # as_fn_arith ARG...
   18701 # ------------------
   18702 # Perform arithmetic evaluation on the ARGs, and store the result in the
   18703 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   18704 # must be portable across $(()) and expr.
   18705 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   18706   eval 'as_fn_arith ()
   18707   {
   18708     as_val=$(( $* ))
   18709   }'
   18710 else
   18711   as_fn_arith ()
   18712   {
   18713     as_val=`expr "$@" || test $? -eq 1`
   18714   }
   18715 fi # as_fn_arith
   18716 
   18717 
   18718 if expr a : '\(a\)' >/dev/null 2>&1 &&
   18719    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   18720   as_expr=expr
   18721 else
   18722   as_expr=false
   18723 fi
   18724 
   18725 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   18726   as_basename=basename
   18727 else
   18728   as_basename=false
   18729 fi
   18730 
   18731 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   18732   as_dirname=dirname
   18733 else
   18734   as_dirname=false
   18735 fi
   18736 
   18737 as_me=`$as_basename -- "$0" ||
   18738 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   18739 	 X"$0" : 'X\(//\)$' \| \
   18740 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   18741 $as_echo X/"$0" |
   18742     sed '/^.*\/\([^/][^/]*\)\/*$/{
   18743 	    s//\1/
   18744 	    q
   18745 	  }
   18746 	  /^X\/\(\/\/\)$/{
   18747 	    s//\1/
   18748 	    q
   18749 	  }
   18750 	  /^X\/\(\/\).*/{
   18751 	    s//\1/
   18752 	    q
   18753 	  }
   18754 	  s/.*/./; q'`
   18755 
   18756 # Avoid depending upon Character Ranges.
   18757 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   18758 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   18759 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   18760 as_cr_digits='0123456789'
   18761 as_cr_alnum=$as_cr_Letters$as_cr_digits
   18762 
   18763 ECHO_C= ECHO_N= ECHO_T=
   18764 case `echo -n x` in #(((((
   18765 -n*)
   18766   case `echo 'xy\c'` in
   18767   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   18768   xy)  ECHO_C='\c';;
   18769   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   18770        ECHO_T='	';;
   18771   esac;;
   18772 *)
   18773   ECHO_N='-n';;
   18774 esac
   18775 
   18776 rm -f conf$$ conf$$.exe conf$$.file
   18777 if test -d conf$$.dir; then
   18778   rm -f conf$$.dir/conf$$.file
   18779 else
   18780   rm -f conf$$.dir
   18781   mkdir conf$$.dir 2>/dev/null
   18782 fi
   18783 if (echo >conf$$.file) 2>/dev/null; then
   18784   if ln -s conf$$.file conf$$ 2>/dev/null; then
   18785     as_ln_s='ln -s'
   18786     # ... but there are two gotchas:
   18787     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   18788     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   18789     # In both cases, we have to default to `cp -pR'.
   18790     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   18791       as_ln_s='cp -pR'
   18792   elif ln conf$$.file conf$$ 2>/dev/null; then
   18793     as_ln_s=ln
   18794   else
   18795     as_ln_s='cp -pR'
   18796   fi
   18797 else
   18798   as_ln_s='cp -pR'
   18799 fi
   18800 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   18801 rmdir conf$$.dir 2>/dev/null
   18802 
   18803 
   18804 # as_fn_mkdir_p
   18805 # -------------
   18806 # Create "$as_dir" as a directory, including parents if necessary.
   18807 as_fn_mkdir_p ()
   18808 {
   18809 
   18810   case $as_dir in #(
   18811   -*) as_dir=./$as_dir;;
   18812   esac
   18813   test -d "$as_dir" || eval $as_mkdir_p || {
   18814     as_dirs=
   18815     while :; do
   18816       case $as_dir in #(
   18817       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   18818       *) as_qdir=$as_dir;;
   18819       esac
   18820       as_dirs="'$as_qdir' $as_dirs"
   18821       as_dir=`$as_dirname -- "$as_dir" ||
   18822 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18823 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   18824 	 X"$as_dir" : 'X\(//\)$' \| \
   18825 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   18826 $as_echo X"$as_dir" |
   18827     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18828 	    s//\1/
   18829 	    q
   18830 	  }
   18831 	  /^X\(\/\/\)[^/].*/{
   18832 	    s//\1/
   18833 	    q
   18834 	  }
   18835 	  /^X\(\/\/\)$/{
   18836 	    s//\1/
   18837 	    q
   18838 	  }
   18839 	  /^X\(\/\).*/{
   18840 	    s//\1/
   18841 	    q
   18842 	  }
   18843 	  s/.*/./; q'`
   18844       test -d "$as_dir" && break
   18845     done
   18846     test -z "$as_dirs" || eval "mkdir $as_dirs"
   18847   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   18848 
   18849 
   18850 } # as_fn_mkdir_p
   18851 if mkdir -p . 2>/dev/null; then
   18852   as_mkdir_p='mkdir -p "$as_dir"'
   18853 else
   18854   test -d ./-p && rmdir ./-p
   18855   as_mkdir_p=false
   18856 fi
   18857 
   18858 
   18859 # as_fn_executable_p FILE
   18860 # -----------------------
   18861 # Test if FILE is an executable regular file.
   18862 as_fn_executable_p ()
   18863 {
   18864   test -f "$1" && test -x "$1"
   18865 } # as_fn_executable_p
   18866 as_test_x='test -x'
   18867 as_executable_p=as_fn_executable_p
   18868 
   18869 # Sed expression to map a string onto a valid CPP name.
   18870 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   18871 
   18872 # Sed expression to map a string onto a valid variable name.
   18873 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   18874 
   18875 
   18876 exec 6>&1
   18877 ## ----------------------------------- ##
   18878 ## Main body of $CONFIG_STATUS script. ##
   18879 ## ----------------------------------- ##
   18880 _ASEOF
   18881 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   18882 
   18883 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18884 # Save the log message, to keep $0 and so on meaningful, and to
   18885 # report actual input values of CONFIG_FILES etc. instead of their
   18886 # values after options handling.
   18887 ac_log="
   18888 This file was extended by libxshmfence $as_me 1.2, which was
   18889 generated by GNU Autoconf 2.69.  Invocation command line was
   18890 
   18891   CONFIG_FILES    = $CONFIG_FILES
   18892   CONFIG_HEADERS  = $CONFIG_HEADERS
   18893   CONFIG_LINKS    = $CONFIG_LINKS
   18894   CONFIG_COMMANDS = $CONFIG_COMMANDS
   18895   $ $0 $@
   18896 
   18897 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   18898 "
   18899 
   18900 _ACEOF
   18901 
   18902 case $ac_config_files in *"
   18903 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   18904 esac
   18905 
   18906 case $ac_config_headers in *"
   18907 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   18908 esac
   18909 
   18910 
   18911 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18912 # Files that config.status was made for.
   18913 config_files="$ac_config_files"
   18914 config_headers="$ac_config_headers"
   18915 config_commands="$ac_config_commands"
   18916 
   18917 _ACEOF
   18918 
   18919 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18920 ac_cs_usage="\
   18921 \`$as_me' instantiates files and other configuration actions
   18922 from templates according to the current configuration.  Unless the files
   18923 and actions are specified as TAGs, all are instantiated by default.
   18924 
   18925 Usage: $0 [OPTION]... [TAG]...
   18926 
   18927   -h, --help       print this help, then exit
   18928   -V, --version    print version number and configuration settings, then exit
   18929       --config     print configuration, then exit
   18930   -q, --quiet, --silent
   18931                    do not print progress messages
   18932   -d, --debug      don't remove temporary files
   18933       --recheck    update $as_me by reconfiguring in the same conditions
   18934       --file=FILE[:TEMPLATE]
   18935                    instantiate the configuration file FILE
   18936       --header=FILE[:TEMPLATE]
   18937                    instantiate the configuration header FILE
   18938 
   18939 Configuration files:
   18940 $config_files
   18941 
   18942 Configuration headers:
   18943 $config_headers
   18944 
   18945 Configuration commands:
   18946 $config_commands
   18947 
   18948 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   18949 
   18950 _ACEOF
   18951 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18952 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   18953 ac_cs_version="\\
   18954 libxshmfence config.status 1.2
   18955 configured by $0, generated by GNU Autoconf 2.69,
   18956   with options \\"\$ac_cs_config\\"
   18957 
   18958 Copyright (C) 2012 Free Software Foundation, Inc.
   18959 This config.status script is free software; the Free Software Foundation
   18960 gives unlimited permission to copy, distribute and modify it."
   18961 
   18962 ac_pwd='$ac_pwd'
   18963 srcdir='$srcdir'
   18964 INSTALL='$INSTALL'
   18965 MKDIR_P='$MKDIR_P'
   18966 AWK='$AWK'
   18967 test -n "\$AWK" || AWK=awk
   18968 _ACEOF
   18969 
   18970 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18971 # The default lists apply if the user does not specify any file.
   18972 ac_need_defaults=:
   18973 while test $# != 0
   18974 do
   18975   case $1 in
   18976   --*=?*)
   18977     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18978     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   18979     ac_shift=:
   18980     ;;
   18981   --*=)
   18982     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18983     ac_optarg=
   18984     ac_shift=:
   18985     ;;
   18986   *)
   18987     ac_option=$1
   18988     ac_optarg=$2
   18989     ac_shift=shift
   18990     ;;
   18991   esac
   18992 
   18993   case $ac_option in
   18994   # Handling of the options.
   18995   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   18996     ac_cs_recheck=: ;;
   18997   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   18998     $as_echo "$ac_cs_version"; exit ;;
   18999   --config | --confi | --conf | --con | --co | --c )
   19000     $as_echo "$ac_cs_config"; exit ;;
   19001   --debug | --debu | --deb | --de | --d | -d )
   19002     debug=: ;;
   19003   --file | --fil | --fi | --f )
   19004     $ac_shift
   19005     case $ac_optarg in
   19006     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19007     '') as_fn_error $? "missing file argument" ;;
   19008     esac
   19009     as_fn_append CONFIG_FILES " '$ac_optarg'"
   19010     ac_need_defaults=false;;
   19011   --header | --heade | --head | --hea )
   19012     $ac_shift
   19013     case $ac_optarg in
   19014     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19015     esac
   19016     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   19017     ac_need_defaults=false;;
   19018   --he | --h)
   19019     # Conflict between --help and --header
   19020     as_fn_error $? "ambiguous option: \`$1'
   19021 Try \`$0 --help' for more information.";;
   19022   --help | --hel | -h )
   19023     $as_echo "$ac_cs_usage"; exit ;;
   19024   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   19025   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   19026     ac_cs_silent=: ;;
   19027 
   19028   # This is an error.
   19029   -*) as_fn_error $? "unrecognized option: \`$1'
   19030 Try \`$0 --help' for more information." ;;
   19031 
   19032   *) as_fn_append ac_config_targets " $1"
   19033      ac_need_defaults=false ;;
   19034 
   19035   esac
   19036   shift
   19037 done
   19038 
   19039 ac_configure_extra_args=
   19040 
   19041 if $ac_cs_silent; then
   19042   exec 6>/dev/null
   19043   ac_configure_extra_args="$ac_configure_extra_args --silent"
   19044 fi
   19045 
   19046 _ACEOF
   19047 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19048 if \$ac_cs_recheck; then
   19049   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   19050   shift
   19051   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   19052   CONFIG_SHELL='$SHELL'
   19053   export CONFIG_SHELL
   19054   exec "\$@"
   19055 fi
   19056 
   19057 _ACEOF
   19058 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19059 exec 5>>config.log
   19060 {
   19061   echo
   19062   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   19063 ## Running $as_me. ##
   19064 _ASBOX
   19065   $as_echo "$ac_log"
   19066 } >&5
   19067 
   19068 _ACEOF
   19069 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19070 #
   19071 # INIT-COMMANDS
   19072 #
   19073 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   19074 
   19075 
   19076 # The HP-UX ksh and POSIX shell print the target directory to stdout
   19077 # if CDPATH is set.
   19078 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19079 
   19080 sed_quote_subst='$sed_quote_subst'
   19081 double_quote_subst='$double_quote_subst'
   19082 delay_variable_subst='$delay_variable_subst'
   19083 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   19084 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   19085 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   19086 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   19087 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   19088 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   19089 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   19090 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   19091 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   19092 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   19093 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   19094 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   19095 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   19096 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   19097 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   19098 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   19099 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   19100 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   19101 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   19102 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   19103 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   19104 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   19105 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   19106 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   19107 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   19108 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   19109 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   19110 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   19111 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   19112 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   19113 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   19114 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   19115 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   19116 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   19117 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   19118 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   19119 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   19120 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   19121 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   19122 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   19123 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   19124 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   19125 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   19126 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   19127 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   19128 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19129 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19130 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   19131 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   19132 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   19133 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   19134 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   19135 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   19136 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   19137 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   19138 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   19139 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"`'
   19140 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   19141 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   19142 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   19143 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   19144 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   19145 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   19146 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   19147 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   19148 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   19149 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   19150 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   19151 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   19152 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   19153 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   19154 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   19155 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   19156 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   19157 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   19158 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19159 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   19160 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   19161 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   19162 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   19163 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   19164 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   19165 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19166 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   19167 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19168 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   19169 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19170 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   19171 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19172 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19173 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   19174 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   19175 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   19176 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   19177 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   19178 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19179 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   19180 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   19181 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   19182 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   19183 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   19184 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   19185 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   19186 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   19187 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   19188 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   19189 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   19190 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   19191 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   19192 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   19193 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   19194 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19195 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   19196 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   19197 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   19198 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   19199 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   19200 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19201 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19202 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   19203 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   19204 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   19205 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   19206 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   19207 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   19208 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   19209 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   19210 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   19211 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   19212 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   19213 
   19214 LTCC='$LTCC'
   19215 LTCFLAGS='$LTCFLAGS'
   19216 compiler='$compiler_DEFAULT'
   19217 
   19218 # A function that is used when there is no print builtin or printf.
   19219 func_fallback_echo ()
   19220 {
   19221   eval 'cat <<_LTECHO_EOF
   19222 \$1
   19223 _LTECHO_EOF'
   19224 }
   19225 
   19226 # Quote evaled strings.
   19227 for var in SHELL \
   19228 ECHO \
   19229 PATH_SEPARATOR \
   19230 SED \
   19231 GREP \
   19232 EGREP \
   19233 FGREP \
   19234 LD \
   19235 NM \
   19236 LN_S \
   19237 lt_SP2NL \
   19238 lt_NL2SP \
   19239 reload_flag \
   19240 OBJDUMP \
   19241 deplibs_check_method \
   19242 file_magic_cmd \
   19243 file_magic_glob \
   19244 want_nocaseglob \
   19245 DLLTOOL \
   19246 sharedlib_from_linklib_cmd \
   19247 AR \
   19248 AR_FLAGS \
   19249 archiver_list_spec \
   19250 STRIP \
   19251 RANLIB \
   19252 CC \
   19253 CFLAGS \
   19254 compiler \
   19255 lt_cv_sys_global_symbol_pipe \
   19256 lt_cv_sys_global_symbol_to_cdecl \
   19257 lt_cv_sys_global_symbol_to_c_name_address \
   19258 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   19259 nm_file_list_spec \
   19260 lt_prog_compiler_no_builtin_flag \
   19261 lt_prog_compiler_pic \
   19262 lt_prog_compiler_wl \
   19263 lt_prog_compiler_static \
   19264 lt_cv_prog_compiler_c_o \
   19265 need_locks \
   19266 MANIFEST_TOOL \
   19267 DSYMUTIL \
   19268 NMEDIT \
   19269 LIPO \
   19270 OTOOL \
   19271 OTOOL64 \
   19272 shrext_cmds \
   19273 export_dynamic_flag_spec \
   19274 whole_archive_flag_spec \
   19275 compiler_needs_object \
   19276 with_gnu_ld \
   19277 allow_undefined_flag \
   19278 no_undefined_flag \
   19279 hardcode_libdir_flag_spec \
   19280 hardcode_libdir_separator \
   19281 exclude_expsyms \
   19282 include_expsyms \
   19283 file_list_spec \
   19284 variables_saved_for_relink \
   19285 libname_spec \
   19286 library_names_spec \
   19287 soname_spec \
   19288 install_override_mode \
   19289 finish_eval \
   19290 old_striplib \
   19291 striplib; do
   19292     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19293     *[\\\\\\\`\\"\\\$]*)
   19294       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   19295       ;;
   19296     *)
   19297       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19298       ;;
   19299     esac
   19300 done
   19301 
   19302 # Double-quote double-evaled strings.
   19303 for var in reload_cmds \
   19304 old_postinstall_cmds \
   19305 old_postuninstall_cmds \
   19306 old_archive_cmds \
   19307 extract_expsyms_cmds \
   19308 old_archive_from_new_cmds \
   19309 old_archive_from_expsyms_cmds \
   19310 archive_cmds \
   19311 archive_expsym_cmds \
   19312 module_cmds \
   19313 module_expsym_cmds \
   19314 export_symbols_cmds \
   19315 prelink_cmds \
   19316 postlink_cmds \
   19317 postinstall_cmds \
   19318 postuninstall_cmds \
   19319 finish_cmds \
   19320 sys_lib_search_path_spec \
   19321 sys_lib_dlsearch_path_spec; do
   19322     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19323     *[\\\\\\\`\\"\\\$]*)
   19324       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   19325       ;;
   19326     *)
   19327       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19328       ;;
   19329     esac
   19330 done
   19331 
   19332 ac_aux_dir='$ac_aux_dir'
   19333 xsi_shell='$xsi_shell'
   19334 lt_shell_append='$lt_shell_append'
   19335 
   19336 # See if we are running on zsh, and set the options which allow our
   19337 # commands through without removal of \ escapes INIT.
   19338 if test -n "\${ZSH_VERSION+set}" ; then
   19339    setopt NO_GLOB_SUBST
   19340 fi
   19341 
   19342 
   19343     PACKAGE='$PACKAGE'
   19344     VERSION='$VERSION'
   19345     TIMESTAMP='$TIMESTAMP'
   19346     RM='$RM'
   19347     ofile='$ofile'
   19348 
   19349 
   19350 
   19351 
   19352 _ACEOF
   19353 
   19354 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19355 
   19356 # Handling of arguments.
   19357 for ac_config_target in $ac_config_targets
   19358 do
   19359   case $ac_config_target in
   19360     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   19361     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   19362     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   19363     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   19364     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   19365     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
   19366     "xshmfence.pc") CONFIG_FILES="$CONFIG_FILES xshmfence.pc" ;;
   19367 
   19368   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   19369   esac
   19370 done
   19371 
   19372 
   19373 # If the user did not use the arguments to specify the items to instantiate,
   19374 # then the envvar interface is used.  Set only those that are not.
   19375 # We use the long form for the default assignment because of an extremely
   19376 # bizarre bug on SunOS 4.1.3.
   19377 if $ac_need_defaults; then
   19378   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   19379   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   19380   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   19381 fi
   19382 
   19383 # Have a temporary directory for convenience.  Make it in the build tree
   19384 # simply because there is no reason against having it here, and in addition,
   19385 # creating and moving files from /tmp can sometimes cause problems.
   19386 # Hook for its removal unless debugging.
   19387 # Note that there is a small window in which the directory will not be cleaned:
   19388 # after its creation but before its name has been assigned to `$tmp'.
   19389 $debug ||
   19390 {
   19391   tmp= ac_tmp=
   19392   trap 'exit_status=$?
   19393   : "${ac_tmp:=$tmp}"
   19394   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   19395 ' 0
   19396   trap 'as_fn_exit 1' 1 2 13 15
   19397 }
   19398 # Create a (secure) tmp directory for tmp files.
   19399 
   19400 {
   19401   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   19402   test -d "$tmp"
   19403 }  ||
   19404 {
   19405   tmp=./conf$$-$RANDOM
   19406   (umask 077 && mkdir "$tmp")
   19407 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   19408 ac_tmp=$tmp
   19409 
   19410 # Set up the scripts for CONFIG_FILES section.
   19411 # No need to generate them if there are no CONFIG_FILES.
   19412 # This happens for instance with `./config.status config.h'.
   19413 if test -n "$CONFIG_FILES"; then
   19414 
   19415 
   19416 ac_cr=`echo X | tr X '\015'`
   19417 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   19418 # But we know of no other shell where ac_cr would be empty at this
   19419 # point, so we can use a bashism as a fallback.
   19420 if test "x$ac_cr" = x; then
   19421   eval ac_cr=\$\'\\r\'
   19422 fi
   19423 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   19424 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   19425   ac_cs_awk_cr='\\r'
   19426 else
   19427   ac_cs_awk_cr=$ac_cr
   19428 fi
   19429 
   19430 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   19431 _ACEOF
   19432 
   19433 
   19434 {
   19435   echo "cat >conf$$subs.awk <<_ACEOF" &&
   19436   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   19437   echo "_ACEOF"
   19438 } >conf$$subs.sh ||
   19439   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19440 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   19441 ac_delim='%!_!# '
   19442 for ac_last_try in false false false false false :; do
   19443   . ./conf$$subs.sh ||
   19444     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19445 
   19446   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   19447   if test $ac_delim_n = $ac_delim_num; then
   19448     break
   19449   elif $ac_last_try; then
   19450     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19451   else
   19452     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19453   fi
   19454 done
   19455 rm -f conf$$subs.sh
   19456 
   19457 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19458 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   19459 _ACEOF
   19460 sed -n '
   19461 h
   19462 s/^/S["/; s/!.*/"]=/
   19463 p
   19464 g
   19465 s/^[^!]*!//
   19466 :repl
   19467 t repl
   19468 s/'"$ac_delim"'$//
   19469 t delim
   19470 :nl
   19471 h
   19472 s/\(.\{148\}\)..*/\1/
   19473 t more1
   19474 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   19475 p
   19476 n
   19477 b repl
   19478 :more1
   19479 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19480 p
   19481 g
   19482 s/.\{148\}//
   19483 t nl
   19484 :delim
   19485 h
   19486 s/\(.\{148\}\)..*/\1/
   19487 t more2
   19488 s/["\\]/\\&/g; s/^/"/; s/$/"/
   19489 p
   19490 b
   19491 :more2
   19492 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19493 p
   19494 g
   19495 s/.\{148\}//
   19496 t delim
   19497 ' <conf$$subs.awk | sed '
   19498 /^[^""]/{
   19499   N
   19500   s/\n//
   19501 }
   19502 ' >>$CONFIG_STATUS || ac_write_fail=1
   19503 rm -f conf$$subs.awk
   19504 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19505 _ACAWK
   19506 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   19507   for (key in S) S_is_set[key] = 1
   19508   FS = ""
   19509 
   19510 }
   19511 {
   19512   line = $ 0
   19513   nfields = split(line, field, "@")
   19514   substed = 0
   19515   len = length(field[1])
   19516   for (i = 2; i < nfields; i++) {
   19517     key = field[i]
   19518     keylen = length(key)
   19519     if (S_is_set[key]) {
   19520       value = S[key]
   19521       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   19522       len += length(value) + length(field[++i])
   19523       substed = 1
   19524     } else
   19525       len += 1 + keylen
   19526   }
   19527 
   19528   print line
   19529 }
   19530 
   19531 _ACAWK
   19532 _ACEOF
   19533 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19534 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   19535   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   19536 else
   19537   cat
   19538 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   19539   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   19540 _ACEOF
   19541 
   19542 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   19543 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   19544 # trailing colons and then remove the whole line if VPATH becomes empty
   19545 # (actually we leave an empty line to preserve line numbers).
   19546 if test "x$srcdir" = x.; then
   19547   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   19548 h
   19549 s///
   19550 s/^/:/
   19551 s/[	 ]*$/:/
   19552 s/:\$(srcdir):/:/g
   19553 s/:\${srcdir}:/:/g
   19554 s/:@srcdir@:/:/g
   19555 s/^:*//
   19556 s/:*$//
   19557 x
   19558 s/\(=[	 ]*\).*/\1/
   19559 G
   19560 s/\n//
   19561 s/^[^=]*=[	 ]*$//
   19562 }'
   19563 fi
   19564 
   19565 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19566 fi # test -n "$CONFIG_FILES"
   19567 
   19568 # Set up the scripts for CONFIG_HEADERS section.
   19569 # No need to generate them if there are no CONFIG_HEADERS.
   19570 # This happens for instance with `./config.status Makefile'.
   19571 if test -n "$CONFIG_HEADERS"; then
   19572 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   19573 BEGIN {
   19574 _ACEOF
   19575 
   19576 # Transform confdefs.h into an awk script `defines.awk', embedded as
   19577 # here-document in config.status, that substitutes the proper values into
   19578 # config.h.in to produce config.h.
   19579 
   19580 # Create a delimiter string that does not exist in confdefs.h, to ease
   19581 # handling of long lines.
   19582 ac_delim='%!_!# '
   19583 for ac_last_try in false false :; do
   19584   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   19585   if test -z "$ac_tt"; then
   19586     break
   19587   elif $ac_last_try; then
   19588     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   19589   else
   19590     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19591   fi
   19592 done
   19593 
   19594 # For the awk script, D is an array of macro values keyed by name,
   19595 # likewise P contains macro parameters if any.  Preserve backslash
   19596 # newline sequences.
   19597 
   19598 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   19599 sed -n '
   19600 s/.\{148\}/&'"$ac_delim"'/g
   19601 t rset
   19602 :rset
   19603 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   19604 t def
   19605 d
   19606 :def
   19607 s/\\$//
   19608 t bsnl
   19609 s/["\\]/\\&/g
   19610 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19611 D["\1"]=" \3"/p
   19612 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   19613 d
   19614 :bsnl
   19615 s/["\\]/\\&/g
   19616 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19617 D["\1"]=" \3\\\\\\n"\\/p
   19618 t cont
   19619 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   19620 t cont
   19621 d
   19622 :cont
   19623 n
   19624 s/.\{148\}/&'"$ac_delim"'/g
   19625 t clear
   19626 :clear
   19627 s/\\$//
   19628 t bsnlc
   19629 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   19630 d
   19631 :bsnlc
   19632 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   19633 b cont
   19634 ' <confdefs.h | sed '
   19635 s/'"$ac_delim"'/"\\\
   19636 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   19637 
   19638 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19639   for (key in D) D_is_set[key] = 1
   19640   FS = ""
   19641 }
   19642 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   19643   line = \$ 0
   19644   split(line, arg, " ")
   19645   if (arg[1] == "#") {
   19646     defundef = arg[2]
   19647     mac1 = arg[3]
   19648   } else {
   19649     defundef = substr(arg[1], 2)
   19650     mac1 = arg[2]
   19651   }
   19652   split(mac1, mac2, "(") #)
   19653   macro = mac2[1]
   19654   prefix = substr(line, 1, index(line, defundef) - 1)
   19655   if (D_is_set[macro]) {
   19656     # Preserve the white space surrounding the "#".
   19657     print prefix "define", macro P[macro] D[macro]
   19658     next
   19659   } else {
   19660     # Replace #undef with comments.  This is necessary, for example,
   19661     # in the case of _POSIX_SOURCE, which is predefined and required
   19662     # on some systems where configure will not decide to define it.
   19663     if (defundef == "undef") {
   19664       print "/*", prefix defundef, macro, "*/"
   19665       next
   19666     }
   19667   }
   19668 }
   19669 { print }
   19670 _ACAWK
   19671 _ACEOF
   19672 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19673   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   19674 fi # test -n "$CONFIG_HEADERS"
   19675 
   19676 
   19677 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   19678 shift
   19679 for ac_tag
   19680 do
   19681   case $ac_tag in
   19682   :[FHLC]) ac_mode=$ac_tag; continue;;
   19683   esac
   19684   case $ac_mode$ac_tag in
   19685   :[FHL]*:*);;
   19686   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   19687   :[FH]-) ac_tag=-:-;;
   19688   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   19689   esac
   19690   ac_save_IFS=$IFS
   19691   IFS=:
   19692   set x $ac_tag
   19693   IFS=$ac_save_IFS
   19694   shift
   19695   ac_file=$1
   19696   shift
   19697 
   19698   case $ac_mode in
   19699   :L) ac_source=$1;;
   19700   :[FH])
   19701     ac_file_inputs=
   19702     for ac_f
   19703     do
   19704       case $ac_f in
   19705       -) ac_f="$ac_tmp/stdin";;
   19706       *) # Look for the file first in the build tree, then in the source tree
   19707 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   19708 	 # because $ac_f cannot contain `:'.
   19709 	 test -f "$ac_f" ||
   19710 	   case $ac_f in
   19711 	   [\\/$]*) false;;
   19712 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   19713 	   esac ||
   19714 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   19715       esac
   19716       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   19717       as_fn_append ac_file_inputs " '$ac_f'"
   19718     done
   19719 
   19720     # Let's still pretend it is `configure' which instantiates (i.e., don't
   19721     # use $as_me), people would be surprised to read:
   19722     #    /* config.h.  Generated by config.status.  */
   19723     configure_input='Generated from '`
   19724 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   19725 	`' by configure.'
   19726     if test x"$ac_file" != x-; then
   19727       configure_input="$ac_file.  $configure_input"
   19728       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   19729 $as_echo "$as_me: creating $ac_file" >&6;}
   19730     fi
   19731     # Neutralize special characters interpreted by sed in replacement strings.
   19732     case $configure_input in #(
   19733     *\&* | *\|* | *\\* )
   19734        ac_sed_conf_input=`$as_echo "$configure_input" |
   19735        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   19736     *) ac_sed_conf_input=$configure_input;;
   19737     esac
   19738 
   19739     case $ac_tag in
   19740     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   19741       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   19742     esac
   19743     ;;
   19744   esac
   19745 
   19746   ac_dir=`$as_dirname -- "$ac_file" ||
   19747 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19748 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   19749 	 X"$ac_file" : 'X\(//\)$' \| \
   19750 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   19751 $as_echo X"$ac_file" |
   19752     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19753 	    s//\1/
   19754 	    q
   19755 	  }
   19756 	  /^X\(\/\/\)[^/].*/{
   19757 	    s//\1/
   19758 	    q
   19759 	  }
   19760 	  /^X\(\/\/\)$/{
   19761 	    s//\1/
   19762 	    q
   19763 	  }
   19764 	  /^X\(\/\).*/{
   19765 	    s//\1/
   19766 	    q
   19767 	  }
   19768 	  s/.*/./; q'`
   19769   as_dir="$ac_dir"; as_fn_mkdir_p
   19770   ac_builddir=.
   19771 
   19772 case "$ac_dir" in
   19773 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19774 *)
   19775   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   19776   # A ".." for each directory in $ac_dir_suffix.
   19777   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   19778   case $ac_top_builddir_sub in
   19779   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19780   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   19781   esac ;;
   19782 esac
   19783 ac_abs_top_builddir=$ac_pwd
   19784 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   19785 # for backward compatibility:
   19786 ac_top_builddir=$ac_top_build_prefix
   19787 
   19788 case $srcdir in
   19789   .)  # We are building in place.
   19790     ac_srcdir=.
   19791     ac_top_srcdir=$ac_top_builddir_sub
   19792     ac_abs_top_srcdir=$ac_pwd ;;
   19793   [\\/]* | ?:[\\/]* )  # Absolute name.
   19794     ac_srcdir=$srcdir$ac_dir_suffix;
   19795     ac_top_srcdir=$srcdir
   19796     ac_abs_top_srcdir=$srcdir ;;
   19797   *) # Relative name.
   19798     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   19799     ac_top_srcdir=$ac_top_build_prefix$srcdir
   19800     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   19801 esac
   19802 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   19803 
   19804 
   19805   case $ac_mode in
   19806   :F)
   19807   #
   19808   # CONFIG_FILE
   19809   #
   19810 
   19811   case $INSTALL in
   19812   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   19813   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   19814   esac
   19815   ac_MKDIR_P=$MKDIR_P
   19816   case $MKDIR_P in
   19817   [\\/$]* | ?:[\\/]* ) ;;
   19818   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   19819   esac
   19820 _ACEOF
   19821 
   19822 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19823 # If the template does not know about datarootdir, expand it.
   19824 # FIXME: This hack should be removed a few years after 2.60.
   19825 ac_datarootdir_hack=; ac_datarootdir_seen=
   19826 ac_sed_dataroot='
   19827 /datarootdir/ {
   19828   p
   19829   q
   19830 }
   19831 /@datadir@/p
   19832 /@docdir@/p
   19833 /@infodir@/p
   19834 /@localedir@/p
   19835 /@mandir@/p'
   19836 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   19837 *datarootdir*) ac_datarootdir_seen=yes;;
   19838 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   19839   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   19840 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   19841 _ACEOF
   19842 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19843   ac_datarootdir_hack='
   19844   s&@datadir@&$datadir&g
   19845   s&@docdir@&$docdir&g
   19846   s&@infodir@&$infodir&g
   19847   s&@localedir@&$localedir&g
   19848   s&@mandir@&$mandir&g
   19849   s&\\\${datarootdir}&$datarootdir&g' ;;
   19850 esac
   19851 _ACEOF
   19852 
   19853 # Neutralize VPATH when `$srcdir' = `.'.
   19854 # Shell code in configure.ac might set extrasub.
   19855 # FIXME: do we really want to maintain this feature?
   19856 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19857 ac_sed_extra="$ac_vpsub
   19858 $extrasub
   19859 _ACEOF
   19860 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19861 :t
   19862 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   19863 s|@configure_input@|$ac_sed_conf_input|;t t
   19864 s&@top_builddir@&$ac_top_builddir_sub&;t t
   19865 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   19866 s&@srcdir@&$ac_srcdir&;t t
   19867 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   19868 s&@top_srcdir@&$ac_top_srcdir&;t t
   19869 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   19870 s&@builddir@&$ac_builddir&;t t
   19871 s&@abs_builddir@&$ac_abs_builddir&;t t
   19872 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   19873 s&@INSTALL@&$ac_INSTALL&;t t
   19874 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   19875 $ac_datarootdir_hack
   19876 "
   19877 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   19878   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19879 
   19880 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   19881   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   19882   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   19883       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   19884   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19885 which seems to be undefined.  Please make sure it is defined" >&5
   19886 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19887 which seems to be undefined.  Please make sure it is defined" >&2;}
   19888 
   19889   rm -f "$ac_tmp/stdin"
   19890   case $ac_file in
   19891   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   19892   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   19893   esac \
   19894   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19895  ;;
   19896   :H)
   19897   #
   19898   # CONFIG_HEADER
   19899   #
   19900   if test x"$ac_file" != x-; then
   19901     {
   19902       $as_echo "/* $configure_input  */" \
   19903       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   19904     } >"$ac_tmp/config.h" \
   19905       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19906     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   19907       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   19908 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   19909     else
   19910       rm -f "$ac_file"
   19911       mv "$ac_tmp/config.h" "$ac_file" \
   19912 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19913     fi
   19914   else
   19915     $as_echo "/* $configure_input  */" \
   19916       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   19917       || as_fn_error $? "could not create -" "$LINENO" 5
   19918   fi
   19919 # Compute "$ac_file"'s index in $config_headers.
   19920 _am_arg="$ac_file"
   19921 _am_stamp_count=1
   19922 for _am_header in $config_headers :; do
   19923   case $_am_header in
   19924     $_am_arg | $_am_arg:* )
   19925       break ;;
   19926     * )
   19927       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   19928   esac
   19929 done
   19930 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   19931 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19932 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   19933 	 X"$_am_arg" : 'X\(//\)$' \| \
   19934 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   19935 $as_echo X"$_am_arg" |
   19936     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19937 	    s//\1/
   19938 	    q
   19939 	  }
   19940 	  /^X\(\/\/\)[^/].*/{
   19941 	    s//\1/
   19942 	    q
   19943 	  }
   19944 	  /^X\(\/\/\)$/{
   19945 	    s//\1/
   19946 	    q
   19947 	  }
   19948 	  /^X\(\/\).*/{
   19949 	    s//\1/
   19950 	    q
   19951 	  }
   19952 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   19953  ;;
   19954 
   19955   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   19956 $as_echo "$as_me: executing $ac_file commands" >&6;}
   19957  ;;
   19958   esac
   19959 
   19960 
   19961   case $ac_file$ac_mode in
   19962     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   19963   # Older Autoconf quotes --file arguments for eval, but not when files
   19964   # are listed without --file.  Let's play safe and only enable the eval
   19965   # if we detect the quoting.
   19966   case $CONFIG_FILES in
   19967   *\'*) eval set x "$CONFIG_FILES" ;;
   19968   *)   set x $CONFIG_FILES ;;
   19969   esac
   19970   shift
   19971   for mf
   19972   do
   19973     # Strip MF so we end up with the name of the file.
   19974     mf=`echo "$mf" | sed -e 's/:.*$//'`
   19975     # Check whether this is an Automake generated Makefile or not.
   19976     # We used to match only the files named 'Makefile.in', but
   19977     # some people rename them; so instead we look at the file content.
   19978     # Grep'ing the first line is not enough: some people post-process
   19979     # each Makefile.in and add a new line on top of each file to say so.
   19980     # Grep'ing the whole file is not good either: AIX grep has a line
   19981     # limit of 2048, but all sed's we know have understand at least 4000.
   19982     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   19983       dirpart=`$as_dirname -- "$mf" ||
   19984 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19985 	 X"$mf" : 'X\(//\)[^/]' \| \
   19986 	 X"$mf" : 'X\(//\)$' \| \
   19987 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   19988 $as_echo X"$mf" |
   19989     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19990 	    s//\1/
   19991 	    q
   19992 	  }
   19993 	  /^X\(\/\/\)[^/].*/{
   19994 	    s//\1/
   19995 	    q
   19996 	  }
   19997 	  /^X\(\/\/\)$/{
   19998 	    s//\1/
   19999 	    q
   20000 	  }
   20001 	  /^X\(\/\).*/{
   20002 	    s//\1/
   20003 	    q
   20004 	  }
   20005 	  s/.*/./; q'`
   20006     else
   20007       continue
   20008     fi
   20009     # Extract the definition of DEPDIR, am__include, and am__quote
   20010     # from the Makefile without running 'make'.
   20011     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   20012     test -z "$DEPDIR" && continue
   20013     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   20014     test -z "$am__include" && continue
   20015     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   20016     # Find all dependency output files, they are included files with
   20017     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   20018     # simplest approach to changing $(DEPDIR) to its actual value in the
   20019     # expansion.
   20020     for file in `sed -n "
   20021       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   20022 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   20023       # Make sure the directory exists.
   20024       test -f "$dirpart/$file" && continue
   20025       fdir=`$as_dirname -- "$file" ||
   20026 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20027 	 X"$file" : 'X\(//\)[^/]' \| \
   20028 	 X"$file" : 'X\(//\)$' \| \
   20029 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   20030 $as_echo X"$file" |
   20031     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20032 	    s//\1/
   20033 	    q
   20034 	  }
   20035 	  /^X\(\/\/\)[^/].*/{
   20036 	    s//\1/
   20037 	    q
   20038 	  }
   20039 	  /^X\(\/\/\)$/{
   20040 	    s//\1/
   20041 	    q
   20042 	  }
   20043 	  /^X\(\/\).*/{
   20044 	    s//\1/
   20045 	    q
   20046 	  }
   20047 	  s/.*/./; q'`
   20048       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   20049       # echo "creating $dirpart/$file"
   20050       echo '# dummy' > "$dirpart/$file"
   20051     done
   20052   done
   20053 }
   20054  ;;
   20055     "libtool":C)
   20056 
   20057     # See if we are running on zsh, and set the options which allow our
   20058     # commands through without removal of \ escapes.
   20059     if test -n "${ZSH_VERSION+set}" ; then
   20060       setopt NO_GLOB_SUBST
   20061     fi
   20062 
   20063     cfgfile="${ofile}T"
   20064     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   20065     $RM "$cfgfile"
   20066 
   20067     cat <<_LT_EOF >> "$cfgfile"
   20068 #! $SHELL
   20069 
   20070 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   20071 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   20072 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   20073 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   20074 #
   20075 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   20076 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   20077 #                 Foundation, Inc.
   20078 #   Written by Gordon Matzigkeit, 1996
   20079 #
   20080 #   This file is part of GNU Libtool.
   20081 #
   20082 # GNU Libtool is free software; you can redistribute it and/or
   20083 # modify it under the terms of the GNU General Public License as
   20084 # published by the Free Software Foundation; either version 2 of
   20085 # the License, or (at your option) any later version.
   20086 #
   20087 # As a special exception to the GNU General Public License,
   20088 # if you distribute this file as part of a program or library that
   20089 # is built using GNU Libtool, you may include this file under the
   20090 # same distribution terms that you use for the rest of that program.
   20091 #
   20092 # GNU Libtool is distributed in the hope that it will be useful,
   20093 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   20094 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   20095 # GNU General Public License for more details.
   20096 #
   20097 # You should have received a copy of the GNU General Public License
   20098 # along with GNU Libtool; see the file COPYING.  If not, a copy
   20099 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   20100 # obtained by writing to the Free Software Foundation, Inc.,
   20101 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   20102 
   20103 
   20104 # The names of the tagged configurations supported by this script.
   20105 available_tags=""
   20106 
   20107 # ### BEGIN LIBTOOL CONFIG
   20108 
   20109 # Which release of libtool.m4 was used?
   20110 macro_version=$macro_version
   20111 macro_revision=$macro_revision
   20112 
   20113 # Whether or not to build shared libraries.
   20114 build_libtool_libs=$enable_shared
   20115 
   20116 # Whether or not to build static libraries.
   20117 build_old_libs=$enable_static
   20118 
   20119 # What type of objects to build.
   20120 pic_mode=$pic_mode
   20121 
   20122 # Whether or not to optimize for fast installation.
   20123 fast_install=$enable_fast_install
   20124 
   20125 # Shell to use when invoking shell scripts.
   20126 SHELL=$lt_SHELL
   20127 
   20128 # An echo program that protects backslashes.
   20129 ECHO=$lt_ECHO
   20130 
   20131 # The PATH separator for the build system.
   20132 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   20133 
   20134 # The host system.
   20135 host_alias=$host_alias
   20136 host=$host
   20137 host_os=$host_os
   20138 
   20139 # The build system.
   20140 build_alias=$build_alias
   20141 build=$build
   20142 build_os=$build_os
   20143 
   20144 # A sed program that does not truncate output.
   20145 SED=$lt_SED
   20146 
   20147 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   20148 Xsed="\$SED -e 1s/^X//"
   20149 
   20150 # A grep program that handles long lines.
   20151 GREP=$lt_GREP
   20152 
   20153 # An ERE matcher.
   20154 EGREP=$lt_EGREP
   20155 
   20156 # A literal string matcher.
   20157 FGREP=$lt_FGREP
   20158 
   20159 # A BSD- or MS-compatible name lister.
   20160 NM=$lt_NM
   20161 
   20162 # Whether we need soft or hard links.
   20163 LN_S=$lt_LN_S
   20164 
   20165 # What is the maximum length of a command?
   20166 max_cmd_len=$max_cmd_len
   20167 
   20168 # Object file suffix (normally "o").
   20169 objext=$ac_objext
   20170 
   20171 # Executable file suffix (normally "").
   20172 exeext=$exeext
   20173 
   20174 # whether the shell understands "unset".
   20175 lt_unset=$lt_unset
   20176 
   20177 # turn spaces into newlines.
   20178 SP2NL=$lt_lt_SP2NL
   20179 
   20180 # turn newlines into spaces.
   20181 NL2SP=$lt_lt_NL2SP
   20182 
   20183 # convert \$build file names to \$host format.
   20184 to_host_file_cmd=$lt_cv_to_host_file_cmd
   20185 
   20186 # convert \$build files to toolchain format.
   20187 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   20188 
   20189 # An object symbol dumper.
   20190 OBJDUMP=$lt_OBJDUMP
   20191 
   20192 # Method to check whether dependent libraries are shared objects.
   20193 deplibs_check_method=$lt_deplibs_check_method
   20194 
   20195 # Command to use when deplibs_check_method = "file_magic".
   20196 file_magic_cmd=$lt_file_magic_cmd
   20197 
   20198 # How to find potential files when deplibs_check_method = "file_magic".
   20199 file_magic_glob=$lt_file_magic_glob
   20200 
   20201 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   20202 want_nocaseglob=$lt_want_nocaseglob
   20203 
   20204 # DLL creation program.
   20205 DLLTOOL=$lt_DLLTOOL
   20206 
   20207 # Command to associate shared and link libraries.
   20208 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   20209 
   20210 # The archiver.
   20211 AR=$lt_AR
   20212 
   20213 # Flags to create an archive.
   20214 AR_FLAGS=$lt_AR_FLAGS
   20215 
   20216 # How to feed a file listing to the archiver.
   20217 archiver_list_spec=$lt_archiver_list_spec
   20218 
   20219 # A symbol stripping program.
   20220 STRIP=$lt_STRIP
   20221 
   20222 # Commands used to install an old-style archive.
   20223 RANLIB=$lt_RANLIB
   20224 old_postinstall_cmds=$lt_old_postinstall_cmds
   20225 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   20226 
   20227 # Whether to use a lock for old archive extraction.
   20228 lock_old_archive_extraction=$lock_old_archive_extraction
   20229 
   20230 # A C compiler.
   20231 LTCC=$lt_CC
   20232 
   20233 # LTCC compiler flags.
   20234 LTCFLAGS=$lt_CFLAGS
   20235 
   20236 # Take the output of nm and produce a listing of raw symbols and C names.
   20237 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   20238 
   20239 # Transform the output of nm in a proper C declaration.
   20240 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   20241 
   20242 # Transform the output of nm in a C name address pair.
   20243 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   20244 
   20245 # Transform the output of nm in a C name address pair when lib prefix is needed.
   20246 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   20247 
   20248 # Specify filename containing input files for \$NM.
   20249 nm_file_list_spec=$lt_nm_file_list_spec
   20250 
   20251 # The root where to search for dependent libraries,and in which our libraries should be installed.
   20252 lt_sysroot=$lt_sysroot
   20253 
   20254 # The name of the directory that contains temporary libtool files.
   20255 objdir=$objdir
   20256 
   20257 # Used to examine libraries when file_magic_cmd begins with "file".
   20258 MAGIC_CMD=$MAGIC_CMD
   20259 
   20260 # Must we lock files when doing compilation?
   20261 need_locks=$lt_need_locks
   20262 
   20263 # Manifest tool.
   20264 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   20265 
   20266 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   20267 DSYMUTIL=$lt_DSYMUTIL
   20268 
   20269 # Tool to change global to local symbols on Mac OS X.
   20270 NMEDIT=$lt_NMEDIT
   20271 
   20272 # Tool to manipulate fat objects and archives on Mac OS X.
   20273 LIPO=$lt_LIPO
   20274 
   20275 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   20276 OTOOL=$lt_OTOOL
   20277 
   20278 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   20279 OTOOL64=$lt_OTOOL64
   20280 
   20281 # Old archive suffix (normally "a").
   20282 libext=$libext
   20283 
   20284 # Shared library suffix (normally ".so").
   20285 shrext_cmds=$lt_shrext_cmds
   20286 
   20287 # The commands to extract the exported symbol list from a shared archive.
   20288 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   20289 
   20290 # Variables whose values should be saved in libtool wrapper scripts and
   20291 # restored at link time.
   20292 variables_saved_for_relink=$lt_variables_saved_for_relink
   20293 
   20294 # Do we need the "lib" prefix for modules?
   20295 need_lib_prefix=$need_lib_prefix
   20296 
   20297 # Do we need a version for libraries?
   20298 need_version=$need_version
   20299 
   20300 # Library versioning type.
   20301 version_type=$version_type
   20302 
   20303 # Shared library runtime path variable.
   20304 runpath_var=$runpath_var
   20305 
   20306 # Shared library path variable.
   20307 shlibpath_var=$shlibpath_var
   20308 
   20309 # Is shlibpath searched before the hard-coded library search path?
   20310 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   20311 
   20312 # Format of library name prefix.
   20313 libname_spec=$lt_libname_spec
   20314 
   20315 # List of archive names.  First name is the real one, the rest are links.
   20316 # The last name is the one that the linker finds with -lNAME
   20317 library_names_spec=$lt_library_names_spec
   20318 
   20319 # The coded name of the library, if different from the real name.
   20320 soname_spec=$lt_soname_spec
   20321 
   20322 # Permission mode override for installation of shared libraries.
   20323 install_override_mode=$lt_install_override_mode
   20324 
   20325 # Command to use after installation of a shared archive.
   20326 postinstall_cmds=$lt_postinstall_cmds
   20327 
   20328 # Command to use after uninstallation of a shared archive.
   20329 postuninstall_cmds=$lt_postuninstall_cmds
   20330 
   20331 # Commands used to finish a libtool library installation in a directory.
   20332 finish_cmds=$lt_finish_cmds
   20333 
   20334 # As "finish_cmds", except a single script fragment to be evaled but
   20335 # not shown.
   20336 finish_eval=$lt_finish_eval
   20337 
   20338 # Whether we should hardcode library paths into libraries.
   20339 hardcode_into_libs=$hardcode_into_libs
   20340 
   20341 # Compile-time system search path for libraries.
   20342 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   20343 
   20344 # Run-time system search path for libraries.
   20345 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   20346 
   20347 # Whether dlopen is supported.
   20348 dlopen_support=$enable_dlopen
   20349 
   20350 # Whether dlopen of programs is supported.
   20351 dlopen_self=$enable_dlopen_self
   20352 
   20353 # Whether dlopen of statically linked programs is supported.
   20354 dlopen_self_static=$enable_dlopen_self_static
   20355 
   20356 # Commands to strip libraries.
   20357 old_striplib=$lt_old_striplib
   20358 striplib=$lt_striplib
   20359 
   20360 
   20361 # The linker used to build libraries.
   20362 LD=$lt_LD
   20363 
   20364 # How to create reloadable object files.
   20365 reload_flag=$lt_reload_flag
   20366 reload_cmds=$lt_reload_cmds
   20367 
   20368 # Commands used to build an old-style archive.
   20369 old_archive_cmds=$lt_old_archive_cmds
   20370 
   20371 # A language specific compiler.
   20372 CC=$lt_compiler
   20373 
   20374 # Is the compiler the GNU compiler?
   20375 with_gcc=$GCC
   20376 
   20377 # Compiler flag to turn off builtin functions.
   20378 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   20379 
   20380 # Additional compiler flags for building library objects.
   20381 pic_flag=$lt_lt_prog_compiler_pic
   20382 
   20383 # How to pass a linker flag through the compiler.
   20384 wl=$lt_lt_prog_compiler_wl
   20385 
   20386 # Compiler flag to prevent dynamic linking.
   20387 link_static_flag=$lt_lt_prog_compiler_static
   20388 
   20389 # Does compiler simultaneously support -c and -o options?
   20390 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   20391 
   20392 # Whether or not to add -lc for building shared libraries.
   20393 build_libtool_need_lc=$archive_cmds_need_lc
   20394 
   20395 # Whether or not to disallow shared libs when runtime libs are static.
   20396 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   20397 
   20398 # Compiler flag to allow reflexive dlopens.
   20399 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   20400 
   20401 # Compiler flag to generate shared objects directly from archives.
   20402 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   20403 
   20404 # Whether the compiler copes with passing no objects directly.
   20405 compiler_needs_object=$lt_compiler_needs_object
   20406 
   20407 # Create an old-style archive from a shared archive.
   20408 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   20409 
   20410 # Create a temporary old-style archive to link instead of a shared archive.
   20411 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   20412 
   20413 # Commands used to build a shared archive.
   20414 archive_cmds=$lt_archive_cmds
   20415 archive_expsym_cmds=$lt_archive_expsym_cmds
   20416 
   20417 # Commands used to build a loadable module if different from building
   20418 # a shared archive.
   20419 module_cmds=$lt_module_cmds
   20420 module_expsym_cmds=$lt_module_expsym_cmds
   20421 
   20422 # Whether we are building with GNU ld or not.
   20423 with_gnu_ld=$lt_with_gnu_ld
   20424 
   20425 # Flag that allows shared libraries with undefined symbols to be built.
   20426 allow_undefined_flag=$lt_allow_undefined_flag
   20427 
   20428 # Flag that enforces no undefined symbols.
   20429 no_undefined_flag=$lt_no_undefined_flag
   20430 
   20431 # Flag to hardcode \$libdir into a binary during linking.
   20432 # This must work even if \$libdir does not exist
   20433 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   20434 
   20435 # Whether we need a single "-rpath" flag with a separated argument.
   20436 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   20437 
   20438 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20439 # DIR into the resulting binary.
   20440 hardcode_direct=$hardcode_direct
   20441 
   20442 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20443 # DIR into the resulting binary and the resulting library dependency is
   20444 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   20445 # library is relocated.
   20446 hardcode_direct_absolute=$hardcode_direct_absolute
   20447 
   20448 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   20449 # into the resulting binary.
   20450 hardcode_minus_L=$hardcode_minus_L
   20451 
   20452 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   20453 # into the resulting binary.
   20454 hardcode_shlibpath_var=$hardcode_shlibpath_var
   20455 
   20456 # Set to "yes" if building a shared library automatically hardcodes DIR
   20457 # into the library and all subsequent libraries and executables linked
   20458 # against it.
   20459 hardcode_automatic=$hardcode_automatic
   20460 
   20461 # Set to yes if linker adds runtime paths of dependent libraries
   20462 # to runtime path list.
   20463 inherit_rpath=$inherit_rpath
   20464 
   20465 # Whether libtool must link a program against all its dependency libraries.
   20466 link_all_deplibs=$link_all_deplibs
   20467 
   20468 # Set to "yes" if exported symbols are required.
   20469 always_export_symbols=$always_export_symbols
   20470 
   20471 # The commands to list exported symbols.
   20472 export_symbols_cmds=$lt_export_symbols_cmds
   20473 
   20474 # Symbols that should not be listed in the preloaded symbols.
   20475 exclude_expsyms=$lt_exclude_expsyms
   20476 
   20477 # Symbols that must always be exported.
   20478 include_expsyms=$lt_include_expsyms
   20479 
   20480 # Commands necessary for linking programs (against libraries) with templates.
   20481 prelink_cmds=$lt_prelink_cmds
   20482 
   20483 # Commands necessary for finishing linking programs.
   20484 postlink_cmds=$lt_postlink_cmds
   20485 
   20486 # Specify filename containing input files.
   20487 file_list_spec=$lt_file_list_spec
   20488 
   20489 # How to hardcode a shared library path into an executable.
   20490 hardcode_action=$hardcode_action
   20491 
   20492 # ### END LIBTOOL CONFIG
   20493 
   20494 _LT_EOF
   20495 
   20496   case $host_os in
   20497   aix3*)
   20498     cat <<\_LT_EOF >> "$cfgfile"
   20499 # AIX sometimes has problems with the GCC collect2 program.  For some
   20500 # reason, if we set the COLLECT_NAMES environment variable, the problems
   20501 # vanish in a puff of smoke.
   20502 if test "X${COLLECT_NAMES+set}" != Xset; then
   20503   COLLECT_NAMES=
   20504   export COLLECT_NAMES
   20505 fi
   20506 _LT_EOF
   20507     ;;
   20508   esac
   20509 
   20510 
   20511 ltmain="$ac_aux_dir/ltmain.sh"
   20512 
   20513 
   20514   # We use sed instead of cat because bash on DJGPP gets confused if
   20515   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   20516   # text mode, it properly converts lines to CR/LF.  This bash problem
   20517   # is reportedly fixed, but why not run on old versions too?
   20518   sed '$q' "$ltmain" >> "$cfgfile" \
   20519      || (rm -f "$cfgfile"; exit 1)
   20520 
   20521   if test x"$xsi_shell" = xyes; then
   20522   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   20523 func_dirname ()\
   20524 {\
   20525 \    case ${1} in\
   20526 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20527 \      *  ) func_dirname_result="${3}" ;;\
   20528 \    esac\
   20529 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   20530   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20531     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20532 test 0 -eq $? || _lt_function_replace_fail=:
   20533 
   20534 
   20535   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   20536 func_basename ()\
   20537 {\
   20538 \    func_basename_result="${1##*/}"\
   20539 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20540   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20541     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20542 test 0 -eq $? || _lt_function_replace_fail=:
   20543 
   20544 
   20545   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   20546 func_dirname_and_basename ()\
   20547 {\
   20548 \    case ${1} in\
   20549 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20550 \      *  ) func_dirname_result="${3}" ;;\
   20551 \    esac\
   20552 \    func_basename_result="${1##*/}"\
   20553 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20554   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20555     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20556 test 0 -eq $? || _lt_function_replace_fail=:
   20557 
   20558 
   20559   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   20560 func_stripname ()\
   20561 {\
   20562 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   20563 \    # positional parameters, so assign one to ordinary parameter first.\
   20564 \    func_stripname_result=${3}\
   20565 \    func_stripname_result=${func_stripname_result#"${1}"}\
   20566 \    func_stripname_result=${func_stripname_result%"${2}"}\
   20567 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   20568   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20569     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20570 test 0 -eq $? || _lt_function_replace_fail=:
   20571 
   20572 
   20573   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   20574 func_split_long_opt ()\
   20575 {\
   20576 \    func_split_long_opt_name=${1%%=*}\
   20577 \    func_split_long_opt_arg=${1#*=}\
   20578 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20579   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20580     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20581 test 0 -eq $? || _lt_function_replace_fail=:
   20582 
   20583 
   20584   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   20585 func_split_short_opt ()\
   20586 {\
   20587 \    func_split_short_opt_arg=${1#??}\
   20588 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   20589 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20590   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20591     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20592 test 0 -eq $? || _lt_function_replace_fail=:
   20593 
   20594 
   20595   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   20596 func_lo2o ()\
   20597 {\
   20598 \    case ${1} in\
   20599 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   20600 \      *)    func_lo2o_result=${1} ;;\
   20601 \    esac\
   20602 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   20603   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20604     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20605 test 0 -eq $? || _lt_function_replace_fail=:
   20606 
   20607 
   20608   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   20609 func_xform ()\
   20610 {\
   20611     func_xform_result=${1%.*}.lo\
   20612 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   20613   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20614     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20615 test 0 -eq $? || _lt_function_replace_fail=:
   20616 
   20617 
   20618   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   20619 func_arith ()\
   20620 {\
   20621     func_arith_result=$(( $* ))\
   20622 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   20623   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20624     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20625 test 0 -eq $? || _lt_function_replace_fail=:
   20626 
   20627 
   20628   sed -e '/^func_len ()$/,/^} # func_len /c\
   20629 func_len ()\
   20630 {\
   20631     func_len_result=${#1}\
   20632 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   20633   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20634     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20635 test 0 -eq $? || _lt_function_replace_fail=:
   20636 
   20637 fi
   20638 
   20639 if test x"$lt_shell_append" = xyes; then
   20640   sed -e '/^func_append ()$/,/^} # func_append /c\
   20641 func_append ()\
   20642 {\
   20643     eval "${1}+=\\${2}"\
   20644 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   20645   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20646     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20647 test 0 -eq $? || _lt_function_replace_fail=:
   20648 
   20649 
   20650   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   20651 func_append_quoted ()\
   20652 {\
   20653 \    func_quote_for_eval "${2}"\
   20654 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   20655 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   20656   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20657     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20658 test 0 -eq $? || _lt_function_replace_fail=:
   20659 
   20660 
   20661   # Save a `func_append' function call where possible by direct use of '+='
   20662   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   20663     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20664       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20665   test 0 -eq $? || _lt_function_replace_fail=:
   20666 else
   20667   # Save a `func_append' function call even when '+=' is not available
   20668   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   20669     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20670       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20671   test 0 -eq $? || _lt_function_replace_fail=:
   20672 fi
   20673 
   20674 if test x"$_lt_function_replace_fail" = x":"; then
   20675   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   20676 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   20677 fi
   20678 
   20679 
   20680    mv -f "$cfgfile" "$ofile" ||
   20681     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20682   chmod +x "$ofile"
   20683 
   20684  ;;
   20685 
   20686   esac
   20687 done # for ac_tag
   20688 
   20689 
   20690 as_fn_exit 0
   20691 _ACEOF
   20692 ac_clean_files=$ac_clean_files_save
   20693 
   20694 test $ac_write_fail = 0 ||
   20695   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20696 
   20697 
   20698 # configure is writing to config.log, and then calls config.status.
   20699 # config.status does its own redirection, appending to config.log.
   20700 # Unfortunately, on DOS this fails, as config.log is still kept open
   20701 # by configure, so config.status won't be able to write to it; its
   20702 # output is simply discarded.  So we exec the FD to /dev/null,
   20703 # effectively closing config.log, so it can be properly (re)opened and
   20704 # appended to by config.status.  When coming back to configure, we
   20705 # need to make the FD available again.
   20706 if test "$no_create" != yes; then
   20707   ac_cs_success=:
   20708   ac_config_status_args=
   20709   test "$silent" = yes &&
   20710     ac_config_status_args="$ac_config_status_args --quiet"
   20711   exec 5>/dev/null
   20712   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20713   exec 5>>config.log
   20714   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20715   # would make configure fail if this is the last instruction.
   20716   $ac_cs_success || as_fn_exit 1
   20717 fi
   20718 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20719   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20720 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20721 fi
   20722 
   20723