Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.5
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for libXdmcp 1.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 test \$(( 1 + 1 )) = 2 || exit 1
    202 
    203   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    204     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    206     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    207     PATH=/empty FPATH=/empty; export PATH FPATH
    208     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    209       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    210   if (eval "$as_required") 2>/dev/null; then :
    211   as_have_required=yes
    212 else
    213   as_have_required=no
    214 fi
    215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    216 
    217 else
    218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    219 as_found=false
    220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    221 do
    222   IFS=$as_save_IFS
    223   test -z "$as_dir" && as_dir=.
    224   as_found=:
    225   case $as_dir in #(
    226 	 /*)
    227 	   for as_base in sh bash ksh sh5; do
    228 	     # Try only shells that exist, to save several forks.
    229 	     as_shell=$as_dir/$as_base
    230 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    231 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   CONFIG_SHELL=$as_shell as_have_required=yes
    233 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    234   break 2
    235 fi
    236 fi
    237 	   done;;
    238        esac
    239   as_found=false
    240 done
    241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    243   CONFIG_SHELL=$SHELL as_have_required=yes
    244 fi; }
    245 IFS=$as_save_IFS
    246 
    247 
    248       if test "x$CONFIG_SHELL" != x; then :
    249   export CONFIG_SHELL
    250              # We cannot yet assume a decent shell, so we have to provide a
    251 # neutralization value for shells without unset; and this also
    252 # works around shells that cannot unset nonexistent variables.
    253 # Preserve -v and -x to the replacement shell.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in # ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264 # Admittedly, this is quite paranoid, since all the known shells bail
    265 # out after a failed `exec'.
    266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno; then :
    271   $as_echo "$0: This script requires a shell more modern than all"
    272   $as_echo "$0: the shells that I found on your system."
    273   if test x${ZSH_VERSION+set} = xset ; then
    274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    276   else
    277     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    278 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    279 $0: about your system, including any error possibly output
    280 $0: before this message. Then install a modern shell, or
    281 $0: manually run the script under such a shell if you do
    282 $0: have one."
    283   fi
    284   exit 1
    285 fi
    286 fi
    287 fi
    288 SHELL=${CONFIG_SHELL-/bin/sh}
    289 export SHELL
    290 # Unset more variables known to interfere with behavior of common tools.
    291 CLICOLOR_FORCE= GREP_OPTIONS=
    292 unset CLICOLOR_FORCE GREP_OPTIONS
    293 
    294 ## --------------------- ##
    295 ## M4sh Shell Functions. ##
    296 ## --------------------- ##
    297 # as_fn_unset VAR
    298 # ---------------
    299 # Portably unset VAR.
    300 as_fn_unset ()
    301 {
    302   { eval $1=; unset $1;}
    303 }
    304 as_unset=as_fn_unset
    305 
    306 # as_fn_set_status STATUS
    307 # -----------------------
    308 # Set $? to STATUS, without forking.
    309 as_fn_set_status ()
    310 {
    311   return $1
    312 } # as_fn_set_status
    313 
    314 # as_fn_exit STATUS
    315 # -----------------
    316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    317 as_fn_exit ()
    318 {
    319   set +e
    320   as_fn_set_status $1
    321   exit $1
    322 } # as_fn_exit
    323 
    324 # as_fn_mkdir_p
    325 # -------------
    326 # Create "$as_dir" as a directory, including parents if necessary.
    327 as_fn_mkdir_p ()
    328 {
    329 
    330   case $as_dir in #(
    331   -*) as_dir=./$as_dir;;
    332   esac
    333   test -d "$as_dir" || eval $as_mkdir_p || {
    334     as_dirs=
    335     while :; do
    336       case $as_dir in #(
    337       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    338       *) as_qdir=$as_dir;;
    339       esac
    340       as_dirs="'$as_qdir' $as_dirs"
    341       as_dir=`$as_dirname -- "$as_dir" ||
    342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    343 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    344 	 X"$as_dir" : 'X\(//\)$' \| \
    345 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    346 $as_echo X"$as_dir" |
    347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\/\)[^/].*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  /^X\(\/\/\)$/{
    356 	    s//\1/
    357 	    q
    358 	  }
    359 	  /^X\(\/\).*/{
    360 	    s//\1/
    361 	    q
    362 	  }
    363 	  s/.*/./; q'`
    364       test -d "$as_dir" && break
    365     done
    366     test -z "$as_dirs" || eval "mkdir $as_dirs"
    367   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    368 
    369 
    370 } # as_fn_mkdir_p
    371 
    372 # as_fn_executable_p FILE
    373 # -----------------------
    374 # Test if FILE is an executable regular file.
    375 as_fn_executable_p ()
    376 {
    377   test -f "$1" && test -x "$1"
    378 } # as_fn_executable_p
    379 # as_fn_append VAR VALUE
    380 # ----------------------
    381 # Append the text in VALUE to the end of the definition contained in VAR. Take
    382 # advantage of any shell optimizations that allow amortized linear growth over
    383 # repeated appends, instead of the typical quadratic growth present in naive
    384 # implementations.
    385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    386   eval 'as_fn_append ()
    387   {
    388     eval $1+=\$2
    389   }'
    390 else
    391   as_fn_append ()
    392   {
    393     eval $1=\$$1\$2
    394   }
    395 fi # as_fn_append
    396 
    397 # as_fn_arith ARG...
    398 # ------------------
    399 # Perform arithmetic evaluation on the ARGs, and store the result in the
    400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    401 # must be portable across $(()) and expr.
    402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    403   eval 'as_fn_arith ()
    404   {
    405     as_val=$(( $* ))
    406   }'
    407 else
    408   as_fn_arith ()
    409   {
    410     as_val=`expr "$@" || test $? -eq 1`
    411   }
    412 fi # as_fn_arith
    413 
    414 
    415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    416 # ----------------------------------------
    417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    419 # script with STATUS, using 1 if that was 0.
    420 as_fn_error ()
    421 {
    422   as_status=$1; test $as_status -eq 0 && as_status=1
    423   if test "$4"; then
    424     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    425     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    426   fi
    427   $as_echo "$as_me: error: $2" >&2
    428   as_fn_exit $as_status
    429 } # as_fn_error
    430 
    431 if expr a : '\(a\)' >/dev/null 2>&1 &&
    432    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    433   as_expr=expr
    434 else
    435   as_expr=false
    436 fi
    437 
    438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    439   as_basename=basename
    440 else
    441   as_basename=false
    442 fi
    443 
    444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    445   as_dirname=dirname
    446 else
    447   as_dirname=false
    448 fi
    449 
    450 as_me=`$as_basename -- "$0" ||
    451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    452 	 X"$0" : 'X\(//\)$' \| \
    453 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    454 $as_echo X/"$0" |
    455     sed '/^.*\/\([^/][^/]*\)\/*$/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  /^X\/\(\/\/\)$/{
    460 	    s//\1/
    461 	    q
    462 	  }
    463 	  /^X\/\(\/\).*/{
    464 	    s//\1/
    465 	    q
    466 	  }
    467 	  s/.*/./; q'`
    468 
    469 # Avoid depending upon Character Ranges.
    470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    473 as_cr_digits='0123456789'
    474 as_cr_alnum=$as_cr_Letters$as_cr_digits
    475 
    476 
    477   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    478   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    479   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    480   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    481   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    482   sed -n '
    483     p
    484     /[$]LINENO/=
    485   ' <$as_myself |
    486     sed '
    487       s/[$]LINENO.*/&-/
    488       t lineno
    489       b
    490       :lineno
    491       N
    492       :loop
    493       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    494       t loop
    495       s/-\n.*//
    496     ' >$as_me.lineno &&
    497   chmod +x "$as_me.lineno" ||
    498     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    499 
    500   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    501   # already done that, so ensure we don't try to do so again and fall
    502   # in an infinite loop.  This has already happened in practice.
    503   _as_can_reexec=no; export _as_can_reexec
    504   # Don't try to exec as it changes $[0], causing all sort of problems
    505   # (the dirname of $[0] is not the place where we might find the
    506   # original and so on.  Autoconf is especially sensitive to this).
    507   . "./$as_me.lineno"
    508   # Exit status is that of the last command.
    509   exit
    510 }
    511 
    512 ECHO_C= ECHO_N= ECHO_T=
    513 case `echo -n x` in #(((((
    514 -n*)
    515   case `echo 'xy\c'` in
    516   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    517   xy)  ECHO_C='\c';;
    518   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    519        ECHO_T='	';;
    520   esac;;
    521 *)
    522   ECHO_N='-n';;
    523 esac
    524 
    525 rm -f conf$$ conf$$.exe conf$$.file
    526 if test -d conf$$.dir; then
    527   rm -f conf$$.dir/conf$$.file
    528 else
    529   rm -f conf$$.dir
    530   mkdir conf$$.dir 2>/dev/null
    531 fi
    532 if (echo >conf$$.file) 2>/dev/null; then
    533   if ln -s conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s='ln -s'
    535     # ... but there are two gotchas:
    536     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    537     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    538     # In both cases, we have to default to `cp -pR'.
    539     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    540       as_ln_s='cp -pR'
    541   elif ln conf$$.file conf$$ 2>/dev/null; then
    542     as_ln_s=ln
    543   else
    544     as_ln_s='cp -pR'
    545   fi
    546 else
    547   as_ln_s='cp -pR'
    548 fi
    549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    550 rmdir conf$$.dir 2>/dev/null
    551 
    552 if mkdir -p . 2>/dev/null; then
    553   as_mkdir_p='mkdir -p "$as_dir"'
    554 else
    555   test -d ./-p && rmdir ./-p
    556   as_mkdir_p=false
    557 fi
    558 
    559 as_test_x='test -x'
    560 as_executable_p=as_fn_executable_p
    561 
    562 # Sed expression to map a string onto a valid CPP name.
    563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    564 
    565 # Sed expression to map a string onto a valid variable name.
    566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    567 
    568 SHELL=${CONFIG_SHELL-/bin/sh}
    569 
    570 as_awk_strverscmp='
    571   # Use only awk features that work with 7th edition Unix awk (1978).
    572   # My, what an old awk you have, Mr. Solaris!
    573   END {
    574     while (length(v1) && length(v2)) {
    575       # Set d1 to be the next thing to compare from v1, and likewise for d2.
    576       # Normally this is a single character, but if v1 and v2 contain digits,
    577       # compare them as integers and fractions as strverscmp does.
    578       if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
    579 	# Split v1 and v2 into their leading digit string components d1 and d2,
    580 	# and advance v1 and v2 past the leading digit strings.
    581 	for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
    582 	for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
    583 	d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
    584 	d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
    585 	if (d1 ~ /^0/) {
    586 	  if (d2 ~ /^0/) {
    587 	    # Compare two fractions.
    588 	    while (d1 ~ /^0/ && d2 ~ /^0/) {
    589 	      d1 = substr(d1, 2); len1--
    590 	      d2 = substr(d2, 2); len2--
    591 	    }
    592 	    if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
    593 	      # The two components differ in length, and the common prefix
    594 	      # contains only leading zeros.  Consider the longer to be less.
    595 	      d1 = -len1
    596 	      d2 = -len2
    597 	    } else {
    598 	      # Otherwise, compare as strings.
    599 	      d1 = "x" d1
    600 	      d2 = "x" d2
    601 	    }
    602 	  } else {
    603 	    # A fraction is less than an integer.
    604 	    exit 1
    605 	  }
    606 	} else {
    607 	  if (d2 ~ /^0/) {
    608 	    # An integer is greater than a fraction.
    609 	    exit 2
    610 	  } else {
    611 	    # Compare two integers.
    612 	    d1 += 0
    613 	    d2 += 0
    614 	  }
    615 	}
    616       } else {
    617 	# The normal case, without worrying about digits.
    618 	d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
    619 	d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
    620       }
    621       if (d1 < d2) exit 1
    622       if (d1 > d2) exit 2
    623     }
    624     # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
    625     # which mishandles some comparisons of empty strings to integers.
    626     if (length(v2)) exit 1
    627     if (length(v1)) exit 2
    628   }
    629 '
    630 
    631 test -n "$DJDIR" || exec 7<&0 </dev/null
    632 exec 6>&1
    633 
    634 # Name of the host.
    635 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    636 # so uname gets run too.
    637 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    638 
    639 #
    640 # Initializations.
    641 #
    642 ac_default_prefix=/usr/local
    643 ac_clean_files=
    644 ac_config_libobj_dir=.
    645 LIBOBJS=
    646 cross_compiling=no
    647 subdirs=
    648 MFLAGS=
    649 MAKEFLAGS=
    650 
    651 # Identity of this package.
    652 PACKAGE_NAME='libXdmcp'
    653 PACKAGE_TARNAME='libXdmcp'
    654 PACKAGE_VERSION='1.1.2'
    655 PACKAGE_STRING='libXdmcp 1.1.2'
    656 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    657 PACKAGE_URL=''
    658 
    659 ac_unique_file="Makefile.am"
    660 # Factoring default headers for most tests.
    661 ac_includes_default="\
    662 #include <stdio.h>
    663 #ifdef HAVE_SYS_TYPES_H
    664 # include <sys/types.h>
    665 #endif
    666 #ifdef HAVE_SYS_STAT_H
    667 # include <sys/stat.h>
    668 #endif
    669 #ifdef STDC_HEADERS
    670 # include <stdlib.h>
    671 # include <stddef.h>
    672 #else
    673 # ifdef HAVE_STDLIB_H
    674 #  include <stdlib.h>
    675 # endif
    676 #endif
    677 #ifdef HAVE_STRING_H
    678 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    679 #  include <memory.h>
    680 # endif
    681 # include <string.h>
    682 #endif
    683 #ifdef HAVE_STRINGS_H
    684 # include <strings.h>
    685 #endif
    686 #ifdef HAVE_INTTYPES_H
    687 # include <inttypes.h>
    688 #endif
    689 #ifdef HAVE_STDINT_H
    690 # include <stdint.h>
    691 #endif
    692 #ifdef HAVE_UNISTD_H
    693 # include <unistd.h>
    694 #endif"
    695 
    696 ac_subst_vars='am__EXEEXT_FALSE
    697 am__EXEEXT_TRUE
    698 LTLIBOBJS
    699 LIBOBJS
    700 ENABLE_UNIT_TESTS_FALSE
    701 ENABLE_UNIT_TESTS_TRUE
    702 XORG_MALLOC_DEBUG_ENV
    703 MAKE_LINT_LIB_FALSE
    704 MAKE_LINT_LIB_TRUE
    705 LINTLIB
    706 LINT_FALSE
    707 LINT_TRUE
    708 LINT_FLAGS
    709 LINT
    710 HASXDMAUTH_FALSE
    711 HASXDMAUTH_TRUE
    712 XDMCP_LIBS
    713 XDMCP_CFLAGS
    714 HAVE_STYLESHEETS_FALSE
    715 HAVE_STYLESHEETS_TRUE
    716 XSL_STYLESHEET
    717 STYLESHEET_SRCDIR
    718 XORG_SGML_PATH
    719 HAVE_XSLTPROC_FALSE
    720 HAVE_XSLTPROC_TRUE
    721 XSLTPROC
    722 HAVE_FOP_FALSE
    723 HAVE_FOP_TRUE
    724 FOP
    725 HAVE_XMLTO_FALSE
    726 HAVE_XMLTO_TRUE
    727 HAVE_XMLTO_TEXT_FALSE
    728 HAVE_XMLTO_TEXT_TRUE
    729 XMLTO
    730 ENABLE_DOCS_FALSE
    731 ENABLE_DOCS_TRUE
    732 MAN_SUBSTS
    733 XORG_MAN_PAGE
    734 ADMIN_MAN_DIR
    735 DRIVER_MAN_DIR
    736 MISC_MAN_DIR
    737 FILE_MAN_DIR
    738 LIB_MAN_DIR
    739 APP_MAN_DIR
    740 ADMIN_MAN_SUFFIX
    741 DRIVER_MAN_SUFFIX
    742 MISC_MAN_SUFFIX
    743 FILE_MAN_SUFFIX
    744 LIB_MAN_SUFFIX
    745 APP_MAN_SUFFIX
    746 INSTALL_CMD
    747 PKG_CONFIG
    748 CHANGELOG_CMD
    749 STRICT_CFLAGS
    750 CWARNFLAGS
    751 BASE_CFLAGS
    752 OTOOL64
    753 OTOOL
    754 LIPO
    755 NMEDIT
    756 DSYMUTIL
    757 MANIFEST_TOOL
    758 RANLIB
    759 ac_ct_AR
    760 AR
    761 LN_S
    762 NM
    763 ac_ct_DUMPBIN
    764 DUMPBIN
    765 LD
    766 FGREP
    767 SED
    768 LIBTOOL
    769 OBJDUMP
    770 DLLTOOL
    771 AS
    772 host_os
    773 host_vendor
    774 host_cpu
    775 host
    776 build_os
    777 build_vendor
    778 build_cpu
    779 build
    780 AM_BACKSLASH
    781 AM_DEFAULT_VERBOSITY
    782 AM_DEFAULT_V
    783 AM_V
    784 am__fastdepCC_FALSE
    785 am__fastdepCC_TRUE
    786 CCDEPMODE
    787 am__nodep
    788 AMDEPBACKSLASH
    789 AMDEP_FALSE
    790 AMDEP_TRUE
    791 am__quote
    792 am__include
    793 DEPDIR
    794 am__untar
    795 am__tar
    796 AMTAR
    797 am__leading_dot
    798 SET_MAKE
    799 AWK
    800 mkdir_p
    801 MKDIR_P
    802 INSTALL_STRIP_PROGRAM
    803 STRIP
    804 install_sh
    805 MAKEINFO
    806 AUTOHEADER
    807 AUTOMAKE
    808 AUTOCONF
    809 ACLOCAL
    810 VERSION
    811 PACKAGE
    812 CYGPATH_W
    813 am__isrc
    814 INSTALL_DATA
    815 INSTALL_SCRIPT
    816 INSTALL_PROGRAM
    817 EGREP
    818 GREP
    819 CPP
    820 OBJEXT
    821 EXEEXT
    822 ac_ct_CC
    823 CPPFLAGS
    824 LDFLAGS
    825 CFLAGS
    826 CC
    827 target_alias
    828 host_alias
    829 build_alias
    830 LIBS
    831 ECHO_T
    832 ECHO_N
    833 ECHO_C
    834 DEFS
    835 mandir
    836 localedir
    837 libdir
    838 psdir
    839 pdfdir
    840 dvidir
    841 htmldir
    842 infodir
    843 docdir
    844 oldincludedir
    845 includedir
    846 localstatedir
    847 sharedstatedir
    848 sysconfdir
    849 datadir
    850 datarootdir
    851 libexecdir
    852 sbindir
    853 bindir
    854 program_transform_name
    855 prefix
    856 exec_prefix
    857 PACKAGE_URL
    858 PACKAGE_BUGREPORT
    859 PACKAGE_STRING
    860 PACKAGE_VERSION
    861 PACKAGE_TARNAME
    862 PACKAGE_NAME
    863 PATH_SEPARATOR
    864 SHELL'
    865 ac_subst_files=''
    866 ac_user_opts='
    867 enable_option_checking
    868 enable_dependency_tracking
    869 enable_silent_rules
    870 enable_shared
    871 enable_static
    872 with_pic
    873 enable_fast_install
    874 with_gnu_ld
    875 with_sysroot
    876 enable_libtool_lock
    877 enable_selective_werror
    878 enable_strict_compilation
    879 enable_docs
    880 with_xmlto
    881 with_fop
    882 with_xsltproc
    883 with_lint
    884 enable_lint_library
    885 enable_unit_tests
    886 '
    887       ac_precious_vars='build_alias
    888 host_alias
    889 target_alias
    890 CC
    891 CFLAGS
    892 LDFLAGS
    893 LIBS
    894 CPPFLAGS
    895 CPP
    896 PKG_CONFIG
    897 XMLTO
    898 FOP
    899 XSLTPROC
    900 XDMCP_CFLAGS
    901 XDMCP_LIBS
    902 LINT
    903 LINT_FLAGS
    904 XORG_MALLOC_DEBUG_ENV'
    905 
    906 
    907 # Initialize some variables set by options.
    908 ac_init_help=
    909 ac_init_version=false
    910 ac_unrecognized_opts=
    911 ac_unrecognized_sep=
    912 # The variables have the same names as the options, with
    913 # dashes changed to underlines.
    914 cache_file=/dev/null
    915 exec_prefix=NONE
    916 no_create=
    917 no_recursion=
    918 prefix=NONE
    919 program_prefix=NONE
    920 program_suffix=NONE
    921 program_transform_name=s,x,x,
    922 silent=
    923 site=
    924 srcdir=
    925 verbose=
    926 x_includes=NONE
    927 x_libraries=NONE
    928 
    929 # Installation directory options.
    930 # These are left unexpanded so users can "make install exec_prefix=/foo"
    931 # and all the variables that are supposed to be based on exec_prefix
    932 # by default will actually change.
    933 # Use braces instead of parens because sh, perl, etc. also accept them.
    934 # (The list follows the same order as the GNU Coding Standards.)
    935 bindir='${exec_prefix}/bin'
    936 sbindir='${exec_prefix}/sbin'
    937 libexecdir='${exec_prefix}/libexec'
    938 datarootdir='${prefix}/share'
    939 datadir='${datarootdir}'
    940 sysconfdir='${prefix}/etc'
    941 sharedstatedir='${prefix}/com'
    942 localstatedir='${prefix}/var'
    943 includedir='${prefix}/include'
    944 oldincludedir='/usr/include'
    945 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    946 infodir='${datarootdir}/info'
    947 htmldir='${docdir}'
    948 dvidir='${docdir}'
    949 pdfdir='${docdir}'
    950 psdir='${docdir}'
    951 libdir='${exec_prefix}/lib'
    952 localedir='${datarootdir}/locale'
    953 mandir='${datarootdir}/man'
    954 
    955 ac_prev=
    956 ac_dashdash=
    957 for ac_option
    958 do
    959   # If the previous option needs an argument, assign it.
    960   if test -n "$ac_prev"; then
    961     eval $ac_prev=\$ac_option
    962     ac_prev=
    963     continue
    964   fi
    965 
    966   case $ac_option in
    967   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    968   *=)   ac_optarg= ;;
    969   *)    ac_optarg=yes ;;
    970   esac
    971 
    972   # Accept the important Cygnus configure options, so we can diagnose typos.
    973 
    974   case $ac_dashdash$ac_option in
    975   --)
    976     ac_dashdash=yes ;;
    977 
    978   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    979     ac_prev=bindir ;;
    980   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    981     bindir=$ac_optarg ;;
    982 
    983   -build | --build | --buil | --bui | --bu)
    984     ac_prev=build_alias ;;
    985   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    986     build_alias=$ac_optarg ;;
    987 
    988   -cache-file | --cache-file | --cache-fil | --cache-fi \
    989   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    990     ac_prev=cache_file ;;
    991   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    992   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    993     cache_file=$ac_optarg ;;
    994 
    995   --config-cache | -C)
    996     cache_file=config.cache ;;
    997 
    998   -datadir | --datadir | --datadi | --datad)
    999     ac_prev=datadir ;;
   1000   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1001     datadir=$ac_optarg ;;
   1002 
   1003   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1004   | --dataroo | --dataro | --datar)
   1005     ac_prev=datarootdir ;;
   1006   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1007   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1008     datarootdir=$ac_optarg ;;
   1009 
   1010   -disable-* | --disable-*)
   1011     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1012     # Reject names that are not valid shell variable names.
   1013     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1014       as_fn_error $? "invalid feature name: $ac_useropt"
   1015     ac_useropt_orig=$ac_useropt
   1016     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1017     case $ac_user_opts in
   1018       *"
   1019 "enable_$ac_useropt"
   1020 "*) ;;
   1021       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1022 	 ac_unrecognized_sep=', ';;
   1023     esac
   1024     eval enable_$ac_useropt=no ;;
   1025 
   1026   -docdir | --docdir | --docdi | --doc | --do)
   1027     ac_prev=docdir ;;
   1028   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1029     docdir=$ac_optarg ;;
   1030 
   1031   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1032     ac_prev=dvidir ;;
   1033   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1034     dvidir=$ac_optarg ;;
   1035 
   1036   -enable-* | --enable-*)
   1037     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1038     # Reject names that are not valid shell variable names.
   1039     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1040       as_fn_error $? "invalid feature name: $ac_useropt"
   1041     ac_useropt_orig=$ac_useropt
   1042     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1043     case $ac_user_opts in
   1044       *"
   1045 "enable_$ac_useropt"
   1046 "*) ;;
   1047       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1048 	 ac_unrecognized_sep=', ';;
   1049     esac
   1050     eval enable_$ac_useropt=\$ac_optarg ;;
   1051 
   1052   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1053   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1054   | --exec | --exe | --ex)
   1055     ac_prev=exec_prefix ;;
   1056   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1057   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1058   | --exec=* | --exe=* | --ex=*)
   1059     exec_prefix=$ac_optarg ;;
   1060 
   1061   -gas | --gas | --ga | --g)
   1062     # Obsolete; use --with-gas.
   1063     with_gas=yes ;;
   1064 
   1065   -help | --help | --hel | --he | -h)
   1066     ac_init_help=long ;;
   1067   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1068     ac_init_help=recursive ;;
   1069   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1070     ac_init_help=short ;;
   1071 
   1072   -host | --host | --hos | --ho)
   1073     ac_prev=host_alias ;;
   1074   -host=* | --host=* | --hos=* | --ho=*)
   1075     host_alias=$ac_optarg ;;
   1076 
   1077   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1078     ac_prev=htmldir ;;
   1079   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1080   | --ht=*)
   1081     htmldir=$ac_optarg ;;
   1082 
   1083   -includedir | --includedir | --includedi | --included | --include \
   1084   | --includ | --inclu | --incl | --inc)
   1085     ac_prev=includedir ;;
   1086   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1087   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1088     includedir=$ac_optarg ;;
   1089 
   1090   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1091     ac_prev=infodir ;;
   1092   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1093     infodir=$ac_optarg ;;
   1094 
   1095   -libdir | --libdir | --libdi | --libd)
   1096     ac_prev=libdir ;;
   1097   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1098     libdir=$ac_optarg ;;
   1099 
   1100   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1101   | --libexe | --libex | --libe)
   1102     ac_prev=libexecdir ;;
   1103   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1104   | --libexe=* | --libex=* | --libe=*)
   1105     libexecdir=$ac_optarg ;;
   1106 
   1107   -localedir | --localedir | --localedi | --localed | --locale)
   1108     ac_prev=localedir ;;
   1109   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1110     localedir=$ac_optarg ;;
   1111 
   1112   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1113   | --localstate | --localstat | --localsta | --localst | --locals)
   1114     ac_prev=localstatedir ;;
   1115   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1116   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1117     localstatedir=$ac_optarg ;;
   1118 
   1119   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1120     ac_prev=mandir ;;
   1121   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1122     mandir=$ac_optarg ;;
   1123 
   1124   -nfp | --nfp | --nf)
   1125     # Obsolete; use --without-fp.
   1126     with_fp=no ;;
   1127 
   1128   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1129   | --no-cr | --no-c | -n)
   1130     no_create=yes ;;
   1131 
   1132   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1133   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1134     no_recursion=yes ;;
   1135 
   1136   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1137   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1138   | --oldin | --oldi | --old | --ol | --o)
   1139     ac_prev=oldincludedir ;;
   1140   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1141   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1142   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1143     oldincludedir=$ac_optarg ;;
   1144 
   1145   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1146     ac_prev=prefix ;;
   1147   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1148     prefix=$ac_optarg ;;
   1149 
   1150   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1151   | --program-pre | --program-pr | --program-p)
   1152     ac_prev=program_prefix ;;
   1153   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1154   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1155     program_prefix=$ac_optarg ;;
   1156 
   1157   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1158   | --program-suf | --program-su | --program-s)
   1159     ac_prev=program_suffix ;;
   1160   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1161   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1162     program_suffix=$ac_optarg ;;
   1163 
   1164   -program-transform-name | --program-transform-name \
   1165   | --program-transform-nam | --program-transform-na \
   1166   | --program-transform-n | --program-transform- \
   1167   | --program-transform | --program-transfor \
   1168   | --program-transfo | --program-transf \
   1169   | --program-trans | --program-tran \
   1170   | --progr-tra | --program-tr | --program-t)
   1171     ac_prev=program_transform_name ;;
   1172   -program-transform-name=* | --program-transform-name=* \
   1173   | --program-transform-nam=* | --program-transform-na=* \
   1174   | --program-transform-n=* | --program-transform-=* \
   1175   | --program-transform=* | --program-transfor=* \
   1176   | --program-transfo=* | --program-transf=* \
   1177   | --program-trans=* | --program-tran=* \
   1178   | --progr-tra=* | --program-tr=* | --program-t=*)
   1179     program_transform_name=$ac_optarg ;;
   1180 
   1181   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1182     ac_prev=pdfdir ;;
   1183   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1184     pdfdir=$ac_optarg ;;
   1185 
   1186   -psdir | --psdir | --psdi | --psd | --ps)
   1187     ac_prev=psdir ;;
   1188   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1189     psdir=$ac_optarg ;;
   1190 
   1191   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1192   | -silent | --silent | --silen | --sile | --sil)
   1193     silent=yes ;;
   1194 
   1195   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1196     ac_prev=sbindir ;;
   1197   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1198   | --sbi=* | --sb=*)
   1199     sbindir=$ac_optarg ;;
   1200 
   1201   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1202   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1203   | --sharedst | --shareds | --shared | --share | --shar \
   1204   | --sha | --sh)
   1205     ac_prev=sharedstatedir ;;
   1206   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1207   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1208   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1209   | --sha=* | --sh=*)
   1210     sharedstatedir=$ac_optarg ;;
   1211 
   1212   -site | --site | --sit)
   1213     ac_prev=site ;;
   1214   -site=* | --site=* | --sit=*)
   1215     site=$ac_optarg ;;
   1216 
   1217   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1218     ac_prev=srcdir ;;
   1219   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1220     srcdir=$ac_optarg ;;
   1221 
   1222   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1223   | --syscon | --sysco | --sysc | --sys | --sy)
   1224     ac_prev=sysconfdir ;;
   1225   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1226   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1227     sysconfdir=$ac_optarg ;;
   1228 
   1229   -target | --target | --targe | --targ | --tar | --ta | --t)
   1230     ac_prev=target_alias ;;
   1231   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1232     target_alias=$ac_optarg ;;
   1233 
   1234   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1235     verbose=yes ;;
   1236 
   1237   -version | --version | --versio | --versi | --vers | -V)
   1238     ac_init_version=: ;;
   1239 
   1240   -with-* | --with-*)
   1241     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1242     # Reject names that are not valid shell variable names.
   1243     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1244       as_fn_error $? "invalid package name: $ac_useropt"
   1245     ac_useropt_orig=$ac_useropt
   1246     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1247     case $ac_user_opts in
   1248       *"
   1249 "with_$ac_useropt"
   1250 "*) ;;
   1251       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1252 	 ac_unrecognized_sep=', ';;
   1253     esac
   1254     eval with_$ac_useropt=\$ac_optarg ;;
   1255 
   1256   -without-* | --without-*)
   1257     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1258     # Reject names that are not valid shell variable names.
   1259     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1260       as_fn_error $? "invalid package name: $ac_useropt"
   1261     ac_useropt_orig=$ac_useropt
   1262     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1263     case $ac_user_opts in
   1264       *"
   1265 "with_$ac_useropt"
   1266 "*) ;;
   1267       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1268 	 ac_unrecognized_sep=', ';;
   1269     esac
   1270     eval with_$ac_useropt=no ;;
   1271 
   1272   --x)
   1273     # Obsolete; use --with-x.
   1274     with_x=yes ;;
   1275 
   1276   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1277   | --x-incl | --x-inc | --x-in | --x-i)
   1278     ac_prev=x_includes ;;
   1279   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1280   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1281     x_includes=$ac_optarg ;;
   1282 
   1283   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1284   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1285     ac_prev=x_libraries ;;
   1286   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1287   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1288     x_libraries=$ac_optarg ;;
   1289 
   1290   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1291 Try \`$0 --help' for more information"
   1292     ;;
   1293 
   1294   *=*)
   1295     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1296     # Reject names that are not valid shell variable names.
   1297     case $ac_envvar in #(
   1298       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1299       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1300     esac
   1301     eval $ac_envvar=\$ac_optarg
   1302     export $ac_envvar ;;
   1303 
   1304   *)
   1305     # FIXME: should be removed in autoconf 3.0.
   1306     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1307     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1308       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1309     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1310     ;;
   1311 
   1312   esac
   1313 done
   1314 
   1315 if test -n "$ac_prev"; then
   1316   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1317   as_fn_error $? "missing argument to $ac_option"
   1318 fi
   1319 
   1320 if test -n "$ac_unrecognized_opts"; then
   1321   case $enable_option_checking in
   1322     no) ;;
   1323     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1324     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1325   esac
   1326 fi
   1327 
   1328 # Check all directory arguments for consistency.
   1329 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1330 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1331 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1332 		libdir localedir mandir
   1333 do
   1334   eval ac_val=\$$ac_var
   1335   # Remove trailing slashes.
   1336   case $ac_val in
   1337     */ )
   1338       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1339       eval $ac_var=\$ac_val;;
   1340   esac
   1341   # Be sure to have absolute directory names.
   1342   case $ac_val in
   1343     [\\/$]* | ?:[\\/]* )  continue;;
   1344     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1345   esac
   1346   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1347 done
   1348 
   1349 # There might be people who depend on the old broken behavior: `$host'
   1350 # used to hold the argument of --host etc.
   1351 # FIXME: To remove some day.
   1352 build=$build_alias
   1353 host=$host_alias
   1354 target=$target_alias
   1355 
   1356 # FIXME: To remove some day.
   1357 if test "x$host_alias" != x; then
   1358   if test "x$build_alias" = x; then
   1359     cross_compiling=maybe
   1360   elif test "x$build_alias" != "x$host_alias"; then
   1361     cross_compiling=yes
   1362   fi
   1363 fi
   1364 
   1365 ac_tool_prefix=
   1366 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1367 
   1368 test "$silent" = yes && exec 6>/dev/null
   1369 
   1370 
   1371 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1372 ac_ls_di=`ls -di .` &&
   1373 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1374   as_fn_error $? "working directory cannot be determined"
   1375 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1376   as_fn_error $? "pwd does not report name of working directory"
   1377 
   1378 
   1379 # Find the source files, if location was not specified.
   1380 if test -z "$srcdir"; then
   1381   ac_srcdir_defaulted=yes
   1382   # Try the directory containing this script, then the parent directory.
   1383   ac_confdir=`$as_dirname -- "$as_myself" ||
   1384 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1385 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1386 	 X"$as_myself" : 'X\(//\)$' \| \
   1387 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1388 $as_echo X"$as_myself" |
   1389     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1390 	    s//\1/
   1391 	    q
   1392 	  }
   1393 	  /^X\(\/\/\)[^/].*/{
   1394 	    s//\1/
   1395 	    q
   1396 	  }
   1397 	  /^X\(\/\/\)$/{
   1398 	    s//\1/
   1399 	    q
   1400 	  }
   1401 	  /^X\(\/\).*/{
   1402 	    s//\1/
   1403 	    q
   1404 	  }
   1405 	  s/.*/./; q'`
   1406   srcdir=$ac_confdir
   1407   if test ! -r "$srcdir/$ac_unique_file"; then
   1408     srcdir=..
   1409   fi
   1410 else
   1411   ac_srcdir_defaulted=no
   1412 fi
   1413 if test ! -r "$srcdir/$ac_unique_file"; then
   1414   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1415   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1416 fi
   1417 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1418 ac_abs_confdir=`(
   1419 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1420 	pwd)`
   1421 # When building in place, set srcdir=.
   1422 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1423   srcdir=.
   1424 fi
   1425 # Remove unnecessary trailing slashes from srcdir.
   1426 # Double slashes in file names in object file debugging info
   1427 # mess up M-x gdb in Emacs.
   1428 case $srcdir in
   1429 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1430 esac
   1431 for ac_var in $ac_precious_vars; do
   1432   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1433   eval ac_env_${ac_var}_value=\$${ac_var}
   1434   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1435   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1436 done
   1437 
   1438 #
   1439 # Report the --help message.
   1440 #
   1441 if test "$ac_init_help" = "long"; then
   1442   # Omit some internal or obsolete options to make the list less imposing.
   1443   # This message is too long to be a string in the A/UX 3.1 sh.
   1444   cat <<_ACEOF
   1445 \`configure' configures libXdmcp 1.1.2 to adapt to many kinds of systems.
   1446 
   1447 Usage: $0 [OPTION]... [VAR=VALUE]...
   1448 
   1449 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1450 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1451 
   1452 Defaults for the options are specified in brackets.
   1453 
   1454 Configuration:
   1455   -h, --help              display this help and exit
   1456       --help=short        display options specific to this package
   1457       --help=recursive    display the short help of all the included packages
   1458   -V, --version           display version information and exit
   1459   -q, --quiet, --silent   do not print \`checking ...' messages
   1460       --cache-file=FILE   cache test results in FILE [disabled]
   1461   -C, --config-cache      alias for \`--cache-file=config.cache'
   1462   -n, --no-create         do not create output files
   1463       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1464 
   1465 Installation directories:
   1466   --prefix=PREFIX         install architecture-independent files in PREFIX
   1467                           [$ac_default_prefix]
   1468   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1469                           [PREFIX]
   1470 
   1471 By default, \`make install' will install all the files in
   1472 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1473 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1474 for instance \`--prefix=\$HOME'.
   1475 
   1476 For better control, use the options below.
   1477 
   1478 Fine tuning of the installation directories:
   1479   --bindir=DIR            user executables [EPREFIX/bin]
   1480   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1481   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1482   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1483   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1484   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1485   --libdir=DIR            object code libraries [EPREFIX/lib]
   1486   --includedir=DIR        C header files [PREFIX/include]
   1487   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1488   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1489   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1490   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1491   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1492   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1493   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXdmcp]
   1494   --htmldir=DIR           html documentation [DOCDIR]
   1495   --dvidir=DIR            dvi documentation [DOCDIR]
   1496   --pdfdir=DIR            pdf documentation [DOCDIR]
   1497   --psdir=DIR             ps documentation [DOCDIR]
   1498 _ACEOF
   1499 
   1500   cat <<\_ACEOF
   1501 
   1502 Program names:
   1503   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1504   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1505   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1506 
   1507 System types:
   1508   --build=BUILD     configure for building on BUILD [guessed]
   1509   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1510 _ACEOF
   1511 fi
   1512 
   1513 if test -n "$ac_init_help"; then
   1514   case $ac_init_help in
   1515      short | recursive ) echo "Configuration of libXdmcp 1.1.2:";;
   1516    esac
   1517   cat <<\_ACEOF
   1518 
   1519 Optional Features:
   1520   --disable-option-checking  ignore unrecognized --enable/--with options
   1521   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1522   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1523   --enable-dependency-tracking
   1524                           do not reject slow dependency extractors
   1525   --disable-dependency-tracking
   1526                           speeds up one-time build
   1527   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1528   --disable-silent-rules  verbose build output (undo: "make V=0")
   1529   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1530   --enable-static[=PKGS]  build static libraries [default=yes]
   1531   --enable-fast-install[=PKGS]
   1532                           optimize for fast installation [default=yes]
   1533   --disable-libtool-lock  avoid locking (might break parallel builds)
   1534   --disable-selective-werror
   1535                           Turn off selective compiler errors. (default:
   1536                           enabled)
   1537   --enable-strict-compilation
   1538                           Enable all warnings from compiler and make them
   1539                           errors (default: disabled)
   1540   --enable-docs           Enable building the documentation (default: yes)
   1541   --enable-lint-library   Create lint library (default: disabled)
   1542   --enable-unit-tests     Enable building unit test cases (default: yes)
   1543 
   1544 Optional Packages:
   1545   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1546   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1547   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1548                           both]
   1549   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1550   --with-sysroot=DIR Search for dependent libraries within DIR
   1551                         (or the compiler's sysroot if not specified).
   1552   --with-xmlto            Use xmlto to regenerate documentation (default:
   1553                           auto)
   1554   --with-fop              Use fop to regenerate documentation (default: auto)
   1555   --with-xsltproc         Use xsltproc for the transformation of XML documents
   1556                           (default: auto)
   1557   --with-lint             Use a lint-style source code checker (default:
   1558                           disabled)
   1559 
   1560 Some influential environment variables:
   1561   CC          C compiler command
   1562   CFLAGS      C compiler flags
   1563   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1564               nonstandard directory <lib dir>
   1565   LIBS        libraries to pass to the linker, e.g. -l<library>
   1566   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1567               you have headers in a nonstandard directory <include dir>
   1568   CPP         C preprocessor
   1569   PKG_CONFIG  path to pkg-config utility
   1570   XMLTO       Path to xmlto command
   1571   FOP         Path to fop command
   1572   XSLTPROC    Path to xsltproc command
   1573   XDMCP_CFLAGS
   1574               C compiler flags for XDMCP, overriding pkg-config
   1575   XDMCP_LIBS  linker flags for XDMCP, overriding pkg-config
   1576   LINT        Path to a lint-style command
   1577   LINT_FLAGS  Flags for the lint-style command
   1578   XORG_MALLOC_DEBUG_ENV
   1579               Environment variables to enable memory checking in tests
   1580 
   1581 Use these variables to override the choices made by `configure' or to help
   1582 it to find libraries and programs with nonstandard names/locations.
   1583 
   1584 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1585 _ACEOF
   1586 ac_status=$?
   1587 fi
   1588 
   1589 if test "$ac_init_help" = "recursive"; then
   1590   # If there are subdirs, report their specific --help.
   1591   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1592     test -d "$ac_dir" ||
   1593       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1594       continue
   1595     ac_builddir=.
   1596 
   1597 case "$ac_dir" in
   1598 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1599 *)
   1600   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1601   # A ".." for each directory in $ac_dir_suffix.
   1602   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1603   case $ac_top_builddir_sub in
   1604   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1605   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1606   esac ;;
   1607 esac
   1608 ac_abs_top_builddir=$ac_pwd
   1609 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1610 # for backward compatibility:
   1611 ac_top_builddir=$ac_top_build_prefix
   1612 
   1613 case $srcdir in
   1614   .)  # We are building in place.
   1615     ac_srcdir=.
   1616     ac_top_srcdir=$ac_top_builddir_sub
   1617     ac_abs_top_srcdir=$ac_pwd ;;
   1618   [\\/]* | ?:[\\/]* )  # Absolute name.
   1619     ac_srcdir=$srcdir$ac_dir_suffix;
   1620     ac_top_srcdir=$srcdir
   1621     ac_abs_top_srcdir=$srcdir ;;
   1622   *) # Relative name.
   1623     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1624     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1625     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1626 esac
   1627 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1628 
   1629     cd "$ac_dir" || { ac_status=$?; continue; }
   1630     # Check for guested configure.
   1631     if test -f "$ac_srcdir/configure.gnu"; then
   1632       echo &&
   1633       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1634     elif test -f "$ac_srcdir/configure"; then
   1635       echo &&
   1636       $SHELL "$ac_srcdir/configure" --help=recursive
   1637     else
   1638       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1639     fi || ac_status=$?
   1640     cd "$ac_pwd" || { ac_status=$?; break; }
   1641   done
   1642 fi
   1643 
   1644 test -n "$ac_init_help" && exit $ac_status
   1645 if $ac_init_version; then
   1646   cat <<\_ACEOF
   1647 libXdmcp configure 1.1.2
   1648 generated by GNU Autoconf 2.69
   1649 
   1650 Copyright (C) 2012 Free Software Foundation, Inc.
   1651 This configure script is free software; the Free Software Foundation
   1652 gives unlimited permission to copy, distribute and modify it.
   1653 _ACEOF
   1654   exit
   1655 fi
   1656 
   1657 ## ------------------------ ##
   1658 ## Autoconf initialization. ##
   1659 ## ------------------------ ##
   1660 
   1661 # ac_fn_c_try_compile LINENO
   1662 # --------------------------
   1663 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1664 ac_fn_c_try_compile ()
   1665 {
   1666   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1667   rm -f conftest.$ac_objext
   1668   if { { ac_try="$ac_compile"
   1669 case "(($ac_try" in
   1670   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1671   *) ac_try_echo=$ac_try;;
   1672 esac
   1673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1674 $as_echo "$ac_try_echo"; } >&5
   1675   (eval "$ac_compile") 2>conftest.err
   1676   ac_status=$?
   1677   if test -s conftest.err; then
   1678     grep -v '^ *+' conftest.err >conftest.er1
   1679     cat conftest.er1 >&5
   1680     mv -f conftest.er1 conftest.err
   1681   fi
   1682   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1683   test $ac_status = 0; } && {
   1684 	 test -z "$ac_c_werror_flag" ||
   1685 	 test ! -s conftest.err
   1686        } && test -s conftest.$ac_objext; then :
   1687   ac_retval=0
   1688 else
   1689   $as_echo "$as_me: failed program was:" >&5
   1690 sed 's/^/| /' conftest.$ac_ext >&5
   1691 
   1692 	ac_retval=1
   1693 fi
   1694   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1695   as_fn_set_status $ac_retval
   1696 
   1697 } # ac_fn_c_try_compile
   1698 
   1699 # ac_fn_c_try_cpp LINENO
   1700 # ----------------------
   1701 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1702 ac_fn_c_try_cpp ()
   1703 {
   1704   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1705   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1706 case "(($ac_try" in
   1707   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1708   *) ac_try_echo=$ac_try;;
   1709 esac
   1710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1711 $as_echo "$ac_try_echo"; } >&5
   1712   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1713   ac_status=$?
   1714   if test -s conftest.err; then
   1715     grep -v '^ *+' conftest.err >conftest.er1
   1716     cat conftest.er1 >&5
   1717     mv -f conftest.er1 conftest.err
   1718   fi
   1719   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1720   test $ac_status = 0; } > conftest.i && {
   1721 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1722 	 test ! -s conftest.err
   1723        }; then :
   1724   ac_retval=0
   1725 else
   1726   $as_echo "$as_me: failed program was:" >&5
   1727 sed 's/^/| /' conftest.$ac_ext >&5
   1728 
   1729     ac_retval=1
   1730 fi
   1731   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1732   as_fn_set_status $ac_retval
   1733 
   1734 } # ac_fn_c_try_cpp
   1735 
   1736 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1737 # -------------------------------------------------------
   1738 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1739 # the include files in INCLUDES and setting the cache variable VAR
   1740 # accordingly.
   1741 ac_fn_c_check_header_mongrel ()
   1742 {
   1743   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1744   if eval \${$3+:} false; then :
   1745   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1746 $as_echo_n "checking for $2... " >&6; }
   1747 if eval \${$3+:} false; then :
   1748   $as_echo_n "(cached) " >&6
   1749 fi
   1750 eval ac_res=\$$3
   1751 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1752 $as_echo "$ac_res" >&6; }
   1753 else
   1754   # Is the header compilable?
   1755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1756 $as_echo_n "checking $2 usability... " >&6; }
   1757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1758 /* end confdefs.h.  */
   1759 $4
   1760 #include <$2>
   1761 _ACEOF
   1762 if ac_fn_c_try_compile "$LINENO"; then :
   1763   ac_header_compiler=yes
   1764 else
   1765   ac_header_compiler=no
   1766 fi
   1767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1769 $as_echo "$ac_header_compiler" >&6; }
   1770 
   1771 # Is the header present?
   1772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1773 $as_echo_n "checking $2 presence... " >&6; }
   1774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1775 /* end confdefs.h.  */
   1776 #include <$2>
   1777 _ACEOF
   1778 if ac_fn_c_try_cpp "$LINENO"; then :
   1779   ac_header_preproc=yes
   1780 else
   1781   ac_header_preproc=no
   1782 fi
   1783 rm -f conftest.err conftest.i conftest.$ac_ext
   1784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1785 $as_echo "$ac_header_preproc" >&6; }
   1786 
   1787 # So?  What about this header?
   1788 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1789   yes:no: )
   1790     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1791 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1792     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1793 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1794     ;;
   1795   no:yes:* )
   1796     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1797 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1798     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1799 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1800     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1801 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1802     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1803 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1804     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1805 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1806 ( $as_echo "## ---------------------------------------------------------------------- ##
   1807 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   1808 ## ---------------------------------------------------------------------- ##"
   1809      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1810     ;;
   1811 esac
   1812   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1813 $as_echo_n "checking for $2... " >&6; }
   1814 if eval \${$3+:} false; then :
   1815   $as_echo_n "(cached) " >&6
   1816 else
   1817   eval "$3=\$ac_header_compiler"
   1818 fi
   1819 eval ac_res=\$$3
   1820 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1821 $as_echo "$ac_res" >&6; }
   1822 fi
   1823   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1824 
   1825 } # ac_fn_c_check_header_mongrel
   1826 
   1827 # ac_fn_c_try_run LINENO
   1828 # ----------------------
   1829 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1830 # that executables *can* be run.
   1831 ac_fn_c_try_run ()
   1832 {
   1833   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1834   if { { ac_try="$ac_link"
   1835 case "(($ac_try" in
   1836   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1837   *) ac_try_echo=$ac_try;;
   1838 esac
   1839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1840 $as_echo "$ac_try_echo"; } >&5
   1841   (eval "$ac_link") 2>&5
   1842   ac_status=$?
   1843   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1844   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1845   { { case "(($ac_try" in
   1846   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1847   *) ac_try_echo=$ac_try;;
   1848 esac
   1849 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1850 $as_echo "$ac_try_echo"; } >&5
   1851   (eval "$ac_try") 2>&5
   1852   ac_status=$?
   1853   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1854   test $ac_status = 0; }; }; then :
   1855   ac_retval=0
   1856 else
   1857   $as_echo "$as_me: program exited with status $ac_status" >&5
   1858        $as_echo "$as_me: failed program was:" >&5
   1859 sed 's/^/| /' conftest.$ac_ext >&5
   1860 
   1861        ac_retval=$ac_status
   1862 fi
   1863   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1864   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1865   as_fn_set_status $ac_retval
   1866 
   1867 } # ac_fn_c_try_run
   1868 
   1869 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1870 # -------------------------------------------------------
   1871 # Tests whether HEADER exists and can be compiled using the include files in
   1872 # INCLUDES, setting the cache variable VAR accordingly.
   1873 ac_fn_c_check_header_compile ()
   1874 {
   1875   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1876   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1877 $as_echo_n "checking for $2... " >&6; }
   1878 if eval \${$3+:} false; then :
   1879   $as_echo_n "(cached) " >&6
   1880 else
   1881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1882 /* end confdefs.h.  */
   1883 $4
   1884 #include <$2>
   1885 _ACEOF
   1886 if ac_fn_c_try_compile "$LINENO"; then :
   1887   eval "$3=yes"
   1888 else
   1889   eval "$3=no"
   1890 fi
   1891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1892 fi
   1893 eval ac_res=\$$3
   1894 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1895 $as_echo "$ac_res" >&6; }
   1896   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1897 
   1898 } # ac_fn_c_check_header_compile
   1899 
   1900 # ac_fn_c_try_link LINENO
   1901 # -----------------------
   1902 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1903 ac_fn_c_try_link ()
   1904 {
   1905   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1906   rm -f conftest.$ac_objext conftest$ac_exeext
   1907   if { { ac_try="$ac_link"
   1908 case "(($ac_try" in
   1909   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1910   *) ac_try_echo=$ac_try;;
   1911 esac
   1912 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1913 $as_echo "$ac_try_echo"; } >&5
   1914   (eval "$ac_link") 2>conftest.err
   1915   ac_status=$?
   1916   if test -s conftest.err; then
   1917     grep -v '^ *+' conftest.err >conftest.er1
   1918     cat conftest.er1 >&5
   1919     mv -f conftest.er1 conftest.err
   1920   fi
   1921   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1922   test $ac_status = 0; } && {
   1923 	 test -z "$ac_c_werror_flag" ||
   1924 	 test ! -s conftest.err
   1925        } && test -s conftest$ac_exeext && {
   1926 	 test "$cross_compiling" = yes ||
   1927 	 test -x conftest$ac_exeext
   1928        }; then :
   1929   ac_retval=0
   1930 else
   1931   $as_echo "$as_me: failed program was:" >&5
   1932 sed 's/^/| /' conftest.$ac_ext >&5
   1933 
   1934 	ac_retval=1
   1935 fi
   1936   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1937   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1938   # interfere with the next link command; also delete a directory that is
   1939   # left behind by Apple's compiler.  We do this before executing the actions.
   1940   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1941   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1942   as_fn_set_status $ac_retval
   1943 
   1944 } # ac_fn_c_try_link
   1945 
   1946 # ac_fn_c_check_func LINENO FUNC VAR
   1947 # ----------------------------------
   1948 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1949 ac_fn_c_check_func ()
   1950 {
   1951   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1952   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1953 $as_echo_n "checking for $2... " >&6; }
   1954 if eval \${$3+:} false; then :
   1955   $as_echo_n "(cached) " >&6
   1956 else
   1957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1958 /* end confdefs.h.  */
   1959 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1960    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1961 #define $2 innocuous_$2
   1962 
   1963 /* System header to define __stub macros and hopefully few prototypes,
   1964     which can conflict with char $2 (); below.
   1965     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1966     <limits.h> exists even on freestanding compilers.  */
   1967 
   1968 #ifdef __STDC__
   1969 # include <limits.h>
   1970 #else
   1971 # include <assert.h>
   1972 #endif
   1973 
   1974 #undef $2
   1975 
   1976 /* Override any GCC internal prototype to avoid an error.
   1977    Use char because int might match the return type of a GCC
   1978    builtin and then its argument prototype would still apply.  */
   1979 #ifdef __cplusplus
   1980 extern "C"
   1981 #endif
   1982 char $2 ();
   1983 /* The GNU C library defines this for functions which it implements
   1984     to always fail with ENOSYS.  Some functions are actually named
   1985     something starting with __ and the normal name is an alias.  */
   1986 #if defined __stub_$2 || defined __stub___$2
   1987 choke me
   1988 #endif
   1989 
   1990 int
   1991 main ()
   1992 {
   1993 return $2 ();
   1994   ;
   1995   return 0;
   1996 }
   1997 _ACEOF
   1998 if ac_fn_c_try_link "$LINENO"; then :
   1999   eval "$3=yes"
   2000 else
   2001   eval "$3=no"
   2002 fi
   2003 rm -f core conftest.err conftest.$ac_objext \
   2004     conftest$ac_exeext conftest.$ac_ext
   2005 fi
   2006 eval ac_res=\$$3
   2007 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2008 $as_echo "$ac_res" >&6; }
   2009   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2010 
   2011 } # ac_fn_c_check_func
   2012 
   2013 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   2014 # ---------------------------------------------
   2015 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   2016 # accordingly.
   2017 ac_fn_c_check_decl ()
   2018 {
   2019   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2020   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2021   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2022   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2023 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   2024 if eval \${$3+:} false; then :
   2025   $as_echo_n "(cached) " >&6
   2026 else
   2027   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2028 /* end confdefs.h.  */
   2029 $4
   2030 int
   2031 main ()
   2032 {
   2033 #ifndef $as_decl_name
   2034 #ifdef __cplusplus
   2035   (void) $as_decl_use;
   2036 #else
   2037   (void) $as_decl_name;
   2038 #endif
   2039 #endif
   2040 
   2041   ;
   2042   return 0;
   2043 }
   2044 _ACEOF
   2045 if ac_fn_c_try_compile "$LINENO"; then :
   2046   eval "$3=yes"
   2047 else
   2048   eval "$3=no"
   2049 fi
   2050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2051 fi
   2052 eval ac_res=\$$3
   2053 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2054 $as_echo "$ac_res" >&6; }
   2055   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2056 
   2057 } # ac_fn_c_check_decl
   2058 cat >config.log <<_ACEOF
   2059 This file contains any messages produced by compilers while
   2060 running configure, to aid debugging if configure makes a mistake.
   2061 
   2062 It was created by libXdmcp $as_me 1.1.2, which was
   2063 generated by GNU Autoconf 2.69.  Invocation command line was
   2064 
   2065   $ $0 $@
   2066 
   2067 _ACEOF
   2068 exec 5>>config.log
   2069 {
   2070 cat <<_ASUNAME
   2071 ## --------- ##
   2072 ## Platform. ##
   2073 ## --------- ##
   2074 
   2075 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2076 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2077 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2078 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2079 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2080 
   2081 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2082 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2083 
   2084 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2085 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2086 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2087 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2088 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2089 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2090 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2091 
   2092 _ASUNAME
   2093 
   2094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2095 for as_dir in $PATH
   2096 do
   2097   IFS=$as_save_IFS
   2098   test -z "$as_dir" && as_dir=.
   2099     $as_echo "PATH: $as_dir"
   2100   done
   2101 IFS=$as_save_IFS
   2102 
   2103 } >&5
   2104 
   2105 cat >&5 <<_ACEOF
   2106 
   2107 
   2108 ## ----------- ##
   2109 ## Core tests. ##
   2110 ## ----------- ##
   2111 
   2112 _ACEOF
   2113 
   2114 
   2115 # Keep a trace of the command line.
   2116 # Strip out --no-create and --no-recursion so they do not pile up.
   2117 # Strip out --silent because we don't want to record it for future runs.
   2118 # Also quote any args containing shell meta-characters.
   2119 # Make two passes to allow for proper duplicate-argument suppression.
   2120 ac_configure_args=
   2121 ac_configure_args0=
   2122 ac_configure_args1=
   2123 ac_must_keep_next=false
   2124 for ac_pass in 1 2
   2125 do
   2126   for ac_arg
   2127   do
   2128     case $ac_arg in
   2129     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2130     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2131     | -silent | --silent | --silen | --sile | --sil)
   2132       continue ;;
   2133     *\'*)
   2134       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2135     esac
   2136     case $ac_pass in
   2137     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2138     2)
   2139       as_fn_append ac_configure_args1 " '$ac_arg'"
   2140       if test $ac_must_keep_next = true; then
   2141 	ac_must_keep_next=false # Got value, back to normal.
   2142       else
   2143 	case $ac_arg in
   2144 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2145 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2146 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2147 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2148 	    case "$ac_configure_args0 " in
   2149 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2150 	    esac
   2151 	    ;;
   2152 	  -* ) ac_must_keep_next=true ;;
   2153 	esac
   2154       fi
   2155       as_fn_append ac_configure_args " '$ac_arg'"
   2156       ;;
   2157     esac
   2158   done
   2159 done
   2160 { ac_configure_args0=; unset ac_configure_args0;}
   2161 { ac_configure_args1=; unset ac_configure_args1;}
   2162 
   2163 # When interrupted or exit'd, cleanup temporary files, and complete
   2164 # config.log.  We remove comments because anyway the quotes in there
   2165 # would cause problems or look ugly.
   2166 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2167 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2168 trap 'exit_status=$?
   2169   # Save into config.log some information that might help in debugging.
   2170   {
   2171     echo
   2172 
   2173     $as_echo "## ---------------- ##
   2174 ## Cache variables. ##
   2175 ## ---------------- ##"
   2176     echo
   2177     # The following way of writing the cache mishandles newlines in values,
   2178 (
   2179   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2180     eval ac_val=\$$ac_var
   2181     case $ac_val in #(
   2182     *${as_nl}*)
   2183       case $ac_var in #(
   2184       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2185 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2186       esac
   2187       case $ac_var in #(
   2188       _ | IFS | as_nl) ;; #(
   2189       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2190       *) { eval $ac_var=; unset $ac_var;} ;;
   2191       esac ;;
   2192     esac
   2193   done
   2194   (set) 2>&1 |
   2195     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2196     *${as_nl}ac_space=\ *)
   2197       sed -n \
   2198 	"s/'\''/'\''\\\\'\'''\''/g;
   2199 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2200       ;; #(
   2201     *)
   2202       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2203       ;;
   2204     esac |
   2205     sort
   2206 )
   2207     echo
   2208 
   2209     $as_echo "## ----------------- ##
   2210 ## Output variables. ##
   2211 ## ----------------- ##"
   2212     echo
   2213     for ac_var in $ac_subst_vars
   2214     do
   2215       eval ac_val=\$$ac_var
   2216       case $ac_val in
   2217       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2218       esac
   2219       $as_echo "$ac_var='\''$ac_val'\''"
   2220     done | sort
   2221     echo
   2222 
   2223     if test -n "$ac_subst_files"; then
   2224       $as_echo "## ------------------- ##
   2225 ## File substitutions. ##
   2226 ## ------------------- ##"
   2227       echo
   2228       for ac_var in $ac_subst_files
   2229       do
   2230 	eval ac_val=\$$ac_var
   2231 	case $ac_val in
   2232 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2233 	esac
   2234 	$as_echo "$ac_var='\''$ac_val'\''"
   2235       done | sort
   2236       echo
   2237     fi
   2238 
   2239     if test -s confdefs.h; then
   2240       $as_echo "## ----------- ##
   2241 ## confdefs.h. ##
   2242 ## ----------- ##"
   2243       echo
   2244       cat confdefs.h
   2245       echo
   2246     fi
   2247     test "$ac_signal" != 0 &&
   2248       $as_echo "$as_me: caught signal $ac_signal"
   2249     $as_echo "$as_me: exit $exit_status"
   2250   } >&5
   2251   rm -f core *.core core.conftest.* &&
   2252     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2253     exit $exit_status
   2254 ' 0
   2255 for ac_signal in 1 2 13 15; do
   2256   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2257 done
   2258 ac_signal=0
   2259 
   2260 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2261 rm -f -r conftest* confdefs.h
   2262 
   2263 $as_echo "/* confdefs.h */" > confdefs.h
   2264 
   2265 # Predefined preprocessor variables.
   2266 
   2267 cat >>confdefs.h <<_ACEOF
   2268 #define PACKAGE_NAME "$PACKAGE_NAME"
   2269 _ACEOF
   2270 
   2271 cat >>confdefs.h <<_ACEOF
   2272 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2273 _ACEOF
   2274 
   2275 cat >>confdefs.h <<_ACEOF
   2276 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2277 _ACEOF
   2278 
   2279 cat >>confdefs.h <<_ACEOF
   2280 #define PACKAGE_STRING "$PACKAGE_STRING"
   2281 _ACEOF
   2282 
   2283 cat >>confdefs.h <<_ACEOF
   2284 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2285 _ACEOF
   2286 
   2287 cat >>confdefs.h <<_ACEOF
   2288 #define PACKAGE_URL "$PACKAGE_URL"
   2289 _ACEOF
   2290 
   2291 
   2292 # Let the site file select an alternate cache file if it wants to.
   2293 # Prefer an explicitly selected file to automatically selected ones.
   2294 ac_site_file1=NONE
   2295 ac_site_file2=NONE
   2296 if test -n "$CONFIG_SITE"; then
   2297   # We do not want a PATH search for config.site.
   2298   case $CONFIG_SITE in #((
   2299     -*)  ac_site_file1=./$CONFIG_SITE;;
   2300     */*) ac_site_file1=$CONFIG_SITE;;
   2301     *)   ac_site_file1=./$CONFIG_SITE;;
   2302   esac
   2303 elif test "x$prefix" != xNONE; then
   2304   ac_site_file1=$prefix/share/config.site
   2305   ac_site_file2=$prefix/etc/config.site
   2306 else
   2307   ac_site_file1=$ac_default_prefix/share/config.site
   2308   ac_site_file2=$ac_default_prefix/etc/config.site
   2309 fi
   2310 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2311 do
   2312   test "x$ac_site_file" = xNONE && continue
   2313   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2314     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2315 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2316     sed 's/^/| /' "$ac_site_file" >&5
   2317     . "$ac_site_file" \
   2318       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2319 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2320 as_fn_error $? "failed to load site script $ac_site_file
   2321 See \`config.log' for more details" "$LINENO" 5; }
   2322   fi
   2323 done
   2324 
   2325 if test -r "$cache_file"; then
   2326   # Some versions of bash will fail to source /dev/null (special files
   2327   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2328   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2329     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2330 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2331     case $cache_file in
   2332       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2333       *)                      . "./$cache_file";;
   2334     esac
   2335   fi
   2336 else
   2337   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2338 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2339   >$cache_file
   2340 fi
   2341 
   2342 # Check that the precious variables saved in the cache have kept the same
   2343 # value.
   2344 ac_cache_corrupted=false
   2345 for ac_var in $ac_precious_vars; do
   2346   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2347   eval ac_new_set=\$ac_env_${ac_var}_set
   2348   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2349   eval ac_new_val=\$ac_env_${ac_var}_value
   2350   case $ac_old_set,$ac_new_set in
   2351     set,)
   2352       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2353 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2354       ac_cache_corrupted=: ;;
   2355     ,set)
   2356       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2357 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2358       ac_cache_corrupted=: ;;
   2359     ,);;
   2360     *)
   2361       if test "x$ac_old_val" != "x$ac_new_val"; then
   2362 	# differences in whitespace do not lead to failure.
   2363 	ac_old_val_w=`echo x $ac_old_val`
   2364 	ac_new_val_w=`echo x $ac_new_val`
   2365 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2366 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2367 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2368 	  ac_cache_corrupted=:
   2369 	else
   2370 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2371 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2372 	  eval $ac_var=\$ac_old_val
   2373 	fi
   2374 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2375 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2376 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2377 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2378       fi;;
   2379   esac
   2380   # Pass precious variables to config.status.
   2381   if test "$ac_new_set" = set; then
   2382     case $ac_new_val in
   2383     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2384     *) ac_arg=$ac_var=$ac_new_val ;;
   2385     esac
   2386     case " $ac_configure_args " in
   2387       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2388       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2389     esac
   2390   fi
   2391 done
   2392 if $ac_cache_corrupted; then
   2393   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2394 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2395   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2396 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2397   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2398 fi
   2399 ## -------------------- ##
   2400 ## Main body of script. ##
   2401 ## -------------------- ##
   2402 
   2403 ac_ext=c
   2404 ac_cpp='$CPP $CPPFLAGS'
   2405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2408 
   2409 
   2410 
   2411 ac_config_headers="$ac_config_headers config.h"
   2412 
   2413 # Set common system defines for POSIX extensions, such as _GNU_SOURCE
   2414 # Must be called before any macros that run the compiler (like AC_PROG_LIBTOOL)
   2415 # to avoid autoconf errors.
   2416 ac_aux_dir=
   2417 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2418   if test -f "$ac_dir/install-sh"; then
   2419     ac_aux_dir=$ac_dir
   2420     ac_install_sh="$ac_aux_dir/install-sh -c"
   2421     break
   2422   elif test -f "$ac_dir/install.sh"; then
   2423     ac_aux_dir=$ac_dir
   2424     ac_install_sh="$ac_aux_dir/install.sh -c"
   2425     break
   2426   elif test -f "$ac_dir/shtool"; then
   2427     ac_aux_dir=$ac_dir
   2428     ac_install_sh="$ac_aux_dir/shtool install -c"
   2429     break
   2430   fi
   2431 done
   2432 if test -z "$ac_aux_dir"; then
   2433   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2434 fi
   2435 
   2436 # These three variables are undocumented and unsupported,
   2437 # and are intended to be withdrawn in a future Autoconf release.
   2438 # They can cause serious problems if a builder's source tree is in a directory
   2439 # whose full name contains unusual characters.
   2440 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2441 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2442 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2443 
   2444 
   2445 # Expand $ac_aux_dir to an absolute path.
   2446 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2447 
   2448 ac_ext=c
   2449 ac_cpp='$CPP $CPPFLAGS'
   2450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2453 if test -n "$ac_tool_prefix"; then
   2454   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2455 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2457 $as_echo_n "checking for $ac_word... " >&6; }
   2458 if ${ac_cv_prog_CC+:} false; then :
   2459   $as_echo_n "(cached) " >&6
   2460 else
   2461   if test -n "$CC"; then
   2462   ac_cv_prog_CC="$CC" # Let the user override the test.
   2463 else
   2464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2465 for as_dir in $PATH
   2466 do
   2467   IFS=$as_save_IFS
   2468   test -z "$as_dir" && as_dir=.
   2469     for ac_exec_ext in '' $ac_executable_extensions; do
   2470   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2471     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2472     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2473     break 2
   2474   fi
   2475 done
   2476   done
   2477 IFS=$as_save_IFS
   2478 
   2479 fi
   2480 fi
   2481 CC=$ac_cv_prog_CC
   2482 if test -n "$CC"; then
   2483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2484 $as_echo "$CC" >&6; }
   2485 else
   2486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2487 $as_echo "no" >&6; }
   2488 fi
   2489 
   2490 
   2491 fi
   2492 if test -z "$ac_cv_prog_CC"; then
   2493   ac_ct_CC=$CC
   2494   # Extract the first word of "gcc", so it can be a program name with args.
   2495 set dummy gcc; ac_word=$2
   2496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2497 $as_echo_n "checking for $ac_word... " >&6; }
   2498 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2499   $as_echo_n "(cached) " >&6
   2500 else
   2501   if test -n "$ac_ct_CC"; then
   2502   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2503 else
   2504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2505 for as_dir in $PATH
   2506 do
   2507   IFS=$as_save_IFS
   2508   test -z "$as_dir" && as_dir=.
   2509     for ac_exec_ext in '' $ac_executable_extensions; do
   2510   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2511     ac_cv_prog_ac_ct_CC="gcc"
   2512     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2513     break 2
   2514   fi
   2515 done
   2516   done
   2517 IFS=$as_save_IFS
   2518 
   2519 fi
   2520 fi
   2521 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2522 if test -n "$ac_ct_CC"; then
   2523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2524 $as_echo "$ac_ct_CC" >&6; }
   2525 else
   2526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2527 $as_echo "no" >&6; }
   2528 fi
   2529 
   2530   if test "x$ac_ct_CC" = x; then
   2531     CC=""
   2532   else
   2533     case $cross_compiling:$ac_tool_warned in
   2534 yes:)
   2535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2536 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2537 ac_tool_warned=yes ;;
   2538 esac
   2539     CC=$ac_ct_CC
   2540   fi
   2541 else
   2542   CC="$ac_cv_prog_CC"
   2543 fi
   2544 
   2545 if test -z "$CC"; then
   2546           if test -n "$ac_tool_prefix"; then
   2547     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2548 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2550 $as_echo_n "checking for $ac_word... " >&6; }
   2551 if ${ac_cv_prog_CC+:} false; then :
   2552   $as_echo_n "(cached) " >&6
   2553 else
   2554   if test -n "$CC"; then
   2555   ac_cv_prog_CC="$CC" # Let the user override the test.
   2556 else
   2557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2558 for as_dir in $PATH
   2559 do
   2560   IFS=$as_save_IFS
   2561   test -z "$as_dir" && as_dir=.
   2562     for ac_exec_ext in '' $ac_executable_extensions; do
   2563   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2564     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2565     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2566     break 2
   2567   fi
   2568 done
   2569   done
   2570 IFS=$as_save_IFS
   2571 
   2572 fi
   2573 fi
   2574 CC=$ac_cv_prog_CC
   2575 if test -n "$CC"; then
   2576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2577 $as_echo "$CC" >&6; }
   2578 else
   2579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2580 $as_echo "no" >&6; }
   2581 fi
   2582 
   2583 
   2584   fi
   2585 fi
   2586 if test -z "$CC"; then
   2587   # Extract the first word of "cc", so it can be a program name with args.
   2588 set dummy cc; ac_word=$2
   2589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2590 $as_echo_n "checking for $ac_word... " >&6; }
   2591 if ${ac_cv_prog_CC+:} false; then :
   2592   $as_echo_n "(cached) " >&6
   2593 else
   2594   if test -n "$CC"; then
   2595   ac_cv_prog_CC="$CC" # Let the user override the test.
   2596 else
   2597   ac_prog_rejected=no
   2598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2599 for as_dir in $PATH
   2600 do
   2601   IFS=$as_save_IFS
   2602   test -z "$as_dir" && as_dir=.
   2603     for ac_exec_ext in '' $ac_executable_extensions; do
   2604   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2605     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2606        ac_prog_rejected=yes
   2607        continue
   2608      fi
   2609     ac_cv_prog_CC="cc"
   2610     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2611     break 2
   2612   fi
   2613 done
   2614   done
   2615 IFS=$as_save_IFS
   2616 
   2617 if test $ac_prog_rejected = yes; then
   2618   # We found a bogon in the path, so make sure we never use it.
   2619   set dummy $ac_cv_prog_CC
   2620   shift
   2621   if test $# != 0; then
   2622     # We chose a different compiler from the bogus one.
   2623     # However, it has the same basename, so the bogon will be chosen
   2624     # first if we set CC to just the basename; use the full file name.
   2625     shift
   2626     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2627   fi
   2628 fi
   2629 fi
   2630 fi
   2631 CC=$ac_cv_prog_CC
   2632 if test -n "$CC"; then
   2633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2634 $as_echo "$CC" >&6; }
   2635 else
   2636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2637 $as_echo "no" >&6; }
   2638 fi
   2639 
   2640 
   2641 fi
   2642 if test -z "$CC"; then
   2643   if test -n "$ac_tool_prefix"; then
   2644   for ac_prog in cl.exe
   2645   do
   2646     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2647 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2649 $as_echo_n "checking for $ac_word... " >&6; }
   2650 if ${ac_cv_prog_CC+:} false; then :
   2651   $as_echo_n "(cached) " >&6
   2652 else
   2653   if test -n "$CC"; then
   2654   ac_cv_prog_CC="$CC" # Let the user override the test.
   2655 else
   2656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2657 for as_dir in $PATH
   2658 do
   2659   IFS=$as_save_IFS
   2660   test -z "$as_dir" && as_dir=.
   2661     for ac_exec_ext in '' $ac_executable_extensions; do
   2662   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2663     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2664     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2665     break 2
   2666   fi
   2667 done
   2668   done
   2669 IFS=$as_save_IFS
   2670 
   2671 fi
   2672 fi
   2673 CC=$ac_cv_prog_CC
   2674 if test -n "$CC"; then
   2675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2676 $as_echo "$CC" >&6; }
   2677 else
   2678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2679 $as_echo "no" >&6; }
   2680 fi
   2681 
   2682 
   2683     test -n "$CC" && break
   2684   done
   2685 fi
   2686 if test -z "$CC"; then
   2687   ac_ct_CC=$CC
   2688   for ac_prog in cl.exe
   2689 do
   2690   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2691 set dummy $ac_prog; ac_word=$2
   2692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2693 $as_echo_n "checking for $ac_word... " >&6; }
   2694 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2695   $as_echo_n "(cached) " >&6
   2696 else
   2697   if test -n "$ac_ct_CC"; then
   2698   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2699 else
   2700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2701 for as_dir in $PATH
   2702 do
   2703   IFS=$as_save_IFS
   2704   test -z "$as_dir" && as_dir=.
   2705     for ac_exec_ext in '' $ac_executable_extensions; do
   2706   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2707     ac_cv_prog_ac_ct_CC="$ac_prog"
   2708     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2709     break 2
   2710   fi
   2711 done
   2712   done
   2713 IFS=$as_save_IFS
   2714 
   2715 fi
   2716 fi
   2717 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2718 if test -n "$ac_ct_CC"; then
   2719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2720 $as_echo "$ac_ct_CC" >&6; }
   2721 else
   2722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2723 $as_echo "no" >&6; }
   2724 fi
   2725 
   2726 
   2727   test -n "$ac_ct_CC" && break
   2728 done
   2729 
   2730   if test "x$ac_ct_CC" = x; then
   2731     CC=""
   2732   else
   2733     case $cross_compiling:$ac_tool_warned in
   2734 yes:)
   2735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2736 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2737 ac_tool_warned=yes ;;
   2738 esac
   2739     CC=$ac_ct_CC
   2740   fi
   2741 fi
   2742 
   2743 fi
   2744 
   2745 
   2746 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2747 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2748 as_fn_error $? "no acceptable C compiler found in \$PATH
   2749 See \`config.log' for more details" "$LINENO" 5; }
   2750 
   2751 # Provide some information about the compiler.
   2752 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   2753 set X $ac_compile
   2754 ac_compiler=$2
   2755 for ac_option in --version -v -V -qversion; do
   2756   { { ac_try="$ac_compiler $ac_option >&5"
   2757 case "(($ac_try" in
   2758   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2759   *) ac_try_echo=$ac_try;;
   2760 esac
   2761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2762 $as_echo "$ac_try_echo"; } >&5
   2763   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   2764   ac_status=$?
   2765   if test -s conftest.err; then
   2766     sed '10a\
   2767 ... rest of stderr output deleted ...
   2768          10q' conftest.err >conftest.er1
   2769     cat conftest.er1 >&5
   2770   fi
   2771   rm -f conftest.er1 conftest.err
   2772   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2773   test $ac_status = 0; }
   2774 done
   2775 
   2776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2777 /* end confdefs.h.  */
   2778 
   2779 int
   2780 main ()
   2781 {
   2782 
   2783   ;
   2784   return 0;
   2785 }
   2786 _ACEOF
   2787 ac_clean_files_save=$ac_clean_files
   2788 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   2789 # Try to create an executable without -o first, disregard a.out.
   2790 # It will help us diagnose broken compilers, and finding out an intuition
   2791 # of exeext.
   2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   2793 $as_echo_n "checking whether the C compiler works... " >&6; }
   2794 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2795 
   2796 # The possible output files:
   2797 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   2798 
   2799 ac_rmfiles=
   2800 for ac_file in $ac_files
   2801 do
   2802   case $ac_file in
   2803     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2804     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2805   esac
   2806 done
   2807 rm -f $ac_rmfiles
   2808 
   2809 if { { ac_try="$ac_link_default"
   2810 case "(($ac_try" in
   2811   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2812   *) ac_try_echo=$ac_try;;
   2813 esac
   2814 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2815 $as_echo "$ac_try_echo"; } >&5
   2816   (eval "$ac_link_default") 2>&5
   2817   ac_status=$?
   2818   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2819   test $ac_status = 0; }; then :
   2820   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2821 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2822 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2823 # so that the user can short-circuit this test for compilers unknown to
   2824 # Autoconf.
   2825 for ac_file in $ac_files ''
   2826 do
   2827   test -f "$ac_file" || continue
   2828   case $ac_file in
   2829     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   2830 	;;
   2831     [ab].out )
   2832 	# We found the default executable, but exeext='' is most
   2833 	# certainly right.
   2834 	break;;
   2835     *.* )
   2836 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2837 	then :; else
   2838 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2839 	fi
   2840 	# We set ac_cv_exeext here because the later test for it is not
   2841 	# safe: cross compilers may not add the suffix if given an `-o'
   2842 	# argument, so we may need to know it at that point already.
   2843 	# Even if this section looks crufty: it has the advantage of
   2844 	# actually working.
   2845 	break;;
   2846     * )
   2847 	break;;
   2848   esac
   2849 done
   2850 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2851 
   2852 else
   2853   ac_file=''
   2854 fi
   2855 if test -z "$ac_file"; then :
   2856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2857 $as_echo "no" >&6; }
   2858 $as_echo "$as_me: failed program was:" >&5
   2859 sed 's/^/| /' conftest.$ac_ext >&5
   2860 
   2861 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2862 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2863 as_fn_error 77 "C compiler cannot create executables
   2864 See \`config.log' for more details" "$LINENO" 5; }
   2865 else
   2866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2867 $as_echo "yes" >&6; }
   2868 fi
   2869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   2870 $as_echo_n "checking for C compiler default output file name... " >&6; }
   2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   2872 $as_echo "$ac_file" >&6; }
   2873 ac_exeext=$ac_cv_exeext
   2874 
   2875 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   2876 ac_clean_files=$ac_clean_files_save
   2877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   2878 $as_echo_n "checking for suffix of executables... " >&6; }
   2879 if { { ac_try="$ac_link"
   2880 case "(($ac_try" in
   2881   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2882   *) ac_try_echo=$ac_try;;
   2883 esac
   2884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2885 $as_echo "$ac_try_echo"; } >&5
   2886   (eval "$ac_link") 2>&5
   2887   ac_status=$?
   2888   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2889   test $ac_status = 0; }; then :
   2890   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2891 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2892 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2893 # `rm'.
   2894 for ac_file in conftest.exe conftest conftest.*; do
   2895   test -f "$ac_file" || continue
   2896   case $ac_file in
   2897     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2898     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2899 	  break;;
   2900     * ) break;;
   2901   esac
   2902 done
   2903 else
   2904   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2905 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2906 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   2907 See \`config.log' for more details" "$LINENO" 5; }
   2908 fi
   2909 rm -f conftest conftest$ac_cv_exeext
   2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   2911 $as_echo "$ac_cv_exeext" >&6; }
   2912 
   2913 rm -f conftest.$ac_ext
   2914 EXEEXT=$ac_cv_exeext
   2915 ac_exeext=$EXEEXT
   2916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2917 /* end confdefs.h.  */
   2918 #include <stdio.h>
   2919 int
   2920 main ()
   2921 {
   2922 FILE *f = fopen ("conftest.out", "w");
   2923  return ferror (f) || fclose (f) != 0;
   2924 
   2925   ;
   2926   return 0;
   2927 }
   2928 _ACEOF
   2929 ac_clean_files="$ac_clean_files conftest.out"
   2930 # Check that the compiler produces executables we can run.  If not, either
   2931 # the compiler is broken, or we cross compile.
   2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   2933 $as_echo_n "checking whether we are cross compiling... " >&6; }
   2934 if test "$cross_compiling" != yes; then
   2935   { { ac_try="$ac_link"
   2936 case "(($ac_try" in
   2937   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2938   *) ac_try_echo=$ac_try;;
   2939 esac
   2940 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2941 $as_echo "$ac_try_echo"; } >&5
   2942   (eval "$ac_link") 2>&5
   2943   ac_status=$?
   2944   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2945   test $ac_status = 0; }
   2946   if { ac_try='./conftest$ac_cv_exeext'
   2947   { { case "(($ac_try" in
   2948   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2949   *) ac_try_echo=$ac_try;;
   2950 esac
   2951 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2952 $as_echo "$ac_try_echo"; } >&5
   2953   (eval "$ac_try") 2>&5
   2954   ac_status=$?
   2955   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2956   test $ac_status = 0; }; }; then
   2957     cross_compiling=no
   2958   else
   2959     if test "$cross_compiling" = maybe; then
   2960 	cross_compiling=yes
   2961     else
   2962 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2963 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2964 as_fn_error $? "cannot run C compiled programs.
   2965 If you meant to cross compile, use \`--host'.
   2966 See \`config.log' for more details" "$LINENO" 5; }
   2967     fi
   2968   fi
   2969 fi
   2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   2971 $as_echo "$cross_compiling" >&6; }
   2972 
   2973 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   2974 ac_clean_files=$ac_clean_files_save
   2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   2976 $as_echo_n "checking for suffix of object files... " >&6; }
   2977 if ${ac_cv_objext+:} false; then :
   2978   $as_echo_n "(cached) " >&6
   2979 else
   2980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2981 /* end confdefs.h.  */
   2982 
   2983 int
   2984 main ()
   2985 {
   2986 
   2987   ;
   2988   return 0;
   2989 }
   2990 _ACEOF
   2991 rm -f conftest.o conftest.obj
   2992 if { { ac_try="$ac_compile"
   2993 case "(($ac_try" in
   2994   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2995   *) ac_try_echo=$ac_try;;
   2996 esac
   2997 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2998 $as_echo "$ac_try_echo"; } >&5
   2999   (eval "$ac_compile") 2>&5
   3000   ac_status=$?
   3001   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3002   test $ac_status = 0; }; then :
   3003   for ac_file in conftest.o conftest.obj conftest.*; do
   3004   test -f "$ac_file" || continue;
   3005   case $ac_file in
   3006     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3007     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3008        break;;
   3009   esac
   3010 done
   3011 else
   3012   $as_echo "$as_me: failed program was:" >&5
   3013 sed 's/^/| /' conftest.$ac_ext >&5
   3014 
   3015 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3016 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3017 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3018 See \`config.log' for more details" "$LINENO" 5; }
   3019 fi
   3020 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3021 fi
   3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3023 $as_echo "$ac_cv_objext" >&6; }
   3024 OBJEXT=$ac_cv_objext
   3025 ac_objext=$OBJEXT
   3026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3027 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3028 if ${ac_cv_c_compiler_gnu+:} false; then :
   3029   $as_echo_n "(cached) " >&6
   3030 else
   3031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3032 /* end confdefs.h.  */
   3033 
   3034 int
   3035 main ()
   3036 {
   3037 #ifndef __GNUC__
   3038        choke me
   3039 #endif
   3040 
   3041   ;
   3042   return 0;
   3043 }
   3044 _ACEOF
   3045 if ac_fn_c_try_compile "$LINENO"; then :
   3046   ac_compiler_gnu=yes
   3047 else
   3048   ac_compiler_gnu=no
   3049 fi
   3050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3051 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3052 
   3053 fi
   3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3055 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3056 if test $ac_compiler_gnu = yes; then
   3057   GCC=yes
   3058 else
   3059   GCC=
   3060 fi
   3061 ac_test_CFLAGS=${CFLAGS+set}
   3062 ac_save_CFLAGS=$CFLAGS
   3063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3064 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3065 if ${ac_cv_prog_cc_g+:} false; then :
   3066   $as_echo_n "(cached) " >&6
   3067 else
   3068   ac_save_c_werror_flag=$ac_c_werror_flag
   3069    ac_c_werror_flag=yes
   3070    ac_cv_prog_cc_g=no
   3071    CFLAGS="-g"
   3072    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3073 /* end confdefs.h.  */
   3074 
   3075 int
   3076 main ()
   3077 {
   3078 
   3079   ;
   3080   return 0;
   3081 }
   3082 _ACEOF
   3083 if ac_fn_c_try_compile "$LINENO"; then :
   3084   ac_cv_prog_cc_g=yes
   3085 else
   3086   CFLAGS=""
   3087       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3088 /* end confdefs.h.  */
   3089 
   3090 int
   3091 main ()
   3092 {
   3093 
   3094   ;
   3095   return 0;
   3096 }
   3097 _ACEOF
   3098 if ac_fn_c_try_compile "$LINENO"; then :
   3099 
   3100 else
   3101   ac_c_werror_flag=$ac_save_c_werror_flag
   3102 	 CFLAGS="-g"
   3103 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3104 /* end confdefs.h.  */
   3105 
   3106 int
   3107 main ()
   3108 {
   3109 
   3110   ;
   3111   return 0;
   3112 }
   3113 _ACEOF
   3114 if ac_fn_c_try_compile "$LINENO"; then :
   3115   ac_cv_prog_cc_g=yes
   3116 fi
   3117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3118 fi
   3119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3120 fi
   3121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3122    ac_c_werror_flag=$ac_save_c_werror_flag
   3123 fi
   3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3125 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3126 if test "$ac_test_CFLAGS" = set; then
   3127   CFLAGS=$ac_save_CFLAGS
   3128 elif test $ac_cv_prog_cc_g = yes; then
   3129   if test "$GCC" = yes; then
   3130     CFLAGS="-g -O2"
   3131   else
   3132     CFLAGS="-g"
   3133   fi
   3134 else
   3135   if test "$GCC" = yes; then
   3136     CFLAGS="-O2"
   3137   else
   3138     CFLAGS=
   3139   fi
   3140 fi
   3141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3142 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3143 if ${ac_cv_prog_cc_c89+:} false; then :
   3144   $as_echo_n "(cached) " >&6
   3145 else
   3146   ac_cv_prog_cc_c89=no
   3147 ac_save_CC=$CC
   3148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3149 /* end confdefs.h.  */
   3150 #include <stdarg.h>
   3151 #include <stdio.h>
   3152 struct stat;
   3153 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3154 struct buf { int x; };
   3155 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3156 static char *e (p, i)
   3157      char **p;
   3158      int i;
   3159 {
   3160   return p[i];
   3161 }
   3162 static char *f (char * (*g) (char **, int), char **p, ...)
   3163 {
   3164   char *s;
   3165   va_list v;
   3166   va_start (v,p);
   3167   s = g (p, va_arg (v,int));
   3168   va_end (v);
   3169   return s;
   3170 }
   3171 
   3172 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3173    function prototypes and stuff, but not '\xHH' hex character constants.
   3174    These don't provoke an error unfortunately, instead are silently treated
   3175    as 'x'.  The following induces an error, until -std is added to get
   3176    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3177    array size at least.  It's necessary to write '\x00'==0 to get something
   3178    that's true only with -std.  */
   3179 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3180 
   3181 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3182    inside strings and character constants.  */
   3183 #define FOO(x) 'x'
   3184 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3185 
   3186 int test (int i, double x);
   3187 struct s1 {int (*f) (int a);};
   3188 struct s2 {int (*f) (double a);};
   3189 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3190 int argc;
   3191 char **argv;
   3192 int
   3193 main ()
   3194 {
   3195 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3196   ;
   3197   return 0;
   3198 }
   3199 _ACEOF
   3200 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3201 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3202 do
   3203   CC="$ac_save_CC $ac_arg"
   3204   if ac_fn_c_try_compile "$LINENO"; then :
   3205   ac_cv_prog_cc_c89=$ac_arg
   3206 fi
   3207 rm -f core conftest.err conftest.$ac_objext
   3208   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3209 done
   3210 rm -f conftest.$ac_ext
   3211 CC=$ac_save_CC
   3212 
   3213 fi
   3214 # AC_CACHE_VAL
   3215 case "x$ac_cv_prog_cc_c89" in
   3216   x)
   3217     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3218 $as_echo "none needed" >&6; } ;;
   3219   xno)
   3220     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3221 $as_echo "unsupported" >&6; } ;;
   3222   *)
   3223     CC="$CC $ac_cv_prog_cc_c89"
   3224     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3225 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3226 esac
   3227 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3228 
   3229 fi
   3230 
   3231 ac_ext=c
   3232 ac_cpp='$CPP $CPPFLAGS'
   3233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3236 
   3237 ac_ext=c
   3238 ac_cpp='$CPP $CPPFLAGS'
   3239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3243 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3244 if ${am_cv_prog_cc_c_o+:} false; then :
   3245   $as_echo_n "(cached) " >&6
   3246 else
   3247   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3248 /* end confdefs.h.  */
   3249 
   3250 int
   3251 main ()
   3252 {
   3253 
   3254   ;
   3255   return 0;
   3256 }
   3257 _ACEOF
   3258   # Make sure it works both with $CC and with simple cc.
   3259   # Following AC_PROG_CC_C_O, we do the test twice because some
   3260   # compilers refuse to overwrite an existing .o file with -o,
   3261   # though they will create one.
   3262   am_cv_prog_cc_c_o=yes
   3263   for am_i in 1 2; do
   3264     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3265    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3266    ac_status=$?
   3267    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3268    (exit $ac_status); } \
   3269          && test -f conftest2.$ac_objext; then
   3270       : OK
   3271     else
   3272       am_cv_prog_cc_c_o=no
   3273       break
   3274     fi
   3275   done
   3276   rm -f core conftest*
   3277   unset am_i
   3278 fi
   3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3280 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3281 if test "$am_cv_prog_cc_c_o" != yes; then
   3282    # Losing compiler, so override with the script.
   3283    # FIXME: It is wrong to rewrite CC.
   3284    # But if we don't then we get into trouble of one sort or another.
   3285    # A longer-term fix would be to have automake use am__CC in this case,
   3286    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3287    CC="$am_aux_dir/compile $CC"
   3288 fi
   3289 ac_ext=c
   3290 ac_cpp='$CPP $CPPFLAGS'
   3291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3294 
   3295 
   3296 
   3297 ac_ext=c
   3298 ac_cpp='$CPP $CPPFLAGS'
   3299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3303 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3304 # On Suns, sometimes $CPP names a directory.
   3305 if test -n "$CPP" && test -d "$CPP"; then
   3306   CPP=
   3307 fi
   3308 if test -z "$CPP"; then
   3309   if ${ac_cv_prog_CPP+:} false; then :
   3310   $as_echo_n "(cached) " >&6
   3311 else
   3312       # Double quotes because CPP needs to be expanded
   3313     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3314     do
   3315       ac_preproc_ok=false
   3316 for ac_c_preproc_warn_flag in '' yes
   3317 do
   3318   # Use a header file that comes with gcc, so configuring glibc
   3319   # with a fresh cross-compiler works.
   3320   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3321   # <limits.h> exists even on freestanding compilers.
   3322   # On the NeXT, cc -E runs the code through the compiler's parser,
   3323   # not just through cpp. "Syntax error" is here to catch this case.
   3324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3325 /* end confdefs.h.  */
   3326 #ifdef __STDC__
   3327 # include <limits.h>
   3328 #else
   3329 # include <assert.h>
   3330 #endif
   3331 		     Syntax error
   3332 _ACEOF
   3333 if ac_fn_c_try_cpp "$LINENO"; then :
   3334 
   3335 else
   3336   # Broken: fails on valid input.
   3337 continue
   3338 fi
   3339 rm -f conftest.err conftest.i conftest.$ac_ext
   3340 
   3341   # OK, works on sane cases.  Now check whether nonexistent headers
   3342   # can be detected and how.
   3343   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3344 /* end confdefs.h.  */
   3345 #include <ac_nonexistent.h>
   3346 _ACEOF
   3347 if ac_fn_c_try_cpp "$LINENO"; then :
   3348   # Broken: success on invalid input.
   3349 continue
   3350 else
   3351   # Passes both tests.
   3352 ac_preproc_ok=:
   3353 break
   3354 fi
   3355 rm -f conftest.err conftest.i conftest.$ac_ext
   3356 
   3357 done
   3358 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3359 rm -f conftest.i conftest.err conftest.$ac_ext
   3360 if $ac_preproc_ok; then :
   3361   break
   3362 fi
   3363 
   3364     done
   3365     ac_cv_prog_CPP=$CPP
   3366 
   3367 fi
   3368   CPP=$ac_cv_prog_CPP
   3369 else
   3370   ac_cv_prog_CPP=$CPP
   3371 fi
   3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3373 $as_echo "$CPP" >&6; }
   3374 ac_preproc_ok=false
   3375 for ac_c_preproc_warn_flag in '' yes
   3376 do
   3377   # Use a header file that comes with gcc, so configuring glibc
   3378   # with a fresh cross-compiler works.
   3379   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3380   # <limits.h> exists even on freestanding compilers.
   3381   # On the NeXT, cc -E runs the code through the compiler's parser,
   3382   # not just through cpp. "Syntax error" is here to catch this case.
   3383   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3384 /* end confdefs.h.  */
   3385 #ifdef __STDC__
   3386 # include <limits.h>
   3387 #else
   3388 # include <assert.h>
   3389 #endif
   3390 		     Syntax error
   3391 _ACEOF
   3392 if ac_fn_c_try_cpp "$LINENO"; then :
   3393 
   3394 else
   3395   # Broken: fails on valid input.
   3396 continue
   3397 fi
   3398 rm -f conftest.err conftest.i conftest.$ac_ext
   3399 
   3400   # OK, works on sane cases.  Now check whether nonexistent headers
   3401   # can be detected and how.
   3402   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3403 /* end confdefs.h.  */
   3404 #include <ac_nonexistent.h>
   3405 _ACEOF
   3406 if ac_fn_c_try_cpp "$LINENO"; then :
   3407   # Broken: success on invalid input.
   3408 continue
   3409 else
   3410   # Passes both tests.
   3411 ac_preproc_ok=:
   3412 break
   3413 fi
   3414 rm -f conftest.err conftest.i conftest.$ac_ext
   3415 
   3416 done
   3417 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3418 rm -f conftest.i conftest.err conftest.$ac_ext
   3419 if $ac_preproc_ok; then :
   3420 
   3421 else
   3422   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3423 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3424 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   3425 See \`config.log' for more details" "$LINENO" 5; }
   3426 fi
   3427 
   3428 ac_ext=c
   3429 ac_cpp='$CPP $CPPFLAGS'
   3430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3433 
   3434 
   3435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3436 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3437 if ${ac_cv_path_GREP+:} false; then :
   3438   $as_echo_n "(cached) " >&6
   3439 else
   3440   if test -z "$GREP"; then
   3441   ac_path_GREP_found=false
   3442   # Loop through the user's path and test for each of PROGNAME-LIST
   3443   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3444 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3445 do
   3446   IFS=$as_save_IFS
   3447   test -z "$as_dir" && as_dir=.
   3448     for ac_prog in grep ggrep; do
   3449     for ac_exec_ext in '' $ac_executable_extensions; do
   3450       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3451       as_fn_executable_p "$ac_path_GREP" || continue
   3452 # Check for GNU ac_path_GREP and select it if it is found.
   3453   # Check for GNU $ac_path_GREP
   3454 case `"$ac_path_GREP" --version 2>&1` in
   3455 *GNU*)
   3456   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3457 *)
   3458   ac_count=0
   3459   $as_echo_n 0123456789 >"conftest.in"
   3460   while :
   3461   do
   3462     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3463     mv "conftest.tmp" "conftest.in"
   3464     cp "conftest.in" "conftest.nl"
   3465     $as_echo 'GREP' >> "conftest.nl"
   3466     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3467     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3468     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3469     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3470       # Best one so far, save it but keep looking for a better one
   3471       ac_cv_path_GREP="$ac_path_GREP"
   3472       ac_path_GREP_max=$ac_count
   3473     fi
   3474     # 10*(2^10) chars as input seems more than enough
   3475     test $ac_count -gt 10 && break
   3476   done
   3477   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3478 esac
   3479 
   3480       $ac_path_GREP_found && break 3
   3481     done
   3482   done
   3483   done
   3484 IFS=$as_save_IFS
   3485   if test -z "$ac_cv_path_GREP"; then
   3486     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3487   fi
   3488 else
   3489   ac_cv_path_GREP=$GREP
   3490 fi
   3491 
   3492 fi
   3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3494 $as_echo "$ac_cv_path_GREP" >&6; }
   3495  GREP="$ac_cv_path_GREP"
   3496 
   3497 
   3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3499 $as_echo_n "checking for egrep... " >&6; }
   3500 if ${ac_cv_path_EGREP+:} false; then :
   3501   $as_echo_n "(cached) " >&6
   3502 else
   3503   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3504    then ac_cv_path_EGREP="$GREP -E"
   3505    else
   3506      if test -z "$EGREP"; then
   3507   ac_path_EGREP_found=false
   3508   # Loop through the user's path and test for each of PROGNAME-LIST
   3509   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3510 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3511 do
   3512   IFS=$as_save_IFS
   3513   test -z "$as_dir" && as_dir=.
   3514     for ac_prog in egrep; do
   3515     for ac_exec_ext in '' $ac_executable_extensions; do
   3516       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3517       as_fn_executable_p "$ac_path_EGREP" || continue
   3518 # Check for GNU ac_path_EGREP and select it if it is found.
   3519   # Check for GNU $ac_path_EGREP
   3520 case `"$ac_path_EGREP" --version 2>&1` in
   3521 *GNU*)
   3522   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3523 *)
   3524   ac_count=0
   3525   $as_echo_n 0123456789 >"conftest.in"
   3526   while :
   3527   do
   3528     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3529     mv "conftest.tmp" "conftest.in"
   3530     cp "conftest.in" "conftest.nl"
   3531     $as_echo 'EGREP' >> "conftest.nl"
   3532     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3533     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3534     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3535     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3536       # Best one so far, save it but keep looking for a better one
   3537       ac_cv_path_EGREP="$ac_path_EGREP"
   3538       ac_path_EGREP_max=$ac_count
   3539     fi
   3540     # 10*(2^10) chars as input seems more than enough
   3541     test $ac_count -gt 10 && break
   3542   done
   3543   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3544 esac
   3545 
   3546       $ac_path_EGREP_found && break 3
   3547     done
   3548   done
   3549   done
   3550 IFS=$as_save_IFS
   3551   if test -z "$ac_cv_path_EGREP"; then
   3552     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3553   fi
   3554 else
   3555   ac_cv_path_EGREP=$EGREP
   3556 fi
   3557 
   3558    fi
   3559 fi
   3560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   3561 $as_echo "$ac_cv_path_EGREP" >&6; }
   3562  EGREP="$ac_cv_path_EGREP"
   3563 
   3564 
   3565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   3566 $as_echo_n "checking for ANSI C header files... " >&6; }
   3567 if ${ac_cv_header_stdc+:} false; then :
   3568   $as_echo_n "(cached) " >&6
   3569 else
   3570   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3571 /* end confdefs.h.  */
   3572 #include <stdlib.h>
   3573 #include <stdarg.h>
   3574 #include <string.h>
   3575 #include <float.h>
   3576 
   3577 int
   3578 main ()
   3579 {
   3580 
   3581   ;
   3582   return 0;
   3583 }
   3584 _ACEOF
   3585 if ac_fn_c_try_compile "$LINENO"; then :
   3586   ac_cv_header_stdc=yes
   3587 else
   3588   ac_cv_header_stdc=no
   3589 fi
   3590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3591 
   3592 if test $ac_cv_header_stdc = yes; then
   3593   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   3594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3595 /* end confdefs.h.  */
   3596 #include <string.h>
   3597 
   3598 _ACEOF
   3599 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3600   $EGREP "memchr" >/dev/null 2>&1; then :
   3601 
   3602 else
   3603   ac_cv_header_stdc=no
   3604 fi
   3605 rm -f conftest*
   3606 
   3607 fi
   3608 
   3609 if test $ac_cv_header_stdc = yes; then
   3610   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   3611   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3612 /* end confdefs.h.  */
   3613 #include <stdlib.h>
   3614 
   3615 _ACEOF
   3616 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3617   $EGREP "free" >/dev/null 2>&1; then :
   3618 
   3619 else
   3620   ac_cv_header_stdc=no
   3621 fi
   3622 rm -f conftest*
   3623 
   3624 fi
   3625 
   3626 if test $ac_cv_header_stdc = yes; then
   3627   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   3628   if test "$cross_compiling" = yes; then :
   3629   :
   3630 else
   3631   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3632 /* end confdefs.h.  */
   3633 #include <ctype.h>
   3634 #include <stdlib.h>
   3635 #if ((' ' & 0x0FF) == 0x020)
   3636 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   3637 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   3638 #else
   3639 # define ISLOWER(c) \
   3640 		   (('a' <= (c) && (c) <= 'i') \
   3641 		     || ('j' <= (c) && (c) <= 'r') \
   3642 		     || ('s' <= (c) && (c) <= 'z'))
   3643 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   3644 #endif
   3645 
   3646 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   3647 int
   3648 main ()
   3649 {
   3650   int i;
   3651   for (i = 0; i < 256; i++)
   3652     if (XOR (islower (i), ISLOWER (i))
   3653 	|| toupper (i) != TOUPPER (i))
   3654       return 2;
   3655   return 0;
   3656 }
   3657 _ACEOF
   3658 if ac_fn_c_try_run "$LINENO"; then :
   3659 
   3660 else
   3661   ac_cv_header_stdc=no
   3662 fi
   3663 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   3664   conftest.$ac_objext conftest.beam conftest.$ac_ext
   3665 fi
   3666 
   3667 fi
   3668 fi
   3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   3670 $as_echo "$ac_cv_header_stdc" >&6; }
   3671 if test $ac_cv_header_stdc = yes; then
   3672 
   3673 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   3674 
   3675 fi
   3676 
   3677 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   3678 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   3679 		  inttypes.h stdint.h unistd.h
   3680 do :
   3681   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3682 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   3683 "
   3684 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   3685   cat >>confdefs.h <<_ACEOF
   3686 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3687 _ACEOF
   3688 
   3689 fi
   3690 
   3691 done
   3692 
   3693 
   3694 
   3695   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   3696 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   3697   MINIX=yes
   3698 else
   3699   MINIX=
   3700 fi
   3701 
   3702 
   3703   if test "$MINIX" = yes; then
   3704 
   3705 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   3706 
   3707 
   3708 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   3709 
   3710 
   3711 $as_echo "#define _MINIX 1" >>confdefs.h
   3712 
   3713   fi
   3714 
   3715 
   3716   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3717 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3718 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   3719   $as_echo_n "(cached) " >&6
   3720 else
   3721   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3722 /* end confdefs.h.  */
   3723 
   3724 #         define __EXTENSIONS__ 1
   3725           $ac_includes_default
   3726 int
   3727 main ()
   3728 {
   3729 
   3730   ;
   3731   return 0;
   3732 }
   3733 _ACEOF
   3734 if ac_fn_c_try_compile "$LINENO"; then :
   3735   ac_cv_safe_to_define___extensions__=yes
   3736 else
   3737   ac_cv_safe_to_define___extensions__=no
   3738 fi
   3739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3740 fi
   3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3742 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   3743   test $ac_cv_safe_to_define___extensions__ = yes &&
   3744     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   3745 
   3746   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   3747 
   3748   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   3749 
   3750   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   3751 
   3752   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   3753 
   3754 
   3755 
   3756 # Initialize Automake
   3757 am__api_version='1.15'
   3758 
   3759 # Find a good install program.  We prefer a C program (faster),
   3760 # so one script is as good as another.  But avoid the broken or
   3761 # incompatible versions:
   3762 # SysV /etc/install, /usr/sbin/install
   3763 # SunOS /usr/etc/install
   3764 # IRIX /sbin/install
   3765 # AIX /bin/install
   3766 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3767 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3768 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3769 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3770 # OS/2's system install, which has a completely different semantic
   3771 # ./install, which can be erroneously created by make from ./install.sh.
   3772 # Reject install programs that cannot install multiple files.
   3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3774 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   3775 if test -z "$INSTALL"; then
   3776 if ${ac_cv_path_install+:} false; then :
   3777   $as_echo_n "(cached) " >&6
   3778 else
   3779   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3780 for as_dir in $PATH
   3781 do
   3782   IFS=$as_save_IFS
   3783   test -z "$as_dir" && as_dir=.
   3784     # Account for people who put trailing slashes in PATH elements.
   3785 case $as_dir/ in #((
   3786   ./ | .// | /[cC]/* | \
   3787   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3788   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3789   /usr/ucb/* ) ;;
   3790   *)
   3791     # OSF1 and SCO ODT 3.0 have their own names for install.
   3792     # Don't use installbsd from OSF since it installs stuff as root
   3793     # by default.
   3794     for ac_prog in ginstall scoinst install; do
   3795       for ac_exec_ext in '' $ac_executable_extensions; do
   3796 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   3797 	  if test $ac_prog = install &&
   3798 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3799 	    # AIX install.  It has an incompatible calling convention.
   3800 	    :
   3801 	  elif test $ac_prog = install &&
   3802 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3803 	    # program-specific install script used by HP pwplus--don't use.
   3804 	    :
   3805 	  else
   3806 	    rm -rf conftest.one conftest.two conftest.dir
   3807 	    echo one > conftest.one
   3808 	    echo two > conftest.two
   3809 	    mkdir conftest.dir
   3810 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   3811 	      test -s conftest.one && test -s conftest.two &&
   3812 	      test -s conftest.dir/conftest.one &&
   3813 	      test -s conftest.dir/conftest.two
   3814 	    then
   3815 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   3816 	      break 3
   3817 	    fi
   3818 	  fi
   3819 	fi
   3820       done
   3821     done
   3822     ;;
   3823 esac
   3824 
   3825   done
   3826 IFS=$as_save_IFS
   3827 
   3828 rm -rf conftest.one conftest.two conftest.dir
   3829 
   3830 fi
   3831   if test "${ac_cv_path_install+set}" = set; then
   3832     INSTALL=$ac_cv_path_install
   3833   else
   3834     # As a last resort, use the slow shell script.  Don't cache a
   3835     # value for INSTALL within a source directory, because that will
   3836     # break other packages using the cache if that directory is
   3837     # removed, or if the value is a relative name.
   3838     INSTALL=$ac_install_sh
   3839   fi
   3840 fi
   3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3842 $as_echo "$INSTALL" >&6; }
   3843 
   3844 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3845 # It thinks the first close brace ends the variable substitution.
   3846 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3847 
   3848 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3849 
   3850 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3851 
   3852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3853 $as_echo_n "checking whether build environment is sane... " >&6; }
   3854 # Reject unsafe characters in $srcdir or the absolute working directory
   3855 # name.  Accept space and tab only in the latter.
   3856 am_lf='
   3857 '
   3858 case `pwd` in
   3859   *[\\\"\#\$\&\'\`$am_lf]*)
   3860     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3861 esac
   3862 case $srcdir in
   3863   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3864     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3865 esac
   3866 
   3867 # Do 'set' in a subshell so we don't clobber the current shell's
   3868 # arguments.  Must try -L first in case configure is actually a
   3869 # symlink; some systems play weird games with the mod time of symlinks
   3870 # (eg FreeBSD returns the mod time of the symlink's containing
   3871 # directory).
   3872 if (
   3873    am_has_slept=no
   3874    for am_try in 1 2; do
   3875      echo "timestamp, slept: $am_has_slept" > conftest.file
   3876      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3877      if test "$*" = "X"; then
   3878 	# -L didn't work.
   3879 	set X `ls -t "$srcdir/configure" conftest.file`
   3880      fi
   3881      if test "$*" != "X $srcdir/configure conftest.file" \
   3882 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   3883 
   3884 	# If neither matched, then we have a broken ls.  This can happen
   3885 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   3886 	# broken ls alias from the environment.  This has actually
   3887 	# happened.  Such a system could not be considered "sane".
   3888 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   3889   alias in your environment" "$LINENO" 5
   3890      fi
   3891      if test "$2" = conftest.file || test $am_try -eq 2; then
   3892        break
   3893      fi
   3894      # Just in case.
   3895      sleep 1
   3896      am_has_slept=yes
   3897    done
   3898    test "$2" = conftest.file
   3899    )
   3900 then
   3901    # Ok.
   3902    :
   3903 else
   3904    as_fn_error $? "newly created file is older than distributed files!
   3905 Check your system clock" "$LINENO" 5
   3906 fi
   3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3908 $as_echo "yes" >&6; }
   3909 # If we didn't sleep, we still need to ensure time stamps of config.status and
   3910 # generated files are strictly newer.
   3911 am_sleep_pid=
   3912 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   3913   ( sleep 1 ) &
   3914   am_sleep_pid=$!
   3915 fi
   3916 
   3917 rm -f conftest.file
   3918 
   3919 test "$program_prefix" != NONE &&
   3920   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3921 # Use a double $ so make ignores it.
   3922 test "$program_suffix" != NONE &&
   3923   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3924 # Double any \ or $.
   3925 # By default was `s,x,x', remove it if useless.
   3926 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3927 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   3928 
   3929 if test x"${MISSING+set}" != xset; then
   3930   case $am_aux_dir in
   3931   *\ * | *\	*)
   3932     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   3933   *)
   3934     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   3935   esac
   3936 fi
   3937 # Use eval to expand $SHELL
   3938 if eval "$MISSING --is-lightweight"; then
   3939   am_missing_run="$MISSING "
   3940 else
   3941   am_missing_run=
   3942   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3943 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3944 fi
   3945 
   3946 if test x"${install_sh+set}" != xset; then
   3947   case $am_aux_dir in
   3948   *\ * | *\	*)
   3949     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3950   *)
   3951     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3952   esac
   3953 fi
   3954 
   3955 # Installed binaries are usually stripped using 'strip' when the user
   3956 # run "make install-strip".  However 'strip' might not be the right
   3957 # tool to use in cross-compilation environments, therefore Automake
   3958 # will honor the 'STRIP' environment variable to overrule this program.
   3959 if test "$cross_compiling" != no; then
   3960   if test -n "$ac_tool_prefix"; then
   3961   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3962 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3964 $as_echo_n "checking for $ac_word... " >&6; }
   3965 if ${ac_cv_prog_STRIP+:} false; then :
   3966   $as_echo_n "(cached) " >&6
   3967 else
   3968   if test -n "$STRIP"; then
   3969   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3970 else
   3971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3972 for as_dir in $PATH
   3973 do
   3974   IFS=$as_save_IFS
   3975   test -z "$as_dir" && as_dir=.
   3976     for ac_exec_ext in '' $ac_executable_extensions; do
   3977   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3978     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3979     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3980     break 2
   3981   fi
   3982 done
   3983   done
   3984 IFS=$as_save_IFS
   3985 
   3986 fi
   3987 fi
   3988 STRIP=$ac_cv_prog_STRIP
   3989 if test -n "$STRIP"; then
   3990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3991 $as_echo "$STRIP" >&6; }
   3992 else
   3993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3994 $as_echo "no" >&6; }
   3995 fi
   3996 
   3997 
   3998 fi
   3999 if test -z "$ac_cv_prog_STRIP"; then
   4000   ac_ct_STRIP=$STRIP
   4001   # Extract the first word of "strip", so it can be a program name with args.
   4002 set dummy strip; ac_word=$2
   4003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4004 $as_echo_n "checking for $ac_word... " >&6; }
   4005 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   4006   $as_echo_n "(cached) " >&6
   4007 else
   4008   if test -n "$ac_ct_STRIP"; then
   4009   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4010 else
   4011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4012 for as_dir in $PATH
   4013 do
   4014   IFS=$as_save_IFS
   4015   test -z "$as_dir" && as_dir=.
   4016     for ac_exec_ext in '' $ac_executable_extensions; do
   4017   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4018     ac_cv_prog_ac_ct_STRIP="strip"
   4019     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4020     break 2
   4021   fi
   4022 done
   4023   done
   4024 IFS=$as_save_IFS
   4025 
   4026 fi
   4027 fi
   4028 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4029 if test -n "$ac_ct_STRIP"; then
   4030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   4031 $as_echo "$ac_ct_STRIP" >&6; }
   4032 else
   4033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4034 $as_echo "no" >&6; }
   4035 fi
   4036 
   4037   if test "x$ac_ct_STRIP" = x; then
   4038     STRIP=":"
   4039   else
   4040     case $cross_compiling:$ac_tool_warned in
   4041 yes:)
   4042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4043 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4044 ac_tool_warned=yes ;;
   4045 esac
   4046     STRIP=$ac_ct_STRIP
   4047   fi
   4048 else
   4049   STRIP="$ac_cv_prog_STRIP"
   4050 fi
   4051 
   4052 fi
   4053 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4054 
   4055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   4056 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   4057 if test -z "$MKDIR_P"; then
   4058   if ${ac_cv_path_mkdir+:} false; then :
   4059   $as_echo_n "(cached) " >&6
   4060 else
   4061   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4062 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   4063 do
   4064   IFS=$as_save_IFS
   4065   test -z "$as_dir" && as_dir=.
   4066     for ac_prog in mkdir gmkdir; do
   4067 	 for ac_exec_ext in '' $ac_executable_extensions; do
   4068 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   4069 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4070 	     'mkdir (GNU coreutils) '* | \
   4071 	     'mkdir (coreutils) '* | \
   4072 	     'mkdir (fileutils) '4.1*)
   4073 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   4074 	       break 3;;
   4075 	   esac
   4076 	 done
   4077        done
   4078   done
   4079 IFS=$as_save_IFS
   4080 
   4081 fi
   4082 
   4083   test -d ./--version && rmdir ./--version
   4084   if test "${ac_cv_path_mkdir+set}" = set; then
   4085     MKDIR_P="$ac_cv_path_mkdir -p"
   4086   else
   4087     # As a last resort, use the slow shell script.  Don't cache a
   4088     # value for MKDIR_P within a source directory, because that will
   4089     # break other packages using the cache if that directory is
   4090     # removed, or if the value is a relative name.
   4091     MKDIR_P="$ac_install_sh -d"
   4092   fi
   4093 fi
   4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4095 $as_echo "$MKDIR_P" >&6; }
   4096 
   4097 for ac_prog in gawk mawk nawk awk
   4098 do
   4099   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4100 set dummy $ac_prog; ac_word=$2
   4101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4102 $as_echo_n "checking for $ac_word... " >&6; }
   4103 if ${ac_cv_prog_AWK+:} false; then :
   4104   $as_echo_n "(cached) " >&6
   4105 else
   4106   if test -n "$AWK"; then
   4107   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4108 else
   4109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4110 for as_dir in $PATH
   4111 do
   4112   IFS=$as_save_IFS
   4113   test -z "$as_dir" && as_dir=.
   4114     for ac_exec_ext in '' $ac_executable_extensions; do
   4115   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4116     ac_cv_prog_AWK="$ac_prog"
   4117     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4118     break 2
   4119   fi
   4120 done
   4121   done
   4122 IFS=$as_save_IFS
   4123 
   4124 fi
   4125 fi
   4126 AWK=$ac_cv_prog_AWK
   4127 if test -n "$AWK"; then
   4128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4129 $as_echo "$AWK" >&6; }
   4130 else
   4131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4132 $as_echo "no" >&6; }
   4133 fi
   4134 
   4135 
   4136   test -n "$AWK" && break
   4137 done
   4138 
   4139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4140 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4141 set x ${MAKE-make}
   4142 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4143 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   4144   $as_echo_n "(cached) " >&6
   4145 else
   4146   cat >conftest.make <<\_ACEOF
   4147 SHELL = /bin/sh
   4148 all:
   4149 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4150 _ACEOF
   4151 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4152 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4153   *@@@%%%=?*=@@@%%%*)
   4154     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4155   *)
   4156     eval ac_cv_prog_make_${ac_make}_set=no;;
   4157 esac
   4158 rm -f conftest.make
   4159 fi
   4160 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4162 $as_echo "yes" >&6; }
   4163   SET_MAKE=
   4164 else
   4165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4166 $as_echo "no" >&6; }
   4167   SET_MAKE="MAKE=${MAKE-make}"
   4168 fi
   4169 
   4170 rm -rf .tst 2>/dev/null
   4171 mkdir .tst 2>/dev/null
   4172 if test -d .tst; then
   4173   am__leading_dot=.
   4174 else
   4175   am__leading_dot=_
   4176 fi
   4177 rmdir .tst 2>/dev/null
   4178 
   4179 DEPDIR="${am__leading_dot}deps"
   4180 
   4181 ac_config_commands="$ac_config_commands depfiles"
   4182 
   4183 
   4184 am_make=${MAKE-make}
   4185 cat > confinc << 'END'
   4186 am__doit:
   4187 	@echo this is the am__doit target
   4188 .PHONY: am__doit
   4189 END
   4190 # If we don't find an include directive, just comment out the code.
   4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   4192 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   4193 am__include="#"
   4194 am__quote=
   4195 _am_result=none
   4196 # First try GNU make style include.
   4197 echo "include confinc" > confmf
   4198 # Ignore all kinds of additional output from 'make'.
   4199 case `$am_make -s -f confmf 2> /dev/null` in #(
   4200 *the\ am__doit\ target*)
   4201   am__include=include
   4202   am__quote=
   4203   _am_result=GNU
   4204   ;;
   4205 esac
   4206 # Now try BSD make style include.
   4207 if test "$am__include" = "#"; then
   4208    echo '.include "confinc"' > confmf
   4209    case `$am_make -s -f confmf 2> /dev/null` in #(
   4210    *the\ am__doit\ target*)
   4211      am__include=.include
   4212      am__quote="\""
   4213      _am_result=BSD
   4214      ;;
   4215    esac
   4216 fi
   4217 
   4218 
   4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   4220 $as_echo "$_am_result" >&6; }
   4221 rm -f confinc confmf
   4222 
   4223 # Check whether --enable-dependency-tracking was given.
   4224 if test "${enable_dependency_tracking+set}" = set; then :
   4225   enableval=$enable_dependency_tracking;
   4226 fi
   4227 
   4228 if test "x$enable_dependency_tracking" != xno; then
   4229   am_depcomp="$ac_aux_dir/depcomp"
   4230   AMDEPBACKSLASH='\'
   4231   am__nodep='_no'
   4232 fi
   4233  if test "x$enable_dependency_tracking" != xno; then
   4234   AMDEP_TRUE=
   4235   AMDEP_FALSE='#'
   4236 else
   4237   AMDEP_TRUE='#'
   4238   AMDEP_FALSE=
   4239 fi
   4240 
   4241 
   4242 # Check whether --enable-silent-rules was given.
   4243 if test "${enable_silent_rules+set}" = set; then :
   4244   enableval=$enable_silent_rules;
   4245 fi
   4246 
   4247 case $enable_silent_rules in # (((
   4248   yes) AM_DEFAULT_VERBOSITY=0;;
   4249    no) AM_DEFAULT_VERBOSITY=1;;
   4250     *) AM_DEFAULT_VERBOSITY=1;;
   4251 esac
   4252 am_make=${MAKE-make}
   4253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4254 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   4255 if ${am_cv_make_support_nested_variables+:} false; then :
   4256   $as_echo_n "(cached) " >&6
   4257 else
   4258   if $as_echo 'TRUE=$(BAR$(V))
   4259 BAR0=false
   4260 BAR1=true
   4261 V=1
   4262 am__doit:
   4263 	@$(TRUE)
   4264 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4265   am_cv_make_support_nested_variables=yes
   4266 else
   4267   am_cv_make_support_nested_variables=no
   4268 fi
   4269 fi
   4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4271 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   4272 if test $am_cv_make_support_nested_variables = yes; then
   4273     AM_V='$(V)'
   4274   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4275 else
   4276   AM_V=$AM_DEFAULT_VERBOSITY
   4277   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4278 fi
   4279 AM_BACKSLASH='\'
   4280 
   4281 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4282   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4283   # is not polluted with repeated "-I."
   4284   am__isrc=' -I$(srcdir)'
   4285   # test to see if srcdir already configured
   4286   if test -f $srcdir/config.status; then
   4287     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4288   fi
   4289 fi
   4290 
   4291 # test whether we have cygpath
   4292 if test -z "$CYGPATH_W"; then
   4293   if (cygpath --version) >/dev/null 2>/dev/null; then
   4294     CYGPATH_W='cygpath -w'
   4295   else
   4296     CYGPATH_W=echo
   4297   fi
   4298 fi
   4299 
   4300 
   4301 # Define the identity of the package.
   4302  PACKAGE='libXdmcp'
   4303  VERSION='1.1.2'
   4304 
   4305 
   4306 cat >>confdefs.h <<_ACEOF
   4307 #define PACKAGE "$PACKAGE"
   4308 _ACEOF
   4309 
   4310 
   4311 cat >>confdefs.h <<_ACEOF
   4312 #define VERSION "$VERSION"
   4313 _ACEOF
   4314 
   4315 # Some tools Automake needs.
   4316 
   4317 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4318 
   4319 
   4320 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4321 
   4322 
   4323 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4324 
   4325 
   4326 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4327 
   4328 
   4329 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4330 
   4331 # For better backward compatibility.  To be removed once Automake 1.9.x
   4332 # dies out for good.  For more background, see:
   4333 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4334 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4335 mkdir_p='$(MKDIR_P)'
   4336 
   4337 # We need awk for the "check" target (and possibly the TAP driver).  The
   4338 # system "awk" is bad on some platforms.
   4339 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4340 # in the wild :-(  We should find a proper way to deprecate it ...
   4341 AMTAR='$${TAR-tar}'
   4342 
   4343 
   4344 # We'll loop over all known methods to create a tar archive until one works.
   4345 _am_tools='gnutar  pax cpio none'
   4346 
   4347 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   4348 
   4349 
   4350 
   4351 
   4352 
   4353 depcc="$CC"   am_compiler_list=
   4354 
   4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4356 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4357 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4358   $as_echo_n "(cached) " >&6
   4359 else
   4360   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4361   # We make a subdir and do the tests there.  Otherwise we can end up
   4362   # making bogus files that we don't know about and never remove.  For
   4363   # instance it was reported that on HP-UX the gcc test will end up
   4364   # making a dummy file named 'D' -- because '-MD' means "put the output
   4365   # in D".
   4366   rm -rf conftest.dir
   4367   mkdir conftest.dir
   4368   # Copy depcomp to subdir because otherwise we won't find it if we're
   4369   # using a relative directory.
   4370   cp "$am_depcomp" conftest.dir
   4371   cd conftest.dir
   4372   # We will build objects and dependencies in a subdirectory because
   4373   # it helps to detect inapplicable dependency modes.  For instance
   4374   # both Tru64's cc and ICC support -MD to output dependencies as a
   4375   # side effect of compilation, but ICC will put the dependencies in
   4376   # the current directory while Tru64 will put them in the object
   4377   # directory.
   4378   mkdir sub
   4379 
   4380   am_cv_CC_dependencies_compiler_type=none
   4381   if test "$am_compiler_list" = ""; then
   4382      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4383   fi
   4384   am__universal=false
   4385   case " $depcc " in #(
   4386      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4387      esac
   4388 
   4389   for depmode in $am_compiler_list; do
   4390     # Setup a source with many dependencies, because some compilers
   4391     # like to wrap large dependency lists on column 80 (with \), and
   4392     # we should not choose a depcomp mode which is confused by this.
   4393     #
   4394     # We need to recreate these files for each test, as the compiler may
   4395     # overwrite some of them when testing with obscure command lines.
   4396     # This happens at least with the AIX C compiler.
   4397     : > sub/conftest.c
   4398     for i in 1 2 3 4 5 6; do
   4399       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4400       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4401       # Solaris 10 /bin/sh.
   4402       echo '/* dummy */' > sub/conftst$i.h
   4403     done
   4404     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4405 
   4406     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4407     # mode.  It turns out that the SunPro C++ compiler does not properly
   4408     # handle '-M -o', and we need to detect this.  Also, some Intel
   4409     # versions had trouble with output in subdirs.
   4410     am__obj=sub/conftest.${OBJEXT-o}
   4411     am__minus_obj="-o $am__obj"
   4412     case $depmode in
   4413     gcc)
   4414       # This depmode causes a compiler race in universal mode.
   4415       test "$am__universal" = false || continue
   4416       ;;
   4417     nosideeffect)
   4418       # After this tag, mechanisms are not by side-effect, so they'll
   4419       # only be used when explicitly requested.
   4420       if test "x$enable_dependency_tracking" = xyes; then
   4421 	continue
   4422       else
   4423 	break
   4424       fi
   4425       ;;
   4426     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4427       # This compiler won't grok '-c -o', but also, the minuso test has
   4428       # not run yet.  These depmodes are late enough in the game, and
   4429       # so weak that their functioning should not be impacted.
   4430       am__obj=conftest.${OBJEXT-o}
   4431       am__minus_obj=
   4432       ;;
   4433     none) break ;;
   4434     esac
   4435     if depmode=$depmode \
   4436        source=sub/conftest.c object=$am__obj \
   4437        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4438        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4439          >/dev/null 2>conftest.err &&
   4440        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4441        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4442        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4443        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4444       # icc doesn't choke on unknown options, it will just issue warnings
   4445       # or remarks (even with -Werror).  So we grep stderr for any message
   4446       # that says an option was ignored or not supported.
   4447       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4448       #   icc: Command line warning: ignoring option '-M'; no argument required
   4449       # The diagnosis changed in icc 8.0:
   4450       #   icc: Command line remark: option '-MP' not supported
   4451       if (grep 'ignoring option' conftest.err ||
   4452           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4453         am_cv_CC_dependencies_compiler_type=$depmode
   4454         break
   4455       fi
   4456     fi
   4457   done
   4458 
   4459   cd ..
   4460   rm -rf conftest.dir
   4461 else
   4462   am_cv_CC_dependencies_compiler_type=none
   4463 fi
   4464 
   4465 fi
   4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4467 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4468 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4469 
   4470  if
   4471   test "x$enable_dependency_tracking" != xno \
   4472   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4473   am__fastdepCC_TRUE=
   4474   am__fastdepCC_FALSE='#'
   4475 else
   4476   am__fastdepCC_TRUE='#'
   4477   am__fastdepCC_FALSE=
   4478 fi
   4479 
   4480 
   4481 
   4482 # POSIX will say in a future version that running "rm -f" with no argument
   4483 # is OK; and we want to be able to make that assumption in our Makefile
   4484 # recipes.  So use an aggressive probe to check that the usage we want is
   4485 # actually supported "in the wild" to an acceptable degree.
   4486 # See automake bug#10828.
   4487 # To make any issue more visible, cause the running configure to be aborted
   4488 # by default if the 'rm' program in use doesn't match our expectations; the
   4489 # user can still override this though.
   4490 if rm -f && rm -fr && rm -rf; then : OK; else
   4491   cat >&2 <<'END'
   4492 Oops!
   4493 
   4494 Your 'rm' program seems unable to run without file operands specified
   4495 on the command line, even when the '-f' option is present.  This is contrary
   4496 to the behaviour of most rm programs out there, and not conforming with
   4497 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   4498 
   4499 Please tell bug-automake@gnu.org about your system, including the value
   4500 of your $PATH and any error possibly output before this message.  This
   4501 can help us improve future automake versions.
   4502 
   4503 END
   4504   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   4505     echo 'Configuration will proceed anyway, since you have set the' >&2
   4506     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   4507     echo >&2
   4508   else
   4509     cat >&2 <<'END'
   4510 Aborting the configuration process, to ensure you take notice of the issue.
   4511 
   4512 You can download and install GNU coreutils to get an 'rm' implementation
   4513 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   4514 
   4515 If you want to complete the configuration process using your problematic
   4516 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   4517 to "yes", and re-run configure.
   4518 
   4519 END
   4520     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   4521   fi
   4522 fi
   4523 
   4524 
   4525 # Initialize libtool
   4526 # Make sure we can run config.sub.
   4527 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4528   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4529 
   4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4531 $as_echo_n "checking build system type... " >&6; }
   4532 if ${ac_cv_build+:} false; then :
   4533   $as_echo_n "(cached) " >&6
   4534 else
   4535   ac_build_alias=$build_alias
   4536 test "x$ac_build_alias" = x &&
   4537   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4538 test "x$ac_build_alias" = x &&
   4539   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4540 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4541   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4542 
   4543 fi
   4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4545 $as_echo "$ac_cv_build" >&6; }
   4546 case $ac_cv_build in
   4547 *-*-*) ;;
   4548 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4549 esac
   4550 build=$ac_cv_build
   4551 ac_save_IFS=$IFS; IFS='-'
   4552 set x $ac_cv_build
   4553 shift
   4554 build_cpu=$1
   4555 build_vendor=$2
   4556 shift; shift
   4557 # Remember, the first character of IFS is used to create $*,
   4558 # except with old shells:
   4559 build_os=$*
   4560 IFS=$ac_save_IFS
   4561 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4562 
   4563 
   4564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4565 $as_echo_n "checking host system type... " >&6; }
   4566 if ${ac_cv_host+:} false; then :
   4567   $as_echo_n "(cached) " >&6
   4568 else
   4569   if test "x$host_alias" = x; then
   4570   ac_cv_host=$ac_cv_build
   4571 else
   4572   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4573     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4574 fi
   4575 
   4576 fi
   4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4578 $as_echo "$ac_cv_host" >&6; }
   4579 case $ac_cv_host in
   4580 *-*-*) ;;
   4581 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4582 esac
   4583 host=$ac_cv_host
   4584 ac_save_IFS=$IFS; IFS='-'
   4585 set x $ac_cv_host
   4586 shift
   4587 host_cpu=$1
   4588 host_vendor=$2
   4589 shift; shift
   4590 # Remember, the first character of IFS is used to create $*,
   4591 # except with old shells:
   4592 host_os=$*
   4593 IFS=$ac_save_IFS
   4594 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4595 
   4596 
   4597 enable_win32_dll=yes
   4598 
   4599 case $host in
   4600 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
   4601   if test -n "$ac_tool_prefix"; then
   4602   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
   4603 set dummy ${ac_tool_prefix}as; ac_word=$2
   4604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4605 $as_echo_n "checking for $ac_word... " >&6; }
   4606 if ${ac_cv_prog_AS+:} false; then :
   4607   $as_echo_n "(cached) " >&6
   4608 else
   4609   if test -n "$AS"; then
   4610   ac_cv_prog_AS="$AS" # Let the user override the test.
   4611 else
   4612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4613 for as_dir in $PATH
   4614 do
   4615   IFS=$as_save_IFS
   4616   test -z "$as_dir" && as_dir=.
   4617     for ac_exec_ext in '' $ac_executable_extensions; do
   4618   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4619     ac_cv_prog_AS="${ac_tool_prefix}as"
   4620     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4621     break 2
   4622   fi
   4623 done
   4624   done
   4625 IFS=$as_save_IFS
   4626 
   4627 fi
   4628 fi
   4629 AS=$ac_cv_prog_AS
   4630 if test -n "$AS"; then
   4631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
   4632 $as_echo "$AS" >&6; }
   4633 else
   4634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4635 $as_echo "no" >&6; }
   4636 fi
   4637 
   4638 
   4639 fi
   4640 if test -z "$ac_cv_prog_AS"; then
   4641   ac_ct_AS=$AS
   4642   # Extract the first word of "as", so it can be a program name with args.
   4643 set dummy as; ac_word=$2
   4644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4645 $as_echo_n "checking for $ac_word... " >&6; }
   4646 if ${ac_cv_prog_ac_ct_AS+:} false; then :
   4647   $as_echo_n "(cached) " >&6
   4648 else
   4649   if test -n "$ac_ct_AS"; then
   4650   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
   4651 else
   4652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4653 for as_dir in $PATH
   4654 do
   4655   IFS=$as_save_IFS
   4656   test -z "$as_dir" && as_dir=.
   4657     for ac_exec_ext in '' $ac_executable_extensions; do
   4658   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4659     ac_cv_prog_ac_ct_AS="as"
   4660     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4661     break 2
   4662   fi
   4663 done
   4664   done
   4665 IFS=$as_save_IFS
   4666 
   4667 fi
   4668 fi
   4669 ac_ct_AS=$ac_cv_prog_ac_ct_AS
   4670 if test -n "$ac_ct_AS"; then
   4671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
   4672 $as_echo "$ac_ct_AS" >&6; }
   4673 else
   4674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4675 $as_echo "no" >&6; }
   4676 fi
   4677 
   4678   if test "x$ac_ct_AS" = x; then
   4679     AS="false"
   4680   else
   4681     case $cross_compiling:$ac_tool_warned in
   4682 yes:)
   4683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4684 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4685 ac_tool_warned=yes ;;
   4686 esac
   4687     AS=$ac_ct_AS
   4688   fi
   4689 else
   4690   AS="$ac_cv_prog_AS"
   4691 fi
   4692 
   4693   if test -n "$ac_tool_prefix"; then
   4694   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   4695 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   4696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4697 $as_echo_n "checking for $ac_word... " >&6; }
   4698 if ${ac_cv_prog_DLLTOOL+:} false; then :
   4699   $as_echo_n "(cached) " >&6
   4700 else
   4701   if test -n "$DLLTOOL"; then
   4702   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   4703 else
   4704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4705 for as_dir in $PATH
   4706 do
   4707   IFS=$as_save_IFS
   4708   test -z "$as_dir" && as_dir=.
   4709     for ac_exec_ext in '' $ac_executable_extensions; do
   4710   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4711     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   4712     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4713     break 2
   4714   fi
   4715 done
   4716   done
   4717 IFS=$as_save_IFS
   4718 
   4719 fi
   4720 fi
   4721 DLLTOOL=$ac_cv_prog_DLLTOOL
   4722 if test -n "$DLLTOOL"; then
   4723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   4724 $as_echo "$DLLTOOL" >&6; }
   4725 else
   4726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4727 $as_echo "no" >&6; }
   4728 fi
   4729 
   4730 
   4731 fi
   4732 if test -z "$ac_cv_prog_DLLTOOL"; then
   4733   ac_ct_DLLTOOL=$DLLTOOL
   4734   # Extract the first word of "dlltool", so it can be a program name with args.
   4735 set dummy dlltool; ac_word=$2
   4736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4737 $as_echo_n "checking for $ac_word... " >&6; }
   4738 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   4739   $as_echo_n "(cached) " >&6
   4740 else
   4741   if test -n "$ac_ct_DLLTOOL"; then
   4742   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   4743 else
   4744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4745 for as_dir in $PATH
   4746 do
   4747   IFS=$as_save_IFS
   4748   test -z "$as_dir" && as_dir=.
   4749     for ac_exec_ext in '' $ac_executable_extensions; do
   4750   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4751     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   4752     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4753     break 2
   4754   fi
   4755 done
   4756   done
   4757 IFS=$as_save_IFS
   4758 
   4759 fi
   4760 fi
   4761 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   4762 if test -n "$ac_ct_DLLTOOL"; then
   4763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   4764 $as_echo "$ac_ct_DLLTOOL" >&6; }
   4765 else
   4766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4767 $as_echo "no" >&6; }
   4768 fi
   4769 
   4770   if test "x$ac_ct_DLLTOOL" = x; then
   4771     DLLTOOL="false"
   4772   else
   4773     case $cross_compiling:$ac_tool_warned in
   4774 yes:)
   4775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4776 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4777 ac_tool_warned=yes ;;
   4778 esac
   4779     DLLTOOL=$ac_ct_DLLTOOL
   4780   fi
   4781 else
   4782   DLLTOOL="$ac_cv_prog_DLLTOOL"
   4783 fi
   4784 
   4785   if test -n "$ac_tool_prefix"; then
   4786   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4787 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4789 $as_echo_n "checking for $ac_word... " >&6; }
   4790 if ${ac_cv_prog_OBJDUMP+:} false; then :
   4791   $as_echo_n "(cached) " >&6
   4792 else
   4793   if test -n "$OBJDUMP"; then
   4794   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4795 else
   4796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4797 for as_dir in $PATH
   4798 do
   4799   IFS=$as_save_IFS
   4800   test -z "$as_dir" && as_dir=.
   4801     for ac_exec_ext in '' $ac_executable_extensions; do
   4802   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4803     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4804     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4805     break 2
   4806   fi
   4807 done
   4808   done
   4809 IFS=$as_save_IFS
   4810 
   4811 fi
   4812 fi
   4813 OBJDUMP=$ac_cv_prog_OBJDUMP
   4814 if test -n "$OBJDUMP"; then
   4815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   4816 $as_echo "$OBJDUMP" >&6; }
   4817 else
   4818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4819 $as_echo "no" >&6; }
   4820 fi
   4821 
   4822 
   4823 fi
   4824 if test -z "$ac_cv_prog_OBJDUMP"; then
   4825   ac_ct_OBJDUMP=$OBJDUMP
   4826   # Extract the first word of "objdump", so it can be a program name with args.
   4827 set dummy objdump; ac_word=$2
   4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4829 $as_echo_n "checking for $ac_word... " >&6; }
   4830 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   4831   $as_echo_n "(cached) " >&6
   4832 else
   4833   if test -n "$ac_ct_OBJDUMP"; then
   4834   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   4835 else
   4836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4837 for as_dir in $PATH
   4838 do
   4839   IFS=$as_save_IFS
   4840   test -z "$as_dir" && as_dir=.
   4841     for ac_exec_ext in '' $ac_executable_extensions; do
   4842   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4843     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   4844     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4845     break 2
   4846   fi
   4847 done
   4848   done
   4849 IFS=$as_save_IFS
   4850 
   4851 fi
   4852 fi
   4853 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   4854 if test -n "$ac_ct_OBJDUMP"; then
   4855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   4856 $as_echo "$ac_ct_OBJDUMP" >&6; }
   4857 else
   4858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4859 $as_echo "no" >&6; }
   4860 fi
   4861 
   4862   if test "x$ac_ct_OBJDUMP" = x; then
   4863     OBJDUMP="false"
   4864   else
   4865     case $cross_compiling:$ac_tool_warned in
   4866 yes:)
   4867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4868 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4869 ac_tool_warned=yes ;;
   4870 esac
   4871     OBJDUMP=$ac_ct_OBJDUMP
   4872   fi
   4873 else
   4874   OBJDUMP="$ac_cv_prog_OBJDUMP"
   4875 fi
   4876 
   4877   ;;
   4878 esac
   4879 
   4880 test -z "$AS" && AS=as
   4881 
   4882 
   4883 
   4884 
   4885 
   4886 test -z "$DLLTOOL" && DLLTOOL=dlltool
   4887 
   4888 
   4889 
   4890 
   4891 
   4892 test -z "$OBJDUMP" && OBJDUMP=objdump
   4893 
   4894 
   4895 
   4896 
   4897 
   4898 
   4899 
   4900 case `pwd` in
   4901   *\ * | *\	*)
   4902     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   4903 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   4904 esac
   4905 
   4906 
   4907 
   4908 macro_version='2.4.2'
   4909 macro_revision='1.3337'
   4910 
   4911 
   4912 
   4913 
   4914 
   4915 
   4916 
   4917 
   4918 
   4919 
   4920 
   4921 
   4922 
   4923 ltmain="$ac_aux_dir/ltmain.sh"
   4924 
   4925 # Backslashify metacharacters that are still active within
   4926 # double-quoted strings.
   4927 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   4928 
   4929 # Same as above, but do not quote variable references.
   4930 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   4931 
   4932 # Sed substitution to delay expansion of an escaped shell variable in a
   4933 # double_quote_subst'ed string.
   4934 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   4935 
   4936 # Sed substitution to delay expansion of an escaped single quote.
   4937 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   4938 
   4939 # Sed substitution to avoid accidental globbing in evaled expressions
   4940 no_glob_subst='s/\*/\\\*/g'
   4941 
   4942 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   4943 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   4944 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   4945 
   4946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   4947 $as_echo_n "checking how to print strings... " >&6; }
   4948 # Test print first, because it will be a builtin if present.
   4949 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   4950    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   4951   ECHO='print -r --'
   4952 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   4953   ECHO='printf %s\n'
   4954 else
   4955   # Use this function as a fallback that always works.
   4956   func_fallback_echo ()
   4957   {
   4958     eval 'cat <<_LTECHO_EOF
   4959 $1
   4960 _LTECHO_EOF'
   4961   }
   4962   ECHO='func_fallback_echo'
   4963 fi
   4964 
   4965 # func_echo_all arg...
   4966 # Invoke $ECHO with all args, space-separated.
   4967 func_echo_all ()
   4968 {
   4969     $ECHO ""
   4970 }
   4971 
   4972 case "$ECHO" in
   4973   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   4974 $as_echo "printf" >&6; } ;;
   4975   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   4976 $as_echo "print -r" >&6; } ;;
   4977   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   4978 $as_echo "cat" >&6; } ;;
   4979 esac
   4980 
   4981 
   4982 
   4983 
   4984 
   4985 
   4986 
   4987 
   4988 
   4989 
   4990 
   4991 
   4992 
   4993 
   4994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4995 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4996 if ${ac_cv_path_SED+:} false; then :
   4997   $as_echo_n "(cached) " >&6
   4998 else
   4999             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5000      for ac_i in 1 2 3 4 5 6 7; do
   5001        ac_script="$ac_script$as_nl$ac_script"
   5002      done
   5003      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5004      { ac_script=; unset ac_script;}
   5005      if test -z "$SED"; then
   5006   ac_path_SED_found=false
   5007   # Loop through the user's path and test for each of PROGNAME-LIST
   5008   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5009 for as_dir in $PATH
   5010 do
   5011   IFS=$as_save_IFS
   5012   test -z "$as_dir" && as_dir=.
   5013     for ac_prog in sed gsed; do
   5014     for ac_exec_ext in '' $ac_executable_extensions; do
   5015       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   5016       as_fn_executable_p "$ac_path_SED" || continue
   5017 # Check for GNU ac_path_SED and select it if it is found.
   5018   # Check for GNU $ac_path_SED
   5019 case `"$ac_path_SED" --version 2>&1` in
   5020 *GNU*)
   5021   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5022 *)
   5023   ac_count=0
   5024   $as_echo_n 0123456789 >"conftest.in"
   5025   while :
   5026   do
   5027     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5028     mv "conftest.tmp" "conftest.in"
   5029     cp "conftest.in" "conftest.nl"
   5030     $as_echo '' >> "conftest.nl"
   5031     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5032     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5033     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5034     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5035       # Best one so far, save it but keep looking for a better one
   5036       ac_cv_path_SED="$ac_path_SED"
   5037       ac_path_SED_max=$ac_count
   5038     fi
   5039     # 10*(2^10) chars as input seems more than enough
   5040     test $ac_count -gt 10 && break
   5041   done
   5042   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5043 esac
   5044 
   5045       $ac_path_SED_found && break 3
   5046     done
   5047   done
   5048   done
   5049 IFS=$as_save_IFS
   5050   if test -z "$ac_cv_path_SED"; then
   5051     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5052   fi
   5053 else
   5054   ac_cv_path_SED=$SED
   5055 fi
   5056 
   5057 fi
   5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5059 $as_echo "$ac_cv_path_SED" >&6; }
   5060  SED="$ac_cv_path_SED"
   5061   rm -f conftest.sed
   5062 
   5063 test -z "$SED" && SED=sed
   5064 Xsed="$SED -e 1s/^X//"
   5065 
   5066 
   5067 
   5068 
   5069 
   5070 
   5071 
   5072 
   5073 
   5074 
   5075 
   5076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5077 $as_echo_n "checking for fgrep... " >&6; }
   5078 if ${ac_cv_path_FGREP+:} false; then :
   5079   $as_echo_n "(cached) " >&6
   5080 else
   5081   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5082    then ac_cv_path_FGREP="$GREP -F"
   5083    else
   5084      if test -z "$FGREP"; then
   5085   ac_path_FGREP_found=false
   5086   # Loop through the user's path and test for each of PROGNAME-LIST
   5087   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5088 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5089 do
   5090   IFS=$as_save_IFS
   5091   test -z "$as_dir" && as_dir=.
   5092     for ac_prog in fgrep; do
   5093     for ac_exec_ext in '' $ac_executable_extensions; do
   5094       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   5095       as_fn_executable_p "$ac_path_FGREP" || continue
   5096 # Check for GNU ac_path_FGREP and select it if it is found.
   5097   # Check for GNU $ac_path_FGREP
   5098 case `"$ac_path_FGREP" --version 2>&1` in
   5099 *GNU*)
   5100   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5101 *)
   5102   ac_count=0
   5103   $as_echo_n 0123456789 >"conftest.in"
   5104   while :
   5105   do
   5106     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5107     mv "conftest.tmp" "conftest.in"
   5108     cp "conftest.in" "conftest.nl"
   5109     $as_echo 'FGREP' >> "conftest.nl"
   5110     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5111     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5112     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5113     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5114       # Best one so far, save it but keep looking for a better one
   5115       ac_cv_path_FGREP="$ac_path_FGREP"
   5116       ac_path_FGREP_max=$ac_count
   5117     fi
   5118     # 10*(2^10) chars as input seems more than enough
   5119     test $ac_count -gt 10 && break
   5120   done
   5121   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5122 esac
   5123 
   5124       $ac_path_FGREP_found && break 3
   5125     done
   5126   done
   5127   done
   5128 IFS=$as_save_IFS
   5129   if test -z "$ac_cv_path_FGREP"; then
   5130     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5131   fi
   5132 else
   5133   ac_cv_path_FGREP=$FGREP
   5134 fi
   5135 
   5136    fi
   5137 fi
   5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5139 $as_echo "$ac_cv_path_FGREP" >&6; }
   5140  FGREP="$ac_cv_path_FGREP"
   5141 
   5142 
   5143 test -z "$GREP" && GREP=grep
   5144 
   5145 
   5146 
   5147 
   5148 
   5149 
   5150 
   5151 
   5152 
   5153 
   5154 
   5155 
   5156 
   5157 
   5158 
   5159 
   5160 
   5161 
   5162 
   5163 # Check whether --with-gnu-ld was given.
   5164 if test "${with_gnu_ld+set}" = set; then :
   5165   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   5166 else
   5167   with_gnu_ld=no
   5168 fi
   5169 
   5170 ac_prog=ld
   5171 if test "$GCC" = yes; then
   5172   # Check if gcc -print-prog-name=ld gives a path.
   5173   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5174 $as_echo_n "checking for ld used by $CC... " >&6; }
   5175   case $host in
   5176   *-*-mingw*)
   5177     # gcc leaves a trailing carriage return which upsets mingw
   5178     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5179   *)
   5180     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5181   esac
   5182   case $ac_prog in
   5183     # Accept absolute paths.
   5184     [\\/]* | ?:[\\/]*)
   5185       re_direlt='/[^/][^/]*/\.\./'
   5186       # Canonicalize the pathname of ld
   5187       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5188       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5189 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5190       done
   5191       test -z "$LD" && LD="$ac_prog"
   5192       ;;
   5193   "")
   5194     # If it fails, then pretend we aren't using GCC.
   5195     ac_prog=ld
   5196     ;;
   5197   *)
   5198     # If it is relative, then search for the first ld in PATH.
   5199     with_gnu_ld=unknown
   5200     ;;
   5201   esac
   5202 elif test "$with_gnu_ld" = yes; then
   5203   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5204 $as_echo_n "checking for GNU ld... " >&6; }
   5205 else
   5206   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5207 $as_echo_n "checking for non-GNU ld... " >&6; }
   5208 fi
   5209 if ${lt_cv_path_LD+:} false; then :
   5210   $as_echo_n "(cached) " >&6
   5211 else
   5212   if test -z "$LD"; then
   5213   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5214   for ac_dir in $PATH; do
   5215     IFS="$lt_save_ifs"
   5216     test -z "$ac_dir" && ac_dir=.
   5217     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5218       lt_cv_path_LD="$ac_dir/$ac_prog"
   5219       # Check to see if the program is GNU ld.  I'd rather use --version,
   5220       # but apparently some variants of GNU ld only accept -v.
   5221       # Break only if it was the GNU/non-GNU ld that we prefer.
   5222       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5223       *GNU* | *'with BFD'*)
   5224 	test "$with_gnu_ld" != no && break
   5225 	;;
   5226       *)
   5227 	test "$with_gnu_ld" != yes && break
   5228 	;;
   5229       esac
   5230     fi
   5231   done
   5232   IFS="$lt_save_ifs"
   5233 else
   5234   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   5235 fi
   5236 fi
   5237 
   5238 LD="$lt_cv_path_LD"
   5239 if test -n "$LD"; then
   5240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5241 $as_echo "$LD" >&6; }
   5242 else
   5243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5244 $as_echo "no" >&6; }
   5245 fi
   5246 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5248 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   5249 if ${lt_cv_prog_gnu_ld+:} false; then :
   5250   $as_echo_n "(cached) " >&6
   5251 else
   5252   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5253 case `$LD -v 2>&1 </dev/null` in
   5254 *GNU* | *'with BFD'*)
   5255   lt_cv_prog_gnu_ld=yes
   5256   ;;
   5257 *)
   5258   lt_cv_prog_gnu_ld=no
   5259   ;;
   5260 esac
   5261 fi
   5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5263 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   5264 with_gnu_ld=$lt_cv_prog_gnu_ld
   5265 
   5266 
   5267 
   5268 
   5269 
   5270 
   5271 
   5272 
   5273 
   5274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5275 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5276 if ${lt_cv_path_NM+:} false; then :
   5277   $as_echo_n "(cached) " >&6
   5278 else
   5279   if test -n "$NM"; then
   5280   # Let the user override the test.
   5281   lt_cv_path_NM="$NM"
   5282 else
   5283   lt_nm_to_check="${ac_tool_prefix}nm"
   5284   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5285     lt_nm_to_check="$lt_nm_to_check nm"
   5286   fi
   5287   for lt_tmp_nm in $lt_nm_to_check; do
   5288     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5289     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5290       IFS="$lt_save_ifs"
   5291       test -z "$ac_dir" && ac_dir=.
   5292       tmp_nm="$ac_dir/$lt_tmp_nm"
   5293       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   5294 	# Check to see if the nm accepts a BSD-compat flag.
   5295 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   5296 	#   nm: unknown option "B" ignored
   5297 	# Tru64's nm complains that /dev/null is an invalid object file
   5298 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   5299 	*/dev/null* | *'Invalid file or object type'*)
   5300 	  lt_cv_path_NM="$tmp_nm -B"
   5301 	  break
   5302 	  ;;
   5303 	*)
   5304 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   5305 	  */dev/null*)
   5306 	    lt_cv_path_NM="$tmp_nm -p"
   5307 	    break
   5308 	    ;;
   5309 	  *)
   5310 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5311 	    continue # so that we can try to find one that supports BSD flags
   5312 	    ;;
   5313 	  esac
   5314 	  ;;
   5315 	esac
   5316       fi
   5317     done
   5318     IFS="$lt_save_ifs"
   5319   done
   5320   : ${lt_cv_path_NM=no}
   5321 fi
   5322 fi
   5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5324 $as_echo "$lt_cv_path_NM" >&6; }
   5325 if test "$lt_cv_path_NM" != "no"; then
   5326   NM="$lt_cv_path_NM"
   5327 else
   5328   # Didn't find any BSD compatible name lister, look for dumpbin.
   5329   if test -n "$DUMPBIN"; then :
   5330     # Let the user override the test.
   5331   else
   5332     if test -n "$ac_tool_prefix"; then
   5333   for ac_prog in dumpbin "link -dump"
   5334   do
   5335     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5336 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5338 $as_echo_n "checking for $ac_word... " >&6; }
   5339 if ${ac_cv_prog_DUMPBIN+:} false; then :
   5340   $as_echo_n "(cached) " >&6
   5341 else
   5342   if test -n "$DUMPBIN"; then
   5343   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5344 else
   5345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5346 for as_dir in $PATH
   5347 do
   5348   IFS=$as_save_IFS
   5349   test -z "$as_dir" && as_dir=.
   5350     for ac_exec_ext in '' $ac_executable_extensions; do
   5351   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5352     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5353     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5354     break 2
   5355   fi
   5356 done
   5357   done
   5358 IFS=$as_save_IFS
   5359 
   5360 fi
   5361 fi
   5362 DUMPBIN=$ac_cv_prog_DUMPBIN
   5363 if test -n "$DUMPBIN"; then
   5364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5365 $as_echo "$DUMPBIN" >&6; }
   5366 else
   5367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5368 $as_echo "no" >&6; }
   5369 fi
   5370 
   5371 
   5372     test -n "$DUMPBIN" && break
   5373   done
   5374 fi
   5375 if test -z "$DUMPBIN"; then
   5376   ac_ct_DUMPBIN=$DUMPBIN
   5377   for ac_prog in dumpbin "link -dump"
   5378 do
   5379   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5380 set dummy $ac_prog; ac_word=$2
   5381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5382 $as_echo_n "checking for $ac_word... " >&6; }
   5383 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   5384   $as_echo_n "(cached) " >&6
   5385 else
   5386   if test -n "$ac_ct_DUMPBIN"; then
   5387   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5388 else
   5389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5390 for as_dir in $PATH
   5391 do
   5392   IFS=$as_save_IFS
   5393   test -z "$as_dir" && as_dir=.
   5394     for ac_exec_ext in '' $ac_executable_extensions; do
   5395   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5396     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5397     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5398     break 2
   5399   fi
   5400 done
   5401   done
   5402 IFS=$as_save_IFS
   5403 
   5404 fi
   5405 fi
   5406 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5407 if test -n "$ac_ct_DUMPBIN"; then
   5408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5409 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5410 else
   5411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5412 $as_echo "no" >&6; }
   5413 fi
   5414 
   5415 
   5416   test -n "$ac_ct_DUMPBIN" && break
   5417 done
   5418 
   5419   if test "x$ac_ct_DUMPBIN" = x; then
   5420     DUMPBIN=":"
   5421   else
   5422     case $cross_compiling:$ac_tool_warned in
   5423 yes:)
   5424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5425 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5426 ac_tool_warned=yes ;;
   5427 esac
   5428     DUMPBIN=$ac_ct_DUMPBIN
   5429   fi
   5430 fi
   5431 
   5432     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   5433     *COFF*)
   5434       DUMPBIN="$DUMPBIN -symbols"
   5435       ;;
   5436     *)
   5437       DUMPBIN=:
   5438       ;;
   5439     esac
   5440   fi
   5441 
   5442   if test "$DUMPBIN" != ":"; then
   5443     NM="$DUMPBIN"
   5444   fi
   5445 fi
   5446 test -z "$NM" && NM=nm
   5447 
   5448 
   5449 
   5450 
   5451 
   5452 
   5453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5454 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5455 if ${lt_cv_nm_interface+:} false; then :
   5456   $as_echo_n "(cached) " >&6
   5457 else
   5458   lt_cv_nm_interface="BSD nm"
   5459   echo "int some_variable = 0;" > conftest.$ac_ext
   5460   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5461   (eval "$ac_compile" 2>conftest.err)
   5462   cat conftest.err >&5
   5463   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5464   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5465   cat conftest.err >&5
   5466   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5467   cat conftest.out >&5
   5468   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5469     lt_cv_nm_interface="MS dumpbin"
   5470   fi
   5471   rm -f conftest*
   5472 fi
   5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5474 $as_echo "$lt_cv_nm_interface" >&6; }
   5475 
   5476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5477 $as_echo_n "checking whether ln -s works... " >&6; }
   5478 LN_S=$as_ln_s
   5479 if test "$LN_S" = "ln -s"; then
   5480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5481 $as_echo "yes" >&6; }
   5482 else
   5483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5484 $as_echo "no, using $LN_S" >&6; }
   5485 fi
   5486 
   5487 # find the maximum length of command line arguments
   5488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5489 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5490 if ${lt_cv_sys_max_cmd_len+:} false; then :
   5491   $as_echo_n "(cached) " >&6
   5492 else
   5493     i=0
   5494   teststring="ABCD"
   5495 
   5496   case $build_os in
   5497   msdosdjgpp*)
   5498     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5499     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5500     # during glob expansion).  Even if it were fixed, the result of this
   5501     # check would be larger than it should be.
   5502     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5503     ;;
   5504 
   5505   gnu*)
   5506     # Under GNU Hurd, this test is not required because there is
   5507     # no limit to the length of command line arguments.
   5508     # Libtool will interpret -1 as no limit whatsoever
   5509     lt_cv_sys_max_cmd_len=-1;
   5510     ;;
   5511 
   5512   cygwin* | mingw* | cegcc*)
   5513     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5514     # about 5 minutes as the teststring grows exponentially.
   5515     # Worse, since 9x/ME are not pre-emptively multitasking,
   5516     # you end up with a "frozen" computer, even though with patience
   5517     # the test eventually succeeds (with a max line length of 256k).
   5518     # Instead, let's just punt: use the minimum linelength reported by
   5519     # all of the supported platforms: 8192 (on NT/2K/XP).
   5520     lt_cv_sys_max_cmd_len=8192;
   5521     ;;
   5522 
   5523   mint*)
   5524     # On MiNT this can take a long time and run out of memory.
   5525     lt_cv_sys_max_cmd_len=8192;
   5526     ;;
   5527 
   5528   amigaos*)
   5529     # On AmigaOS with pdksh, this test takes hours, literally.
   5530     # So we just punt and use a minimum line length of 8192.
   5531     lt_cv_sys_max_cmd_len=8192;
   5532     ;;
   5533 
   5534   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   5535     # This has been around since 386BSD, at least.  Likely further.
   5536     if test -x /sbin/sysctl; then
   5537       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5538     elif test -x /usr/sbin/sysctl; then
   5539       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5540     else
   5541       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5542     fi
   5543     # And add a safety zone
   5544     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5545     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5546     ;;
   5547 
   5548   interix*)
   5549     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5550     lt_cv_sys_max_cmd_len=196608
   5551     ;;
   5552 
   5553   os2*)
   5554     # The test takes a long time on OS/2.
   5555     lt_cv_sys_max_cmd_len=8192
   5556     ;;
   5557 
   5558   osf*)
   5559     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5560     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5561     # nice to cause kernel panics so lets avoid the loop below.
   5562     # First set a reasonable default.
   5563     lt_cv_sys_max_cmd_len=16384
   5564     #
   5565     if test -x /sbin/sysconfig; then
   5566       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5567         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5568       esac
   5569     fi
   5570     ;;
   5571   sco3.2v5*)
   5572     lt_cv_sys_max_cmd_len=102400
   5573     ;;
   5574   sysv5* | sco5v6* | sysv4.2uw2*)
   5575     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5576     if test -n "$kargmax"; then
   5577       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5578     else
   5579       lt_cv_sys_max_cmd_len=32768
   5580     fi
   5581     ;;
   5582   *)
   5583     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5584     if test -n "$lt_cv_sys_max_cmd_len"; then
   5585       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5586       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5587     else
   5588       # Make teststring a little bigger before we do anything with it.
   5589       # a 1K string should be a reasonable start.
   5590       for i in 1 2 3 4 5 6 7 8 ; do
   5591         teststring=$teststring$teststring
   5592       done
   5593       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5594       # If test is not a shell built-in, we'll probably end up computing a
   5595       # maximum length that is only half of the actual maximum length, but
   5596       # we can't tell.
   5597       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   5598 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5599 	      test $i != 17 # 1/2 MB should be enough
   5600       do
   5601         i=`expr $i + 1`
   5602         teststring=$teststring$teststring
   5603       done
   5604       # Only check the string length outside the loop.
   5605       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5606       teststring=
   5607       # Add a significant safety factor because C++ compilers can tack on
   5608       # massive amounts of additional arguments before passing them to the
   5609       # linker.  It appears as though 1/2 is a usable value.
   5610       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5611     fi
   5612     ;;
   5613   esac
   5614 
   5615 fi
   5616 
   5617 if test -n $lt_cv_sys_max_cmd_len ; then
   5618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5619 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5620 else
   5621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5622 $as_echo "none" >&6; }
   5623 fi
   5624 max_cmd_len=$lt_cv_sys_max_cmd_len
   5625 
   5626 
   5627 
   5628 
   5629 
   5630 
   5631 : ${CP="cp -f"}
   5632 : ${MV="mv -f"}
   5633 : ${RM="rm -f"}
   5634 
   5635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   5636 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   5637 # Try some XSI features
   5638 xsi_shell=no
   5639 ( _lt_dummy="a/b/c"
   5640   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   5641       = c,a/b,b/c, \
   5642     && eval 'test $(( 1 + 1 )) -eq 2 \
   5643     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   5644   && xsi_shell=yes
   5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   5646 $as_echo "$xsi_shell" >&6; }
   5647 
   5648 
   5649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   5650 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   5651 lt_shell_append=no
   5652 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   5653     >/dev/null 2>&1 \
   5654   && lt_shell_append=yes
   5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   5656 $as_echo "$lt_shell_append" >&6; }
   5657 
   5658 
   5659 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5660   lt_unset=unset
   5661 else
   5662   lt_unset=false
   5663 fi
   5664 
   5665 
   5666 
   5667 
   5668 
   5669 # test EBCDIC or ASCII
   5670 case `echo X|tr X '\101'` in
   5671  A) # ASCII based system
   5672     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5673   lt_SP2NL='tr \040 \012'
   5674   lt_NL2SP='tr \015\012 \040\040'
   5675   ;;
   5676  *) # EBCDIC based system
   5677   lt_SP2NL='tr \100 \n'
   5678   lt_NL2SP='tr \r\n \100\100'
   5679   ;;
   5680 esac
   5681 
   5682 
   5683 
   5684 
   5685 
   5686 
   5687 
   5688 
   5689 
   5690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5691 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   5692 if ${lt_cv_to_host_file_cmd+:} false; then :
   5693   $as_echo_n "(cached) " >&6
   5694 else
   5695   case $host in
   5696   *-*-mingw* )
   5697     case $build in
   5698       *-*-mingw* ) # actually msys
   5699         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5700         ;;
   5701       *-*-cygwin* )
   5702         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5703         ;;
   5704       * ) # otherwise, assume *nix
   5705         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5706         ;;
   5707     esac
   5708     ;;
   5709   *-*-cygwin* )
   5710     case $build in
   5711       *-*-mingw* ) # actually msys
   5712         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5713         ;;
   5714       *-*-cygwin* )
   5715         lt_cv_to_host_file_cmd=func_convert_file_noop
   5716         ;;
   5717       * ) # otherwise, assume *nix
   5718         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5719         ;;
   5720     esac
   5721     ;;
   5722   * ) # unhandled hosts (and "normal" native builds)
   5723     lt_cv_to_host_file_cmd=func_convert_file_noop
   5724     ;;
   5725 esac
   5726 
   5727 fi
   5728 
   5729 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5731 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   5732 
   5733 
   5734 
   5735 
   5736 
   5737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5738 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   5739 if ${lt_cv_to_tool_file_cmd+:} false; then :
   5740   $as_echo_n "(cached) " >&6
   5741 else
   5742   #assume ordinary cross tools, or native build.
   5743 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5744 case $host in
   5745   *-*-mingw* )
   5746     case $build in
   5747       *-*-mingw* ) # actually msys
   5748         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5749         ;;
   5750     esac
   5751     ;;
   5752 esac
   5753 
   5754 fi
   5755 
   5756 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5758 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   5759 
   5760 
   5761 
   5762 
   5763 
   5764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5765 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5766 if ${lt_cv_ld_reload_flag+:} false; then :
   5767   $as_echo_n "(cached) " >&6
   5768 else
   5769   lt_cv_ld_reload_flag='-r'
   5770 fi
   5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5772 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5773 reload_flag=$lt_cv_ld_reload_flag
   5774 case $reload_flag in
   5775 "" | " "*) ;;
   5776 *) reload_flag=" $reload_flag" ;;
   5777 esac
   5778 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5779 case $host_os in
   5780   cygwin* | mingw* | pw32* | cegcc*)
   5781     if test "$GCC" != yes; then
   5782       reload_cmds=false
   5783     fi
   5784     ;;
   5785   darwin*)
   5786     if test "$GCC" = yes; then
   5787       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   5788     else
   5789       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5790     fi
   5791     ;;
   5792 esac
   5793 
   5794 
   5795 
   5796 
   5797 
   5798 
   5799 
   5800 
   5801 
   5802 if test -n "$ac_tool_prefix"; then
   5803   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5804 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5806 $as_echo_n "checking for $ac_word... " >&6; }
   5807 if ${ac_cv_prog_OBJDUMP+:} false; then :
   5808   $as_echo_n "(cached) " >&6
   5809 else
   5810   if test -n "$OBJDUMP"; then
   5811   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5812 else
   5813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5814 for as_dir in $PATH
   5815 do
   5816   IFS=$as_save_IFS
   5817   test -z "$as_dir" && as_dir=.
   5818     for ac_exec_ext in '' $ac_executable_extensions; do
   5819   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5820     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5821     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5822     break 2
   5823   fi
   5824 done
   5825   done
   5826 IFS=$as_save_IFS
   5827 
   5828 fi
   5829 fi
   5830 OBJDUMP=$ac_cv_prog_OBJDUMP
   5831 if test -n "$OBJDUMP"; then
   5832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5833 $as_echo "$OBJDUMP" >&6; }
   5834 else
   5835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5836 $as_echo "no" >&6; }
   5837 fi
   5838 
   5839 
   5840 fi
   5841 if test -z "$ac_cv_prog_OBJDUMP"; then
   5842   ac_ct_OBJDUMP=$OBJDUMP
   5843   # Extract the first word of "objdump", so it can be a program name with args.
   5844 set dummy objdump; ac_word=$2
   5845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5846 $as_echo_n "checking for $ac_word... " >&6; }
   5847 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5848   $as_echo_n "(cached) " >&6
   5849 else
   5850   if test -n "$ac_ct_OBJDUMP"; then
   5851   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5852 else
   5853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5854 for as_dir in $PATH
   5855 do
   5856   IFS=$as_save_IFS
   5857   test -z "$as_dir" && as_dir=.
   5858     for ac_exec_ext in '' $ac_executable_extensions; do
   5859   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5860     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5861     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5862     break 2
   5863   fi
   5864 done
   5865   done
   5866 IFS=$as_save_IFS
   5867 
   5868 fi
   5869 fi
   5870 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5871 if test -n "$ac_ct_OBJDUMP"; then
   5872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5873 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5874 else
   5875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5876 $as_echo "no" >&6; }
   5877 fi
   5878 
   5879   if test "x$ac_ct_OBJDUMP" = x; then
   5880     OBJDUMP="false"
   5881   else
   5882     case $cross_compiling:$ac_tool_warned in
   5883 yes:)
   5884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5885 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5886 ac_tool_warned=yes ;;
   5887 esac
   5888     OBJDUMP=$ac_ct_OBJDUMP
   5889   fi
   5890 else
   5891   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5892 fi
   5893 
   5894 test -z "$OBJDUMP" && OBJDUMP=objdump
   5895 
   5896 
   5897 
   5898 
   5899 
   5900 
   5901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5902 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5903 if ${lt_cv_deplibs_check_method+:} false; then :
   5904   $as_echo_n "(cached) " >&6
   5905 else
   5906   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5907 lt_cv_file_magic_test_file=
   5908 lt_cv_deplibs_check_method='unknown'
   5909 # Need to set the preceding variable on all platforms that support
   5910 # interlibrary dependencies.
   5911 # 'none' -- dependencies not supported.
   5912 # `unknown' -- same as none, but documents that we really don't know.
   5913 # 'pass_all' -- all dependencies passed with no checks.
   5914 # 'test_compile' -- check by making test program.
   5915 # 'file_magic [[regex]]' -- check by looking for files in library path
   5916 # which responds to the $file_magic_cmd with a given extended regex.
   5917 # If you have `file' or equivalent on your system and you're not sure
   5918 # whether `pass_all' will *always* work, you probably want this one.
   5919 
   5920 case $host_os in
   5921 aix[4-9]*)
   5922   lt_cv_deplibs_check_method=pass_all
   5923   ;;
   5924 
   5925 beos*)
   5926   lt_cv_deplibs_check_method=pass_all
   5927   ;;
   5928 
   5929 bsdi[45]*)
   5930   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5931   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5932   lt_cv_file_magic_test_file=/shlib/libc.so
   5933   ;;
   5934 
   5935 cygwin*)
   5936   # func_win32_libid is a shell function defined in ltmain.sh
   5937   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5938   lt_cv_file_magic_cmd='func_win32_libid'
   5939   ;;
   5940 
   5941 mingw* | pw32*)
   5942   # Base MSYS/MinGW do not provide the 'file' command needed by
   5943   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5944   # unless we find 'file', for example because we are cross-compiling.
   5945   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5946   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5947     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5948     lt_cv_file_magic_cmd='func_win32_libid'
   5949   else
   5950     # Keep this pattern in sync with the one in func_win32_libid.
   5951     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5952     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5953   fi
   5954   ;;
   5955 
   5956 cegcc*)
   5957   # use the weaker test based on 'objdump'. See mingw*.
   5958   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5959   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5960   ;;
   5961 
   5962 darwin* | rhapsody*)
   5963   lt_cv_deplibs_check_method=pass_all
   5964   ;;
   5965 
   5966 freebsd* | dragonfly*)
   5967   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5968     case $host_cpu in
   5969     i*86 )
   5970       # Not sure whether the presence of OpenBSD here was a mistake.
   5971       # Let's accept both of them until this is cleared up.
   5972       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5973       lt_cv_file_magic_cmd=/usr/bin/file
   5974       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5975       ;;
   5976     esac
   5977   else
   5978     lt_cv_deplibs_check_method=pass_all
   5979   fi
   5980   ;;
   5981 
   5982 gnu*)
   5983   lt_cv_deplibs_check_method=pass_all
   5984   ;;
   5985 
   5986 haiku*)
   5987   lt_cv_deplibs_check_method=pass_all
   5988   ;;
   5989 
   5990 hpux10.20* | hpux11*)
   5991   lt_cv_file_magic_cmd=/usr/bin/file
   5992   case $host_cpu in
   5993   ia64*)
   5994     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5995     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5996     ;;
   5997   hppa*64*)
   5998     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]'
   5999     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6000     ;;
   6001   *)
   6002     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6003     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6004     ;;
   6005   esac
   6006   ;;
   6007 
   6008 interix[3-9]*)
   6009   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6010   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6011   ;;
   6012 
   6013 irix5* | irix6* | nonstopux*)
   6014   case $LD in
   6015   *-32|*"-32 ") libmagic=32-bit;;
   6016   *-n32|*"-n32 ") libmagic=N32;;
   6017   *-64|*"-64 ") libmagic=64-bit;;
   6018   *) libmagic=never-match;;
   6019   esac
   6020   lt_cv_deplibs_check_method=pass_all
   6021   ;;
   6022 
   6023 # This must be glibc/ELF.
   6024 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   6025   lt_cv_deplibs_check_method=pass_all
   6026   ;;
   6027 
   6028 netbsd*)
   6029   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6030     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6031   else
   6032     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6033   fi
   6034   ;;
   6035 
   6036 newos6*)
   6037   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6038   lt_cv_file_magic_cmd=/usr/bin/file
   6039   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6040   ;;
   6041 
   6042 *nto* | *qnx*)
   6043   lt_cv_deplibs_check_method=pass_all
   6044   ;;
   6045 
   6046 openbsd*)
   6047   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   6048     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6049   else
   6050     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6051   fi
   6052   ;;
   6053 
   6054 osf3* | osf4* | osf5*)
   6055   lt_cv_deplibs_check_method=pass_all
   6056   ;;
   6057 
   6058 rdos*)
   6059   lt_cv_deplibs_check_method=pass_all
   6060   ;;
   6061 
   6062 solaris*)
   6063   lt_cv_deplibs_check_method=pass_all
   6064   ;;
   6065 
   6066 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6067   lt_cv_deplibs_check_method=pass_all
   6068   ;;
   6069 
   6070 sysv4 | sysv4.3*)
   6071   case $host_vendor in
   6072   motorola)
   6073     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]'
   6074     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6075     ;;
   6076   ncr)
   6077     lt_cv_deplibs_check_method=pass_all
   6078     ;;
   6079   sequent)
   6080     lt_cv_file_magic_cmd='/bin/file'
   6081     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6082     ;;
   6083   sni)
   6084     lt_cv_file_magic_cmd='/bin/file'
   6085     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6086     lt_cv_file_magic_test_file=/lib/libc.so
   6087     ;;
   6088   siemens)
   6089     lt_cv_deplibs_check_method=pass_all
   6090     ;;
   6091   pc)
   6092     lt_cv_deplibs_check_method=pass_all
   6093     ;;
   6094   esac
   6095   ;;
   6096 
   6097 tpf*)
   6098   lt_cv_deplibs_check_method=pass_all
   6099   ;;
   6100 esac
   6101 
   6102 fi
   6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6104 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   6105 
   6106 file_magic_glob=
   6107 want_nocaseglob=no
   6108 if test "$build" = "$host"; then
   6109   case $host_os in
   6110   mingw* | pw32*)
   6111     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6112       want_nocaseglob=yes
   6113     else
   6114       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6115     fi
   6116     ;;
   6117   esac
   6118 fi
   6119 
   6120 file_magic_cmd=$lt_cv_file_magic_cmd
   6121 deplibs_check_method=$lt_cv_deplibs_check_method
   6122 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6123 
   6124 
   6125 
   6126 
   6127 
   6128 
   6129 
   6130 
   6131 
   6132 
   6133 
   6134 
   6135 
   6136 
   6137 
   6138 
   6139 
   6140 
   6141 
   6142 
   6143 
   6144 
   6145 if test -n "$ac_tool_prefix"; then
   6146   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6147 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6149 $as_echo_n "checking for $ac_word... " >&6; }
   6150 if ${ac_cv_prog_DLLTOOL+:} false; then :
   6151   $as_echo_n "(cached) " >&6
   6152 else
   6153   if test -n "$DLLTOOL"; then
   6154   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6155 else
   6156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6157 for as_dir in $PATH
   6158 do
   6159   IFS=$as_save_IFS
   6160   test -z "$as_dir" && as_dir=.
   6161     for ac_exec_ext in '' $ac_executable_extensions; do
   6162   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6163     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6164     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6165     break 2
   6166   fi
   6167 done
   6168   done
   6169 IFS=$as_save_IFS
   6170 
   6171 fi
   6172 fi
   6173 DLLTOOL=$ac_cv_prog_DLLTOOL
   6174 if test -n "$DLLTOOL"; then
   6175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6176 $as_echo "$DLLTOOL" >&6; }
   6177 else
   6178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6179 $as_echo "no" >&6; }
   6180 fi
   6181 
   6182 
   6183 fi
   6184 if test -z "$ac_cv_prog_DLLTOOL"; then
   6185   ac_ct_DLLTOOL=$DLLTOOL
   6186   # Extract the first word of "dlltool", so it can be a program name with args.
   6187 set dummy dlltool; ac_word=$2
   6188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6189 $as_echo_n "checking for $ac_word... " >&6; }
   6190 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   6191   $as_echo_n "(cached) " >&6
   6192 else
   6193   if test -n "$ac_ct_DLLTOOL"; then
   6194   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6195 else
   6196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6197 for as_dir in $PATH
   6198 do
   6199   IFS=$as_save_IFS
   6200   test -z "$as_dir" && as_dir=.
   6201     for ac_exec_ext in '' $ac_executable_extensions; do
   6202   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6203     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6204     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6205     break 2
   6206   fi
   6207 done
   6208   done
   6209 IFS=$as_save_IFS
   6210 
   6211 fi
   6212 fi
   6213 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6214 if test -n "$ac_ct_DLLTOOL"; then
   6215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6216 $as_echo "$ac_ct_DLLTOOL" >&6; }
   6217 else
   6218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6219 $as_echo "no" >&6; }
   6220 fi
   6221 
   6222   if test "x$ac_ct_DLLTOOL" = x; then
   6223     DLLTOOL="false"
   6224   else
   6225     case $cross_compiling:$ac_tool_warned in
   6226 yes:)
   6227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6228 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6229 ac_tool_warned=yes ;;
   6230 esac
   6231     DLLTOOL=$ac_ct_DLLTOOL
   6232   fi
   6233 else
   6234   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6235 fi
   6236 
   6237 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6238 
   6239 
   6240 
   6241 
   6242 
   6243 
   6244 
   6245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6246 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   6247 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   6248   $as_echo_n "(cached) " >&6
   6249 else
   6250   lt_cv_sharedlib_from_linklib_cmd='unknown'
   6251 
   6252 case $host_os in
   6253 cygwin* | mingw* | pw32* | cegcc*)
   6254   # two different shell functions defined in ltmain.sh
   6255   # decide which to use based on capabilities of $DLLTOOL
   6256   case `$DLLTOOL --help 2>&1` in
   6257   *--identify-strict*)
   6258     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6259     ;;
   6260   *)
   6261     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6262     ;;
   6263   esac
   6264   ;;
   6265 *)
   6266   # fallback: assume linklib IS sharedlib
   6267   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   6268   ;;
   6269 esac
   6270 
   6271 fi
   6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6273 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6274 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6275 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6276 
   6277 
   6278 
   6279 
   6280 
   6281 
   6282 
   6283 if test -n "$ac_tool_prefix"; then
   6284   for ac_prog in ar
   6285   do
   6286     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6287 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6289 $as_echo_n "checking for $ac_word... " >&6; }
   6290 if ${ac_cv_prog_AR+:} false; then :
   6291   $as_echo_n "(cached) " >&6
   6292 else
   6293   if test -n "$AR"; then
   6294   ac_cv_prog_AR="$AR" # Let the user override the test.
   6295 else
   6296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6297 for as_dir in $PATH
   6298 do
   6299   IFS=$as_save_IFS
   6300   test -z "$as_dir" && as_dir=.
   6301     for ac_exec_ext in '' $ac_executable_extensions; do
   6302   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6303     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6304     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6305     break 2
   6306   fi
   6307 done
   6308   done
   6309 IFS=$as_save_IFS
   6310 
   6311 fi
   6312 fi
   6313 AR=$ac_cv_prog_AR
   6314 if test -n "$AR"; then
   6315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6316 $as_echo "$AR" >&6; }
   6317 else
   6318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6319 $as_echo "no" >&6; }
   6320 fi
   6321 
   6322 
   6323     test -n "$AR" && break
   6324   done
   6325 fi
   6326 if test -z "$AR"; then
   6327   ac_ct_AR=$AR
   6328   for ac_prog in ar
   6329 do
   6330   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6331 set dummy $ac_prog; ac_word=$2
   6332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6333 $as_echo_n "checking for $ac_word... " >&6; }
   6334 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   6335   $as_echo_n "(cached) " >&6
   6336 else
   6337   if test -n "$ac_ct_AR"; then
   6338   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6339 else
   6340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6341 for as_dir in $PATH
   6342 do
   6343   IFS=$as_save_IFS
   6344   test -z "$as_dir" && as_dir=.
   6345     for ac_exec_ext in '' $ac_executable_extensions; do
   6346   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6347     ac_cv_prog_ac_ct_AR="$ac_prog"
   6348     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6349     break 2
   6350   fi
   6351 done
   6352   done
   6353 IFS=$as_save_IFS
   6354 
   6355 fi
   6356 fi
   6357 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6358 if test -n "$ac_ct_AR"; then
   6359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6360 $as_echo "$ac_ct_AR" >&6; }
   6361 else
   6362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6363 $as_echo "no" >&6; }
   6364 fi
   6365 
   6366 
   6367   test -n "$ac_ct_AR" && break
   6368 done
   6369 
   6370   if test "x$ac_ct_AR" = x; then
   6371     AR="false"
   6372   else
   6373     case $cross_compiling:$ac_tool_warned in
   6374 yes:)
   6375 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6376 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6377 ac_tool_warned=yes ;;
   6378 esac
   6379     AR=$ac_ct_AR
   6380   fi
   6381 fi
   6382 
   6383 : ${AR=ar}
   6384 : ${AR_FLAGS=cru}
   6385 
   6386 
   6387 
   6388 
   6389 
   6390 
   6391 
   6392 
   6393 
   6394 
   6395 
   6396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6397 $as_echo_n "checking for archiver @FILE support... " >&6; }
   6398 if ${lt_cv_ar_at_file+:} false; then :
   6399   $as_echo_n "(cached) " >&6
   6400 else
   6401   lt_cv_ar_at_file=no
   6402    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6403 /* end confdefs.h.  */
   6404 
   6405 int
   6406 main ()
   6407 {
   6408 
   6409   ;
   6410   return 0;
   6411 }
   6412 _ACEOF
   6413 if ac_fn_c_try_compile "$LINENO"; then :
   6414   echo conftest.$ac_objext > conftest.lst
   6415       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6416       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6417   (eval $lt_ar_try) 2>&5
   6418   ac_status=$?
   6419   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6420   test $ac_status = 0; }
   6421       if test "$ac_status" -eq 0; then
   6422 	# Ensure the archiver fails upon bogus file names.
   6423 	rm -f conftest.$ac_objext libconftest.a
   6424 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6425   (eval $lt_ar_try) 2>&5
   6426   ac_status=$?
   6427   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6428   test $ac_status = 0; }
   6429 	if test "$ac_status" -ne 0; then
   6430           lt_cv_ar_at_file=@
   6431         fi
   6432       fi
   6433       rm -f conftest.* libconftest.a
   6434 
   6435 fi
   6436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6437 
   6438 fi
   6439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6440 $as_echo "$lt_cv_ar_at_file" >&6; }
   6441 
   6442 if test "x$lt_cv_ar_at_file" = xno; then
   6443   archiver_list_spec=
   6444 else
   6445   archiver_list_spec=$lt_cv_ar_at_file
   6446 fi
   6447 
   6448 
   6449 
   6450 
   6451 
   6452 
   6453 
   6454 if test -n "$ac_tool_prefix"; then
   6455   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6456 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6458 $as_echo_n "checking for $ac_word... " >&6; }
   6459 if ${ac_cv_prog_STRIP+:} false; then :
   6460   $as_echo_n "(cached) " >&6
   6461 else
   6462   if test -n "$STRIP"; then
   6463   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6464 else
   6465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6466 for as_dir in $PATH
   6467 do
   6468   IFS=$as_save_IFS
   6469   test -z "$as_dir" && as_dir=.
   6470     for ac_exec_ext in '' $ac_executable_extensions; do
   6471   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6472     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6473     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6474     break 2
   6475   fi
   6476 done
   6477   done
   6478 IFS=$as_save_IFS
   6479 
   6480 fi
   6481 fi
   6482 STRIP=$ac_cv_prog_STRIP
   6483 if test -n "$STRIP"; then
   6484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6485 $as_echo "$STRIP" >&6; }
   6486 else
   6487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6488 $as_echo "no" >&6; }
   6489 fi
   6490 
   6491 
   6492 fi
   6493 if test -z "$ac_cv_prog_STRIP"; then
   6494   ac_ct_STRIP=$STRIP
   6495   # Extract the first word of "strip", so it can be a program name with args.
   6496 set dummy strip; ac_word=$2
   6497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6498 $as_echo_n "checking for $ac_word... " >&6; }
   6499 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   6500   $as_echo_n "(cached) " >&6
   6501 else
   6502   if test -n "$ac_ct_STRIP"; then
   6503   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6504 else
   6505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6506 for as_dir in $PATH
   6507 do
   6508   IFS=$as_save_IFS
   6509   test -z "$as_dir" && as_dir=.
   6510     for ac_exec_ext in '' $ac_executable_extensions; do
   6511   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6512     ac_cv_prog_ac_ct_STRIP="strip"
   6513     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6514     break 2
   6515   fi
   6516 done
   6517   done
   6518 IFS=$as_save_IFS
   6519 
   6520 fi
   6521 fi
   6522 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6523 if test -n "$ac_ct_STRIP"; then
   6524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6525 $as_echo "$ac_ct_STRIP" >&6; }
   6526 else
   6527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6528 $as_echo "no" >&6; }
   6529 fi
   6530 
   6531   if test "x$ac_ct_STRIP" = x; then
   6532     STRIP=":"
   6533   else
   6534     case $cross_compiling:$ac_tool_warned in
   6535 yes:)
   6536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6537 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6538 ac_tool_warned=yes ;;
   6539 esac
   6540     STRIP=$ac_ct_STRIP
   6541   fi
   6542 else
   6543   STRIP="$ac_cv_prog_STRIP"
   6544 fi
   6545 
   6546 test -z "$STRIP" && STRIP=:
   6547 
   6548 
   6549 
   6550 
   6551 
   6552 
   6553 if test -n "$ac_tool_prefix"; then
   6554   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6555 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6557 $as_echo_n "checking for $ac_word... " >&6; }
   6558 if ${ac_cv_prog_RANLIB+:} false; then :
   6559   $as_echo_n "(cached) " >&6
   6560 else
   6561   if test -n "$RANLIB"; then
   6562   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6563 else
   6564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6565 for as_dir in $PATH
   6566 do
   6567   IFS=$as_save_IFS
   6568   test -z "$as_dir" && as_dir=.
   6569     for ac_exec_ext in '' $ac_executable_extensions; do
   6570   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6571     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6572     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6573     break 2
   6574   fi
   6575 done
   6576   done
   6577 IFS=$as_save_IFS
   6578 
   6579 fi
   6580 fi
   6581 RANLIB=$ac_cv_prog_RANLIB
   6582 if test -n "$RANLIB"; then
   6583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6584 $as_echo "$RANLIB" >&6; }
   6585 else
   6586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6587 $as_echo "no" >&6; }
   6588 fi
   6589 
   6590 
   6591 fi
   6592 if test -z "$ac_cv_prog_RANLIB"; then
   6593   ac_ct_RANLIB=$RANLIB
   6594   # Extract the first word of "ranlib", so it can be a program name with args.
   6595 set dummy ranlib; ac_word=$2
   6596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6597 $as_echo_n "checking for $ac_word... " >&6; }
   6598 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   6599   $as_echo_n "(cached) " >&6
   6600 else
   6601   if test -n "$ac_ct_RANLIB"; then
   6602   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6603 else
   6604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6605 for as_dir in $PATH
   6606 do
   6607   IFS=$as_save_IFS
   6608   test -z "$as_dir" && as_dir=.
   6609     for ac_exec_ext in '' $ac_executable_extensions; do
   6610   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6611     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6612     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6613     break 2
   6614   fi
   6615 done
   6616   done
   6617 IFS=$as_save_IFS
   6618 
   6619 fi
   6620 fi
   6621 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6622 if test -n "$ac_ct_RANLIB"; then
   6623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6624 $as_echo "$ac_ct_RANLIB" >&6; }
   6625 else
   6626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6627 $as_echo "no" >&6; }
   6628 fi
   6629 
   6630   if test "x$ac_ct_RANLIB" = x; then
   6631     RANLIB=":"
   6632   else
   6633     case $cross_compiling:$ac_tool_warned in
   6634 yes:)
   6635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6636 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6637 ac_tool_warned=yes ;;
   6638 esac
   6639     RANLIB=$ac_ct_RANLIB
   6640   fi
   6641 else
   6642   RANLIB="$ac_cv_prog_RANLIB"
   6643 fi
   6644 
   6645 test -z "$RANLIB" && RANLIB=:
   6646 
   6647 
   6648 
   6649 
   6650 
   6651 
   6652 # Determine commands to create old-style static archives.
   6653 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6654 old_postinstall_cmds='chmod 644 $oldlib'
   6655 old_postuninstall_cmds=
   6656 
   6657 if test -n "$RANLIB"; then
   6658   case $host_os in
   6659   openbsd*)
   6660     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   6661     ;;
   6662   *)
   6663     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6664     ;;
   6665   esac
   6666   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   6667 fi
   6668 
   6669 case $host_os in
   6670   darwin*)
   6671     lock_old_archive_extraction=yes ;;
   6672   *)
   6673     lock_old_archive_extraction=no ;;
   6674 esac
   6675 
   6676 
   6677 
   6678 
   6679 
   6680 
   6681 
   6682 
   6683 
   6684 
   6685 
   6686 
   6687 
   6688 
   6689 
   6690 
   6691 
   6692 
   6693 
   6694 
   6695 
   6696 
   6697 
   6698 
   6699 
   6700 
   6701 
   6702 
   6703 
   6704 
   6705 
   6706 
   6707 
   6708 
   6709 
   6710 
   6711 
   6712 
   6713 
   6714 # If no C compiler was specified, use CC.
   6715 LTCC=${LTCC-"$CC"}
   6716 
   6717 # If no C compiler flags were specified, use CFLAGS.
   6718 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6719 
   6720 # Allow CC to be a program name with arguments.
   6721 compiler=$CC
   6722 
   6723 
   6724 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6726 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6727 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   6728   $as_echo_n "(cached) " >&6
   6729 else
   6730 
   6731 # These are sane defaults that work on at least a few old systems.
   6732 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6733 
   6734 # Character class describing NM global symbol codes.
   6735 symcode='[BCDEGRST]'
   6736 
   6737 # Regexp to match symbols that can be accessed directly from C.
   6738 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6739 
   6740 # Define system-specific variables.
   6741 case $host_os in
   6742 aix*)
   6743   symcode='[BCDT]'
   6744   ;;
   6745 cygwin* | mingw* | pw32* | cegcc*)
   6746   symcode='[ABCDGISTW]'
   6747   ;;
   6748 hpux*)
   6749   if test "$host_cpu" = ia64; then
   6750     symcode='[ABCDEGRST]'
   6751   fi
   6752   ;;
   6753 irix* | nonstopux*)
   6754   symcode='[BCDEGRST]'
   6755   ;;
   6756 osf*)
   6757   symcode='[BCDEGQRST]'
   6758   ;;
   6759 solaris*)
   6760   symcode='[BDRT]'
   6761   ;;
   6762 sco3.2v5*)
   6763   symcode='[DT]'
   6764   ;;
   6765 sysv4.2uw2*)
   6766   symcode='[DT]'
   6767   ;;
   6768 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6769   symcode='[ABDT]'
   6770   ;;
   6771 sysv4)
   6772   symcode='[DFNSTU]'
   6773   ;;
   6774 esac
   6775 
   6776 # If we're using GNU nm, then use its standard symbol codes.
   6777 case `$NM -V 2>&1` in
   6778 *GNU* | *'with BFD'*)
   6779   symcode='[ABCDGIRSTW]' ;;
   6780 esac
   6781 
   6782 # Transform an extracted symbol line into a proper C declaration.
   6783 # Some systems (esp. on ia64) link data and code symbols differently,
   6784 # so use this general approach.
   6785 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6786 
   6787 # Transform an extracted symbol line into symbol name and symbol address
   6788 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   6789 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'"
   6790 
   6791 # Handle CRLF in mingw tool chain
   6792 opt_cr=
   6793 case $build_os in
   6794 mingw*)
   6795   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6796   ;;
   6797 esac
   6798 
   6799 # Try without a prefix underscore, then with it.
   6800 for ac_symprfx in "" "_"; do
   6801 
   6802   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6803   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6804 
   6805   # Write the raw and C identifiers.
   6806   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6807     # Fake it for dumpbin and say T for any non-static function
   6808     # and D for any global variable.
   6809     # Also find C++ and __fastcall symbols from MSVC++,
   6810     # which start with @ or ?.
   6811     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6812 "     {last_section=section; section=\$ 3};"\
   6813 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   6814 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6815 "     \$ 0!~/External *\|/{next};"\
   6816 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6817 "     {if(hide[section]) next};"\
   6818 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6819 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6820 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6821 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6822 "     ' prfx=^$ac_symprfx"
   6823   else
   6824     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6825   fi
   6826   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   6827 
   6828   # Check to see that the pipe works correctly.
   6829   pipe_works=no
   6830 
   6831   rm -f conftest*
   6832   cat > conftest.$ac_ext <<_LT_EOF
   6833 #ifdef __cplusplus
   6834 extern "C" {
   6835 #endif
   6836 char nm_test_var;
   6837 void nm_test_func(void);
   6838 void nm_test_func(void){}
   6839 #ifdef __cplusplus
   6840 }
   6841 #endif
   6842 int main(){nm_test_var='a';nm_test_func();return(0);}
   6843 _LT_EOF
   6844 
   6845   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6846   (eval $ac_compile) 2>&5
   6847   ac_status=$?
   6848   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6849   test $ac_status = 0; }; then
   6850     # Now try to grab the symbols.
   6851     nlist=conftest.nm
   6852     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6853   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6854   ac_status=$?
   6855   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6856   test $ac_status = 0; } && test -s "$nlist"; then
   6857       # Try sorting and uniquifying the output.
   6858       if sort "$nlist" | uniq > "$nlist"T; then
   6859 	mv -f "$nlist"T "$nlist"
   6860       else
   6861 	rm -f "$nlist"T
   6862       fi
   6863 
   6864       # Make sure that we snagged all the symbols we need.
   6865       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6866 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6867 	  cat <<_LT_EOF > conftest.$ac_ext
   6868 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6869 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   6870 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   6871    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6872 # define LT_DLSYM_CONST
   6873 #elif defined(__osf__)
   6874 /* This system does not cope well with relocations in const data.  */
   6875 # define LT_DLSYM_CONST
   6876 #else
   6877 # define LT_DLSYM_CONST const
   6878 #endif
   6879 
   6880 #ifdef __cplusplus
   6881 extern "C" {
   6882 #endif
   6883 
   6884 _LT_EOF
   6885 	  # Now generate the symbol file.
   6886 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6887 
   6888 	  cat <<_LT_EOF >> conftest.$ac_ext
   6889 
   6890 /* The mapping between symbol names and symbols.  */
   6891 LT_DLSYM_CONST struct {
   6892   const char *name;
   6893   void       *address;
   6894 }
   6895 lt__PROGRAM__LTX_preloaded_symbols[] =
   6896 {
   6897   { "@PROGRAM@", (void *) 0 },
   6898 _LT_EOF
   6899 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6900 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6901   {0, (void *) 0}
   6902 };
   6903 
   6904 /* This works around a problem in FreeBSD linker */
   6905 #ifdef FREEBSD_WORKAROUND
   6906 static const void *lt_preloaded_setup() {
   6907   return lt__PROGRAM__LTX_preloaded_symbols;
   6908 }
   6909 #endif
   6910 
   6911 #ifdef __cplusplus
   6912 }
   6913 #endif
   6914 _LT_EOF
   6915 	  # Now try linking the two files.
   6916 	  mv conftest.$ac_objext conftstm.$ac_objext
   6917 	  lt_globsym_save_LIBS=$LIBS
   6918 	  lt_globsym_save_CFLAGS=$CFLAGS
   6919 	  LIBS="conftstm.$ac_objext"
   6920 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6921 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6922   (eval $ac_link) 2>&5
   6923   ac_status=$?
   6924   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6925   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6926 	    pipe_works=yes
   6927 	  fi
   6928 	  LIBS=$lt_globsym_save_LIBS
   6929 	  CFLAGS=$lt_globsym_save_CFLAGS
   6930 	else
   6931 	  echo "cannot find nm_test_func in $nlist" >&5
   6932 	fi
   6933       else
   6934 	echo "cannot find nm_test_var in $nlist" >&5
   6935       fi
   6936     else
   6937       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6938     fi
   6939   else
   6940     echo "$progname: failed program was:" >&5
   6941     cat conftest.$ac_ext >&5
   6942   fi
   6943   rm -rf conftest* conftst*
   6944 
   6945   # Do not use the global_symbol_pipe unless it works.
   6946   if test "$pipe_works" = yes; then
   6947     break
   6948   else
   6949     lt_cv_sys_global_symbol_pipe=
   6950   fi
   6951 done
   6952 
   6953 fi
   6954 
   6955 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6956   lt_cv_sys_global_symbol_to_cdecl=
   6957 fi
   6958 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6960 $as_echo "failed" >&6; }
   6961 else
   6962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6963 $as_echo "ok" >&6; }
   6964 fi
   6965 
   6966 # Response file support.
   6967 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6968   nm_file_list_spec='@'
   6969 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6970   nm_file_list_spec='@'
   6971 fi
   6972 
   6973 
   6974 
   6975 
   6976 
   6977 
   6978 
   6979 
   6980 
   6981 
   6982 
   6983 
   6984 
   6985 
   6986 
   6987 
   6988 
   6989 
   6990 
   6991 
   6992 
   6993 
   6994 
   6995 
   6996 
   6997 
   6998 
   6999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7000 $as_echo_n "checking for sysroot... " >&6; }
   7001 
   7002 # Check whether --with-sysroot was given.
   7003 if test "${with_sysroot+set}" = set; then :
   7004   withval=$with_sysroot;
   7005 else
   7006   with_sysroot=no
   7007 fi
   7008 
   7009 
   7010 lt_sysroot=
   7011 case ${with_sysroot} in #(
   7012  yes)
   7013    if test "$GCC" = yes; then
   7014      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   7015    fi
   7016    ;; #(
   7017  /*)
   7018    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   7019    ;; #(
   7020  no|'')
   7021    ;; #(
   7022  *)
   7023    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   7024 $as_echo "${with_sysroot}" >&6; }
   7025    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7026    ;;
   7027 esac
   7028 
   7029  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7030 $as_echo "${lt_sysroot:-no}" >&6; }
   7031 
   7032 
   7033 
   7034 
   7035 
   7036 # Check whether --enable-libtool-lock was given.
   7037 if test "${enable_libtool_lock+set}" = set; then :
   7038   enableval=$enable_libtool_lock;
   7039 fi
   7040 
   7041 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7042 
   7043 # Some flags need to be propagated to the compiler or linker for good
   7044 # libtool support.
   7045 case $host in
   7046 ia64-*-hpux*)
   7047   # Find out which ABI we are using.
   7048   echo 'int i;' > conftest.$ac_ext
   7049   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7050   (eval $ac_compile) 2>&5
   7051   ac_status=$?
   7052   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7053   test $ac_status = 0; }; then
   7054     case `/usr/bin/file conftest.$ac_objext` in
   7055       *ELF-32*)
   7056 	HPUX_IA64_MODE="32"
   7057 	;;
   7058       *ELF-64*)
   7059 	HPUX_IA64_MODE="64"
   7060 	;;
   7061     esac
   7062   fi
   7063   rm -rf conftest*
   7064   ;;
   7065 *-*-irix6*)
   7066   # Find out which ABI we are using.
   7067   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7068   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7069   (eval $ac_compile) 2>&5
   7070   ac_status=$?
   7071   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7072   test $ac_status = 0; }; then
   7073     if test "$lt_cv_prog_gnu_ld" = yes; then
   7074       case `/usr/bin/file conftest.$ac_objext` in
   7075 	*32-bit*)
   7076 	  LD="${LD-ld} -melf32bsmip"
   7077 	  ;;
   7078 	*N32*)
   7079 	  LD="${LD-ld} -melf32bmipn32"
   7080 	  ;;
   7081 	*64-bit*)
   7082 	  LD="${LD-ld} -melf64bmip"
   7083 	;;
   7084       esac
   7085     else
   7086       case `/usr/bin/file conftest.$ac_objext` in
   7087 	*32-bit*)
   7088 	  LD="${LD-ld} -32"
   7089 	  ;;
   7090 	*N32*)
   7091 	  LD="${LD-ld} -n32"
   7092 	  ;;
   7093 	*64-bit*)
   7094 	  LD="${LD-ld} -64"
   7095 	  ;;
   7096       esac
   7097     fi
   7098   fi
   7099   rm -rf conftest*
   7100   ;;
   7101 
   7102 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   7103 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7104   # Find out which ABI we are using.
   7105   echo 'int i;' > conftest.$ac_ext
   7106   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7107   (eval $ac_compile) 2>&5
   7108   ac_status=$?
   7109   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7110   test $ac_status = 0; }; then
   7111     case `/usr/bin/file conftest.o` in
   7112       *32-bit*)
   7113 	case $host in
   7114 	  x86_64-*kfreebsd*-gnu)
   7115 	    LD="${LD-ld} -m elf_i386_fbsd"
   7116 	    ;;
   7117 	  x86_64-*linux*)
   7118 	    LD="${LD-ld} -m elf_i386"
   7119 	    ;;
   7120 	  ppc64-*linux*|powerpc64-*linux*)
   7121 	    LD="${LD-ld} -m elf32ppclinux"
   7122 	    ;;
   7123 	  s390x-*linux*)
   7124 	    LD="${LD-ld} -m elf_s390"
   7125 	    ;;
   7126 	  sparc64-*linux*)
   7127 	    LD="${LD-ld} -m elf32_sparc"
   7128 	    ;;
   7129 	esac
   7130 	;;
   7131       *64-bit*)
   7132 	case $host in
   7133 	  x86_64-*kfreebsd*-gnu)
   7134 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7135 	    ;;
   7136 	  x86_64-*linux*)
   7137 	    LD="${LD-ld} -m elf_x86_64"
   7138 	    ;;
   7139 	  ppc*-*linux*|powerpc*-*linux*)
   7140 	    LD="${LD-ld} -m elf64ppc"
   7141 	    ;;
   7142 	  s390*-*linux*|s390*-*tpf*)
   7143 	    LD="${LD-ld} -m elf64_s390"
   7144 	    ;;
   7145 	  sparc*-*linux*)
   7146 	    LD="${LD-ld} -m elf64_sparc"
   7147 	    ;;
   7148 	esac
   7149 	;;
   7150     esac
   7151   fi
   7152   rm -rf conftest*
   7153   ;;
   7154 
   7155 *-*-sco3.2v5*)
   7156   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7157   SAVE_CFLAGS="$CFLAGS"
   7158   CFLAGS="$CFLAGS -belf"
   7159   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7160 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   7161 if ${lt_cv_cc_needs_belf+:} false; then :
   7162   $as_echo_n "(cached) " >&6
   7163 else
   7164   ac_ext=c
   7165 ac_cpp='$CPP $CPPFLAGS'
   7166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7169 
   7170      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7171 /* end confdefs.h.  */
   7172 
   7173 int
   7174 main ()
   7175 {
   7176 
   7177   ;
   7178   return 0;
   7179 }
   7180 _ACEOF
   7181 if ac_fn_c_try_link "$LINENO"; then :
   7182   lt_cv_cc_needs_belf=yes
   7183 else
   7184   lt_cv_cc_needs_belf=no
   7185 fi
   7186 rm -f core conftest.err conftest.$ac_objext \
   7187     conftest$ac_exeext conftest.$ac_ext
   7188      ac_ext=c
   7189 ac_cpp='$CPP $CPPFLAGS'
   7190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7193 
   7194 fi
   7195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7196 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   7197   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   7198     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7199     CFLAGS="$SAVE_CFLAGS"
   7200   fi
   7201   ;;
   7202 *-*solaris*)
   7203   # Find out which ABI we are using.
   7204   echo 'int i;' > conftest.$ac_ext
   7205   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7206   (eval $ac_compile) 2>&5
   7207   ac_status=$?
   7208   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7209   test $ac_status = 0; }; then
   7210     case `/usr/bin/file conftest.o` in
   7211     *64-bit*)
   7212       case $lt_cv_prog_gnu_ld in
   7213       yes*)
   7214         case $host in
   7215         i?86-*-solaris*)
   7216           LD="${LD-ld} -m elf_x86_64"
   7217           ;;
   7218         sparc*-*-solaris*)
   7219           LD="${LD-ld} -m elf64_sparc"
   7220           ;;
   7221         esac
   7222         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7223         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7224           LD="${LD-ld}_sol2"
   7225         fi
   7226         ;;
   7227       *)
   7228 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7229 	  LD="${LD-ld} -64"
   7230 	fi
   7231 	;;
   7232       esac
   7233       ;;
   7234     esac
   7235   fi
   7236   rm -rf conftest*
   7237   ;;
   7238 esac
   7239 
   7240 need_locks="$enable_libtool_lock"
   7241 
   7242 if test -n "$ac_tool_prefix"; then
   7243   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7244 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7246 $as_echo_n "checking for $ac_word... " >&6; }
   7247 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   7248   $as_echo_n "(cached) " >&6
   7249 else
   7250   if test -n "$MANIFEST_TOOL"; then
   7251   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7252 else
   7253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7254 for as_dir in $PATH
   7255 do
   7256   IFS=$as_save_IFS
   7257   test -z "$as_dir" && as_dir=.
   7258     for ac_exec_ext in '' $ac_executable_extensions; do
   7259   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7260     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7261     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7262     break 2
   7263   fi
   7264 done
   7265   done
   7266 IFS=$as_save_IFS
   7267 
   7268 fi
   7269 fi
   7270 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7271 if test -n "$MANIFEST_TOOL"; then
   7272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7273 $as_echo "$MANIFEST_TOOL" >&6; }
   7274 else
   7275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7276 $as_echo "no" >&6; }
   7277 fi
   7278 
   7279 
   7280 fi
   7281 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7282   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7283   # Extract the first word of "mt", so it can be a program name with args.
   7284 set dummy mt; ac_word=$2
   7285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7286 $as_echo_n "checking for $ac_word... " >&6; }
   7287 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   7288   $as_echo_n "(cached) " >&6
   7289 else
   7290   if test -n "$ac_ct_MANIFEST_TOOL"; then
   7291   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7292 else
   7293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7294 for as_dir in $PATH
   7295 do
   7296   IFS=$as_save_IFS
   7297   test -z "$as_dir" && as_dir=.
   7298     for ac_exec_ext in '' $ac_executable_extensions; do
   7299   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7300     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7301     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7302     break 2
   7303   fi
   7304 done
   7305   done
   7306 IFS=$as_save_IFS
   7307 
   7308 fi
   7309 fi
   7310 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7311 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7313 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   7314 else
   7315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7316 $as_echo "no" >&6; }
   7317 fi
   7318 
   7319   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7320     MANIFEST_TOOL=":"
   7321   else
   7322     case $cross_compiling:$ac_tool_warned in
   7323 yes:)
   7324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7325 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7326 ac_tool_warned=yes ;;
   7327 esac
   7328     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7329   fi
   7330 else
   7331   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7332 fi
   7333 
   7334 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7336 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7337 if ${lt_cv_path_mainfest_tool+:} false; then :
   7338   $as_echo_n "(cached) " >&6
   7339 else
   7340   lt_cv_path_mainfest_tool=no
   7341   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7342   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7343   cat conftest.err >&5
   7344   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7345     lt_cv_path_mainfest_tool=yes
   7346   fi
   7347   rm -f conftest*
   7348 fi
   7349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   7350 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   7351 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   7352   MANIFEST_TOOL=:
   7353 fi
   7354 
   7355 
   7356 
   7357 
   7358 
   7359 
   7360   case $host_os in
   7361     rhapsody* | darwin*)
   7362     if test -n "$ac_tool_prefix"; then
   7363   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7364 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7366 $as_echo_n "checking for $ac_word... " >&6; }
   7367 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   7368   $as_echo_n "(cached) " >&6
   7369 else
   7370   if test -n "$DSYMUTIL"; then
   7371   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7372 else
   7373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7374 for as_dir in $PATH
   7375 do
   7376   IFS=$as_save_IFS
   7377   test -z "$as_dir" && as_dir=.
   7378     for ac_exec_ext in '' $ac_executable_extensions; do
   7379   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7380     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7381     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7382     break 2
   7383   fi
   7384 done
   7385   done
   7386 IFS=$as_save_IFS
   7387 
   7388 fi
   7389 fi
   7390 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7391 if test -n "$DSYMUTIL"; then
   7392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7393 $as_echo "$DSYMUTIL" >&6; }
   7394 else
   7395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7396 $as_echo "no" >&6; }
   7397 fi
   7398 
   7399 
   7400 fi
   7401 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7402   ac_ct_DSYMUTIL=$DSYMUTIL
   7403   # Extract the first word of "dsymutil", so it can be a program name with args.
   7404 set dummy dsymutil; ac_word=$2
   7405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7406 $as_echo_n "checking for $ac_word... " >&6; }
   7407 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   7408   $as_echo_n "(cached) " >&6
   7409 else
   7410   if test -n "$ac_ct_DSYMUTIL"; then
   7411   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7412 else
   7413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7414 for as_dir in $PATH
   7415 do
   7416   IFS=$as_save_IFS
   7417   test -z "$as_dir" && as_dir=.
   7418     for ac_exec_ext in '' $ac_executable_extensions; do
   7419   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7420     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7421     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7422     break 2
   7423   fi
   7424 done
   7425   done
   7426 IFS=$as_save_IFS
   7427 
   7428 fi
   7429 fi
   7430 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7431 if test -n "$ac_ct_DSYMUTIL"; then
   7432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7433 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7434 else
   7435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7436 $as_echo "no" >&6; }
   7437 fi
   7438 
   7439   if test "x$ac_ct_DSYMUTIL" = x; then
   7440     DSYMUTIL=":"
   7441   else
   7442     case $cross_compiling:$ac_tool_warned in
   7443 yes:)
   7444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7445 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7446 ac_tool_warned=yes ;;
   7447 esac
   7448     DSYMUTIL=$ac_ct_DSYMUTIL
   7449   fi
   7450 else
   7451   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7452 fi
   7453 
   7454     if test -n "$ac_tool_prefix"; then
   7455   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7456 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7458 $as_echo_n "checking for $ac_word... " >&6; }
   7459 if ${ac_cv_prog_NMEDIT+:} false; then :
   7460   $as_echo_n "(cached) " >&6
   7461 else
   7462   if test -n "$NMEDIT"; then
   7463   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7464 else
   7465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7466 for as_dir in $PATH
   7467 do
   7468   IFS=$as_save_IFS
   7469   test -z "$as_dir" && as_dir=.
   7470     for ac_exec_ext in '' $ac_executable_extensions; do
   7471   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7472     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7473     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7474     break 2
   7475   fi
   7476 done
   7477   done
   7478 IFS=$as_save_IFS
   7479 
   7480 fi
   7481 fi
   7482 NMEDIT=$ac_cv_prog_NMEDIT
   7483 if test -n "$NMEDIT"; then
   7484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7485 $as_echo "$NMEDIT" >&6; }
   7486 else
   7487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7488 $as_echo "no" >&6; }
   7489 fi
   7490 
   7491 
   7492 fi
   7493 if test -z "$ac_cv_prog_NMEDIT"; then
   7494   ac_ct_NMEDIT=$NMEDIT
   7495   # Extract the first word of "nmedit", so it can be a program name with args.
   7496 set dummy nmedit; ac_word=$2
   7497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7498 $as_echo_n "checking for $ac_word... " >&6; }
   7499 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   7500   $as_echo_n "(cached) " >&6
   7501 else
   7502   if test -n "$ac_ct_NMEDIT"; then
   7503   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7504 else
   7505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7506 for as_dir in $PATH
   7507 do
   7508   IFS=$as_save_IFS
   7509   test -z "$as_dir" && as_dir=.
   7510     for ac_exec_ext in '' $ac_executable_extensions; do
   7511   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7512     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7513     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7514     break 2
   7515   fi
   7516 done
   7517   done
   7518 IFS=$as_save_IFS
   7519 
   7520 fi
   7521 fi
   7522 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7523 if test -n "$ac_ct_NMEDIT"; then
   7524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7525 $as_echo "$ac_ct_NMEDIT" >&6; }
   7526 else
   7527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7528 $as_echo "no" >&6; }
   7529 fi
   7530 
   7531   if test "x$ac_ct_NMEDIT" = x; then
   7532     NMEDIT=":"
   7533   else
   7534     case $cross_compiling:$ac_tool_warned in
   7535 yes:)
   7536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7537 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7538 ac_tool_warned=yes ;;
   7539 esac
   7540     NMEDIT=$ac_ct_NMEDIT
   7541   fi
   7542 else
   7543   NMEDIT="$ac_cv_prog_NMEDIT"
   7544 fi
   7545 
   7546     if test -n "$ac_tool_prefix"; then
   7547   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7548 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7550 $as_echo_n "checking for $ac_word... " >&6; }
   7551 if ${ac_cv_prog_LIPO+:} false; then :
   7552   $as_echo_n "(cached) " >&6
   7553 else
   7554   if test -n "$LIPO"; then
   7555   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7556 else
   7557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7558 for as_dir in $PATH
   7559 do
   7560   IFS=$as_save_IFS
   7561   test -z "$as_dir" && as_dir=.
   7562     for ac_exec_ext in '' $ac_executable_extensions; do
   7563   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7564     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7565     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7566     break 2
   7567   fi
   7568 done
   7569   done
   7570 IFS=$as_save_IFS
   7571 
   7572 fi
   7573 fi
   7574 LIPO=$ac_cv_prog_LIPO
   7575 if test -n "$LIPO"; then
   7576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7577 $as_echo "$LIPO" >&6; }
   7578 else
   7579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7580 $as_echo "no" >&6; }
   7581 fi
   7582 
   7583 
   7584 fi
   7585 if test -z "$ac_cv_prog_LIPO"; then
   7586   ac_ct_LIPO=$LIPO
   7587   # Extract the first word of "lipo", so it can be a program name with args.
   7588 set dummy lipo; ac_word=$2
   7589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7590 $as_echo_n "checking for $ac_word... " >&6; }
   7591 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   7592   $as_echo_n "(cached) " >&6
   7593 else
   7594   if test -n "$ac_ct_LIPO"; then
   7595   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7596 else
   7597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7598 for as_dir in $PATH
   7599 do
   7600   IFS=$as_save_IFS
   7601   test -z "$as_dir" && as_dir=.
   7602     for ac_exec_ext in '' $ac_executable_extensions; do
   7603   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7604     ac_cv_prog_ac_ct_LIPO="lipo"
   7605     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7606     break 2
   7607   fi
   7608 done
   7609   done
   7610 IFS=$as_save_IFS
   7611 
   7612 fi
   7613 fi
   7614 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7615 if test -n "$ac_ct_LIPO"; then
   7616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7617 $as_echo "$ac_ct_LIPO" >&6; }
   7618 else
   7619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7620 $as_echo "no" >&6; }
   7621 fi
   7622 
   7623   if test "x$ac_ct_LIPO" = x; then
   7624     LIPO=":"
   7625   else
   7626     case $cross_compiling:$ac_tool_warned in
   7627 yes:)
   7628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7629 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7630 ac_tool_warned=yes ;;
   7631 esac
   7632     LIPO=$ac_ct_LIPO
   7633   fi
   7634 else
   7635   LIPO="$ac_cv_prog_LIPO"
   7636 fi
   7637 
   7638     if test -n "$ac_tool_prefix"; then
   7639   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7640 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7642 $as_echo_n "checking for $ac_word... " >&6; }
   7643 if ${ac_cv_prog_OTOOL+:} false; then :
   7644   $as_echo_n "(cached) " >&6
   7645 else
   7646   if test -n "$OTOOL"; then
   7647   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7648 else
   7649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7650 for as_dir in $PATH
   7651 do
   7652   IFS=$as_save_IFS
   7653   test -z "$as_dir" && as_dir=.
   7654     for ac_exec_ext in '' $ac_executable_extensions; do
   7655   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7656     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7657     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7658     break 2
   7659   fi
   7660 done
   7661   done
   7662 IFS=$as_save_IFS
   7663 
   7664 fi
   7665 fi
   7666 OTOOL=$ac_cv_prog_OTOOL
   7667 if test -n "$OTOOL"; then
   7668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7669 $as_echo "$OTOOL" >&6; }
   7670 else
   7671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7672 $as_echo "no" >&6; }
   7673 fi
   7674 
   7675 
   7676 fi
   7677 if test -z "$ac_cv_prog_OTOOL"; then
   7678   ac_ct_OTOOL=$OTOOL
   7679   # Extract the first word of "otool", so it can be a program name with args.
   7680 set dummy otool; ac_word=$2
   7681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7682 $as_echo_n "checking for $ac_word... " >&6; }
   7683 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7684   $as_echo_n "(cached) " >&6
   7685 else
   7686   if test -n "$ac_ct_OTOOL"; then
   7687   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7688 else
   7689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7690 for as_dir in $PATH
   7691 do
   7692   IFS=$as_save_IFS
   7693   test -z "$as_dir" && as_dir=.
   7694     for ac_exec_ext in '' $ac_executable_extensions; do
   7695   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7696     ac_cv_prog_ac_ct_OTOOL="otool"
   7697     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7698     break 2
   7699   fi
   7700 done
   7701   done
   7702 IFS=$as_save_IFS
   7703 
   7704 fi
   7705 fi
   7706 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7707 if test -n "$ac_ct_OTOOL"; then
   7708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7709 $as_echo "$ac_ct_OTOOL" >&6; }
   7710 else
   7711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7712 $as_echo "no" >&6; }
   7713 fi
   7714 
   7715   if test "x$ac_ct_OTOOL" = x; then
   7716     OTOOL=":"
   7717   else
   7718     case $cross_compiling:$ac_tool_warned in
   7719 yes:)
   7720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7721 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7722 ac_tool_warned=yes ;;
   7723 esac
   7724     OTOOL=$ac_ct_OTOOL
   7725   fi
   7726 else
   7727   OTOOL="$ac_cv_prog_OTOOL"
   7728 fi
   7729 
   7730     if test -n "$ac_tool_prefix"; then
   7731   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7732 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7734 $as_echo_n "checking for $ac_word... " >&6; }
   7735 if ${ac_cv_prog_OTOOL64+:} false; then :
   7736   $as_echo_n "(cached) " >&6
   7737 else
   7738   if test -n "$OTOOL64"; then
   7739   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7740 else
   7741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7742 for as_dir in $PATH
   7743 do
   7744   IFS=$as_save_IFS
   7745   test -z "$as_dir" && as_dir=.
   7746     for ac_exec_ext in '' $ac_executable_extensions; do
   7747   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7748     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7749     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7750     break 2
   7751   fi
   7752 done
   7753   done
   7754 IFS=$as_save_IFS
   7755 
   7756 fi
   7757 fi
   7758 OTOOL64=$ac_cv_prog_OTOOL64
   7759 if test -n "$OTOOL64"; then
   7760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7761 $as_echo "$OTOOL64" >&6; }
   7762 else
   7763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7764 $as_echo "no" >&6; }
   7765 fi
   7766 
   7767 
   7768 fi
   7769 if test -z "$ac_cv_prog_OTOOL64"; then
   7770   ac_ct_OTOOL64=$OTOOL64
   7771   # Extract the first word of "otool64", so it can be a program name with args.
   7772 set dummy otool64; ac_word=$2
   7773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7774 $as_echo_n "checking for $ac_word... " >&6; }
   7775 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   7776   $as_echo_n "(cached) " >&6
   7777 else
   7778   if test -n "$ac_ct_OTOOL64"; then
   7779   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7780 else
   7781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7782 for as_dir in $PATH
   7783 do
   7784   IFS=$as_save_IFS
   7785   test -z "$as_dir" && as_dir=.
   7786     for ac_exec_ext in '' $ac_executable_extensions; do
   7787   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7788     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7789     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7790     break 2
   7791   fi
   7792 done
   7793   done
   7794 IFS=$as_save_IFS
   7795 
   7796 fi
   7797 fi
   7798 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7799 if test -n "$ac_ct_OTOOL64"; then
   7800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7801 $as_echo "$ac_ct_OTOOL64" >&6; }
   7802 else
   7803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7804 $as_echo "no" >&6; }
   7805 fi
   7806 
   7807   if test "x$ac_ct_OTOOL64" = x; then
   7808     OTOOL64=":"
   7809   else
   7810     case $cross_compiling:$ac_tool_warned in
   7811 yes:)
   7812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7813 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7814 ac_tool_warned=yes ;;
   7815 esac
   7816     OTOOL64=$ac_ct_OTOOL64
   7817   fi
   7818 else
   7819   OTOOL64="$ac_cv_prog_OTOOL64"
   7820 fi
   7821 
   7822 
   7823 
   7824 
   7825 
   7826 
   7827 
   7828 
   7829 
   7830 
   7831 
   7832 
   7833 
   7834 
   7835 
   7836 
   7837 
   7838 
   7839 
   7840 
   7841 
   7842 
   7843 
   7844 
   7845 
   7846 
   7847 
   7848     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7849 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7850 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7851   $as_echo_n "(cached) " >&6
   7852 else
   7853   lt_cv_apple_cc_single_mod=no
   7854       if test -z "${LT_MULTI_MODULE}"; then
   7855 	# By default we will add the -single_module flag. You can override
   7856 	# by either setting the environment variable LT_MULTI_MODULE
   7857 	# non-empty at configure time, or by adding -multi_module to the
   7858 	# link flags.
   7859 	rm -rf libconftest.dylib*
   7860 	echo "int foo(void){return 1;}" > conftest.c
   7861 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7862 -dynamiclib -Wl,-single_module conftest.c" >&5
   7863 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7864 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7865         _lt_result=$?
   7866 	# If there is a non-empty error log, and "single_module"
   7867 	# appears in it, assume the flag caused a linker warning
   7868         if test -s conftest.err && $GREP single_module conftest.err; then
   7869 	  cat conftest.err >&5
   7870 	# Otherwise, if the output was created with a 0 exit code from
   7871 	# the compiler, it worked.
   7872 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   7873 	  lt_cv_apple_cc_single_mod=yes
   7874 	else
   7875 	  cat conftest.err >&5
   7876 	fi
   7877 	rm -rf libconftest.dylib*
   7878 	rm -f conftest.*
   7879       fi
   7880 fi
   7881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7882 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7883 
   7884     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7885 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7886 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7887   $as_echo_n "(cached) " >&6
   7888 else
   7889   lt_cv_ld_exported_symbols_list=no
   7890       save_LDFLAGS=$LDFLAGS
   7891       echo "_main" > conftest.sym
   7892       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7893       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7894 /* end confdefs.h.  */
   7895 
   7896 int
   7897 main ()
   7898 {
   7899 
   7900   ;
   7901   return 0;
   7902 }
   7903 _ACEOF
   7904 if ac_fn_c_try_link "$LINENO"; then :
   7905   lt_cv_ld_exported_symbols_list=yes
   7906 else
   7907   lt_cv_ld_exported_symbols_list=no
   7908 fi
   7909 rm -f core conftest.err conftest.$ac_objext \
   7910     conftest$ac_exeext conftest.$ac_ext
   7911 	LDFLAGS="$save_LDFLAGS"
   7912 
   7913 fi
   7914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7915 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7916 
   7917     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7918 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7919 if ${lt_cv_ld_force_load+:} false; then :
   7920   $as_echo_n "(cached) " >&6
   7921 else
   7922   lt_cv_ld_force_load=no
   7923       cat > conftest.c << _LT_EOF
   7924 int forced_loaded() { return 2;}
   7925 _LT_EOF
   7926       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7927       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7928       echo "$AR cru libconftest.a conftest.o" >&5
   7929       $AR cru libconftest.a conftest.o 2>&5
   7930       echo "$RANLIB libconftest.a" >&5
   7931       $RANLIB libconftest.a 2>&5
   7932       cat > conftest.c << _LT_EOF
   7933 int main() { return 0;}
   7934 _LT_EOF
   7935       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7936       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7937       _lt_result=$?
   7938       if test -s conftest.err && $GREP force_load conftest.err; then
   7939 	cat conftest.err >&5
   7940       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   7941 	lt_cv_ld_force_load=yes
   7942       else
   7943 	cat conftest.err >&5
   7944       fi
   7945         rm -f conftest.err libconftest.a conftest conftest.c
   7946         rm -rf conftest.dSYM
   7947 
   7948 fi
   7949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7950 $as_echo "$lt_cv_ld_force_load" >&6; }
   7951     case $host_os in
   7952     rhapsody* | darwin1.[012])
   7953       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7954     darwin1.*)
   7955       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7956     darwin*) # darwin 5.x on
   7957       # if running on 10.5 or later, the deployment target defaults
   7958       # to the OS version, if on x86, and 10.4, the deployment
   7959       # target defaults to 10.4. Don't you love it?
   7960       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7961 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7962 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7963 	10.[012]*)
   7964 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7965 	10.*)
   7966 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7967       esac
   7968     ;;
   7969   esac
   7970     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7971       _lt_dar_single_mod='$single_module'
   7972     fi
   7973     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7974       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7975     else
   7976       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7977     fi
   7978     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7979       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7980     else
   7981       _lt_dsymutil=
   7982     fi
   7983     ;;
   7984   esac
   7985 
   7986 for ac_header in dlfcn.h
   7987 do :
   7988   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7989 "
   7990 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7991   cat >>confdefs.h <<_ACEOF
   7992 #define HAVE_DLFCN_H 1
   7993 _ACEOF
   7994 
   7995 fi
   7996 
   7997 done
   7998 
   7999 
   8000 
   8001 
   8002 
   8003 # Set options
   8004 
   8005 
   8006 
   8007         enable_dlopen=no
   8008 
   8009 
   8010 
   8011             # Check whether --enable-shared was given.
   8012 if test "${enable_shared+set}" = set; then :
   8013   enableval=$enable_shared; p=${PACKAGE-default}
   8014     case $enableval in
   8015     yes) enable_shared=yes ;;
   8016     no) enable_shared=no ;;
   8017     *)
   8018       enable_shared=no
   8019       # Look at the argument we got.  We use all the common list separators.
   8020       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8021       for pkg in $enableval; do
   8022 	IFS="$lt_save_ifs"
   8023 	if test "X$pkg" = "X$p"; then
   8024 	  enable_shared=yes
   8025 	fi
   8026       done
   8027       IFS="$lt_save_ifs"
   8028       ;;
   8029     esac
   8030 else
   8031   enable_shared=yes
   8032 fi
   8033 
   8034 
   8035 
   8036 
   8037 
   8038 
   8039 
   8040 
   8041 
   8042   # Check whether --enable-static was given.
   8043 if test "${enable_static+set}" = set; then :
   8044   enableval=$enable_static; p=${PACKAGE-default}
   8045     case $enableval in
   8046     yes) enable_static=yes ;;
   8047     no) enable_static=no ;;
   8048     *)
   8049      enable_static=no
   8050       # Look at the argument we got.  We use all the common list separators.
   8051       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8052       for pkg in $enableval; do
   8053 	IFS="$lt_save_ifs"
   8054 	if test "X$pkg" = "X$p"; then
   8055 	  enable_static=yes
   8056 	fi
   8057       done
   8058       IFS="$lt_save_ifs"
   8059       ;;
   8060     esac
   8061 else
   8062   enable_static=yes
   8063 fi
   8064 
   8065 
   8066 
   8067 
   8068 
   8069 
   8070 
   8071 
   8072 
   8073 
   8074 # Check whether --with-pic was given.
   8075 if test "${with_pic+set}" = set; then :
   8076   withval=$with_pic; lt_p=${PACKAGE-default}
   8077     case $withval in
   8078     yes|no) pic_mode=$withval ;;
   8079     *)
   8080       pic_mode=default
   8081       # Look at the argument we got.  We use all the common list separators.
   8082       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8083       for lt_pkg in $withval; do
   8084 	IFS="$lt_save_ifs"
   8085 	if test "X$lt_pkg" = "X$lt_p"; then
   8086 	  pic_mode=yes
   8087 	fi
   8088       done
   8089       IFS="$lt_save_ifs"
   8090       ;;
   8091     esac
   8092 else
   8093   pic_mode=default
   8094 fi
   8095 
   8096 
   8097 test -z "$pic_mode" && pic_mode=default
   8098 
   8099 
   8100 
   8101 
   8102 
   8103 
   8104 
   8105   # Check whether --enable-fast-install was given.
   8106 if test "${enable_fast_install+set}" = set; then :
   8107   enableval=$enable_fast_install; p=${PACKAGE-default}
   8108     case $enableval in
   8109     yes) enable_fast_install=yes ;;
   8110     no) enable_fast_install=no ;;
   8111     *)
   8112       enable_fast_install=no
   8113       # Look at the argument we got.  We use all the common list separators.
   8114       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8115       for pkg in $enableval; do
   8116 	IFS="$lt_save_ifs"
   8117 	if test "X$pkg" = "X$p"; then
   8118 	  enable_fast_install=yes
   8119 	fi
   8120       done
   8121       IFS="$lt_save_ifs"
   8122       ;;
   8123     esac
   8124 else
   8125   enable_fast_install=yes
   8126 fi
   8127 
   8128 
   8129 
   8130 
   8131 
   8132 
   8133 
   8134 
   8135 
   8136 
   8137 
   8138 # This can be used to rebuild libtool when needed
   8139 LIBTOOL_DEPS="$ltmain"
   8140 
   8141 # Always use our own libtool.
   8142 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8143 
   8144 
   8145 
   8146 
   8147 
   8148 
   8149 
   8150 
   8151 
   8152 
   8153 
   8154 
   8155 
   8156 
   8157 
   8158 
   8159 
   8160 
   8161 
   8162 
   8163 
   8164 
   8165 
   8166 
   8167 
   8168 
   8169 
   8170 
   8171 
   8172 
   8173 test -z "$LN_S" && LN_S="ln -s"
   8174 
   8175 
   8176 
   8177 
   8178 
   8179 
   8180 
   8181 
   8182 
   8183 
   8184 
   8185 
   8186 
   8187 
   8188 if test -n "${ZSH_VERSION+set}" ; then
   8189    setopt NO_GLOB_SUBST
   8190 fi
   8191 
   8192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8193 $as_echo_n "checking for objdir... " >&6; }
   8194 if ${lt_cv_objdir+:} false; then :
   8195   $as_echo_n "(cached) " >&6
   8196 else
   8197   rm -f .libs 2>/dev/null
   8198 mkdir .libs 2>/dev/null
   8199 if test -d .libs; then
   8200   lt_cv_objdir=.libs
   8201 else
   8202   # MS-DOS does not allow filenames that begin with a dot.
   8203   lt_cv_objdir=_libs
   8204 fi
   8205 rmdir .libs 2>/dev/null
   8206 fi
   8207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8208 $as_echo "$lt_cv_objdir" >&6; }
   8209 objdir=$lt_cv_objdir
   8210 
   8211 
   8212 
   8213 
   8214 
   8215 cat >>confdefs.h <<_ACEOF
   8216 #define LT_OBJDIR "$lt_cv_objdir/"
   8217 _ACEOF
   8218 
   8219 
   8220 
   8221 
   8222 case $host_os in
   8223 aix3*)
   8224   # AIX sometimes has problems with the GCC collect2 program.  For some
   8225   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8226   # vanish in a puff of smoke.
   8227   if test "X${COLLECT_NAMES+set}" != Xset; then
   8228     COLLECT_NAMES=
   8229     export COLLECT_NAMES
   8230   fi
   8231   ;;
   8232 esac
   8233 
   8234 # Global variables:
   8235 ofile=libtool
   8236 can_build_shared=yes
   8237 
   8238 # All known linkers require a `.a' archive for static linking (except MSVC,
   8239 # which needs '.lib').
   8240 libext=a
   8241 
   8242 with_gnu_ld="$lt_cv_prog_gnu_ld"
   8243 
   8244 old_CC="$CC"
   8245 old_CFLAGS="$CFLAGS"
   8246 
   8247 # Set sane defaults for various variables
   8248 test -z "$CC" && CC=cc
   8249 test -z "$LTCC" && LTCC=$CC
   8250 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8251 test -z "$LD" && LD=ld
   8252 test -z "$ac_objext" && ac_objext=o
   8253 
   8254 for cc_temp in $compiler""; do
   8255   case $cc_temp in
   8256     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8257     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8258     \-*) ;;
   8259     *) break;;
   8260   esac
   8261 done
   8262 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   8263 
   8264 
   8265 # Only perform the check for file, if the check method requires it
   8266 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8267 case $deplibs_check_method in
   8268 file_magic*)
   8269   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8270     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8271 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   8272 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8273   $as_echo_n "(cached) " >&6
   8274 else
   8275   case $MAGIC_CMD in
   8276 [\\/*] |  ?:[\\/]*)
   8277   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8278   ;;
   8279 *)
   8280   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8281   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8282   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8283   for ac_dir in $ac_dummy; do
   8284     IFS="$lt_save_ifs"
   8285     test -z "$ac_dir" && ac_dir=.
   8286     if test -f $ac_dir/${ac_tool_prefix}file; then
   8287       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   8288       if test -n "$file_magic_test_file"; then
   8289 	case $deplibs_check_method in
   8290 	"file_magic "*)
   8291 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8292 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8293 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8294 	    $EGREP "$file_magic_regex" > /dev/null; then
   8295 	    :
   8296 	  else
   8297 	    cat <<_LT_EOF 1>&2
   8298 
   8299 *** Warning: the command libtool uses to detect shared libraries,
   8300 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8301 *** The result is that libtool may fail to recognize shared libraries
   8302 *** as such.  This will affect the creation of libtool libraries that
   8303 *** depend on shared libraries, but programs linked with such libtool
   8304 *** libraries will work regardless of this problem.  Nevertheless, you
   8305 *** may want to report the problem to your system manager and/or to
   8306 *** bug-libtool@gnu.org
   8307 
   8308 _LT_EOF
   8309 	  fi ;;
   8310 	esac
   8311       fi
   8312       break
   8313     fi
   8314   done
   8315   IFS="$lt_save_ifs"
   8316   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8317   ;;
   8318 esac
   8319 fi
   8320 
   8321 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8322 if test -n "$MAGIC_CMD"; then
   8323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8324 $as_echo "$MAGIC_CMD" >&6; }
   8325 else
   8326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8327 $as_echo "no" >&6; }
   8328 fi
   8329 
   8330 
   8331 
   8332 
   8333 
   8334 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8335   if test -n "$ac_tool_prefix"; then
   8336     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8337 $as_echo_n "checking for file... " >&6; }
   8338 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8339   $as_echo_n "(cached) " >&6
   8340 else
   8341   case $MAGIC_CMD in
   8342 [\\/*] |  ?:[\\/]*)
   8343   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8344   ;;
   8345 *)
   8346   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8347   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8348   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8349   for ac_dir in $ac_dummy; do
   8350     IFS="$lt_save_ifs"
   8351     test -z "$ac_dir" && ac_dir=.
   8352     if test -f $ac_dir/file; then
   8353       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   8354       if test -n "$file_magic_test_file"; then
   8355 	case $deplibs_check_method in
   8356 	"file_magic "*)
   8357 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8358 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8359 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8360 	    $EGREP "$file_magic_regex" > /dev/null; then
   8361 	    :
   8362 	  else
   8363 	    cat <<_LT_EOF 1>&2
   8364 
   8365 *** Warning: the command libtool uses to detect shared libraries,
   8366 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8367 *** The result is that libtool may fail to recognize shared libraries
   8368 *** as such.  This will affect the creation of libtool libraries that
   8369 *** depend on shared libraries, but programs linked with such libtool
   8370 *** libraries will work regardless of this problem.  Nevertheless, you
   8371 *** may want to report the problem to your system manager and/or to
   8372 *** bug-libtool@gnu.org
   8373 
   8374 _LT_EOF
   8375 	  fi ;;
   8376 	esac
   8377       fi
   8378       break
   8379     fi
   8380   done
   8381   IFS="$lt_save_ifs"
   8382   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8383   ;;
   8384 esac
   8385 fi
   8386 
   8387 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8388 if test -n "$MAGIC_CMD"; then
   8389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8390 $as_echo "$MAGIC_CMD" >&6; }
   8391 else
   8392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8393 $as_echo "no" >&6; }
   8394 fi
   8395 
   8396 
   8397   else
   8398     MAGIC_CMD=:
   8399   fi
   8400 fi
   8401 
   8402   fi
   8403   ;;
   8404 esac
   8405 
   8406 # Use C for the default configuration in the libtool script
   8407 
   8408 lt_save_CC="$CC"
   8409 ac_ext=c
   8410 ac_cpp='$CPP $CPPFLAGS'
   8411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8414 
   8415 
   8416 # Source file extension for C test sources.
   8417 ac_ext=c
   8418 
   8419 # Object file extension for compiled C test sources.
   8420 objext=o
   8421 objext=$objext
   8422 
   8423 # Code to be used in simple compile tests
   8424 lt_simple_compile_test_code="int some_variable = 0;"
   8425 
   8426 # Code to be used in simple link tests
   8427 lt_simple_link_test_code='int main(){return(0);}'
   8428 
   8429 
   8430 
   8431 
   8432 
   8433 
   8434 
   8435 # If no C compiler was specified, use CC.
   8436 LTCC=${LTCC-"$CC"}
   8437 
   8438 # If no C compiler flags were specified, use CFLAGS.
   8439 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8440 
   8441 # Allow CC to be a program name with arguments.
   8442 compiler=$CC
   8443 
   8444 # Save the default compiler, since it gets overwritten when the other
   8445 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8446 compiler_DEFAULT=$CC
   8447 
   8448 # save warnings/boilerplate of simple test code
   8449 ac_outfile=conftest.$ac_objext
   8450 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8451 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8452 _lt_compiler_boilerplate=`cat conftest.err`
   8453 $RM conftest*
   8454 
   8455 ac_outfile=conftest.$ac_objext
   8456 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8457 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8458 _lt_linker_boilerplate=`cat conftest.err`
   8459 $RM -r conftest*
   8460 
   8461 
   8462 if test -n "$compiler"; then
   8463 
   8464 lt_prog_compiler_no_builtin_flag=
   8465 
   8466 if test "$GCC" = yes; then
   8467   case $cc_basename in
   8468   nvcc*)
   8469     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8470   *)
   8471     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8472   esac
   8473 
   8474   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8475 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8476 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8477   $as_echo_n "(cached) " >&6
   8478 else
   8479   lt_cv_prog_compiler_rtti_exceptions=no
   8480    ac_outfile=conftest.$ac_objext
   8481    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8482    lt_compiler_flag="-fno-rtti -fno-exceptions"
   8483    # Insert the option either (1) after the last *FLAGS variable, or
   8484    # (2) before a word containing "conftest.", or (3) at the end.
   8485    # Note that $ac_compile itself does not contain backslashes and begins
   8486    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8487    # The option is referenced via a variable to avoid confusing sed.
   8488    lt_compile=`echo "$ac_compile" | $SED \
   8489    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8490    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8491    -e 's:$: $lt_compiler_flag:'`
   8492    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8493    (eval "$lt_compile" 2>conftest.err)
   8494    ac_status=$?
   8495    cat conftest.err >&5
   8496    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8497    if (exit $ac_status) && test -s "$ac_outfile"; then
   8498      # The compiler can only warn and ignore the option if not recognized
   8499      # So say no if there are warnings other than the usual output.
   8500      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8501      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8502      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8503        lt_cv_prog_compiler_rtti_exceptions=yes
   8504      fi
   8505    fi
   8506    $RM conftest*
   8507 
   8508 fi
   8509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8510 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8511 
   8512 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   8513     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8514 else
   8515     :
   8516 fi
   8517 
   8518 fi
   8519 
   8520 
   8521 
   8522 
   8523 
   8524 
   8525   lt_prog_compiler_wl=
   8526 lt_prog_compiler_pic=
   8527 lt_prog_compiler_static=
   8528 
   8529 
   8530   if test "$GCC" = yes; then
   8531     lt_prog_compiler_wl='-Wl,'
   8532     lt_prog_compiler_static='-static'
   8533 
   8534     case $host_os in
   8535       aix*)
   8536       # All AIX code is PIC.
   8537       if test "$host_cpu" = ia64; then
   8538 	# AIX 5 now supports IA64 processor
   8539 	lt_prog_compiler_static='-Bstatic'
   8540       fi
   8541       ;;
   8542 
   8543     amigaos*)
   8544       case $host_cpu in
   8545       powerpc)
   8546             # see comment about AmigaOS4 .so support
   8547             lt_prog_compiler_pic='-fPIC'
   8548         ;;
   8549       m68k)
   8550             # FIXME: we need at least 68020 code to build shared libraries, but
   8551             # adding the `-m68020' flag to GCC prevents building anything better,
   8552             # like `-m68040'.
   8553             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8554         ;;
   8555       esac
   8556       ;;
   8557 
   8558     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8559       # PIC is the default for these OSes.
   8560       ;;
   8561 
   8562     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8563       # This hack is so that the source file can tell whether it is being
   8564       # built for inclusion in a dll (and should export symbols for example).
   8565       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8566       # (--disable-auto-import) libraries
   8567       lt_prog_compiler_pic='-DDLL_EXPORT'
   8568       ;;
   8569 
   8570     darwin* | rhapsody*)
   8571       # PIC is the default on this platform
   8572       # Common symbols not allowed in MH_DYLIB files
   8573       lt_prog_compiler_pic='-fno-common'
   8574       ;;
   8575 
   8576     haiku*)
   8577       # PIC is the default for Haiku.
   8578       # The "-static" flag exists, but is broken.
   8579       lt_prog_compiler_static=
   8580       ;;
   8581 
   8582     hpux*)
   8583       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8584       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8585       # sets the default TLS model and affects inlining.
   8586       case $host_cpu in
   8587       hppa*64*)
   8588 	# +Z the default
   8589 	;;
   8590       *)
   8591 	lt_prog_compiler_pic='-fPIC'
   8592 	;;
   8593       esac
   8594       ;;
   8595 
   8596     interix[3-9]*)
   8597       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8598       # Instead, we relocate shared libraries at runtime.
   8599       ;;
   8600 
   8601     msdosdjgpp*)
   8602       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8603       # on systems that don't support them.
   8604       lt_prog_compiler_can_build_shared=no
   8605       enable_shared=no
   8606       ;;
   8607 
   8608     *nto* | *qnx*)
   8609       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8610       # it will coredump.
   8611       lt_prog_compiler_pic='-fPIC -shared'
   8612       ;;
   8613 
   8614     sysv4*MP*)
   8615       if test -d /usr/nec; then
   8616 	lt_prog_compiler_pic=-Kconform_pic
   8617       fi
   8618       ;;
   8619 
   8620     *)
   8621       lt_prog_compiler_pic='-fPIC'
   8622       ;;
   8623     esac
   8624 
   8625     case $cc_basename in
   8626     nvcc*) # Cuda Compiler Driver 2.2
   8627       lt_prog_compiler_wl='-Xlinker '
   8628       if test -n "$lt_prog_compiler_pic"; then
   8629         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   8630       fi
   8631       ;;
   8632     esac
   8633   else
   8634     # PORTME Check for flag to pass linker flags through the system compiler.
   8635     case $host_os in
   8636     aix*)
   8637       lt_prog_compiler_wl='-Wl,'
   8638       if test "$host_cpu" = ia64; then
   8639 	# AIX 5 now supports IA64 processor
   8640 	lt_prog_compiler_static='-Bstatic'
   8641       else
   8642 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8643       fi
   8644       ;;
   8645 
   8646     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8647       # This hack is so that the source file can tell whether it is being
   8648       # built for inclusion in a dll (and should export symbols for example).
   8649       lt_prog_compiler_pic='-DDLL_EXPORT'
   8650       ;;
   8651 
   8652     hpux9* | hpux10* | hpux11*)
   8653       lt_prog_compiler_wl='-Wl,'
   8654       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8655       # not for PA HP-UX.
   8656       case $host_cpu in
   8657       hppa*64*|ia64*)
   8658 	# +Z the default
   8659 	;;
   8660       *)
   8661 	lt_prog_compiler_pic='+Z'
   8662 	;;
   8663       esac
   8664       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8665       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8666       ;;
   8667 
   8668     irix5* | irix6* | nonstopux*)
   8669       lt_prog_compiler_wl='-Wl,'
   8670       # PIC (with -KPIC) is the default.
   8671       lt_prog_compiler_static='-non_shared'
   8672       ;;
   8673 
   8674     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8675       case $cc_basename in
   8676       # old Intel for x86_64 which still supported -KPIC.
   8677       ecc*)
   8678 	lt_prog_compiler_wl='-Wl,'
   8679 	lt_prog_compiler_pic='-KPIC'
   8680 	lt_prog_compiler_static='-static'
   8681         ;;
   8682       # icc used to be incompatible with GCC.
   8683       # ICC 10 doesn't accept -KPIC any more.
   8684       icc* | ifort*)
   8685 	lt_prog_compiler_wl='-Wl,'
   8686 	lt_prog_compiler_pic='-fPIC'
   8687 	lt_prog_compiler_static='-static'
   8688         ;;
   8689       # Lahey Fortran 8.1.
   8690       lf95*)
   8691 	lt_prog_compiler_wl='-Wl,'
   8692 	lt_prog_compiler_pic='--shared'
   8693 	lt_prog_compiler_static='--static'
   8694 	;;
   8695       nagfor*)
   8696 	# NAG Fortran compiler
   8697 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8698 	lt_prog_compiler_pic='-PIC'
   8699 	lt_prog_compiler_static='-Bstatic'
   8700 	;;
   8701       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8702         # Portland Group compilers (*not* the Pentium gcc compiler,
   8703 	# which looks to be a dead project)
   8704 	lt_prog_compiler_wl='-Wl,'
   8705 	lt_prog_compiler_pic='-fpic'
   8706 	lt_prog_compiler_static='-Bstatic'
   8707         ;;
   8708       ccc*)
   8709         lt_prog_compiler_wl='-Wl,'
   8710         # All Alpha code is PIC.
   8711         lt_prog_compiler_static='-non_shared'
   8712         ;;
   8713       xl* | bgxl* | bgf* | mpixl*)
   8714 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8715 	lt_prog_compiler_wl='-Wl,'
   8716 	lt_prog_compiler_pic='-qpic'
   8717 	lt_prog_compiler_static='-qstaticlink'
   8718 	;;
   8719       *)
   8720 	case `$CC -V 2>&1 | sed 5q` in
   8721 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8722 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8723 	  lt_prog_compiler_pic='-KPIC'
   8724 	  lt_prog_compiler_static='-Bstatic'
   8725 	  lt_prog_compiler_wl=''
   8726 	  ;;
   8727 	*Sun\ F* | *Sun*Fortran*)
   8728 	  lt_prog_compiler_pic='-KPIC'
   8729 	  lt_prog_compiler_static='-Bstatic'
   8730 	  lt_prog_compiler_wl='-Qoption ld '
   8731 	  ;;
   8732 	*Sun\ C*)
   8733 	  # Sun C 5.9
   8734 	  lt_prog_compiler_pic='-KPIC'
   8735 	  lt_prog_compiler_static='-Bstatic'
   8736 	  lt_prog_compiler_wl='-Wl,'
   8737 	  ;;
   8738         *Intel*\ [CF]*Compiler*)
   8739 	  lt_prog_compiler_wl='-Wl,'
   8740 	  lt_prog_compiler_pic='-fPIC'
   8741 	  lt_prog_compiler_static='-static'
   8742 	  ;;
   8743 	*Portland\ Group*)
   8744 	  lt_prog_compiler_wl='-Wl,'
   8745 	  lt_prog_compiler_pic='-fpic'
   8746 	  lt_prog_compiler_static='-Bstatic'
   8747 	  ;;
   8748 	esac
   8749 	;;
   8750       esac
   8751       ;;
   8752 
   8753     newsos6)
   8754       lt_prog_compiler_pic='-KPIC'
   8755       lt_prog_compiler_static='-Bstatic'
   8756       ;;
   8757 
   8758     *nto* | *qnx*)
   8759       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8760       # it will coredump.
   8761       lt_prog_compiler_pic='-fPIC -shared'
   8762       ;;
   8763 
   8764     osf3* | osf4* | osf5*)
   8765       lt_prog_compiler_wl='-Wl,'
   8766       # All OSF/1 code is PIC.
   8767       lt_prog_compiler_static='-non_shared'
   8768       ;;
   8769 
   8770     rdos*)
   8771       lt_prog_compiler_static='-non_shared'
   8772       ;;
   8773 
   8774     solaris*)
   8775       lt_prog_compiler_pic='-KPIC'
   8776       lt_prog_compiler_static='-Bstatic'
   8777       case $cc_basename in
   8778       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8779 	lt_prog_compiler_wl='-Qoption ld ';;
   8780       *)
   8781 	lt_prog_compiler_wl='-Wl,';;
   8782       esac
   8783       ;;
   8784 
   8785     sunos4*)
   8786       lt_prog_compiler_wl='-Qoption ld '
   8787       lt_prog_compiler_pic='-PIC'
   8788       lt_prog_compiler_static='-Bstatic'
   8789       ;;
   8790 
   8791     sysv4 | sysv4.2uw2* | sysv4.3*)
   8792       lt_prog_compiler_wl='-Wl,'
   8793       lt_prog_compiler_pic='-KPIC'
   8794       lt_prog_compiler_static='-Bstatic'
   8795       ;;
   8796 
   8797     sysv4*MP*)
   8798       if test -d /usr/nec ;then
   8799 	lt_prog_compiler_pic='-Kconform_pic'
   8800 	lt_prog_compiler_static='-Bstatic'
   8801       fi
   8802       ;;
   8803 
   8804     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8805       lt_prog_compiler_wl='-Wl,'
   8806       lt_prog_compiler_pic='-KPIC'
   8807       lt_prog_compiler_static='-Bstatic'
   8808       ;;
   8809 
   8810     unicos*)
   8811       lt_prog_compiler_wl='-Wl,'
   8812       lt_prog_compiler_can_build_shared=no
   8813       ;;
   8814 
   8815     uts4*)
   8816       lt_prog_compiler_pic='-pic'
   8817       lt_prog_compiler_static='-Bstatic'
   8818       ;;
   8819 
   8820     *)
   8821       lt_prog_compiler_can_build_shared=no
   8822       ;;
   8823     esac
   8824   fi
   8825 
   8826 case $host_os in
   8827   # For platforms which do not support PIC, -DPIC is meaningless:
   8828   *djgpp*)
   8829     lt_prog_compiler_pic=
   8830     ;;
   8831   *)
   8832     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8833     ;;
   8834 esac
   8835 
   8836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8837 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8838 if ${lt_cv_prog_compiler_pic+:} false; then :
   8839   $as_echo_n "(cached) " >&6
   8840 else
   8841   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8842 fi
   8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8844 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8845 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8846 
   8847 #
   8848 # Check to make sure the PIC flag actually works.
   8849 #
   8850 if test -n "$lt_prog_compiler_pic"; then
   8851   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8852 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8853 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8854   $as_echo_n "(cached) " >&6
   8855 else
   8856   lt_cv_prog_compiler_pic_works=no
   8857    ac_outfile=conftest.$ac_objext
   8858    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8859    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8860    # Insert the option either (1) after the last *FLAGS variable, or
   8861    # (2) before a word containing "conftest.", or (3) at the end.
   8862    # Note that $ac_compile itself does not contain backslashes and begins
   8863    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8864    # The option is referenced via a variable to avoid confusing sed.
   8865    lt_compile=`echo "$ac_compile" | $SED \
   8866    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8867    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8868    -e 's:$: $lt_compiler_flag:'`
   8869    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8870    (eval "$lt_compile" 2>conftest.err)
   8871    ac_status=$?
   8872    cat conftest.err >&5
   8873    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8874    if (exit $ac_status) && test -s "$ac_outfile"; then
   8875      # The compiler can only warn and ignore the option if not recognized
   8876      # So say no if there are warnings other than the usual output.
   8877      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8878      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8879      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8880        lt_cv_prog_compiler_pic_works=yes
   8881      fi
   8882    fi
   8883    $RM conftest*
   8884 
   8885 fi
   8886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8887 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8888 
   8889 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8890     case $lt_prog_compiler_pic in
   8891      "" | " "*) ;;
   8892      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8893      esac
   8894 else
   8895     lt_prog_compiler_pic=
   8896      lt_prog_compiler_can_build_shared=no
   8897 fi
   8898 
   8899 fi
   8900 
   8901 
   8902 
   8903 
   8904 
   8905 
   8906 
   8907 
   8908 
   8909 
   8910 
   8911 #
   8912 # Check to make sure the static flag actually works.
   8913 #
   8914 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8916 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8917 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8918   $as_echo_n "(cached) " >&6
   8919 else
   8920   lt_cv_prog_compiler_static_works=no
   8921    save_LDFLAGS="$LDFLAGS"
   8922    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8923    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8924    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8925      # The linker can only warn and ignore the option if not recognized
   8926      # So say no if there are warnings
   8927      if test -s conftest.err; then
   8928        # Append any errors to the config.log.
   8929        cat conftest.err 1>&5
   8930        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8931        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8932        if diff conftest.exp conftest.er2 >/dev/null; then
   8933          lt_cv_prog_compiler_static_works=yes
   8934        fi
   8935      else
   8936        lt_cv_prog_compiler_static_works=yes
   8937      fi
   8938    fi
   8939    $RM -r conftest*
   8940    LDFLAGS="$save_LDFLAGS"
   8941 
   8942 fi
   8943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8944 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8945 
   8946 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8947     :
   8948 else
   8949     lt_prog_compiler_static=
   8950 fi
   8951 
   8952 
   8953 
   8954 
   8955 
   8956 
   8957 
   8958   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8959 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8960 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8961   $as_echo_n "(cached) " >&6
   8962 else
   8963   lt_cv_prog_compiler_c_o=no
   8964    $RM -r conftest 2>/dev/null
   8965    mkdir conftest
   8966    cd conftest
   8967    mkdir out
   8968    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8969 
   8970    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8971    # Insert the option either (1) after the last *FLAGS variable, or
   8972    # (2) before a word containing "conftest.", or (3) at the end.
   8973    # Note that $ac_compile itself does not contain backslashes and begins
   8974    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8975    lt_compile=`echo "$ac_compile" | $SED \
   8976    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8977    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8978    -e 's:$: $lt_compiler_flag:'`
   8979    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8980    (eval "$lt_compile" 2>out/conftest.err)
   8981    ac_status=$?
   8982    cat out/conftest.err >&5
   8983    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8984    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8985    then
   8986      # The compiler can only warn and ignore the option if not recognized
   8987      # So say no if there are warnings
   8988      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8989      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8990      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8991        lt_cv_prog_compiler_c_o=yes
   8992      fi
   8993    fi
   8994    chmod u+w . 2>&5
   8995    $RM conftest*
   8996    # SGI C++ compiler will create directory out/ii_files/ for
   8997    # template instantiation
   8998    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8999    $RM out/* && rmdir out
   9000    cd ..
   9001    $RM -r conftest
   9002    $RM conftest*
   9003 
   9004 fi
   9005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9006 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9007 
   9008 
   9009 
   9010 
   9011 
   9012 
   9013   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9014 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9015 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9016   $as_echo_n "(cached) " >&6
   9017 else
   9018   lt_cv_prog_compiler_c_o=no
   9019    $RM -r conftest 2>/dev/null
   9020    mkdir conftest
   9021    cd conftest
   9022    mkdir out
   9023    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9024 
   9025    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9026    # Insert the option either (1) after the last *FLAGS variable, or
   9027    # (2) before a word containing "conftest.", or (3) at the end.
   9028    # Note that $ac_compile itself does not contain backslashes and begins
   9029    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9030    lt_compile=`echo "$ac_compile" | $SED \
   9031    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9032    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9033    -e 's:$: $lt_compiler_flag:'`
   9034    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9035    (eval "$lt_compile" 2>out/conftest.err)
   9036    ac_status=$?
   9037    cat out/conftest.err >&5
   9038    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9039    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9040    then
   9041      # The compiler can only warn and ignore the option if not recognized
   9042      # So say no if there are warnings
   9043      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9044      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9045      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9046        lt_cv_prog_compiler_c_o=yes
   9047      fi
   9048    fi
   9049    chmod u+w . 2>&5
   9050    $RM conftest*
   9051    # SGI C++ compiler will create directory out/ii_files/ for
   9052    # template instantiation
   9053    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9054    $RM out/* && rmdir out
   9055    cd ..
   9056    $RM -r conftest
   9057    $RM conftest*
   9058 
   9059 fi
   9060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9061 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9062 
   9063 
   9064 
   9065 
   9066 hard_links="nottested"
   9067 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   9068   # do not overwrite the value of need_locks provided by the user
   9069   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9070 $as_echo_n "checking if we can lock with hard links... " >&6; }
   9071   hard_links=yes
   9072   $RM conftest*
   9073   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9074   touch conftest.a
   9075   ln conftest.a conftest.b 2>&5 || hard_links=no
   9076   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9078 $as_echo "$hard_links" >&6; }
   9079   if test "$hard_links" = no; then
   9080     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   9081 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   9082     need_locks=warn
   9083   fi
   9084 else
   9085   need_locks=no
   9086 fi
   9087 
   9088 
   9089 
   9090 
   9091 
   9092 
   9093   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9094 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9095 
   9096   runpath_var=
   9097   allow_undefined_flag=
   9098   always_export_symbols=no
   9099   archive_cmds=
   9100   archive_expsym_cmds=
   9101   compiler_needs_object=no
   9102   enable_shared_with_static_runtimes=no
   9103   export_dynamic_flag_spec=
   9104   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9105   hardcode_automatic=no
   9106   hardcode_direct=no
   9107   hardcode_direct_absolute=no
   9108   hardcode_libdir_flag_spec=
   9109   hardcode_libdir_separator=
   9110   hardcode_minus_L=no
   9111   hardcode_shlibpath_var=unsupported
   9112   inherit_rpath=no
   9113   link_all_deplibs=unknown
   9114   module_cmds=
   9115   module_expsym_cmds=
   9116   old_archive_from_new_cmds=
   9117   old_archive_from_expsyms_cmds=
   9118   thread_safe_flag_spec=
   9119   whole_archive_flag_spec=
   9120   # include_expsyms should be a list of space-separated symbols to be *always*
   9121   # included in the symbol list
   9122   include_expsyms=
   9123   # exclude_expsyms can be an extended regexp of symbols to exclude
   9124   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   9125   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   9126   # as well as any symbol that contains `d'.
   9127   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9128   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9129   # platforms (ab)use it in PIC code, but their linkers get confused if
   9130   # the symbol is explicitly referenced.  Since portable code cannot
   9131   # rely on this symbol name, it's probably fine to never include it in
   9132   # preloaded symbol tables.
   9133   # Exclude shared library initialization/finalization symbols.
   9134   extract_expsyms_cmds=
   9135 
   9136   case $host_os in
   9137   cygwin* | mingw* | pw32* | cegcc*)
   9138     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   9139     # When not using gcc, we currently assume that we are using
   9140     # Microsoft Visual C++.
   9141     if test "$GCC" != yes; then
   9142       with_gnu_ld=no
   9143     fi
   9144     ;;
   9145   interix*)
   9146     # we just hope/assume this is gcc and not c89 (= MSVC++)
   9147     with_gnu_ld=yes
   9148     ;;
   9149   openbsd*)
   9150     with_gnu_ld=no
   9151     ;;
   9152   esac
   9153 
   9154   ld_shlibs=yes
   9155 
   9156   # On some targets, GNU ld is compatible enough with the native linker
   9157   # that we're better off using the native interface for both.
   9158   lt_use_gnu_ld_interface=no
   9159   if test "$with_gnu_ld" = yes; then
   9160     case $host_os in
   9161       aix*)
   9162 	# The AIX port of GNU ld has always aspired to compatibility
   9163 	# with the native linker.  However, as the warning in the GNU ld
   9164 	# block says, versions before 2.19.5* couldn't really create working
   9165 	# shared libraries, regardless of the interface used.
   9166 	case `$LD -v 2>&1` in
   9167 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9168 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9169 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9170 	  *)
   9171 	    lt_use_gnu_ld_interface=yes
   9172 	    ;;
   9173 	esac
   9174 	;;
   9175       *)
   9176 	lt_use_gnu_ld_interface=yes
   9177 	;;
   9178     esac
   9179   fi
   9180 
   9181   if test "$lt_use_gnu_ld_interface" = yes; then
   9182     # If archive_cmds runs LD, not CC, wlarc should be empty
   9183     wlarc='${wl}'
   9184 
   9185     # Set some defaults for GNU ld with shared library support. These
   9186     # are reset later if shared libraries are not supported. Putting them
   9187     # here allows them to be overridden if necessary.
   9188     runpath_var=LD_RUN_PATH
   9189     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9190     export_dynamic_flag_spec='${wl}--export-dynamic'
   9191     # ancient GNU ld didn't support --whole-archive et. al.
   9192     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9193       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   9194     else
   9195       whole_archive_flag_spec=
   9196     fi
   9197     supports_anon_versioning=no
   9198     case `$LD -v 2>&1` in
   9199       *GNU\ gold*) supports_anon_versioning=yes ;;
   9200       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9201       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9202       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9203       *\ 2.11.*) ;; # other 2.11 versions
   9204       *) supports_anon_versioning=yes ;;
   9205     esac
   9206 
   9207     # See if GNU ld supports shared libraries.
   9208     case $host_os in
   9209     aix[3-9]*)
   9210       # On AIX/PPC, the GNU linker is very broken
   9211       if test "$host_cpu" != ia64; then
   9212 	ld_shlibs=no
   9213 	cat <<_LT_EOF 1>&2
   9214 
   9215 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9216 *** to be unable to reliably create shared libraries on AIX.
   9217 *** Therefore, libtool is disabling shared libraries support.  If you
   9218 *** really care for shared libraries, you may want to install binutils
   9219 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9220 *** You will then need to restart the configuration process.
   9221 
   9222 _LT_EOF
   9223       fi
   9224       ;;
   9225 
   9226     amigaos*)
   9227       case $host_cpu in
   9228       powerpc)
   9229             # see comment about AmigaOS4 .so support
   9230             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9231             archive_expsym_cmds=''
   9232         ;;
   9233       m68k)
   9234             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)'
   9235             hardcode_libdir_flag_spec='-L$libdir'
   9236             hardcode_minus_L=yes
   9237         ;;
   9238       esac
   9239       ;;
   9240 
   9241     beos*)
   9242       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9243 	allow_undefined_flag=unsupported
   9244 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9245 	# support --undefined.  This deserves some investigation.  FIXME
   9246 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9247       else
   9248 	ld_shlibs=no
   9249       fi
   9250       ;;
   9251 
   9252     cygwin* | mingw* | pw32* | cegcc*)
   9253       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9254       # as there is no search path for DLLs.
   9255       hardcode_libdir_flag_spec='-L$libdir'
   9256       export_dynamic_flag_spec='${wl}--export-all-symbols'
   9257       allow_undefined_flag=unsupported
   9258       always_export_symbols=no
   9259       enable_shared_with_static_runtimes=yes
   9260       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'
   9261       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   9262 
   9263       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9264         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9265 	# If the export-symbols file already is a .def file (1st line
   9266 	# is EXPORTS), use it as is; otherwise, prepend...
   9267 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9268 	  cp $export_symbols $output_objdir/$soname.def;
   9269 	else
   9270 	  echo EXPORTS > $output_objdir/$soname.def;
   9271 	  cat $export_symbols >> $output_objdir/$soname.def;
   9272 	fi~
   9273 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9274       else
   9275 	ld_shlibs=no
   9276       fi
   9277       ;;
   9278 
   9279     haiku*)
   9280       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9281       link_all_deplibs=yes
   9282       ;;
   9283 
   9284     interix[3-9]*)
   9285       hardcode_direct=no
   9286       hardcode_shlibpath_var=no
   9287       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9288       export_dynamic_flag_spec='${wl}-E'
   9289       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9290       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9291       # default) and relocated if they conflict, which is a slow very memory
   9292       # consuming and fragmenting process.  To avoid this, we pick a random,
   9293       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9294       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9295       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9296       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'
   9297       ;;
   9298 
   9299     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9300       tmp_diet=no
   9301       if test "$host_os" = linux-dietlibc; then
   9302 	case $cc_basename in
   9303 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9304 	esac
   9305       fi
   9306       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9307 	 && test "$tmp_diet" = no
   9308       then
   9309 	tmp_addflag=' $pic_flag'
   9310 	tmp_sharedflag='-shared'
   9311 	case $cc_basename,$host_cpu in
   9312         pgcc*)				# Portland Group C compiler
   9313 	  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'
   9314 	  tmp_addflag=' $pic_flag'
   9315 	  ;;
   9316 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9317 					# Portland Group f77 and f90 compilers
   9318 	  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'
   9319 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9320 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9321 	  tmp_addflag=' -i_dynamic' ;;
   9322 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9323 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9324 	ifc* | ifort*)			# Intel Fortran compiler
   9325 	  tmp_addflag=' -nofor_main' ;;
   9326 	lf95*)				# Lahey Fortran 8.1
   9327 	  whole_archive_flag_spec=
   9328 	  tmp_sharedflag='--shared' ;;
   9329 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9330 	  tmp_sharedflag='-qmkshrobj'
   9331 	  tmp_addflag= ;;
   9332 	nvcc*)	# Cuda Compiler Driver 2.2
   9333 	  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'
   9334 	  compiler_needs_object=yes
   9335 	  ;;
   9336 	esac
   9337 	case `$CC -V 2>&1 | sed 5q` in
   9338 	*Sun\ C*)			# Sun C 5.9
   9339 	  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'
   9340 	  compiler_needs_object=yes
   9341 	  tmp_sharedflag='-G' ;;
   9342 	*Sun\ F*)			# Sun Fortran 8.3
   9343 	  tmp_sharedflag='-G' ;;
   9344 	esac
   9345 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9346 
   9347         if test "x$supports_anon_versioning" = xyes; then
   9348           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9349 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9350 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   9351 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   9352         fi
   9353 
   9354 	case $cc_basename in
   9355 	xlf* | bgf* | bgxlf* | mpixlf*)
   9356 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9357 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9358 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9359 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   9360 	  if test "x$supports_anon_versioning" = xyes; then
   9361 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9362 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9363 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   9364 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9365 	  fi
   9366 	  ;;
   9367 	esac
   9368       else
   9369         ld_shlibs=no
   9370       fi
   9371       ;;
   9372 
   9373     netbsd*)
   9374       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9375 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9376 	wlarc=
   9377       else
   9378 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9379 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9380       fi
   9381       ;;
   9382 
   9383     solaris*)
   9384       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9385 	ld_shlibs=no
   9386 	cat <<_LT_EOF 1>&2
   9387 
   9388 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9389 *** create shared libraries on Solaris systems.  Therefore, libtool
   9390 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9391 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9392 *** your PATH or compiler configuration so that the native linker is
   9393 *** used, and then restart.
   9394 
   9395 _LT_EOF
   9396       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9397 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9398 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9399       else
   9400 	ld_shlibs=no
   9401       fi
   9402       ;;
   9403 
   9404     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9405       case `$LD -v 2>&1` in
   9406         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9407 	ld_shlibs=no
   9408 	cat <<_LT_EOF 1>&2
   9409 
   9410 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   9411 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9412 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9413 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9414 *** your PATH or compiler configuration so that the native linker is
   9415 *** used, and then restart.
   9416 
   9417 _LT_EOF
   9418 	;;
   9419 	*)
   9420 	  # For security reasons, it is highly recommended that you always
   9421 	  # use absolute paths for naming shared libraries, and exclude the
   9422 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9423 	  # requires that you compile everything twice, which is a pain.
   9424 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9425 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9426 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9427 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9428 	  else
   9429 	    ld_shlibs=no
   9430 	  fi
   9431 	;;
   9432       esac
   9433       ;;
   9434 
   9435     sunos4*)
   9436       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9437       wlarc=
   9438       hardcode_direct=yes
   9439       hardcode_shlibpath_var=no
   9440       ;;
   9441 
   9442     *)
   9443       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9444 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9445 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9446       else
   9447 	ld_shlibs=no
   9448       fi
   9449       ;;
   9450     esac
   9451 
   9452     if test "$ld_shlibs" = no; then
   9453       runpath_var=
   9454       hardcode_libdir_flag_spec=
   9455       export_dynamic_flag_spec=
   9456       whole_archive_flag_spec=
   9457     fi
   9458   else
   9459     # PORTME fill in a description of your system's linker (not GNU ld)
   9460     case $host_os in
   9461     aix3*)
   9462       allow_undefined_flag=unsupported
   9463       always_export_symbols=yes
   9464       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'
   9465       # Note: this linker hardcodes the directories in LIBPATH if there
   9466       # are no directories specified by -L.
   9467       hardcode_minus_L=yes
   9468       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   9469 	# Neither direct hardcoding nor static linking is supported with a
   9470 	# broken collect2.
   9471 	hardcode_direct=unsupported
   9472       fi
   9473       ;;
   9474 
   9475     aix[4-9]*)
   9476       if test "$host_cpu" = ia64; then
   9477 	# On IA64, the linker does run time linking by default, so we don't
   9478 	# have to do anything special.
   9479 	aix_use_runtimelinking=no
   9480 	exp_sym_flag='-Bexport'
   9481 	no_entry_flag=""
   9482       else
   9483 	# If we're using GNU nm, then we don't want the "-C" option.
   9484 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   9485 	# Also, AIX nm treats weak defined symbols like other global
   9486 	# defined symbols, whereas GNU nm marks them as "W".
   9487 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9488 	  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'
   9489 	else
   9490 	  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'
   9491 	fi
   9492 	aix_use_runtimelinking=no
   9493 
   9494 	# Test if we are trying to use run time linking or normal
   9495 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9496 	# need to do runtime linking.
   9497 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9498 	  for ld_flag in $LDFLAGS; do
   9499 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   9500 	    aix_use_runtimelinking=yes
   9501 	    break
   9502 	  fi
   9503 	  done
   9504 	  ;;
   9505 	esac
   9506 
   9507 	exp_sym_flag='-bexport'
   9508 	no_entry_flag='-bnoentry'
   9509       fi
   9510 
   9511       # When large executables or shared objects are built, AIX ld can
   9512       # have problems creating the table of contents.  If linking a library
   9513       # or program results in "error TOC overflow" add -mminimal-toc to
   9514       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9515       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9516 
   9517       archive_cmds=''
   9518       hardcode_direct=yes
   9519       hardcode_direct_absolute=yes
   9520       hardcode_libdir_separator=':'
   9521       link_all_deplibs=yes
   9522       file_list_spec='${wl}-f,'
   9523 
   9524       if test "$GCC" = yes; then
   9525 	case $host_os in aix4.[012]|aix4.[012].*)
   9526 	# We only want to do this on AIX 4.2 and lower, the check
   9527 	# below for broken collect2 doesn't work under 4.3+
   9528 	  collect2name=`${CC} -print-prog-name=collect2`
   9529 	  if test -f "$collect2name" &&
   9530 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9531 	  then
   9532 	  # We have reworked collect2
   9533 	  :
   9534 	  else
   9535 	  # We have old collect2
   9536 	  hardcode_direct=unsupported
   9537 	  # It fails to find uninstalled libraries when the uninstalled
   9538 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9539 	  # to unsupported forces relinking
   9540 	  hardcode_minus_L=yes
   9541 	  hardcode_libdir_flag_spec='-L$libdir'
   9542 	  hardcode_libdir_separator=
   9543 	  fi
   9544 	  ;;
   9545 	esac
   9546 	shared_flag='-shared'
   9547 	if test "$aix_use_runtimelinking" = yes; then
   9548 	  shared_flag="$shared_flag "'${wl}-G'
   9549 	fi
   9550       else
   9551 	# not using gcc
   9552 	if test "$host_cpu" = ia64; then
   9553 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9554 	# chokes on -Wl,-G. The following line is correct:
   9555 	  shared_flag='-G'
   9556 	else
   9557 	  if test "$aix_use_runtimelinking" = yes; then
   9558 	    shared_flag='${wl}-G'
   9559 	  else
   9560 	    shared_flag='${wl}-bM:SRE'
   9561 	  fi
   9562 	fi
   9563       fi
   9564 
   9565       export_dynamic_flag_spec='${wl}-bexpall'
   9566       # It seems that -bexpall does not export symbols beginning with
   9567       # underscore (_), so it is better to generate a list of symbols to export.
   9568       always_export_symbols=yes
   9569       if test "$aix_use_runtimelinking" = yes; then
   9570 	# Warning - without using the other runtime loading flags (-brtl),
   9571 	# -berok will link without error, but may produce a broken library.
   9572 	allow_undefined_flag='-berok'
   9573         # Determine the default libpath from the value encoded in an
   9574         # empty executable.
   9575         if test "${lt_cv_aix_libpath+set}" = set; then
   9576   aix_libpath=$lt_cv_aix_libpath
   9577 else
   9578   if ${lt_cv_aix_libpath_+:} false; then :
   9579   $as_echo_n "(cached) " >&6
   9580 else
   9581   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9582 /* end confdefs.h.  */
   9583 
   9584 int
   9585 main ()
   9586 {
   9587 
   9588   ;
   9589   return 0;
   9590 }
   9591 _ACEOF
   9592 if ac_fn_c_try_link "$LINENO"; then :
   9593 
   9594   lt_aix_libpath_sed='
   9595       /Import File Strings/,/^$/ {
   9596 	  /^0/ {
   9597 	      s/^0  *\([^ ]*\) *$/\1/
   9598 	      p
   9599 	  }
   9600       }'
   9601   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9602   # Check for a 64-bit object if we didn't find anything.
   9603   if test -z "$lt_cv_aix_libpath_"; then
   9604     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9605   fi
   9606 fi
   9607 rm -f core conftest.err conftest.$ac_objext \
   9608     conftest$ac_exeext conftest.$ac_ext
   9609   if test -z "$lt_cv_aix_libpath_"; then
   9610     lt_cv_aix_libpath_="/usr/lib:/lib"
   9611   fi
   9612 
   9613 fi
   9614 
   9615   aix_libpath=$lt_cv_aix_libpath_
   9616 fi
   9617 
   9618         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9619         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"
   9620       else
   9621 	if test "$host_cpu" = ia64; then
   9622 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9623 	  allow_undefined_flag="-z nodefs"
   9624 	  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"
   9625 	else
   9626 	 # Determine the default libpath from the value encoded in an
   9627 	 # empty executable.
   9628 	 if test "${lt_cv_aix_libpath+set}" = set; then
   9629   aix_libpath=$lt_cv_aix_libpath
   9630 else
   9631   if ${lt_cv_aix_libpath_+:} false; then :
   9632   $as_echo_n "(cached) " >&6
   9633 else
   9634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9635 /* end confdefs.h.  */
   9636 
   9637 int
   9638 main ()
   9639 {
   9640 
   9641   ;
   9642   return 0;
   9643 }
   9644 _ACEOF
   9645 if ac_fn_c_try_link "$LINENO"; then :
   9646 
   9647   lt_aix_libpath_sed='
   9648       /Import File Strings/,/^$/ {
   9649 	  /^0/ {
   9650 	      s/^0  *\([^ ]*\) *$/\1/
   9651 	      p
   9652 	  }
   9653       }'
   9654   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9655   # Check for a 64-bit object if we didn't find anything.
   9656   if test -z "$lt_cv_aix_libpath_"; then
   9657     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9658   fi
   9659 fi
   9660 rm -f core conftest.err conftest.$ac_objext \
   9661     conftest$ac_exeext conftest.$ac_ext
   9662   if test -z "$lt_cv_aix_libpath_"; then
   9663     lt_cv_aix_libpath_="/usr/lib:/lib"
   9664   fi
   9665 
   9666 fi
   9667 
   9668   aix_libpath=$lt_cv_aix_libpath_
   9669 fi
   9670 
   9671 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9672 	  # Warning - without using the other run time loading flags,
   9673 	  # -berok will link without error, but may produce a broken library.
   9674 	  no_undefined_flag=' ${wl}-bernotok'
   9675 	  allow_undefined_flag=' ${wl}-berok'
   9676 	  if test "$with_gnu_ld" = yes; then
   9677 	    # We only use this code for GNU lds that support --whole-archive.
   9678 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9679 	  else
   9680 	    # Exported symbols can be pulled into shared objects from archives
   9681 	    whole_archive_flag_spec='$convenience'
   9682 	  fi
   9683 	  archive_cmds_need_lc=yes
   9684 	  # This is similar to how AIX traditionally builds its shared libraries.
   9685 	  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'
   9686 	fi
   9687       fi
   9688       ;;
   9689 
   9690     amigaos*)
   9691       case $host_cpu in
   9692       powerpc)
   9693             # see comment about AmigaOS4 .so support
   9694             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9695             archive_expsym_cmds=''
   9696         ;;
   9697       m68k)
   9698             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)'
   9699             hardcode_libdir_flag_spec='-L$libdir'
   9700             hardcode_minus_L=yes
   9701         ;;
   9702       esac
   9703       ;;
   9704 
   9705     bsdi[45]*)
   9706       export_dynamic_flag_spec=-rdynamic
   9707       ;;
   9708 
   9709     cygwin* | mingw* | pw32* | cegcc*)
   9710       # When not using gcc, we currently assume that we are using
   9711       # Microsoft Visual C++.
   9712       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9713       # no search path for DLLs.
   9714       case $cc_basename in
   9715       cl*)
   9716 	# Native MSVC
   9717 	hardcode_libdir_flag_spec=' '
   9718 	allow_undefined_flag=unsupported
   9719 	always_export_symbols=yes
   9720 	file_list_spec='@'
   9721 	# Tell ltmain to make .lib files, not .a files.
   9722 	libext=lib
   9723 	# Tell ltmain to make .dll files, not .so files.
   9724 	shrext_cmds=".dll"
   9725 	# FIXME: Setting linknames here is a bad hack.
   9726 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   9727 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9728 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   9729 	  else
   9730 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   9731 	  fi~
   9732 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9733 	  linknames='
   9734 	# The linker will not automatically build a static lib if we build a DLL.
   9735 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9736 	enable_shared_with_static_runtimes=yes
   9737 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9738 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9739 	# Don't use ranlib
   9740 	old_postinstall_cmds='chmod 644 $oldlib'
   9741 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9742 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   9743 	  case $lt_outputfile in
   9744 	    *.exe|*.EXE) ;;
   9745 	    *)
   9746 	      lt_outputfile="$lt_outputfile.exe"
   9747 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   9748 	      ;;
   9749 	  esac~
   9750 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   9751 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9752 	    $RM "$lt_outputfile.manifest";
   9753 	  fi'
   9754 	;;
   9755       *)
   9756 	# Assume MSVC wrapper
   9757 	hardcode_libdir_flag_spec=' '
   9758 	allow_undefined_flag=unsupported
   9759 	# Tell ltmain to make .lib files, not .a files.
   9760 	libext=lib
   9761 	# Tell ltmain to make .dll files, not .so files.
   9762 	shrext_cmds=".dll"
   9763 	# FIXME: Setting linknames here is a bad hack.
   9764 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9765 	# The linker will automatically build a .lib file if we build a DLL.
   9766 	old_archive_from_new_cmds='true'
   9767 	# FIXME: Should let the user specify the lib program.
   9768 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9769 	enable_shared_with_static_runtimes=yes
   9770 	;;
   9771       esac
   9772       ;;
   9773 
   9774     darwin* | rhapsody*)
   9775 
   9776 
   9777   archive_cmds_need_lc=no
   9778   hardcode_direct=no
   9779   hardcode_automatic=yes
   9780   hardcode_shlibpath_var=unsupported
   9781   if test "$lt_cv_ld_force_load" = "yes"; then
   9782     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\"`'
   9783 
   9784   else
   9785     whole_archive_flag_spec=''
   9786   fi
   9787   link_all_deplibs=yes
   9788   allow_undefined_flag="$_lt_dar_allow_undefined"
   9789   case $cc_basename in
   9790      ifort*) _lt_dar_can_shared=yes ;;
   9791      *) _lt_dar_can_shared=$GCC ;;
   9792   esac
   9793   if test "$_lt_dar_can_shared" = "yes"; then
   9794     output_verbose_link_cmd=func_echo_all
   9795     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9796     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9797     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}"
   9798     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}"
   9799 
   9800   else
   9801   ld_shlibs=no
   9802   fi
   9803 
   9804       ;;
   9805 
   9806     dgux*)
   9807       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9808       hardcode_libdir_flag_spec='-L$libdir'
   9809       hardcode_shlibpath_var=no
   9810       ;;
   9811 
   9812     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9813     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9814     # does not break anything, and helps significantly (at the cost of a little
   9815     # extra space).
   9816     freebsd2.2*)
   9817       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9818       hardcode_libdir_flag_spec='-R$libdir'
   9819       hardcode_direct=yes
   9820       hardcode_shlibpath_var=no
   9821       ;;
   9822 
   9823     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9824     freebsd2.*)
   9825       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9826       hardcode_direct=yes
   9827       hardcode_minus_L=yes
   9828       hardcode_shlibpath_var=no
   9829       ;;
   9830 
   9831     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9832     freebsd* | dragonfly*)
   9833       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9834       hardcode_libdir_flag_spec='-R$libdir'
   9835       hardcode_direct=yes
   9836       hardcode_shlibpath_var=no
   9837       ;;
   9838 
   9839     hpux9*)
   9840       if test "$GCC" = yes; then
   9841 	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'
   9842       else
   9843 	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'
   9844       fi
   9845       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9846       hardcode_libdir_separator=:
   9847       hardcode_direct=yes
   9848 
   9849       # hardcode_minus_L: Not really in the search PATH,
   9850       # but as the default location of the library.
   9851       hardcode_minus_L=yes
   9852       export_dynamic_flag_spec='${wl}-E'
   9853       ;;
   9854 
   9855     hpux10*)
   9856       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9857 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9858       else
   9859 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9860       fi
   9861       if test "$with_gnu_ld" = no; then
   9862 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9863 	hardcode_libdir_separator=:
   9864 	hardcode_direct=yes
   9865 	hardcode_direct_absolute=yes
   9866 	export_dynamic_flag_spec='${wl}-E'
   9867 	# hardcode_minus_L: Not really in the search PATH,
   9868 	# but as the default location of the library.
   9869 	hardcode_minus_L=yes
   9870       fi
   9871       ;;
   9872 
   9873     hpux11*)
   9874       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9875 	case $host_cpu in
   9876 	hppa*64*)
   9877 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9878 	  ;;
   9879 	ia64*)
   9880 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9881 	  ;;
   9882 	*)
   9883 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9884 	  ;;
   9885 	esac
   9886       else
   9887 	case $host_cpu in
   9888 	hppa*64*)
   9889 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9890 	  ;;
   9891 	ia64*)
   9892 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9893 	  ;;
   9894 	*)
   9895 
   9896 	  # Older versions of the 11.00 compiler do not understand -b yet
   9897 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9898 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9899 $as_echo_n "checking if $CC understands -b... " >&6; }
   9900 if ${lt_cv_prog_compiler__b+:} false; then :
   9901   $as_echo_n "(cached) " >&6
   9902 else
   9903   lt_cv_prog_compiler__b=no
   9904    save_LDFLAGS="$LDFLAGS"
   9905    LDFLAGS="$LDFLAGS -b"
   9906    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9907    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9908      # The linker can only warn and ignore the option if not recognized
   9909      # So say no if there are warnings
   9910      if test -s conftest.err; then
   9911        # Append any errors to the config.log.
   9912        cat conftest.err 1>&5
   9913        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9914        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9915        if diff conftest.exp conftest.er2 >/dev/null; then
   9916          lt_cv_prog_compiler__b=yes
   9917        fi
   9918      else
   9919        lt_cv_prog_compiler__b=yes
   9920      fi
   9921    fi
   9922    $RM -r conftest*
   9923    LDFLAGS="$save_LDFLAGS"
   9924 
   9925 fi
   9926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9927 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9928 
   9929 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9930     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9931 else
   9932     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9933 fi
   9934 
   9935 	  ;;
   9936 	esac
   9937       fi
   9938       if test "$with_gnu_ld" = no; then
   9939 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9940 	hardcode_libdir_separator=:
   9941 
   9942 	case $host_cpu in
   9943 	hppa*64*|ia64*)
   9944 	  hardcode_direct=no
   9945 	  hardcode_shlibpath_var=no
   9946 	  ;;
   9947 	*)
   9948 	  hardcode_direct=yes
   9949 	  hardcode_direct_absolute=yes
   9950 	  export_dynamic_flag_spec='${wl}-E'
   9951 
   9952 	  # hardcode_minus_L: Not really in the search PATH,
   9953 	  # but as the default location of the library.
   9954 	  hardcode_minus_L=yes
   9955 	  ;;
   9956 	esac
   9957       fi
   9958       ;;
   9959 
   9960     irix5* | irix6* | nonstopux*)
   9961       if test "$GCC" = yes; then
   9962 	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'
   9963 	# Try to use the -exported_symbol ld option, if it does not
   9964 	# work, assume that -exports_file does not work either and
   9965 	# implicitly export all symbols.
   9966 	# This should be the same for all languages, so no per-tag cache variable.
   9967 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9968 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9969 if ${lt_cv_irix_exported_symbol+:} false; then :
   9970   $as_echo_n "(cached) " >&6
   9971 else
   9972   save_LDFLAGS="$LDFLAGS"
   9973 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9974 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9975 /* end confdefs.h.  */
   9976 int foo (void) { return 0; }
   9977 _ACEOF
   9978 if ac_fn_c_try_link "$LINENO"; then :
   9979   lt_cv_irix_exported_symbol=yes
   9980 else
   9981   lt_cv_irix_exported_symbol=no
   9982 fi
   9983 rm -f core conftest.err conftest.$ac_objext \
   9984     conftest$ac_exeext conftest.$ac_ext
   9985            LDFLAGS="$save_LDFLAGS"
   9986 fi
   9987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9988 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9989 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9990           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'
   9991 	fi
   9992       else
   9993 	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'
   9994 	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'
   9995       fi
   9996       archive_cmds_need_lc='no'
   9997       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9998       hardcode_libdir_separator=:
   9999       inherit_rpath=yes
   10000       link_all_deplibs=yes
   10001       ;;
   10002 
   10003     netbsd*)
   10004       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10005 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10006       else
   10007 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10008       fi
   10009       hardcode_libdir_flag_spec='-R$libdir'
   10010       hardcode_direct=yes
   10011       hardcode_shlibpath_var=no
   10012       ;;
   10013 
   10014     newsos6)
   10015       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10016       hardcode_direct=yes
   10017       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10018       hardcode_libdir_separator=:
   10019       hardcode_shlibpath_var=no
   10020       ;;
   10021 
   10022     *nto* | *qnx*)
   10023       ;;
   10024 
   10025     openbsd*)
   10026       if test -f /usr/libexec/ld.so; then
   10027 	hardcode_direct=yes
   10028 	hardcode_shlibpath_var=no
   10029 	hardcode_direct_absolute=yes
   10030 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10031 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10032 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   10033 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   10034 	  export_dynamic_flag_spec='${wl}-E'
   10035 	else
   10036 	  case $host_os in
   10037 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   10038 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10039 	     hardcode_libdir_flag_spec='-R$libdir'
   10040 	     ;;
   10041 	   *)
   10042 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10043 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   10044 	     ;;
   10045 	  esac
   10046 	fi
   10047       else
   10048 	ld_shlibs=no
   10049       fi
   10050       ;;
   10051 
   10052     os2*)
   10053       hardcode_libdir_flag_spec='-L$libdir'
   10054       hardcode_minus_L=yes
   10055       allow_undefined_flag=unsupported
   10056       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'
   10057       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   10058       ;;
   10059 
   10060     osf3*)
   10061       if test "$GCC" = yes; then
   10062 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   10063 	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'
   10064       else
   10065 	allow_undefined_flag=' -expect_unresolved \*'
   10066 	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'
   10067       fi
   10068       archive_cmds_need_lc='no'
   10069       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10070       hardcode_libdir_separator=:
   10071       ;;
   10072 
   10073     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10074       if test "$GCC" = yes; then
   10075 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   10076 	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'
   10077 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10078       else
   10079 	allow_undefined_flag=' -expect_unresolved \*'
   10080 	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'
   10081 	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~
   10082 	$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'
   10083 
   10084 	# Both c and cxx compiler support -rpath directly
   10085 	hardcode_libdir_flag_spec='-rpath $libdir'
   10086       fi
   10087       archive_cmds_need_lc='no'
   10088       hardcode_libdir_separator=:
   10089       ;;
   10090 
   10091     solaris*)
   10092       no_undefined_flag=' -z defs'
   10093       if test "$GCC" = yes; then
   10094 	wlarc='${wl}'
   10095 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   10096 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10097 	  $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'
   10098       else
   10099 	case `$CC -V 2>&1` in
   10100 	*"Compilers 5.0"*)
   10101 	  wlarc=''
   10102 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10103 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10104 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10105 	  ;;
   10106 	*)
   10107 	  wlarc='${wl}'
   10108 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10109 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10110 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10111 	  ;;
   10112 	esac
   10113       fi
   10114       hardcode_libdir_flag_spec='-R$libdir'
   10115       hardcode_shlibpath_var=no
   10116       case $host_os in
   10117       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10118       *)
   10119 	# The compiler driver will combine and reorder linker options,
   10120 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   10121 	# but is careful enough not to reorder.
   10122 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10123 	if test "$GCC" = yes; then
   10124 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   10125 	else
   10126 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10127 	fi
   10128 	;;
   10129       esac
   10130       link_all_deplibs=yes
   10131       ;;
   10132 
   10133     sunos4*)
   10134       if test "x$host_vendor" = xsequent; then
   10135 	# Use $CC to link under sequent, because it throws in some extra .o
   10136 	# files that make .init and .fini sections work.
   10137 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10138       else
   10139 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10140       fi
   10141       hardcode_libdir_flag_spec='-L$libdir'
   10142       hardcode_direct=yes
   10143       hardcode_minus_L=yes
   10144       hardcode_shlibpath_var=no
   10145       ;;
   10146 
   10147     sysv4)
   10148       case $host_vendor in
   10149 	sni)
   10150 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10151 	  hardcode_direct=yes # is this really true???
   10152 	;;
   10153 	siemens)
   10154 	  ## LD is ld it makes a PLAMLIB
   10155 	  ## CC just makes a GrossModule.
   10156 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10157 	  reload_cmds='$CC -r -o $output$reload_objs'
   10158 	  hardcode_direct=no
   10159         ;;
   10160 	motorola)
   10161 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10162 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10163 	;;
   10164       esac
   10165       runpath_var='LD_RUN_PATH'
   10166       hardcode_shlibpath_var=no
   10167       ;;
   10168 
   10169     sysv4.3*)
   10170       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10171       hardcode_shlibpath_var=no
   10172       export_dynamic_flag_spec='-Bexport'
   10173       ;;
   10174 
   10175     sysv4*MP*)
   10176       if test -d /usr/nec; then
   10177 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10178 	hardcode_shlibpath_var=no
   10179 	runpath_var=LD_RUN_PATH
   10180 	hardcode_runpath_var=yes
   10181 	ld_shlibs=yes
   10182       fi
   10183       ;;
   10184 
   10185     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10186       no_undefined_flag='${wl}-z,text'
   10187       archive_cmds_need_lc=no
   10188       hardcode_shlibpath_var=no
   10189       runpath_var='LD_RUN_PATH'
   10190 
   10191       if test "$GCC" = yes; then
   10192 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10193 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10194       else
   10195 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10196 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10197       fi
   10198       ;;
   10199 
   10200     sysv5* | sco3.2v5* | sco5v6*)
   10201       # Note: We can NOT use -z defs as we might desire, because we do not
   10202       # link with -lc, and that would cause any symbols used from libc to
   10203       # always be unresolved, which means just about no library would
   10204       # ever link correctly.  If we're not using GNU ld we use -z text
   10205       # though, which does catch some bad symbols but isn't as heavy-handed
   10206       # as -z defs.
   10207       no_undefined_flag='${wl}-z,text'
   10208       allow_undefined_flag='${wl}-z,nodefs'
   10209       archive_cmds_need_lc=no
   10210       hardcode_shlibpath_var=no
   10211       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   10212       hardcode_libdir_separator=':'
   10213       link_all_deplibs=yes
   10214       export_dynamic_flag_spec='${wl}-Bexport'
   10215       runpath_var='LD_RUN_PATH'
   10216 
   10217       if test "$GCC" = yes; then
   10218 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10219 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10220       else
   10221 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10222 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10223       fi
   10224       ;;
   10225 
   10226     uts4*)
   10227       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10228       hardcode_libdir_flag_spec='-L$libdir'
   10229       hardcode_shlibpath_var=no
   10230       ;;
   10231 
   10232     *)
   10233       ld_shlibs=no
   10234       ;;
   10235     esac
   10236 
   10237     if test x$host_vendor = xsni; then
   10238       case $host in
   10239       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10240 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   10241 	;;
   10242       esac
   10243     fi
   10244   fi
   10245 
   10246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10247 $as_echo "$ld_shlibs" >&6; }
   10248 test "$ld_shlibs" = no && can_build_shared=no
   10249 
   10250 with_gnu_ld=$with_gnu_ld
   10251 
   10252 
   10253 
   10254 
   10255 
   10256 
   10257 
   10258 
   10259 
   10260 
   10261 
   10262 
   10263 
   10264 
   10265 
   10266 #
   10267 # Do we need to explicitly link libc?
   10268 #
   10269 case "x$archive_cmds_need_lc" in
   10270 x|xyes)
   10271   # Assume -lc should be added
   10272   archive_cmds_need_lc=yes
   10273 
   10274   if test "$enable_shared" = yes && test "$GCC" = yes; then
   10275     case $archive_cmds in
   10276     *'~'*)
   10277       # FIXME: we may have to deal with multi-command sequences.
   10278       ;;
   10279     '$CC '*)
   10280       # Test whether the compiler implicitly links with -lc since on some
   10281       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10282       # to ld, don't add -lc before -lgcc.
   10283       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10284 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   10285 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   10286   $as_echo_n "(cached) " >&6
   10287 else
   10288   $RM conftest*
   10289 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10290 
   10291 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10292   (eval $ac_compile) 2>&5
   10293   ac_status=$?
   10294   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10295   test $ac_status = 0; } 2>conftest.err; then
   10296 	  soname=conftest
   10297 	  lib=conftest
   10298 	  libobjs=conftest.$ac_objext
   10299 	  deplibs=
   10300 	  wl=$lt_prog_compiler_wl
   10301 	  pic_flag=$lt_prog_compiler_pic
   10302 	  compiler_flags=-v
   10303 	  linker_flags=-v
   10304 	  verstring=
   10305 	  output_objdir=.
   10306 	  libname=conftest
   10307 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10308 	  allow_undefined_flag=
   10309 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10310   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10311   ac_status=$?
   10312   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10313   test $ac_status = 0; }
   10314 	  then
   10315 	    lt_cv_archive_cmds_need_lc=no
   10316 	  else
   10317 	    lt_cv_archive_cmds_need_lc=yes
   10318 	  fi
   10319 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10320 	else
   10321 	  cat conftest.err 1>&5
   10322 	fi
   10323 	$RM conftest*
   10324 
   10325 fi
   10326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10327 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   10328       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10329       ;;
   10330     esac
   10331   fi
   10332   ;;
   10333 esac
   10334 
   10335 
   10336 
   10337 
   10338 
   10339 
   10340 
   10341 
   10342 
   10343 
   10344 
   10345 
   10346 
   10347 
   10348 
   10349 
   10350 
   10351 
   10352 
   10353 
   10354 
   10355 
   10356 
   10357 
   10358 
   10359 
   10360 
   10361 
   10362 
   10363 
   10364 
   10365 
   10366 
   10367 
   10368 
   10369 
   10370 
   10371 
   10372 
   10373 
   10374 
   10375 
   10376 
   10377 
   10378 
   10379 
   10380 
   10381 
   10382 
   10383 
   10384 
   10385 
   10386 
   10387 
   10388 
   10389 
   10390 
   10391 
   10392 
   10393 
   10394 
   10395 
   10396 
   10397 
   10398 
   10399 
   10400 
   10401 
   10402 
   10403 
   10404 
   10405 
   10406 
   10407 
   10408 
   10409 
   10410 
   10411 
   10412 
   10413 
   10414 
   10415 
   10416 
   10417 
   10418 
   10419 
   10420 
   10421 
   10422 
   10423 
   10424 
   10425 
   10426 
   10427 
   10428 
   10429 
   10430 
   10431 
   10432 
   10433 
   10434 
   10435 
   10436 
   10437 
   10438 
   10439 
   10440 
   10441 
   10442 
   10443 
   10444 
   10445 
   10446 
   10447 
   10448 
   10449 
   10450 
   10451 
   10452 
   10453 
   10454 
   10455 
   10456 
   10457 
   10458 
   10459 
   10460 
   10461 
   10462 
   10463 
   10464 
   10465 
   10466 
   10467 
   10468 
   10469 
   10470 
   10471 
   10472 
   10473 
   10474 
   10475 
   10476 
   10477 
   10478 
   10479 
   10480 
   10481 
   10482 
   10483 
   10484 
   10485 
   10486   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10487 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10488 
   10489 if test "$GCC" = yes; then
   10490   case $host_os in
   10491     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   10492     *) lt_awk_arg="/^libraries:/" ;;
   10493   esac
   10494   case $host_os in
   10495     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   10496     *) lt_sed_strip_eq="s,=/,/,g" ;;
   10497   esac
   10498   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10499   case $lt_search_path_spec in
   10500   *\;*)
   10501     # if the path contains ";" then we assume it to be the separator
   10502     # otherwise default to the standard path separator (i.e. ":") - it is
   10503     # assumed that no part of a normal pathname contains ";" but that should
   10504     # okay in the real world where ";" in dirpaths is itself problematic.
   10505     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10506     ;;
   10507   *)
   10508     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10509     ;;
   10510   esac
   10511   # Ok, now we have the path, separated by spaces, we can step through it
   10512   # and add multilib dir if necessary.
   10513   lt_tmp_lt_search_path_spec=
   10514   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10515   for lt_sys_path in $lt_search_path_spec; do
   10516     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   10517       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   10518     else
   10519       test -d "$lt_sys_path" && \
   10520 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10521     fi
   10522   done
   10523   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10524 BEGIN {RS=" "; FS="/|\n";} {
   10525   lt_foo="";
   10526   lt_count=0;
   10527   for (lt_i = NF; lt_i > 0; lt_i--) {
   10528     if ($lt_i != "" && $lt_i != ".") {
   10529       if ($lt_i == "..") {
   10530         lt_count++;
   10531       } else {
   10532         if (lt_count == 0) {
   10533           lt_foo="/" $lt_i lt_foo;
   10534         } else {
   10535           lt_count--;
   10536         }
   10537       }
   10538     }
   10539   }
   10540   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10541   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10542 }'`
   10543   # AWK program above erroneously prepends '/' to C:/dos/paths
   10544   # for these hosts.
   10545   case $host_os in
   10546     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10547       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   10548   esac
   10549   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10550 else
   10551   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10552 fi
   10553 library_names_spec=
   10554 libname_spec='lib$name'
   10555 soname_spec=
   10556 shrext_cmds=".so"
   10557 postinstall_cmds=
   10558 postuninstall_cmds=
   10559 finish_cmds=
   10560 finish_eval=
   10561 shlibpath_var=
   10562 shlibpath_overrides_runpath=unknown
   10563 version_type=none
   10564 dynamic_linker="$host_os ld.so"
   10565 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10566 need_lib_prefix=unknown
   10567 hardcode_into_libs=no
   10568 
   10569 # when you set need_version to no, make sure it does not cause -set_version
   10570 # flags to be left without arguments
   10571 need_version=unknown
   10572 
   10573 case $host_os in
   10574 aix3*)
   10575   version_type=linux # correct to gnu/linux during the next big refactor
   10576   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10577   shlibpath_var=LIBPATH
   10578 
   10579   # AIX 3 has no versioning support, so we append a major version to the name.
   10580   soname_spec='${libname}${release}${shared_ext}$major'
   10581   ;;
   10582 
   10583 aix[4-9]*)
   10584   version_type=linux # correct to gnu/linux during the next big refactor
   10585   need_lib_prefix=no
   10586   need_version=no
   10587   hardcode_into_libs=yes
   10588   if test "$host_cpu" = ia64; then
   10589     # AIX 5 supports IA64
   10590     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10591     shlibpath_var=LD_LIBRARY_PATH
   10592   else
   10593     # With GCC up to 2.95.x, collect2 would create an import file
   10594     # for dependence libraries.  The import file would start with
   10595     # the line `#! .'.  This would cause the generated library to
   10596     # depend on `.', always an invalid library.  This was fixed in
   10597     # development snapshots of GCC prior to 3.0.
   10598     case $host_os in
   10599       aix4 | aix4.[01] | aix4.[01].*)
   10600       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10601 	   echo ' yes '
   10602 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10603 	:
   10604       else
   10605 	can_build_shared=no
   10606       fi
   10607       ;;
   10608     esac
   10609     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10610     # soname into executable. Probably we can add versioning support to
   10611     # collect2, so additional links can be useful in future.
   10612     if test "$aix_use_runtimelinking" = yes; then
   10613       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10614       # instead of lib<name>.a to let people know that these are not
   10615       # typical AIX shared libraries.
   10616       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10617     else
   10618       # We preserve .a as extension for shared libraries through AIX4.2
   10619       # and later when we are not doing run time linking.
   10620       library_names_spec='${libname}${release}.a $libname.a'
   10621       soname_spec='${libname}${release}${shared_ext}$major'
   10622     fi
   10623     shlibpath_var=LIBPATH
   10624   fi
   10625   ;;
   10626 
   10627 amigaos*)
   10628   case $host_cpu in
   10629   powerpc)
   10630     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10631     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10632     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10633     ;;
   10634   m68k)
   10635     library_names_spec='$libname.ixlibrary $libname.a'
   10636     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10637     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; 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'
   10638     ;;
   10639   esac
   10640   ;;
   10641 
   10642 beos*)
   10643   library_names_spec='${libname}${shared_ext}'
   10644   dynamic_linker="$host_os ld.so"
   10645   shlibpath_var=LIBRARY_PATH
   10646   ;;
   10647 
   10648 bsdi[45]*)
   10649   version_type=linux # correct to gnu/linux during the next big refactor
   10650   need_version=no
   10651   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10652   soname_spec='${libname}${release}${shared_ext}$major'
   10653   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10654   shlibpath_var=LD_LIBRARY_PATH
   10655   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10656   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10657   # the default ld.so.conf also contains /usr/contrib/lib and
   10658   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10659   # libtool to hard-code these into programs
   10660   ;;
   10661 
   10662 cygwin* | mingw* | pw32* | cegcc*)
   10663   version_type=windows
   10664   shrext_cmds=".dll"
   10665   need_version=no
   10666   need_lib_prefix=no
   10667 
   10668   case $GCC,$cc_basename in
   10669   yes,*)
   10670     # gcc
   10671     library_names_spec='$libname.dll.a'
   10672     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10673     postinstall_cmds='base_file=`basename \${file}`~
   10674       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10675       dldir=$destdir/`dirname \$dlpath`~
   10676       test -d \$dldir || mkdir -p \$dldir~
   10677       $install_prog $dir/$dlname \$dldir/$dlname~
   10678       chmod a+x \$dldir/$dlname~
   10679       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10680         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10681       fi'
   10682     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10683       dlpath=$dir/\$dldll~
   10684        $RM \$dlpath'
   10685     shlibpath_overrides_runpath=yes
   10686 
   10687     case $host_os in
   10688     cygwin*)
   10689       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10690       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10691 
   10692       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10693       ;;
   10694     mingw* | cegcc*)
   10695       # MinGW DLLs use traditional 'lib' prefix
   10696       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10697       ;;
   10698     pw32*)
   10699       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10700       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10701       ;;
   10702     esac
   10703     dynamic_linker='Win32 ld.exe'
   10704     ;;
   10705 
   10706   *,cl*)
   10707     # Native MSVC
   10708     libname_spec='$name'
   10709     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10710     library_names_spec='${libname}.dll.lib'
   10711 
   10712     case $build_os in
   10713     mingw*)
   10714       sys_lib_search_path_spec=
   10715       lt_save_ifs=$IFS
   10716       IFS=';'
   10717       for lt_path in $LIB
   10718       do
   10719         IFS=$lt_save_ifs
   10720         # Let DOS variable expansion print the short 8.3 style file name.
   10721         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10722         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10723       done
   10724       IFS=$lt_save_ifs
   10725       # Convert to MSYS style.
   10726       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10727       ;;
   10728     cygwin*)
   10729       # Convert to unix form, then to dos form, then back to unix form
   10730       # but this time dos style (no spaces!) so that the unix form looks
   10731       # like /cygdrive/c/PROGRA~1:/cygdr...
   10732       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10733       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10734       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10735       ;;
   10736     *)
   10737       sys_lib_search_path_spec="$LIB"
   10738       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10739         # It is most probably a Windows format PATH.
   10740         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10741       else
   10742         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10743       fi
   10744       # FIXME: find the short name or the path components, as spaces are
   10745       # common. (e.g. "Program Files" -> "PROGRA~1")
   10746       ;;
   10747     esac
   10748 
   10749     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10750     postinstall_cmds='base_file=`basename \${file}`~
   10751       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10752       dldir=$destdir/`dirname \$dlpath`~
   10753       test -d \$dldir || mkdir -p \$dldir~
   10754       $install_prog $dir/$dlname \$dldir/$dlname'
   10755     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10756       dlpath=$dir/\$dldll~
   10757        $RM \$dlpath'
   10758     shlibpath_overrides_runpath=yes
   10759     dynamic_linker='Win32 link.exe'
   10760     ;;
   10761 
   10762   *)
   10763     # Assume MSVC wrapper
   10764     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10765     dynamic_linker='Win32 ld.exe'
   10766     ;;
   10767   esac
   10768   # FIXME: first we should search . and the directory the executable is in
   10769   shlibpath_var=PATH
   10770   ;;
   10771 
   10772 darwin* | rhapsody*)
   10773   dynamic_linker="$host_os dyld"
   10774   version_type=darwin
   10775   need_lib_prefix=no
   10776   need_version=no
   10777   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10778   soname_spec='${libname}${release}${major}$shared_ext'
   10779   shlibpath_overrides_runpath=yes
   10780   shlibpath_var=DYLD_LIBRARY_PATH
   10781   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10782 
   10783   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10784   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10785   ;;
   10786 
   10787 dgux*)
   10788   version_type=linux # correct to gnu/linux during the next big refactor
   10789   need_lib_prefix=no
   10790   need_version=no
   10791   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10792   soname_spec='${libname}${release}${shared_ext}$major'
   10793   shlibpath_var=LD_LIBRARY_PATH
   10794   ;;
   10795 
   10796 freebsd* | dragonfly*)
   10797   # DragonFly does not have aout.  When/if they implement a new
   10798   # versioning mechanism, adjust this.
   10799   if test -x /usr/bin/objformat; then
   10800     objformat=`/usr/bin/objformat`
   10801   else
   10802     case $host_os in
   10803     freebsd[23].*) objformat=aout ;;
   10804     *) objformat=elf ;;
   10805     esac
   10806   fi
   10807   version_type=freebsd-$objformat
   10808   case $version_type in
   10809     freebsd-elf*)
   10810       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10811       need_version=no
   10812       need_lib_prefix=no
   10813       ;;
   10814     freebsd-*)
   10815       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10816       need_version=yes
   10817       ;;
   10818   esac
   10819   shlibpath_var=LD_LIBRARY_PATH
   10820   case $host_os in
   10821   freebsd2.*)
   10822     shlibpath_overrides_runpath=yes
   10823     ;;
   10824   freebsd3.[01]* | freebsdelf3.[01]*)
   10825     shlibpath_overrides_runpath=yes
   10826     hardcode_into_libs=yes
   10827     ;;
   10828   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10829   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10830     shlibpath_overrides_runpath=no
   10831     hardcode_into_libs=yes
   10832     ;;
   10833   *) # from 4.6 on, and DragonFly
   10834     shlibpath_overrides_runpath=yes
   10835     hardcode_into_libs=yes
   10836     ;;
   10837   esac
   10838   ;;
   10839 
   10840 gnu*)
   10841   version_type=linux # correct to gnu/linux during the next big refactor
   10842   need_lib_prefix=no
   10843   need_version=no
   10844   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10845   soname_spec='${libname}${release}${shared_ext}$major'
   10846   shlibpath_var=LD_LIBRARY_PATH
   10847   shlibpath_overrides_runpath=no
   10848   hardcode_into_libs=yes
   10849   ;;
   10850 
   10851 haiku*)
   10852   version_type=linux # correct to gnu/linux during the next big refactor
   10853   need_lib_prefix=no
   10854   need_version=no
   10855   dynamic_linker="$host_os runtime_loader"
   10856   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10857   soname_spec='${libname}${release}${shared_ext}$major'
   10858   shlibpath_var=LIBRARY_PATH
   10859   shlibpath_overrides_runpath=yes
   10860   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10861   hardcode_into_libs=yes
   10862   ;;
   10863 
   10864 hpux9* | hpux10* | hpux11*)
   10865   # Give a soname corresponding to the major version so that dld.sl refuses to
   10866   # link against other versions.
   10867   version_type=sunos
   10868   need_lib_prefix=no
   10869   need_version=no
   10870   case $host_cpu in
   10871   ia64*)
   10872     shrext_cmds='.so'
   10873     hardcode_into_libs=yes
   10874     dynamic_linker="$host_os dld.so"
   10875     shlibpath_var=LD_LIBRARY_PATH
   10876     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10877     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10878     soname_spec='${libname}${release}${shared_ext}$major'
   10879     if test "X$HPUX_IA64_MODE" = X32; then
   10880       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10881     else
   10882       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10883     fi
   10884     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10885     ;;
   10886   hppa*64*)
   10887     shrext_cmds='.sl'
   10888     hardcode_into_libs=yes
   10889     dynamic_linker="$host_os dld.sl"
   10890     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10891     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10892     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10893     soname_spec='${libname}${release}${shared_ext}$major'
   10894     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10895     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10896     ;;
   10897   *)
   10898     shrext_cmds='.sl'
   10899     dynamic_linker="$host_os dld.sl"
   10900     shlibpath_var=SHLIB_PATH
   10901     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10902     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10903     soname_spec='${libname}${release}${shared_ext}$major'
   10904     ;;
   10905   esac
   10906   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10907   postinstall_cmds='chmod 555 $lib'
   10908   # or fails outright, so override atomically:
   10909   install_override_mode=555
   10910   ;;
   10911 
   10912 interix[3-9]*)
   10913   version_type=linux # correct to gnu/linux during the next big refactor
   10914   need_lib_prefix=no
   10915   need_version=no
   10916   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10917   soname_spec='${libname}${release}${shared_ext}$major'
   10918   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10919   shlibpath_var=LD_LIBRARY_PATH
   10920   shlibpath_overrides_runpath=no
   10921   hardcode_into_libs=yes
   10922   ;;
   10923 
   10924 irix5* | irix6* | nonstopux*)
   10925   case $host_os in
   10926     nonstopux*) version_type=nonstopux ;;
   10927     *)
   10928 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10929 		version_type=linux # correct to gnu/linux during the next big refactor
   10930 	else
   10931 		version_type=irix
   10932 	fi ;;
   10933   esac
   10934   need_lib_prefix=no
   10935   need_version=no
   10936   soname_spec='${libname}${release}${shared_ext}$major'
   10937   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10938   case $host_os in
   10939   irix5* | nonstopux*)
   10940     libsuff= shlibsuff=
   10941     ;;
   10942   *)
   10943     case $LD in # libtool.m4 will add one of these switches to LD
   10944     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10945       libsuff= shlibsuff= libmagic=32-bit;;
   10946     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10947       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10948     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10949       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10950     *) libsuff= shlibsuff= libmagic=never-match;;
   10951     esac
   10952     ;;
   10953   esac
   10954   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10955   shlibpath_overrides_runpath=no
   10956   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10957   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10958   hardcode_into_libs=yes
   10959   ;;
   10960 
   10961 # No shared lib support for Linux oldld, aout, or coff.
   10962 linux*oldld* | linux*aout* | linux*coff*)
   10963   dynamic_linker=no
   10964   ;;
   10965 
   10966 # This must be glibc/ELF.
   10967 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10968   version_type=linux # correct to gnu/linux during the next big refactor
   10969   need_lib_prefix=no
   10970   need_version=no
   10971   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10972   soname_spec='${libname}${release}${shared_ext}$major'
   10973   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10974   shlibpath_var=LD_LIBRARY_PATH
   10975   shlibpath_overrides_runpath=no
   10976 
   10977   # Some binutils ld are patched to set DT_RUNPATH
   10978   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10979   $as_echo_n "(cached) " >&6
   10980 else
   10981   lt_cv_shlibpath_overrides_runpath=no
   10982     save_LDFLAGS=$LDFLAGS
   10983     save_libdir=$libdir
   10984     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10985 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10986     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10987 /* end confdefs.h.  */
   10988 
   10989 int
   10990 main ()
   10991 {
   10992 
   10993   ;
   10994   return 0;
   10995 }
   10996 _ACEOF
   10997 if ac_fn_c_try_link "$LINENO"; then :
   10998   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10999   lt_cv_shlibpath_overrides_runpath=yes
   11000 fi
   11001 fi
   11002 rm -f core conftest.err conftest.$ac_objext \
   11003     conftest$ac_exeext conftest.$ac_ext
   11004     LDFLAGS=$save_LDFLAGS
   11005     libdir=$save_libdir
   11006 
   11007 fi
   11008 
   11009   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   11010 
   11011   # This implies no fast_install, which is unacceptable.
   11012   # Some rework will be needed to allow for fast_install
   11013   # before this can be enabled.
   11014   hardcode_into_libs=yes
   11015 
   11016   # Append ld.so.conf contents to the search path
   11017   if test -f /etc/ld.so.conf; then
   11018     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' ' '`
   11019     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   11020   fi
   11021 
   11022   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11023   # powerpc, because MkLinux only supported shared libraries with the
   11024   # GNU dynamic linker.  Since this was broken with cross compilers,
   11025   # most powerpc-linux boxes support dynamic linking these days and
   11026   # people can always --disable-shared, the test was removed, and we
   11027   # assume the GNU/Linux dynamic linker is in use.
   11028   dynamic_linker='GNU/Linux ld.so'
   11029   ;;
   11030 
   11031 netbsd*)
   11032   version_type=sunos
   11033   need_lib_prefix=no
   11034   need_version=no
   11035   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11036     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11037     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11038     dynamic_linker='NetBSD (a.out) ld.so'
   11039   else
   11040     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   11041     soname_spec='${libname}${release}${shared_ext}$major'
   11042     dynamic_linker='NetBSD ld.elf_so'
   11043   fi
   11044   shlibpath_var=LD_LIBRARY_PATH
   11045   shlibpath_overrides_runpath=yes
   11046   hardcode_into_libs=yes
   11047   ;;
   11048 
   11049 newsos6)
   11050   version_type=linux # correct to gnu/linux during the next big refactor
   11051   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11052   shlibpath_var=LD_LIBRARY_PATH
   11053   shlibpath_overrides_runpath=yes
   11054   ;;
   11055 
   11056 *nto* | *qnx*)
   11057   version_type=qnx
   11058   need_lib_prefix=no
   11059   need_version=no
   11060   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11061   soname_spec='${libname}${release}${shared_ext}$major'
   11062   shlibpath_var=LD_LIBRARY_PATH
   11063   shlibpath_overrides_runpath=no
   11064   hardcode_into_libs=yes
   11065   dynamic_linker='ldqnx.so'
   11066   ;;
   11067 
   11068 openbsd*)
   11069   version_type=sunos
   11070   sys_lib_dlsearch_path_spec="/usr/lib"
   11071   need_lib_prefix=no
   11072   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   11073   case $host_os in
   11074     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   11075     *)				need_version=no  ;;
   11076   esac
   11077   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11078   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11079   shlibpath_var=LD_LIBRARY_PATH
   11080   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11081     case $host_os in
   11082       openbsd2.[89] | openbsd2.[89].*)
   11083 	shlibpath_overrides_runpath=no
   11084 	;;
   11085       *)
   11086 	shlibpath_overrides_runpath=yes
   11087 	;;
   11088       esac
   11089   else
   11090     shlibpath_overrides_runpath=yes
   11091   fi
   11092   ;;
   11093 
   11094 os2*)
   11095   libname_spec='$name'
   11096   shrext_cmds=".dll"
   11097   need_lib_prefix=no
   11098   library_names_spec='$libname${shared_ext} $libname.a'
   11099   dynamic_linker='OS/2 ld.exe'
   11100   shlibpath_var=LIBPATH
   11101   ;;
   11102 
   11103 osf3* | osf4* | osf5*)
   11104   version_type=osf
   11105   need_lib_prefix=no
   11106   need_version=no
   11107   soname_spec='${libname}${release}${shared_ext}$major'
   11108   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11109   shlibpath_var=LD_LIBRARY_PATH
   11110   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11111   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   11112   ;;
   11113 
   11114 rdos*)
   11115   dynamic_linker=no
   11116   ;;
   11117 
   11118 solaris*)
   11119   version_type=linux # correct to gnu/linux during the next big refactor
   11120   need_lib_prefix=no
   11121   need_version=no
   11122   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11123   soname_spec='${libname}${release}${shared_ext}$major'
   11124   shlibpath_var=LD_LIBRARY_PATH
   11125   shlibpath_overrides_runpath=yes
   11126   hardcode_into_libs=yes
   11127   # ldd complains unless libraries are executable
   11128   postinstall_cmds='chmod +x $lib'
   11129   ;;
   11130 
   11131 sunos4*)
   11132   version_type=sunos
   11133   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11134   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11135   shlibpath_var=LD_LIBRARY_PATH
   11136   shlibpath_overrides_runpath=yes
   11137   if test "$with_gnu_ld" = yes; then
   11138     need_lib_prefix=no
   11139   fi
   11140   need_version=yes
   11141   ;;
   11142 
   11143 sysv4 | sysv4.3*)
   11144   version_type=linux # correct to gnu/linux during the next big refactor
   11145   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11146   soname_spec='${libname}${release}${shared_ext}$major'
   11147   shlibpath_var=LD_LIBRARY_PATH
   11148   case $host_vendor in
   11149     sni)
   11150       shlibpath_overrides_runpath=no
   11151       need_lib_prefix=no
   11152       runpath_var=LD_RUN_PATH
   11153       ;;
   11154     siemens)
   11155       need_lib_prefix=no
   11156       ;;
   11157     motorola)
   11158       need_lib_prefix=no
   11159       need_version=no
   11160       shlibpath_overrides_runpath=no
   11161       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11162       ;;
   11163   esac
   11164   ;;
   11165 
   11166 sysv4*MP*)
   11167   if test -d /usr/nec ;then
   11168     version_type=linux # correct to gnu/linux during the next big refactor
   11169     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   11170     soname_spec='$libname${shared_ext}.$major'
   11171     shlibpath_var=LD_LIBRARY_PATH
   11172   fi
   11173   ;;
   11174 
   11175 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11176   version_type=freebsd-elf
   11177   need_lib_prefix=no
   11178   need_version=no
   11179   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   11180   soname_spec='${libname}${release}${shared_ext}$major'
   11181   shlibpath_var=LD_LIBRARY_PATH
   11182   shlibpath_overrides_runpath=yes
   11183   hardcode_into_libs=yes
   11184   if test "$with_gnu_ld" = yes; then
   11185     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11186   else
   11187     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11188     case $host_os in
   11189       sco3.2v5*)
   11190         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11191 	;;
   11192     esac
   11193   fi
   11194   sys_lib_dlsearch_path_spec='/usr/lib'
   11195   ;;
   11196 
   11197 tpf*)
   11198   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11199   version_type=linux # correct to gnu/linux during the next big refactor
   11200   need_lib_prefix=no
   11201   need_version=no
   11202   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11203   shlibpath_var=LD_LIBRARY_PATH
   11204   shlibpath_overrides_runpath=no
   11205   hardcode_into_libs=yes
   11206   ;;
   11207 
   11208 uts4*)
   11209   version_type=linux # correct to gnu/linux during the next big refactor
   11210   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11211   soname_spec='${libname}${release}${shared_ext}$major'
   11212   shlibpath_var=LD_LIBRARY_PATH
   11213   ;;
   11214 
   11215 *)
   11216   dynamic_linker=no
   11217   ;;
   11218 esac
   11219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11220 $as_echo "$dynamic_linker" >&6; }
   11221 test "$dynamic_linker" = no && can_build_shared=no
   11222 
   11223 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11224 if test "$GCC" = yes; then
   11225   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11226 fi
   11227 
   11228 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   11229   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   11230 fi
   11231 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   11232   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   11233 fi
   11234 
   11235 
   11236 
   11237 
   11238 
   11239 
   11240 
   11241 
   11242 
   11243 
   11244 
   11245 
   11246 
   11247 
   11248 
   11249 
   11250 
   11251 
   11252 
   11253 
   11254 
   11255 
   11256 
   11257 
   11258 
   11259 
   11260 
   11261 
   11262 
   11263 
   11264 
   11265 
   11266 
   11267 
   11268 
   11269 
   11270 
   11271 
   11272 
   11273 
   11274 
   11275 
   11276 
   11277 
   11278 
   11279 
   11280 
   11281 
   11282 
   11283 
   11284 
   11285 
   11286 
   11287 
   11288 
   11289 
   11290 
   11291 
   11292 
   11293 
   11294 
   11295 
   11296 
   11297 
   11298 
   11299 
   11300 
   11301 
   11302 
   11303 
   11304 
   11305 
   11306 
   11307 
   11308 
   11309 
   11310 
   11311 
   11312 
   11313 
   11314 
   11315 
   11316 
   11317 
   11318 
   11319 
   11320 
   11321 
   11322 
   11323 
   11324 
   11325 
   11326   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   11327 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   11328 hardcode_action=
   11329 if test -n "$hardcode_libdir_flag_spec" ||
   11330    test -n "$runpath_var" ||
   11331    test "X$hardcode_automatic" = "Xyes" ; then
   11332 
   11333   # We can hardcode non-existent directories.
   11334   if test "$hardcode_direct" != no &&
   11335      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11336      # have to relink, otherwise we might link with an installed library
   11337      # when we should be linking with a yet-to-be-installed one
   11338      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   11339      test "$hardcode_minus_L" != no; then
   11340     # Linking always hardcodes the temporary library directory.
   11341     hardcode_action=relink
   11342   else
   11343     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   11344     hardcode_action=immediate
   11345   fi
   11346 else
   11347   # We cannot hardcode anything, or else we can only hardcode existing
   11348   # directories.
   11349   hardcode_action=unsupported
   11350 fi
   11351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   11352 $as_echo "$hardcode_action" >&6; }
   11353 
   11354 if test "$hardcode_action" = relink ||
   11355    test "$inherit_rpath" = yes; then
   11356   # Fast installation is not supported
   11357   enable_fast_install=no
   11358 elif test "$shlibpath_overrides_runpath" = yes ||
   11359      test "$enable_shared" = no; then
   11360   # Fast installation is not necessary
   11361   enable_fast_install=needless
   11362 fi
   11363 
   11364 
   11365 
   11366 
   11367 
   11368 
   11369   if test "x$enable_dlopen" != xyes; then
   11370   enable_dlopen=unknown
   11371   enable_dlopen_self=unknown
   11372   enable_dlopen_self_static=unknown
   11373 else
   11374   lt_cv_dlopen=no
   11375   lt_cv_dlopen_libs=
   11376 
   11377   case $host_os in
   11378   beos*)
   11379     lt_cv_dlopen="load_add_on"
   11380     lt_cv_dlopen_libs=
   11381     lt_cv_dlopen_self=yes
   11382     ;;
   11383 
   11384   mingw* | pw32* | cegcc*)
   11385     lt_cv_dlopen="LoadLibrary"
   11386     lt_cv_dlopen_libs=
   11387     ;;
   11388 
   11389   cygwin*)
   11390     lt_cv_dlopen="dlopen"
   11391     lt_cv_dlopen_libs=
   11392     ;;
   11393 
   11394   darwin*)
   11395   # if libdl is installed we need to link against it
   11396     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11397 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11398 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11399   $as_echo_n "(cached) " >&6
   11400 else
   11401   ac_check_lib_save_LIBS=$LIBS
   11402 LIBS="-ldl  $LIBS"
   11403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11404 /* end confdefs.h.  */
   11405 
   11406 /* Override any GCC internal prototype to avoid an error.
   11407    Use char because int might match the return type of a GCC
   11408    builtin and then its argument prototype would still apply.  */
   11409 #ifdef __cplusplus
   11410 extern "C"
   11411 #endif
   11412 char dlopen ();
   11413 int
   11414 main ()
   11415 {
   11416 return dlopen ();
   11417   ;
   11418   return 0;
   11419 }
   11420 _ACEOF
   11421 if ac_fn_c_try_link "$LINENO"; then :
   11422   ac_cv_lib_dl_dlopen=yes
   11423 else
   11424   ac_cv_lib_dl_dlopen=no
   11425 fi
   11426 rm -f core conftest.err conftest.$ac_objext \
   11427     conftest$ac_exeext conftest.$ac_ext
   11428 LIBS=$ac_check_lib_save_LIBS
   11429 fi
   11430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11431 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11432 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11433   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11434 else
   11435 
   11436     lt_cv_dlopen="dyld"
   11437     lt_cv_dlopen_libs=
   11438     lt_cv_dlopen_self=yes
   11439 
   11440 fi
   11441 
   11442     ;;
   11443 
   11444   *)
   11445     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   11446 if test "x$ac_cv_func_shl_load" = xyes; then :
   11447   lt_cv_dlopen="shl_load"
   11448 else
   11449   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   11450 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11451 if ${ac_cv_lib_dld_shl_load+:} false; then :
   11452   $as_echo_n "(cached) " >&6
   11453 else
   11454   ac_check_lib_save_LIBS=$LIBS
   11455 LIBS="-ldld  $LIBS"
   11456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11457 /* end confdefs.h.  */
   11458 
   11459 /* Override any GCC internal prototype to avoid an error.
   11460    Use char because int might match the return type of a GCC
   11461    builtin and then its argument prototype would still apply.  */
   11462 #ifdef __cplusplus
   11463 extern "C"
   11464 #endif
   11465 char shl_load ();
   11466 int
   11467 main ()
   11468 {
   11469 return shl_load ();
   11470   ;
   11471   return 0;
   11472 }
   11473 _ACEOF
   11474 if ac_fn_c_try_link "$LINENO"; then :
   11475   ac_cv_lib_dld_shl_load=yes
   11476 else
   11477   ac_cv_lib_dld_shl_load=no
   11478 fi
   11479 rm -f core conftest.err conftest.$ac_objext \
   11480     conftest$ac_exeext conftest.$ac_ext
   11481 LIBS=$ac_check_lib_save_LIBS
   11482 fi
   11483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   11484 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11485 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   11486   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   11487 else
   11488   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   11489 if test "x$ac_cv_func_dlopen" = xyes; then :
   11490   lt_cv_dlopen="dlopen"
   11491 else
   11492   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11493 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11494 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11495   $as_echo_n "(cached) " >&6
   11496 else
   11497   ac_check_lib_save_LIBS=$LIBS
   11498 LIBS="-ldl  $LIBS"
   11499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11500 /* end confdefs.h.  */
   11501 
   11502 /* Override any GCC internal prototype to avoid an error.
   11503    Use char because int might match the return type of a GCC
   11504    builtin and then its argument prototype would still apply.  */
   11505 #ifdef __cplusplus
   11506 extern "C"
   11507 #endif
   11508 char dlopen ();
   11509 int
   11510 main ()
   11511 {
   11512 return dlopen ();
   11513   ;
   11514   return 0;
   11515 }
   11516 _ACEOF
   11517 if ac_fn_c_try_link "$LINENO"; then :
   11518   ac_cv_lib_dl_dlopen=yes
   11519 else
   11520   ac_cv_lib_dl_dlopen=no
   11521 fi
   11522 rm -f core conftest.err conftest.$ac_objext \
   11523     conftest$ac_exeext conftest.$ac_ext
   11524 LIBS=$ac_check_lib_save_LIBS
   11525 fi
   11526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11527 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11528 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11529   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11530 else
   11531   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11532 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11533 if ${ac_cv_lib_svld_dlopen+:} false; then :
   11534   $as_echo_n "(cached) " >&6
   11535 else
   11536   ac_check_lib_save_LIBS=$LIBS
   11537 LIBS="-lsvld  $LIBS"
   11538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11539 /* end confdefs.h.  */
   11540 
   11541 /* Override any GCC internal prototype to avoid an error.
   11542    Use char because int might match the return type of a GCC
   11543    builtin and then its argument prototype would still apply.  */
   11544 #ifdef __cplusplus
   11545 extern "C"
   11546 #endif
   11547 char dlopen ();
   11548 int
   11549 main ()
   11550 {
   11551 return dlopen ();
   11552   ;
   11553   return 0;
   11554 }
   11555 _ACEOF
   11556 if ac_fn_c_try_link "$LINENO"; then :
   11557   ac_cv_lib_svld_dlopen=yes
   11558 else
   11559   ac_cv_lib_svld_dlopen=no
   11560 fi
   11561 rm -f core conftest.err conftest.$ac_objext \
   11562     conftest$ac_exeext conftest.$ac_ext
   11563 LIBS=$ac_check_lib_save_LIBS
   11564 fi
   11565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11566 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11567 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11568   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11569 else
   11570   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11571 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11572 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11573   $as_echo_n "(cached) " >&6
   11574 else
   11575   ac_check_lib_save_LIBS=$LIBS
   11576 LIBS="-ldld  $LIBS"
   11577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11578 /* end confdefs.h.  */
   11579 
   11580 /* Override any GCC internal prototype to avoid an error.
   11581    Use char because int might match the return type of a GCC
   11582    builtin and then its argument prototype would still apply.  */
   11583 #ifdef __cplusplus
   11584 extern "C"
   11585 #endif
   11586 char dld_link ();
   11587 int
   11588 main ()
   11589 {
   11590 return dld_link ();
   11591   ;
   11592   return 0;
   11593 }
   11594 _ACEOF
   11595 if ac_fn_c_try_link "$LINENO"; then :
   11596   ac_cv_lib_dld_dld_link=yes
   11597 else
   11598   ac_cv_lib_dld_dld_link=no
   11599 fi
   11600 rm -f core conftest.err conftest.$ac_objext \
   11601     conftest$ac_exeext conftest.$ac_ext
   11602 LIBS=$ac_check_lib_save_LIBS
   11603 fi
   11604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11605 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11606 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11607   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11608 fi
   11609 
   11610 
   11611 fi
   11612 
   11613 
   11614 fi
   11615 
   11616 
   11617 fi
   11618 
   11619 
   11620 fi
   11621 
   11622 
   11623 fi
   11624 
   11625     ;;
   11626   esac
   11627 
   11628   if test "x$lt_cv_dlopen" != xno; then
   11629     enable_dlopen=yes
   11630   else
   11631     enable_dlopen=no
   11632   fi
   11633 
   11634   case $lt_cv_dlopen in
   11635   dlopen)
   11636     save_CPPFLAGS="$CPPFLAGS"
   11637     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11638 
   11639     save_LDFLAGS="$LDFLAGS"
   11640     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11641 
   11642     save_LIBS="$LIBS"
   11643     LIBS="$lt_cv_dlopen_libs $LIBS"
   11644 
   11645     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11646 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11647 if ${lt_cv_dlopen_self+:} false; then :
   11648   $as_echo_n "(cached) " >&6
   11649 else
   11650   	  if test "$cross_compiling" = yes; then :
   11651   lt_cv_dlopen_self=cross
   11652 else
   11653   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11654   lt_status=$lt_dlunknown
   11655   cat > conftest.$ac_ext <<_LT_EOF
   11656 #line $LINENO "configure"
   11657 #include "confdefs.h"
   11658 
   11659 #if HAVE_DLFCN_H
   11660 #include <dlfcn.h>
   11661 #endif
   11662 
   11663 #include <stdio.h>
   11664 
   11665 #ifdef RTLD_GLOBAL
   11666 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11667 #else
   11668 #  ifdef DL_GLOBAL
   11669 #    define LT_DLGLOBAL		DL_GLOBAL
   11670 #  else
   11671 #    define LT_DLGLOBAL		0
   11672 #  endif
   11673 #endif
   11674 
   11675 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11676    find out it does not work in some platform. */
   11677 #ifndef LT_DLLAZY_OR_NOW
   11678 #  ifdef RTLD_LAZY
   11679 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11680 #  else
   11681 #    ifdef DL_LAZY
   11682 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11683 #    else
   11684 #      ifdef RTLD_NOW
   11685 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11686 #      else
   11687 #        ifdef DL_NOW
   11688 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11689 #        else
   11690 #          define LT_DLLAZY_OR_NOW	0
   11691 #        endif
   11692 #      endif
   11693 #    endif
   11694 #  endif
   11695 #endif
   11696 
   11697 /* When -fvisbility=hidden is used, assume the code has been annotated
   11698    correspondingly for the symbols needed.  */
   11699 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11700 int fnord () __attribute__((visibility("default")));
   11701 #endif
   11702 
   11703 int fnord () { return 42; }
   11704 int main ()
   11705 {
   11706   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11707   int status = $lt_dlunknown;
   11708 
   11709   if (self)
   11710     {
   11711       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11712       else
   11713         {
   11714 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11715           else puts (dlerror ());
   11716 	}
   11717       /* dlclose (self); */
   11718     }
   11719   else
   11720     puts (dlerror ());
   11721 
   11722   return status;
   11723 }
   11724 _LT_EOF
   11725   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11726   (eval $ac_link) 2>&5
   11727   ac_status=$?
   11728   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11729   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11730     (./conftest; exit; ) >&5 2>/dev/null
   11731     lt_status=$?
   11732     case x$lt_status in
   11733       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11734       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11735       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11736     esac
   11737   else :
   11738     # compilation failed
   11739     lt_cv_dlopen_self=no
   11740   fi
   11741 fi
   11742 rm -fr conftest*
   11743 
   11744 
   11745 fi
   11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11747 $as_echo "$lt_cv_dlopen_self" >&6; }
   11748 
   11749     if test "x$lt_cv_dlopen_self" = xyes; then
   11750       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11751       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11752 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11753 if ${lt_cv_dlopen_self_static+:} false; then :
   11754   $as_echo_n "(cached) " >&6
   11755 else
   11756   	  if test "$cross_compiling" = yes; then :
   11757   lt_cv_dlopen_self_static=cross
   11758 else
   11759   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11760   lt_status=$lt_dlunknown
   11761   cat > conftest.$ac_ext <<_LT_EOF
   11762 #line $LINENO "configure"
   11763 #include "confdefs.h"
   11764 
   11765 #if HAVE_DLFCN_H
   11766 #include <dlfcn.h>
   11767 #endif
   11768 
   11769 #include <stdio.h>
   11770 
   11771 #ifdef RTLD_GLOBAL
   11772 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11773 #else
   11774 #  ifdef DL_GLOBAL
   11775 #    define LT_DLGLOBAL		DL_GLOBAL
   11776 #  else
   11777 #    define LT_DLGLOBAL		0
   11778 #  endif
   11779 #endif
   11780 
   11781 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11782    find out it does not work in some platform. */
   11783 #ifndef LT_DLLAZY_OR_NOW
   11784 #  ifdef RTLD_LAZY
   11785 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11786 #  else
   11787 #    ifdef DL_LAZY
   11788 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11789 #    else
   11790 #      ifdef RTLD_NOW
   11791 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11792 #      else
   11793 #        ifdef DL_NOW
   11794 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11795 #        else
   11796 #          define LT_DLLAZY_OR_NOW	0
   11797 #        endif
   11798 #      endif
   11799 #    endif
   11800 #  endif
   11801 #endif
   11802 
   11803 /* When -fvisbility=hidden is used, assume the code has been annotated
   11804    correspondingly for the symbols needed.  */
   11805 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11806 int fnord () __attribute__((visibility("default")));
   11807 #endif
   11808 
   11809 int fnord () { return 42; }
   11810 int main ()
   11811 {
   11812   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11813   int status = $lt_dlunknown;
   11814 
   11815   if (self)
   11816     {
   11817       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11818       else
   11819         {
   11820 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11821           else puts (dlerror ());
   11822 	}
   11823       /* dlclose (self); */
   11824     }
   11825   else
   11826     puts (dlerror ());
   11827 
   11828   return status;
   11829 }
   11830 _LT_EOF
   11831   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11832   (eval $ac_link) 2>&5
   11833   ac_status=$?
   11834   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11835   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11836     (./conftest; exit; ) >&5 2>/dev/null
   11837     lt_status=$?
   11838     case x$lt_status in
   11839       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11840       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11841       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11842     esac
   11843   else :
   11844     # compilation failed
   11845     lt_cv_dlopen_self_static=no
   11846   fi
   11847 fi
   11848 rm -fr conftest*
   11849 
   11850 
   11851 fi
   11852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11853 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11854     fi
   11855 
   11856     CPPFLAGS="$save_CPPFLAGS"
   11857     LDFLAGS="$save_LDFLAGS"
   11858     LIBS="$save_LIBS"
   11859     ;;
   11860   esac
   11861 
   11862   case $lt_cv_dlopen_self in
   11863   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11864   *) enable_dlopen_self=unknown ;;
   11865   esac
   11866 
   11867   case $lt_cv_dlopen_self_static in
   11868   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11869   *) enable_dlopen_self_static=unknown ;;
   11870   esac
   11871 fi
   11872 
   11873 
   11874 
   11875 
   11876 
   11877 
   11878 
   11879 
   11880 
   11881 
   11882 
   11883 
   11884 
   11885 
   11886 
   11887 
   11888 
   11889 striplib=
   11890 old_striplib=
   11891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11892 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11893 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11894   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11895   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11897 $as_echo "yes" >&6; }
   11898 else
   11899 # FIXME - insert some real tests, host_os isn't really good enough
   11900   case $host_os in
   11901   darwin*)
   11902     if test -n "$STRIP" ; then
   11903       striplib="$STRIP -x"
   11904       old_striplib="$STRIP -S"
   11905       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11906 $as_echo "yes" >&6; }
   11907     else
   11908       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11909 $as_echo "no" >&6; }
   11910     fi
   11911     ;;
   11912   *)
   11913     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11914 $as_echo "no" >&6; }
   11915     ;;
   11916   esac
   11917 fi
   11918 
   11919 
   11920 
   11921 
   11922 
   11923 
   11924 
   11925 
   11926 
   11927 
   11928 
   11929 
   11930   # Report which library types will actually be built
   11931   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11932 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11934 $as_echo "$can_build_shared" >&6; }
   11935 
   11936   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11937 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11938   test "$can_build_shared" = "no" && enable_shared=no
   11939 
   11940   # On AIX, shared libraries and static libraries use the same namespace, and
   11941   # are all built from PIC.
   11942   case $host_os in
   11943   aix3*)
   11944     test "$enable_shared" = yes && enable_static=no
   11945     if test -n "$RANLIB"; then
   11946       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11947       postinstall_cmds='$RANLIB $lib'
   11948     fi
   11949     ;;
   11950 
   11951   aix[4-9]*)
   11952     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11953       test "$enable_shared" = yes && enable_static=no
   11954     fi
   11955     ;;
   11956   esac
   11957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11958 $as_echo "$enable_shared" >&6; }
   11959 
   11960   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11961 $as_echo_n "checking whether to build static libraries... " >&6; }
   11962   # Make sure either enable_shared or enable_static is yes.
   11963   test "$enable_shared" = yes || enable_static=yes
   11964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11965 $as_echo "$enable_static" >&6; }
   11966 
   11967 
   11968 
   11969 
   11970 fi
   11971 ac_ext=c
   11972 ac_cpp='$CPP $CPPFLAGS'
   11973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11976 
   11977 CC="$lt_save_CC"
   11978 
   11979 
   11980 
   11981 
   11982 
   11983 
   11984 
   11985 
   11986 
   11987 
   11988 
   11989 
   11990 
   11991 
   11992 
   11993         ac_config_commands="$ac_config_commands libtool"
   11994 
   11995 
   11996 
   11997 
   11998 # Only expand once:
   11999 
   12000 
   12001 
   12002 # Require xorg-macros minimum of 1.16 for unit testing with memory checks
   12003 
   12004 
   12005 
   12006 
   12007 
   12008 
   12009 
   12010 
   12011 
   12012 
   12013 
   12014    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   12015 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   12016 if ${ac_cv_prog_cc_c99+:} false; then :
   12017   $as_echo_n "(cached) " >&6
   12018 else
   12019   ac_cv_prog_cc_c99=no
   12020 ac_save_CC=$CC
   12021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12022 /* end confdefs.h.  */
   12023 #include <stdarg.h>
   12024 #include <stdbool.h>
   12025 #include <stdlib.h>
   12026 #include <wchar.h>
   12027 #include <stdio.h>
   12028 
   12029 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   12030 #define debug(...) fprintf (stderr, __VA_ARGS__)
   12031 #define showlist(...) puts (#__VA_ARGS__)
   12032 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   12033 static void
   12034 test_varargs_macros (void)
   12035 {
   12036   int x = 1234;
   12037   int y = 5678;
   12038   debug ("Flag");
   12039   debug ("X = %d\n", x);
   12040   showlist (The first, second, and third items.);
   12041   report (x>y, "x is %d but y is %d", x, y);
   12042 }
   12043 
   12044 // Check long long types.
   12045 #define BIG64 18446744073709551615ull
   12046 #define BIG32 4294967295ul
   12047 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   12048 #if !BIG_OK
   12049   your preprocessor is broken;
   12050 #endif
   12051 #if BIG_OK
   12052 #else
   12053   your preprocessor is broken;
   12054 #endif
   12055 static long long int bignum = -9223372036854775807LL;
   12056 static unsigned long long int ubignum = BIG64;
   12057 
   12058 struct incomplete_array
   12059 {
   12060   int datasize;
   12061   double data[];
   12062 };
   12063 
   12064 struct named_init {
   12065   int number;
   12066   const wchar_t *name;
   12067   double average;
   12068 };
   12069 
   12070 typedef const char *ccp;
   12071 
   12072 static inline int
   12073 test_restrict (ccp restrict text)
   12074 {
   12075   // See if C++-style comments work.
   12076   // Iterate through items via the restricted pointer.
   12077   // Also check for declarations in for loops.
   12078   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   12079     continue;
   12080   return 0;
   12081 }
   12082 
   12083 // Check varargs and va_copy.
   12084 static void
   12085 test_varargs (const char *format, ...)
   12086 {
   12087   va_list args;
   12088   va_start (args, format);
   12089   va_list args_copy;
   12090   va_copy (args_copy, args);
   12091 
   12092   const char *str;
   12093   int number;
   12094   float fnumber;
   12095 
   12096   while (*format)
   12097     {
   12098       switch (*format++)
   12099 	{
   12100 	case 's': // string
   12101 	  str = va_arg (args_copy, const char *);
   12102 	  break;
   12103 	case 'd': // int
   12104 	  number = va_arg (args_copy, int);
   12105 	  break;
   12106 	case 'f': // float
   12107 	  fnumber = va_arg (args_copy, double);
   12108 	  break;
   12109 	default:
   12110 	  break;
   12111 	}
   12112     }
   12113   va_end (args_copy);
   12114   va_end (args);
   12115 }
   12116 
   12117 int
   12118 main ()
   12119 {
   12120 
   12121   // Check bool.
   12122   _Bool success = false;
   12123 
   12124   // Check restrict.
   12125   if (test_restrict ("String literal") == 0)
   12126     success = true;
   12127   char *restrict newvar = "Another string";
   12128 
   12129   // Check varargs.
   12130   test_varargs ("s, d' f .", "string", 65, 34.234);
   12131   test_varargs_macros ();
   12132 
   12133   // Check flexible array members.
   12134   struct incomplete_array *ia =
   12135     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   12136   ia->datasize = 10;
   12137   for (int i = 0; i < ia->datasize; ++i)
   12138     ia->data[i] = i * 1.234;
   12139 
   12140   // Check named initializers.
   12141   struct named_init ni = {
   12142     .number = 34,
   12143     .name = L"Test wide string",
   12144     .average = 543.34343,
   12145   };
   12146 
   12147   ni.number = 58;
   12148 
   12149   int dynamic_array[ni.number];
   12150   dynamic_array[ni.number - 1] = 543;
   12151 
   12152   // work around unused variable warnings
   12153   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   12154 	  || dynamic_array[ni.number - 1] != 543);
   12155 
   12156   ;
   12157   return 0;
   12158 }
   12159 _ACEOF
   12160 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   12161 do
   12162   CC="$ac_save_CC $ac_arg"
   12163   if ac_fn_c_try_compile "$LINENO"; then :
   12164   ac_cv_prog_cc_c99=$ac_arg
   12165 fi
   12166 rm -f core conftest.err conftest.$ac_objext
   12167   test "x$ac_cv_prog_cc_c99" != "xno" && break
   12168 done
   12169 rm -f conftest.$ac_ext
   12170 CC=$ac_save_CC
   12171 
   12172 fi
   12173 # AC_CACHE_VAL
   12174 case "x$ac_cv_prog_cc_c99" in
   12175   x)
   12176     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   12177 $as_echo "none needed" >&6; } ;;
   12178   xno)
   12179     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   12180 $as_echo "unsupported" >&6; } ;;
   12181   *)
   12182     CC="$CC $ac_cv_prog_cc_c99"
   12183     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   12184 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   12185 esac
   12186 if test "x$ac_cv_prog_cc_c99" != xno; then :
   12187 
   12188 fi
   12189 
   12190 
   12191 
   12192 
   12193 
   12194 
   12195 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   12196 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   12197   CLANGCC="yes"
   12198 else
   12199   CLANGCC="no"
   12200 fi
   12201 
   12202 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   12203 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   12204   INTELCC="yes"
   12205 else
   12206   INTELCC="no"
   12207 fi
   12208 
   12209 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   12210 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   12211   SUNCC="yes"
   12212 else
   12213   SUNCC="no"
   12214 fi
   12215 
   12216 
   12217 
   12218 
   12219 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   12220 	if test -n "$ac_tool_prefix"; then
   12221   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   12222 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   12223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12224 $as_echo_n "checking for $ac_word... " >&6; }
   12225 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   12226   $as_echo_n "(cached) " >&6
   12227 else
   12228   case $PKG_CONFIG in
   12229   [\\/]* | ?:[\\/]*)
   12230   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   12231   ;;
   12232   *)
   12233   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12234 for as_dir in $PATH
   12235 do
   12236   IFS=$as_save_IFS
   12237   test -z "$as_dir" && as_dir=.
   12238     for ac_exec_ext in '' $ac_executable_extensions; do
   12239   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12240     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12241     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12242     break 2
   12243   fi
   12244 done
   12245   done
   12246 IFS=$as_save_IFS
   12247 
   12248   ;;
   12249 esac
   12250 fi
   12251 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   12252 if test -n "$PKG_CONFIG"; then
   12253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   12254 $as_echo "$PKG_CONFIG" >&6; }
   12255 else
   12256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12257 $as_echo "no" >&6; }
   12258 fi
   12259 
   12260 
   12261 fi
   12262 if test -z "$ac_cv_path_PKG_CONFIG"; then
   12263   ac_pt_PKG_CONFIG=$PKG_CONFIG
   12264   # Extract the first word of "pkg-config", so it can be a program name with args.
   12265 set dummy pkg-config; ac_word=$2
   12266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12267 $as_echo_n "checking for $ac_word... " >&6; }
   12268 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   12269   $as_echo_n "(cached) " >&6
   12270 else
   12271   case $ac_pt_PKG_CONFIG in
   12272   [\\/]* | ?:[\\/]*)
   12273   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   12274   ;;
   12275   *)
   12276   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12277 for as_dir in $PATH
   12278 do
   12279   IFS=$as_save_IFS
   12280   test -z "$as_dir" && as_dir=.
   12281     for ac_exec_ext in '' $ac_executable_extensions; do
   12282   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12283     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12284     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12285     break 2
   12286   fi
   12287 done
   12288   done
   12289 IFS=$as_save_IFS
   12290 
   12291   ;;
   12292 esac
   12293 fi
   12294 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   12295 if test -n "$ac_pt_PKG_CONFIG"; then
   12296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   12297 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   12298 else
   12299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12300 $as_echo "no" >&6; }
   12301 fi
   12302 
   12303   if test "x$ac_pt_PKG_CONFIG" = x; then
   12304     PKG_CONFIG=""
   12305   else
   12306     case $cross_compiling:$ac_tool_warned in
   12307 yes:)
   12308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12309 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12310 ac_tool_warned=yes ;;
   12311 esac
   12312     PKG_CONFIG=$ac_pt_PKG_CONFIG
   12313   fi
   12314 else
   12315   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   12316 fi
   12317 
   12318 fi
   12319 if test -n "$PKG_CONFIG"; then
   12320 	_pkg_min_version=0.9.0
   12321 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   12322 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   12323 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   12324 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12325 $as_echo "yes" >&6; }
   12326 	else
   12327 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12328 $as_echo "no" >&6; }
   12329 		PKG_CONFIG=""
   12330 	fi
   12331 
   12332 fi
   12333 
   12334 
   12335 
   12336 
   12337 
   12338 # Check whether --enable-selective-werror was given.
   12339 if test "${enable_selective_werror+set}" = set; then :
   12340   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   12341 else
   12342   SELECTIVE_WERROR=yes
   12343 fi
   12344 
   12345 
   12346 
   12347 
   12348 
   12349 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   12350 if test "x$SUNCC" = "xyes"; then
   12351     BASE_CFLAGS="-v"
   12352 else
   12353     BASE_CFLAGS=""
   12354 fi
   12355 
   12356 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   12357 
   12358 
   12359 
   12360 
   12361 
   12362 
   12363 
   12364 
   12365 
   12366 
   12367 
   12368 
   12369 
   12370 xorg_testset_save_CFLAGS="$CFLAGS"
   12371 
   12372 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12373 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12374 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12375 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12376 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12377   $as_echo_n "(cached) " >&6
   12378 else
   12379   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12380 /* end confdefs.h.  */
   12381 int i;
   12382 _ACEOF
   12383 if ac_fn_c_try_compile "$LINENO"; then :
   12384   xorg_cv_cc_flag_unknown_warning_option=yes
   12385 else
   12386   xorg_cv_cc_flag_unknown_warning_option=no
   12387 fi
   12388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12389 fi
   12390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12391 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12392 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12393 	CFLAGS="$xorg_testset_save_CFLAGS"
   12394 fi
   12395 
   12396 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12397 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12398 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12399 	fi
   12400 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12401 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12402 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12403 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12404   $as_echo_n "(cached) " >&6
   12405 else
   12406   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12407 /* end confdefs.h.  */
   12408 int i;
   12409 _ACEOF
   12410 if ac_fn_c_try_compile "$LINENO"; then :
   12411   xorg_cv_cc_flag_unused_command_line_argument=yes
   12412 else
   12413   xorg_cv_cc_flag_unused_command_line_argument=no
   12414 fi
   12415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12416 fi
   12417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12418 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12419 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12420 	CFLAGS="$xorg_testset_save_CFLAGS"
   12421 fi
   12422 
   12423 found="no"
   12424 
   12425 	if test $found = "no" ; then
   12426 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12427 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12428 		fi
   12429 
   12430 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12431 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12432 		fi
   12433 
   12434 		CFLAGS="$CFLAGS -Wall"
   12435 
   12436 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   12437 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   12438 		cacheid=xorg_cv_cc_flag__Wall
   12439 		if eval \${$cacheid+:} false; then :
   12440   $as_echo_n "(cached) " >&6
   12441 else
   12442   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12443 /* end confdefs.h.  */
   12444 int i;
   12445 int
   12446 main ()
   12447 {
   12448 
   12449   ;
   12450   return 0;
   12451 }
   12452 _ACEOF
   12453 if ac_fn_c_try_link "$LINENO"; then :
   12454   eval $cacheid=yes
   12455 else
   12456   eval $cacheid=no
   12457 fi
   12458 rm -f core conftest.err conftest.$ac_objext \
   12459     conftest$ac_exeext conftest.$ac_ext
   12460 fi
   12461 
   12462 
   12463 		CFLAGS="$xorg_testset_save_CFLAGS"
   12464 
   12465 		eval supported=\$$cacheid
   12466 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12467 $as_echo "$supported" >&6; }
   12468 		if test "$supported" = "yes" ; then
   12469 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   12470 			found="yes"
   12471 		fi
   12472 	fi
   12473 
   12474 
   12475 
   12476 
   12477 
   12478 
   12479 
   12480 
   12481 
   12482 
   12483 
   12484 
   12485 
   12486 
   12487 
   12488 xorg_testset_save_CFLAGS="$CFLAGS"
   12489 
   12490 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12491 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12492 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12493 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12494 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12495   $as_echo_n "(cached) " >&6
   12496 else
   12497   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12498 /* end confdefs.h.  */
   12499 int i;
   12500 _ACEOF
   12501 if ac_fn_c_try_compile "$LINENO"; then :
   12502   xorg_cv_cc_flag_unknown_warning_option=yes
   12503 else
   12504   xorg_cv_cc_flag_unknown_warning_option=no
   12505 fi
   12506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12507 fi
   12508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12509 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12510 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12511 	CFLAGS="$xorg_testset_save_CFLAGS"
   12512 fi
   12513 
   12514 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12515 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12516 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12517 	fi
   12518 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12519 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12520 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12521 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12522   $as_echo_n "(cached) " >&6
   12523 else
   12524   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12525 /* end confdefs.h.  */
   12526 int i;
   12527 _ACEOF
   12528 if ac_fn_c_try_compile "$LINENO"; then :
   12529   xorg_cv_cc_flag_unused_command_line_argument=yes
   12530 else
   12531   xorg_cv_cc_flag_unused_command_line_argument=no
   12532 fi
   12533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12534 fi
   12535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12536 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12537 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12538 	CFLAGS="$xorg_testset_save_CFLAGS"
   12539 fi
   12540 
   12541 found="no"
   12542 
   12543 	if test $found = "no" ; then
   12544 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12545 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12546 		fi
   12547 
   12548 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12549 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12550 		fi
   12551 
   12552 		CFLAGS="$CFLAGS -Wpointer-arith"
   12553 
   12554 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   12555 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   12556 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   12557 		if eval \${$cacheid+:} false; then :
   12558   $as_echo_n "(cached) " >&6
   12559 else
   12560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12561 /* end confdefs.h.  */
   12562 int i;
   12563 int
   12564 main ()
   12565 {
   12566 
   12567   ;
   12568   return 0;
   12569 }
   12570 _ACEOF
   12571 if ac_fn_c_try_link "$LINENO"; then :
   12572   eval $cacheid=yes
   12573 else
   12574   eval $cacheid=no
   12575 fi
   12576 rm -f core conftest.err conftest.$ac_objext \
   12577     conftest$ac_exeext conftest.$ac_ext
   12578 fi
   12579 
   12580 
   12581 		CFLAGS="$xorg_testset_save_CFLAGS"
   12582 
   12583 		eval supported=\$$cacheid
   12584 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12585 $as_echo "$supported" >&6; }
   12586 		if test "$supported" = "yes" ; then
   12587 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   12588 			found="yes"
   12589 		fi
   12590 	fi
   12591 
   12592 
   12593 
   12594 
   12595 
   12596 
   12597 
   12598 
   12599 
   12600 
   12601 
   12602 
   12603 
   12604 
   12605 
   12606 xorg_testset_save_CFLAGS="$CFLAGS"
   12607 
   12608 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12609 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12610 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12611 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12612 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12613   $as_echo_n "(cached) " >&6
   12614 else
   12615   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12616 /* end confdefs.h.  */
   12617 int i;
   12618 _ACEOF
   12619 if ac_fn_c_try_compile "$LINENO"; then :
   12620   xorg_cv_cc_flag_unknown_warning_option=yes
   12621 else
   12622   xorg_cv_cc_flag_unknown_warning_option=no
   12623 fi
   12624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12625 fi
   12626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12627 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12628 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12629 	CFLAGS="$xorg_testset_save_CFLAGS"
   12630 fi
   12631 
   12632 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12633 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12634 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12635 	fi
   12636 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12637 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12638 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12639 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12640   $as_echo_n "(cached) " >&6
   12641 else
   12642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12643 /* end confdefs.h.  */
   12644 int i;
   12645 _ACEOF
   12646 if ac_fn_c_try_compile "$LINENO"; then :
   12647   xorg_cv_cc_flag_unused_command_line_argument=yes
   12648 else
   12649   xorg_cv_cc_flag_unused_command_line_argument=no
   12650 fi
   12651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12652 fi
   12653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12654 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12655 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12656 	CFLAGS="$xorg_testset_save_CFLAGS"
   12657 fi
   12658 
   12659 found="no"
   12660 
   12661 	if test $found = "no" ; then
   12662 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12663 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12664 		fi
   12665 
   12666 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12667 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12668 		fi
   12669 
   12670 		CFLAGS="$CFLAGS -Wmissing-declarations"
   12671 
   12672 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   12673 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   12674 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   12675 		if eval \${$cacheid+:} false; then :
   12676   $as_echo_n "(cached) " >&6
   12677 else
   12678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12679 /* end confdefs.h.  */
   12680 int i;
   12681 int
   12682 main ()
   12683 {
   12684 
   12685   ;
   12686   return 0;
   12687 }
   12688 _ACEOF
   12689 if ac_fn_c_try_link "$LINENO"; then :
   12690   eval $cacheid=yes
   12691 else
   12692   eval $cacheid=no
   12693 fi
   12694 rm -f core conftest.err conftest.$ac_objext \
   12695     conftest$ac_exeext conftest.$ac_ext
   12696 fi
   12697 
   12698 
   12699 		CFLAGS="$xorg_testset_save_CFLAGS"
   12700 
   12701 		eval supported=\$$cacheid
   12702 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12703 $as_echo "$supported" >&6; }
   12704 		if test "$supported" = "yes" ; then
   12705 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   12706 			found="yes"
   12707 		fi
   12708 	fi
   12709 
   12710 
   12711 
   12712 
   12713 
   12714 
   12715 
   12716 
   12717 
   12718 
   12719 
   12720 
   12721 
   12722 
   12723 
   12724 xorg_testset_save_CFLAGS="$CFLAGS"
   12725 
   12726 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12727 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12728 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12729 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12730 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12731   $as_echo_n "(cached) " >&6
   12732 else
   12733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12734 /* end confdefs.h.  */
   12735 int i;
   12736 _ACEOF
   12737 if ac_fn_c_try_compile "$LINENO"; then :
   12738   xorg_cv_cc_flag_unknown_warning_option=yes
   12739 else
   12740   xorg_cv_cc_flag_unknown_warning_option=no
   12741 fi
   12742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12743 fi
   12744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12745 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12746 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12747 	CFLAGS="$xorg_testset_save_CFLAGS"
   12748 fi
   12749 
   12750 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12751 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12752 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12753 	fi
   12754 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12755 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12756 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12757 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12758   $as_echo_n "(cached) " >&6
   12759 else
   12760   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12761 /* end confdefs.h.  */
   12762 int i;
   12763 _ACEOF
   12764 if ac_fn_c_try_compile "$LINENO"; then :
   12765   xorg_cv_cc_flag_unused_command_line_argument=yes
   12766 else
   12767   xorg_cv_cc_flag_unused_command_line_argument=no
   12768 fi
   12769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12770 fi
   12771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12772 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12773 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12774 	CFLAGS="$xorg_testset_save_CFLAGS"
   12775 fi
   12776 
   12777 found="no"
   12778 
   12779 	if test $found = "no" ; then
   12780 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12781 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12782 		fi
   12783 
   12784 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12785 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12786 		fi
   12787 
   12788 		CFLAGS="$CFLAGS -Wformat=2"
   12789 
   12790 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   12791 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   12792 		cacheid=xorg_cv_cc_flag__Wformat_2
   12793 		if eval \${$cacheid+:} false; then :
   12794   $as_echo_n "(cached) " >&6
   12795 else
   12796   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12797 /* end confdefs.h.  */
   12798 int i;
   12799 int
   12800 main ()
   12801 {
   12802 
   12803   ;
   12804   return 0;
   12805 }
   12806 _ACEOF
   12807 if ac_fn_c_try_link "$LINENO"; then :
   12808   eval $cacheid=yes
   12809 else
   12810   eval $cacheid=no
   12811 fi
   12812 rm -f core conftest.err conftest.$ac_objext \
   12813     conftest$ac_exeext conftest.$ac_ext
   12814 fi
   12815 
   12816 
   12817 		CFLAGS="$xorg_testset_save_CFLAGS"
   12818 
   12819 		eval supported=\$$cacheid
   12820 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12821 $as_echo "$supported" >&6; }
   12822 		if test "$supported" = "yes" ; then
   12823 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   12824 			found="yes"
   12825 		fi
   12826 	fi
   12827 
   12828 	if test $found = "no" ; then
   12829 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12830 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12831 		fi
   12832 
   12833 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12834 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12835 		fi
   12836 
   12837 		CFLAGS="$CFLAGS -Wformat"
   12838 
   12839 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   12840 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   12841 		cacheid=xorg_cv_cc_flag__Wformat
   12842 		if eval \${$cacheid+:} false; then :
   12843   $as_echo_n "(cached) " >&6
   12844 else
   12845   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12846 /* end confdefs.h.  */
   12847 int i;
   12848 int
   12849 main ()
   12850 {
   12851 
   12852   ;
   12853   return 0;
   12854 }
   12855 _ACEOF
   12856 if ac_fn_c_try_link "$LINENO"; then :
   12857   eval $cacheid=yes
   12858 else
   12859   eval $cacheid=no
   12860 fi
   12861 rm -f core conftest.err conftest.$ac_objext \
   12862     conftest$ac_exeext conftest.$ac_ext
   12863 fi
   12864 
   12865 
   12866 		CFLAGS="$xorg_testset_save_CFLAGS"
   12867 
   12868 		eval supported=\$$cacheid
   12869 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12870 $as_echo "$supported" >&6; }
   12871 		if test "$supported" = "yes" ; then
   12872 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   12873 			found="yes"
   12874 		fi
   12875 	fi
   12876 
   12877 
   12878 
   12879 
   12880 
   12881 
   12882 
   12883 
   12884 
   12885 
   12886 
   12887 
   12888 
   12889 
   12890 
   12891 
   12892 
   12893 xorg_testset_save_CFLAGS="$CFLAGS"
   12894 
   12895 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12896 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12897 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12898 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12899 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12900   $as_echo_n "(cached) " >&6
   12901 else
   12902   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12903 /* end confdefs.h.  */
   12904 int i;
   12905 _ACEOF
   12906 if ac_fn_c_try_compile "$LINENO"; then :
   12907   xorg_cv_cc_flag_unknown_warning_option=yes
   12908 else
   12909   xorg_cv_cc_flag_unknown_warning_option=no
   12910 fi
   12911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12912 fi
   12913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12914 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12915 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12916 	CFLAGS="$xorg_testset_save_CFLAGS"
   12917 fi
   12918 
   12919 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12920 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12921 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12922 	fi
   12923 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12924 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12925 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12926 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12927   $as_echo_n "(cached) " >&6
   12928 else
   12929   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12930 /* end confdefs.h.  */
   12931 int i;
   12932 _ACEOF
   12933 if ac_fn_c_try_compile "$LINENO"; then :
   12934   xorg_cv_cc_flag_unused_command_line_argument=yes
   12935 else
   12936   xorg_cv_cc_flag_unused_command_line_argument=no
   12937 fi
   12938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12939 fi
   12940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12941 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12942 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12943 	CFLAGS="$xorg_testset_save_CFLAGS"
   12944 fi
   12945 
   12946 found="no"
   12947 
   12948 	if test $found = "no" ; then
   12949 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12950 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12951 		fi
   12952 
   12953 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12954 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12955 		fi
   12956 
   12957 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   12958 
   12959 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   12960 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   12961 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   12962 		if eval \${$cacheid+:} false; then :
   12963   $as_echo_n "(cached) " >&6
   12964 else
   12965   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12966 /* end confdefs.h.  */
   12967 int i;
   12968 int
   12969 main ()
   12970 {
   12971 
   12972   ;
   12973   return 0;
   12974 }
   12975 _ACEOF
   12976 if ac_fn_c_try_link "$LINENO"; then :
   12977   eval $cacheid=yes
   12978 else
   12979   eval $cacheid=no
   12980 fi
   12981 rm -f core conftest.err conftest.$ac_objext \
   12982     conftest$ac_exeext conftest.$ac_ext
   12983 fi
   12984 
   12985 
   12986 		CFLAGS="$xorg_testset_save_CFLAGS"
   12987 
   12988 		eval supported=\$$cacheid
   12989 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12990 $as_echo "$supported" >&6; }
   12991 		if test "$supported" = "yes" ; then
   12992 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   12993 			found="yes"
   12994 		fi
   12995 	fi
   12996 
   12997 
   12998 
   12999 
   13000 
   13001 
   13002 
   13003 
   13004 
   13005 
   13006 
   13007 
   13008 
   13009 
   13010 
   13011 xorg_testset_save_CFLAGS="$CFLAGS"
   13012 
   13013 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13014 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13015 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13016 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13017 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13018   $as_echo_n "(cached) " >&6
   13019 else
   13020   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13021 /* end confdefs.h.  */
   13022 int i;
   13023 _ACEOF
   13024 if ac_fn_c_try_compile "$LINENO"; then :
   13025   xorg_cv_cc_flag_unknown_warning_option=yes
   13026 else
   13027   xorg_cv_cc_flag_unknown_warning_option=no
   13028 fi
   13029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13030 fi
   13031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13032 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13033 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13034 	CFLAGS="$xorg_testset_save_CFLAGS"
   13035 fi
   13036 
   13037 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13038 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13039 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13040 	fi
   13041 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13042 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13043 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13044 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13045   $as_echo_n "(cached) " >&6
   13046 else
   13047   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13048 /* end confdefs.h.  */
   13049 int i;
   13050 _ACEOF
   13051 if ac_fn_c_try_compile "$LINENO"; then :
   13052   xorg_cv_cc_flag_unused_command_line_argument=yes
   13053 else
   13054   xorg_cv_cc_flag_unused_command_line_argument=no
   13055 fi
   13056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13057 fi
   13058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13059 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13060 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13061 	CFLAGS="$xorg_testset_save_CFLAGS"
   13062 fi
   13063 
   13064 found="no"
   13065 
   13066 	if test $found = "no" ; then
   13067 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13068 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13069 		fi
   13070 
   13071 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13072 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13073 		fi
   13074 
   13075 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   13076 
   13077 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   13078 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   13079 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   13080 		if eval \${$cacheid+:} false; then :
   13081   $as_echo_n "(cached) " >&6
   13082 else
   13083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13084 /* end confdefs.h.  */
   13085 int i;
   13086 int
   13087 main ()
   13088 {
   13089 
   13090   ;
   13091   return 0;
   13092 }
   13093 _ACEOF
   13094 if ac_fn_c_try_link "$LINENO"; then :
   13095   eval $cacheid=yes
   13096 else
   13097   eval $cacheid=no
   13098 fi
   13099 rm -f core conftest.err conftest.$ac_objext \
   13100     conftest$ac_exeext conftest.$ac_ext
   13101 fi
   13102 
   13103 
   13104 		CFLAGS="$xorg_testset_save_CFLAGS"
   13105 
   13106 		eval supported=\$$cacheid
   13107 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13108 $as_echo "$supported" >&6; }
   13109 		if test "$supported" = "yes" ; then
   13110 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   13111 			found="yes"
   13112 		fi
   13113 	fi
   13114 
   13115 
   13116 
   13117 
   13118 
   13119 
   13120 
   13121 
   13122 
   13123 
   13124 
   13125 
   13126 
   13127 
   13128 
   13129 xorg_testset_save_CFLAGS="$CFLAGS"
   13130 
   13131 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13132 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13133 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13134 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13135 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13136   $as_echo_n "(cached) " >&6
   13137 else
   13138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13139 /* end confdefs.h.  */
   13140 int i;
   13141 _ACEOF
   13142 if ac_fn_c_try_compile "$LINENO"; then :
   13143   xorg_cv_cc_flag_unknown_warning_option=yes
   13144 else
   13145   xorg_cv_cc_flag_unknown_warning_option=no
   13146 fi
   13147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13148 fi
   13149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13150 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13151 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13152 	CFLAGS="$xorg_testset_save_CFLAGS"
   13153 fi
   13154 
   13155 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13156 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13157 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13158 	fi
   13159 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13160 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13161 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13162 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13163   $as_echo_n "(cached) " >&6
   13164 else
   13165   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13166 /* end confdefs.h.  */
   13167 int i;
   13168 _ACEOF
   13169 if ac_fn_c_try_compile "$LINENO"; then :
   13170   xorg_cv_cc_flag_unused_command_line_argument=yes
   13171 else
   13172   xorg_cv_cc_flag_unused_command_line_argument=no
   13173 fi
   13174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13175 fi
   13176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13177 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13178 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13179 	CFLAGS="$xorg_testset_save_CFLAGS"
   13180 fi
   13181 
   13182 found="no"
   13183 
   13184 	if test $found = "no" ; then
   13185 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13186 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13187 		fi
   13188 
   13189 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13190 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13191 		fi
   13192 
   13193 		CFLAGS="$CFLAGS -Wnested-externs"
   13194 
   13195 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   13196 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   13197 		cacheid=xorg_cv_cc_flag__Wnested_externs
   13198 		if eval \${$cacheid+:} false; then :
   13199   $as_echo_n "(cached) " >&6
   13200 else
   13201   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13202 /* end confdefs.h.  */
   13203 int i;
   13204 int
   13205 main ()
   13206 {
   13207 
   13208   ;
   13209   return 0;
   13210 }
   13211 _ACEOF
   13212 if ac_fn_c_try_link "$LINENO"; then :
   13213   eval $cacheid=yes
   13214 else
   13215   eval $cacheid=no
   13216 fi
   13217 rm -f core conftest.err conftest.$ac_objext \
   13218     conftest$ac_exeext conftest.$ac_ext
   13219 fi
   13220 
   13221 
   13222 		CFLAGS="$xorg_testset_save_CFLAGS"
   13223 
   13224 		eval supported=\$$cacheid
   13225 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13226 $as_echo "$supported" >&6; }
   13227 		if test "$supported" = "yes" ; then
   13228 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   13229 			found="yes"
   13230 		fi
   13231 	fi
   13232 
   13233 
   13234 
   13235 
   13236 
   13237 
   13238 
   13239 
   13240 
   13241 
   13242 
   13243 
   13244 
   13245 
   13246 
   13247 xorg_testset_save_CFLAGS="$CFLAGS"
   13248 
   13249 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13250 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13251 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13252 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13253 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13254   $as_echo_n "(cached) " >&6
   13255 else
   13256   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13257 /* end confdefs.h.  */
   13258 int i;
   13259 _ACEOF
   13260 if ac_fn_c_try_compile "$LINENO"; then :
   13261   xorg_cv_cc_flag_unknown_warning_option=yes
   13262 else
   13263   xorg_cv_cc_flag_unknown_warning_option=no
   13264 fi
   13265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13266 fi
   13267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13268 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13269 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13270 	CFLAGS="$xorg_testset_save_CFLAGS"
   13271 fi
   13272 
   13273 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13274 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13275 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13276 	fi
   13277 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13278 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13279 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13280 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13281   $as_echo_n "(cached) " >&6
   13282 else
   13283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13284 /* end confdefs.h.  */
   13285 int i;
   13286 _ACEOF
   13287 if ac_fn_c_try_compile "$LINENO"; then :
   13288   xorg_cv_cc_flag_unused_command_line_argument=yes
   13289 else
   13290   xorg_cv_cc_flag_unused_command_line_argument=no
   13291 fi
   13292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13293 fi
   13294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13295 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13296 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13297 	CFLAGS="$xorg_testset_save_CFLAGS"
   13298 fi
   13299 
   13300 found="no"
   13301 
   13302 	if test $found = "no" ; then
   13303 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13304 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13305 		fi
   13306 
   13307 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13308 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13309 		fi
   13310 
   13311 		CFLAGS="$CFLAGS -Wbad-function-cast"
   13312 
   13313 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   13314 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   13315 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   13316 		if eval \${$cacheid+:} false; then :
   13317   $as_echo_n "(cached) " >&6
   13318 else
   13319   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13320 /* end confdefs.h.  */
   13321 int i;
   13322 int
   13323 main ()
   13324 {
   13325 
   13326   ;
   13327   return 0;
   13328 }
   13329 _ACEOF
   13330 if ac_fn_c_try_link "$LINENO"; then :
   13331   eval $cacheid=yes
   13332 else
   13333   eval $cacheid=no
   13334 fi
   13335 rm -f core conftest.err conftest.$ac_objext \
   13336     conftest$ac_exeext conftest.$ac_ext
   13337 fi
   13338 
   13339 
   13340 		CFLAGS="$xorg_testset_save_CFLAGS"
   13341 
   13342 		eval supported=\$$cacheid
   13343 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13344 $as_echo "$supported" >&6; }
   13345 		if test "$supported" = "yes" ; then
   13346 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   13347 			found="yes"
   13348 		fi
   13349 	fi
   13350 
   13351 
   13352 
   13353 
   13354 
   13355 
   13356 
   13357 
   13358 
   13359 
   13360 
   13361 
   13362 
   13363 
   13364 
   13365 xorg_testset_save_CFLAGS="$CFLAGS"
   13366 
   13367 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13368 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13369 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13370 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13371 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13372   $as_echo_n "(cached) " >&6
   13373 else
   13374   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13375 /* end confdefs.h.  */
   13376 int i;
   13377 _ACEOF
   13378 if ac_fn_c_try_compile "$LINENO"; then :
   13379   xorg_cv_cc_flag_unknown_warning_option=yes
   13380 else
   13381   xorg_cv_cc_flag_unknown_warning_option=no
   13382 fi
   13383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13384 fi
   13385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13386 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13387 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13388 	CFLAGS="$xorg_testset_save_CFLAGS"
   13389 fi
   13390 
   13391 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13392 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13393 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13394 	fi
   13395 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13396 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13397 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13398 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13399   $as_echo_n "(cached) " >&6
   13400 else
   13401   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13402 /* end confdefs.h.  */
   13403 int i;
   13404 _ACEOF
   13405 if ac_fn_c_try_compile "$LINENO"; then :
   13406   xorg_cv_cc_flag_unused_command_line_argument=yes
   13407 else
   13408   xorg_cv_cc_flag_unused_command_line_argument=no
   13409 fi
   13410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13411 fi
   13412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13413 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13414 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13415 	CFLAGS="$xorg_testset_save_CFLAGS"
   13416 fi
   13417 
   13418 found="no"
   13419 
   13420 	if test $found = "no" ; then
   13421 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13422 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13423 		fi
   13424 
   13425 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13426 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13427 		fi
   13428 
   13429 		CFLAGS="$CFLAGS -Wold-style-definition"
   13430 
   13431 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   13432 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   13433 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   13434 		if eval \${$cacheid+:} false; then :
   13435   $as_echo_n "(cached) " >&6
   13436 else
   13437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13438 /* end confdefs.h.  */
   13439 int i;
   13440 int
   13441 main ()
   13442 {
   13443 
   13444   ;
   13445   return 0;
   13446 }
   13447 _ACEOF
   13448 if ac_fn_c_try_link "$LINENO"; then :
   13449   eval $cacheid=yes
   13450 else
   13451   eval $cacheid=no
   13452 fi
   13453 rm -f core conftest.err conftest.$ac_objext \
   13454     conftest$ac_exeext conftest.$ac_ext
   13455 fi
   13456 
   13457 
   13458 		CFLAGS="$xorg_testset_save_CFLAGS"
   13459 
   13460 		eval supported=\$$cacheid
   13461 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13462 $as_echo "$supported" >&6; }
   13463 		if test "$supported" = "yes" ; then
   13464 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   13465 			found="yes"
   13466 		fi
   13467 	fi
   13468 
   13469 	if test $found = "no" ; then
   13470 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13471 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13472 		fi
   13473 
   13474 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13475 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13476 		fi
   13477 
   13478 		CFLAGS="$CFLAGS -fd"
   13479 
   13480 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   13481 $as_echo_n "checking if $CC supports -fd... " >&6; }
   13482 		cacheid=xorg_cv_cc_flag__fd
   13483 		if eval \${$cacheid+:} false; then :
   13484   $as_echo_n "(cached) " >&6
   13485 else
   13486   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13487 /* end confdefs.h.  */
   13488 int i;
   13489 int
   13490 main ()
   13491 {
   13492 
   13493   ;
   13494   return 0;
   13495 }
   13496 _ACEOF
   13497 if ac_fn_c_try_link "$LINENO"; then :
   13498   eval $cacheid=yes
   13499 else
   13500   eval $cacheid=no
   13501 fi
   13502 rm -f core conftest.err conftest.$ac_objext \
   13503     conftest$ac_exeext conftest.$ac_ext
   13504 fi
   13505 
   13506 
   13507 		CFLAGS="$xorg_testset_save_CFLAGS"
   13508 
   13509 		eval supported=\$$cacheid
   13510 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13511 $as_echo "$supported" >&6; }
   13512 		if test "$supported" = "yes" ; then
   13513 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   13514 			found="yes"
   13515 		fi
   13516 	fi
   13517 
   13518 
   13519 
   13520 
   13521 
   13522 
   13523 
   13524 
   13525 
   13526 
   13527 
   13528 
   13529 
   13530 
   13531 
   13532 xorg_testset_save_CFLAGS="$CFLAGS"
   13533 
   13534 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13535 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13536 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13537 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13538 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13539   $as_echo_n "(cached) " >&6
   13540 else
   13541   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13542 /* end confdefs.h.  */
   13543 int i;
   13544 _ACEOF
   13545 if ac_fn_c_try_compile "$LINENO"; then :
   13546   xorg_cv_cc_flag_unknown_warning_option=yes
   13547 else
   13548   xorg_cv_cc_flag_unknown_warning_option=no
   13549 fi
   13550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13551 fi
   13552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13553 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13554 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13555 	CFLAGS="$xorg_testset_save_CFLAGS"
   13556 fi
   13557 
   13558 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13559 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13560 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13561 	fi
   13562 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13563 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13564 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13565 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13566   $as_echo_n "(cached) " >&6
   13567 else
   13568   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13569 /* end confdefs.h.  */
   13570 int i;
   13571 _ACEOF
   13572 if ac_fn_c_try_compile "$LINENO"; then :
   13573   xorg_cv_cc_flag_unused_command_line_argument=yes
   13574 else
   13575   xorg_cv_cc_flag_unused_command_line_argument=no
   13576 fi
   13577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13578 fi
   13579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13580 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13581 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13582 	CFLAGS="$xorg_testset_save_CFLAGS"
   13583 fi
   13584 
   13585 found="no"
   13586 
   13587 	if test $found = "no" ; then
   13588 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13589 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13590 		fi
   13591 
   13592 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13593 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13594 		fi
   13595 
   13596 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   13597 
   13598 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   13599 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   13600 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   13601 		if eval \${$cacheid+:} false; then :
   13602   $as_echo_n "(cached) " >&6
   13603 else
   13604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13605 /* end confdefs.h.  */
   13606 int i;
   13607 int
   13608 main ()
   13609 {
   13610 
   13611   ;
   13612   return 0;
   13613 }
   13614 _ACEOF
   13615 if ac_fn_c_try_link "$LINENO"; then :
   13616   eval $cacheid=yes
   13617 else
   13618   eval $cacheid=no
   13619 fi
   13620 rm -f core conftest.err conftest.$ac_objext \
   13621     conftest$ac_exeext conftest.$ac_ext
   13622 fi
   13623 
   13624 
   13625 		CFLAGS="$xorg_testset_save_CFLAGS"
   13626 
   13627 		eval supported=\$$cacheid
   13628 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13629 $as_echo "$supported" >&6; }
   13630 		if test "$supported" = "yes" ; then
   13631 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   13632 			found="yes"
   13633 		fi
   13634 	fi
   13635 
   13636 
   13637 
   13638 
   13639 
   13640 # This chunk adds additional warnings that could catch undesired effects.
   13641 
   13642 
   13643 
   13644 
   13645 
   13646 
   13647 
   13648 
   13649 
   13650 
   13651 
   13652 
   13653 
   13654 xorg_testset_save_CFLAGS="$CFLAGS"
   13655 
   13656 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13657 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13658 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13659 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13660 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13661   $as_echo_n "(cached) " >&6
   13662 else
   13663   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13664 /* end confdefs.h.  */
   13665 int i;
   13666 _ACEOF
   13667 if ac_fn_c_try_compile "$LINENO"; then :
   13668   xorg_cv_cc_flag_unknown_warning_option=yes
   13669 else
   13670   xorg_cv_cc_flag_unknown_warning_option=no
   13671 fi
   13672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13673 fi
   13674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13675 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13676 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13677 	CFLAGS="$xorg_testset_save_CFLAGS"
   13678 fi
   13679 
   13680 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13681 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13682 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13683 	fi
   13684 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13685 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13686 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13687 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13688   $as_echo_n "(cached) " >&6
   13689 else
   13690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13691 /* end confdefs.h.  */
   13692 int i;
   13693 _ACEOF
   13694 if ac_fn_c_try_compile "$LINENO"; then :
   13695   xorg_cv_cc_flag_unused_command_line_argument=yes
   13696 else
   13697   xorg_cv_cc_flag_unused_command_line_argument=no
   13698 fi
   13699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13700 fi
   13701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13702 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13703 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13704 	CFLAGS="$xorg_testset_save_CFLAGS"
   13705 fi
   13706 
   13707 found="no"
   13708 
   13709 	if test $found = "no" ; then
   13710 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13711 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13712 		fi
   13713 
   13714 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13715 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13716 		fi
   13717 
   13718 		CFLAGS="$CFLAGS -Wunused"
   13719 
   13720 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   13721 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   13722 		cacheid=xorg_cv_cc_flag__Wunused
   13723 		if eval \${$cacheid+:} false; then :
   13724   $as_echo_n "(cached) " >&6
   13725 else
   13726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13727 /* end confdefs.h.  */
   13728 int i;
   13729 int
   13730 main ()
   13731 {
   13732 
   13733   ;
   13734   return 0;
   13735 }
   13736 _ACEOF
   13737 if ac_fn_c_try_link "$LINENO"; then :
   13738   eval $cacheid=yes
   13739 else
   13740   eval $cacheid=no
   13741 fi
   13742 rm -f core conftest.err conftest.$ac_objext \
   13743     conftest$ac_exeext conftest.$ac_ext
   13744 fi
   13745 
   13746 
   13747 		CFLAGS="$xorg_testset_save_CFLAGS"
   13748 
   13749 		eval supported=\$$cacheid
   13750 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13751 $as_echo "$supported" >&6; }
   13752 		if test "$supported" = "yes" ; then
   13753 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   13754 			found="yes"
   13755 		fi
   13756 	fi
   13757 
   13758 
   13759 
   13760 
   13761 
   13762 
   13763 
   13764 
   13765 
   13766 
   13767 
   13768 
   13769 
   13770 
   13771 
   13772 xorg_testset_save_CFLAGS="$CFLAGS"
   13773 
   13774 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13775 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13776 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13777 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13778 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13779   $as_echo_n "(cached) " >&6
   13780 else
   13781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13782 /* end confdefs.h.  */
   13783 int i;
   13784 _ACEOF
   13785 if ac_fn_c_try_compile "$LINENO"; then :
   13786   xorg_cv_cc_flag_unknown_warning_option=yes
   13787 else
   13788   xorg_cv_cc_flag_unknown_warning_option=no
   13789 fi
   13790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13791 fi
   13792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13793 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13794 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13795 	CFLAGS="$xorg_testset_save_CFLAGS"
   13796 fi
   13797 
   13798 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13799 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13800 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13801 	fi
   13802 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13803 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13804 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13805 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13806   $as_echo_n "(cached) " >&6
   13807 else
   13808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13809 /* end confdefs.h.  */
   13810 int i;
   13811 _ACEOF
   13812 if ac_fn_c_try_compile "$LINENO"; then :
   13813   xorg_cv_cc_flag_unused_command_line_argument=yes
   13814 else
   13815   xorg_cv_cc_flag_unused_command_line_argument=no
   13816 fi
   13817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13818 fi
   13819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13820 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13821 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13822 	CFLAGS="$xorg_testset_save_CFLAGS"
   13823 fi
   13824 
   13825 found="no"
   13826 
   13827 	if test $found = "no" ; then
   13828 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13829 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13830 		fi
   13831 
   13832 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13833 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13834 		fi
   13835 
   13836 		CFLAGS="$CFLAGS -Wuninitialized"
   13837 
   13838 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   13839 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   13840 		cacheid=xorg_cv_cc_flag__Wuninitialized
   13841 		if eval \${$cacheid+:} false; then :
   13842   $as_echo_n "(cached) " >&6
   13843 else
   13844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13845 /* end confdefs.h.  */
   13846 int i;
   13847 int
   13848 main ()
   13849 {
   13850 
   13851   ;
   13852   return 0;
   13853 }
   13854 _ACEOF
   13855 if ac_fn_c_try_link "$LINENO"; then :
   13856   eval $cacheid=yes
   13857 else
   13858   eval $cacheid=no
   13859 fi
   13860 rm -f core conftest.err conftest.$ac_objext \
   13861     conftest$ac_exeext conftest.$ac_ext
   13862 fi
   13863 
   13864 
   13865 		CFLAGS="$xorg_testset_save_CFLAGS"
   13866 
   13867 		eval supported=\$$cacheid
   13868 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13869 $as_echo "$supported" >&6; }
   13870 		if test "$supported" = "yes" ; then
   13871 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   13872 			found="yes"
   13873 		fi
   13874 	fi
   13875 
   13876 
   13877 
   13878 
   13879 
   13880 
   13881 
   13882 
   13883 
   13884 
   13885 
   13886 
   13887 
   13888 
   13889 
   13890 xorg_testset_save_CFLAGS="$CFLAGS"
   13891 
   13892 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13893 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13894 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13895 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13896 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13897   $as_echo_n "(cached) " >&6
   13898 else
   13899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13900 /* end confdefs.h.  */
   13901 int i;
   13902 _ACEOF
   13903 if ac_fn_c_try_compile "$LINENO"; then :
   13904   xorg_cv_cc_flag_unknown_warning_option=yes
   13905 else
   13906   xorg_cv_cc_flag_unknown_warning_option=no
   13907 fi
   13908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13909 fi
   13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13911 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13912 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13913 	CFLAGS="$xorg_testset_save_CFLAGS"
   13914 fi
   13915 
   13916 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13917 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13918 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13919 	fi
   13920 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13921 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13922 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13923 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13924   $as_echo_n "(cached) " >&6
   13925 else
   13926   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13927 /* end confdefs.h.  */
   13928 int i;
   13929 _ACEOF
   13930 if ac_fn_c_try_compile "$LINENO"; then :
   13931   xorg_cv_cc_flag_unused_command_line_argument=yes
   13932 else
   13933   xorg_cv_cc_flag_unused_command_line_argument=no
   13934 fi
   13935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13936 fi
   13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13938 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13939 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13940 	CFLAGS="$xorg_testset_save_CFLAGS"
   13941 fi
   13942 
   13943 found="no"
   13944 
   13945 	if test $found = "no" ; then
   13946 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13947 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13948 		fi
   13949 
   13950 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13951 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13952 		fi
   13953 
   13954 		CFLAGS="$CFLAGS -Wshadow"
   13955 
   13956 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   13957 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   13958 		cacheid=xorg_cv_cc_flag__Wshadow
   13959 		if eval \${$cacheid+:} false; then :
   13960   $as_echo_n "(cached) " >&6
   13961 else
   13962   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13963 /* end confdefs.h.  */
   13964 int i;
   13965 int
   13966 main ()
   13967 {
   13968 
   13969   ;
   13970   return 0;
   13971 }
   13972 _ACEOF
   13973 if ac_fn_c_try_link "$LINENO"; then :
   13974   eval $cacheid=yes
   13975 else
   13976   eval $cacheid=no
   13977 fi
   13978 rm -f core conftest.err conftest.$ac_objext \
   13979     conftest$ac_exeext conftest.$ac_ext
   13980 fi
   13981 
   13982 
   13983 		CFLAGS="$xorg_testset_save_CFLAGS"
   13984 
   13985 		eval supported=\$$cacheid
   13986 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13987 $as_echo "$supported" >&6; }
   13988 		if test "$supported" = "yes" ; then
   13989 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   13990 			found="yes"
   13991 		fi
   13992 	fi
   13993 
   13994 
   13995 
   13996 
   13997 
   13998 
   13999 
   14000 
   14001 
   14002 
   14003 
   14004 
   14005 
   14006 
   14007 
   14008 xorg_testset_save_CFLAGS="$CFLAGS"
   14009 
   14010 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14011 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14012 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14013 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14014 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14015   $as_echo_n "(cached) " >&6
   14016 else
   14017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14018 /* end confdefs.h.  */
   14019 int i;
   14020 _ACEOF
   14021 if ac_fn_c_try_compile "$LINENO"; then :
   14022   xorg_cv_cc_flag_unknown_warning_option=yes
   14023 else
   14024   xorg_cv_cc_flag_unknown_warning_option=no
   14025 fi
   14026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14027 fi
   14028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14029 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14030 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14031 	CFLAGS="$xorg_testset_save_CFLAGS"
   14032 fi
   14033 
   14034 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14035 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14036 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14037 	fi
   14038 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14039 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14040 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14041 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14042   $as_echo_n "(cached) " >&6
   14043 else
   14044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14045 /* end confdefs.h.  */
   14046 int i;
   14047 _ACEOF
   14048 if ac_fn_c_try_compile "$LINENO"; then :
   14049   xorg_cv_cc_flag_unused_command_line_argument=yes
   14050 else
   14051   xorg_cv_cc_flag_unused_command_line_argument=no
   14052 fi
   14053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14054 fi
   14055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14056 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14057 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14058 	CFLAGS="$xorg_testset_save_CFLAGS"
   14059 fi
   14060 
   14061 found="no"
   14062 
   14063 	if test $found = "no" ; then
   14064 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14065 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14066 		fi
   14067 
   14068 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14069 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14070 		fi
   14071 
   14072 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   14073 
   14074 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   14075 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   14076 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   14077 		if eval \${$cacheid+:} false; then :
   14078   $as_echo_n "(cached) " >&6
   14079 else
   14080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14081 /* end confdefs.h.  */
   14082 int i;
   14083 int
   14084 main ()
   14085 {
   14086 
   14087   ;
   14088   return 0;
   14089 }
   14090 _ACEOF
   14091 if ac_fn_c_try_link "$LINENO"; then :
   14092   eval $cacheid=yes
   14093 else
   14094   eval $cacheid=no
   14095 fi
   14096 rm -f core conftest.err conftest.$ac_objext \
   14097     conftest$ac_exeext conftest.$ac_ext
   14098 fi
   14099 
   14100 
   14101 		CFLAGS="$xorg_testset_save_CFLAGS"
   14102 
   14103 		eval supported=\$$cacheid
   14104 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14105 $as_echo "$supported" >&6; }
   14106 		if test "$supported" = "yes" ; then
   14107 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   14108 			found="yes"
   14109 		fi
   14110 	fi
   14111 
   14112 
   14113 
   14114 
   14115 
   14116 
   14117 
   14118 
   14119 
   14120 
   14121 
   14122 
   14123 
   14124 
   14125 
   14126 xorg_testset_save_CFLAGS="$CFLAGS"
   14127 
   14128 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14129 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14130 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14131 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14132 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14133   $as_echo_n "(cached) " >&6
   14134 else
   14135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14136 /* end confdefs.h.  */
   14137 int i;
   14138 _ACEOF
   14139 if ac_fn_c_try_compile "$LINENO"; then :
   14140   xorg_cv_cc_flag_unknown_warning_option=yes
   14141 else
   14142   xorg_cv_cc_flag_unknown_warning_option=no
   14143 fi
   14144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14145 fi
   14146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14147 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14148 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14149 	CFLAGS="$xorg_testset_save_CFLAGS"
   14150 fi
   14151 
   14152 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14153 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14154 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14155 	fi
   14156 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14157 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14158 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14159 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14160   $as_echo_n "(cached) " >&6
   14161 else
   14162   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14163 /* end confdefs.h.  */
   14164 int i;
   14165 _ACEOF
   14166 if ac_fn_c_try_compile "$LINENO"; then :
   14167   xorg_cv_cc_flag_unused_command_line_argument=yes
   14168 else
   14169   xorg_cv_cc_flag_unused_command_line_argument=no
   14170 fi
   14171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14172 fi
   14173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14174 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14175 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14176 	CFLAGS="$xorg_testset_save_CFLAGS"
   14177 fi
   14178 
   14179 found="no"
   14180 
   14181 	if test $found = "no" ; then
   14182 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14183 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14184 		fi
   14185 
   14186 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14187 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14188 		fi
   14189 
   14190 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   14191 
   14192 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   14193 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   14194 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   14195 		if eval \${$cacheid+:} false; then :
   14196   $as_echo_n "(cached) " >&6
   14197 else
   14198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14199 /* end confdefs.h.  */
   14200 int i;
   14201 int
   14202 main ()
   14203 {
   14204 
   14205   ;
   14206   return 0;
   14207 }
   14208 _ACEOF
   14209 if ac_fn_c_try_link "$LINENO"; then :
   14210   eval $cacheid=yes
   14211 else
   14212   eval $cacheid=no
   14213 fi
   14214 rm -f core conftest.err conftest.$ac_objext \
   14215     conftest$ac_exeext conftest.$ac_ext
   14216 fi
   14217 
   14218 
   14219 		CFLAGS="$xorg_testset_save_CFLAGS"
   14220 
   14221 		eval supported=\$$cacheid
   14222 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14223 $as_echo "$supported" >&6; }
   14224 		if test "$supported" = "yes" ; then
   14225 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   14226 			found="yes"
   14227 		fi
   14228 	fi
   14229 
   14230 
   14231 
   14232 
   14233 
   14234 
   14235 
   14236 
   14237 
   14238 
   14239 
   14240 
   14241 
   14242 
   14243 
   14244 xorg_testset_save_CFLAGS="$CFLAGS"
   14245 
   14246 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14247 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14248 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14249 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14250 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14251   $as_echo_n "(cached) " >&6
   14252 else
   14253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14254 /* end confdefs.h.  */
   14255 int i;
   14256 _ACEOF
   14257 if ac_fn_c_try_compile "$LINENO"; then :
   14258   xorg_cv_cc_flag_unknown_warning_option=yes
   14259 else
   14260   xorg_cv_cc_flag_unknown_warning_option=no
   14261 fi
   14262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14263 fi
   14264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14265 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14266 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14267 	CFLAGS="$xorg_testset_save_CFLAGS"
   14268 fi
   14269 
   14270 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14271 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14272 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14273 	fi
   14274 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14275 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14276 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14277 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14278   $as_echo_n "(cached) " >&6
   14279 else
   14280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14281 /* end confdefs.h.  */
   14282 int i;
   14283 _ACEOF
   14284 if ac_fn_c_try_compile "$LINENO"; then :
   14285   xorg_cv_cc_flag_unused_command_line_argument=yes
   14286 else
   14287   xorg_cv_cc_flag_unused_command_line_argument=no
   14288 fi
   14289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14290 fi
   14291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14292 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14293 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14294 	CFLAGS="$xorg_testset_save_CFLAGS"
   14295 fi
   14296 
   14297 found="no"
   14298 
   14299 	if test $found = "no" ; then
   14300 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14301 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14302 		fi
   14303 
   14304 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14305 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14306 		fi
   14307 
   14308 		CFLAGS="$CFLAGS -Wredundant-decls"
   14309 
   14310 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   14311 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   14312 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   14313 		if eval \${$cacheid+:} false; then :
   14314   $as_echo_n "(cached) " >&6
   14315 else
   14316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14317 /* end confdefs.h.  */
   14318 int i;
   14319 int
   14320 main ()
   14321 {
   14322 
   14323   ;
   14324   return 0;
   14325 }
   14326 _ACEOF
   14327 if ac_fn_c_try_link "$LINENO"; then :
   14328   eval $cacheid=yes
   14329 else
   14330   eval $cacheid=no
   14331 fi
   14332 rm -f core conftest.err conftest.$ac_objext \
   14333     conftest$ac_exeext conftest.$ac_ext
   14334 fi
   14335 
   14336 
   14337 		CFLAGS="$xorg_testset_save_CFLAGS"
   14338 
   14339 		eval supported=\$$cacheid
   14340 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14341 $as_echo "$supported" >&6; }
   14342 		if test "$supported" = "yes" ; then
   14343 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   14344 			found="yes"
   14345 		fi
   14346 	fi
   14347 
   14348 
   14349 
   14350 
   14351 
   14352 
   14353 
   14354 
   14355 
   14356 
   14357 
   14358 
   14359 
   14360 
   14361 
   14362 xorg_testset_save_CFLAGS="$CFLAGS"
   14363 
   14364 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14365 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14366 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14367 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14368 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14369   $as_echo_n "(cached) " >&6
   14370 else
   14371   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14372 /* end confdefs.h.  */
   14373 int i;
   14374 _ACEOF
   14375 if ac_fn_c_try_compile "$LINENO"; then :
   14376   xorg_cv_cc_flag_unknown_warning_option=yes
   14377 else
   14378   xorg_cv_cc_flag_unknown_warning_option=no
   14379 fi
   14380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14381 fi
   14382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14383 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14384 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14385 	CFLAGS="$xorg_testset_save_CFLAGS"
   14386 fi
   14387 
   14388 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14389 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14390 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14391 	fi
   14392 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14393 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14394 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14395 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14396   $as_echo_n "(cached) " >&6
   14397 else
   14398   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14399 /* end confdefs.h.  */
   14400 int i;
   14401 _ACEOF
   14402 if ac_fn_c_try_compile "$LINENO"; then :
   14403   xorg_cv_cc_flag_unused_command_line_argument=yes
   14404 else
   14405   xorg_cv_cc_flag_unused_command_line_argument=no
   14406 fi
   14407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14408 fi
   14409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14410 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14411 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14412 	CFLAGS="$xorg_testset_save_CFLAGS"
   14413 fi
   14414 
   14415 found="no"
   14416 
   14417 	if test $found = "no" ; then
   14418 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14419 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14420 		fi
   14421 
   14422 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14423 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14424 		fi
   14425 
   14426 		CFLAGS="$CFLAGS -Wlogical-op"
   14427 
   14428 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   14429 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   14430 		cacheid=xorg_cv_cc_flag__Wlogical_op
   14431 		if eval \${$cacheid+:} false; then :
   14432   $as_echo_n "(cached) " >&6
   14433 else
   14434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14435 /* end confdefs.h.  */
   14436 int i;
   14437 int
   14438 main ()
   14439 {
   14440 
   14441   ;
   14442   return 0;
   14443 }
   14444 _ACEOF
   14445 if ac_fn_c_try_link "$LINENO"; then :
   14446   eval $cacheid=yes
   14447 else
   14448   eval $cacheid=no
   14449 fi
   14450 rm -f core conftest.err conftest.$ac_objext \
   14451     conftest$ac_exeext conftest.$ac_ext
   14452 fi
   14453 
   14454 
   14455 		CFLAGS="$xorg_testset_save_CFLAGS"
   14456 
   14457 		eval supported=\$$cacheid
   14458 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14459 $as_echo "$supported" >&6; }
   14460 		if test "$supported" = "yes" ; then
   14461 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   14462 			found="yes"
   14463 		fi
   14464 	fi
   14465 
   14466 
   14467 
   14468 # These are currently disabled because they are noisy.  They will be enabled
   14469 # in the future once the codebase is sufficiently modernized to silence
   14470 # them.  For now, I don't want them to drown out the other warnings.
   14471 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   14472 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   14473 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   14474 
   14475 # Turn some warnings into errors, so we don't accidently get successful builds
   14476 # when there are problems that should be fixed.
   14477 
   14478 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   14479 
   14480 
   14481 
   14482 
   14483 
   14484 
   14485 
   14486 
   14487 
   14488 
   14489 
   14490 
   14491 
   14492 xorg_testset_save_CFLAGS="$CFLAGS"
   14493 
   14494 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14495 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14496 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14497 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14498 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14499   $as_echo_n "(cached) " >&6
   14500 else
   14501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14502 /* end confdefs.h.  */
   14503 int i;
   14504 _ACEOF
   14505 if ac_fn_c_try_compile "$LINENO"; then :
   14506   xorg_cv_cc_flag_unknown_warning_option=yes
   14507 else
   14508   xorg_cv_cc_flag_unknown_warning_option=no
   14509 fi
   14510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14511 fi
   14512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14513 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14514 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14515 	CFLAGS="$xorg_testset_save_CFLAGS"
   14516 fi
   14517 
   14518 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14519 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14520 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14521 	fi
   14522 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14523 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14524 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14525 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14526   $as_echo_n "(cached) " >&6
   14527 else
   14528   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14529 /* end confdefs.h.  */
   14530 int i;
   14531 _ACEOF
   14532 if ac_fn_c_try_compile "$LINENO"; then :
   14533   xorg_cv_cc_flag_unused_command_line_argument=yes
   14534 else
   14535   xorg_cv_cc_flag_unused_command_line_argument=no
   14536 fi
   14537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14538 fi
   14539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14540 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14541 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14542 	CFLAGS="$xorg_testset_save_CFLAGS"
   14543 fi
   14544 
   14545 found="no"
   14546 
   14547 	if test $found = "no" ; then
   14548 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14549 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14550 		fi
   14551 
   14552 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14553 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14554 		fi
   14555 
   14556 		CFLAGS="$CFLAGS -Werror=implicit"
   14557 
   14558 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   14559 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   14560 		cacheid=xorg_cv_cc_flag__Werror_implicit
   14561 		if eval \${$cacheid+:} false; then :
   14562   $as_echo_n "(cached) " >&6
   14563 else
   14564   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14565 /* end confdefs.h.  */
   14566 int i;
   14567 int
   14568 main ()
   14569 {
   14570 
   14571   ;
   14572   return 0;
   14573 }
   14574 _ACEOF
   14575 if ac_fn_c_try_link "$LINENO"; then :
   14576   eval $cacheid=yes
   14577 else
   14578   eval $cacheid=no
   14579 fi
   14580 rm -f core conftest.err conftest.$ac_objext \
   14581     conftest$ac_exeext conftest.$ac_ext
   14582 fi
   14583 
   14584 
   14585 		CFLAGS="$xorg_testset_save_CFLAGS"
   14586 
   14587 		eval supported=\$$cacheid
   14588 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14589 $as_echo "$supported" >&6; }
   14590 		if test "$supported" = "yes" ; then
   14591 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   14592 			found="yes"
   14593 		fi
   14594 	fi
   14595 
   14596 	if test $found = "no" ; then
   14597 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14598 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14599 		fi
   14600 
   14601 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14602 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14603 		fi
   14604 
   14605 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14606 
   14607 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   14608 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   14609 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   14610 		if eval \${$cacheid+:} false; then :
   14611   $as_echo_n "(cached) " >&6
   14612 else
   14613   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14614 /* end confdefs.h.  */
   14615 int i;
   14616 int
   14617 main ()
   14618 {
   14619 
   14620   ;
   14621   return 0;
   14622 }
   14623 _ACEOF
   14624 if ac_fn_c_try_link "$LINENO"; then :
   14625   eval $cacheid=yes
   14626 else
   14627   eval $cacheid=no
   14628 fi
   14629 rm -f core conftest.err conftest.$ac_objext \
   14630     conftest$ac_exeext conftest.$ac_ext
   14631 fi
   14632 
   14633 
   14634 		CFLAGS="$xorg_testset_save_CFLAGS"
   14635 
   14636 		eval supported=\$$cacheid
   14637 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14638 $as_echo "$supported" >&6; }
   14639 		if test "$supported" = "yes" ; then
   14640 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14641 			found="yes"
   14642 		fi
   14643 	fi
   14644 
   14645 
   14646 
   14647 
   14648 
   14649 
   14650 
   14651 
   14652 
   14653 
   14654 
   14655 
   14656 
   14657 
   14658 
   14659 xorg_testset_save_CFLAGS="$CFLAGS"
   14660 
   14661 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14662 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14663 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14664 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14665 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14666   $as_echo_n "(cached) " >&6
   14667 else
   14668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14669 /* end confdefs.h.  */
   14670 int i;
   14671 _ACEOF
   14672 if ac_fn_c_try_compile "$LINENO"; then :
   14673   xorg_cv_cc_flag_unknown_warning_option=yes
   14674 else
   14675   xorg_cv_cc_flag_unknown_warning_option=no
   14676 fi
   14677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14678 fi
   14679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14680 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14681 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14682 	CFLAGS="$xorg_testset_save_CFLAGS"
   14683 fi
   14684 
   14685 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14686 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14687 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14688 	fi
   14689 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14690 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14691 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14692 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14693   $as_echo_n "(cached) " >&6
   14694 else
   14695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14696 /* end confdefs.h.  */
   14697 int i;
   14698 _ACEOF
   14699 if ac_fn_c_try_compile "$LINENO"; then :
   14700   xorg_cv_cc_flag_unused_command_line_argument=yes
   14701 else
   14702   xorg_cv_cc_flag_unused_command_line_argument=no
   14703 fi
   14704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14705 fi
   14706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14707 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14708 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14709 	CFLAGS="$xorg_testset_save_CFLAGS"
   14710 fi
   14711 
   14712 found="no"
   14713 
   14714 	if test $found = "no" ; then
   14715 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14716 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14717 		fi
   14718 
   14719 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14720 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14721 		fi
   14722 
   14723 		CFLAGS="$CFLAGS -Werror=nonnull"
   14724 
   14725 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   14726 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   14727 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   14728 		if eval \${$cacheid+:} false; then :
   14729   $as_echo_n "(cached) " >&6
   14730 else
   14731   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14732 /* end confdefs.h.  */
   14733 int i;
   14734 int
   14735 main ()
   14736 {
   14737 
   14738   ;
   14739   return 0;
   14740 }
   14741 _ACEOF
   14742 if ac_fn_c_try_link "$LINENO"; then :
   14743   eval $cacheid=yes
   14744 else
   14745   eval $cacheid=no
   14746 fi
   14747 rm -f core conftest.err conftest.$ac_objext \
   14748     conftest$ac_exeext conftest.$ac_ext
   14749 fi
   14750 
   14751 
   14752 		CFLAGS="$xorg_testset_save_CFLAGS"
   14753 
   14754 		eval supported=\$$cacheid
   14755 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14756 $as_echo "$supported" >&6; }
   14757 		if test "$supported" = "yes" ; then
   14758 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   14759 			found="yes"
   14760 		fi
   14761 	fi
   14762 
   14763 
   14764 
   14765 
   14766 
   14767 
   14768 
   14769 
   14770 
   14771 
   14772 
   14773 
   14774 
   14775 
   14776 
   14777 xorg_testset_save_CFLAGS="$CFLAGS"
   14778 
   14779 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14780 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14781 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14782 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14783 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14784   $as_echo_n "(cached) " >&6
   14785 else
   14786   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14787 /* end confdefs.h.  */
   14788 int i;
   14789 _ACEOF
   14790 if ac_fn_c_try_compile "$LINENO"; then :
   14791   xorg_cv_cc_flag_unknown_warning_option=yes
   14792 else
   14793   xorg_cv_cc_flag_unknown_warning_option=no
   14794 fi
   14795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14796 fi
   14797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14798 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14799 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14800 	CFLAGS="$xorg_testset_save_CFLAGS"
   14801 fi
   14802 
   14803 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14804 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14805 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14806 	fi
   14807 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14808 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14809 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14810 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14811   $as_echo_n "(cached) " >&6
   14812 else
   14813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14814 /* end confdefs.h.  */
   14815 int i;
   14816 _ACEOF
   14817 if ac_fn_c_try_compile "$LINENO"; then :
   14818   xorg_cv_cc_flag_unused_command_line_argument=yes
   14819 else
   14820   xorg_cv_cc_flag_unused_command_line_argument=no
   14821 fi
   14822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14823 fi
   14824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14825 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14826 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14827 	CFLAGS="$xorg_testset_save_CFLAGS"
   14828 fi
   14829 
   14830 found="no"
   14831 
   14832 	if test $found = "no" ; then
   14833 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14834 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14835 		fi
   14836 
   14837 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14838 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14839 		fi
   14840 
   14841 		CFLAGS="$CFLAGS -Werror=init-self"
   14842 
   14843 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   14844 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   14845 		cacheid=xorg_cv_cc_flag__Werror_init_self
   14846 		if eval \${$cacheid+:} false; then :
   14847   $as_echo_n "(cached) " >&6
   14848 else
   14849   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14850 /* end confdefs.h.  */
   14851 int i;
   14852 int
   14853 main ()
   14854 {
   14855 
   14856   ;
   14857   return 0;
   14858 }
   14859 _ACEOF
   14860 if ac_fn_c_try_link "$LINENO"; then :
   14861   eval $cacheid=yes
   14862 else
   14863   eval $cacheid=no
   14864 fi
   14865 rm -f core conftest.err conftest.$ac_objext \
   14866     conftest$ac_exeext conftest.$ac_ext
   14867 fi
   14868 
   14869 
   14870 		CFLAGS="$xorg_testset_save_CFLAGS"
   14871 
   14872 		eval supported=\$$cacheid
   14873 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14874 $as_echo "$supported" >&6; }
   14875 		if test "$supported" = "yes" ; then
   14876 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   14877 			found="yes"
   14878 		fi
   14879 	fi
   14880 
   14881 
   14882 
   14883 
   14884 
   14885 
   14886 
   14887 
   14888 
   14889 
   14890 
   14891 
   14892 
   14893 
   14894 
   14895 xorg_testset_save_CFLAGS="$CFLAGS"
   14896 
   14897 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14898 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14899 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14900 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14901 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14902   $as_echo_n "(cached) " >&6
   14903 else
   14904   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14905 /* end confdefs.h.  */
   14906 int i;
   14907 _ACEOF
   14908 if ac_fn_c_try_compile "$LINENO"; then :
   14909   xorg_cv_cc_flag_unknown_warning_option=yes
   14910 else
   14911   xorg_cv_cc_flag_unknown_warning_option=no
   14912 fi
   14913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14914 fi
   14915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14916 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14917 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14918 	CFLAGS="$xorg_testset_save_CFLAGS"
   14919 fi
   14920 
   14921 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14922 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14923 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14924 	fi
   14925 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14926 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14927 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14928 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14929   $as_echo_n "(cached) " >&6
   14930 else
   14931   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14932 /* end confdefs.h.  */
   14933 int i;
   14934 _ACEOF
   14935 if ac_fn_c_try_compile "$LINENO"; then :
   14936   xorg_cv_cc_flag_unused_command_line_argument=yes
   14937 else
   14938   xorg_cv_cc_flag_unused_command_line_argument=no
   14939 fi
   14940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14941 fi
   14942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14943 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14944 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14945 	CFLAGS="$xorg_testset_save_CFLAGS"
   14946 fi
   14947 
   14948 found="no"
   14949 
   14950 	if test $found = "no" ; then
   14951 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14952 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14953 		fi
   14954 
   14955 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14956 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14957 		fi
   14958 
   14959 		CFLAGS="$CFLAGS -Werror=main"
   14960 
   14961 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   14962 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   14963 		cacheid=xorg_cv_cc_flag__Werror_main
   14964 		if eval \${$cacheid+:} false; then :
   14965   $as_echo_n "(cached) " >&6
   14966 else
   14967   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14968 /* end confdefs.h.  */
   14969 int i;
   14970 int
   14971 main ()
   14972 {
   14973 
   14974   ;
   14975   return 0;
   14976 }
   14977 _ACEOF
   14978 if ac_fn_c_try_link "$LINENO"; then :
   14979   eval $cacheid=yes
   14980 else
   14981   eval $cacheid=no
   14982 fi
   14983 rm -f core conftest.err conftest.$ac_objext \
   14984     conftest$ac_exeext conftest.$ac_ext
   14985 fi
   14986 
   14987 
   14988 		CFLAGS="$xorg_testset_save_CFLAGS"
   14989 
   14990 		eval supported=\$$cacheid
   14991 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14992 $as_echo "$supported" >&6; }
   14993 		if test "$supported" = "yes" ; then
   14994 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   14995 			found="yes"
   14996 		fi
   14997 	fi
   14998 
   14999 
   15000 
   15001 
   15002 
   15003 
   15004 
   15005 
   15006 
   15007 
   15008 
   15009 
   15010 
   15011 
   15012 
   15013 xorg_testset_save_CFLAGS="$CFLAGS"
   15014 
   15015 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15016 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15017 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15018 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15019 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15020   $as_echo_n "(cached) " >&6
   15021 else
   15022   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15023 /* end confdefs.h.  */
   15024 int i;
   15025 _ACEOF
   15026 if ac_fn_c_try_compile "$LINENO"; then :
   15027   xorg_cv_cc_flag_unknown_warning_option=yes
   15028 else
   15029   xorg_cv_cc_flag_unknown_warning_option=no
   15030 fi
   15031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15032 fi
   15033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15034 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15035 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15036 	CFLAGS="$xorg_testset_save_CFLAGS"
   15037 fi
   15038 
   15039 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15040 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15041 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15042 	fi
   15043 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15044 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15045 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15046 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15047   $as_echo_n "(cached) " >&6
   15048 else
   15049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15050 /* end confdefs.h.  */
   15051 int i;
   15052 _ACEOF
   15053 if ac_fn_c_try_compile "$LINENO"; then :
   15054   xorg_cv_cc_flag_unused_command_line_argument=yes
   15055 else
   15056   xorg_cv_cc_flag_unused_command_line_argument=no
   15057 fi
   15058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15059 fi
   15060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15061 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15062 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15063 	CFLAGS="$xorg_testset_save_CFLAGS"
   15064 fi
   15065 
   15066 found="no"
   15067 
   15068 	if test $found = "no" ; then
   15069 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15070 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15071 		fi
   15072 
   15073 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15074 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15075 		fi
   15076 
   15077 		CFLAGS="$CFLAGS -Werror=missing-braces"
   15078 
   15079 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   15080 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   15081 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   15082 		if eval \${$cacheid+:} false; then :
   15083   $as_echo_n "(cached) " >&6
   15084 else
   15085   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15086 /* end confdefs.h.  */
   15087 int i;
   15088 int
   15089 main ()
   15090 {
   15091 
   15092   ;
   15093   return 0;
   15094 }
   15095 _ACEOF
   15096 if ac_fn_c_try_link "$LINENO"; then :
   15097   eval $cacheid=yes
   15098 else
   15099   eval $cacheid=no
   15100 fi
   15101 rm -f core conftest.err conftest.$ac_objext \
   15102     conftest$ac_exeext conftest.$ac_ext
   15103 fi
   15104 
   15105 
   15106 		CFLAGS="$xorg_testset_save_CFLAGS"
   15107 
   15108 		eval supported=\$$cacheid
   15109 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15110 $as_echo "$supported" >&6; }
   15111 		if test "$supported" = "yes" ; then
   15112 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   15113 			found="yes"
   15114 		fi
   15115 	fi
   15116 
   15117 
   15118 
   15119 
   15120 
   15121 
   15122 
   15123 
   15124 
   15125 
   15126 
   15127 
   15128 
   15129 
   15130 
   15131 xorg_testset_save_CFLAGS="$CFLAGS"
   15132 
   15133 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15134 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15135 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15136 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15137 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15138   $as_echo_n "(cached) " >&6
   15139 else
   15140   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15141 /* end confdefs.h.  */
   15142 int i;
   15143 _ACEOF
   15144 if ac_fn_c_try_compile "$LINENO"; then :
   15145   xorg_cv_cc_flag_unknown_warning_option=yes
   15146 else
   15147   xorg_cv_cc_flag_unknown_warning_option=no
   15148 fi
   15149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15150 fi
   15151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15152 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15153 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15154 	CFLAGS="$xorg_testset_save_CFLAGS"
   15155 fi
   15156 
   15157 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15158 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15159 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15160 	fi
   15161 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15162 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15163 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15164 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15165   $as_echo_n "(cached) " >&6
   15166 else
   15167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15168 /* end confdefs.h.  */
   15169 int i;
   15170 _ACEOF
   15171 if ac_fn_c_try_compile "$LINENO"; then :
   15172   xorg_cv_cc_flag_unused_command_line_argument=yes
   15173 else
   15174   xorg_cv_cc_flag_unused_command_line_argument=no
   15175 fi
   15176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15177 fi
   15178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15179 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15180 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15181 	CFLAGS="$xorg_testset_save_CFLAGS"
   15182 fi
   15183 
   15184 found="no"
   15185 
   15186 	if test $found = "no" ; then
   15187 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15188 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15189 		fi
   15190 
   15191 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15192 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15193 		fi
   15194 
   15195 		CFLAGS="$CFLAGS -Werror=sequence-point"
   15196 
   15197 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   15198 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   15199 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   15200 		if eval \${$cacheid+:} false; then :
   15201   $as_echo_n "(cached) " >&6
   15202 else
   15203   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15204 /* end confdefs.h.  */
   15205 int i;
   15206 int
   15207 main ()
   15208 {
   15209 
   15210   ;
   15211   return 0;
   15212 }
   15213 _ACEOF
   15214 if ac_fn_c_try_link "$LINENO"; then :
   15215   eval $cacheid=yes
   15216 else
   15217   eval $cacheid=no
   15218 fi
   15219 rm -f core conftest.err conftest.$ac_objext \
   15220     conftest$ac_exeext conftest.$ac_ext
   15221 fi
   15222 
   15223 
   15224 		CFLAGS="$xorg_testset_save_CFLAGS"
   15225 
   15226 		eval supported=\$$cacheid
   15227 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15228 $as_echo "$supported" >&6; }
   15229 		if test "$supported" = "yes" ; then
   15230 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   15231 			found="yes"
   15232 		fi
   15233 	fi
   15234 
   15235 
   15236 
   15237 
   15238 
   15239 
   15240 
   15241 
   15242 
   15243 
   15244 
   15245 
   15246 
   15247 
   15248 
   15249 xorg_testset_save_CFLAGS="$CFLAGS"
   15250 
   15251 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15252 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15253 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15254 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15255 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15256   $as_echo_n "(cached) " >&6
   15257 else
   15258   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15259 /* end confdefs.h.  */
   15260 int i;
   15261 _ACEOF
   15262 if ac_fn_c_try_compile "$LINENO"; then :
   15263   xorg_cv_cc_flag_unknown_warning_option=yes
   15264 else
   15265   xorg_cv_cc_flag_unknown_warning_option=no
   15266 fi
   15267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15268 fi
   15269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15270 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15271 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15272 	CFLAGS="$xorg_testset_save_CFLAGS"
   15273 fi
   15274 
   15275 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15276 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15277 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15278 	fi
   15279 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15280 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15281 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15282 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15283   $as_echo_n "(cached) " >&6
   15284 else
   15285   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15286 /* end confdefs.h.  */
   15287 int i;
   15288 _ACEOF
   15289 if ac_fn_c_try_compile "$LINENO"; then :
   15290   xorg_cv_cc_flag_unused_command_line_argument=yes
   15291 else
   15292   xorg_cv_cc_flag_unused_command_line_argument=no
   15293 fi
   15294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15295 fi
   15296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15297 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15298 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15299 	CFLAGS="$xorg_testset_save_CFLAGS"
   15300 fi
   15301 
   15302 found="no"
   15303 
   15304 	if test $found = "no" ; then
   15305 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15306 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15307 		fi
   15308 
   15309 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15310 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15311 		fi
   15312 
   15313 		CFLAGS="$CFLAGS -Werror=return-type"
   15314 
   15315 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   15316 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   15317 		cacheid=xorg_cv_cc_flag__Werror_return_type
   15318 		if eval \${$cacheid+:} false; then :
   15319   $as_echo_n "(cached) " >&6
   15320 else
   15321   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15322 /* end confdefs.h.  */
   15323 int i;
   15324 int
   15325 main ()
   15326 {
   15327 
   15328   ;
   15329   return 0;
   15330 }
   15331 _ACEOF
   15332 if ac_fn_c_try_link "$LINENO"; then :
   15333   eval $cacheid=yes
   15334 else
   15335   eval $cacheid=no
   15336 fi
   15337 rm -f core conftest.err conftest.$ac_objext \
   15338     conftest$ac_exeext conftest.$ac_ext
   15339 fi
   15340 
   15341 
   15342 		CFLAGS="$xorg_testset_save_CFLAGS"
   15343 
   15344 		eval supported=\$$cacheid
   15345 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15346 $as_echo "$supported" >&6; }
   15347 		if test "$supported" = "yes" ; then
   15348 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   15349 			found="yes"
   15350 		fi
   15351 	fi
   15352 
   15353 	if test $found = "no" ; then
   15354 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15355 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15356 		fi
   15357 
   15358 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15359 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15360 		fi
   15361 
   15362 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   15363 
   15364 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   15365 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   15366 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   15367 		if eval \${$cacheid+:} false; then :
   15368   $as_echo_n "(cached) " >&6
   15369 else
   15370   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15371 /* end confdefs.h.  */
   15372 int i;
   15373 int
   15374 main ()
   15375 {
   15376 
   15377   ;
   15378   return 0;
   15379 }
   15380 _ACEOF
   15381 if ac_fn_c_try_link "$LINENO"; then :
   15382   eval $cacheid=yes
   15383 else
   15384   eval $cacheid=no
   15385 fi
   15386 rm -f core conftest.err conftest.$ac_objext \
   15387     conftest$ac_exeext conftest.$ac_ext
   15388 fi
   15389 
   15390 
   15391 		CFLAGS="$xorg_testset_save_CFLAGS"
   15392 
   15393 		eval supported=\$$cacheid
   15394 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15395 $as_echo "$supported" >&6; }
   15396 		if test "$supported" = "yes" ; then
   15397 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   15398 			found="yes"
   15399 		fi
   15400 	fi
   15401 
   15402 
   15403 
   15404 
   15405 
   15406 
   15407 
   15408 
   15409 
   15410 
   15411 
   15412 
   15413 
   15414 
   15415 
   15416 xorg_testset_save_CFLAGS="$CFLAGS"
   15417 
   15418 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15419 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15420 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15421 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15422 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15423   $as_echo_n "(cached) " >&6
   15424 else
   15425   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15426 /* end confdefs.h.  */
   15427 int i;
   15428 _ACEOF
   15429 if ac_fn_c_try_compile "$LINENO"; then :
   15430   xorg_cv_cc_flag_unknown_warning_option=yes
   15431 else
   15432   xorg_cv_cc_flag_unknown_warning_option=no
   15433 fi
   15434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15435 fi
   15436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15437 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15438 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15439 	CFLAGS="$xorg_testset_save_CFLAGS"
   15440 fi
   15441 
   15442 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15443 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15444 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15445 	fi
   15446 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15447 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15448 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15449 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15450   $as_echo_n "(cached) " >&6
   15451 else
   15452   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15453 /* end confdefs.h.  */
   15454 int i;
   15455 _ACEOF
   15456 if ac_fn_c_try_compile "$LINENO"; then :
   15457   xorg_cv_cc_flag_unused_command_line_argument=yes
   15458 else
   15459   xorg_cv_cc_flag_unused_command_line_argument=no
   15460 fi
   15461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15462 fi
   15463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15464 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15465 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15466 	CFLAGS="$xorg_testset_save_CFLAGS"
   15467 fi
   15468 
   15469 found="no"
   15470 
   15471 	if test $found = "no" ; then
   15472 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15473 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15474 		fi
   15475 
   15476 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15477 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15478 		fi
   15479 
   15480 		CFLAGS="$CFLAGS -Werror=trigraphs"
   15481 
   15482 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   15483 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   15484 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   15485 		if eval \${$cacheid+:} false; then :
   15486   $as_echo_n "(cached) " >&6
   15487 else
   15488   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15489 /* end confdefs.h.  */
   15490 int i;
   15491 int
   15492 main ()
   15493 {
   15494 
   15495   ;
   15496   return 0;
   15497 }
   15498 _ACEOF
   15499 if ac_fn_c_try_link "$LINENO"; then :
   15500   eval $cacheid=yes
   15501 else
   15502   eval $cacheid=no
   15503 fi
   15504 rm -f core conftest.err conftest.$ac_objext \
   15505     conftest$ac_exeext conftest.$ac_ext
   15506 fi
   15507 
   15508 
   15509 		CFLAGS="$xorg_testset_save_CFLAGS"
   15510 
   15511 		eval supported=\$$cacheid
   15512 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15513 $as_echo "$supported" >&6; }
   15514 		if test "$supported" = "yes" ; then
   15515 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   15516 			found="yes"
   15517 		fi
   15518 	fi
   15519 
   15520 
   15521 
   15522 
   15523 
   15524 
   15525 
   15526 
   15527 
   15528 
   15529 
   15530 
   15531 
   15532 
   15533 
   15534 xorg_testset_save_CFLAGS="$CFLAGS"
   15535 
   15536 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15537 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15538 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15539 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15540 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15541   $as_echo_n "(cached) " >&6
   15542 else
   15543   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15544 /* end confdefs.h.  */
   15545 int i;
   15546 _ACEOF
   15547 if ac_fn_c_try_compile "$LINENO"; then :
   15548   xorg_cv_cc_flag_unknown_warning_option=yes
   15549 else
   15550   xorg_cv_cc_flag_unknown_warning_option=no
   15551 fi
   15552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15553 fi
   15554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15555 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15556 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15557 	CFLAGS="$xorg_testset_save_CFLAGS"
   15558 fi
   15559 
   15560 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15561 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15562 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15563 	fi
   15564 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15565 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15566 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15567 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15568   $as_echo_n "(cached) " >&6
   15569 else
   15570   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15571 /* end confdefs.h.  */
   15572 int i;
   15573 _ACEOF
   15574 if ac_fn_c_try_compile "$LINENO"; then :
   15575   xorg_cv_cc_flag_unused_command_line_argument=yes
   15576 else
   15577   xorg_cv_cc_flag_unused_command_line_argument=no
   15578 fi
   15579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15580 fi
   15581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15582 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15583 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15584 	CFLAGS="$xorg_testset_save_CFLAGS"
   15585 fi
   15586 
   15587 found="no"
   15588 
   15589 	if test $found = "no" ; then
   15590 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15591 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15592 		fi
   15593 
   15594 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15595 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15596 		fi
   15597 
   15598 		CFLAGS="$CFLAGS -Werror=array-bounds"
   15599 
   15600 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   15601 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   15602 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   15603 		if eval \${$cacheid+:} false; then :
   15604   $as_echo_n "(cached) " >&6
   15605 else
   15606   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15607 /* end confdefs.h.  */
   15608 int i;
   15609 int
   15610 main ()
   15611 {
   15612 
   15613   ;
   15614   return 0;
   15615 }
   15616 _ACEOF
   15617 if ac_fn_c_try_link "$LINENO"; then :
   15618   eval $cacheid=yes
   15619 else
   15620   eval $cacheid=no
   15621 fi
   15622 rm -f core conftest.err conftest.$ac_objext \
   15623     conftest$ac_exeext conftest.$ac_ext
   15624 fi
   15625 
   15626 
   15627 		CFLAGS="$xorg_testset_save_CFLAGS"
   15628 
   15629 		eval supported=\$$cacheid
   15630 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15631 $as_echo "$supported" >&6; }
   15632 		if test "$supported" = "yes" ; then
   15633 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   15634 			found="yes"
   15635 		fi
   15636 	fi
   15637 
   15638 
   15639 
   15640 
   15641 
   15642 
   15643 
   15644 
   15645 
   15646 
   15647 
   15648 
   15649 
   15650 
   15651 
   15652 xorg_testset_save_CFLAGS="$CFLAGS"
   15653 
   15654 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15655 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15656 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15657 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15658 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15659   $as_echo_n "(cached) " >&6
   15660 else
   15661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15662 /* end confdefs.h.  */
   15663 int i;
   15664 _ACEOF
   15665 if ac_fn_c_try_compile "$LINENO"; then :
   15666   xorg_cv_cc_flag_unknown_warning_option=yes
   15667 else
   15668   xorg_cv_cc_flag_unknown_warning_option=no
   15669 fi
   15670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15671 fi
   15672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15673 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15674 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15675 	CFLAGS="$xorg_testset_save_CFLAGS"
   15676 fi
   15677 
   15678 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15679 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15680 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15681 	fi
   15682 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15683 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15684 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15685 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15686   $as_echo_n "(cached) " >&6
   15687 else
   15688   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15689 /* end confdefs.h.  */
   15690 int i;
   15691 _ACEOF
   15692 if ac_fn_c_try_compile "$LINENO"; then :
   15693   xorg_cv_cc_flag_unused_command_line_argument=yes
   15694 else
   15695   xorg_cv_cc_flag_unused_command_line_argument=no
   15696 fi
   15697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15698 fi
   15699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15700 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15701 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15702 	CFLAGS="$xorg_testset_save_CFLAGS"
   15703 fi
   15704 
   15705 found="no"
   15706 
   15707 	if test $found = "no" ; then
   15708 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15709 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15710 		fi
   15711 
   15712 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15713 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15714 		fi
   15715 
   15716 		CFLAGS="$CFLAGS -Werror=write-strings"
   15717 
   15718 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   15719 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   15720 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   15721 		if eval \${$cacheid+:} false; then :
   15722   $as_echo_n "(cached) " >&6
   15723 else
   15724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15725 /* end confdefs.h.  */
   15726 int i;
   15727 int
   15728 main ()
   15729 {
   15730 
   15731   ;
   15732   return 0;
   15733 }
   15734 _ACEOF
   15735 if ac_fn_c_try_link "$LINENO"; then :
   15736   eval $cacheid=yes
   15737 else
   15738   eval $cacheid=no
   15739 fi
   15740 rm -f core conftest.err conftest.$ac_objext \
   15741     conftest$ac_exeext conftest.$ac_ext
   15742 fi
   15743 
   15744 
   15745 		CFLAGS="$xorg_testset_save_CFLAGS"
   15746 
   15747 		eval supported=\$$cacheid
   15748 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15749 $as_echo "$supported" >&6; }
   15750 		if test "$supported" = "yes" ; then
   15751 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   15752 			found="yes"
   15753 		fi
   15754 	fi
   15755 
   15756 
   15757 
   15758 
   15759 
   15760 
   15761 
   15762 
   15763 
   15764 
   15765 
   15766 
   15767 
   15768 
   15769 
   15770 xorg_testset_save_CFLAGS="$CFLAGS"
   15771 
   15772 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15773 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15774 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15775 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15776 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15777   $as_echo_n "(cached) " >&6
   15778 else
   15779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15780 /* end confdefs.h.  */
   15781 int i;
   15782 _ACEOF
   15783 if ac_fn_c_try_compile "$LINENO"; then :
   15784   xorg_cv_cc_flag_unknown_warning_option=yes
   15785 else
   15786   xorg_cv_cc_flag_unknown_warning_option=no
   15787 fi
   15788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15789 fi
   15790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15791 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15792 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15793 	CFLAGS="$xorg_testset_save_CFLAGS"
   15794 fi
   15795 
   15796 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15797 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15798 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15799 	fi
   15800 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15801 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15802 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15803 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15804   $as_echo_n "(cached) " >&6
   15805 else
   15806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15807 /* end confdefs.h.  */
   15808 int i;
   15809 _ACEOF
   15810 if ac_fn_c_try_compile "$LINENO"; then :
   15811   xorg_cv_cc_flag_unused_command_line_argument=yes
   15812 else
   15813   xorg_cv_cc_flag_unused_command_line_argument=no
   15814 fi
   15815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15816 fi
   15817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15818 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15819 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15820 	CFLAGS="$xorg_testset_save_CFLAGS"
   15821 fi
   15822 
   15823 found="no"
   15824 
   15825 	if test $found = "no" ; then
   15826 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15827 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15828 		fi
   15829 
   15830 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15831 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15832 		fi
   15833 
   15834 		CFLAGS="$CFLAGS -Werror=address"
   15835 
   15836 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   15837 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   15838 		cacheid=xorg_cv_cc_flag__Werror_address
   15839 		if eval \${$cacheid+:} false; then :
   15840   $as_echo_n "(cached) " >&6
   15841 else
   15842   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15843 /* end confdefs.h.  */
   15844 int i;
   15845 int
   15846 main ()
   15847 {
   15848 
   15849   ;
   15850   return 0;
   15851 }
   15852 _ACEOF
   15853 if ac_fn_c_try_link "$LINENO"; then :
   15854   eval $cacheid=yes
   15855 else
   15856   eval $cacheid=no
   15857 fi
   15858 rm -f core conftest.err conftest.$ac_objext \
   15859     conftest$ac_exeext conftest.$ac_ext
   15860 fi
   15861 
   15862 
   15863 		CFLAGS="$xorg_testset_save_CFLAGS"
   15864 
   15865 		eval supported=\$$cacheid
   15866 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15867 $as_echo "$supported" >&6; }
   15868 		if test "$supported" = "yes" ; then
   15869 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   15870 			found="yes"
   15871 		fi
   15872 	fi
   15873 
   15874 
   15875 
   15876 
   15877 
   15878 
   15879 
   15880 
   15881 
   15882 
   15883 
   15884 
   15885 
   15886 
   15887 
   15888 xorg_testset_save_CFLAGS="$CFLAGS"
   15889 
   15890 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15891 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15892 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15893 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15894 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15895   $as_echo_n "(cached) " >&6
   15896 else
   15897   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15898 /* end confdefs.h.  */
   15899 int i;
   15900 _ACEOF
   15901 if ac_fn_c_try_compile "$LINENO"; then :
   15902   xorg_cv_cc_flag_unknown_warning_option=yes
   15903 else
   15904   xorg_cv_cc_flag_unknown_warning_option=no
   15905 fi
   15906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15907 fi
   15908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15909 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15910 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15911 	CFLAGS="$xorg_testset_save_CFLAGS"
   15912 fi
   15913 
   15914 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15915 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15916 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15917 	fi
   15918 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15919 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15920 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15921 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15922   $as_echo_n "(cached) " >&6
   15923 else
   15924   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15925 /* end confdefs.h.  */
   15926 int i;
   15927 _ACEOF
   15928 if ac_fn_c_try_compile "$LINENO"; then :
   15929   xorg_cv_cc_flag_unused_command_line_argument=yes
   15930 else
   15931   xorg_cv_cc_flag_unused_command_line_argument=no
   15932 fi
   15933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15934 fi
   15935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15936 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15937 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15938 	CFLAGS="$xorg_testset_save_CFLAGS"
   15939 fi
   15940 
   15941 found="no"
   15942 
   15943 	if test $found = "no" ; then
   15944 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15945 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15946 		fi
   15947 
   15948 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15949 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15950 		fi
   15951 
   15952 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   15953 
   15954 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   15955 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   15956 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   15957 		if eval \${$cacheid+:} false; then :
   15958   $as_echo_n "(cached) " >&6
   15959 else
   15960   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15961 /* end confdefs.h.  */
   15962 int i;
   15963 int
   15964 main ()
   15965 {
   15966 
   15967   ;
   15968   return 0;
   15969 }
   15970 _ACEOF
   15971 if ac_fn_c_try_link "$LINENO"; then :
   15972   eval $cacheid=yes
   15973 else
   15974   eval $cacheid=no
   15975 fi
   15976 rm -f core conftest.err conftest.$ac_objext \
   15977     conftest$ac_exeext conftest.$ac_ext
   15978 fi
   15979 
   15980 
   15981 		CFLAGS="$xorg_testset_save_CFLAGS"
   15982 
   15983 		eval supported=\$$cacheid
   15984 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15985 $as_echo "$supported" >&6; }
   15986 		if test "$supported" = "yes" ; then
   15987 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   15988 			found="yes"
   15989 		fi
   15990 	fi
   15991 
   15992 	if test $found = "no" ; then
   15993 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15994 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15995 		fi
   15996 
   15997 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15998 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15999 		fi
   16000 
   16001 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16002 
   16003 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   16004 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   16005 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   16006 		if eval \${$cacheid+:} false; then :
   16007   $as_echo_n "(cached) " >&6
   16008 else
   16009   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16010 /* end confdefs.h.  */
   16011 int i;
   16012 int
   16013 main ()
   16014 {
   16015 
   16016   ;
   16017   return 0;
   16018 }
   16019 _ACEOF
   16020 if ac_fn_c_try_link "$LINENO"; then :
   16021   eval $cacheid=yes
   16022 else
   16023   eval $cacheid=no
   16024 fi
   16025 rm -f core conftest.err conftest.$ac_objext \
   16026     conftest$ac_exeext conftest.$ac_ext
   16027 fi
   16028 
   16029 
   16030 		CFLAGS="$xorg_testset_save_CFLAGS"
   16031 
   16032 		eval supported=\$$cacheid
   16033 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16034 $as_echo "$supported" >&6; }
   16035 		if test "$supported" = "yes" ; then
   16036 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16037 			found="yes"
   16038 		fi
   16039 	fi
   16040 
   16041 
   16042 
   16043 
   16044 
   16045 
   16046 
   16047 
   16048 
   16049 
   16050 
   16051 
   16052 
   16053 
   16054 
   16055 xorg_testset_save_CFLAGS="$CFLAGS"
   16056 
   16057 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16058 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16059 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16060 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16061 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16062   $as_echo_n "(cached) " >&6
   16063 else
   16064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16065 /* end confdefs.h.  */
   16066 int i;
   16067 _ACEOF
   16068 if ac_fn_c_try_compile "$LINENO"; then :
   16069   xorg_cv_cc_flag_unknown_warning_option=yes
   16070 else
   16071   xorg_cv_cc_flag_unknown_warning_option=no
   16072 fi
   16073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16074 fi
   16075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16076 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16077 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16078 	CFLAGS="$xorg_testset_save_CFLAGS"
   16079 fi
   16080 
   16081 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16082 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16083 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16084 	fi
   16085 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16086 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16087 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16088 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16089   $as_echo_n "(cached) " >&6
   16090 else
   16091   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16092 /* end confdefs.h.  */
   16093 int i;
   16094 _ACEOF
   16095 if ac_fn_c_try_compile "$LINENO"; then :
   16096   xorg_cv_cc_flag_unused_command_line_argument=yes
   16097 else
   16098   xorg_cv_cc_flag_unused_command_line_argument=no
   16099 fi
   16100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16101 fi
   16102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16103 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16104 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16105 	CFLAGS="$xorg_testset_save_CFLAGS"
   16106 fi
   16107 
   16108 found="no"
   16109 
   16110 	if test $found = "no" ; then
   16111 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16112 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16113 		fi
   16114 
   16115 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16116 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16117 		fi
   16118 
   16119 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   16120 
   16121 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   16122 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   16123 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   16124 		if eval \${$cacheid+:} false; then :
   16125   $as_echo_n "(cached) " >&6
   16126 else
   16127   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16128 /* end confdefs.h.  */
   16129 int i;
   16130 int
   16131 main ()
   16132 {
   16133 
   16134   ;
   16135   return 0;
   16136 }
   16137 _ACEOF
   16138 if ac_fn_c_try_link "$LINENO"; then :
   16139   eval $cacheid=yes
   16140 else
   16141   eval $cacheid=no
   16142 fi
   16143 rm -f core conftest.err conftest.$ac_objext \
   16144     conftest$ac_exeext conftest.$ac_ext
   16145 fi
   16146 
   16147 
   16148 		CFLAGS="$xorg_testset_save_CFLAGS"
   16149 
   16150 		eval supported=\$$cacheid
   16151 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16152 $as_echo "$supported" >&6; }
   16153 		if test "$supported" = "yes" ; then
   16154 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   16155 			found="yes"
   16156 		fi
   16157 	fi
   16158 
   16159  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   16160 else
   16161 { $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
   16162 $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;}
   16163 
   16164 
   16165 
   16166 
   16167 
   16168 
   16169 
   16170 
   16171 
   16172 
   16173 
   16174 
   16175 
   16176 xorg_testset_save_CFLAGS="$CFLAGS"
   16177 
   16178 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16179 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16180 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16181 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16182 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16183   $as_echo_n "(cached) " >&6
   16184 else
   16185   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16186 /* end confdefs.h.  */
   16187 int i;
   16188 _ACEOF
   16189 if ac_fn_c_try_compile "$LINENO"; then :
   16190   xorg_cv_cc_flag_unknown_warning_option=yes
   16191 else
   16192   xorg_cv_cc_flag_unknown_warning_option=no
   16193 fi
   16194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16195 fi
   16196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16197 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16198 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16199 	CFLAGS="$xorg_testset_save_CFLAGS"
   16200 fi
   16201 
   16202 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16203 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16204 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16205 	fi
   16206 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16207 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16208 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16209 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16210   $as_echo_n "(cached) " >&6
   16211 else
   16212   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16213 /* end confdefs.h.  */
   16214 int i;
   16215 _ACEOF
   16216 if ac_fn_c_try_compile "$LINENO"; then :
   16217   xorg_cv_cc_flag_unused_command_line_argument=yes
   16218 else
   16219   xorg_cv_cc_flag_unused_command_line_argument=no
   16220 fi
   16221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16222 fi
   16223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16224 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16225 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16226 	CFLAGS="$xorg_testset_save_CFLAGS"
   16227 fi
   16228 
   16229 found="no"
   16230 
   16231 	if test $found = "no" ; then
   16232 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16233 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16234 		fi
   16235 
   16236 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16237 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16238 		fi
   16239 
   16240 		CFLAGS="$CFLAGS -Wimplicit"
   16241 
   16242 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   16243 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   16244 		cacheid=xorg_cv_cc_flag__Wimplicit
   16245 		if eval \${$cacheid+:} false; then :
   16246   $as_echo_n "(cached) " >&6
   16247 else
   16248   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16249 /* end confdefs.h.  */
   16250 int i;
   16251 int
   16252 main ()
   16253 {
   16254 
   16255   ;
   16256   return 0;
   16257 }
   16258 _ACEOF
   16259 if ac_fn_c_try_link "$LINENO"; then :
   16260   eval $cacheid=yes
   16261 else
   16262   eval $cacheid=no
   16263 fi
   16264 rm -f core conftest.err conftest.$ac_objext \
   16265     conftest$ac_exeext conftest.$ac_ext
   16266 fi
   16267 
   16268 
   16269 		CFLAGS="$xorg_testset_save_CFLAGS"
   16270 
   16271 		eval supported=\$$cacheid
   16272 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16273 $as_echo "$supported" >&6; }
   16274 		if test "$supported" = "yes" ; then
   16275 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   16276 			found="yes"
   16277 		fi
   16278 	fi
   16279 
   16280 
   16281 
   16282 
   16283 
   16284 
   16285 
   16286 
   16287 
   16288 
   16289 
   16290 
   16291 
   16292 
   16293 
   16294 xorg_testset_save_CFLAGS="$CFLAGS"
   16295 
   16296 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16297 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16298 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16299 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16300 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16301   $as_echo_n "(cached) " >&6
   16302 else
   16303   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16304 /* end confdefs.h.  */
   16305 int i;
   16306 _ACEOF
   16307 if ac_fn_c_try_compile "$LINENO"; then :
   16308   xorg_cv_cc_flag_unknown_warning_option=yes
   16309 else
   16310   xorg_cv_cc_flag_unknown_warning_option=no
   16311 fi
   16312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16313 fi
   16314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16315 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16316 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16317 	CFLAGS="$xorg_testset_save_CFLAGS"
   16318 fi
   16319 
   16320 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16321 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16322 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16323 	fi
   16324 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16325 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16326 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16327 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16328   $as_echo_n "(cached) " >&6
   16329 else
   16330   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16331 /* end confdefs.h.  */
   16332 int i;
   16333 _ACEOF
   16334 if ac_fn_c_try_compile "$LINENO"; then :
   16335   xorg_cv_cc_flag_unused_command_line_argument=yes
   16336 else
   16337   xorg_cv_cc_flag_unused_command_line_argument=no
   16338 fi
   16339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16340 fi
   16341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16342 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16343 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16344 	CFLAGS="$xorg_testset_save_CFLAGS"
   16345 fi
   16346 
   16347 found="no"
   16348 
   16349 	if test $found = "no" ; then
   16350 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16351 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16352 		fi
   16353 
   16354 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16355 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16356 		fi
   16357 
   16358 		CFLAGS="$CFLAGS -Wnonnull"
   16359 
   16360 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   16361 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   16362 		cacheid=xorg_cv_cc_flag__Wnonnull
   16363 		if eval \${$cacheid+:} false; then :
   16364   $as_echo_n "(cached) " >&6
   16365 else
   16366   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16367 /* end confdefs.h.  */
   16368 int i;
   16369 int
   16370 main ()
   16371 {
   16372 
   16373   ;
   16374   return 0;
   16375 }
   16376 _ACEOF
   16377 if ac_fn_c_try_link "$LINENO"; then :
   16378   eval $cacheid=yes
   16379 else
   16380   eval $cacheid=no
   16381 fi
   16382 rm -f core conftest.err conftest.$ac_objext \
   16383     conftest$ac_exeext conftest.$ac_ext
   16384 fi
   16385 
   16386 
   16387 		CFLAGS="$xorg_testset_save_CFLAGS"
   16388 
   16389 		eval supported=\$$cacheid
   16390 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16391 $as_echo "$supported" >&6; }
   16392 		if test "$supported" = "yes" ; then
   16393 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   16394 			found="yes"
   16395 		fi
   16396 	fi
   16397 
   16398 
   16399 
   16400 
   16401 
   16402 
   16403 
   16404 
   16405 
   16406 
   16407 
   16408 
   16409 
   16410 
   16411 
   16412 xorg_testset_save_CFLAGS="$CFLAGS"
   16413 
   16414 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16415 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16416 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16417 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16418 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16419   $as_echo_n "(cached) " >&6
   16420 else
   16421   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16422 /* end confdefs.h.  */
   16423 int i;
   16424 _ACEOF
   16425 if ac_fn_c_try_compile "$LINENO"; then :
   16426   xorg_cv_cc_flag_unknown_warning_option=yes
   16427 else
   16428   xorg_cv_cc_flag_unknown_warning_option=no
   16429 fi
   16430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16431 fi
   16432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16433 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16434 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16435 	CFLAGS="$xorg_testset_save_CFLAGS"
   16436 fi
   16437 
   16438 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16439 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16440 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16441 	fi
   16442 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16443 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16444 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16445 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16446   $as_echo_n "(cached) " >&6
   16447 else
   16448   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16449 /* end confdefs.h.  */
   16450 int i;
   16451 _ACEOF
   16452 if ac_fn_c_try_compile "$LINENO"; then :
   16453   xorg_cv_cc_flag_unused_command_line_argument=yes
   16454 else
   16455   xorg_cv_cc_flag_unused_command_line_argument=no
   16456 fi
   16457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16458 fi
   16459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16460 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16461 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16462 	CFLAGS="$xorg_testset_save_CFLAGS"
   16463 fi
   16464 
   16465 found="no"
   16466 
   16467 	if test $found = "no" ; then
   16468 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16469 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16470 		fi
   16471 
   16472 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16473 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16474 		fi
   16475 
   16476 		CFLAGS="$CFLAGS -Winit-self"
   16477 
   16478 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   16479 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   16480 		cacheid=xorg_cv_cc_flag__Winit_self
   16481 		if eval \${$cacheid+:} false; then :
   16482   $as_echo_n "(cached) " >&6
   16483 else
   16484   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16485 /* end confdefs.h.  */
   16486 int i;
   16487 int
   16488 main ()
   16489 {
   16490 
   16491   ;
   16492   return 0;
   16493 }
   16494 _ACEOF
   16495 if ac_fn_c_try_link "$LINENO"; then :
   16496   eval $cacheid=yes
   16497 else
   16498   eval $cacheid=no
   16499 fi
   16500 rm -f core conftest.err conftest.$ac_objext \
   16501     conftest$ac_exeext conftest.$ac_ext
   16502 fi
   16503 
   16504 
   16505 		CFLAGS="$xorg_testset_save_CFLAGS"
   16506 
   16507 		eval supported=\$$cacheid
   16508 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16509 $as_echo "$supported" >&6; }
   16510 		if test "$supported" = "yes" ; then
   16511 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   16512 			found="yes"
   16513 		fi
   16514 	fi
   16515 
   16516 
   16517 
   16518 
   16519 
   16520 
   16521 
   16522 
   16523 
   16524 
   16525 
   16526 
   16527 
   16528 
   16529 
   16530 xorg_testset_save_CFLAGS="$CFLAGS"
   16531 
   16532 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16533 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16534 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16535 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16536 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16537   $as_echo_n "(cached) " >&6
   16538 else
   16539   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16540 /* end confdefs.h.  */
   16541 int i;
   16542 _ACEOF
   16543 if ac_fn_c_try_compile "$LINENO"; then :
   16544   xorg_cv_cc_flag_unknown_warning_option=yes
   16545 else
   16546   xorg_cv_cc_flag_unknown_warning_option=no
   16547 fi
   16548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16549 fi
   16550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16551 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16552 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16553 	CFLAGS="$xorg_testset_save_CFLAGS"
   16554 fi
   16555 
   16556 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16557 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16558 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16559 	fi
   16560 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16561 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16562 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16563 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16564   $as_echo_n "(cached) " >&6
   16565 else
   16566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16567 /* end confdefs.h.  */
   16568 int i;
   16569 _ACEOF
   16570 if ac_fn_c_try_compile "$LINENO"; then :
   16571   xorg_cv_cc_flag_unused_command_line_argument=yes
   16572 else
   16573   xorg_cv_cc_flag_unused_command_line_argument=no
   16574 fi
   16575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16576 fi
   16577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16578 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16579 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16580 	CFLAGS="$xorg_testset_save_CFLAGS"
   16581 fi
   16582 
   16583 found="no"
   16584 
   16585 	if test $found = "no" ; then
   16586 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16587 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16588 		fi
   16589 
   16590 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16591 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16592 		fi
   16593 
   16594 		CFLAGS="$CFLAGS -Wmain"
   16595 
   16596 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   16597 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   16598 		cacheid=xorg_cv_cc_flag__Wmain
   16599 		if eval \${$cacheid+:} false; then :
   16600   $as_echo_n "(cached) " >&6
   16601 else
   16602   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16603 /* end confdefs.h.  */
   16604 int i;
   16605 int
   16606 main ()
   16607 {
   16608 
   16609   ;
   16610   return 0;
   16611 }
   16612 _ACEOF
   16613 if ac_fn_c_try_link "$LINENO"; then :
   16614   eval $cacheid=yes
   16615 else
   16616   eval $cacheid=no
   16617 fi
   16618 rm -f core conftest.err conftest.$ac_objext \
   16619     conftest$ac_exeext conftest.$ac_ext
   16620 fi
   16621 
   16622 
   16623 		CFLAGS="$xorg_testset_save_CFLAGS"
   16624 
   16625 		eval supported=\$$cacheid
   16626 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16627 $as_echo "$supported" >&6; }
   16628 		if test "$supported" = "yes" ; then
   16629 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   16630 			found="yes"
   16631 		fi
   16632 	fi
   16633 
   16634 
   16635 
   16636 
   16637 
   16638 
   16639 
   16640 
   16641 
   16642 
   16643 
   16644 
   16645 
   16646 
   16647 
   16648 xorg_testset_save_CFLAGS="$CFLAGS"
   16649 
   16650 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16651 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16652 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16653 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16654 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16655   $as_echo_n "(cached) " >&6
   16656 else
   16657   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16658 /* end confdefs.h.  */
   16659 int i;
   16660 _ACEOF
   16661 if ac_fn_c_try_compile "$LINENO"; then :
   16662   xorg_cv_cc_flag_unknown_warning_option=yes
   16663 else
   16664   xorg_cv_cc_flag_unknown_warning_option=no
   16665 fi
   16666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16667 fi
   16668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16669 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16670 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16671 	CFLAGS="$xorg_testset_save_CFLAGS"
   16672 fi
   16673 
   16674 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16675 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16676 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16677 	fi
   16678 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16679 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16680 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16681 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16682   $as_echo_n "(cached) " >&6
   16683 else
   16684   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16685 /* end confdefs.h.  */
   16686 int i;
   16687 _ACEOF
   16688 if ac_fn_c_try_compile "$LINENO"; then :
   16689   xorg_cv_cc_flag_unused_command_line_argument=yes
   16690 else
   16691   xorg_cv_cc_flag_unused_command_line_argument=no
   16692 fi
   16693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16694 fi
   16695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16696 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16697 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16698 	CFLAGS="$xorg_testset_save_CFLAGS"
   16699 fi
   16700 
   16701 found="no"
   16702 
   16703 	if test $found = "no" ; then
   16704 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16705 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16706 		fi
   16707 
   16708 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16709 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16710 		fi
   16711 
   16712 		CFLAGS="$CFLAGS -Wmissing-braces"
   16713 
   16714 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   16715 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   16716 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   16717 		if eval \${$cacheid+:} false; then :
   16718   $as_echo_n "(cached) " >&6
   16719 else
   16720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16721 /* end confdefs.h.  */
   16722 int i;
   16723 int
   16724 main ()
   16725 {
   16726 
   16727   ;
   16728   return 0;
   16729 }
   16730 _ACEOF
   16731 if ac_fn_c_try_link "$LINENO"; then :
   16732   eval $cacheid=yes
   16733 else
   16734   eval $cacheid=no
   16735 fi
   16736 rm -f core conftest.err conftest.$ac_objext \
   16737     conftest$ac_exeext conftest.$ac_ext
   16738 fi
   16739 
   16740 
   16741 		CFLAGS="$xorg_testset_save_CFLAGS"
   16742 
   16743 		eval supported=\$$cacheid
   16744 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16745 $as_echo "$supported" >&6; }
   16746 		if test "$supported" = "yes" ; then
   16747 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   16748 			found="yes"
   16749 		fi
   16750 	fi
   16751 
   16752 
   16753 
   16754 
   16755 
   16756 
   16757 
   16758 
   16759 
   16760 
   16761 
   16762 
   16763 
   16764 
   16765 
   16766 xorg_testset_save_CFLAGS="$CFLAGS"
   16767 
   16768 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16769 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16770 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16771 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16772 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16773   $as_echo_n "(cached) " >&6
   16774 else
   16775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16776 /* end confdefs.h.  */
   16777 int i;
   16778 _ACEOF
   16779 if ac_fn_c_try_compile "$LINENO"; then :
   16780   xorg_cv_cc_flag_unknown_warning_option=yes
   16781 else
   16782   xorg_cv_cc_flag_unknown_warning_option=no
   16783 fi
   16784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16785 fi
   16786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16787 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16788 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16789 	CFLAGS="$xorg_testset_save_CFLAGS"
   16790 fi
   16791 
   16792 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16793 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16794 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16795 	fi
   16796 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16797 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16798 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16799 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16800   $as_echo_n "(cached) " >&6
   16801 else
   16802   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16803 /* end confdefs.h.  */
   16804 int i;
   16805 _ACEOF
   16806 if ac_fn_c_try_compile "$LINENO"; then :
   16807   xorg_cv_cc_flag_unused_command_line_argument=yes
   16808 else
   16809   xorg_cv_cc_flag_unused_command_line_argument=no
   16810 fi
   16811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16812 fi
   16813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16814 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16815 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16816 	CFLAGS="$xorg_testset_save_CFLAGS"
   16817 fi
   16818 
   16819 found="no"
   16820 
   16821 	if test $found = "no" ; then
   16822 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16823 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16824 		fi
   16825 
   16826 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16827 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16828 		fi
   16829 
   16830 		CFLAGS="$CFLAGS -Wsequence-point"
   16831 
   16832 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   16833 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   16834 		cacheid=xorg_cv_cc_flag__Wsequence_point
   16835 		if eval \${$cacheid+:} false; then :
   16836   $as_echo_n "(cached) " >&6
   16837 else
   16838   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16839 /* end confdefs.h.  */
   16840 int i;
   16841 int
   16842 main ()
   16843 {
   16844 
   16845   ;
   16846   return 0;
   16847 }
   16848 _ACEOF
   16849 if ac_fn_c_try_link "$LINENO"; then :
   16850   eval $cacheid=yes
   16851 else
   16852   eval $cacheid=no
   16853 fi
   16854 rm -f core conftest.err conftest.$ac_objext \
   16855     conftest$ac_exeext conftest.$ac_ext
   16856 fi
   16857 
   16858 
   16859 		CFLAGS="$xorg_testset_save_CFLAGS"
   16860 
   16861 		eval supported=\$$cacheid
   16862 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16863 $as_echo "$supported" >&6; }
   16864 		if test "$supported" = "yes" ; then
   16865 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   16866 			found="yes"
   16867 		fi
   16868 	fi
   16869 
   16870 
   16871 
   16872 
   16873 
   16874 
   16875 
   16876 
   16877 
   16878 
   16879 
   16880 
   16881 
   16882 
   16883 
   16884 xorg_testset_save_CFLAGS="$CFLAGS"
   16885 
   16886 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16887 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16888 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16889 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16890 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16891   $as_echo_n "(cached) " >&6
   16892 else
   16893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16894 /* end confdefs.h.  */
   16895 int i;
   16896 _ACEOF
   16897 if ac_fn_c_try_compile "$LINENO"; then :
   16898   xorg_cv_cc_flag_unknown_warning_option=yes
   16899 else
   16900   xorg_cv_cc_flag_unknown_warning_option=no
   16901 fi
   16902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16903 fi
   16904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16905 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16906 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16907 	CFLAGS="$xorg_testset_save_CFLAGS"
   16908 fi
   16909 
   16910 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16911 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16912 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16913 	fi
   16914 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16915 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16916 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16917 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16918   $as_echo_n "(cached) " >&6
   16919 else
   16920   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16921 /* end confdefs.h.  */
   16922 int i;
   16923 _ACEOF
   16924 if ac_fn_c_try_compile "$LINENO"; then :
   16925   xorg_cv_cc_flag_unused_command_line_argument=yes
   16926 else
   16927   xorg_cv_cc_flag_unused_command_line_argument=no
   16928 fi
   16929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16930 fi
   16931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16932 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16933 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16934 	CFLAGS="$xorg_testset_save_CFLAGS"
   16935 fi
   16936 
   16937 found="no"
   16938 
   16939 	if test $found = "no" ; then
   16940 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16941 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16942 		fi
   16943 
   16944 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16945 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16946 		fi
   16947 
   16948 		CFLAGS="$CFLAGS -Wreturn-type"
   16949 
   16950 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   16951 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   16952 		cacheid=xorg_cv_cc_flag__Wreturn_type
   16953 		if eval \${$cacheid+:} false; then :
   16954   $as_echo_n "(cached) " >&6
   16955 else
   16956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16957 /* end confdefs.h.  */
   16958 int i;
   16959 int
   16960 main ()
   16961 {
   16962 
   16963   ;
   16964   return 0;
   16965 }
   16966 _ACEOF
   16967 if ac_fn_c_try_link "$LINENO"; then :
   16968   eval $cacheid=yes
   16969 else
   16970   eval $cacheid=no
   16971 fi
   16972 rm -f core conftest.err conftest.$ac_objext \
   16973     conftest$ac_exeext conftest.$ac_ext
   16974 fi
   16975 
   16976 
   16977 		CFLAGS="$xorg_testset_save_CFLAGS"
   16978 
   16979 		eval supported=\$$cacheid
   16980 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16981 $as_echo "$supported" >&6; }
   16982 		if test "$supported" = "yes" ; then
   16983 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   16984 			found="yes"
   16985 		fi
   16986 	fi
   16987 
   16988 
   16989 
   16990 
   16991 
   16992 
   16993 
   16994 
   16995 
   16996 
   16997 
   16998 
   16999 
   17000 
   17001 
   17002 xorg_testset_save_CFLAGS="$CFLAGS"
   17003 
   17004 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17005 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17006 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17007 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17008 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17009   $as_echo_n "(cached) " >&6
   17010 else
   17011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17012 /* end confdefs.h.  */
   17013 int i;
   17014 _ACEOF
   17015 if ac_fn_c_try_compile "$LINENO"; then :
   17016   xorg_cv_cc_flag_unknown_warning_option=yes
   17017 else
   17018   xorg_cv_cc_flag_unknown_warning_option=no
   17019 fi
   17020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17021 fi
   17022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17023 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17024 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17025 	CFLAGS="$xorg_testset_save_CFLAGS"
   17026 fi
   17027 
   17028 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17029 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17030 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17031 	fi
   17032 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17033 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17034 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17035 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17036   $as_echo_n "(cached) " >&6
   17037 else
   17038   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17039 /* end confdefs.h.  */
   17040 int i;
   17041 _ACEOF
   17042 if ac_fn_c_try_compile "$LINENO"; then :
   17043   xorg_cv_cc_flag_unused_command_line_argument=yes
   17044 else
   17045   xorg_cv_cc_flag_unused_command_line_argument=no
   17046 fi
   17047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17048 fi
   17049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17050 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17051 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17052 	CFLAGS="$xorg_testset_save_CFLAGS"
   17053 fi
   17054 
   17055 found="no"
   17056 
   17057 	if test $found = "no" ; then
   17058 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17059 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17060 		fi
   17061 
   17062 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17063 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17064 		fi
   17065 
   17066 		CFLAGS="$CFLAGS -Wtrigraphs"
   17067 
   17068 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   17069 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   17070 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   17071 		if eval \${$cacheid+:} false; then :
   17072   $as_echo_n "(cached) " >&6
   17073 else
   17074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17075 /* end confdefs.h.  */
   17076 int i;
   17077 int
   17078 main ()
   17079 {
   17080 
   17081   ;
   17082   return 0;
   17083 }
   17084 _ACEOF
   17085 if ac_fn_c_try_link "$LINENO"; then :
   17086   eval $cacheid=yes
   17087 else
   17088   eval $cacheid=no
   17089 fi
   17090 rm -f core conftest.err conftest.$ac_objext \
   17091     conftest$ac_exeext conftest.$ac_ext
   17092 fi
   17093 
   17094 
   17095 		CFLAGS="$xorg_testset_save_CFLAGS"
   17096 
   17097 		eval supported=\$$cacheid
   17098 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17099 $as_echo "$supported" >&6; }
   17100 		if test "$supported" = "yes" ; then
   17101 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   17102 			found="yes"
   17103 		fi
   17104 	fi
   17105 
   17106 
   17107 
   17108 
   17109 
   17110 
   17111 
   17112 
   17113 
   17114 
   17115 
   17116 
   17117 
   17118 
   17119 
   17120 xorg_testset_save_CFLAGS="$CFLAGS"
   17121 
   17122 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17123 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17124 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17125 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17126 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17127   $as_echo_n "(cached) " >&6
   17128 else
   17129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17130 /* end confdefs.h.  */
   17131 int i;
   17132 _ACEOF
   17133 if ac_fn_c_try_compile "$LINENO"; then :
   17134   xorg_cv_cc_flag_unknown_warning_option=yes
   17135 else
   17136   xorg_cv_cc_flag_unknown_warning_option=no
   17137 fi
   17138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17139 fi
   17140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17141 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17142 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17143 	CFLAGS="$xorg_testset_save_CFLAGS"
   17144 fi
   17145 
   17146 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17147 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17148 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17149 	fi
   17150 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17151 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17152 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17153 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17154   $as_echo_n "(cached) " >&6
   17155 else
   17156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17157 /* end confdefs.h.  */
   17158 int i;
   17159 _ACEOF
   17160 if ac_fn_c_try_compile "$LINENO"; then :
   17161   xorg_cv_cc_flag_unused_command_line_argument=yes
   17162 else
   17163   xorg_cv_cc_flag_unused_command_line_argument=no
   17164 fi
   17165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17166 fi
   17167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17168 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17169 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17170 	CFLAGS="$xorg_testset_save_CFLAGS"
   17171 fi
   17172 
   17173 found="no"
   17174 
   17175 	if test $found = "no" ; then
   17176 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17177 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17178 		fi
   17179 
   17180 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17181 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17182 		fi
   17183 
   17184 		CFLAGS="$CFLAGS -Warray-bounds"
   17185 
   17186 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   17187 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   17188 		cacheid=xorg_cv_cc_flag__Warray_bounds
   17189 		if eval \${$cacheid+:} false; then :
   17190   $as_echo_n "(cached) " >&6
   17191 else
   17192   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17193 /* end confdefs.h.  */
   17194 int i;
   17195 int
   17196 main ()
   17197 {
   17198 
   17199   ;
   17200   return 0;
   17201 }
   17202 _ACEOF
   17203 if ac_fn_c_try_link "$LINENO"; then :
   17204   eval $cacheid=yes
   17205 else
   17206   eval $cacheid=no
   17207 fi
   17208 rm -f core conftest.err conftest.$ac_objext \
   17209     conftest$ac_exeext conftest.$ac_ext
   17210 fi
   17211 
   17212 
   17213 		CFLAGS="$xorg_testset_save_CFLAGS"
   17214 
   17215 		eval supported=\$$cacheid
   17216 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17217 $as_echo "$supported" >&6; }
   17218 		if test "$supported" = "yes" ; then
   17219 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   17220 			found="yes"
   17221 		fi
   17222 	fi
   17223 
   17224 
   17225 
   17226 
   17227 
   17228 
   17229 
   17230 
   17231 
   17232 
   17233 
   17234 
   17235 
   17236 
   17237 
   17238 xorg_testset_save_CFLAGS="$CFLAGS"
   17239 
   17240 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17241 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17242 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17243 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17244 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17245   $as_echo_n "(cached) " >&6
   17246 else
   17247   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17248 /* end confdefs.h.  */
   17249 int i;
   17250 _ACEOF
   17251 if ac_fn_c_try_compile "$LINENO"; then :
   17252   xorg_cv_cc_flag_unknown_warning_option=yes
   17253 else
   17254   xorg_cv_cc_flag_unknown_warning_option=no
   17255 fi
   17256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17257 fi
   17258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17259 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17260 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17261 	CFLAGS="$xorg_testset_save_CFLAGS"
   17262 fi
   17263 
   17264 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17265 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17266 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17267 	fi
   17268 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17269 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17270 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17271 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17272   $as_echo_n "(cached) " >&6
   17273 else
   17274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17275 /* end confdefs.h.  */
   17276 int i;
   17277 _ACEOF
   17278 if ac_fn_c_try_compile "$LINENO"; then :
   17279   xorg_cv_cc_flag_unused_command_line_argument=yes
   17280 else
   17281   xorg_cv_cc_flag_unused_command_line_argument=no
   17282 fi
   17283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17284 fi
   17285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17286 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17287 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17288 	CFLAGS="$xorg_testset_save_CFLAGS"
   17289 fi
   17290 
   17291 found="no"
   17292 
   17293 	if test $found = "no" ; then
   17294 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17295 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17296 		fi
   17297 
   17298 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17299 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17300 		fi
   17301 
   17302 		CFLAGS="$CFLAGS -Wwrite-strings"
   17303 
   17304 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   17305 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   17306 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   17307 		if eval \${$cacheid+:} false; then :
   17308   $as_echo_n "(cached) " >&6
   17309 else
   17310   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17311 /* end confdefs.h.  */
   17312 int i;
   17313 int
   17314 main ()
   17315 {
   17316 
   17317   ;
   17318   return 0;
   17319 }
   17320 _ACEOF
   17321 if ac_fn_c_try_link "$LINENO"; then :
   17322   eval $cacheid=yes
   17323 else
   17324   eval $cacheid=no
   17325 fi
   17326 rm -f core conftest.err conftest.$ac_objext \
   17327     conftest$ac_exeext conftest.$ac_ext
   17328 fi
   17329 
   17330 
   17331 		CFLAGS="$xorg_testset_save_CFLAGS"
   17332 
   17333 		eval supported=\$$cacheid
   17334 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17335 $as_echo "$supported" >&6; }
   17336 		if test "$supported" = "yes" ; then
   17337 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   17338 			found="yes"
   17339 		fi
   17340 	fi
   17341 
   17342 
   17343 
   17344 
   17345 
   17346 
   17347 
   17348 
   17349 
   17350 
   17351 
   17352 
   17353 
   17354 
   17355 
   17356 xorg_testset_save_CFLAGS="$CFLAGS"
   17357 
   17358 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17359 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17360 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17361 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17362 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17363   $as_echo_n "(cached) " >&6
   17364 else
   17365   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17366 /* end confdefs.h.  */
   17367 int i;
   17368 _ACEOF
   17369 if ac_fn_c_try_compile "$LINENO"; then :
   17370   xorg_cv_cc_flag_unknown_warning_option=yes
   17371 else
   17372   xorg_cv_cc_flag_unknown_warning_option=no
   17373 fi
   17374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17375 fi
   17376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17377 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17378 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17379 	CFLAGS="$xorg_testset_save_CFLAGS"
   17380 fi
   17381 
   17382 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17383 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17384 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17385 	fi
   17386 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17387 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17388 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17389 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17390   $as_echo_n "(cached) " >&6
   17391 else
   17392   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17393 /* end confdefs.h.  */
   17394 int i;
   17395 _ACEOF
   17396 if ac_fn_c_try_compile "$LINENO"; then :
   17397   xorg_cv_cc_flag_unused_command_line_argument=yes
   17398 else
   17399   xorg_cv_cc_flag_unused_command_line_argument=no
   17400 fi
   17401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17402 fi
   17403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17404 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17405 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17406 	CFLAGS="$xorg_testset_save_CFLAGS"
   17407 fi
   17408 
   17409 found="no"
   17410 
   17411 	if test $found = "no" ; then
   17412 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17413 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17414 		fi
   17415 
   17416 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17417 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17418 		fi
   17419 
   17420 		CFLAGS="$CFLAGS -Waddress"
   17421 
   17422 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   17423 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   17424 		cacheid=xorg_cv_cc_flag__Waddress
   17425 		if eval \${$cacheid+:} false; then :
   17426   $as_echo_n "(cached) " >&6
   17427 else
   17428   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17429 /* end confdefs.h.  */
   17430 int i;
   17431 int
   17432 main ()
   17433 {
   17434 
   17435   ;
   17436   return 0;
   17437 }
   17438 _ACEOF
   17439 if ac_fn_c_try_link "$LINENO"; then :
   17440   eval $cacheid=yes
   17441 else
   17442   eval $cacheid=no
   17443 fi
   17444 rm -f core conftest.err conftest.$ac_objext \
   17445     conftest$ac_exeext conftest.$ac_ext
   17446 fi
   17447 
   17448 
   17449 		CFLAGS="$xorg_testset_save_CFLAGS"
   17450 
   17451 		eval supported=\$$cacheid
   17452 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17453 $as_echo "$supported" >&6; }
   17454 		if test "$supported" = "yes" ; then
   17455 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   17456 			found="yes"
   17457 		fi
   17458 	fi
   17459 
   17460 
   17461 
   17462 
   17463 
   17464 
   17465 
   17466 
   17467 
   17468 
   17469 
   17470 
   17471 
   17472 
   17473 
   17474 xorg_testset_save_CFLAGS="$CFLAGS"
   17475 
   17476 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17477 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17478 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17479 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17480 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17481   $as_echo_n "(cached) " >&6
   17482 else
   17483   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17484 /* end confdefs.h.  */
   17485 int i;
   17486 _ACEOF
   17487 if ac_fn_c_try_compile "$LINENO"; then :
   17488   xorg_cv_cc_flag_unknown_warning_option=yes
   17489 else
   17490   xorg_cv_cc_flag_unknown_warning_option=no
   17491 fi
   17492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17493 fi
   17494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17495 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17496 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17497 	CFLAGS="$xorg_testset_save_CFLAGS"
   17498 fi
   17499 
   17500 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17501 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17502 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17503 	fi
   17504 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17505 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17506 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17507 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17508   $as_echo_n "(cached) " >&6
   17509 else
   17510   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17511 /* end confdefs.h.  */
   17512 int i;
   17513 _ACEOF
   17514 if ac_fn_c_try_compile "$LINENO"; then :
   17515   xorg_cv_cc_flag_unused_command_line_argument=yes
   17516 else
   17517   xorg_cv_cc_flag_unused_command_line_argument=no
   17518 fi
   17519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17520 fi
   17521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17522 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17523 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17524 	CFLAGS="$xorg_testset_save_CFLAGS"
   17525 fi
   17526 
   17527 found="no"
   17528 
   17529 	if test $found = "no" ; then
   17530 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17531 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17532 		fi
   17533 
   17534 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17535 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17536 		fi
   17537 
   17538 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   17539 
   17540 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   17541 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   17542 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   17543 		if eval \${$cacheid+:} false; then :
   17544   $as_echo_n "(cached) " >&6
   17545 else
   17546   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17547 /* end confdefs.h.  */
   17548 int i;
   17549 int
   17550 main ()
   17551 {
   17552 
   17553   ;
   17554   return 0;
   17555 }
   17556 _ACEOF
   17557 if ac_fn_c_try_link "$LINENO"; then :
   17558   eval $cacheid=yes
   17559 else
   17560   eval $cacheid=no
   17561 fi
   17562 rm -f core conftest.err conftest.$ac_objext \
   17563     conftest$ac_exeext conftest.$ac_ext
   17564 fi
   17565 
   17566 
   17567 		CFLAGS="$xorg_testset_save_CFLAGS"
   17568 
   17569 		eval supported=\$$cacheid
   17570 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17571 $as_echo "$supported" >&6; }
   17572 		if test "$supported" = "yes" ; then
   17573 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   17574 			found="yes"
   17575 		fi
   17576 	fi
   17577 
   17578 
   17579 
   17580 
   17581 
   17582 
   17583 
   17584 
   17585 
   17586 
   17587 
   17588 
   17589 
   17590 
   17591 
   17592 xorg_testset_save_CFLAGS="$CFLAGS"
   17593 
   17594 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17595 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17596 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17597 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17598 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17599   $as_echo_n "(cached) " >&6
   17600 else
   17601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17602 /* end confdefs.h.  */
   17603 int i;
   17604 _ACEOF
   17605 if ac_fn_c_try_compile "$LINENO"; then :
   17606   xorg_cv_cc_flag_unknown_warning_option=yes
   17607 else
   17608   xorg_cv_cc_flag_unknown_warning_option=no
   17609 fi
   17610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17611 fi
   17612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17613 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17614 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17615 	CFLAGS="$xorg_testset_save_CFLAGS"
   17616 fi
   17617 
   17618 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17619 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17620 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17621 	fi
   17622 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17623 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17624 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17625 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17626   $as_echo_n "(cached) " >&6
   17627 else
   17628   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17629 /* end confdefs.h.  */
   17630 int i;
   17631 _ACEOF
   17632 if ac_fn_c_try_compile "$LINENO"; then :
   17633   xorg_cv_cc_flag_unused_command_line_argument=yes
   17634 else
   17635   xorg_cv_cc_flag_unused_command_line_argument=no
   17636 fi
   17637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17638 fi
   17639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17640 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17641 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17642 	CFLAGS="$xorg_testset_save_CFLAGS"
   17643 fi
   17644 
   17645 found="no"
   17646 
   17647 	if test $found = "no" ; then
   17648 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17649 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17650 		fi
   17651 
   17652 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17653 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17654 		fi
   17655 
   17656 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   17657 
   17658 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   17659 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   17660 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   17661 		if eval \${$cacheid+:} false; then :
   17662   $as_echo_n "(cached) " >&6
   17663 else
   17664   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17665 /* end confdefs.h.  */
   17666 int i;
   17667 int
   17668 main ()
   17669 {
   17670 
   17671   ;
   17672   return 0;
   17673 }
   17674 _ACEOF
   17675 if ac_fn_c_try_link "$LINENO"; then :
   17676   eval $cacheid=yes
   17677 else
   17678   eval $cacheid=no
   17679 fi
   17680 rm -f core conftest.err conftest.$ac_objext \
   17681     conftest$ac_exeext conftest.$ac_ext
   17682 fi
   17683 
   17684 
   17685 		CFLAGS="$xorg_testset_save_CFLAGS"
   17686 
   17687 		eval supported=\$$cacheid
   17688 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17689 $as_echo "$supported" >&6; }
   17690 		if test "$supported" = "yes" ; then
   17691 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   17692 			found="yes"
   17693 		fi
   17694 	fi
   17695 
   17696 
   17697 fi
   17698 
   17699 
   17700 
   17701 
   17702 
   17703 
   17704 
   17705 		CWARNFLAGS="$BASE_CFLAGS"
   17706 		if  test "x$GCC" = xyes ; then
   17707 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   17708 		fi
   17709 
   17710 
   17711 
   17712 
   17713 
   17714 
   17715 
   17716 
   17717 # Check whether --enable-strict-compilation was given.
   17718 if test "${enable_strict_compilation+set}" = set; then :
   17719   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   17720 else
   17721   STRICT_COMPILE=no
   17722 fi
   17723 
   17724 
   17725 
   17726 
   17727 
   17728 
   17729 STRICT_CFLAGS=""
   17730 
   17731 
   17732 
   17733 
   17734 
   17735 
   17736 
   17737 
   17738 
   17739 
   17740 
   17741 
   17742 
   17743 xorg_testset_save_CFLAGS="$CFLAGS"
   17744 
   17745 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17746 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17747 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17748 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17749 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17750   $as_echo_n "(cached) " >&6
   17751 else
   17752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17753 /* end confdefs.h.  */
   17754 int i;
   17755 _ACEOF
   17756 if ac_fn_c_try_compile "$LINENO"; then :
   17757   xorg_cv_cc_flag_unknown_warning_option=yes
   17758 else
   17759   xorg_cv_cc_flag_unknown_warning_option=no
   17760 fi
   17761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17762 fi
   17763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17764 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17765 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17766 	CFLAGS="$xorg_testset_save_CFLAGS"
   17767 fi
   17768 
   17769 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17770 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17771 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17772 	fi
   17773 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17774 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17775 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17776 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17777   $as_echo_n "(cached) " >&6
   17778 else
   17779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17780 /* end confdefs.h.  */
   17781 int i;
   17782 _ACEOF
   17783 if ac_fn_c_try_compile "$LINENO"; then :
   17784   xorg_cv_cc_flag_unused_command_line_argument=yes
   17785 else
   17786   xorg_cv_cc_flag_unused_command_line_argument=no
   17787 fi
   17788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17789 fi
   17790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17791 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17792 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17793 	CFLAGS="$xorg_testset_save_CFLAGS"
   17794 fi
   17795 
   17796 found="no"
   17797 
   17798 	if test $found = "no" ; then
   17799 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17800 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17801 		fi
   17802 
   17803 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17804 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17805 		fi
   17806 
   17807 		CFLAGS="$CFLAGS -pedantic"
   17808 
   17809 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   17810 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   17811 		cacheid=xorg_cv_cc_flag__pedantic
   17812 		if eval \${$cacheid+:} false; then :
   17813   $as_echo_n "(cached) " >&6
   17814 else
   17815   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17816 /* end confdefs.h.  */
   17817 int i;
   17818 int
   17819 main ()
   17820 {
   17821 
   17822   ;
   17823   return 0;
   17824 }
   17825 _ACEOF
   17826 if ac_fn_c_try_link "$LINENO"; then :
   17827   eval $cacheid=yes
   17828 else
   17829   eval $cacheid=no
   17830 fi
   17831 rm -f core conftest.err conftest.$ac_objext \
   17832     conftest$ac_exeext conftest.$ac_ext
   17833 fi
   17834 
   17835 
   17836 		CFLAGS="$xorg_testset_save_CFLAGS"
   17837 
   17838 		eval supported=\$$cacheid
   17839 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17840 $as_echo "$supported" >&6; }
   17841 		if test "$supported" = "yes" ; then
   17842 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   17843 			found="yes"
   17844 		fi
   17845 	fi
   17846 
   17847 
   17848 
   17849 
   17850 
   17851 
   17852 
   17853 
   17854 
   17855 
   17856 
   17857 
   17858 
   17859 
   17860 
   17861 xorg_testset_save_CFLAGS="$CFLAGS"
   17862 
   17863 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17864 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17865 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17866 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17867 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17868   $as_echo_n "(cached) " >&6
   17869 else
   17870   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17871 /* end confdefs.h.  */
   17872 int i;
   17873 _ACEOF
   17874 if ac_fn_c_try_compile "$LINENO"; then :
   17875   xorg_cv_cc_flag_unknown_warning_option=yes
   17876 else
   17877   xorg_cv_cc_flag_unknown_warning_option=no
   17878 fi
   17879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17880 fi
   17881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17882 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17883 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17884 	CFLAGS="$xorg_testset_save_CFLAGS"
   17885 fi
   17886 
   17887 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17888 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17889 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17890 	fi
   17891 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17892 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17893 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17894 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17895   $as_echo_n "(cached) " >&6
   17896 else
   17897   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17898 /* end confdefs.h.  */
   17899 int i;
   17900 _ACEOF
   17901 if ac_fn_c_try_compile "$LINENO"; then :
   17902   xorg_cv_cc_flag_unused_command_line_argument=yes
   17903 else
   17904   xorg_cv_cc_flag_unused_command_line_argument=no
   17905 fi
   17906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17907 fi
   17908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17909 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17910 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17911 	CFLAGS="$xorg_testset_save_CFLAGS"
   17912 fi
   17913 
   17914 found="no"
   17915 
   17916 	if test $found = "no" ; then
   17917 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17918 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17919 		fi
   17920 
   17921 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17922 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17923 		fi
   17924 
   17925 		CFLAGS="$CFLAGS -Werror"
   17926 
   17927 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   17928 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   17929 		cacheid=xorg_cv_cc_flag__Werror
   17930 		if eval \${$cacheid+:} false; then :
   17931   $as_echo_n "(cached) " >&6
   17932 else
   17933   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17934 /* end confdefs.h.  */
   17935 int i;
   17936 int
   17937 main ()
   17938 {
   17939 
   17940   ;
   17941   return 0;
   17942 }
   17943 _ACEOF
   17944 if ac_fn_c_try_link "$LINENO"; then :
   17945   eval $cacheid=yes
   17946 else
   17947   eval $cacheid=no
   17948 fi
   17949 rm -f core conftest.err conftest.$ac_objext \
   17950     conftest$ac_exeext conftest.$ac_ext
   17951 fi
   17952 
   17953 
   17954 		CFLAGS="$xorg_testset_save_CFLAGS"
   17955 
   17956 		eval supported=\$$cacheid
   17957 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17958 $as_echo "$supported" >&6; }
   17959 		if test "$supported" = "yes" ; then
   17960 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   17961 			found="yes"
   17962 		fi
   17963 	fi
   17964 
   17965 	if test $found = "no" ; then
   17966 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17967 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17968 		fi
   17969 
   17970 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17971 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17972 		fi
   17973 
   17974 		CFLAGS="$CFLAGS -errwarn"
   17975 
   17976 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   17977 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   17978 		cacheid=xorg_cv_cc_flag__errwarn
   17979 		if eval \${$cacheid+:} false; then :
   17980   $as_echo_n "(cached) " >&6
   17981 else
   17982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17983 /* end confdefs.h.  */
   17984 int i;
   17985 int
   17986 main ()
   17987 {
   17988 
   17989   ;
   17990   return 0;
   17991 }
   17992 _ACEOF
   17993 if ac_fn_c_try_link "$LINENO"; then :
   17994   eval $cacheid=yes
   17995 else
   17996   eval $cacheid=no
   17997 fi
   17998 rm -f core conftest.err conftest.$ac_objext \
   17999     conftest$ac_exeext conftest.$ac_ext
   18000 fi
   18001 
   18002 
   18003 		CFLAGS="$xorg_testset_save_CFLAGS"
   18004 
   18005 		eval supported=\$$cacheid
   18006 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18007 $as_echo "$supported" >&6; }
   18008 		if test "$supported" = "yes" ; then
   18009 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   18010 			found="yes"
   18011 		fi
   18012 	fi
   18013 
   18014 
   18015 
   18016 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   18017 # activate it with -Werror, so we add it here explicitly.
   18018 
   18019 
   18020 
   18021 
   18022 
   18023 
   18024 
   18025 
   18026 
   18027 
   18028 
   18029 
   18030 
   18031 xorg_testset_save_CFLAGS="$CFLAGS"
   18032 
   18033 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18034 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18035 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18036 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18037 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   18038   $as_echo_n "(cached) " >&6
   18039 else
   18040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18041 /* end confdefs.h.  */
   18042 int i;
   18043 _ACEOF
   18044 if ac_fn_c_try_compile "$LINENO"; then :
   18045   xorg_cv_cc_flag_unknown_warning_option=yes
   18046 else
   18047   xorg_cv_cc_flag_unknown_warning_option=no
   18048 fi
   18049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18050 fi
   18051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18052 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18053 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18054 	CFLAGS="$xorg_testset_save_CFLAGS"
   18055 fi
   18056 
   18057 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18058 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18059 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18060 	fi
   18061 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18062 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18063 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18064 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18065   $as_echo_n "(cached) " >&6
   18066 else
   18067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18068 /* end confdefs.h.  */
   18069 int i;
   18070 _ACEOF
   18071 if ac_fn_c_try_compile "$LINENO"; then :
   18072   xorg_cv_cc_flag_unused_command_line_argument=yes
   18073 else
   18074   xorg_cv_cc_flag_unused_command_line_argument=no
   18075 fi
   18076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18077 fi
   18078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18079 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18080 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18081 	CFLAGS="$xorg_testset_save_CFLAGS"
   18082 fi
   18083 
   18084 found="no"
   18085 
   18086 	if test $found = "no" ; then
   18087 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18088 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18089 		fi
   18090 
   18091 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18092 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18093 		fi
   18094 
   18095 		CFLAGS="$CFLAGS -Werror=attributes"
   18096 
   18097 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   18098 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   18099 		cacheid=xorg_cv_cc_flag__Werror_attributes
   18100 		if eval \${$cacheid+:} false; then :
   18101   $as_echo_n "(cached) " >&6
   18102 else
   18103   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18104 /* end confdefs.h.  */
   18105 int i;
   18106 int
   18107 main ()
   18108 {
   18109 
   18110   ;
   18111   return 0;
   18112 }
   18113 _ACEOF
   18114 if ac_fn_c_try_link "$LINENO"; then :
   18115   eval $cacheid=yes
   18116 else
   18117   eval $cacheid=no
   18118 fi
   18119 rm -f core conftest.err conftest.$ac_objext \
   18120     conftest$ac_exeext conftest.$ac_ext
   18121 fi
   18122 
   18123 
   18124 		CFLAGS="$xorg_testset_save_CFLAGS"
   18125 
   18126 		eval supported=\$$cacheid
   18127 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18128 $as_echo "$supported" >&6; }
   18129 		if test "$supported" = "yes" ; then
   18130 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   18131 			found="yes"
   18132 		fi
   18133 	fi
   18134 
   18135 
   18136 
   18137 if test "x$STRICT_COMPILE" = "xyes"; then
   18138     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   18139     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   18140 fi
   18141 
   18142 
   18143 
   18144 
   18145 
   18146 
   18147 cat >>confdefs.h <<_ACEOF
   18148 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   18149 _ACEOF
   18150 
   18151 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   18152 	if test "x$PVM" = "x"; then
   18153 		PVM="0"
   18154 	fi
   18155 
   18156 cat >>confdefs.h <<_ACEOF
   18157 #define PACKAGE_VERSION_MINOR $PVM
   18158 _ACEOF
   18159 
   18160 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   18161 	if test "x$PVP" = "x"; then
   18162 		PVP="0"
   18163 	fi
   18164 
   18165 cat >>confdefs.h <<_ACEOF
   18166 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   18167 _ACEOF
   18168 
   18169 
   18170 
   18171 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   18172 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   18173 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   18174 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   18175 
   18176 
   18177 
   18178 
   18179 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   18180 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   18181 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   18182 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   18183 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   18184 
   18185 
   18186 
   18187 
   18188 
   18189 
   18190 if test x$APP_MAN_SUFFIX = x    ; then
   18191     APP_MAN_SUFFIX=1
   18192 fi
   18193 if test x$APP_MAN_DIR = x    ; then
   18194     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   18195 fi
   18196 
   18197 if test x$LIB_MAN_SUFFIX = x    ; then
   18198     LIB_MAN_SUFFIX=3
   18199 fi
   18200 if test x$LIB_MAN_DIR = x    ; then
   18201     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   18202 fi
   18203 
   18204 if test x$FILE_MAN_SUFFIX = x    ; then
   18205     case $host_os in
   18206 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   18207 	*)		FILE_MAN_SUFFIX=5  ;;
   18208     esac
   18209 fi
   18210 if test x$FILE_MAN_DIR = x    ; then
   18211     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   18212 fi
   18213 
   18214 if test x$MISC_MAN_SUFFIX = x    ; then
   18215     case $host_os in
   18216 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   18217 	*)		MISC_MAN_SUFFIX=7  ;;
   18218     esac
   18219 fi
   18220 if test x$MISC_MAN_DIR = x    ; then
   18221     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   18222 fi
   18223 
   18224 if test x$DRIVER_MAN_SUFFIX = x    ; then
   18225     case $host_os in
   18226 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   18227 	*)		DRIVER_MAN_SUFFIX=4  ;;
   18228     esac
   18229 fi
   18230 if test x$DRIVER_MAN_DIR = x    ; then
   18231     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   18232 fi
   18233 
   18234 if test x$ADMIN_MAN_SUFFIX = x    ; then
   18235     case $host_os in
   18236 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   18237 	*)		ADMIN_MAN_SUFFIX=8  ;;
   18238     esac
   18239 fi
   18240 if test x$ADMIN_MAN_DIR = x    ; then
   18241     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   18242 fi
   18243 
   18244 
   18245 
   18246 
   18247 
   18248 
   18249 
   18250 
   18251 
   18252 
   18253 
   18254 
   18255 
   18256 
   18257 
   18258 XORG_MAN_PAGE="X Version 11"
   18259 
   18260 MAN_SUBSTS="\
   18261 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   18262 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   18263 	-e 's|__xservername__|Xorg|g' \
   18264 	-e 's|__xconfigfile__|xorg.conf|g' \
   18265 	-e 's|__projectroot__|\$(prefix)|g' \
   18266 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   18267 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   18268 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   18269 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   18270 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   18271 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   18272 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   18273 
   18274 
   18275 
   18276 # Check whether --enable-silent-rules was given.
   18277 if test "${enable_silent_rules+set}" = set; then :
   18278   enableval=$enable_silent_rules;
   18279 fi
   18280 
   18281 case $enable_silent_rules in # (((
   18282   yes) AM_DEFAULT_VERBOSITY=0;;
   18283    no) AM_DEFAULT_VERBOSITY=1;;
   18284     *) AM_DEFAULT_VERBOSITY=0;;
   18285 esac
   18286 am_make=${MAKE-make}
   18287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   18288 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   18289 if ${am_cv_make_support_nested_variables+:} false; then :
   18290   $as_echo_n "(cached) " >&6
   18291 else
   18292   if $as_echo 'TRUE=$(BAR$(V))
   18293 BAR0=false
   18294 BAR1=true
   18295 V=1
   18296 am__doit:
   18297 	@$(TRUE)
   18298 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   18299   am_cv_make_support_nested_variables=yes
   18300 else
   18301   am_cv_make_support_nested_variables=no
   18302 fi
   18303 fi
   18304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   18305 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   18306 if test $am_cv_make_support_nested_variables = yes; then
   18307     AM_V='$(V)'
   18308   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   18309 else
   18310   AM_V=$AM_DEFAULT_VERBOSITY
   18311   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   18312 fi
   18313 AM_BACKSLASH='\'
   18314 
   18315 
   18316 
   18317 
   18318 # Check whether --enable-docs was given.
   18319 if test "${enable_docs+set}" = set; then :
   18320   enableval=$enable_docs; build_docs=$enableval
   18321 else
   18322   build_docs=yes
   18323 fi
   18324 
   18325 
   18326  if test x$build_docs = xyes; then
   18327   ENABLE_DOCS_TRUE=
   18328   ENABLE_DOCS_FALSE='#'
   18329 else
   18330   ENABLE_DOCS_TRUE='#'
   18331   ENABLE_DOCS_FALSE=
   18332 fi
   18333 
   18334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
   18335 $as_echo_n "checking whether to build documentation... " >&6; }
   18336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_docs" >&5
   18337 $as_echo "$build_docs" >&6; }
   18338 
   18339 
   18340 
   18341 
   18342 
   18343 # Check whether --with-xmlto was given.
   18344 if test "${with_xmlto+set}" = set; then :
   18345   withval=$with_xmlto; use_xmlto=$withval
   18346 else
   18347   use_xmlto=auto
   18348 fi
   18349 
   18350 
   18351 
   18352 if test "x$use_xmlto" = x"auto"; then
   18353    # Extract the first word of "xmlto", so it can be a program name with args.
   18354 set dummy xmlto; ac_word=$2
   18355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18356 $as_echo_n "checking for $ac_word... " >&6; }
   18357 if ${ac_cv_path_XMLTO+:} false; then :
   18358   $as_echo_n "(cached) " >&6
   18359 else
   18360   case $XMLTO in
   18361   [\\/]* | ?:[\\/]*)
   18362   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   18363   ;;
   18364   *)
   18365   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18366 for as_dir in $PATH
   18367 do
   18368   IFS=$as_save_IFS
   18369   test -z "$as_dir" && as_dir=.
   18370     for ac_exec_ext in '' $ac_executable_extensions; do
   18371   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18372     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   18373     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18374     break 2
   18375   fi
   18376 done
   18377   done
   18378 IFS=$as_save_IFS
   18379 
   18380   ;;
   18381 esac
   18382 fi
   18383 XMLTO=$ac_cv_path_XMLTO
   18384 if test -n "$XMLTO"; then
   18385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   18386 $as_echo "$XMLTO" >&6; }
   18387 else
   18388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18389 $as_echo "no" >&6; }
   18390 fi
   18391 
   18392 
   18393    if test "x$XMLTO" = "x"; then
   18394         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   18395 $as_echo "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   18396 	have_xmlto=no
   18397    else
   18398         have_xmlto=yes
   18399    fi
   18400 elif test "x$use_xmlto" = x"yes" ; then
   18401    # Extract the first word of "xmlto", so it can be a program name with args.
   18402 set dummy xmlto; ac_word=$2
   18403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18404 $as_echo_n "checking for $ac_word... " >&6; }
   18405 if ${ac_cv_path_XMLTO+:} false; then :
   18406   $as_echo_n "(cached) " >&6
   18407 else
   18408   case $XMLTO in
   18409   [\\/]* | ?:[\\/]*)
   18410   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   18411   ;;
   18412   *)
   18413   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18414 for as_dir in $PATH
   18415 do
   18416   IFS=$as_save_IFS
   18417   test -z "$as_dir" && as_dir=.
   18418     for ac_exec_ext in '' $ac_executable_extensions; do
   18419   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18420     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   18421     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18422     break 2
   18423   fi
   18424 done
   18425   done
   18426 IFS=$as_save_IFS
   18427 
   18428   ;;
   18429 esac
   18430 fi
   18431 XMLTO=$ac_cv_path_XMLTO
   18432 if test -n "$XMLTO"; then
   18433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   18434 $as_echo "$XMLTO" >&6; }
   18435 else
   18436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18437 $as_echo "no" >&6; }
   18438 fi
   18439 
   18440 
   18441    if test "x$XMLTO" = "x"; then
   18442         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   18443    fi
   18444    have_xmlto=yes
   18445 elif test "x$use_xmlto" = x"no" ; then
   18446    if test "x$XMLTO" != "x"; then
   18447       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   18448 $as_echo "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   18449    fi
   18450    have_xmlto=no
   18451 else
   18452    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   18453 fi
   18454 
   18455 # Test for a minimum version of xmlto, if provided.
   18456 if test "$have_xmlto" = yes; then
   18457     # scrape the xmlto version
   18458     { $as_echo "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   18459 $as_echo_n "checking the xmlto version... " >&6; }
   18460     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   18461     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   18462 $as_echo "$xmlto_version" >&6; }
   18463     as_arg_v1=$xmlto_version
   18464 as_arg_v2=0.0.22
   18465 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   18466 case $? in #(
   18467   1) :
   18468     if test "x$use_xmlto" = xauto; then
   18469             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&5
   18470 $as_echo "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&2;}
   18471             have_xmlto=no
   18472         else
   18473             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.22 needed" "$LINENO" 5
   18474         fi ;; #(
   18475   0) :
   18476      ;; #(
   18477   2) :
   18478      ;; #(
   18479   *) :
   18480      ;;
   18481 esac
   18482 fi
   18483 
   18484 # Test for the ability of xmlto to generate a text target
   18485 have_xmlto_text=no
   18486 cat > conftest.xml << "EOF"
   18487 EOF
   18488 if test "$have_xmlto" = yes; then :
   18489   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1; then :
   18490   have_xmlto_text=yes
   18491 else
   18492   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   18493 $as_echo "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;}
   18494 fi
   18495 fi
   18496 rm -f conftest.xml
   18497  if test $have_xmlto_text = yes; then
   18498   HAVE_XMLTO_TEXT_TRUE=
   18499   HAVE_XMLTO_TEXT_FALSE='#'
   18500 else
   18501   HAVE_XMLTO_TEXT_TRUE='#'
   18502   HAVE_XMLTO_TEXT_FALSE=
   18503 fi
   18504 
   18505  if test "$have_xmlto" = yes; then
   18506   HAVE_XMLTO_TRUE=
   18507   HAVE_XMLTO_FALSE='#'
   18508 else
   18509   HAVE_XMLTO_TRUE='#'
   18510   HAVE_XMLTO_FALSE=
   18511 fi
   18512 
   18513 
   18514 
   18515 
   18516 
   18517 
   18518 # Check whether --with-fop was given.
   18519 if test "${with_fop+set}" = set; then :
   18520   withval=$with_fop; use_fop=$withval
   18521 else
   18522   use_fop=auto
   18523 fi
   18524 
   18525 
   18526 
   18527 if test "x$use_fop" = x"auto"; then
   18528    # Extract the first word of "fop", so it can be a program name with args.
   18529 set dummy fop; ac_word=$2
   18530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18531 $as_echo_n "checking for $ac_word... " >&6; }
   18532 if ${ac_cv_path_FOP+:} false; then :
   18533   $as_echo_n "(cached) " >&6
   18534 else
   18535   case $FOP in
   18536   [\\/]* | ?:[\\/]*)
   18537   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   18538   ;;
   18539   *)
   18540   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18541 for as_dir in $PATH
   18542 do
   18543   IFS=$as_save_IFS
   18544   test -z "$as_dir" && as_dir=.
   18545     for ac_exec_ext in '' $ac_executable_extensions; do
   18546   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18547     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   18548     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18549     break 2
   18550   fi
   18551 done
   18552   done
   18553 IFS=$as_save_IFS
   18554 
   18555   ;;
   18556 esac
   18557 fi
   18558 FOP=$ac_cv_path_FOP
   18559 if test -n "$FOP"; then
   18560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   18561 $as_echo "$FOP" >&6; }
   18562 else
   18563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18564 $as_echo "no" >&6; }
   18565 fi
   18566 
   18567 
   18568    if test "x$FOP" = "x"; then
   18569         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   18570 $as_echo "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   18571 	have_fop=no
   18572    else
   18573         have_fop=yes
   18574    fi
   18575 elif test "x$use_fop" = x"yes" ; then
   18576    # Extract the first word of "fop", so it can be a program name with args.
   18577 set dummy fop; ac_word=$2
   18578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18579 $as_echo_n "checking for $ac_word... " >&6; }
   18580 if ${ac_cv_path_FOP+:} false; then :
   18581   $as_echo_n "(cached) " >&6
   18582 else
   18583   case $FOP in
   18584   [\\/]* | ?:[\\/]*)
   18585   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   18586   ;;
   18587   *)
   18588   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18589 for as_dir in $PATH
   18590 do
   18591   IFS=$as_save_IFS
   18592   test -z "$as_dir" && as_dir=.
   18593     for ac_exec_ext in '' $ac_executable_extensions; do
   18594   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18595     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   18596     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18597     break 2
   18598   fi
   18599 done
   18600   done
   18601 IFS=$as_save_IFS
   18602 
   18603   ;;
   18604 esac
   18605 fi
   18606 FOP=$ac_cv_path_FOP
   18607 if test -n "$FOP"; then
   18608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   18609 $as_echo "$FOP" >&6; }
   18610 else
   18611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18612 $as_echo "no" >&6; }
   18613 fi
   18614 
   18615 
   18616    if test "x$FOP" = "x"; then
   18617         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   18618    fi
   18619    have_fop=yes
   18620 elif test "x$use_fop" = x"no" ; then
   18621    if test "x$FOP" != "x"; then
   18622       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   18623 $as_echo "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   18624    fi
   18625    have_fop=no
   18626 else
   18627    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   18628 fi
   18629 
   18630 # Test for a minimum version of fop, if provided.
   18631 
   18632  if test "$have_fop" = yes; then
   18633   HAVE_FOP_TRUE=
   18634   HAVE_FOP_FALSE='#'
   18635 else
   18636   HAVE_FOP_TRUE='#'
   18637   HAVE_FOP_FALSE=
   18638 fi
   18639 
   18640 
   18641 
   18642 
   18643 # Preserves the interface, should it be implemented later
   18644 
   18645 
   18646 
   18647 # Check whether --with-xsltproc was given.
   18648 if test "${with_xsltproc+set}" = set; then :
   18649   withval=$with_xsltproc; use_xsltproc=$withval
   18650 else
   18651   use_xsltproc=auto
   18652 fi
   18653 
   18654 
   18655 
   18656 if test "x$use_xsltproc" = x"auto"; then
   18657    # Extract the first word of "xsltproc", so it can be a program name with args.
   18658 set dummy xsltproc; ac_word=$2
   18659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18660 $as_echo_n "checking for $ac_word... " >&6; }
   18661 if ${ac_cv_path_XSLTPROC+:} false; then :
   18662   $as_echo_n "(cached) " >&6
   18663 else
   18664   case $XSLTPROC in
   18665   [\\/]* | ?:[\\/]*)
   18666   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   18667   ;;
   18668   *)
   18669   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18670 for as_dir in $PATH
   18671 do
   18672   IFS=$as_save_IFS
   18673   test -z "$as_dir" && as_dir=.
   18674     for ac_exec_ext in '' $ac_executable_extensions; do
   18675   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18676     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
   18677     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18678     break 2
   18679   fi
   18680 done
   18681   done
   18682 IFS=$as_save_IFS
   18683 
   18684   ;;
   18685 esac
   18686 fi
   18687 XSLTPROC=$ac_cv_path_XSLTPROC
   18688 if test -n "$XSLTPROC"; then
   18689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   18690 $as_echo "$XSLTPROC" >&6; }
   18691 else
   18692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18693 $as_echo "no" >&6; }
   18694 fi
   18695 
   18696 
   18697    if test "x$XSLTPROC" = "x"; then
   18698         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xsltproc not found - cannot transform XML documents" >&5
   18699 $as_echo "$as_me: WARNING: xsltproc not found - cannot transform XML documents" >&2;}
   18700 	have_xsltproc=no
   18701    else
   18702         have_xsltproc=yes
   18703    fi
   18704 elif test "x$use_xsltproc" = x"yes" ; then
   18705    # Extract the first word of "xsltproc", so it can be a program name with args.
   18706 set dummy xsltproc; ac_word=$2
   18707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18708 $as_echo_n "checking for $ac_word... " >&6; }
   18709 if ${ac_cv_path_XSLTPROC+:} false; then :
   18710   $as_echo_n "(cached) " >&6
   18711 else
   18712   case $XSLTPROC in
   18713   [\\/]* | ?:[\\/]*)
   18714   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   18715   ;;
   18716   *)
   18717   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18718 for as_dir in $PATH
   18719 do
   18720   IFS=$as_save_IFS
   18721   test -z "$as_dir" && as_dir=.
   18722     for ac_exec_ext in '' $ac_executable_extensions; do
   18723   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18724     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
   18725     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18726     break 2
   18727   fi
   18728 done
   18729   done
   18730 IFS=$as_save_IFS
   18731 
   18732   ;;
   18733 esac
   18734 fi
   18735 XSLTPROC=$ac_cv_path_XSLTPROC
   18736 if test -n "$XSLTPROC"; then
   18737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   18738 $as_echo "$XSLTPROC" >&6; }
   18739 else
   18740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18741 $as_echo "no" >&6; }
   18742 fi
   18743 
   18744 
   18745    if test "x$XSLTPROC" = "x"; then
   18746         as_fn_error $? "--with-xsltproc=yes specified but xsltproc not found in PATH" "$LINENO" 5
   18747    fi
   18748    have_xsltproc=yes
   18749 elif test "x$use_xsltproc" = x"no" ; then
   18750    if test "x$XSLTPROC" != "x"; then
   18751       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&5
   18752 $as_echo "$as_me: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&2;}
   18753    fi
   18754    have_xsltproc=no
   18755 else
   18756    as_fn_error $? "--with-xsltproc expects 'yes' or 'no'" "$LINENO" 5
   18757 fi
   18758 
   18759  if test "$have_xsltproc" = yes; then
   18760   HAVE_XSLTPROC_TRUE=
   18761   HAVE_XSLTPROC_FALSE='#'
   18762 else
   18763   HAVE_XSLTPROC_TRUE='#'
   18764   HAVE_XSLTPROC_FALSE=
   18765 fi
   18766 
   18767 
   18768 
   18769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.8" >&5
   18770 $as_echo_n "checking for X.Org SGML entities >= 1.8... " >&6; }
   18771 XORG_SGML_PATH=
   18772 if test -n "$PKG_CONFIG" && \
   18773     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.8\""; } >&5
   18774   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.8") 2>&5
   18775   ac_status=$?
   18776   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18777   test $ac_status = 0; }; then
   18778   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   18779 else
   18780   :
   18781 
   18782 fi
   18783 
   18784 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   18785 # the path and the name of the doc stylesheet
   18786 if test "x$XORG_SGML_PATH" != "x" ; then
   18787    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   18788 $as_echo "$XORG_SGML_PATH" >&6; }
   18789    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   18790    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   18791 else
   18792    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18793 $as_echo "no" >&6; }
   18794 fi
   18795 
   18796 
   18797 
   18798 
   18799  if test "x$XSL_STYLESHEET" != "x"; then
   18800   HAVE_STYLESHEETS_TRUE=
   18801   HAVE_STYLESHEETS_FALSE='#'
   18802 else
   18803   HAVE_STYLESHEETS_TRUE='#'
   18804   HAVE_STYLESHEETS_FALSE=
   18805 fi
   18806 
   18807 
   18808 
   18809 # Checks for programs.
   18810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   18811 $as_echo_n "checking whether ln -s works... " >&6; }
   18812 LN_S=$as_ln_s
   18813 if test "$LN_S" = "ln -s"; then
   18814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18815 $as_echo "yes" >&6; }
   18816 else
   18817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   18818 $as_echo "no, using $LN_S" >&6; }
   18819 fi
   18820 
   18821 
   18822 # Checks for libraries.
   18823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing recvfrom" >&5
   18824 $as_echo_n "checking for library containing recvfrom... " >&6; }
   18825 if ${ac_cv_search_recvfrom+:} false; then :
   18826   $as_echo_n "(cached) " >&6
   18827 else
   18828   ac_func_search_save_LIBS=$LIBS
   18829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18830 /* end confdefs.h.  */
   18831 
   18832 /* Override any GCC internal prototype to avoid an error.
   18833    Use char because int might match the return type of a GCC
   18834    builtin and then its argument prototype would still apply.  */
   18835 #ifdef __cplusplus
   18836 extern "C"
   18837 #endif
   18838 char recvfrom ();
   18839 int
   18840 main ()
   18841 {
   18842 return recvfrom ();
   18843   ;
   18844   return 0;
   18845 }
   18846 _ACEOF
   18847 for ac_lib in '' socket; do
   18848   if test -z "$ac_lib"; then
   18849     ac_res="none required"
   18850   else
   18851     ac_res=-l$ac_lib
   18852     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   18853   fi
   18854   if ac_fn_c_try_link "$LINENO"; then :
   18855   ac_cv_search_recvfrom=$ac_res
   18856 fi
   18857 rm -f core conftest.err conftest.$ac_objext \
   18858     conftest$ac_exeext
   18859   if ${ac_cv_search_recvfrom+:} false; then :
   18860   break
   18861 fi
   18862 done
   18863 if ${ac_cv_search_recvfrom+:} false; then :
   18864 
   18865 else
   18866   ac_cv_search_recvfrom=no
   18867 fi
   18868 rm conftest.$ac_ext
   18869 LIBS=$ac_func_search_save_LIBS
   18870 fi
   18871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_recvfrom" >&5
   18872 $as_echo "$ac_cv_search_recvfrom" >&6; }
   18873 ac_res=$ac_cv_search_recvfrom
   18874 if test "$ac_res" != no; then :
   18875   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   18876 
   18877 fi
   18878 
   18879 
   18880 # Checks for library functions.
   18881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for arc4random_buf in -lbsd" >&5
   18882 $as_echo_n "checking for arc4random_buf in -lbsd... " >&6; }
   18883 if ${ac_cv_lib_bsd_arc4random_buf+:} false; then :
   18884   $as_echo_n "(cached) " >&6
   18885 else
   18886   ac_check_lib_save_LIBS=$LIBS
   18887 LIBS="-lbsd  $LIBS"
   18888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18889 /* end confdefs.h.  */
   18890 
   18891 /* Override any GCC internal prototype to avoid an error.
   18892    Use char because int might match the return type of a GCC
   18893    builtin and then its argument prototype would still apply.  */
   18894 #ifdef __cplusplus
   18895 extern "C"
   18896 #endif
   18897 char arc4random_buf ();
   18898 int
   18899 main ()
   18900 {
   18901 return arc4random_buf ();
   18902   ;
   18903   return 0;
   18904 }
   18905 _ACEOF
   18906 if ac_fn_c_try_link "$LINENO"; then :
   18907   ac_cv_lib_bsd_arc4random_buf=yes
   18908 else
   18909   ac_cv_lib_bsd_arc4random_buf=no
   18910 fi
   18911 rm -f core conftest.err conftest.$ac_objext \
   18912     conftest$ac_exeext conftest.$ac_ext
   18913 LIBS=$ac_check_lib_save_LIBS
   18914 fi
   18915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_arc4random_buf" >&5
   18916 $as_echo "$ac_cv_lib_bsd_arc4random_buf" >&6; }
   18917 if test "x$ac_cv_lib_bsd_arc4random_buf" = xyes; then :
   18918   cat >>confdefs.h <<_ACEOF
   18919 #define HAVE_LIBBSD 1
   18920 _ACEOF
   18921 
   18922   LIBS="-lbsd $LIBS"
   18923 
   18924 fi
   18925 
   18926 for ac_func in srand48 lrand48 arc4random_buf
   18927 do :
   18928   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   18929 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   18930 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   18931   cat >>confdefs.h <<_ACEOF
   18932 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   18933 _ACEOF
   18934 
   18935 fi
   18936 done
   18937 
   18938 
   18939 # Obtain compiler/linker options for depedencies
   18940 
   18941 pkg_failed=no
   18942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XDMCP" >&5
   18943 $as_echo_n "checking for XDMCP... " >&6; }
   18944 
   18945 if test -n "$XDMCP_CFLAGS"; then
   18946     pkg_cv_XDMCP_CFLAGS="$XDMCP_CFLAGS"
   18947  elif test -n "$PKG_CONFIG"; then
   18948     if test -n "$PKG_CONFIG" && \
   18949     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5
   18950   ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
   18951   ac_status=$?
   18952   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18953   test $ac_status = 0; }; then
   18954   pkg_cv_XDMCP_CFLAGS=`$PKG_CONFIG --cflags "xproto" 2>/dev/null`
   18955 else
   18956   pkg_failed=yes
   18957 fi
   18958  else
   18959     pkg_failed=untried
   18960 fi
   18961 if test -n "$XDMCP_LIBS"; then
   18962     pkg_cv_XDMCP_LIBS="$XDMCP_LIBS"
   18963  elif test -n "$PKG_CONFIG"; then
   18964     if test -n "$PKG_CONFIG" && \
   18965     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5
   18966   ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
   18967   ac_status=$?
   18968   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18969   test $ac_status = 0; }; then
   18970   pkg_cv_XDMCP_LIBS=`$PKG_CONFIG --libs "xproto" 2>/dev/null`
   18971 else
   18972   pkg_failed=yes
   18973 fi
   18974  else
   18975     pkg_failed=untried
   18976 fi
   18977 
   18978 
   18979 
   18980 if test $pkg_failed = yes; then
   18981 
   18982 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18983         _pkg_short_errors_supported=yes
   18984 else
   18985         _pkg_short_errors_supported=no
   18986 fi
   18987         if test $_pkg_short_errors_supported = yes; then
   18988 	        XDMCP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto" 2>&1`
   18989         else
   18990 	        XDMCP_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto" 2>&1`
   18991         fi
   18992 	# Put the nasty error message in config.log where it belongs
   18993 	echo "$XDMCP_PKG_ERRORS" >&5
   18994 
   18995 	as_fn_error $? "Package requirements (xproto) were not met:
   18996 
   18997 $XDMCP_PKG_ERRORS
   18998 
   18999 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19000 installed software in a non-standard prefix.
   19001 
   19002 Alternatively, you may set the environment variables XDMCP_CFLAGS
   19003 and XDMCP_LIBS to avoid the need to call pkg-config.
   19004 See the pkg-config man page for more details.
   19005 " "$LINENO" 5
   19006 elif test $pkg_failed = untried; then
   19007 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19008 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   19009 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19010 is in your PATH or set the PKG_CONFIG environment variable to the full
   19011 path to pkg-config.
   19012 
   19013 Alternatively, you may set the environment variables XDMCP_CFLAGS
   19014 and XDMCP_LIBS to avoid the need to call pkg-config.
   19015 See the pkg-config man page for more details.
   19016 
   19017 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19018 See \`config.log' for more details" "$LINENO" 5; }
   19019 else
   19020 	XDMCP_CFLAGS=$pkg_cv_XDMCP_CFLAGS
   19021 	XDMCP_LIBS=$pkg_cv_XDMCP_LIBS
   19022         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19023 $as_echo "yes" >&6; }
   19024 	:
   19025 fi
   19026 
   19027 if test -f ${srcdir}/Wraphelp.c; then
   19028 
   19029 $as_echo "#define HASXDMAUTH 1" >>confdefs.h
   19030 
   19031 	HASXDMAUTH=yes
   19032 else
   19033 	HASXDMAUTH=no
   19034 fi
   19035 
   19036  if test x$HASXDMAUTH = xyes; then
   19037   HASXDMAUTH_TRUE=
   19038   HASXDMAUTH_FALSE='#'
   19039 else
   19040   HASXDMAUTH_TRUE='#'
   19041   HASXDMAUTH_FALSE=
   19042 fi
   19043 
   19044 
   19045 # Allow checking code with lint, sparse, etc.
   19046 
   19047 
   19048 
   19049 
   19050 
   19051 # Check whether --with-lint was given.
   19052 if test "${with_lint+set}" = set; then :
   19053   withval=$with_lint; use_lint=$withval
   19054 else
   19055   use_lint=no
   19056 fi
   19057 
   19058 
   19059 # Obtain platform specific info like program name and options
   19060 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   19061 case $host_os in
   19062   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   19063 	lint_name=splint
   19064 	lint_options="-badflag"
   19065 	;;
   19066   *freebsd* | *netbsd*)
   19067 	lint_name=lint
   19068 	lint_options="-u -b"
   19069 	;;
   19070   *solaris*)
   19071 	lint_name=lint
   19072 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   19073 	;;
   19074 esac
   19075 
   19076 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   19077 if test "x$use_lint" = x"yes" ; then
   19078    # Extract the first word of "$lint_name", so it can be a program name with args.
   19079 set dummy $lint_name; ac_word=$2
   19080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19081 $as_echo_n "checking for $ac_word... " >&6; }
   19082 if ${ac_cv_path_LINT+:} false; then :
   19083   $as_echo_n "(cached) " >&6
   19084 else
   19085   case $LINT in
   19086   [\\/]* | ?:[\\/]*)
   19087   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   19088   ;;
   19089   *)
   19090   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19091 for as_dir in $PATH
   19092 do
   19093   IFS=$as_save_IFS
   19094   test -z "$as_dir" && as_dir=.
   19095     for ac_exec_ext in '' $ac_executable_extensions; do
   19096   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19097     ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
   19098     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19099     break 2
   19100   fi
   19101 done
   19102   done
   19103 IFS=$as_save_IFS
   19104 
   19105   ;;
   19106 esac
   19107 fi
   19108 LINT=$ac_cv_path_LINT
   19109 if test -n "$LINT"; then
   19110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   19111 $as_echo "$LINT" >&6; }
   19112 else
   19113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19114 $as_echo "no" >&6; }
   19115 fi
   19116 
   19117 
   19118    if test "x$LINT" = "x"; then
   19119         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   19120    fi
   19121 elif test "x$use_lint" = x"no" ; then
   19122    if test "x$LINT" != "x"; then
   19123       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   19124 $as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   19125    fi
   19126 else
   19127    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   19128 fi
   19129 
   19130 # User supplied flags override default flags
   19131 if test "x$LINT_FLAGS" != "x"; then
   19132    lint_options=$LINT_FLAGS
   19133 fi
   19134 
   19135 LINT_FLAGS=$lint_options
   19136 
   19137  if test "x$LINT" != x; then
   19138   LINT_TRUE=
   19139   LINT_FALSE='#'
   19140 else
   19141   LINT_TRUE='#'
   19142   LINT_FALSE=
   19143 fi
   19144 
   19145 
   19146 
   19147 
   19148 
   19149 # Check whether --enable-lint-library was given.
   19150 if test "${enable_lint_library+set}" = set; then :
   19151   enableval=$enable_lint_library; make_lint_lib=$enableval
   19152 else
   19153   make_lint_lib=no
   19154 fi
   19155 
   19156 
   19157 if test "x$make_lint_lib" = x"yes" ; then
   19158    LINTLIB=llib-lXdmcp.ln
   19159    if test "x$LINT" = "x"; then
   19160         as_fn_error $? "Cannot make lint library without --with-lint" "$LINENO" 5
   19161    fi
   19162 elif test "x$make_lint_lib" != x"no" ; then
   19163    as_fn_error $? "--enable-lint-library expects 'yes' or 'no'." "$LINENO" 5
   19164 fi
   19165 
   19166 
   19167  if test x$make_lint_lib != xno; then
   19168   MAKE_LINT_LIB_TRUE=
   19169   MAKE_LINT_LIB_FALSE='#'
   19170 else
   19171   MAKE_LINT_LIB_TRUE='#'
   19172   MAKE_LINT_LIB_FALSE=
   19173 fi
   19174 
   19175 
   19176 
   19177 
   19178 #  --enable-unit-tests
   19179 
   19180 
   19181 
   19182 
   19183 
   19184 # Check for different types of support on different platforms
   19185 case $host_os in
   19186     solaris*)
   19187         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for umem_alloc in -lumem" >&5
   19188 $as_echo_n "checking for umem_alloc in -lumem... " >&6; }
   19189 if ${ac_cv_lib_umem_umem_alloc+:} false; then :
   19190   $as_echo_n "(cached) " >&6
   19191 else
   19192   ac_check_lib_save_LIBS=$LIBS
   19193 LIBS="-lumem  $LIBS"
   19194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19195 /* end confdefs.h.  */
   19196 
   19197 /* Override any GCC internal prototype to avoid an error.
   19198    Use char because int might match the return type of a GCC
   19199    builtin and then its argument prototype would still apply.  */
   19200 #ifdef __cplusplus
   19201 extern "C"
   19202 #endif
   19203 char umem_alloc ();
   19204 int
   19205 main ()
   19206 {
   19207 return umem_alloc ();
   19208   ;
   19209   return 0;
   19210 }
   19211 _ACEOF
   19212 if ac_fn_c_try_link "$LINENO"; then :
   19213   ac_cv_lib_umem_umem_alloc=yes
   19214 else
   19215   ac_cv_lib_umem_umem_alloc=no
   19216 fi
   19217 rm -f core conftest.err conftest.$ac_objext \
   19218     conftest$ac_exeext conftest.$ac_ext
   19219 LIBS=$ac_check_lib_save_LIBS
   19220 fi
   19221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_umem_umem_alloc" >&5
   19222 $as_echo "$ac_cv_lib_umem_umem_alloc" >&6; }
   19223 if test "x$ac_cv_lib_umem_umem_alloc" = xyes; then :
   19224   malloc_debug_env='LD_PRELOAD=libumem.so UMEM_DEBUG=default'
   19225 fi
   19226 
   19227         ;;
   19228     *-gnu*) # GNU libc - Value is used as a single byte bit pattern,
   19229         # both directly and inverted, so should not be 0 or 255.
   19230         malloc_debug_env='MALLOC_PERTURB_=15'
   19231         ;;
   19232     darwin*)
   19233         malloc_debug_env='MallocPreScribble=1 MallocScribble=1 DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib'
   19234         ;;
   19235     *bsd*)
   19236         malloc_debug_env='MallocPreScribble=1 MallocScribble=1'
   19237         ;;
   19238 esac
   19239 
   19240 # User supplied flags override default flags
   19241 if test "x$XORG_MALLOC_DEBUG_ENV" != "x"; then
   19242     malloc_debug_env="$XORG_MALLOC_DEBUG_ENV"
   19243 fi
   19244 
   19245 XORG_MALLOC_DEBUG_ENV=$malloc_debug_env
   19246 
   19247 
   19248 
   19249 
   19250 
   19251 
   19252 
   19253 # Check whether --enable-unit-tests was given.
   19254 if test "${enable_unit_tests+set}" = set; then :
   19255   enableval=$enable_unit_tests; enable_unit_tests=$enableval
   19256 else
   19257   enable_unit_tests=yes
   19258 fi
   19259 
   19260 
   19261  if test "x$enable_unit_tests" != xno; then
   19262   ENABLE_UNIT_TESTS_TRUE=
   19263   ENABLE_UNIT_TESTS_FALSE='#'
   19264 else
   19265   ENABLE_UNIT_TESTS_TRUE='#'
   19266   ENABLE_UNIT_TESTS_FALSE=
   19267 fi
   19268 
   19269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build unit test cases" >&5
   19270 $as_echo_n "checking whether to build unit test cases... " >&6; }
   19271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_unit_tests" >&5
   19272 $as_echo "$enable_unit_tests" >&6; }
   19273 
   19274 
   19275 ac_config_files="$ac_config_files Makefile doc/Makefile test/Makefile xdmcp.pc"
   19276 
   19277 cat >confcache <<\_ACEOF
   19278 # This file is a shell script that caches the results of configure
   19279 # tests run on this system so they can be shared between configure
   19280 # scripts and configure runs, see configure's option --config-cache.
   19281 # It is not useful on other systems.  If it contains results you don't
   19282 # want to keep, you may remove or edit it.
   19283 #
   19284 # config.status only pays attention to the cache file if you give it
   19285 # the --recheck option to rerun configure.
   19286 #
   19287 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   19288 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   19289 # following values.
   19290 
   19291 _ACEOF
   19292 
   19293 # The following way of writing the cache mishandles newlines in values,
   19294 # but we know of no workaround that is simple, portable, and efficient.
   19295 # So, we kill variables containing newlines.
   19296 # Ultrix sh set writes to stderr and can't be redirected directly,
   19297 # and sets the high bit in the cache file unless we assign to the vars.
   19298 (
   19299   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   19300     eval ac_val=\$$ac_var
   19301     case $ac_val in #(
   19302     *${as_nl}*)
   19303       case $ac_var in #(
   19304       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   19305 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   19306       esac
   19307       case $ac_var in #(
   19308       _ | IFS | as_nl) ;; #(
   19309       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   19310       *) { eval $ac_var=; unset $ac_var;} ;;
   19311       esac ;;
   19312     esac
   19313   done
   19314 
   19315   (set) 2>&1 |
   19316     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   19317     *${as_nl}ac_space=\ *)
   19318       # `set' does not quote correctly, so add quotes: double-quote
   19319       # substitution turns \\\\ into \\, and sed turns \\ into \.
   19320       sed -n \
   19321 	"s/'/'\\\\''/g;
   19322 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   19323       ;; #(
   19324     *)
   19325       # `set' quotes correctly as required by POSIX, so do not add quotes.
   19326       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   19327       ;;
   19328     esac |
   19329     sort
   19330 ) |
   19331   sed '
   19332      /^ac_cv_env_/b end
   19333      t clear
   19334      :clear
   19335      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   19336      t end
   19337      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   19338      :end' >>confcache
   19339 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   19340   if test -w "$cache_file"; then
   19341     if test "x$cache_file" != "x/dev/null"; then
   19342       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   19343 $as_echo "$as_me: updating cache $cache_file" >&6;}
   19344       if test ! -f "$cache_file" || test -h "$cache_file"; then
   19345 	cat confcache >"$cache_file"
   19346       else
   19347         case $cache_file in #(
   19348         */* | ?:*)
   19349 	  mv -f confcache "$cache_file"$$ &&
   19350 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   19351         *)
   19352 	  mv -f confcache "$cache_file" ;;
   19353 	esac
   19354       fi
   19355     fi
   19356   else
   19357     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   19358 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   19359   fi
   19360 fi
   19361 rm -f confcache
   19362 
   19363 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   19364 # Let make expand exec_prefix.
   19365 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   19366 
   19367 DEFS=-DHAVE_CONFIG_H
   19368 
   19369 ac_libobjs=
   19370 ac_ltlibobjs=
   19371 U=
   19372 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   19373   # 1. Remove the extension, and $U if already installed.
   19374   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   19375   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   19376   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   19377   #    will be set to the directory where LIBOBJS objects are built.
   19378   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   19379   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   19380 done
   19381 LIBOBJS=$ac_libobjs
   19382 
   19383 LTLIBOBJS=$ac_ltlibobjs
   19384 
   19385 
   19386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   19387 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   19388    if test -n "$am_sleep_pid"; then
   19389      # Hide warnings about reused PIDs.
   19390      wait $am_sleep_pid 2>/dev/null
   19391    fi
   19392    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   19393 $as_echo "done" >&6; }
   19394 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   19395   as_fn_error $? "conditional \"AMDEP\" was never defined.
   19396 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19397 fi
   19398 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   19399   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   19400 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19401 fi
   19402  if test -n "$EXEEXT"; then
   19403   am__EXEEXT_TRUE=
   19404   am__EXEEXT_FALSE='#'
   19405 else
   19406   am__EXEEXT_TRUE='#'
   19407   am__EXEEXT_FALSE=
   19408 fi
   19409 
   19410 if test -z "${ENABLE_DOCS_TRUE}" && test -z "${ENABLE_DOCS_FALSE}"; then
   19411   as_fn_error $? "conditional \"ENABLE_DOCS\" was never defined.
   19412 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19413 fi
   19414 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   19415   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   19416 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19417 fi
   19418 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   19419   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   19420 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19421 fi
   19422 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   19423   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   19424 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19425 fi
   19426 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
   19427   as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
   19428 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19429 fi
   19430 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   19431   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   19432 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19433 fi
   19434 if test -z "${HASXDMAUTH_TRUE}" && test -z "${HASXDMAUTH_FALSE}"; then
   19435   as_fn_error $? "conditional \"HASXDMAUTH\" was never defined.
   19436 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19437 fi
   19438 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   19439   as_fn_error $? "conditional \"LINT\" was never defined.
   19440 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19441 fi
   19442 if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then
   19443   as_fn_error $? "conditional \"MAKE_LINT_LIB\" was never defined.
   19444 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19445 fi
   19446 if test -z "${ENABLE_UNIT_TESTS_TRUE}" && test -z "${ENABLE_UNIT_TESTS_FALSE}"; then
   19447   as_fn_error $? "conditional \"ENABLE_UNIT_TESTS\" was never defined.
   19448 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19449 fi
   19450 
   19451 : "${CONFIG_STATUS=./config.status}"
   19452 ac_write_fail=0
   19453 ac_clean_files_save=$ac_clean_files
   19454 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   19455 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   19456 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   19457 as_write_fail=0
   19458 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   19459 #! $SHELL
   19460 # Generated by $as_me.
   19461 # Run this file to recreate the current configuration.
   19462 # Compiler output produced by configure, useful for debugging
   19463 # configure, is in config.log if it exists.
   19464 
   19465 debug=false
   19466 ac_cs_recheck=false
   19467 ac_cs_silent=false
   19468 
   19469 SHELL=\${CONFIG_SHELL-$SHELL}
   19470 export SHELL
   19471 _ASEOF
   19472 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   19473 ## -------------------- ##
   19474 ## M4sh Initialization. ##
   19475 ## -------------------- ##
   19476 
   19477 # Be more Bourne compatible
   19478 DUALCASE=1; export DUALCASE # for MKS sh
   19479 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   19480   emulate sh
   19481   NULLCMD=:
   19482   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   19483   # is contrary to our usage.  Disable this feature.
   19484   alias -g '${1+"$@"}'='"$@"'
   19485   setopt NO_GLOB_SUBST
   19486 else
   19487   case `(set -o) 2>/dev/null` in #(
   19488   *posix*) :
   19489     set -o posix ;; #(
   19490   *) :
   19491      ;;
   19492 esac
   19493 fi
   19494 
   19495 
   19496 as_nl='
   19497 '
   19498 export as_nl
   19499 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   19500 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   19501 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   19502 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   19503 # Prefer a ksh shell builtin over an external printf program on Solaris,
   19504 # but without wasting forks for bash or zsh.
   19505 if test -z "$BASH_VERSION$ZSH_VERSION" \
   19506     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   19507   as_echo='print -r --'
   19508   as_echo_n='print -rn --'
   19509 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   19510   as_echo='printf %s\n'
   19511   as_echo_n='printf %s'
   19512 else
   19513   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   19514     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   19515     as_echo_n='/usr/ucb/echo -n'
   19516   else
   19517     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   19518     as_echo_n_body='eval
   19519       arg=$1;
   19520       case $arg in #(
   19521       *"$as_nl"*)
   19522 	expr "X$arg" : "X\\(.*\\)$as_nl";
   19523 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   19524       esac;
   19525       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   19526     '
   19527     export as_echo_n_body
   19528     as_echo_n='sh -c $as_echo_n_body as_echo'
   19529   fi
   19530   export as_echo_body
   19531   as_echo='sh -c $as_echo_body as_echo'
   19532 fi
   19533 
   19534 # The user is always right.
   19535 if test "${PATH_SEPARATOR+set}" != set; then
   19536   PATH_SEPARATOR=:
   19537   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   19538     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   19539       PATH_SEPARATOR=';'
   19540   }
   19541 fi
   19542 
   19543 
   19544 # IFS
   19545 # We need space, tab and new line, in precisely that order.  Quoting is
   19546 # there to prevent editors from complaining about space-tab.
   19547 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   19548 # splitting by setting IFS to empty value.)
   19549 IFS=" ""	$as_nl"
   19550 
   19551 # Find who we are.  Look in the path if we contain no directory separator.
   19552 as_myself=
   19553 case $0 in #((
   19554   *[\\/]* ) as_myself=$0 ;;
   19555   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19556 for as_dir in $PATH
   19557 do
   19558   IFS=$as_save_IFS
   19559   test -z "$as_dir" && as_dir=.
   19560     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   19561   done
   19562 IFS=$as_save_IFS
   19563 
   19564      ;;
   19565 esac
   19566 # We did not find ourselves, most probably we were run as `sh COMMAND'
   19567 # in which case we are not to be found in the path.
   19568 if test "x$as_myself" = x; then
   19569   as_myself=$0
   19570 fi
   19571 if test ! -f "$as_myself"; then
   19572   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   19573   exit 1
   19574 fi
   19575 
   19576 # Unset variables that we do not need and which cause bugs (e.g. in
   19577 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   19578 # suppresses any "Segmentation fault" message there.  '((' could
   19579 # trigger a bug in pdksh 5.2.14.
   19580 for as_var in BASH_ENV ENV MAIL MAILPATH
   19581 do eval test x\${$as_var+set} = xset \
   19582   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   19583 done
   19584 PS1='$ '
   19585 PS2='> '
   19586 PS4='+ '
   19587 
   19588 # NLS nuisances.
   19589 LC_ALL=C
   19590 export LC_ALL
   19591 LANGUAGE=C
   19592 export LANGUAGE
   19593 
   19594 # CDPATH.
   19595 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19596 
   19597 
   19598 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   19599 # ----------------------------------------
   19600 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   19601 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   19602 # script with STATUS, using 1 if that was 0.
   19603 as_fn_error ()
   19604 {
   19605   as_status=$1; test $as_status -eq 0 && as_status=1
   19606   if test "$4"; then
   19607     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   19608     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   19609   fi
   19610   $as_echo "$as_me: error: $2" >&2
   19611   as_fn_exit $as_status
   19612 } # as_fn_error
   19613 
   19614 
   19615 # as_fn_set_status STATUS
   19616 # -----------------------
   19617 # Set $? to STATUS, without forking.
   19618 as_fn_set_status ()
   19619 {
   19620   return $1
   19621 } # as_fn_set_status
   19622 
   19623 # as_fn_exit STATUS
   19624 # -----------------
   19625 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   19626 as_fn_exit ()
   19627 {
   19628   set +e
   19629   as_fn_set_status $1
   19630   exit $1
   19631 } # as_fn_exit
   19632 
   19633 # as_fn_unset VAR
   19634 # ---------------
   19635 # Portably unset VAR.
   19636 as_fn_unset ()
   19637 {
   19638   { eval $1=; unset $1;}
   19639 }
   19640 as_unset=as_fn_unset
   19641 # as_fn_append VAR VALUE
   19642 # ----------------------
   19643 # Append the text in VALUE to the end of the definition contained in VAR. Take
   19644 # advantage of any shell optimizations that allow amortized linear growth over
   19645 # repeated appends, instead of the typical quadratic growth present in naive
   19646 # implementations.
   19647 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   19648   eval 'as_fn_append ()
   19649   {
   19650     eval $1+=\$2
   19651   }'
   19652 else
   19653   as_fn_append ()
   19654   {
   19655     eval $1=\$$1\$2
   19656   }
   19657 fi # as_fn_append
   19658 
   19659 # as_fn_arith ARG...
   19660 # ------------------
   19661 # Perform arithmetic evaluation on the ARGs, and store the result in the
   19662 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   19663 # must be portable across $(()) and expr.
   19664 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   19665   eval 'as_fn_arith ()
   19666   {
   19667     as_val=$(( $* ))
   19668   }'
   19669 else
   19670   as_fn_arith ()
   19671   {
   19672     as_val=`expr "$@" || test $? -eq 1`
   19673   }
   19674 fi # as_fn_arith
   19675 
   19676 
   19677 if expr a : '\(a\)' >/dev/null 2>&1 &&
   19678    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   19679   as_expr=expr
   19680 else
   19681   as_expr=false
   19682 fi
   19683 
   19684 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   19685   as_basename=basename
   19686 else
   19687   as_basename=false
   19688 fi
   19689 
   19690 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   19691   as_dirname=dirname
   19692 else
   19693   as_dirname=false
   19694 fi
   19695 
   19696 as_me=`$as_basename -- "$0" ||
   19697 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   19698 	 X"$0" : 'X\(//\)$' \| \
   19699 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   19700 $as_echo X/"$0" |
   19701     sed '/^.*\/\([^/][^/]*\)\/*$/{
   19702 	    s//\1/
   19703 	    q
   19704 	  }
   19705 	  /^X\/\(\/\/\)$/{
   19706 	    s//\1/
   19707 	    q
   19708 	  }
   19709 	  /^X\/\(\/\).*/{
   19710 	    s//\1/
   19711 	    q
   19712 	  }
   19713 	  s/.*/./; q'`
   19714 
   19715 # Avoid depending upon Character Ranges.
   19716 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   19717 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   19718 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   19719 as_cr_digits='0123456789'
   19720 as_cr_alnum=$as_cr_Letters$as_cr_digits
   19721 
   19722 ECHO_C= ECHO_N= ECHO_T=
   19723 case `echo -n x` in #(((((
   19724 -n*)
   19725   case `echo 'xy\c'` in
   19726   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   19727   xy)  ECHO_C='\c';;
   19728   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   19729        ECHO_T='	';;
   19730   esac;;
   19731 *)
   19732   ECHO_N='-n';;
   19733 esac
   19734 
   19735 rm -f conf$$ conf$$.exe conf$$.file
   19736 if test -d conf$$.dir; then
   19737   rm -f conf$$.dir/conf$$.file
   19738 else
   19739   rm -f conf$$.dir
   19740   mkdir conf$$.dir 2>/dev/null
   19741 fi
   19742 if (echo >conf$$.file) 2>/dev/null; then
   19743   if ln -s conf$$.file conf$$ 2>/dev/null; then
   19744     as_ln_s='ln -s'
   19745     # ... but there are two gotchas:
   19746     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   19747     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   19748     # In both cases, we have to default to `cp -pR'.
   19749     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   19750       as_ln_s='cp -pR'
   19751   elif ln conf$$.file conf$$ 2>/dev/null; then
   19752     as_ln_s=ln
   19753   else
   19754     as_ln_s='cp -pR'
   19755   fi
   19756 else
   19757   as_ln_s='cp -pR'
   19758 fi
   19759 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   19760 rmdir conf$$.dir 2>/dev/null
   19761 
   19762 
   19763 # as_fn_mkdir_p
   19764 # -------------
   19765 # Create "$as_dir" as a directory, including parents if necessary.
   19766 as_fn_mkdir_p ()
   19767 {
   19768 
   19769   case $as_dir in #(
   19770   -*) as_dir=./$as_dir;;
   19771   esac
   19772   test -d "$as_dir" || eval $as_mkdir_p || {
   19773     as_dirs=
   19774     while :; do
   19775       case $as_dir in #(
   19776       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   19777       *) as_qdir=$as_dir;;
   19778       esac
   19779       as_dirs="'$as_qdir' $as_dirs"
   19780       as_dir=`$as_dirname -- "$as_dir" ||
   19781 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19782 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   19783 	 X"$as_dir" : 'X\(//\)$' \| \
   19784 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   19785 $as_echo X"$as_dir" |
   19786     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19787 	    s//\1/
   19788 	    q
   19789 	  }
   19790 	  /^X\(\/\/\)[^/].*/{
   19791 	    s//\1/
   19792 	    q
   19793 	  }
   19794 	  /^X\(\/\/\)$/{
   19795 	    s//\1/
   19796 	    q
   19797 	  }
   19798 	  /^X\(\/\).*/{
   19799 	    s//\1/
   19800 	    q
   19801 	  }
   19802 	  s/.*/./; q'`
   19803       test -d "$as_dir" && break
   19804     done
   19805     test -z "$as_dirs" || eval "mkdir $as_dirs"
   19806   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   19807 
   19808 
   19809 } # as_fn_mkdir_p
   19810 if mkdir -p . 2>/dev/null; then
   19811   as_mkdir_p='mkdir -p "$as_dir"'
   19812 else
   19813   test -d ./-p && rmdir ./-p
   19814   as_mkdir_p=false
   19815 fi
   19816 
   19817 
   19818 # as_fn_executable_p FILE
   19819 # -----------------------
   19820 # Test if FILE is an executable regular file.
   19821 as_fn_executable_p ()
   19822 {
   19823   test -f "$1" && test -x "$1"
   19824 } # as_fn_executable_p
   19825 as_test_x='test -x'
   19826 as_executable_p=as_fn_executable_p
   19827 
   19828 # Sed expression to map a string onto a valid CPP name.
   19829 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   19830 
   19831 # Sed expression to map a string onto a valid variable name.
   19832 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   19833 
   19834 
   19835 exec 6>&1
   19836 ## ----------------------------------- ##
   19837 ## Main body of $CONFIG_STATUS script. ##
   19838 ## ----------------------------------- ##
   19839 _ASEOF
   19840 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   19841 
   19842 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19843 # Save the log message, to keep $0 and so on meaningful, and to
   19844 # report actual input values of CONFIG_FILES etc. instead of their
   19845 # values after options handling.
   19846 ac_log="
   19847 This file was extended by libXdmcp $as_me 1.1.2, which was
   19848 generated by GNU Autoconf 2.69.  Invocation command line was
   19849 
   19850   CONFIG_FILES    = $CONFIG_FILES
   19851   CONFIG_HEADERS  = $CONFIG_HEADERS
   19852   CONFIG_LINKS    = $CONFIG_LINKS
   19853   CONFIG_COMMANDS = $CONFIG_COMMANDS
   19854   $ $0 $@
   19855 
   19856 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   19857 "
   19858 
   19859 _ACEOF
   19860 
   19861 case $ac_config_files in *"
   19862 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   19863 esac
   19864 
   19865 case $ac_config_headers in *"
   19866 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   19867 esac
   19868 
   19869 
   19870 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19871 # Files that config.status was made for.
   19872 config_files="$ac_config_files"
   19873 config_headers="$ac_config_headers"
   19874 config_commands="$ac_config_commands"
   19875 
   19876 _ACEOF
   19877 
   19878 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19879 ac_cs_usage="\
   19880 \`$as_me' instantiates files and other configuration actions
   19881 from templates according to the current configuration.  Unless the files
   19882 and actions are specified as TAGs, all are instantiated by default.
   19883 
   19884 Usage: $0 [OPTION]... [TAG]...
   19885 
   19886   -h, --help       print this help, then exit
   19887   -V, --version    print version number and configuration settings, then exit
   19888       --config     print configuration, then exit
   19889   -q, --quiet, --silent
   19890                    do not print progress messages
   19891   -d, --debug      don't remove temporary files
   19892       --recheck    update $as_me by reconfiguring in the same conditions
   19893       --file=FILE[:TEMPLATE]
   19894                    instantiate the configuration file FILE
   19895       --header=FILE[:TEMPLATE]
   19896                    instantiate the configuration header FILE
   19897 
   19898 Configuration files:
   19899 $config_files
   19900 
   19901 Configuration headers:
   19902 $config_headers
   19903 
   19904 Configuration commands:
   19905 $config_commands
   19906 
   19907 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   19908 
   19909 _ACEOF
   19910 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19911 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   19912 ac_cs_version="\\
   19913 libXdmcp config.status 1.1.2
   19914 configured by $0, generated by GNU Autoconf 2.69,
   19915   with options \\"\$ac_cs_config\\"
   19916 
   19917 Copyright (C) 2012 Free Software Foundation, Inc.
   19918 This config.status script is free software; the Free Software Foundation
   19919 gives unlimited permission to copy, distribute and modify it."
   19920 
   19921 ac_pwd='$ac_pwd'
   19922 srcdir='$srcdir'
   19923 INSTALL='$INSTALL'
   19924 MKDIR_P='$MKDIR_P'
   19925 AWK='$AWK'
   19926 test -n "\$AWK" || AWK=awk
   19927 _ACEOF
   19928 
   19929 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19930 # The default lists apply if the user does not specify any file.
   19931 ac_need_defaults=:
   19932 while test $# != 0
   19933 do
   19934   case $1 in
   19935   --*=?*)
   19936     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19937     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   19938     ac_shift=:
   19939     ;;
   19940   --*=)
   19941     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19942     ac_optarg=
   19943     ac_shift=:
   19944     ;;
   19945   *)
   19946     ac_option=$1
   19947     ac_optarg=$2
   19948     ac_shift=shift
   19949     ;;
   19950   esac
   19951 
   19952   case $ac_option in
   19953   # Handling of the options.
   19954   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   19955     ac_cs_recheck=: ;;
   19956   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   19957     $as_echo "$ac_cs_version"; exit ;;
   19958   --config | --confi | --conf | --con | --co | --c )
   19959     $as_echo "$ac_cs_config"; exit ;;
   19960   --debug | --debu | --deb | --de | --d | -d )
   19961     debug=: ;;
   19962   --file | --fil | --fi | --f )
   19963     $ac_shift
   19964     case $ac_optarg in
   19965     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19966     '') as_fn_error $? "missing file argument" ;;
   19967     esac
   19968     as_fn_append CONFIG_FILES " '$ac_optarg'"
   19969     ac_need_defaults=false;;
   19970   --header | --heade | --head | --hea )
   19971     $ac_shift
   19972     case $ac_optarg in
   19973     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19974     esac
   19975     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   19976     ac_need_defaults=false;;
   19977   --he | --h)
   19978     # Conflict between --help and --header
   19979     as_fn_error $? "ambiguous option: \`$1'
   19980 Try \`$0 --help' for more information.";;
   19981   --help | --hel | -h )
   19982     $as_echo "$ac_cs_usage"; exit ;;
   19983   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   19984   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   19985     ac_cs_silent=: ;;
   19986 
   19987   # This is an error.
   19988   -*) as_fn_error $? "unrecognized option: \`$1'
   19989 Try \`$0 --help' for more information." ;;
   19990 
   19991   *) as_fn_append ac_config_targets " $1"
   19992      ac_need_defaults=false ;;
   19993 
   19994   esac
   19995   shift
   19996 done
   19997 
   19998 ac_configure_extra_args=
   19999 
   20000 if $ac_cs_silent; then
   20001   exec 6>/dev/null
   20002   ac_configure_extra_args="$ac_configure_extra_args --silent"
   20003 fi
   20004 
   20005 _ACEOF
   20006 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20007 if \$ac_cs_recheck; then
   20008   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   20009   shift
   20010   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   20011   CONFIG_SHELL='$SHELL'
   20012   export CONFIG_SHELL
   20013   exec "\$@"
   20014 fi
   20015 
   20016 _ACEOF
   20017 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20018 exec 5>>config.log
   20019 {
   20020   echo
   20021   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   20022 ## Running $as_me. ##
   20023 _ASBOX
   20024   $as_echo "$ac_log"
   20025 } >&5
   20026 
   20027 _ACEOF
   20028 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20029 #
   20030 # INIT-COMMANDS
   20031 #
   20032 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   20033 
   20034 
   20035 # The HP-UX ksh and POSIX shell print the target directory to stdout
   20036 # if CDPATH is set.
   20037 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   20038 
   20039 sed_quote_subst='$sed_quote_subst'
   20040 double_quote_subst='$double_quote_subst'
   20041 delay_variable_subst='$delay_variable_subst'
   20042 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
   20043 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   20044 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   20045 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   20046 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   20047 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   20048 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   20049 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   20050 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   20051 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   20052 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   20053 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   20054 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   20055 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   20056 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   20057 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   20058 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   20059 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   20060 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   20061 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   20062 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   20063 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   20064 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   20065 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   20066 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   20067 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   20068 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   20069 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   20070 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   20071 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   20072 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   20073 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   20074 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   20075 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   20076 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   20077 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   20078 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   20079 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   20080 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   20081 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   20082 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   20083 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   20084 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   20085 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   20086 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   20087 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   20088 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20089 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20090 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   20091 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   20092 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   20093 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   20094 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   20095 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   20096 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   20097 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   20098 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   20099 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"`'
   20100 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   20101 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   20102 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   20103 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   20104 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   20105 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   20106 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   20107 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   20108 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   20109 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   20110 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   20111 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   20112 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   20113 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   20114 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   20115 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   20116 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   20117 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   20118 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20119 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   20120 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   20121 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   20122 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   20123 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   20124 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   20125 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20126 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   20127 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20128 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   20129 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20130 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   20131 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20132 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20133 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   20134 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   20135 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   20136 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   20137 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   20138 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20139 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   20140 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   20141 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   20142 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   20143 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   20144 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   20145 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   20146 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   20147 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   20148 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   20149 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   20150 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   20151 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   20152 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   20153 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   20154 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20155 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   20156 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   20157 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   20158 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   20159 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   20160 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20161 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20162 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   20163 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   20164 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   20165 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   20166 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   20167 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   20168 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   20169 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   20170 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   20171 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   20172 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   20173 
   20174 LTCC='$LTCC'
   20175 LTCFLAGS='$LTCFLAGS'
   20176 compiler='$compiler_DEFAULT'
   20177 
   20178 # A function that is used when there is no print builtin or printf.
   20179 func_fallback_echo ()
   20180 {
   20181   eval 'cat <<_LTECHO_EOF
   20182 \$1
   20183 _LTECHO_EOF'
   20184 }
   20185 
   20186 # Quote evaled strings.
   20187 for var in AS \
   20188 DLLTOOL \
   20189 OBJDUMP \
   20190 SHELL \
   20191 ECHO \
   20192 PATH_SEPARATOR \
   20193 SED \
   20194 GREP \
   20195 EGREP \
   20196 FGREP \
   20197 LD \
   20198 NM \
   20199 LN_S \
   20200 lt_SP2NL \
   20201 lt_NL2SP \
   20202 reload_flag \
   20203 deplibs_check_method \
   20204 file_magic_cmd \
   20205 file_magic_glob \
   20206 want_nocaseglob \
   20207 sharedlib_from_linklib_cmd \
   20208 AR \
   20209 AR_FLAGS \
   20210 archiver_list_spec \
   20211 STRIP \
   20212 RANLIB \
   20213 CC \
   20214 CFLAGS \
   20215 compiler \
   20216 lt_cv_sys_global_symbol_pipe \
   20217 lt_cv_sys_global_symbol_to_cdecl \
   20218 lt_cv_sys_global_symbol_to_c_name_address \
   20219 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   20220 nm_file_list_spec \
   20221 lt_prog_compiler_no_builtin_flag \
   20222 lt_prog_compiler_pic \
   20223 lt_prog_compiler_wl \
   20224 lt_prog_compiler_static \
   20225 lt_cv_prog_compiler_c_o \
   20226 need_locks \
   20227 MANIFEST_TOOL \
   20228 DSYMUTIL \
   20229 NMEDIT \
   20230 LIPO \
   20231 OTOOL \
   20232 OTOOL64 \
   20233 shrext_cmds \
   20234 export_dynamic_flag_spec \
   20235 whole_archive_flag_spec \
   20236 compiler_needs_object \
   20237 with_gnu_ld \
   20238 allow_undefined_flag \
   20239 no_undefined_flag \
   20240 hardcode_libdir_flag_spec \
   20241 hardcode_libdir_separator \
   20242 exclude_expsyms \
   20243 include_expsyms \
   20244 file_list_spec \
   20245 variables_saved_for_relink \
   20246 libname_spec \
   20247 library_names_spec \
   20248 soname_spec \
   20249 install_override_mode \
   20250 finish_eval \
   20251 old_striplib \
   20252 striplib; do
   20253     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20254     *[\\\\\\\`\\"\\\$]*)
   20255       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   20256       ;;
   20257     *)
   20258       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20259       ;;
   20260     esac
   20261 done
   20262 
   20263 # Double-quote double-evaled strings.
   20264 for var in reload_cmds \
   20265 old_postinstall_cmds \
   20266 old_postuninstall_cmds \
   20267 old_archive_cmds \
   20268 extract_expsyms_cmds \
   20269 old_archive_from_new_cmds \
   20270 old_archive_from_expsyms_cmds \
   20271 archive_cmds \
   20272 archive_expsym_cmds \
   20273 module_cmds \
   20274 module_expsym_cmds \
   20275 export_symbols_cmds \
   20276 prelink_cmds \
   20277 postlink_cmds \
   20278 postinstall_cmds \
   20279 postuninstall_cmds \
   20280 finish_cmds \
   20281 sys_lib_search_path_spec \
   20282 sys_lib_dlsearch_path_spec; do
   20283     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20284     *[\\\\\\\`\\"\\\$]*)
   20285       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   20286       ;;
   20287     *)
   20288       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20289       ;;
   20290     esac
   20291 done
   20292 
   20293 ac_aux_dir='$ac_aux_dir'
   20294 xsi_shell='$xsi_shell'
   20295 lt_shell_append='$lt_shell_append'
   20296 
   20297 # See if we are running on zsh, and set the options which allow our
   20298 # commands through without removal of \ escapes INIT.
   20299 if test -n "\${ZSH_VERSION+set}" ; then
   20300    setopt NO_GLOB_SUBST
   20301 fi
   20302 
   20303 
   20304     PACKAGE='$PACKAGE'
   20305     VERSION='$VERSION'
   20306     TIMESTAMP='$TIMESTAMP'
   20307     RM='$RM'
   20308     ofile='$ofile'
   20309 
   20310 
   20311 
   20312 
   20313 _ACEOF
   20314 
   20315 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20316 
   20317 # Handling of arguments.
   20318 for ac_config_target in $ac_config_targets
   20319 do
   20320   case $ac_config_target in
   20321     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   20322     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   20323     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   20324     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   20325     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   20326     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
   20327     "xdmcp.pc") CONFIG_FILES="$CONFIG_FILES xdmcp.pc" ;;
   20328 
   20329   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   20330   esac
   20331 done
   20332 
   20333 
   20334 # If the user did not use the arguments to specify the items to instantiate,
   20335 # then the envvar interface is used.  Set only those that are not.
   20336 # We use the long form for the default assignment because of an extremely
   20337 # bizarre bug on SunOS 4.1.3.
   20338 if $ac_need_defaults; then
   20339   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   20340   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   20341   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   20342 fi
   20343 
   20344 # Have a temporary directory for convenience.  Make it in the build tree
   20345 # simply because there is no reason against having it here, and in addition,
   20346 # creating and moving files from /tmp can sometimes cause problems.
   20347 # Hook for its removal unless debugging.
   20348 # Note that there is a small window in which the directory will not be cleaned:
   20349 # after its creation but before its name has been assigned to `$tmp'.
   20350 $debug ||
   20351 {
   20352   tmp= ac_tmp=
   20353   trap 'exit_status=$?
   20354   : "${ac_tmp:=$tmp}"
   20355   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   20356 ' 0
   20357   trap 'as_fn_exit 1' 1 2 13 15
   20358 }
   20359 # Create a (secure) tmp directory for tmp files.
   20360 
   20361 {
   20362   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   20363   test -d "$tmp"
   20364 }  ||
   20365 {
   20366   tmp=./conf$$-$RANDOM
   20367   (umask 077 && mkdir "$tmp")
   20368 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   20369 ac_tmp=$tmp
   20370 
   20371 # Set up the scripts for CONFIG_FILES section.
   20372 # No need to generate them if there are no CONFIG_FILES.
   20373 # This happens for instance with `./config.status config.h'.
   20374 if test -n "$CONFIG_FILES"; then
   20375 
   20376 
   20377 ac_cr=`echo X | tr X '\015'`
   20378 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   20379 # But we know of no other shell where ac_cr would be empty at this
   20380 # point, so we can use a bashism as a fallback.
   20381 if test "x$ac_cr" = x; then
   20382   eval ac_cr=\$\'\\r\'
   20383 fi
   20384 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   20385 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   20386   ac_cs_awk_cr='\\r'
   20387 else
   20388   ac_cs_awk_cr=$ac_cr
   20389 fi
   20390 
   20391 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   20392 _ACEOF
   20393 
   20394 
   20395 {
   20396   echo "cat >conf$$subs.awk <<_ACEOF" &&
   20397   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   20398   echo "_ACEOF"
   20399 } >conf$$subs.sh ||
   20400   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20401 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   20402 ac_delim='%!_!# '
   20403 for ac_last_try in false false false false false :; do
   20404   . ./conf$$subs.sh ||
   20405     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20406 
   20407   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   20408   if test $ac_delim_n = $ac_delim_num; then
   20409     break
   20410   elif $ac_last_try; then
   20411     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20412   else
   20413     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20414   fi
   20415 done
   20416 rm -f conf$$subs.sh
   20417 
   20418 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20419 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   20420 _ACEOF
   20421 sed -n '
   20422 h
   20423 s/^/S["/; s/!.*/"]=/
   20424 p
   20425 g
   20426 s/^[^!]*!//
   20427 :repl
   20428 t repl
   20429 s/'"$ac_delim"'$//
   20430 t delim
   20431 :nl
   20432 h
   20433 s/\(.\{148\}\)..*/\1/
   20434 t more1
   20435 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   20436 p
   20437 n
   20438 b repl
   20439 :more1
   20440 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20441 p
   20442 g
   20443 s/.\{148\}//
   20444 t nl
   20445 :delim
   20446 h
   20447 s/\(.\{148\}\)..*/\1/
   20448 t more2
   20449 s/["\\]/\\&/g; s/^/"/; s/$/"/
   20450 p
   20451 b
   20452 :more2
   20453 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20454 p
   20455 g
   20456 s/.\{148\}//
   20457 t delim
   20458 ' <conf$$subs.awk | sed '
   20459 /^[^""]/{
   20460   N
   20461   s/\n//
   20462 }
   20463 ' >>$CONFIG_STATUS || ac_write_fail=1
   20464 rm -f conf$$subs.awk
   20465 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20466 _ACAWK
   20467 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   20468   for (key in S) S_is_set[key] = 1
   20469   FS = ""
   20470 
   20471 }
   20472 {
   20473   line = $ 0
   20474   nfields = split(line, field, "@")
   20475   substed = 0
   20476   len = length(field[1])
   20477   for (i = 2; i < nfields; i++) {
   20478     key = field[i]
   20479     keylen = length(key)
   20480     if (S_is_set[key]) {
   20481       value = S[key]
   20482       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   20483       len += length(value) + length(field[++i])
   20484       substed = 1
   20485     } else
   20486       len += 1 + keylen
   20487   }
   20488 
   20489   print line
   20490 }
   20491 
   20492 _ACAWK
   20493 _ACEOF
   20494 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20495 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   20496   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   20497 else
   20498   cat
   20499 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   20500   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   20501 _ACEOF
   20502 
   20503 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   20504 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   20505 # trailing colons and then remove the whole line if VPATH becomes empty
   20506 # (actually we leave an empty line to preserve line numbers).
   20507 if test "x$srcdir" = x.; then
   20508   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   20509 h
   20510 s///
   20511 s/^/:/
   20512 s/[	 ]*$/:/
   20513 s/:\$(srcdir):/:/g
   20514 s/:\${srcdir}:/:/g
   20515 s/:@srcdir@:/:/g
   20516 s/^:*//
   20517 s/:*$//
   20518 x
   20519 s/\(=[	 ]*\).*/\1/
   20520 G
   20521 s/\n//
   20522 s/^[^=]*=[	 ]*$//
   20523 }'
   20524 fi
   20525 
   20526 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20527 fi # test -n "$CONFIG_FILES"
   20528 
   20529 # Set up the scripts for CONFIG_HEADERS section.
   20530 # No need to generate them if there are no CONFIG_HEADERS.
   20531 # This happens for instance with `./config.status Makefile'.
   20532 if test -n "$CONFIG_HEADERS"; then
   20533 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   20534 BEGIN {
   20535 _ACEOF
   20536 
   20537 # Transform confdefs.h into an awk script `defines.awk', embedded as
   20538 # here-document in config.status, that substitutes the proper values into
   20539 # config.h.in to produce config.h.
   20540 
   20541 # Create a delimiter string that does not exist in confdefs.h, to ease
   20542 # handling of long lines.
   20543 ac_delim='%!_!# '
   20544 for ac_last_try in false false :; do
   20545   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   20546   if test -z "$ac_tt"; then
   20547     break
   20548   elif $ac_last_try; then
   20549     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   20550   else
   20551     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20552   fi
   20553 done
   20554 
   20555 # For the awk script, D is an array of macro values keyed by name,
   20556 # likewise P contains macro parameters if any.  Preserve backslash
   20557 # newline sequences.
   20558 
   20559 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   20560 sed -n '
   20561 s/.\{148\}/&'"$ac_delim"'/g
   20562 t rset
   20563 :rset
   20564 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   20565 t def
   20566 d
   20567 :def
   20568 s/\\$//
   20569 t bsnl
   20570 s/["\\]/\\&/g
   20571 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20572 D["\1"]=" \3"/p
   20573 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   20574 d
   20575 :bsnl
   20576 s/["\\]/\\&/g
   20577 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20578 D["\1"]=" \3\\\\\\n"\\/p
   20579 t cont
   20580 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   20581 t cont
   20582 d
   20583 :cont
   20584 n
   20585 s/.\{148\}/&'"$ac_delim"'/g
   20586 t clear
   20587 :clear
   20588 s/\\$//
   20589 t bsnlc
   20590 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   20591 d
   20592 :bsnlc
   20593 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   20594 b cont
   20595 ' <confdefs.h | sed '
   20596 s/'"$ac_delim"'/"\\\
   20597 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   20598 
   20599 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20600   for (key in D) D_is_set[key] = 1
   20601   FS = ""
   20602 }
   20603 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   20604   line = \$ 0
   20605   split(line, arg, " ")
   20606   if (arg[1] == "#") {
   20607     defundef = arg[2]
   20608     mac1 = arg[3]
   20609   } else {
   20610     defundef = substr(arg[1], 2)
   20611     mac1 = arg[2]
   20612   }
   20613   split(mac1, mac2, "(") #)
   20614   macro = mac2[1]
   20615   prefix = substr(line, 1, index(line, defundef) - 1)
   20616   if (D_is_set[macro]) {
   20617     # Preserve the white space surrounding the "#".
   20618     print prefix "define", macro P[macro] D[macro]
   20619     next
   20620   } else {
   20621     # Replace #undef with comments.  This is necessary, for example,
   20622     # in the case of _POSIX_SOURCE, which is predefined and required
   20623     # on some systems where configure will not decide to define it.
   20624     if (defundef == "undef") {
   20625       print "/*", prefix defundef, macro, "*/"
   20626       next
   20627     }
   20628   }
   20629 }
   20630 { print }
   20631 _ACAWK
   20632 _ACEOF
   20633 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20634   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   20635 fi # test -n "$CONFIG_HEADERS"
   20636 
   20637 
   20638 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   20639 shift
   20640 for ac_tag
   20641 do
   20642   case $ac_tag in
   20643   :[FHLC]) ac_mode=$ac_tag; continue;;
   20644   esac
   20645   case $ac_mode$ac_tag in
   20646   :[FHL]*:*);;
   20647   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   20648   :[FH]-) ac_tag=-:-;;
   20649   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   20650   esac
   20651   ac_save_IFS=$IFS
   20652   IFS=:
   20653   set x $ac_tag
   20654   IFS=$ac_save_IFS
   20655   shift
   20656   ac_file=$1
   20657   shift
   20658 
   20659   case $ac_mode in
   20660   :L) ac_source=$1;;
   20661   :[FH])
   20662     ac_file_inputs=
   20663     for ac_f
   20664     do
   20665       case $ac_f in
   20666       -) ac_f="$ac_tmp/stdin";;
   20667       *) # Look for the file first in the build tree, then in the source tree
   20668 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   20669 	 # because $ac_f cannot contain `:'.
   20670 	 test -f "$ac_f" ||
   20671 	   case $ac_f in
   20672 	   [\\/$]*) false;;
   20673 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   20674 	   esac ||
   20675 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   20676       esac
   20677       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   20678       as_fn_append ac_file_inputs " '$ac_f'"
   20679     done
   20680 
   20681     # Let's still pretend it is `configure' which instantiates (i.e., don't
   20682     # use $as_me), people would be surprised to read:
   20683     #    /* config.h.  Generated by config.status.  */
   20684     configure_input='Generated from '`
   20685 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   20686 	`' by configure.'
   20687     if test x"$ac_file" != x-; then
   20688       configure_input="$ac_file.  $configure_input"
   20689       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   20690 $as_echo "$as_me: creating $ac_file" >&6;}
   20691     fi
   20692     # Neutralize special characters interpreted by sed in replacement strings.
   20693     case $configure_input in #(
   20694     *\&* | *\|* | *\\* )
   20695        ac_sed_conf_input=`$as_echo "$configure_input" |
   20696        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   20697     *) ac_sed_conf_input=$configure_input;;
   20698     esac
   20699 
   20700     case $ac_tag in
   20701     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   20702       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   20703     esac
   20704     ;;
   20705   esac
   20706 
   20707   ac_dir=`$as_dirname -- "$ac_file" ||
   20708 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20709 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   20710 	 X"$ac_file" : 'X\(//\)$' \| \
   20711 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   20712 $as_echo X"$ac_file" |
   20713     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20714 	    s//\1/
   20715 	    q
   20716 	  }
   20717 	  /^X\(\/\/\)[^/].*/{
   20718 	    s//\1/
   20719 	    q
   20720 	  }
   20721 	  /^X\(\/\/\)$/{
   20722 	    s//\1/
   20723 	    q
   20724 	  }
   20725 	  /^X\(\/\).*/{
   20726 	    s//\1/
   20727 	    q
   20728 	  }
   20729 	  s/.*/./; q'`
   20730   as_dir="$ac_dir"; as_fn_mkdir_p
   20731   ac_builddir=.
   20732 
   20733 case "$ac_dir" in
   20734 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20735 *)
   20736   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   20737   # A ".." for each directory in $ac_dir_suffix.
   20738   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   20739   case $ac_top_builddir_sub in
   20740   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20741   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   20742   esac ;;
   20743 esac
   20744 ac_abs_top_builddir=$ac_pwd
   20745 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   20746 # for backward compatibility:
   20747 ac_top_builddir=$ac_top_build_prefix
   20748 
   20749 case $srcdir in
   20750   .)  # We are building in place.
   20751     ac_srcdir=.
   20752     ac_top_srcdir=$ac_top_builddir_sub
   20753     ac_abs_top_srcdir=$ac_pwd ;;
   20754   [\\/]* | ?:[\\/]* )  # Absolute name.
   20755     ac_srcdir=$srcdir$ac_dir_suffix;
   20756     ac_top_srcdir=$srcdir
   20757     ac_abs_top_srcdir=$srcdir ;;
   20758   *) # Relative name.
   20759     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   20760     ac_top_srcdir=$ac_top_build_prefix$srcdir
   20761     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   20762 esac
   20763 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   20764 
   20765 
   20766   case $ac_mode in
   20767   :F)
   20768   #
   20769   # CONFIG_FILE
   20770   #
   20771 
   20772   case $INSTALL in
   20773   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   20774   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   20775   esac
   20776   ac_MKDIR_P=$MKDIR_P
   20777   case $MKDIR_P in
   20778   [\\/$]* | ?:[\\/]* ) ;;
   20779   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   20780   esac
   20781 _ACEOF
   20782 
   20783 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20784 # If the template does not know about datarootdir, expand it.
   20785 # FIXME: This hack should be removed a few years after 2.60.
   20786 ac_datarootdir_hack=; ac_datarootdir_seen=
   20787 ac_sed_dataroot='
   20788 /datarootdir/ {
   20789   p
   20790   q
   20791 }
   20792 /@datadir@/p
   20793 /@docdir@/p
   20794 /@infodir@/p
   20795 /@localedir@/p
   20796 /@mandir@/p'
   20797 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   20798 *datarootdir*) ac_datarootdir_seen=yes;;
   20799 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   20800   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   20801 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   20802 _ACEOF
   20803 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20804   ac_datarootdir_hack='
   20805   s&@datadir@&$datadir&g
   20806   s&@docdir@&$docdir&g
   20807   s&@infodir@&$infodir&g
   20808   s&@localedir@&$localedir&g
   20809   s&@mandir@&$mandir&g
   20810   s&\\\${datarootdir}&$datarootdir&g' ;;
   20811 esac
   20812 _ACEOF
   20813 
   20814 # Neutralize VPATH when `$srcdir' = `.'.
   20815 # Shell code in configure.ac might set extrasub.
   20816 # FIXME: do we really want to maintain this feature?
   20817 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20818 ac_sed_extra="$ac_vpsub
   20819 $extrasub
   20820 _ACEOF
   20821 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20822 :t
   20823 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   20824 s|@configure_input@|$ac_sed_conf_input|;t t
   20825 s&@top_builddir@&$ac_top_builddir_sub&;t t
   20826 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   20827 s&@srcdir@&$ac_srcdir&;t t
   20828 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   20829 s&@top_srcdir@&$ac_top_srcdir&;t t
   20830 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   20831 s&@builddir@&$ac_builddir&;t t
   20832 s&@abs_builddir@&$ac_abs_builddir&;t t
   20833 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   20834 s&@INSTALL@&$ac_INSTALL&;t t
   20835 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   20836 $ac_datarootdir_hack
   20837 "
   20838 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   20839   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20840 
   20841 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   20842   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   20843   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   20844       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   20845   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20846 which seems to be undefined.  Please make sure it is defined" >&5
   20847 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20848 which seems to be undefined.  Please make sure it is defined" >&2;}
   20849 
   20850   rm -f "$ac_tmp/stdin"
   20851   case $ac_file in
   20852   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   20853   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   20854   esac \
   20855   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20856  ;;
   20857   :H)
   20858   #
   20859   # CONFIG_HEADER
   20860   #
   20861   if test x"$ac_file" != x-; then
   20862     {
   20863       $as_echo "/* $configure_input  */" \
   20864       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   20865     } >"$ac_tmp/config.h" \
   20866       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20867     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   20868       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   20869 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   20870     else
   20871       rm -f "$ac_file"
   20872       mv "$ac_tmp/config.h" "$ac_file" \
   20873 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20874     fi
   20875   else
   20876     $as_echo "/* $configure_input  */" \
   20877       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   20878       || as_fn_error $? "could not create -" "$LINENO" 5
   20879   fi
   20880 # Compute "$ac_file"'s index in $config_headers.
   20881 _am_arg="$ac_file"
   20882 _am_stamp_count=1
   20883 for _am_header in $config_headers :; do
   20884   case $_am_header in
   20885     $_am_arg | $_am_arg:* )
   20886       break ;;
   20887     * )
   20888       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   20889   esac
   20890 done
   20891 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   20892 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20893 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   20894 	 X"$_am_arg" : 'X\(//\)$' \| \
   20895 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   20896 $as_echo X"$_am_arg" |
   20897     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20898 	    s//\1/
   20899 	    q
   20900 	  }
   20901 	  /^X\(\/\/\)[^/].*/{
   20902 	    s//\1/
   20903 	    q
   20904 	  }
   20905 	  /^X\(\/\/\)$/{
   20906 	    s//\1/
   20907 	    q
   20908 	  }
   20909 	  /^X\(\/\).*/{
   20910 	    s//\1/
   20911 	    q
   20912 	  }
   20913 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   20914  ;;
   20915 
   20916   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   20917 $as_echo "$as_me: executing $ac_file commands" >&6;}
   20918  ;;
   20919   esac
   20920 
   20921 
   20922   case $ac_file$ac_mode in
   20923     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   20924   # Older Autoconf quotes --file arguments for eval, but not when files
   20925   # are listed without --file.  Let's play safe and only enable the eval
   20926   # if we detect the quoting.
   20927   case $CONFIG_FILES in
   20928   *\'*) eval set x "$CONFIG_FILES" ;;
   20929   *)   set x $CONFIG_FILES ;;
   20930   esac
   20931   shift
   20932   for mf
   20933   do
   20934     # Strip MF so we end up with the name of the file.
   20935     mf=`echo "$mf" | sed -e 's/:.*$//'`
   20936     # Check whether this is an Automake generated Makefile or not.
   20937     # We used to match only the files named 'Makefile.in', but
   20938     # some people rename them; so instead we look at the file content.
   20939     # Grep'ing the first line is not enough: some people post-process
   20940     # each Makefile.in and add a new line on top of each file to say so.
   20941     # Grep'ing the whole file is not good either: AIX grep has a line
   20942     # limit of 2048, but all sed's we know have understand at least 4000.
   20943     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   20944       dirpart=`$as_dirname -- "$mf" ||
   20945 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20946 	 X"$mf" : 'X\(//\)[^/]' \| \
   20947 	 X"$mf" : 'X\(//\)$' \| \
   20948 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   20949 $as_echo X"$mf" |
   20950     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20951 	    s//\1/
   20952 	    q
   20953 	  }
   20954 	  /^X\(\/\/\)[^/].*/{
   20955 	    s//\1/
   20956 	    q
   20957 	  }
   20958 	  /^X\(\/\/\)$/{
   20959 	    s//\1/
   20960 	    q
   20961 	  }
   20962 	  /^X\(\/\).*/{
   20963 	    s//\1/
   20964 	    q
   20965 	  }
   20966 	  s/.*/./; q'`
   20967     else
   20968       continue
   20969     fi
   20970     # Extract the definition of DEPDIR, am__include, and am__quote
   20971     # from the Makefile without running 'make'.
   20972     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   20973     test -z "$DEPDIR" && continue
   20974     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   20975     test -z "$am__include" && continue
   20976     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   20977     # Find all dependency output files, they are included files with
   20978     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   20979     # simplest approach to changing $(DEPDIR) to its actual value in the
   20980     # expansion.
   20981     for file in `sed -n "
   20982       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   20983 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   20984       # Make sure the directory exists.
   20985       test -f "$dirpart/$file" && continue
   20986       fdir=`$as_dirname -- "$file" ||
   20987 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20988 	 X"$file" : 'X\(//\)[^/]' \| \
   20989 	 X"$file" : 'X\(//\)$' \| \
   20990 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   20991 $as_echo X"$file" |
   20992     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20993 	    s//\1/
   20994 	    q
   20995 	  }
   20996 	  /^X\(\/\/\)[^/].*/{
   20997 	    s//\1/
   20998 	    q
   20999 	  }
   21000 	  /^X\(\/\/\)$/{
   21001 	    s//\1/
   21002 	    q
   21003 	  }
   21004 	  /^X\(\/\).*/{
   21005 	    s//\1/
   21006 	    q
   21007 	  }
   21008 	  s/.*/./; q'`
   21009       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   21010       # echo "creating $dirpart/$file"
   21011       echo '# dummy' > "$dirpart/$file"
   21012     done
   21013   done
   21014 }
   21015  ;;
   21016     "libtool":C)
   21017 
   21018     # See if we are running on zsh, and set the options which allow our
   21019     # commands through without removal of \ escapes.
   21020     if test -n "${ZSH_VERSION+set}" ; then
   21021       setopt NO_GLOB_SUBST
   21022     fi
   21023 
   21024     cfgfile="${ofile}T"
   21025     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   21026     $RM "$cfgfile"
   21027 
   21028     cat <<_LT_EOF >> "$cfgfile"
   21029 #! $SHELL
   21030 
   21031 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   21032 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   21033 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   21034 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   21035 #
   21036 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   21037 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   21038 #                 Foundation, Inc.
   21039 #   Written by Gordon Matzigkeit, 1996
   21040 #
   21041 #   This file is part of GNU Libtool.
   21042 #
   21043 # GNU Libtool is free software; you can redistribute it and/or
   21044 # modify it under the terms of the GNU General Public License as
   21045 # published by the Free Software Foundation; either version 2 of
   21046 # the License, or (at your option) any later version.
   21047 #
   21048 # As a special exception to the GNU General Public License,
   21049 # if you distribute this file as part of a program or library that
   21050 # is built using GNU Libtool, you may include this file under the
   21051 # same distribution terms that you use for the rest of that program.
   21052 #
   21053 # GNU Libtool is distributed in the hope that it will be useful,
   21054 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   21055 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   21056 # GNU General Public License for more details.
   21057 #
   21058 # You should have received a copy of the GNU General Public License
   21059 # along with GNU Libtool; see the file COPYING.  If not, a copy
   21060 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   21061 # obtained by writing to the Free Software Foundation, Inc.,
   21062 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   21063 
   21064 
   21065 # The names of the tagged configurations supported by this script.
   21066 available_tags=""
   21067 
   21068 # ### BEGIN LIBTOOL CONFIG
   21069 
   21070 # Assembler program.
   21071 AS=$lt_AS
   21072 
   21073 # DLL creation program.
   21074 DLLTOOL=$lt_DLLTOOL
   21075 
   21076 # Object dumper program.
   21077 OBJDUMP=$lt_OBJDUMP
   21078 
   21079 # Which release of libtool.m4 was used?
   21080 macro_version=$macro_version
   21081 macro_revision=$macro_revision
   21082 
   21083 # Whether or not to build shared libraries.
   21084 build_libtool_libs=$enable_shared
   21085 
   21086 # Whether or not to build static libraries.
   21087 build_old_libs=$enable_static
   21088 
   21089 # What type of objects to build.
   21090 pic_mode=$pic_mode
   21091 
   21092 # Whether or not to optimize for fast installation.
   21093 fast_install=$enable_fast_install
   21094 
   21095 # Shell to use when invoking shell scripts.
   21096 SHELL=$lt_SHELL
   21097 
   21098 # An echo program that protects backslashes.
   21099 ECHO=$lt_ECHO
   21100 
   21101 # The PATH separator for the build system.
   21102 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   21103 
   21104 # The host system.
   21105 host_alias=$host_alias
   21106 host=$host
   21107 host_os=$host_os
   21108 
   21109 # The build system.
   21110 build_alias=$build_alias
   21111 build=$build
   21112 build_os=$build_os
   21113 
   21114 # A sed program that does not truncate output.
   21115 SED=$lt_SED
   21116 
   21117 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   21118 Xsed="\$SED -e 1s/^X//"
   21119 
   21120 # A grep program that handles long lines.
   21121 GREP=$lt_GREP
   21122 
   21123 # An ERE matcher.
   21124 EGREP=$lt_EGREP
   21125 
   21126 # A literal string matcher.
   21127 FGREP=$lt_FGREP
   21128 
   21129 # A BSD- or MS-compatible name lister.
   21130 NM=$lt_NM
   21131 
   21132 # Whether we need soft or hard links.
   21133 LN_S=$lt_LN_S
   21134 
   21135 # What is the maximum length of a command?
   21136 max_cmd_len=$max_cmd_len
   21137 
   21138 # Object file suffix (normally "o").
   21139 objext=$ac_objext
   21140 
   21141 # Executable file suffix (normally "").
   21142 exeext=$exeext
   21143 
   21144 # whether the shell understands "unset".
   21145 lt_unset=$lt_unset
   21146 
   21147 # turn spaces into newlines.
   21148 SP2NL=$lt_lt_SP2NL
   21149 
   21150 # turn newlines into spaces.
   21151 NL2SP=$lt_lt_NL2SP
   21152 
   21153 # convert \$build file names to \$host format.
   21154 to_host_file_cmd=$lt_cv_to_host_file_cmd
   21155 
   21156 # convert \$build files to toolchain format.
   21157 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   21158 
   21159 # Method to check whether dependent libraries are shared objects.
   21160 deplibs_check_method=$lt_deplibs_check_method
   21161 
   21162 # Command to use when deplibs_check_method = "file_magic".
   21163 file_magic_cmd=$lt_file_magic_cmd
   21164 
   21165 # How to find potential files when deplibs_check_method = "file_magic".
   21166 file_magic_glob=$lt_file_magic_glob
   21167 
   21168 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   21169 want_nocaseglob=$lt_want_nocaseglob
   21170 
   21171 # Command to associate shared and link libraries.
   21172 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   21173 
   21174 # The archiver.
   21175 AR=$lt_AR
   21176 
   21177 # Flags to create an archive.
   21178 AR_FLAGS=$lt_AR_FLAGS
   21179 
   21180 # How to feed a file listing to the archiver.
   21181 archiver_list_spec=$lt_archiver_list_spec
   21182 
   21183 # A symbol stripping program.
   21184 STRIP=$lt_STRIP
   21185 
   21186 # Commands used to install an old-style archive.
   21187 RANLIB=$lt_RANLIB
   21188 old_postinstall_cmds=$lt_old_postinstall_cmds
   21189 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   21190 
   21191 # Whether to use a lock for old archive extraction.
   21192 lock_old_archive_extraction=$lock_old_archive_extraction
   21193 
   21194 # A C compiler.
   21195 LTCC=$lt_CC
   21196 
   21197 # LTCC compiler flags.
   21198 LTCFLAGS=$lt_CFLAGS
   21199 
   21200 # Take the output of nm and produce a listing of raw symbols and C names.
   21201 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   21202 
   21203 # Transform the output of nm in a proper C declaration.
   21204 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   21205 
   21206 # Transform the output of nm in a C name address pair.
   21207 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   21208 
   21209 # Transform the output of nm in a C name address pair when lib prefix is needed.
   21210 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   21211 
   21212 # Specify filename containing input files for \$NM.
   21213 nm_file_list_spec=$lt_nm_file_list_spec
   21214 
   21215 # The root where to search for dependent libraries,and in which our libraries should be installed.
   21216 lt_sysroot=$lt_sysroot
   21217 
   21218 # The name of the directory that contains temporary libtool files.
   21219 objdir=$objdir
   21220 
   21221 # Used to examine libraries when file_magic_cmd begins with "file".
   21222 MAGIC_CMD=$MAGIC_CMD
   21223 
   21224 # Must we lock files when doing compilation?
   21225 need_locks=$lt_need_locks
   21226 
   21227 # Manifest tool.
   21228 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   21229 
   21230 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   21231 DSYMUTIL=$lt_DSYMUTIL
   21232 
   21233 # Tool to change global to local symbols on Mac OS X.
   21234 NMEDIT=$lt_NMEDIT
   21235 
   21236 # Tool to manipulate fat objects and archives on Mac OS X.
   21237 LIPO=$lt_LIPO
   21238 
   21239 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   21240 OTOOL=$lt_OTOOL
   21241 
   21242 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   21243 OTOOL64=$lt_OTOOL64
   21244 
   21245 # Old archive suffix (normally "a").
   21246 libext=$libext
   21247 
   21248 # Shared library suffix (normally ".so").
   21249 shrext_cmds=$lt_shrext_cmds
   21250 
   21251 # The commands to extract the exported symbol list from a shared archive.
   21252 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   21253 
   21254 # Variables whose values should be saved in libtool wrapper scripts and
   21255 # restored at link time.
   21256 variables_saved_for_relink=$lt_variables_saved_for_relink
   21257 
   21258 # Do we need the "lib" prefix for modules?
   21259 need_lib_prefix=$need_lib_prefix
   21260 
   21261 # Do we need a version for libraries?
   21262 need_version=$need_version
   21263 
   21264 # Library versioning type.
   21265 version_type=$version_type
   21266 
   21267 # Shared library runtime path variable.
   21268 runpath_var=$runpath_var
   21269 
   21270 # Shared library path variable.
   21271 shlibpath_var=$shlibpath_var
   21272 
   21273 # Is shlibpath searched before the hard-coded library search path?
   21274 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   21275 
   21276 # Format of library name prefix.
   21277 libname_spec=$lt_libname_spec
   21278 
   21279 # List of archive names.  First name is the real one, the rest are links.
   21280 # The last name is the one that the linker finds with -lNAME
   21281 library_names_spec=$lt_library_names_spec
   21282 
   21283 # The coded name of the library, if different from the real name.
   21284 soname_spec=$lt_soname_spec
   21285 
   21286 # Permission mode override for installation of shared libraries.
   21287 install_override_mode=$lt_install_override_mode
   21288 
   21289 # Command to use after installation of a shared archive.
   21290 postinstall_cmds=$lt_postinstall_cmds
   21291 
   21292 # Command to use after uninstallation of a shared archive.
   21293 postuninstall_cmds=$lt_postuninstall_cmds
   21294 
   21295 # Commands used to finish a libtool library installation in a directory.
   21296 finish_cmds=$lt_finish_cmds
   21297 
   21298 # As "finish_cmds", except a single script fragment to be evaled but
   21299 # not shown.
   21300 finish_eval=$lt_finish_eval
   21301 
   21302 # Whether we should hardcode library paths into libraries.
   21303 hardcode_into_libs=$hardcode_into_libs
   21304 
   21305 # Compile-time system search path for libraries.
   21306 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   21307 
   21308 # Run-time system search path for libraries.
   21309 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   21310 
   21311 # Whether dlopen is supported.
   21312 dlopen_support=$enable_dlopen
   21313 
   21314 # Whether dlopen of programs is supported.
   21315 dlopen_self=$enable_dlopen_self
   21316 
   21317 # Whether dlopen of statically linked programs is supported.
   21318 dlopen_self_static=$enable_dlopen_self_static
   21319 
   21320 # Commands to strip libraries.
   21321 old_striplib=$lt_old_striplib
   21322 striplib=$lt_striplib
   21323 
   21324 
   21325 # The linker used to build libraries.
   21326 LD=$lt_LD
   21327 
   21328 # How to create reloadable object files.
   21329 reload_flag=$lt_reload_flag
   21330 reload_cmds=$lt_reload_cmds
   21331 
   21332 # Commands used to build an old-style archive.
   21333 old_archive_cmds=$lt_old_archive_cmds
   21334 
   21335 # A language specific compiler.
   21336 CC=$lt_compiler
   21337 
   21338 # Is the compiler the GNU compiler?
   21339 with_gcc=$GCC
   21340 
   21341 # Compiler flag to turn off builtin functions.
   21342 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   21343 
   21344 # Additional compiler flags for building library objects.
   21345 pic_flag=$lt_lt_prog_compiler_pic
   21346 
   21347 # How to pass a linker flag through the compiler.
   21348 wl=$lt_lt_prog_compiler_wl
   21349 
   21350 # Compiler flag to prevent dynamic linking.
   21351 link_static_flag=$lt_lt_prog_compiler_static
   21352 
   21353 # Does compiler simultaneously support -c and -o options?
   21354 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   21355 
   21356 # Whether or not to add -lc for building shared libraries.
   21357 build_libtool_need_lc=$archive_cmds_need_lc
   21358 
   21359 # Whether or not to disallow shared libs when runtime libs are static.
   21360 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   21361 
   21362 # Compiler flag to allow reflexive dlopens.
   21363 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   21364 
   21365 # Compiler flag to generate shared objects directly from archives.
   21366 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   21367 
   21368 # Whether the compiler copes with passing no objects directly.
   21369 compiler_needs_object=$lt_compiler_needs_object
   21370 
   21371 # Create an old-style archive from a shared archive.
   21372 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   21373 
   21374 # Create a temporary old-style archive to link instead of a shared archive.
   21375 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   21376 
   21377 # Commands used to build a shared archive.
   21378 archive_cmds=$lt_archive_cmds
   21379 archive_expsym_cmds=$lt_archive_expsym_cmds
   21380 
   21381 # Commands used to build a loadable module if different from building
   21382 # a shared archive.
   21383 module_cmds=$lt_module_cmds
   21384 module_expsym_cmds=$lt_module_expsym_cmds
   21385 
   21386 # Whether we are building with GNU ld or not.
   21387 with_gnu_ld=$lt_with_gnu_ld
   21388 
   21389 # Flag that allows shared libraries with undefined symbols to be built.
   21390 allow_undefined_flag=$lt_allow_undefined_flag
   21391 
   21392 # Flag that enforces no undefined symbols.
   21393 no_undefined_flag=$lt_no_undefined_flag
   21394 
   21395 # Flag to hardcode \$libdir into a binary during linking.
   21396 # This must work even if \$libdir does not exist
   21397 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   21398 
   21399 # Whether we need a single "-rpath" flag with a separated argument.
   21400 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   21401 
   21402 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   21403 # DIR into the resulting binary.
   21404 hardcode_direct=$hardcode_direct
   21405 
   21406 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   21407 # DIR into the resulting binary and the resulting library dependency is
   21408 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   21409 # library is relocated.
   21410 hardcode_direct_absolute=$hardcode_direct_absolute
   21411 
   21412 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   21413 # into the resulting binary.
   21414 hardcode_minus_L=$hardcode_minus_L
   21415 
   21416 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   21417 # into the resulting binary.
   21418 hardcode_shlibpath_var=$hardcode_shlibpath_var
   21419 
   21420 # Set to "yes" if building a shared library automatically hardcodes DIR
   21421 # into the library and all subsequent libraries and executables linked
   21422 # against it.
   21423 hardcode_automatic=$hardcode_automatic
   21424 
   21425 # Set to yes if linker adds runtime paths of dependent libraries
   21426 # to runtime path list.
   21427 inherit_rpath=$inherit_rpath
   21428 
   21429 # Whether libtool must link a program against all its dependency libraries.
   21430 link_all_deplibs=$link_all_deplibs
   21431 
   21432 # Set to "yes" if exported symbols are required.
   21433 always_export_symbols=$always_export_symbols
   21434 
   21435 # The commands to list exported symbols.
   21436 export_symbols_cmds=$lt_export_symbols_cmds
   21437 
   21438 # Symbols that should not be listed in the preloaded symbols.
   21439 exclude_expsyms=$lt_exclude_expsyms
   21440 
   21441 # Symbols that must always be exported.
   21442 include_expsyms=$lt_include_expsyms
   21443 
   21444 # Commands necessary for linking programs (against libraries) with templates.
   21445 prelink_cmds=$lt_prelink_cmds
   21446 
   21447 # Commands necessary for finishing linking programs.
   21448 postlink_cmds=$lt_postlink_cmds
   21449 
   21450 # Specify filename containing input files.
   21451 file_list_spec=$lt_file_list_spec
   21452 
   21453 # How to hardcode a shared library path into an executable.
   21454 hardcode_action=$hardcode_action
   21455 
   21456 # ### END LIBTOOL CONFIG
   21457 
   21458 _LT_EOF
   21459 
   21460   case $host_os in
   21461   aix3*)
   21462     cat <<\_LT_EOF >> "$cfgfile"
   21463 # AIX sometimes has problems with the GCC collect2 program.  For some
   21464 # reason, if we set the COLLECT_NAMES environment variable, the problems
   21465 # vanish in a puff of smoke.
   21466 if test "X${COLLECT_NAMES+set}" != Xset; then
   21467   COLLECT_NAMES=
   21468   export COLLECT_NAMES
   21469 fi
   21470 _LT_EOF
   21471     ;;
   21472   esac
   21473 
   21474 
   21475 ltmain="$ac_aux_dir/ltmain.sh"
   21476 
   21477 
   21478   # We use sed instead of cat because bash on DJGPP gets confused if
   21479   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   21480   # text mode, it properly converts lines to CR/LF.  This bash problem
   21481   # is reportedly fixed, but why not run on old versions too?
   21482   sed '$q' "$ltmain" >> "$cfgfile" \
   21483      || (rm -f "$cfgfile"; exit 1)
   21484 
   21485   if test x"$xsi_shell" = xyes; then
   21486   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   21487 func_dirname ()\
   21488 {\
   21489 \    case ${1} in\
   21490 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   21491 \      *  ) func_dirname_result="${3}" ;;\
   21492 \    esac\
   21493 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   21494   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21495     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21496 test 0 -eq $? || _lt_function_replace_fail=:
   21497 
   21498 
   21499   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   21500 func_basename ()\
   21501 {\
   21502 \    func_basename_result="${1##*/}"\
   21503 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   21504   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21505     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21506 test 0 -eq $? || _lt_function_replace_fail=:
   21507 
   21508 
   21509   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   21510 func_dirname_and_basename ()\
   21511 {\
   21512 \    case ${1} in\
   21513 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   21514 \      *  ) func_dirname_result="${3}" ;;\
   21515 \    esac\
   21516 \    func_basename_result="${1##*/}"\
   21517 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   21518   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21519     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21520 test 0 -eq $? || _lt_function_replace_fail=:
   21521 
   21522 
   21523   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   21524 func_stripname ()\
   21525 {\
   21526 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   21527 \    # positional parameters, so assign one to ordinary parameter first.\
   21528 \    func_stripname_result=${3}\
   21529 \    func_stripname_result=${func_stripname_result#"${1}"}\
   21530 \    func_stripname_result=${func_stripname_result%"${2}"}\
   21531 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   21532   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21533     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21534 test 0 -eq $? || _lt_function_replace_fail=:
   21535 
   21536 
   21537   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   21538 func_split_long_opt ()\
   21539 {\
   21540 \    func_split_long_opt_name=${1%%=*}\
   21541 \    func_split_long_opt_arg=${1#*=}\
   21542 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   21543   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21544     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21545 test 0 -eq $? || _lt_function_replace_fail=:
   21546 
   21547 
   21548   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   21549 func_split_short_opt ()\
   21550 {\
   21551 \    func_split_short_opt_arg=${1#??}\
   21552 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   21553 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   21554   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21555     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21556 test 0 -eq $? || _lt_function_replace_fail=:
   21557 
   21558 
   21559   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   21560 func_lo2o ()\
   21561 {\
   21562 \    case ${1} in\
   21563 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   21564 \      *)    func_lo2o_result=${1} ;;\
   21565 \    esac\
   21566 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   21567   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21568     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21569 test 0 -eq $? || _lt_function_replace_fail=:
   21570 
   21571 
   21572   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   21573 func_xform ()\
   21574 {\
   21575     func_xform_result=${1%.*}.lo\
   21576 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   21577   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21578     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21579 test 0 -eq $? || _lt_function_replace_fail=:
   21580 
   21581 
   21582   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   21583 func_arith ()\
   21584 {\
   21585     func_arith_result=$(( $* ))\
   21586 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   21587   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21588     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21589 test 0 -eq $? || _lt_function_replace_fail=:
   21590 
   21591 
   21592   sed -e '/^func_len ()$/,/^} # func_len /c\
   21593 func_len ()\
   21594 {\
   21595     func_len_result=${#1}\
   21596 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   21597   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21598     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21599 test 0 -eq $? || _lt_function_replace_fail=:
   21600 
   21601 fi
   21602 
   21603 if test x"$lt_shell_append" = xyes; then
   21604   sed -e '/^func_append ()$/,/^} # func_append /c\
   21605 func_append ()\
   21606 {\
   21607     eval "${1}+=\\${2}"\
   21608 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   21609   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21610     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21611 test 0 -eq $? || _lt_function_replace_fail=:
   21612 
   21613 
   21614   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   21615 func_append_quoted ()\
   21616 {\
   21617 \    func_quote_for_eval "${2}"\
   21618 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   21619 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   21620   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21621     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21622 test 0 -eq $? || _lt_function_replace_fail=:
   21623 
   21624 
   21625   # Save a `func_append' function call where possible by direct use of '+='
   21626   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   21627     && mv -f "$cfgfile.tmp" "$cfgfile" \
   21628       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21629   test 0 -eq $? || _lt_function_replace_fail=:
   21630 else
   21631   # Save a `func_append' function call even when '+=' is not available
   21632   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   21633     && mv -f "$cfgfile.tmp" "$cfgfile" \
   21634       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21635   test 0 -eq $? || _lt_function_replace_fail=:
   21636 fi
   21637 
   21638 if test x"$_lt_function_replace_fail" = x":"; then
   21639   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   21640 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   21641 fi
   21642 
   21643 
   21644    mv -f "$cfgfile" "$ofile" ||
   21645     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   21646   chmod +x "$ofile"
   21647 
   21648  ;;
   21649 
   21650   esac
   21651 done # for ac_tag
   21652 
   21653 
   21654 as_fn_exit 0
   21655 _ACEOF
   21656 ac_clean_files=$ac_clean_files_save
   21657 
   21658 test $ac_write_fail = 0 ||
   21659   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   21660 
   21661 
   21662 # configure is writing to config.log, and then calls config.status.
   21663 # config.status does its own redirection, appending to config.log.
   21664 # Unfortunately, on DOS this fails, as config.log is still kept open
   21665 # by configure, so config.status won't be able to write to it; its
   21666 # output is simply discarded.  So we exec the FD to /dev/null,
   21667 # effectively closing config.log, so it can be properly (re)opened and
   21668 # appended to by config.status.  When coming back to configure, we
   21669 # need to make the FD available again.
   21670 if test "$no_create" != yes; then
   21671   ac_cs_success=:
   21672   ac_config_status_args=
   21673   test "$silent" = yes &&
   21674     ac_config_status_args="$ac_config_status_args --quiet"
   21675   exec 5>/dev/null
   21676   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   21677   exec 5>>config.log
   21678   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   21679   # would make configure fail if this is the last instruction.
   21680   $ac_cs_success || as_fn_exit 1
   21681 fi
   21682 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   21683   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   21684 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   21685 fi
   21686 
   21687