Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.8
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for libXt 1.1.5.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 
    202   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    203     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    206     PATH=/empty FPATH=/empty; export PATH FPATH
    207     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    208       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    209 test \$(( 1 + 1 )) = 2 || exit 1"
    210   if (eval "$as_required") 2>/dev/null; then :
    211   as_have_required=yes
    212 else
    213   as_have_required=no
    214 fi
    215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    216 
    217 else
    218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    219 as_found=false
    220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    221 do
    222   IFS=$as_save_IFS
    223   test -z "$as_dir" && as_dir=.
    224   as_found=:
    225   case $as_dir in #(
    226 	 /*)
    227 	   for as_base in sh bash ksh sh5; do
    228 	     # Try only shells that exist, to save several forks.
    229 	     as_shell=$as_dir/$as_base
    230 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    231 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   CONFIG_SHELL=$as_shell as_have_required=yes
    233 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    234   break 2
    235 fi
    236 fi
    237 	   done;;
    238        esac
    239   as_found=false
    240 done
    241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    243   CONFIG_SHELL=$SHELL as_have_required=yes
    244 fi; }
    245 IFS=$as_save_IFS
    246 
    247 
    248       if test "x$CONFIG_SHELL" != x; then :
    249   export CONFIG_SHELL
    250              # We cannot yet assume a decent shell, so we have to provide a
    251 # neutralization value for shells without unset; and this also
    252 # works around shells that cannot unset nonexistent variables.
    253 # Preserve -v and -x to the replacement shell.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in # ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264 # Admittedly, this is quite paranoid, since all the known shells bail
    265 # out after a failed `exec'.
    266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno; then :
    271   $as_echo "$0: This script requires a shell more modern than all"
    272   $as_echo "$0: the shells that I found on your system."
    273   if test x${ZSH_VERSION+set} = xset ; then
    274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    276   else
    277     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    278 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    279 $0: about your system, including any error possibly output
    280 $0: before this message. Then install a modern shell, or
    281 $0: manually run the script under such a shell if you do
    282 $0: have one."
    283   fi
    284   exit 1
    285 fi
    286 fi
    287 fi
    288 SHELL=${CONFIG_SHELL-/bin/sh}
    289 export SHELL
    290 # Unset more variables known to interfere with behavior of common tools.
    291 CLICOLOR_FORCE= GREP_OPTIONS=
    292 unset CLICOLOR_FORCE GREP_OPTIONS
    293 
    294 ## --------------------- ##
    295 ## M4sh Shell Functions. ##
    296 ## --------------------- ##
    297 # as_fn_unset VAR
    298 # ---------------
    299 # Portably unset VAR.
    300 as_fn_unset ()
    301 {
    302   { eval $1=; unset $1;}
    303 }
    304 as_unset=as_fn_unset
    305 
    306 # as_fn_set_status STATUS
    307 # -----------------------
    308 # Set $? to STATUS, without forking.
    309 as_fn_set_status ()
    310 {
    311   return $1
    312 } # as_fn_set_status
    313 
    314 # as_fn_exit STATUS
    315 # -----------------
    316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    317 as_fn_exit ()
    318 {
    319   set +e
    320   as_fn_set_status $1
    321   exit $1
    322 } # as_fn_exit
    323 
    324 # as_fn_mkdir_p
    325 # -------------
    326 # Create "$as_dir" as a directory, including parents if necessary.
    327 as_fn_mkdir_p ()
    328 {
    329 
    330   case $as_dir in #(
    331   -*) as_dir=./$as_dir;;
    332   esac
    333   test -d "$as_dir" || eval $as_mkdir_p || {
    334     as_dirs=
    335     while :; do
    336       case $as_dir in #(
    337       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    338       *) as_qdir=$as_dir;;
    339       esac
    340       as_dirs="'$as_qdir' $as_dirs"
    341       as_dir=`$as_dirname -- "$as_dir" ||
    342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    343 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    344 	 X"$as_dir" : 'X\(//\)$' \| \
    345 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    346 $as_echo X"$as_dir" |
    347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\/\)[^/].*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  /^X\(\/\/\)$/{
    356 	    s//\1/
    357 	    q
    358 	  }
    359 	  /^X\(\/\).*/{
    360 	    s//\1/
    361 	    q
    362 	  }
    363 	  s/.*/./; q'`
    364       test -d "$as_dir" && break
    365     done
    366     test -z "$as_dirs" || eval "mkdir $as_dirs"
    367   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    368 
    369 
    370 } # as_fn_mkdir_p
    371 
    372 # as_fn_executable_p FILE
    373 # -----------------------
    374 # Test if FILE is an executable regular file.
    375 as_fn_executable_p ()
    376 {
    377   test -f "$1" && test -x "$1"
    378 } # as_fn_executable_p
    379 # as_fn_append VAR VALUE
    380 # ----------------------
    381 # Append the text in VALUE to the end of the definition contained in VAR. Take
    382 # advantage of any shell optimizations that allow amortized linear growth over
    383 # repeated appends, instead of the typical quadratic growth present in naive
    384 # implementations.
    385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    386   eval 'as_fn_append ()
    387   {
    388     eval $1+=\$2
    389   }'
    390 else
    391   as_fn_append ()
    392   {
    393     eval $1=\$$1\$2
    394   }
    395 fi # as_fn_append
    396 
    397 # as_fn_arith ARG...
    398 # ------------------
    399 # Perform arithmetic evaluation on the ARGs, and store the result in the
    400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    401 # must be portable across $(()) and expr.
    402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    403   eval 'as_fn_arith ()
    404   {
    405     as_val=$(( $* ))
    406   }'
    407 else
    408   as_fn_arith ()
    409   {
    410     as_val=`expr "$@" || test $? -eq 1`
    411   }
    412 fi # as_fn_arith
    413 
    414 
    415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    416 # ----------------------------------------
    417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    419 # script with STATUS, using 1 if that was 0.
    420 as_fn_error ()
    421 {
    422   as_status=$1; test $as_status -eq 0 && as_status=1
    423   if test "$4"; then
    424     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    425     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    426   fi
    427   $as_echo "$as_me: error: $2" >&2
    428   as_fn_exit $as_status
    429 } # as_fn_error
    430 
    431 if expr a : '\(a\)' >/dev/null 2>&1 &&
    432    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    433   as_expr=expr
    434 else
    435   as_expr=false
    436 fi
    437 
    438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    439   as_basename=basename
    440 else
    441   as_basename=false
    442 fi
    443 
    444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    445   as_dirname=dirname
    446 else
    447   as_dirname=false
    448 fi
    449 
    450 as_me=`$as_basename -- "$0" ||
    451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    452 	 X"$0" : 'X\(//\)$' \| \
    453 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    454 $as_echo X/"$0" |
    455     sed '/^.*\/\([^/][^/]*\)\/*$/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  /^X\/\(\/\/\)$/{
    460 	    s//\1/
    461 	    q
    462 	  }
    463 	  /^X\/\(\/\).*/{
    464 	    s//\1/
    465 	    q
    466 	  }
    467 	  s/.*/./; q'`
    468 
    469 # Avoid depending upon Character Ranges.
    470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    473 as_cr_digits='0123456789'
    474 as_cr_alnum=$as_cr_Letters$as_cr_digits
    475 
    476 
    477   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    478   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    479   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    480   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    481   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    482   sed -n '
    483     p
    484     /[$]LINENO/=
    485   ' <$as_myself |
    486     sed '
    487       s/[$]LINENO.*/&-/
    488       t lineno
    489       b
    490       :lineno
    491       N
    492       :loop
    493       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    494       t loop
    495       s/-\n.*//
    496     ' >$as_me.lineno &&
    497   chmod +x "$as_me.lineno" ||
    498     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    499 
    500   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    501   # already done that, so ensure we don't try to do so again and fall
    502   # in an infinite loop.  This has already happened in practice.
    503   _as_can_reexec=no; export _as_can_reexec
    504   # Don't try to exec as it changes $[0], causing all sort of problems
    505   # (the dirname of $[0] is not the place where we might find the
    506   # original and so on.  Autoconf is especially sensitive to this).
    507   . "./$as_me.lineno"
    508   # Exit status is that of the last command.
    509   exit
    510 }
    511 
    512 ECHO_C= ECHO_N= ECHO_T=
    513 case `echo -n x` in #(((((
    514 -n*)
    515   case `echo 'xy\c'` in
    516   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    517   xy)  ECHO_C='\c';;
    518   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    519        ECHO_T='	';;
    520   esac;;
    521 *)
    522   ECHO_N='-n';;
    523 esac
    524 
    525 rm -f conf$$ conf$$.exe conf$$.file
    526 if test -d conf$$.dir; then
    527   rm -f conf$$.dir/conf$$.file
    528 else
    529   rm -f conf$$.dir
    530   mkdir conf$$.dir 2>/dev/null
    531 fi
    532 if (echo >conf$$.file) 2>/dev/null; then
    533   if ln -s conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s='ln -s'
    535     # ... but there are two gotchas:
    536     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    537     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    538     # In both cases, we have to default to `cp -pR'.
    539     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    540       as_ln_s='cp -pR'
    541   elif ln conf$$.file conf$$ 2>/dev/null; then
    542     as_ln_s=ln
    543   else
    544     as_ln_s='cp -pR'
    545   fi
    546 else
    547   as_ln_s='cp -pR'
    548 fi
    549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    550 rmdir conf$$.dir 2>/dev/null
    551 
    552 if mkdir -p . 2>/dev/null; then
    553   as_mkdir_p='mkdir -p "$as_dir"'
    554 else
    555   test -d ./-p && rmdir ./-p
    556   as_mkdir_p=false
    557 fi
    558 
    559 as_test_x='test -x'
    560 as_executable_p=as_fn_executable_p
    561 
    562 # Sed expression to map a string onto a valid CPP name.
    563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    564 
    565 # Sed expression to map a string onto a valid variable name.
    566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    567 
    568 SHELL=${CONFIG_SHELL-/bin/sh}
    569 
    570 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='libXt'
    653 PACKAGE_TARNAME='libXt'
    654 PACKAGE_VERSION='1.1.5'
    655 PACKAGE_STRING='libXt 1.1.5'
    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 ERRORDBDIR
    701 STRINGSABIOPTIONS
    702 appdefaultdir
    703 XFILESEARCHPATHDEFAULT
    704 MALLOC_DEBUG_ENV
    705 HAVE_GLIB_FALSE
    706 HAVE_GLIB_TRUE
    707 GLIB_LIBS
    708 GLIB_CFLAGS
    709 ENABLE_UNIT_TESTS_FALSE
    710 ENABLE_UNIT_TESTS_TRUE
    711 XORG_MALLOC_DEBUG_ENV
    712 LDFLAGS_FOR_BUILD
    713 CFLAGS_FOR_BUILD
    714 CPPFLAGS_FOR_BUILD
    715 CC_FOR_BUILD
    716 XT_LIBS
    717 XT_CFLAGS
    718 HAVE_PERL_FALSE
    719 HAVE_PERL_TRUE
    720 PERL
    721 TRADITIONALCPPFLAGS
    722 RAWCPPFLAGS
    723 RAWCPP
    724 HAVE_STYLESHEETS_FALSE
    725 HAVE_STYLESHEETS_TRUE
    726 XSL_STYLESHEET
    727 STYLESHEET_SRCDIR
    728 XORG_SGML_PATH
    729 HAVE_XSLTPROC_FALSE
    730 HAVE_XSLTPROC_TRUE
    731 XSLTPROC
    732 HAVE_FOP_FALSE
    733 HAVE_FOP_TRUE
    734 FOP
    735 HAVE_XMLTO_FALSE
    736 HAVE_XMLTO_TRUE
    737 HAVE_XMLTO_TEXT_FALSE
    738 HAVE_XMLTO_TEXT_TRUE
    739 XMLTO
    740 ENABLE_SPECS_FALSE
    741 ENABLE_SPECS_TRUE
    742 XTMALLOC_ZERO_CFLAGS
    743 XMALLOC_ZERO_CFLAGS
    744 MALLOC_ZERO_CFLAGS
    745 MAN_SUBSTS
    746 XORG_MAN_PAGE
    747 ADMIN_MAN_DIR
    748 DRIVER_MAN_DIR
    749 MISC_MAN_DIR
    750 FILE_MAN_DIR
    751 LIB_MAN_DIR
    752 APP_MAN_DIR
    753 ADMIN_MAN_SUFFIX
    754 DRIVER_MAN_SUFFIX
    755 MISC_MAN_SUFFIX
    756 FILE_MAN_SUFFIX
    757 LIB_MAN_SUFFIX
    758 APP_MAN_SUFFIX
    759 INSTALL_CMD
    760 PKG_CONFIG
    761 CHANGELOG_CMD
    762 STRICT_CFLAGS
    763 CWARNFLAGS
    764 BASE_CFLAGS
    765 CPP
    766 OTOOL64
    767 OTOOL
    768 LIPO
    769 NMEDIT
    770 DSYMUTIL
    771 MANIFEST_TOOL
    772 RANLIB
    773 ac_ct_AR
    774 AR
    775 DLLTOOL
    776 OBJDUMP
    777 LN_S
    778 NM
    779 ac_ct_DUMPBIN
    780 DUMPBIN
    781 LD
    782 FGREP
    783 EGREP
    784 GREP
    785 SED
    786 am__fastdepCC_FALSE
    787 am__fastdepCC_TRUE
    788 CCDEPMODE
    789 am__nodep
    790 AMDEPBACKSLASH
    791 AMDEP_FALSE
    792 AMDEP_TRUE
    793 am__quote
    794 am__include
    795 DEPDIR
    796 OBJEXT
    797 EXEEXT
    798 ac_ct_CC
    799 CPPFLAGS
    800 LDFLAGS
    801 CFLAGS
    802 CC
    803 host_os
    804 host_vendor
    805 host_cpu
    806 host
    807 build_os
    808 build_vendor
    809 build_cpu
    810 build
    811 LIBTOOL
    812 AM_BACKSLASH
    813 AM_DEFAULT_VERBOSITY
    814 AM_DEFAULT_V
    815 AM_V
    816 am__untar
    817 am__tar
    818 AMTAR
    819 am__leading_dot
    820 SET_MAKE
    821 AWK
    822 mkdir_p
    823 MKDIR_P
    824 INSTALL_STRIP_PROGRAM
    825 STRIP
    826 install_sh
    827 MAKEINFO
    828 AUTOHEADER
    829 AUTOMAKE
    830 AUTOCONF
    831 ACLOCAL
    832 VERSION
    833 PACKAGE
    834 CYGPATH_W
    835 am__isrc
    836 INSTALL_DATA
    837 INSTALL_SCRIPT
    838 INSTALL_PROGRAM
    839 target_alias
    840 host_alias
    841 build_alias
    842 LIBS
    843 ECHO_T
    844 ECHO_N
    845 ECHO_C
    846 DEFS
    847 mandir
    848 localedir
    849 libdir
    850 psdir
    851 pdfdir
    852 dvidir
    853 htmldir
    854 infodir
    855 docdir
    856 oldincludedir
    857 includedir
    858 localstatedir
    859 sharedstatedir
    860 sysconfdir
    861 datadir
    862 datarootdir
    863 libexecdir
    864 sbindir
    865 bindir
    866 program_transform_name
    867 prefix
    868 exec_prefix
    869 PACKAGE_URL
    870 PACKAGE_BUGREPORT
    871 PACKAGE_STRING
    872 PACKAGE_VERSION
    873 PACKAGE_TARNAME
    874 PACKAGE_NAME
    875 PATH_SEPARATOR
    876 SHELL'
    877 ac_subst_files=''
    878 ac_user_opts='
    879 enable_option_checking
    880 enable_silent_rules
    881 enable_shared
    882 enable_static
    883 with_pic
    884 enable_fast_install
    885 enable_dependency_tracking
    886 with_gnu_ld
    887 with_sysroot
    888 enable_libtool_lock
    889 enable_selective_werror
    890 enable_strict_compilation
    891 enable_malloc0returnsnull
    892 enable_specs
    893 with_xmlto
    894 with_fop
    895 with_xsltproc
    896 with_perl
    897 enable_xkb
    898 enable_unit_tests
    899 with_glib
    900 with_xfile_search_path
    901 with_appdefaultdir
    902 '
    903       ac_precious_vars='build_alias
    904 host_alias
    905 target_alias
    906 CC
    907 CFLAGS
    908 LDFLAGS
    909 LIBS
    910 CPPFLAGS
    911 CPP
    912 PKG_CONFIG
    913 XMLTO
    914 FOP
    915 XSLTPROC
    916 PERL
    917 XT_CFLAGS
    918 XT_LIBS
    919 XORG_MALLOC_DEBUG_ENV
    920 GLIB_CFLAGS
    921 GLIB_LIBS'
    922 
    923 
    924 # Initialize some variables set by options.
    925 ac_init_help=
    926 ac_init_version=false
    927 ac_unrecognized_opts=
    928 ac_unrecognized_sep=
    929 # The variables have the same names as the options, with
    930 # dashes changed to underlines.
    931 cache_file=/dev/null
    932 exec_prefix=NONE
    933 no_create=
    934 no_recursion=
    935 prefix=NONE
    936 program_prefix=NONE
    937 program_suffix=NONE
    938 program_transform_name=s,x,x,
    939 silent=
    940 site=
    941 srcdir=
    942 verbose=
    943 x_includes=NONE
    944 x_libraries=NONE
    945 
    946 # Installation directory options.
    947 # These are left unexpanded so users can "make install exec_prefix=/foo"
    948 # and all the variables that are supposed to be based on exec_prefix
    949 # by default will actually change.
    950 # Use braces instead of parens because sh, perl, etc. also accept them.
    951 # (The list follows the same order as the GNU Coding Standards.)
    952 bindir='${exec_prefix}/bin'
    953 sbindir='${exec_prefix}/sbin'
    954 libexecdir='${exec_prefix}/libexec'
    955 datarootdir='${prefix}/share'
    956 datadir='${datarootdir}'
    957 sysconfdir='${prefix}/etc'
    958 sharedstatedir='${prefix}/com'
    959 localstatedir='${prefix}/var'
    960 includedir='${prefix}/include'
    961 oldincludedir='/usr/include'
    962 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    963 infodir='${datarootdir}/info'
    964 htmldir='${docdir}'
    965 dvidir='${docdir}'
    966 pdfdir='${docdir}'
    967 psdir='${docdir}'
    968 libdir='${exec_prefix}/lib'
    969 localedir='${datarootdir}/locale'
    970 mandir='${datarootdir}/man'
    971 
    972 ac_prev=
    973 ac_dashdash=
    974 for ac_option
    975 do
    976   # If the previous option needs an argument, assign it.
    977   if test -n "$ac_prev"; then
    978     eval $ac_prev=\$ac_option
    979     ac_prev=
    980     continue
    981   fi
    982 
    983   case $ac_option in
    984   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    985   *=)   ac_optarg= ;;
    986   *)    ac_optarg=yes ;;
    987   esac
    988 
    989   # Accept the important Cygnus configure options, so we can diagnose typos.
    990 
    991   case $ac_dashdash$ac_option in
    992   --)
    993     ac_dashdash=yes ;;
    994 
    995   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    996     ac_prev=bindir ;;
    997   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    998     bindir=$ac_optarg ;;
    999 
   1000   -build | --build | --buil | --bui | --bu)
   1001     ac_prev=build_alias ;;
   1002   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1003     build_alias=$ac_optarg ;;
   1004 
   1005   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1006   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1007     ac_prev=cache_file ;;
   1008   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1009   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1010     cache_file=$ac_optarg ;;
   1011 
   1012   --config-cache | -C)
   1013     cache_file=config.cache ;;
   1014 
   1015   -datadir | --datadir | --datadi | --datad)
   1016     ac_prev=datadir ;;
   1017   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1018     datadir=$ac_optarg ;;
   1019 
   1020   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1021   | --dataroo | --dataro | --datar)
   1022     ac_prev=datarootdir ;;
   1023   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1024   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1025     datarootdir=$ac_optarg ;;
   1026 
   1027   -disable-* | --disable-*)
   1028     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1029     # Reject names that are not valid shell variable names.
   1030     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1031       as_fn_error $? "invalid feature name: $ac_useropt"
   1032     ac_useropt_orig=$ac_useropt
   1033     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1034     case $ac_user_opts in
   1035       *"
   1036 "enable_$ac_useropt"
   1037 "*) ;;
   1038       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1039 	 ac_unrecognized_sep=', ';;
   1040     esac
   1041     eval enable_$ac_useropt=no ;;
   1042 
   1043   -docdir | --docdir | --docdi | --doc | --do)
   1044     ac_prev=docdir ;;
   1045   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1046     docdir=$ac_optarg ;;
   1047 
   1048   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1049     ac_prev=dvidir ;;
   1050   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1051     dvidir=$ac_optarg ;;
   1052 
   1053   -enable-* | --enable-*)
   1054     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1055     # Reject names that are not valid shell variable names.
   1056     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1057       as_fn_error $? "invalid feature name: $ac_useropt"
   1058     ac_useropt_orig=$ac_useropt
   1059     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1060     case $ac_user_opts in
   1061       *"
   1062 "enable_$ac_useropt"
   1063 "*) ;;
   1064       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1065 	 ac_unrecognized_sep=', ';;
   1066     esac
   1067     eval enable_$ac_useropt=\$ac_optarg ;;
   1068 
   1069   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1070   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1071   | --exec | --exe | --ex)
   1072     ac_prev=exec_prefix ;;
   1073   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1074   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1075   | --exec=* | --exe=* | --ex=*)
   1076     exec_prefix=$ac_optarg ;;
   1077 
   1078   -gas | --gas | --ga | --g)
   1079     # Obsolete; use --with-gas.
   1080     with_gas=yes ;;
   1081 
   1082   -help | --help | --hel | --he | -h)
   1083     ac_init_help=long ;;
   1084   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1085     ac_init_help=recursive ;;
   1086   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1087     ac_init_help=short ;;
   1088 
   1089   -host | --host | --hos | --ho)
   1090     ac_prev=host_alias ;;
   1091   -host=* | --host=* | --hos=* | --ho=*)
   1092     host_alias=$ac_optarg ;;
   1093 
   1094   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1095     ac_prev=htmldir ;;
   1096   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1097   | --ht=*)
   1098     htmldir=$ac_optarg ;;
   1099 
   1100   -includedir | --includedir | --includedi | --included | --include \
   1101   | --includ | --inclu | --incl | --inc)
   1102     ac_prev=includedir ;;
   1103   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1104   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1105     includedir=$ac_optarg ;;
   1106 
   1107   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1108     ac_prev=infodir ;;
   1109   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1110     infodir=$ac_optarg ;;
   1111 
   1112   -libdir | --libdir | --libdi | --libd)
   1113     ac_prev=libdir ;;
   1114   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1115     libdir=$ac_optarg ;;
   1116 
   1117   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1118   | --libexe | --libex | --libe)
   1119     ac_prev=libexecdir ;;
   1120   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1121   | --libexe=* | --libex=* | --libe=*)
   1122     libexecdir=$ac_optarg ;;
   1123 
   1124   -localedir | --localedir | --localedi | --localed | --locale)
   1125     ac_prev=localedir ;;
   1126   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1127     localedir=$ac_optarg ;;
   1128 
   1129   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1130   | --localstate | --localstat | --localsta | --localst | --locals)
   1131     ac_prev=localstatedir ;;
   1132   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1133   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1134     localstatedir=$ac_optarg ;;
   1135 
   1136   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1137     ac_prev=mandir ;;
   1138   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1139     mandir=$ac_optarg ;;
   1140 
   1141   -nfp | --nfp | --nf)
   1142     # Obsolete; use --without-fp.
   1143     with_fp=no ;;
   1144 
   1145   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1146   | --no-cr | --no-c | -n)
   1147     no_create=yes ;;
   1148 
   1149   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1150   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1151     no_recursion=yes ;;
   1152 
   1153   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1154   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1155   | --oldin | --oldi | --old | --ol | --o)
   1156     ac_prev=oldincludedir ;;
   1157   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1158   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1159   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1160     oldincludedir=$ac_optarg ;;
   1161 
   1162   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1163     ac_prev=prefix ;;
   1164   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1165     prefix=$ac_optarg ;;
   1166 
   1167   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1168   | --program-pre | --program-pr | --program-p)
   1169     ac_prev=program_prefix ;;
   1170   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1171   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1172     program_prefix=$ac_optarg ;;
   1173 
   1174   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1175   | --program-suf | --program-su | --program-s)
   1176     ac_prev=program_suffix ;;
   1177   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1178   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1179     program_suffix=$ac_optarg ;;
   1180 
   1181   -program-transform-name | --program-transform-name \
   1182   | --program-transform-nam | --program-transform-na \
   1183   | --program-transform-n | --program-transform- \
   1184   | --program-transform | --program-transfor \
   1185   | --program-transfo | --program-transf \
   1186   | --program-trans | --program-tran \
   1187   | --progr-tra | --program-tr | --program-t)
   1188     ac_prev=program_transform_name ;;
   1189   -program-transform-name=* | --program-transform-name=* \
   1190   | --program-transform-nam=* | --program-transform-na=* \
   1191   | --program-transform-n=* | --program-transform-=* \
   1192   | --program-transform=* | --program-transfor=* \
   1193   | --program-transfo=* | --program-transf=* \
   1194   | --program-trans=* | --program-tran=* \
   1195   | --progr-tra=* | --program-tr=* | --program-t=*)
   1196     program_transform_name=$ac_optarg ;;
   1197 
   1198   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1199     ac_prev=pdfdir ;;
   1200   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1201     pdfdir=$ac_optarg ;;
   1202 
   1203   -psdir | --psdir | --psdi | --psd | --ps)
   1204     ac_prev=psdir ;;
   1205   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1206     psdir=$ac_optarg ;;
   1207 
   1208   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1209   | -silent | --silent | --silen | --sile | --sil)
   1210     silent=yes ;;
   1211 
   1212   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1213     ac_prev=sbindir ;;
   1214   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1215   | --sbi=* | --sb=*)
   1216     sbindir=$ac_optarg ;;
   1217 
   1218   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1219   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1220   | --sharedst | --shareds | --shared | --share | --shar \
   1221   | --sha | --sh)
   1222     ac_prev=sharedstatedir ;;
   1223   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1224   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1225   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1226   | --sha=* | --sh=*)
   1227     sharedstatedir=$ac_optarg ;;
   1228 
   1229   -site | --site | --sit)
   1230     ac_prev=site ;;
   1231   -site=* | --site=* | --sit=*)
   1232     site=$ac_optarg ;;
   1233 
   1234   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1235     ac_prev=srcdir ;;
   1236   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1237     srcdir=$ac_optarg ;;
   1238 
   1239   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1240   | --syscon | --sysco | --sysc | --sys | --sy)
   1241     ac_prev=sysconfdir ;;
   1242   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1243   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1244     sysconfdir=$ac_optarg ;;
   1245 
   1246   -target | --target | --targe | --targ | --tar | --ta | --t)
   1247     ac_prev=target_alias ;;
   1248   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1249     target_alias=$ac_optarg ;;
   1250 
   1251   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1252     verbose=yes ;;
   1253 
   1254   -version | --version | --versio | --versi | --vers | -V)
   1255     ac_init_version=: ;;
   1256 
   1257   -with-* | --with-*)
   1258     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1259     # Reject names that are not valid shell variable names.
   1260     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1261       as_fn_error $? "invalid package name: $ac_useropt"
   1262     ac_useropt_orig=$ac_useropt
   1263     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1264     case $ac_user_opts in
   1265       *"
   1266 "with_$ac_useropt"
   1267 "*) ;;
   1268       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1269 	 ac_unrecognized_sep=', ';;
   1270     esac
   1271     eval with_$ac_useropt=\$ac_optarg ;;
   1272 
   1273   -without-* | --without-*)
   1274     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1275     # Reject names that are not valid shell variable names.
   1276     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1277       as_fn_error $? "invalid package name: $ac_useropt"
   1278     ac_useropt_orig=$ac_useropt
   1279     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1280     case $ac_user_opts in
   1281       *"
   1282 "with_$ac_useropt"
   1283 "*) ;;
   1284       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1285 	 ac_unrecognized_sep=', ';;
   1286     esac
   1287     eval with_$ac_useropt=no ;;
   1288 
   1289   --x)
   1290     # Obsolete; use --with-x.
   1291     with_x=yes ;;
   1292 
   1293   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1294   | --x-incl | --x-inc | --x-in | --x-i)
   1295     ac_prev=x_includes ;;
   1296   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1297   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1298     x_includes=$ac_optarg ;;
   1299 
   1300   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1301   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1302     ac_prev=x_libraries ;;
   1303   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1304   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1305     x_libraries=$ac_optarg ;;
   1306 
   1307   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1308 Try \`$0 --help' for more information"
   1309     ;;
   1310 
   1311   *=*)
   1312     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1313     # Reject names that are not valid shell variable names.
   1314     case $ac_envvar in #(
   1315       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1316       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1317     esac
   1318     eval $ac_envvar=\$ac_optarg
   1319     export $ac_envvar ;;
   1320 
   1321   *)
   1322     # FIXME: should be removed in autoconf 3.0.
   1323     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1324     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1325       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1326     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1327     ;;
   1328 
   1329   esac
   1330 done
   1331 
   1332 if test -n "$ac_prev"; then
   1333   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1334   as_fn_error $? "missing argument to $ac_option"
   1335 fi
   1336 
   1337 if test -n "$ac_unrecognized_opts"; then
   1338   case $enable_option_checking in
   1339     no) ;;
   1340     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1341     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1342   esac
   1343 fi
   1344 
   1345 # Check all directory arguments for consistency.
   1346 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1347 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1348 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1349 		libdir localedir mandir
   1350 do
   1351   eval ac_val=\$$ac_var
   1352   # Remove trailing slashes.
   1353   case $ac_val in
   1354     */ )
   1355       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1356       eval $ac_var=\$ac_val;;
   1357   esac
   1358   # Be sure to have absolute directory names.
   1359   case $ac_val in
   1360     [\\/$]* | ?:[\\/]* )  continue;;
   1361     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1362   esac
   1363   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1364 done
   1365 
   1366 # There might be people who depend on the old broken behavior: `$host'
   1367 # used to hold the argument of --host etc.
   1368 # FIXME: To remove some day.
   1369 build=$build_alias
   1370 host=$host_alias
   1371 target=$target_alias
   1372 
   1373 # FIXME: To remove some day.
   1374 if test "x$host_alias" != x; then
   1375   if test "x$build_alias" = x; then
   1376     cross_compiling=maybe
   1377   elif test "x$build_alias" != "x$host_alias"; then
   1378     cross_compiling=yes
   1379   fi
   1380 fi
   1381 
   1382 ac_tool_prefix=
   1383 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1384 
   1385 test "$silent" = yes && exec 6>/dev/null
   1386 
   1387 
   1388 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1389 ac_ls_di=`ls -di .` &&
   1390 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1391   as_fn_error $? "working directory cannot be determined"
   1392 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1393   as_fn_error $? "pwd does not report name of working directory"
   1394 
   1395 
   1396 # Find the source files, if location was not specified.
   1397 if test -z "$srcdir"; then
   1398   ac_srcdir_defaulted=yes
   1399   # Try the directory containing this script, then the parent directory.
   1400   ac_confdir=`$as_dirname -- "$as_myself" ||
   1401 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1402 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1403 	 X"$as_myself" : 'X\(//\)$' \| \
   1404 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1405 $as_echo X"$as_myself" |
   1406     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1407 	    s//\1/
   1408 	    q
   1409 	  }
   1410 	  /^X\(\/\/\)[^/].*/{
   1411 	    s//\1/
   1412 	    q
   1413 	  }
   1414 	  /^X\(\/\/\)$/{
   1415 	    s//\1/
   1416 	    q
   1417 	  }
   1418 	  /^X\(\/\).*/{
   1419 	    s//\1/
   1420 	    q
   1421 	  }
   1422 	  s/.*/./; q'`
   1423   srcdir=$ac_confdir
   1424   if test ! -r "$srcdir/$ac_unique_file"; then
   1425     srcdir=..
   1426   fi
   1427 else
   1428   ac_srcdir_defaulted=no
   1429 fi
   1430 if test ! -r "$srcdir/$ac_unique_file"; then
   1431   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1432   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1433 fi
   1434 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1435 ac_abs_confdir=`(
   1436 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1437 	pwd)`
   1438 # When building in place, set srcdir=.
   1439 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1440   srcdir=.
   1441 fi
   1442 # Remove unnecessary trailing slashes from srcdir.
   1443 # Double slashes in file names in object file debugging info
   1444 # mess up M-x gdb in Emacs.
   1445 case $srcdir in
   1446 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1447 esac
   1448 for ac_var in $ac_precious_vars; do
   1449   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1450   eval ac_env_${ac_var}_value=\$${ac_var}
   1451   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1452   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1453 done
   1454 
   1455 #
   1456 # Report the --help message.
   1457 #
   1458 if test "$ac_init_help" = "long"; then
   1459   # Omit some internal or obsolete options to make the list less imposing.
   1460   # This message is too long to be a string in the A/UX 3.1 sh.
   1461   cat <<_ACEOF
   1462 \`configure' configures libXt 1.1.5 to adapt to many kinds of systems.
   1463 
   1464 Usage: $0 [OPTION]... [VAR=VALUE]...
   1465 
   1466 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1467 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1468 
   1469 Defaults for the options are specified in brackets.
   1470 
   1471 Configuration:
   1472   -h, --help              display this help and exit
   1473       --help=short        display options specific to this package
   1474       --help=recursive    display the short help of all the included packages
   1475   -V, --version           display version information and exit
   1476   -q, --quiet, --silent   do not print \`checking ...' messages
   1477       --cache-file=FILE   cache test results in FILE [disabled]
   1478   -C, --config-cache      alias for \`--cache-file=config.cache'
   1479   -n, --no-create         do not create output files
   1480       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1481 
   1482 Installation directories:
   1483   --prefix=PREFIX         install architecture-independent files in PREFIX
   1484                           [$ac_default_prefix]
   1485   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1486                           [PREFIX]
   1487 
   1488 By default, \`make install' will install all the files in
   1489 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1490 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1491 for instance \`--prefix=\$HOME'.
   1492 
   1493 For better control, use the options below.
   1494 
   1495 Fine tuning of the installation directories:
   1496   --bindir=DIR            user executables [EPREFIX/bin]
   1497   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1498   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1499   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1500   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1501   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1502   --libdir=DIR            object code libraries [EPREFIX/lib]
   1503   --includedir=DIR        C header files [PREFIX/include]
   1504   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1505   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1506   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1507   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1508   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1509   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1510   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXt]
   1511   --htmldir=DIR           html documentation [DOCDIR]
   1512   --dvidir=DIR            dvi documentation [DOCDIR]
   1513   --pdfdir=DIR            pdf documentation [DOCDIR]
   1514   --psdir=DIR             ps documentation [DOCDIR]
   1515 _ACEOF
   1516 
   1517   cat <<\_ACEOF
   1518 
   1519 Program names:
   1520   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1521   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1522   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1523 
   1524 System types:
   1525   --build=BUILD     configure for building on BUILD [guessed]
   1526   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1527 _ACEOF
   1528 fi
   1529 
   1530 if test -n "$ac_init_help"; then
   1531   case $ac_init_help in
   1532      short | recursive ) echo "Configuration of libXt 1.1.5:";;
   1533    esac
   1534   cat <<\_ACEOF
   1535 
   1536 Optional Features:
   1537   --disable-option-checking  ignore unrecognized --enable/--with options
   1538   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1539   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1540   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1541   --disable-silent-rules  verbose build output (undo: "make V=0")
   1542   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1543   --enable-static[=PKGS]  build static libraries [default=yes]
   1544   --enable-fast-install[=PKGS]
   1545                           optimize for fast installation [default=yes]
   1546   --enable-dependency-tracking
   1547                           do not reject slow dependency extractors
   1548   --disable-dependency-tracking
   1549                           speeds up one-time build
   1550   --disable-libtool-lock  avoid locking (might break parallel builds)
   1551   --disable-selective-werror
   1552                           Turn off selective compiler errors. (default:
   1553                           enabled)
   1554   --enable-strict-compilation
   1555                           Enable all warnings from compiler and make them
   1556                           errors (default: disabled)
   1557   --enable-malloc0returnsnull
   1558                           malloc(0) returns NULL (default: auto)
   1559   --enable-specs          Enable building the specs (default: yes)
   1560   --disable-xkb           Disable XKB support
   1561   --enable-unit-tests     Enable building unit test cases (default: auto)
   1562 
   1563 Optional Packages:
   1564   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1565   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1566   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1567                           both]
   1568   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1569   --with-sysroot=DIR Search for dependent libraries within DIR
   1570                         (or the compiler's sysroot if not specified).
   1571   --with-xmlto            Use xmlto to regenerate documentation (default:
   1572                           auto)
   1573   --with-fop              Use fop to regenerate documentation (default: auto)
   1574   --with-xsltproc         Use xsltproc for the transformation of XML documents
   1575                           (default: auto)
   1576   --with-perl             Use perl for extracting information from files
   1577                           (default: auto)
   1578   --with-glib             Use GLib library for unit testing (default: auto)
   1579   --with-xfile-search-path=<path>
   1580                           Set path to search for app-defaults and other files
   1581   --with-appdefaultdir=<path>
   1582                           Set app-default directory (default:
   1583                           ${datadir}/X11/app-defaults)
   1584 
   1585 Some influential environment variables:
   1586   CC          C compiler command
   1587   CFLAGS      C compiler flags
   1588   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1589               nonstandard directory <lib dir>
   1590   LIBS        libraries to pass to the linker, e.g. -l<library>
   1591   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1592               you have headers in a nonstandard directory <include dir>
   1593   CPP         C preprocessor
   1594   PKG_CONFIG  path to pkg-config utility
   1595   XMLTO       Path to xmlto command
   1596   FOP         Path to fop command
   1597   XSLTPROC    Path to xsltproc command
   1598   PERL        Path to perl command
   1599   XT_CFLAGS   C compiler flags for XT, overriding pkg-config
   1600   XT_LIBS     linker flags for XT, overriding pkg-config
   1601   XORG_MALLOC_DEBUG_ENV
   1602               Environment variables to enable memory checking in tests
   1603   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
   1604   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
   1605 
   1606 Use these variables to override the choices made by `configure' or to help
   1607 it to find libraries and programs with nonstandard names/locations.
   1608 
   1609 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1610 _ACEOF
   1611 ac_status=$?
   1612 fi
   1613 
   1614 if test "$ac_init_help" = "recursive"; then
   1615   # If there are subdirs, report their specific --help.
   1616   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1617     test -d "$ac_dir" ||
   1618       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1619       continue
   1620     ac_builddir=.
   1621 
   1622 case "$ac_dir" in
   1623 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1624 *)
   1625   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1626   # A ".." for each directory in $ac_dir_suffix.
   1627   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1628   case $ac_top_builddir_sub in
   1629   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1630   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1631   esac ;;
   1632 esac
   1633 ac_abs_top_builddir=$ac_pwd
   1634 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1635 # for backward compatibility:
   1636 ac_top_builddir=$ac_top_build_prefix
   1637 
   1638 case $srcdir in
   1639   .)  # We are building in place.
   1640     ac_srcdir=.
   1641     ac_top_srcdir=$ac_top_builddir_sub
   1642     ac_abs_top_srcdir=$ac_pwd ;;
   1643   [\\/]* | ?:[\\/]* )  # Absolute name.
   1644     ac_srcdir=$srcdir$ac_dir_suffix;
   1645     ac_top_srcdir=$srcdir
   1646     ac_abs_top_srcdir=$srcdir ;;
   1647   *) # Relative name.
   1648     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1649     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1650     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1651 esac
   1652 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1653 
   1654     cd "$ac_dir" || { ac_status=$?; continue; }
   1655     # Check for guested configure.
   1656     if test -f "$ac_srcdir/configure.gnu"; then
   1657       echo &&
   1658       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1659     elif test -f "$ac_srcdir/configure"; then
   1660       echo &&
   1661       $SHELL "$ac_srcdir/configure" --help=recursive
   1662     else
   1663       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1664     fi || ac_status=$?
   1665     cd "$ac_pwd" || { ac_status=$?; break; }
   1666   done
   1667 fi
   1668 
   1669 test -n "$ac_init_help" && exit $ac_status
   1670 if $ac_init_version; then
   1671   cat <<\_ACEOF
   1672 libXt configure 1.1.5
   1673 generated by GNU Autoconf 2.69
   1674 
   1675 Copyright (C) 2012 Free Software Foundation, Inc.
   1676 This configure script is free software; the Free Software Foundation
   1677 gives unlimited permission to copy, distribute and modify it.
   1678 _ACEOF
   1679   exit
   1680 fi
   1681 
   1682 ## ------------------------ ##
   1683 ## Autoconf initialization. ##
   1684 ## ------------------------ ##
   1685 
   1686 # ac_fn_c_try_compile LINENO
   1687 # --------------------------
   1688 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1689 ac_fn_c_try_compile ()
   1690 {
   1691   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1692   rm -f conftest.$ac_objext
   1693   if { { ac_try="$ac_compile"
   1694 case "(($ac_try" in
   1695   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1696   *) ac_try_echo=$ac_try;;
   1697 esac
   1698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1699 $as_echo "$ac_try_echo"; } >&5
   1700   (eval "$ac_compile") 2>conftest.err
   1701   ac_status=$?
   1702   if test -s conftest.err; then
   1703     grep -v '^ *+' conftest.err >conftest.er1
   1704     cat conftest.er1 >&5
   1705     mv -f conftest.er1 conftest.err
   1706   fi
   1707   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1708   test $ac_status = 0; } && {
   1709 	 test -z "$ac_c_werror_flag" ||
   1710 	 test ! -s conftest.err
   1711        } && test -s conftest.$ac_objext; then :
   1712   ac_retval=0
   1713 else
   1714   $as_echo "$as_me: failed program was:" >&5
   1715 sed 's/^/| /' conftest.$ac_ext >&5
   1716 
   1717 	ac_retval=1
   1718 fi
   1719   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1720   as_fn_set_status $ac_retval
   1721 
   1722 } # ac_fn_c_try_compile
   1723 
   1724 # ac_fn_c_try_link LINENO
   1725 # -----------------------
   1726 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1727 ac_fn_c_try_link ()
   1728 {
   1729   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1730   rm -f conftest.$ac_objext conftest$ac_exeext
   1731   if { { ac_try="$ac_link"
   1732 case "(($ac_try" in
   1733   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1734   *) ac_try_echo=$ac_try;;
   1735 esac
   1736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1737 $as_echo "$ac_try_echo"; } >&5
   1738   (eval "$ac_link") 2>conftest.err
   1739   ac_status=$?
   1740   if test -s conftest.err; then
   1741     grep -v '^ *+' conftest.err >conftest.er1
   1742     cat conftest.er1 >&5
   1743     mv -f conftest.er1 conftest.err
   1744   fi
   1745   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1746   test $ac_status = 0; } && {
   1747 	 test -z "$ac_c_werror_flag" ||
   1748 	 test ! -s conftest.err
   1749        } && test -s conftest$ac_exeext && {
   1750 	 test "$cross_compiling" = yes ||
   1751 	 test -x conftest$ac_exeext
   1752        }; then :
   1753   ac_retval=0
   1754 else
   1755   $as_echo "$as_me: failed program was:" >&5
   1756 sed 's/^/| /' conftest.$ac_ext >&5
   1757 
   1758 	ac_retval=1
   1759 fi
   1760   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1761   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1762   # interfere with the next link command; also delete a directory that is
   1763   # left behind by Apple's compiler.  We do this before executing the actions.
   1764   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1765   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1766   as_fn_set_status $ac_retval
   1767 
   1768 } # ac_fn_c_try_link
   1769 
   1770 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1771 # -------------------------------------------------------
   1772 # Tests whether HEADER exists and can be compiled using the include files in
   1773 # INCLUDES, setting the cache variable VAR accordingly.
   1774 ac_fn_c_check_header_compile ()
   1775 {
   1776   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1777   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1778 $as_echo_n "checking for $2... " >&6; }
   1779 if eval \${$3+:} false; then :
   1780   $as_echo_n "(cached) " >&6
   1781 else
   1782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1783 /* end confdefs.h.  */
   1784 $4
   1785 #include <$2>
   1786 _ACEOF
   1787 if ac_fn_c_try_compile "$LINENO"; then :
   1788   eval "$3=yes"
   1789 else
   1790   eval "$3=no"
   1791 fi
   1792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1793 fi
   1794 eval ac_res=\$$3
   1795 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1796 $as_echo "$ac_res" >&6; }
   1797   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1798 
   1799 } # ac_fn_c_check_header_compile
   1800 
   1801 # ac_fn_c_try_cpp LINENO
   1802 # ----------------------
   1803 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1804 ac_fn_c_try_cpp ()
   1805 {
   1806   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1807   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1808 case "(($ac_try" in
   1809   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1810   *) ac_try_echo=$ac_try;;
   1811 esac
   1812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1813 $as_echo "$ac_try_echo"; } >&5
   1814   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1815   ac_status=$?
   1816   if test -s conftest.err; then
   1817     grep -v '^ *+' conftest.err >conftest.er1
   1818     cat conftest.er1 >&5
   1819     mv -f conftest.er1 conftest.err
   1820   fi
   1821   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1822   test $ac_status = 0; } > conftest.i && {
   1823 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1824 	 test ! -s conftest.err
   1825        }; then :
   1826   ac_retval=0
   1827 else
   1828   $as_echo "$as_me: failed program was:" >&5
   1829 sed 's/^/| /' conftest.$ac_ext >&5
   1830 
   1831     ac_retval=1
   1832 fi
   1833   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1834   as_fn_set_status $ac_retval
   1835 
   1836 } # ac_fn_c_try_cpp
   1837 
   1838 # ac_fn_c_try_run LINENO
   1839 # ----------------------
   1840 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1841 # that executables *can* be run.
   1842 ac_fn_c_try_run ()
   1843 {
   1844   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1845   if { { ac_try="$ac_link"
   1846 case "(($ac_try" in
   1847   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1848   *) ac_try_echo=$ac_try;;
   1849 esac
   1850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1851 $as_echo "$ac_try_echo"; } >&5
   1852   (eval "$ac_link") 2>&5
   1853   ac_status=$?
   1854   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1855   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1856   { { case "(($ac_try" in
   1857   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1858   *) ac_try_echo=$ac_try;;
   1859 esac
   1860 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1861 $as_echo "$ac_try_echo"; } >&5
   1862   (eval "$ac_try") 2>&5
   1863   ac_status=$?
   1864   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1865   test $ac_status = 0; }; }; then :
   1866   ac_retval=0
   1867 else
   1868   $as_echo "$as_me: program exited with status $ac_status" >&5
   1869        $as_echo "$as_me: failed program was:" >&5
   1870 sed 's/^/| /' conftest.$ac_ext >&5
   1871 
   1872        ac_retval=$ac_status
   1873 fi
   1874   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1875   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1876   as_fn_set_status $ac_retval
   1877 
   1878 } # ac_fn_c_try_run
   1879 
   1880 # ac_fn_c_check_func LINENO FUNC VAR
   1881 # ----------------------------------
   1882 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1883 ac_fn_c_check_func ()
   1884 {
   1885   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1886   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1887 $as_echo_n "checking for $2... " >&6; }
   1888 if eval \${$3+:} false; then :
   1889   $as_echo_n "(cached) " >&6
   1890 else
   1891   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1892 /* end confdefs.h.  */
   1893 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1894    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1895 #define $2 innocuous_$2
   1896 
   1897 /* System header to define __stub macros and hopefully few prototypes,
   1898     which can conflict with char $2 (); below.
   1899     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1900     <limits.h> exists even on freestanding compilers.  */
   1901 
   1902 #ifdef __STDC__
   1903 # include <limits.h>
   1904 #else
   1905 # include <assert.h>
   1906 #endif
   1907 
   1908 #undef $2
   1909 
   1910 /* Override any GCC internal prototype to avoid an error.
   1911    Use char because int might match the return type of a GCC
   1912    builtin and then its argument prototype would still apply.  */
   1913 #ifdef __cplusplus
   1914 extern "C"
   1915 #endif
   1916 char $2 ();
   1917 /* The GNU C library defines this for functions which it implements
   1918     to always fail with ENOSYS.  Some functions are actually named
   1919     something starting with __ and the normal name is an alias.  */
   1920 #if defined __stub_$2 || defined __stub___$2
   1921 choke me
   1922 #endif
   1923 
   1924 int
   1925 main ()
   1926 {
   1927 return $2 ();
   1928   ;
   1929   return 0;
   1930 }
   1931 _ACEOF
   1932 if ac_fn_c_try_link "$LINENO"; then :
   1933   eval "$3=yes"
   1934 else
   1935   eval "$3=no"
   1936 fi
   1937 rm -f core conftest.err conftest.$ac_objext \
   1938     conftest$ac_exeext conftest.$ac_ext
   1939 fi
   1940 eval ac_res=\$$3
   1941 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1942 $as_echo "$ac_res" >&6; }
   1943   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1944 
   1945 } # ac_fn_c_check_func
   1946 
   1947 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1948 # ---------------------------------------------
   1949 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1950 # accordingly.
   1951 ac_fn_c_check_decl ()
   1952 {
   1953   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1954   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1955   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1956   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1957 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1958 if eval \${$3+:} false; then :
   1959   $as_echo_n "(cached) " >&6
   1960 else
   1961   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1962 /* end confdefs.h.  */
   1963 $4
   1964 int
   1965 main ()
   1966 {
   1967 #ifndef $as_decl_name
   1968 #ifdef __cplusplus
   1969   (void) $as_decl_use;
   1970 #else
   1971   (void) $as_decl_name;
   1972 #endif
   1973 #endif
   1974 
   1975   ;
   1976   return 0;
   1977 }
   1978 _ACEOF
   1979 if ac_fn_c_try_compile "$LINENO"; then :
   1980   eval "$3=yes"
   1981 else
   1982   eval "$3=no"
   1983 fi
   1984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1985 fi
   1986 eval ac_res=\$$3
   1987 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1988 $as_echo "$ac_res" >&6; }
   1989   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1990 
   1991 } # ac_fn_c_check_decl
   1992 
   1993 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1994 # -------------------------------------------------------
   1995 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1996 # the include files in INCLUDES and setting the cache variable VAR
   1997 # accordingly.
   1998 ac_fn_c_check_header_mongrel ()
   1999 {
   2000   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2001   if eval \${$3+:} false; then :
   2002   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2003 $as_echo_n "checking for $2... " >&6; }
   2004 if eval \${$3+:} false; then :
   2005   $as_echo_n "(cached) " >&6
   2006 fi
   2007 eval ac_res=\$$3
   2008 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2009 $as_echo "$ac_res" >&6; }
   2010 else
   2011   # Is the header compilable?
   2012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   2013 $as_echo_n "checking $2 usability... " >&6; }
   2014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2015 /* end confdefs.h.  */
   2016 $4
   2017 #include <$2>
   2018 _ACEOF
   2019 if ac_fn_c_try_compile "$LINENO"; then :
   2020   ac_header_compiler=yes
   2021 else
   2022   ac_header_compiler=no
   2023 fi
   2024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   2026 $as_echo "$ac_header_compiler" >&6; }
   2027 
   2028 # Is the header present?
   2029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   2030 $as_echo_n "checking $2 presence... " >&6; }
   2031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2032 /* end confdefs.h.  */
   2033 #include <$2>
   2034 _ACEOF
   2035 if ac_fn_c_try_cpp "$LINENO"; then :
   2036   ac_header_preproc=yes
   2037 else
   2038   ac_header_preproc=no
   2039 fi
   2040 rm -f conftest.err conftest.i conftest.$ac_ext
   2041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   2042 $as_echo "$ac_header_preproc" >&6; }
   2043 
   2044 # So?  What about this header?
   2045 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   2046   yes:no: )
   2047     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   2048 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   2049     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   2050 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   2051     ;;
   2052   no:yes:* )
   2053     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   2054 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   2055     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   2056 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   2057     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   2058 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   2059     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   2060 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   2061     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   2062 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   2063 ( $as_echo "## ---------------------------------------------------------------------- ##
   2064 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   2065 ## ---------------------------------------------------------------------- ##"
   2066      ) | sed "s/^/$as_me: WARNING:     /" >&2
   2067     ;;
   2068 esac
   2069   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2070 $as_echo_n "checking for $2... " >&6; }
   2071 if eval \${$3+:} false; then :
   2072   $as_echo_n "(cached) " >&6
   2073 else
   2074   eval "$3=\$ac_header_compiler"
   2075 fi
   2076 eval ac_res=\$$3
   2077 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2078 $as_echo "$ac_res" >&6; }
   2079 fi
   2080   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2081 
   2082 } # ac_fn_c_check_header_mongrel
   2083 cat >config.log <<_ACEOF
   2084 This file contains any messages produced by compilers while
   2085 running configure, to aid debugging if configure makes a mistake.
   2086 
   2087 It was created by libXt $as_me 1.1.5, which was
   2088 generated by GNU Autoconf 2.69.  Invocation command line was
   2089 
   2090   $ $0 $@
   2091 
   2092 _ACEOF
   2093 exec 5>>config.log
   2094 {
   2095 cat <<_ASUNAME
   2096 ## --------- ##
   2097 ## Platform. ##
   2098 ## --------- ##
   2099 
   2100 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2101 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2102 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2103 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2104 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2105 
   2106 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2107 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2108 
   2109 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2110 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2111 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2112 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2113 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2114 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2115 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2116 
   2117 _ASUNAME
   2118 
   2119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2120 for as_dir in $PATH
   2121 do
   2122   IFS=$as_save_IFS
   2123   test -z "$as_dir" && as_dir=.
   2124     $as_echo "PATH: $as_dir"
   2125   done
   2126 IFS=$as_save_IFS
   2127 
   2128 } >&5
   2129 
   2130 cat >&5 <<_ACEOF
   2131 
   2132 
   2133 ## ----------- ##
   2134 ## Core tests. ##
   2135 ## ----------- ##
   2136 
   2137 _ACEOF
   2138 
   2139 
   2140 # Keep a trace of the command line.
   2141 # Strip out --no-create and --no-recursion so they do not pile up.
   2142 # Strip out --silent because we don't want to record it for future runs.
   2143 # Also quote any args containing shell meta-characters.
   2144 # Make two passes to allow for proper duplicate-argument suppression.
   2145 ac_configure_args=
   2146 ac_configure_args0=
   2147 ac_configure_args1=
   2148 ac_must_keep_next=false
   2149 for ac_pass in 1 2
   2150 do
   2151   for ac_arg
   2152   do
   2153     case $ac_arg in
   2154     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2155     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2156     | -silent | --silent | --silen | --sile | --sil)
   2157       continue ;;
   2158     *\'*)
   2159       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2160     esac
   2161     case $ac_pass in
   2162     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2163     2)
   2164       as_fn_append ac_configure_args1 " '$ac_arg'"
   2165       if test $ac_must_keep_next = true; then
   2166 	ac_must_keep_next=false # Got value, back to normal.
   2167       else
   2168 	case $ac_arg in
   2169 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2170 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2171 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2172 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2173 	    case "$ac_configure_args0 " in
   2174 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2175 	    esac
   2176 	    ;;
   2177 	  -* ) ac_must_keep_next=true ;;
   2178 	esac
   2179       fi
   2180       as_fn_append ac_configure_args " '$ac_arg'"
   2181       ;;
   2182     esac
   2183   done
   2184 done
   2185 { ac_configure_args0=; unset ac_configure_args0;}
   2186 { ac_configure_args1=; unset ac_configure_args1;}
   2187 
   2188 # When interrupted or exit'd, cleanup temporary files, and complete
   2189 # config.log.  We remove comments because anyway the quotes in there
   2190 # would cause problems or look ugly.
   2191 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2192 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2193 trap 'exit_status=$?
   2194   # Save into config.log some information that might help in debugging.
   2195   {
   2196     echo
   2197 
   2198     $as_echo "## ---------------- ##
   2199 ## Cache variables. ##
   2200 ## ---------------- ##"
   2201     echo
   2202     # The following way of writing the cache mishandles newlines in values,
   2203 (
   2204   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2205     eval ac_val=\$$ac_var
   2206     case $ac_val in #(
   2207     *${as_nl}*)
   2208       case $ac_var in #(
   2209       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2210 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2211       esac
   2212       case $ac_var in #(
   2213       _ | IFS | as_nl) ;; #(
   2214       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2215       *) { eval $ac_var=; unset $ac_var;} ;;
   2216       esac ;;
   2217     esac
   2218   done
   2219   (set) 2>&1 |
   2220     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2221     *${as_nl}ac_space=\ *)
   2222       sed -n \
   2223 	"s/'\''/'\''\\\\'\'''\''/g;
   2224 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2225       ;; #(
   2226     *)
   2227       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2228       ;;
   2229     esac |
   2230     sort
   2231 )
   2232     echo
   2233 
   2234     $as_echo "## ----------------- ##
   2235 ## Output variables. ##
   2236 ## ----------------- ##"
   2237     echo
   2238     for ac_var in $ac_subst_vars
   2239     do
   2240       eval ac_val=\$$ac_var
   2241       case $ac_val in
   2242       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2243       esac
   2244       $as_echo "$ac_var='\''$ac_val'\''"
   2245     done | sort
   2246     echo
   2247 
   2248     if test -n "$ac_subst_files"; then
   2249       $as_echo "## ------------------- ##
   2250 ## File substitutions. ##
   2251 ## ------------------- ##"
   2252       echo
   2253       for ac_var in $ac_subst_files
   2254       do
   2255 	eval ac_val=\$$ac_var
   2256 	case $ac_val in
   2257 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2258 	esac
   2259 	$as_echo "$ac_var='\''$ac_val'\''"
   2260       done | sort
   2261       echo
   2262     fi
   2263 
   2264     if test -s confdefs.h; then
   2265       $as_echo "## ----------- ##
   2266 ## confdefs.h. ##
   2267 ## ----------- ##"
   2268       echo
   2269       cat confdefs.h
   2270       echo
   2271     fi
   2272     test "$ac_signal" != 0 &&
   2273       $as_echo "$as_me: caught signal $ac_signal"
   2274     $as_echo "$as_me: exit $exit_status"
   2275   } >&5
   2276   rm -f core *.core core.conftest.* &&
   2277     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2278     exit $exit_status
   2279 ' 0
   2280 for ac_signal in 1 2 13 15; do
   2281   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2282 done
   2283 ac_signal=0
   2284 
   2285 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2286 rm -f -r conftest* confdefs.h
   2287 
   2288 $as_echo "/* confdefs.h */" > confdefs.h
   2289 
   2290 # Predefined preprocessor variables.
   2291 
   2292 cat >>confdefs.h <<_ACEOF
   2293 #define PACKAGE_NAME "$PACKAGE_NAME"
   2294 _ACEOF
   2295 
   2296 cat >>confdefs.h <<_ACEOF
   2297 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2298 _ACEOF
   2299 
   2300 cat >>confdefs.h <<_ACEOF
   2301 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2302 _ACEOF
   2303 
   2304 cat >>confdefs.h <<_ACEOF
   2305 #define PACKAGE_STRING "$PACKAGE_STRING"
   2306 _ACEOF
   2307 
   2308 cat >>confdefs.h <<_ACEOF
   2309 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2310 _ACEOF
   2311 
   2312 cat >>confdefs.h <<_ACEOF
   2313 #define PACKAGE_URL "$PACKAGE_URL"
   2314 _ACEOF
   2315 
   2316 
   2317 # Let the site file select an alternate cache file if it wants to.
   2318 # Prefer an explicitly selected file to automatically selected ones.
   2319 ac_site_file1=NONE
   2320 ac_site_file2=NONE
   2321 if test -n "$CONFIG_SITE"; then
   2322   # We do not want a PATH search for config.site.
   2323   case $CONFIG_SITE in #((
   2324     -*)  ac_site_file1=./$CONFIG_SITE;;
   2325     */*) ac_site_file1=$CONFIG_SITE;;
   2326     *)   ac_site_file1=./$CONFIG_SITE;;
   2327   esac
   2328 elif test "x$prefix" != xNONE; then
   2329   ac_site_file1=$prefix/share/config.site
   2330   ac_site_file2=$prefix/etc/config.site
   2331 else
   2332   ac_site_file1=$ac_default_prefix/share/config.site
   2333   ac_site_file2=$ac_default_prefix/etc/config.site
   2334 fi
   2335 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2336 do
   2337   test "x$ac_site_file" = xNONE && continue
   2338   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2339     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2340 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2341     sed 's/^/| /' "$ac_site_file" >&5
   2342     . "$ac_site_file" \
   2343       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2344 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2345 as_fn_error $? "failed to load site script $ac_site_file
   2346 See \`config.log' for more details" "$LINENO" 5; }
   2347   fi
   2348 done
   2349 
   2350 if test -r "$cache_file"; then
   2351   # Some versions of bash will fail to source /dev/null (special files
   2352   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2353   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2354     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2355 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2356     case $cache_file in
   2357       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2358       *)                      . "./$cache_file";;
   2359     esac
   2360   fi
   2361 else
   2362   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2363 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2364   >$cache_file
   2365 fi
   2366 
   2367 # Check that the precious variables saved in the cache have kept the same
   2368 # value.
   2369 ac_cache_corrupted=false
   2370 for ac_var in $ac_precious_vars; do
   2371   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2372   eval ac_new_set=\$ac_env_${ac_var}_set
   2373   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2374   eval ac_new_val=\$ac_env_${ac_var}_value
   2375   case $ac_old_set,$ac_new_set in
   2376     set,)
   2377       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2378 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2379       ac_cache_corrupted=: ;;
   2380     ,set)
   2381       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2382 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2383       ac_cache_corrupted=: ;;
   2384     ,);;
   2385     *)
   2386       if test "x$ac_old_val" != "x$ac_new_val"; then
   2387 	# differences in whitespace do not lead to failure.
   2388 	ac_old_val_w=`echo x $ac_old_val`
   2389 	ac_new_val_w=`echo x $ac_new_val`
   2390 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2391 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2392 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2393 	  ac_cache_corrupted=:
   2394 	else
   2395 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2396 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2397 	  eval $ac_var=\$ac_old_val
   2398 	fi
   2399 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2400 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2401 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2402 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2403       fi;;
   2404   esac
   2405   # Pass precious variables to config.status.
   2406   if test "$ac_new_set" = set; then
   2407     case $ac_new_val in
   2408     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2409     *) ac_arg=$ac_var=$ac_new_val ;;
   2410     esac
   2411     case " $ac_configure_args " in
   2412       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2413       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2414     esac
   2415   fi
   2416 done
   2417 if $ac_cache_corrupted; then
   2418   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2419 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2420   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2421 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2422   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2423 fi
   2424 ## -------------------- ##
   2425 ## Main body of script. ##
   2426 ## -------------------- ##
   2427 
   2428 ac_ext=c
   2429 ac_cpp='$CPP $CPPFLAGS'
   2430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2433 
   2434 
   2435 
   2436 ac_config_headers="$ac_config_headers config.h"
   2437 
   2438 
   2439 
   2440 # Initialize Automake
   2441 am__api_version='1.15'
   2442 
   2443 ac_aux_dir=
   2444 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2445   if test -f "$ac_dir/install-sh"; then
   2446     ac_aux_dir=$ac_dir
   2447     ac_install_sh="$ac_aux_dir/install-sh -c"
   2448     break
   2449   elif test -f "$ac_dir/install.sh"; then
   2450     ac_aux_dir=$ac_dir
   2451     ac_install_sh="$ac_aux_dir/install.sh -c"
   2452     break
   2453   elif test -f "$ac_dir/shtool"; then
   2454     ac_aux_dir=$ac_dir
   2455     ac_install_sh="$ac_aux_dir/shtool install -c"
   2456     break
   2457   fi
   2458 done
   2459 if test -z "$ac_aux_dir"; then
   2460   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2461 fi
   2462 
   2463 # These three variables are undocumented and unsupported,
   2464 # and are intended to be withdrawn in a future Autoconf release.
   2465 # They can cause serious problems if a builder's source tree is in a directory
   2466 # whose full name contains unusual characters.
   2467 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2468 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2469 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2470 
   2471 
   2472 # Find a good install program.  We prefer a C program (faster),
   2473 # so one script is as good as another.  But avoid the broken or
   2474 # incompatible versions:
   2475 # SysV /etc/install, /usr/sbin/install
   2476 # SunOS /usr/etc/install
   2477 # IRIX /sbin/install
   2478 # AIX /bin/install
   2479 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2480 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2481 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2482 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2483 # OS/2's system install, which has a completely different semantic
   2484 # ./install, which can be erroneously created by make from ./install.sh.
   2485 # Reject install programs that cannot install multiple files.
   2486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2487 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2488 if test -z "$INSTALL"; then
   2489 if ${ac_cv_path_install+:} false; then :
   2490   $as_echo_n "(cached) " >&6
   2491 else
   2492   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2493 for as_dir in $PATH
   2494 do
   2495   IFS=$as_save_IFS
   2496   test -z "$as_dir" && as_dir=.
   2497     # Account for people who put trailing slashes in PATH elements.
   2498 case $as_dir/ in #((
   2499   ./ | .// | /[cC]/* | \
   2500   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2501   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2502   /usr/ucb/* ) ;;
   2503   *)
   2504     # OSF1 and SCO ODT 3.0 have their own names for install.
   2505     # Don't use installbsd from OSF since it installs stuff as root
   2506     # by default.
   2507     for ac_prog in ginstall scoinst install; do
   2508       for ac_exec_ext in '' $ac_executable_extensions; do
   2509 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2510 	  if test $ac_prog = install &&
   2511 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2512 	    # AIX install.  It has an incompatible calling convention.
   2513 	    :
   2514 	  elif test $ac_prog = install &&
   2515 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2516 	    # program-specific install script used by HP pwplus--don't use.
   2517 	    :
   2518 	  else
   2519 	    rm -rf conftest.one conftest.two conftest.dir
   2520 	    echo one > conftest.one
   2521 	    echo two > conftest.two
   2522 	    mkdir conftest.dir
   2523 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2524 	      test -s conftest.one && test -s conftest.two &&
   2525 	      test -s conftest.dir/conftest.one &&
   2526 	      test -s conftest.dir/conftest.two
   2527 	    then
   2528 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2529 	      break 3
   2530 	    fi
   2531 	  fi
   2532 	fi
   2533       done
   2534     done
   2535     ;;
   2536 esac
   2537 
   2538   done
   2539 IFS=$as_save_IFS
   2540 
   2541 rm -rf conftest.one conftest.two conftest.dir
   2542 
   2543 fi
   2544   if test "${ac_cv_path_install+set}" = set; then
   2545     INSTALL=$ac_cv_path_install
   2546   else
   2547     # As a last resort, use the slow shell script.  Don't cache a
   2548     # value for INSTALL within a source directory, because that will
   2549     # break other packages using the cache if that directory is
   2550     # removed, or if the value is a relative name.
   2551     INSTALL=$ac_install_sh
   2552   fi
   2553 fi
   2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2555 $as_echo "$INSTALL" >&6; }
   2556 
   2557 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2558 # It thinks the first close brace ends the variable substitution.
   2559 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2560 
   2561 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2562 
   2563 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2564 
   2565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2566 $as_echo_n "checking whether build environment is sane... " >&6; }
   2567 # Reject unsafe characters in $srcdir or the absolute working directory
   2568 # name.  Accept space and tab only in the latter.
   2569 am_lf='
   2570 '
   2571 case `pwd` in
   2572   *[\\\"\#\$\&\'\`$am_lf]*)
   2573     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2574 esac
   2575 case $srcdir in
   2576   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2577     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2578 esac
   2579 
   2580 # Do 'set' in a subshell so we don't clobber the current shell's
   2581 # arguments.  Must try -L first in case configure is actually a
   2582 # symlink; some systems play weird games with the mod time of symlinks
   2583 # (eg FreeBSD returns the mod time of the symlink's containing
   2584 # directory).
   2585 if (
   2586    am_has_slept=no
   2587    for am_try in 1 2; do
   2588      echo "timestamp, slept: $am_has_slept" > conftest.file
   2589      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2590      if test "$*" = "X"; then
   2591 	# -L didn't work.
   2592 	set X `ls -t "$srcdir/configure" conftest.file`
   2593      fi
   2594      if test "$*" != "X $srcdir/configure conftest.file" \
   2595 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2596 
   2597 	# If neither matched, then we have a broken ls.  This can happen
   2598 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2599 	# broken ls alias from the environment.  This has actually
   2600 	# happened.  Such a system could not be considered "sane".
   2601 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2602   alias in your environment" "$LINENO" 5
   2603      fi
   2604      if test "$2" = conftest.file || test $am_try -eq 2; then
   2605        break
   2606      fi
   2607      # Just in case.
   2608      sleep 1
   2609      am_has_slept=yes
   2610    done
   2611    test "$2" = conftest.file
   2612    )
   2613 then
   2614    # Ok.
   2615    :
   2616 else
   2617    as_fn_error $? "newly created file is older than distributed files!
   2618 Check your system clock" "$LINENO" 5
   2619 fi
   2620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2621 $as_echo "yes" >&6; }
   2622 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2623 # generated files are strictly newer.
   2624 am_sleep_pid=
   2625 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2626   ( sleep 1 ) &
   2627   am_sleep_pid=$!
   2628 fi
   2629 
   2630 rm -f conftest.file
   2631 
   2632 test "$program_prefix" != NONE &&
   2633   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2634 # Use a double $ so make ignores it.
   2635 test "$program_suffix" != NONE &&
   2636   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2637 # Double any \ or $.
   2638 # By default was `s,x,x', remove it if useless.
   2639 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2640 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2641 
   2642 # Expand $ac_aux_dir to an absolute path.
   2643 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2644 
   2645 if test x"${MISSING+set}" != xset; then
   2646   case $am_aux_dir in
   2647   *\ * | *\	*)
   2648     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2649   *)
   2650     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2651   esac
   2652 fi
   2653 # Use eval to expand $SHELL
   2654 if eval "$MISSING --is-lightweight"; then
   2655   am_missing_run="$MISSING "
   2656 else
   2657   am_missing_run=
   2658   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2659 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2660 fi
   2661 
   2662 if test x"${install_sh+set}" != xset; then
   2663   case $am_aux_dir in
   2664   *\ * | *\	*)
   2665     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2666   *)
   2667     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2668   esac
   2669 fi
   2670 
   2671 # Installed binaries are usually stripped using 'strip' when the user
   2672 # run "make install-strip".  However 'strip' might not be the right
   2673 # tool to use in cross-compilation environments, therefore Automake
   2674 # will honor the 'STRIP' environment variable to overrule this program.
   2675 if test "$cross_compiling" != no; then
   2676   if test -n "$ac_tool_prefix"; then
   2677   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2678 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2680 $as_echo_n "checking for $ac_word... " >&6; }
   2681 if ${ac_cv_prog_STRIP+:} false; then :
   2682   $as_echo_n "(cached) " >&6
   2683 else
   2684   if test -n "$STRIP"; then
   2685   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2686 else
   2687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2688 for as_dir in $PATH
   2689 do
   2690   IFS=$as_save_IFS
   2691   test -z "$as_dir" && as_dir=.
   2692     for ac_exec_ext in '' $ac_executable_extensions; do
   2693   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2694     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2695     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2696     break 2
   2697   fi
   2698 done
   2699   done
   2700 IFS=$as_save_IFS
   2701 
   2702 fi
   2703 fi
   2704 STRIP=$ac_cv_prog_STRIP
   2705 if test -n "$STRIP"; then
   2706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2707 $as_echo "$STRIP" >&6; }
   2708 else
   2709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2710 $as_echo "no" >&6; }
   2711 fi
   2712 
   2713 
   2714 fi
   2715 if test -z "$ac_cv_prog_STRIP"; then
   2716   ac_ct_STRIP=$STRIP
   2717   # Extract the first word of "strip", so it can be a program name with args.
   2718 set dummy strip; ac_word=$2
   2719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2720 $as_echo_n "checking for $ac_word... " >&6; }
   2721 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2722   $as_echo_n "(cached) " >&6
   2723 else
   2724   if test -n "$ac_ct_STRIP"; then
   2725   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2726 else
   2727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2728 for as_dir in $PATH
   2729 do
   2730   IFS=$as_save_IFS
   2731   test -z "$as_dir" && as_dir=.
   2732     for ac_exec_ext in '' $ac_executable_extensions; do
   2733   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2734     ac_cv_prog_ac_ct_STRIP="strip"
   2735     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2736     break 2
   2737   fi
   2738 done
   2739   done
   2740 IFS=$as_save_IFS
   2741 
   2742 fi
   2743 fi
   2744 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2745 if test -n "$ac_ct_STRIP"; then
   2746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2747 $as_echo "$ac_ct_STRIP" >&6; }
   2748 else
   2749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2750 $as_echo "no" >&6; }
   2751 fi
   2752 
   2753   if test "x$ac_ct_STRIP" = x; then
   2754     STRIP=":"
   2755   else
   2756     case $cross_compiling:$ac_tool_warned in
   2757 yes:)
   2758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2759 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2760 ac_tool_warned=yes ;;
   2761 esac
   2762     STRIP=$ac_ct_STRIP
   2763   fi
   2764 else
   2765   STRIP="$ac_cv_prog_STRIP"
   2766 fi
   2767 
   2768 fi
   2769 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2770 
   2771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2772 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2773 if test -z "$MKDIR_P"; then
   2774   if ${ac_cv_path_mkdir+:} false; then :
   2775   $as_echo_n "(cached) " >&6
   2776 else
   2777   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2778 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2779 do
   2780   IFS=$as_save_IFS
   2781   test -z "$as_dir" && as_dir=.
   2782     for ac_prog in mkdir gmkdir; do
   2783 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2784 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2785 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2786 	     'mkdir (GNU coreutils) '* | \
   2787 	     'mkdir (coreutils) '* | \
   2788 	     'mkdir (fileutils) '4.1*)
   2789 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2790 	       break 3;;
   2791 	   esac
   2792 	 done
   2793        done
   2794   done
   2795 IFS=$as_save_IFS
   2796 
   2797 fi
   2798 
   2799   test -d ./--version && rmdir ./--version
   2800   if test "${ac_cv_path_mkdir+set}" = set; then
   2801     MKDIR_P="$ac_cv_path_mkdir -p"
   2802   else
   2803     # As a last resort, use the slow shell script.  Don't cache a
   2804     # value for MKDIR_P within a source directory, because that will
   2805     # break other packages using the cache if that directory is
   2806     # removed, or if the value is a relative name.
   2807     MKDIR_P="$ac_install_sh -d"
   2808   fi
   2809 fi
   2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2811 $as_echo "$MKDIR_P" >&6; }
   2812 
   2813 for ac_prog in gawk mawk nawk awk
   2814 do
   2815   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2816 set dummy $ac_prog; ac_word=$2
   2817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2818 $as_echo_n "checking for $ac_word... " >&6; }
   2819 if ${ac_cv_prog_AWK+:} false; then :
   2820   $as_echo_n "(cached) " >&6
   2821 else
   2822   if test -n "$AWK"; then
   2823   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2824 else
   2825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2826 for as_dir in $PATH
   2827 do
   2828   IFS=$as_save_IFS
   2829   test -z "$as_dir" && as_dir=.
   2830     for ac_exec_ext in '' $ac_executable_extensions; do
   2831   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2832     ac_cv_prog_AWK="$ac_prog"
   2833     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2834     break 2
   2835   fi
   2836 done
   2837   done
   2838 IFS=$as_save_IFS
   2839 
   2840 fi
   2841 fi
   2842 AWK=$ac_cv_prog_AWK
   2843 if test -n "$AWK"; then
   2844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2845 $as_echo "$AWK" >&6; }
   2846 else
   2847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2848 $as_echo "no" >&6; }
   2849 fi
   2850 
   2851 
   2852   test -n "$AWK" && break
   2853 done
   2854 
   2855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2856 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2857 set x ${MAKE-make}
   2858 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2859 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2860   $as_echo_n "(cached) " >&6
   2861 else
   2862   cat >conftest.make <<\_ACEOF
   2863 SHELL = /bin/sh
   2864 all:
   2865 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2866 _ACEOF
   2867 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2868 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2869   *@@@%%%=?*=@@@%%%*)
   2870     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2871   *)
   2872     eval ac_cv_prog_make_${ac_make}_set=no;;
   2873 esac
   2874 rm -f conftest.make
   2875 fi
   2876 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2878 $as_echo "yes" >&6; }
   2879   SET_MAKE=
   2880 else
   2881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2882 $as_echo "no" >&6; }
   2883   SET_MAKE="MAKE=${MAKE-make}"
   2884 fi
   2885 
   2886 rm -rf .tst 2>/dev/null
   2887 mkdir .tst 2>/dev/null
   2888 if test -d .tst; then
   2889   am__leading_dot=.
   2890 else
   2891   am__leading_dot=_
   2892 fi
   2893 rmdir .tst 2>/dev/null
   2894 
   2895 # Check whether --enable-silent-rules was given.
   2896 if test "${enable_silent_rules+set}" = set; then :
   2897   enableval=$enable_silent_rules;
   2898 fi
   2899 
   2900 case $enable_silent_rules in # (((
   2901   yes) AM_DEFAULT_VERBOSITY=0;;
   2902    no) AM_DEFAULT_VERBOSITY=1;;
   2903     *) AM_DEFAULT_VERBOSITY=1;;
   2904 esac
   2905 am_make=${MAKE-make}
   2906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2907 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2908 if ${am_cv_make_support_nested_variables+:} false; then :
   2909   $as_echo_n "(cached) " >&6
   2910 else
   2911   if $as_echo 'TRUE=$(BAR$(V))
   2912 BAR0=false
   2913 BAR1=true
   2914 V=1
   2915 am__doit:
   2916 	@$(TRUE)
   2917 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2918   am_cv_make_support_nested_variables=yes
   2919 else
   2920   am_cv_make_support_nested_variables=no
   2921 fi
   2922 fi
   2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2924 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2925 if test $am_cv_make_support_nested_variables = yes; then
   2926     AM_V='$(V)'
   2927   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2928 else
   2929   AM_V=$AM_DEFAULT_VERBOSITY
   2930   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2931 fi
   2932 AM_BACKSLASH='\'
   2933 
   2934 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2935   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2936   # is not polluted with repeated "-I."
   2937   am__isrc=' -I$(srcdir)'
   2938   # test to see if srcdir already configured
   2939   if test -f $srcdir/config.status; then
   2940     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2941   fi
   2942 fi
   2943 
   2944 # test whether we have cygpath
   2945 if test -z "$CYGPATH_W"; then
   2946   if (cygpath --version) >/dev/null 2>/dev/null; then
   2947     CYGPATH_W='cygpath -w'
   2948   else
   2949     CYGPATH_W=echo
   2950   fi
   2951 fi
   2952 
   2953 
   2954 # Define the identity of the package.
   2955  PACKAGE='libXt'
   2956  VERSION='1.1.5'
   2957 
   2958 
   2959 cat >>confdefs.h <<_ACEOF
   2960 #define PACKAGE "$PACKAGE"
   2961 _ACEOF
   2962 
   2963 
   2964 cat >>confdefs.h <<_ACEOF
   2965 #define VERSION "$VERSION"
   2966 _ACEOF
   2967 
   2968 # Some tools Automake needs.
   2969 
   2970 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2971 
   2972 
   2973 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2974 
   2975 
   2976 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2977 
   2978 
   2979 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2980 
   2981 
   2982 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2983 
   2984 # For better backward compatibility.  To be removed once Automake 1.9.x
   2985 # dies out for good.  For more background, see:
   2986 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2987 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2988 mkdir_p='$(MKDIR_P)'
   2989 
   2990 # We need awk for the "check" target (and possibly the TAP driver).  The
   2991 # system "awk" is bad on some platforms.
   2992 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2993 # in the wild :-(  We should find a proper way to deprecate it ...
   2994 AMTAR='$${TAR-tar}'
   2995 
   2996 
   2997 # We'll loop over all known methods to create a tar archive until one works.
   2998 _am_tools='gnutar  pax cpio none'
   2999 
   3000 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3001 
   3002 
   3003 
   3004 
   3005 
   3006 
   3007 # POSIX will say in a future version that running "rm -f" with no argument
   3008 # is OK; and we want to be able to make that assumption in our Makefile
   3009 # recipes.  So use an aggressive probe to check that the usage we want is
   3010 # actually supported "in the wild" to an acceptable degree.
   3011 # See automake bug#10828.
   3012 # To make any issue more visible, cause the running configure to be aborted
   3013 # by default if the 'rm' program in use doesn't match our expectations; the
   3014 # user can still override this though.
   3015 if rm -f && rm -fr && rm -rf; then : OK; else
   3016   cat >&2 <<'END'
   3017 Oops!
   3018 
   3019 Your 'rm' program seems unable to run without file operands specified
   3020 on the command line, even when the '-f' option is present.  This is contrary
   3021 to the behaviour of most rm programs out there, and not conforming with
   3022 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3023 
   3024 Please tell bug-automake@gnu.org about your system, including the value
   3025 of your $PATH and any error possibly output before this message.  This
   3026 can help us improve future automake versions.
   3027 
   3028 END
   3029   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3030     echo 'Configuration will proceed anyway, since you have set the' >&2
   3031     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3032     echo >&2
   3033   else
   3034     cat >&2 <<'END'
   3035 Aborting the configuration process, to ensure you take notice of the issue.
   3036 
   3037 You can download and install GNU coreutils to get an 'rm' implementation
   3038 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   3039 
   3040 If you want to complete the configuration process using your problematic
   3041 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3042 to "yes", and re-run configure.
   3043 
   3044 END
   3045     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3046   fi
   3047 fi
   3048 
   3049 
   3050 # Initialize libtool
   3051 case `pwd` in
   3052   *\ * | *\	*)
   3053     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   3054 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   3055 esac
   3056 
   3057 
   3058 
   3059 macro_version='2.4.2'
   3060 macro_revision='1.3337'
   3061 
   3062 
   3063 
   3064 
   3065 
   3066 
   3067 
   3068 
   3069 
   3070 
   3071 
   3072 
   3073 
   3074 ltmain="$ac_aux_dir/ltmain.sh"
   3075 
   3076 # Make sure we can run config.sub.
   3077 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3078   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   3079 
   3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3081 $as_echo_n "checking build system type... " >&6; }
   3082 if ${ac_cv_build+:} false; then :
   3083   $as_echo_n "(cached) " >&6
   3084 else
   3085   ac_build_alias=$build_alias
   3086 test "x$ac_build_alias" = x &&
   3087   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3088 test "x$ac_build_alias" = x &&
   3089   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3090 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3091   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   3092 
   3093 fi
   3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3095 $as_echo "$ac_cv_build" >&6; }
   3096 case $ac_cv_build in
   3097 *-*-*) ;;
   3098 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3099 esac
   3100 build=$ac_cv_build
   3101 ac_save_IFS=$IFS; IFS='-'
   3102 set x $ac_cv_build
   3103 shift
   3104 build_cpu=$1
   3105 build_vendor=$2
   3106 shift; shift
   3107 # Remember, the first character of IFS is used to create $*,
   3108 # except with old shells:
   3109 build_os=$*
   3110 IFS=$ac_save_IFS
   3111 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3112 
   3113 
   3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3115 $as_echo_n "checking host system type... " >&6; }
   3116 if ${ac_cv_host+:} false; then :
   3117   $as_echo_n "(cached) " >&6
   3118 else
   3119   if test "x$host_alias" = x; then
   3120   ac_cv_host=$ac_cv_build
   3121 else
   3122   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3123     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   3124 fi
   3125 
   3126 fi
   3127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3128 $as_echo "$ac_cv_host" >&6; }
   3129 case $ac_cv_host in
   3130 *-*-*) ;;
   3131 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3132 esac
   3133 host=$ac_cv_host
   3134 ac_save_IFS=$IFS; IFS='-'
   3135 set x $ac_cv_host
   3136 shift
   3137 host_cpu=$1
   3138 host_vendor=$2
   3139 shift; shift
   3140 # Remember, the first character of IFS is used to create $*,
   3141 # except with old shells:
   3142 host_os=$*
   3143 IFS=$ac_save_IFS
   3144 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3145 
   3146 
   3147 # Backslashify metacharacters that are still active within
   3148 # double-quoted strings.
   3149 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   3150 
   3151 # Same as above, but do not quote variable references.
   3152 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   3153 
   3154 # Sed substitution to delay expansion of an escaped shell variable in a
   3155 # double_quote_subst'ed string.
   3156 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   3157 
   3158 # Sed substitution to delay expansion of an escaped single quote.
   3159 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   3160 
   3161 # Sed substitution to avoid accidental globbing in evaled expressions
   3162 no_glob_subst='s/\*/\\\*/g'
   3163 
   3164 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   3165 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   3166 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   3167 
   3168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   3169 $as_echo_n "checking how to print strings... " >&6; }
   3170 # Test print first, because it will be a builtin if present.
   3171 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   3172    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   3173   ECHO='print -r --'
   3174 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   3175   ECHO='printf %s\n'
   3176 else
   3177   # Use this function as a fallback that always works.
   3178   func_fallback_echo ()
   3179   {
   3180     eval 'cat <<_LTECHO_EOF
   3181 $1
   3182 _LTECHO_EOF'
   3183   }
   3184   ECHO='func_fallback_echo'
   3185 fi
   3186 
   3187 # func_echo_all arg...
   3188 # Invoke $ECHO with all args, space-separated.
   3189 func_echo_all ()
   3190 {
   3191     $ECHO ""
   3192 }
   3193 
   3194 case "$ECHO" in
   3195   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   3196 $as_echo "printf" >&6; } ;;
   3197   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   3198 $as_echo "print -r" >&6; } ;;
   3199   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   3200 $as_echo "cat" >&6; } ;;
   3201 esac
   3202 
   3203 
   3204 
   3205 
   3206 
   3207 
   3208 
   3209 
   3210 
   3211 
   3212 
   3213 
   3214 
   3215 
   3216 DEPDIR="${am__leading_dot}deps"
   3217 
   3218 ac_config_commands="$ac_config_commands depfiles"
   3219 
   3220 
   3221 am_make=${MAKE-make}
   3222 cat > confinc << 'END'
   3223 am__doit:
   3224 	@echo this is the am__doit target
   3225 .PHONY: am__doit
   3226 END
   3227 # If we don't find an include directive, just comment out the code.
   3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3229 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3230 am__include="#"
   3231 am__quote=
   3232 _am_result=none
   3233 # First try GNU make style include.
   3234 echo "include confinc" > confmf
   3235 # Ignore all kinds of additional output from 'make'.
   3236 case `$am_make -s -f confmf 2> /dev/null` in #(
   3237 *the\ am__doit\ target*)
   3238   am__include=include
   3239   am__quote=
   3240   _am_result=GNU
   3241   ;;
   3242 esac
   3243 # Now try BSD make style include.
   3244 if test "$am__include" = "#"; then
   3245    echo '.include "confinc"' > confmf
   3246    case `$am_make -s -f confmf 2> /dev/null` in #(
   3247    *the\ am__doit\ target*)
   3248      am__include=.include
   3249      am__quote="\""
   3250      _am_result=BSD
   3251      ;;
   3252    esac
   3253 fi
   3254 
   3255 
   3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3257 $as_echo "$_am_result" >&6; }
   3258 rm -f confinc confmf
   3259 
   3260 # Check whether --enable-dependency-tracking was given.
   3261 if test "${enable_dependency_tracking+set}" = set; then :
   3262   enableval=$enable_dependency_tracking;
   3263 fi
   3264 
   3265 if test "x$enable_dependency_tracking" != xno; then
   3266   am_depcomp="$ac_aux_dir/depcomp"
   3267   AMDEPBACKSLASH='\'
   3268   am__nodep='_no'
   3269 fi
   3270  if test "x$enable_dependency_tracking" != xno; then
   3271   AMDEP_TRUE=
   3272   AMDEP_FALSE='#'
   3273 else
   3274   AMDEP_TRUE='#'
   3275   AMDEP_FALSE=
   3276 fi
   3277 
   3278 
   3279 ac_ext=c
   3280 ac_cpp='$CPP $CPPFLAGS'
   3281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3284 if test -n "$ac_tool_prefix"; then
   3285   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3286 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3288 $as_echo_n "checking for $ac_word... " >&6; }
   3289 if ${ac_cv_prog_CC+:} false; then :
   3290   $as_echo_n "(cached) " >&6
   3291 else
   3292   if test -n "$CC"; then
   3293   ac_cv_prog_CC="$CC" # Let the user override the test.
   3294 else
   3295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3296 for as_dir in $PATH
   3297 do
   3298   IFS=$as_save_IFS
   3299   test -z "$as_dir" && as_dir=.
   3300     for ac_exec_ext in '' $ac_executable_extensions; do
   3301   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3302     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3303     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3304     break 2
   3305   fi
   3306 done
   3307   done
   3308 IFS=$as_save_IFS
   3309 
   3310 fi
   3311 fi
   3312 CC=$ac_cv_prog_CC
   3313 if test -n "$CC"; then
   3314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3315 $as_echo "$CC" >&6; }
   3316 else
   3317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3318 $as_echo "no" >&6; }
   3319 fi
   3320 
   3321 
   3322 fi
   3323 if test -z "$ac_cv_prog_CC"; then
   3324   ac_ct_CC=$CC
   3325   # Extract the first word of "gcc", so it can be a program name with args.
   3326 set dummy gcc; ac_word=$2
   3327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3328 $as_echo_n "checking for $ac_word... " >&6; }
   3329 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3330   $as_echo_n "(cached) " >&6
   3331 else
   3332   if test -n "$ac_ct_CC"; then
   3333   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3334 else
   3335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3336 for as_dir in $PATH
   3337 do
   3338   IFS=$as_save_IFS
   3339   test -z "$as_dir" && as_dir=.
   3340     for ac_exec_ext in '' $ac_executable_extensions; do
   3341   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3342     ac_cv_prog_ac_ct_CC="gcc"
   3343     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3344     break 2
   3345   fi
   3346 done
   3347   done
   3348 IFS=$as_save_IFS
   3349 
   3350 fi
   3351 fi
   3352 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3353 if test -n "$ac_ct_CC"; then
   3354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3355 $as_echo "$ac_ct_CC" >&6; }
   3356 else
   3357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3358 $as_echo "no" >&6; }
   3359 fi
   3360 
   3361   if test "x$ac_ct_CC" = x; then
   3362     CC=""
   3363   else
   3364     case $cross_compiling:$ac_tool_warned in
   3365 yes:)
   3366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3367 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3368 ac_tool_warned=yes ;;
   3369 esac
   3370     CC=$ac_ct_CC
   3371   fi
   3372 else
   3373   CC="$ac_cv_prog_CC"
   3374 fi
   3375 
   3376 if test -z "$CC"; then
   3377           if test -n "$ac_tool_prefix"; then
   3378     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3379 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3381 $as_echo_n "checking for $ac_word... " >&6; }
   3382 if ${ac_cv_prog_CC+:} false; then :
   3383   $as_echo_n "(cached) " >&6
   3384 else
   3385   if test -n "$CC"; then
   3386   ac_cv_prog_CC="$CC" # Let the user override the test.
   3387 else
   3388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3389 for as_dir in $PATH
   3390 do
   3391   IFS=$as_save_IFS
   3392   test -z "$as_dir" && as_dir=.
   3393     for ac_exec_ext in '' $ac_executable_extensions; do
   3394   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3395     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3396     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3397     break 2
   3398   fi
   3399 done
   3400   done
   3401 IFS=$as_save_IFS
   3402 
   3403 fi
   3404 fi
   3405 CC=$ac_cv_prog_CC
   3406 if test -n "$CC"; then
   3407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3408 $as_echo "$CC" >&6; }
   3409 else
   3410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3411 $as_echo "no" >&6; }
   3412 fi
   3413 
   3414 
   3415   fi
   3416 fi
   3417 if test -z "$CC"; then
   3418   # Extract the first word of "cc", so it can be a program name with args.
   3419 set dummy cc; ac_word=$2
   3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3421 $as_echo_n "checking for $ac_word... " >&6; }
   3422 if ${ac_cv_prog_CC+:} false; then :
   3423   $as_echo_n "(cached) " >&6
   3424 else
   3425   if test -n "$CC"; then
   3426   ac_cv_prog_CC="$CC" # Let the user override the test.
   3427 else
   3428   ac_prog_rejected=no
   3429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3430 for as_dir in $PATH
   3431 do
   3432   IFS=$as_save_IFS
   3433   test -z "$as_dir" && as_dir=.
   3434     for ac_exec_ext in '' $ac_executable_extensions; do
   3435   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3436     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3437        ac_prog_rejected=yes
   3438        continue
   3439      fi
   3440     ac_cv_prog_CC="cc"
   3441     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3442     break 2
   3443   fi
   3444 done
   3445   done
   3446 IFS=$as_save_IFS
   3447 
   3448 if test $ac_prog_rejected = yes; then
   3449   # We found a bogon in the path, so make sure we never use it.
   3450   set dummy $ac_cv_prog_CC
   3451   shift
   3452   if test $# != 0; then
   3453     # We chose a different compiler from the bogus one.
   3454     # However, it has the same basename, so the bogon will be chosen
   3455     # first if we set CC to just the basename; use the full file name.
   3456     shift
   3457     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3458   fi
   3459 fi
   3460 fi
   3461 fi
   3462 CC=$ac_cv_prog_CC
   3463 if test -n "$CC"; then
   3464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3465 $as_echo "$CC" >&6; }
   3466 else
   3467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3468 $as_echo "no" >&6; }
   3469 fi
   3470 
   3471 
   3472 fi
   3473 if test -z "$CC"; then
   3474   if test -n "$ac_tool_prefix"; then
   3475   for ac_prog in cl.exe
   3476   do
   3477     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3478 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3480 $as_echo_n "checking for $ac_word... " >&6; }
   3481 if ${ac_cv_prog_CC+:} false; then :
   3482   $as_echo_n "(cached) " >&6
   3483 else
   3484   if test -n "$CC"; then
   3485   ac_cv_prog_CC="$CC" # Let the user override the test.
   3486 else
   3487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3488 for as_dir in $PATH
   3489 do
   3490   IFS=$as_save_IFS
   3491   test -z "$as_dir" && as_dir=.
   3492     for ac_exec_ext in '' $ac_executable_extensions; do
   3493   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3494     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3495     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3496     break 2
   3497   fi
   3498 done
   3499   done
   3500 IFS=$as_save_IFS
   3501 
   3502 fi
   3503 fi
   3504 CC=$ac_cv_prog_CC
   3505 if test -n "$CC"; then
   3506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3507 $as_echo "$CC" >&6; }
   3508 else
   3509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3510 $as_echo "no" >&6; }
   3511 fi
   3512 
   3513 
   3514     test -n "$CC" && break
   3515   done
   3516 fi
   3517 if test -z "$CC"; then
   3518   ac_ct_CC=$CC
   3519   for ac_prog in cl.exe
   3520 do
   3521   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3522 set dummy $ac_prog; ac_word=$2
   3523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3524 $as_echo_n "checking for $ac_word... " >&6; }
   3525 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3526   $as_echo_n "(cached) " >&6
   3527 else
   3528   if test -n "$ac_ct_CC"; then
   3529   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3530 else
   3531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3532 for as_dir in $PATH
   3533 do
   3534   IFS=$as_save_IFS
   3535   test -z "$as_dir" && as_dir=.
   3536     for ac_exec_ext in '' $ac_executable_extensions; do
   3537   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3538     ac_cv_prog_ac_ct_CC="$ac_prog"
   3539     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3540     break 2
   3541   fi
   3542 done
   3543   done
   3544 IFS=$as_save_IFS
   3545 
   3546 fi
   3547 fi
   3548 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3549 if test -n "$ac_ct_CC"; then
   3550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3551 $as_echo "$ac_ct_CC" >&6; }
   3552 else
   3553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3554 $as_echo "no" >&6; }
   3555 fi
   3556 
   3557 
   3558   test -n "$ac_ct_CC" && break
   3559 done
   3560 
   3561   if test "x$ac_ct_CC" = x; then
   3562     CC=""
   3563   else
   3564     case $cross_compiling:$ac_tool_warned in
   3565 yes:)
   3566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3567 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3568 ac_tool_warned=yes ;;
   3569 esac
   3570     CC=$ac_ct_CC
   3571   fi
   3572 fi
   3573 
   3574 fi
   3575 
   3576 
   3577 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3578 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3579 as_fn_error $? "no acceptable C compiler found in \$PATH
   3580 See \`config.log' for more details" "$LINENO" 5; }
   3581 
   3582 # Provide some information about the compiler.
   3583 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3584 set X $ac_compile
   3585 ac_compiler=$2
   3586 for ac_option in --version -v -V -qversion; do
   3587   { { ac_try="$ac_compiler $ac_option >&5"
   3588 case "(($ac_try" in
   3589   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3590   *) ac_try_echo=$ac_try;;
   3591 esac
   3592 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3593 $as_echo "$ac_try_echo"; } >&5
   3594   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3595   ac_status=$?
   3596   if test -s conftest.err; then
   3597     sed '10a\
   3598 ... rest of stderr output deleted ...
   3599          10q' conftest.err >conftest.er1
   3600     cat conftest.er1 >&5
   3601   fi
   3602   rm -f conftest.er1 conftest.err
   3603   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3604   test $ac_status = 0; }
   3605 done
   3606 
   3607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3608 /* end confdefs.h.  */
   3609 
   3610 int
   3611 main ()
   3612 {
   3613 
   3614   ;
   3615   return 0;
   3616 }
   3617 _ACEOF
   3618 ac_clean_files_save=$ac_clean_files
   3619 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3620 # Try to create an executable without -o first, disregard a.out.
   3621 # It will help us diagnose broken compilers, and finding out an intuition
   3622 # of exeext.
   3623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3624 $as_echo_n "checking whether the C compiler works... " >&6; }
   3625 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3626 
   3627 # The possible output files:
   3628 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3629 
   3630 ac_rmfiles=
   3631 for ac_file in $ac_files
   3632 do
   3633   case $ac_file in
   3634     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3635     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3636   esac
   3637 done
   3638 rm -f $ac_rmfiles
   3639 
   3640 if { { ac_try="$ac_link_default"
   3641 case "(($ac_try" in
   3642   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3643   *) ac_try_echo=$ac_try;;
   3644 esac
   3645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3646 $as_echo "$ac_try_echo"; } >&5
   3647   (eval "$ac_link_default") 2>&5
   3648   ac_status=$?
   3649   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3650   test $ac_status = 0; }; then :
   3651   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3652 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3653 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3654 # so that the user can short-circuit this test for compilers unknown to
   3655 # Autoconf.
   3656 for ac_file in $ac_files ''
   3657 do
   3658   test -f "$ac_file" || continue
   3659   case $ac_file in
   3660     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3661 	;;
   3662     [ab].out )
   3663 	# We found the default executable, but exeext='' is most
   3664 	# certainly right.
   3665 	break;;
   3666     *.* )
   3667 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3668 	then :; else
   3669 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3670 	fi
   3671 	# We set ac_cv_exeext here because the later test for it is not
   3672 	# safe: cross compilers may not add the suffix if given an `-o'
   3673 	# argument, so we may need to know it at that point already.
   3674 	# Even if this section looks crufty: it has the advantage of
   3675 	# actually working.
   3676 	break;;
   3677     * )
   3678 	break;;
   3679   esac
   3680 done
   3681 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3682 
   3683 else
   3684   ac_file=''
   3685 fi
   3686 if test -z "$ac_file"; then :
   3687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3688 $as_echo "no" >&6; }
   3689 $as_echo "$as_me: failed program was:" >&5
   3690 sed 's/^/| /' conftest.$ac_ext >&5
   3691 
   3692 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3693 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3694 as_fn_error 77 "C compiler cannot create executables
   3695 See \`config.log' for more details" "$LINENO" 5; }
   3696 else
   3697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3698 $as_echo "yes" >&6; }
   3699 fi
   3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3701 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3703 $as_echo "$ac_file" >&6; }
   3704 ac_exeext=$ac_cv_exeext
   3705 
   3706 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3707 ac_clean_files=$ac_clean_files_save
   3708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3709 $as_echo_n "checking for suffix of executables... " >&6; }
   3710 if { { ac_try="$ac_link"
   3711 case "(($ac_try" in
   3712   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3713   *) ac_try_echo=$ac_try;;
   3714 esac
   3715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3716 $as_echo "$ac_try_echo"; } >&5
   3717   (eval "$ac_link") 2>&5
   3718   ac_status=$?
   3719   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3720   test $ac_status = 0; }; then :
   3721   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3722 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3723 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3724 # `rm'.
   3725 for ac_file in conftest.exe conftest conftest.*; do
   3726   test -f "$ac_file" || continue
   3727   case $ac_file in
   3728     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3729     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3730 	  break;;
   3731     * ) break;;
   3732   esac
   3733 done
   3734 else
   3735   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3736 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3737 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3738 See \`config.log' for more details" "$LINENO" 5; }
   3739 fi
   3740 rm -f conftest conftest$ac_cv_exeext
   3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3742 $as_echo "$ac_cv_exeext" >&6; }
   3743 
   3744 rm -f conftest.$ac_ext
   3745 EXEEXT=$ac_cv_exeext
   3746 ac_exeext=$EXEEXT
   3747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3748 /* end confdefs.h.  */
   3749 #include <stdio.h>
   3750 int
   3751 main ()
   3752 {
   3753 FILE *f = fopen ("conftest.out", "w");
   3754  return ferror (f) || fclose (f) != 0;
   3755 
   3756   ;
   3757   return 0;
   3758 }
   3759 _ACEOF
   3760 ac_clean_files="$ac_clean_files conftest.out"
   3761 # Check that the compiler produces executables we can run.  If not, either
   3762 # the compiler is broken, or we cross compile.
   3763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3764 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3765 if test "$cross_compiling" != yes; then
   3766   { { ac_try="$ac_link"
   3767 case "(($ac_try" in
   3768   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3769   *) ac_try_echo=$ac_try;;
   3770 esac
   3771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3772 $as_echo "$ac_try_echo"; } >&5
   3773   (eval "$ac_link") 2>&5
   3774   ac_status=$?
   3775   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3776   test $ac_status = 0; }
   3777   if { ac_try='./conftest$ac_cv_exeext'
   3778   { { case "(($ac_try" in
   3779   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3780   *) ac_try_echo=$ac_try;;
   3781 esac
   3782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3783 $as_echo "$ac_try_echo"; } >&5
   3784   (eval "$ac_try") 2>&5
   3785   ac_status=$?
   3786   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3787   test $ac_status = 0; }; }; then
   3788     cross_compiling=no
   3789   else
   3790     if test "$cross_compiling" = maybe; then
   3791 	cross_compiling=yes
   3792     else
   3793 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3794 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3795 as_fn_error $? "cannot run C compiled programs.
   3796 If you meant to cross compile, use \`--host'.
   3797 See \`config.log' for more details" "$LINENO" 5; }
   3798     fi
   3799   fi
   3800 fi
   3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3802 $as_echo "$cross_compiling" >&6; }
   3803 
   3804 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3805 ac_clean_files=$ac_clean_files_save
   3806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3807 $as_echo_n "checking for suffix of object files... " >&6; }
   3808 if ${ac_cv_objext+:} false; then :
   3809   $as_echo_n "(cached) " >&6
   3810 else
   3811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3812 /* end confdefs.h.  */
   3813 
   3814 int
   3815 main ()
   3816 {
   3817 
   3818   ;
   3819   return 0;
   3820 }
   3821 _ACEOF
   3822 rm -f conftest.o conftest.obj
   3823 if { { ac_try="$ac_compile"
   3824 case "(($ac_try" in
   3825   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3826   *) ac_try_echo=$ac_try;;
   3827 esac
   3828 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3829 $as_echo "$ac_try_echo"; } >&5
   3830   (eval "$ac_compile") 2>&5
   3831   ac_status=$?
   3832   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3833   test $ac_status = 0; }; then :
   3834   for ac_file in conftest.o conftest.obj conftest.*; do
   3835   test -f "$ac_file" || continue;
   3836   case $ac_file in
   3837     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3838     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3839        break;;
   3840   esac
   3841 done
   3842 else
   3843   $as_echo "$as_me: failed program was:" >&5
   3844 sed 's/^/| /' conftest.$ac_ext >&5
   3845 
   3846 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3847 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3848 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3849 See \`config.log' for more details" "$LINENO" 5; }
   3850 fi
   3851 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3852 fi
   3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3854 $as_echo "$ac_cv_objext" >&6; }
   3855 OBJEXT=$ac_cv_objext
   3856 ac_objext=$OBJEXT
   3857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3858 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3859 if ${ac_cv_c_compiler_gnu+:} false; then :
   3860   $as_echo_n "(cached) " >&6
   3861 else
   3862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3863 /* end confdefs.h.  */
   3864 
   3865 int
   3866 main ()
   3867 {
   3868 #ifndef __GNUC__
   3869        choke me
   3870 #endif
   3871 
   3872   ;
   3873   return 0;
   3874 }
   3875 _ACEOF
   3876 if ac_fn_c_try_compile "$LINENO"; then :
   3877   ac_compiler_gnu=yes
   3878 else
   3879   ac_compiler_gnu=no
   3880 fi
   3881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3882 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3883 
   3884 fi
   3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3886 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3887 if test $ac_compiler_gnu = yes; then
   3888   GCC=yes
   3889 else
   3890   GCC=
   3891 fi
   3892 ac_test_CFLAGS=${CFLAGS+set}
   3893 ac_save_CFLAGS=$CFLAGS
   3894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3895 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3896 if ${ac_cv_prog_cc_g+:} false; then :
   3897   $as_echo_n "(cached) " >&6
   3898 else
   3899   ac_save_c_werror_flag=$ac_c_werror_flag
   3900    ac_c_werror_flag=yes
   3901    ac_cv_prog_cc_g=no
   3902    CFLAGS="-g"
   3903    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3904 /* end confdefs.h.  */
   3905 
   3906 int
   3907 main ()
   3908 {
   3909 
   3910   ;
   3911   return 0;
   3912 }
   3913 _ACEOF
   3914 if ac_fn_c_try_compile "$LINENO"; then :
   3915   ac_cv_prog_cc_g=yes
   3916 else
   3917   CFLAGS=""
   3918       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3919 /* end confdefs.h.  */
   3920 
   3921 int
   3922 main ()
   3923 {
   3924 
   3925   ;
   3926   return 0;
   3927 }
   3928 _ACEOF
   3929 if ac_fn_c_try_compile "$LINENO"; then :
   3930 
   3931 else
   3932   ac_c_werror_flag=$ac_save_c_werror_flag
   3933 	 CFLAGS="-g"
   3934 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3935 /* end confdefs.h.  */
   3936 
   3937 int
   3938 main ()
   3939 {
   3940 
   3941   ;
   3942   return 0;
   3943 }
   3944 _ACEOF
   3945 if ac_fn_c_try_compile "$LINENO"; then :
   3946   ac_cv_prog_cc_g=yes
   3947 fi
   3948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3949 fi
   3950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3951 fi
   3952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3953    ac_c_werror_flag=$ac_save_c_werror_flag
   3954 fi
   3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3956 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3957 if test "$ac_test_CFLAGS" = set; then
   3958   CFLAGS=$ac_save_CFLAGS
   3959 elif test $ac_cv_prog_cc_g = yes; then
   3960   if test "$GCC" = yes; then
   3961     CFLAGS="-g -O2"
   3962   else
   3963     CFLAGS="-g"
   3964   fi
   3965 else
   3966   if test "$GCC" = yes; then
   3967     CFLAGS="-O2"
   3968   else
   3969     CFLAGS=
   3970   fi
   3971 fi
   3972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3973 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3974 if ${ac_cv_prog_cc_c89+:} false; then :
   3975   $as_echo_n "(cached) " >&6
   3976 else
   3977   ac_cv_prog_cc_c89=no
   3978 ac_save_CC=$CC
   3979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3980 /* end confdefs.h.  */
   3981 #include <stdarg.h>
   3982 #include <stdio.h>
   3983 struct stat;
   3984 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3985 struct buf { int x; };
   3986 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3987 static char *e (p, i)
   3988      char **p;
   3989      int i;
   3990 {
   3991   return p[i];
   3992 }
   3993 static char *f (char * (*g) (char **, int), char **p, ...)
   3994 {
   3995   char *s;
   3996   va_list v;
   3997   va_start (v,p);
   3998   s = g (p, va_arg (v,int));
   3999   va_end (v);
   4000   return s;
   4001 }
   4002 
   4003 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4004    function prototypes and stuff, but not '\xHH' hex character constants.
   4005    These don't provoke an error unfortunately, instead are silently treated
   4006    as 'x'.  The following induces an error, until -std is added to get
   4007    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4008    array size at least.  It's necessary to write '\x00'==0 to get something
   4009    that's true only with -std.  */
   4010 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4011 
   4012 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   4013    inside strings and character constants.  */
   4014 #define FOO(x) 'x'
   4015 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   4016 
   4017 int test (int i, double x);
   4018 struct s1 {int (*f) (int a);};
   4019 struct s2 {int (*f) (double a);};
   4020 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4021 int argc;
   4022 char **argv;
   4023 int
   4024 main ()
   4025 {
   4026 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4027   ;
   4028   return 0;
   4029 }
   4030 _ACEOF
   4031 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   4032 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4033 do
   4034   CC="$ac_save_CC $ac_arg"
   4035   if ac_fn_c_try_compile "$LINENO"; then :
   4036   ac_cv_prog_cc_c89=$ac_arg
   4037 fi
   4038 rm -f core conftest.err conftest.$ac_objext
   4039   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4040 done
   4041 rm -f conftest.$ac_ext
   4042 CC=$ac_save_CC
   4043 
   4044 fi
   4045 # AC_CACHE_VAL
   4046 case "x$ac_cv_prog_cc_c89" in
   4047   x)
   4048     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4049 $as_echo "none needed" >&6; } ;;
   4050   xno)
   4051     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4052 $as_echo "unsupported" >&6; } ;;
   4053   *)
   4054     CC="$CC $ac_cv_prog_cc_c89"
   4055     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4056 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4057 esac
   4058 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4059 
   4060 fi
   4061 
   4062 ac_ext=c
   4063 ac_cpp='$CPP $CPPFLAGS'
   4064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4067 
   4068 ac_ext=c
   4069 ac_cpp='$CPP $CPPFLAGS'
   4070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4074 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   4075 if ${am_cv_prog_cc_c_o+:} false; then :
   4076   $as_echo_n "(cached) " >&6
   4077 else
   4078   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4079 /* end confdefs.h.  */
   4080 
   4081 int
   4082 main ()
   4083 {
   4084 
   4085   ;
   4086   return 0;
   4087 }
   4088 _ACEOF
   4089   # Make sure it works both with $CC and with simple cc.
   4090   # Following AC_PROG_CC_C_O, we do the test twice because some
   4091   # compilers refuse to overwrite an existing .o file with -o,
   4092   # though they will create one.
   4093   am_cv_prog_cc_c_o=yes
   4094   for am_i in 1 2; do
   4095     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4096    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4097    ac_status=$?
   4098    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4099    (exit $ac_status); } \
   4100          && test -f conftest2.$ac_objext; then
   4101       : OK
   4102     else
   4103       am_cv_prog_cc_c_o=no
   4104       break
   4105     fi
   4106   done
   4107   rm -f core conftest*
   4108   unset am_i
   4109 fi
   4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4111 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   4112 if test "$am_cv_prog_cc_c_o" != yes; then
   4113    # Losing compiler, so override with the script.
   4114    # FIXME: It is wrong to rewrite CC.
   4115    # But if we don't then we get into trouble of one sort or another.
   4116    # A longer-term fix would be to have automake use am__CC in this case,
   4117    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4118    CC="$am_aux_dir/compile $CC"
   4119 fi
   4120 ac_ext=c
   4121 ac_cpp='$CPP $CPPFLAGS'
   4122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4125 
   4126 
   4127 depcc="$CC"   am_compiler_list=
   4128 
   4129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4130 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4131 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4132   $as_echo_n "(cached) " >&6
   4133 else
   4134   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4135   # We make a subdir and do the tests there.  Otherwise we can end up
   4136   # making bogus files that we don't know about and never remove.  For
   4137   # instance it was reported that on HP-UX the gcc test will end up
   4138   # making a dummy file named 'D' -- because '-MD' means "put the output
   4139   # in D".
   4140   rm -rf conftest.dir
   4141   mkdir conftest.dir
   4142   # Copy depcomp to subdir because otherwise we won't find it if we're
   4143   # using a relative directory.
   4144   cp "$am_depcomp" conftest.dir
   4145   cd conftest.dir
   4146   # We will build objects and dependencies in a subdirectory because
   4147   # it helps to detect inapplicable dependency modes.  For instance
   4148   # both Tru64's cc and ICC support -MD to output dependencies as a
   4149   # side effect of compilation, but ICC will put the dependencies in
   4150   # the current directory while Tru64 will put them in the object
   4151   # directory.
   4152   mkdir sub
   4153 
   4154   am_cv_CC_dependencies_compiler_type=none
   4155   if test "$am_compiler_list" = ""; then
   4156      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4157   fi
   4158   am__universal=false
   4159   case " $depcc " in #(
   4160      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4161      esac
   4162 
   4163   for depmode in $am_compiler_list; do
   4164     # Setup a source with many dependencies, because some compilers
   4165     # like to wrap large dependency lists on column 80 (with \), and
   4166     # we should not choose a depcomp mode which is confused by this.
   4167     #
   4168     # We need to recreate these files for each test, as the compiler may
   4169     # overwrite some of them when testing with obscure command lines.
   4170     # This happens at least with the AIX C compiler.
   4171     : > sub/conftest.c
   4172     for i in 1 2 3 4 5 6; do
   4173       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4174       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4175       # Solaris 10 /bin/sh.
   4176       echo '/* dummy */' > sub/conftst$i.h
   4177     done
   4178     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4179 
   4180     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4181     # mode.  It turns out that the SunPro C++ compiler does not properly
   4182     # handle '-M -o', and we need to detect this.  Also, some Intel
   4183     # versions had trouble with output in subdirs.
   4184     am__obj=sub/conftest.${OBJEXT-o}
   4185     am__minus_obj="-o $am__obj"
   4186     case $depmode in
   4187     gcc)
   4188       # This depmode causes a compiler race in universal mode.
   4189       test "$am__universal" = false || continue
   4190       ;;
   4191     nosideeffect)
   4192       # After this tag, mechanisms are not by side-effect, so they'll
   4193       # only be used when explicitly requested.
   4194       if test "x$enable_dependency_tracking" = xyes; then
   4195 	continue
   4196       else
   4197 	break
   4198       fi
   4199       ;;
   4200     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4201       # This compiler won't grok '-c -o', but also, the minuso test has
   4202       # not run yet.  These depmodes are late enough in the game, and
   4203       # so weak that their functioning should not be impacted.
   4204       am__obj=conftest.${OBJEXT-o}
   4205       am__minus_obj=
   4206       ;;
   4207     none) break ;;
   4208     esac
   4209     if depmode=$depmode \
   4210        source=sub/conftest.c object=$am__obj \
   4211        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4212        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4213          >/dev/null 2>conftest.err &&
   4214        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4215        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4216        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4217        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4218       # icc doesn't choke on unknown options, it will just issue warnings
   4219       # or remarks (even with -Werror).  So we grep stderr for any message
   4220       # that says an option was ignored or not supported.
   4221       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4222       #   icc: Command line warning: ignoring option '-M'; no argument required
   4223       # The diagnosis changed in icc 8.0:
   4224       #   icc: Command line remark: option '-MP' not supported
   4225       if (grep 'ignoring option' conftest.err ||
   4226           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4227         am_cv_CC_dependencies_compiler_type=$depmode
   4228         break
   4229       fi
   4230     fi
   4231   done
   4232 
   4233   cd ..
   4234   rm -rf conftest.dir
   4235 else
   4236   am_cv_CC_dependencies_compiler_type=none
   4237 fi
   4238 
   4239 fi
   4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4241 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4242 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4243 
   4244  if
   4245   test "x$enable_dependency_tracking" != xno \
   4246   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4247   am__fastdepCC_TRUE=
   4248   am__fastdepCC_FALSE='#'
   4249 else
   4250   am__fastdepCC_TRUE='#'
   4251   am__fastdepCC_FALSE=
   4252 fi
   4253 
   4254 
   4255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4256 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4257 if ${ac_cv_path_SED+:} false; then :
   4258   $as_echo_n "(cached) " >&6
   4259 else
   4260             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4261      for ac_i in 1 2 3 4 5 6 7; do
   4262        ac_script="$ac_script$as_nl$ac_script"
   4263      done
   4264      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4265      { ac_script=; unset ac_script;}
   4266      if test -z "$SED"; then
   4267   ac_path_SED_found=false
   4268   # Loop through the user's path and test for each of PROGNAME-LIST
   4269   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4270 for as_dir in $PATH
   4271 do
   4272   IFS=$as_save_IFS
   4273   test -z "$as_dir" && as_dir=.
   4274     for ac_prog in sed gsed; do
   4275     for ac_exec_ext in '' $ac_executable_extensions; do
   4276       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4277       as_fn_executable_p "$ac_path_SED" || continue
   4278 # Check for GNU ac_path_SED and select it if it is found.
   4279   # Check for GNU $ac_path_SED
   4280 case `"$ac_path_SED" --version 2>&1` in
   4281 *GNU*)
   4282   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4283 *)
   4284   ac_count=0
   4285   $as_echo_n 0123456789 >"conftest.in"
   4286   while :
   4287   do
   4288     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4289     mv "conftest.tmp" "conftest.in"
   4290     cp "conftest.in" "conftest.nl"
   4291     $as_echo '' >> "conftest.nl"
   4292     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4293     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4294     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4295     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4296       # Best one so far, save it but keep looking for a better one
   4297       ac_cv_path_SED="$ac_path_SED"
   4298       ac_path_SED_max=$ac_count
   4299     fi
   4300     # 10*(2^10) chars as input seems more than enough
   4301     test $ac_count -gt 10 && break
   4302   done
   4303   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4304 esac
   4305 
   4306       $ac_path_SED_found && break 3
   4307     done
   4308   done
   4309   done
   4310 IFS=$as_save_IFS
   4311   if test -z "$ac_cv_path_SED"; then
   4312     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4313   fi
   4314 else
   4315   ac_cv_path_SED=$SED
   4316 fi
   4317 
   4318 fi
   4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4320 $as_echo "$ac_cv_path_SED" >&6; }
   4321  SED="$ac_cv_path_SED"
   4322   rm -f conftest.sed
   4323 
   4324 test -z "$SED" && SED=sed
   4325 Xsed="$SED -e 1s/^X//"
   4326 
   4327 
   4328 
   4329 
   4330 
   4331 
   4332 
   4333 
   4334 
   4335 
   4336 
   4337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4338 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4339 if ${ac_cv_path_GREP+:} false; then :
   4340   $as_echo_n "(cached) " >&6
   4341 else
   4342   if test -z "$GREP"; then
   4343   ac_path_GREP_found=false
   4344   # Loop through the user's path and test for each of PROGNAME-LIST
   4345   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4346 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4347 do
   4348   IFS=$as_save_IFS
   4349   test -z "$as_dir" && as_dir=.
   4350     for ac_prog in grep ggrep; do
   4351     for ac_exec_ext in '' $ac_executable_extensions; do
   4352       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4353       as_fn_executable_p "$ac_path_GREP" || continue
   4354 # Check for GNU ac_path_GREP and select it if it is found.
   4355   # Check for GNU $ac_path_GREP
   4356 case `"$ac_path_GREP" --version 2>&1` in
   4357 *GNU*)
   4358   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4359 *)
   4360   ac_count=0
   4361   $as_echo_n 0123456789 >"conftest.in"
   4362   while :
   4363   do
   4364     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4365     mv "conftest.tmp" "conftest.in"
   4366     cp "conftest.in" "conftest.nl"
   4367     $as_echo 'GREP' >> "conftest.nl"
   4368     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4369     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4370     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4371     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4372       # Best one so far, save it but keep looking for a better one
   4373       ac_cv_path_GREP="$ac_path_GREP"
   4374       ac_path_GREP_max=$ac_count
   4375     fi
   4376     # 10*(2^10) chars as input seems more than enough
   4377     test $ac_count -gt 10 && break
   4378   done
   4379   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4380 esac
   4381 
   4382       $ac_path_GREP_found && break 3
   4383     done
   4384   done
   4385   done
   4386 IFS=$as_save_IFS
   4387   if test -z "$ac_cv_path_GREP"; then
   4388     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4389   fi
   4390 else
   4391   ac_cv_path_GREP=$GREP
   4392 fi
   4393 
   4394 fi
   4395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4396 $as_echo "$ac_cv_path_GREP" >&6; }
   4397  GREP="$ac_cv_path_GREP"
   4398 
   4399 
   4400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4401 $as_echo_n "checking for egrep... " >&6; }
   4402 if ${ac_cv_path_EGREP+:} false; then :
   4403   $as_echo_n "(cached) " >&6
   4404 else
   4405   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4406    then ac_cv_path_EGREP="$GREP -E"
   4407    else
   4408      if test -z "$EGREP"; then
   4409   ac_path_EGREP_found=false
   4410   # Loop through the user's path and test for each of PROGNAME-LIST
   4411   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4412 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4413 do
   4414   IFS=$as_save_IFS
   4415   test -z "$as_dir" && as_dir=.
   4416     for ac_prog in egrep; do
   4417     for ac_exec_ext in '' $ac_executable_extensions; do
   4418       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4419       as_fn_executable_p "$ac_path_EGREP" || continue
   4420 # Check for GNU ac_path_EGREP and select it if it is found.
   4421   # Check for GNU $ac_path_EGREP
   4422 case `"$ac_path_EGREP" --version 2>&1` in
   4423 *GNU*)
   4424   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4425 *)
   4426   ac_count=0
   4427   $as_echo_n 0123456789 >"conftest.in"
   4428   while :
   4429   do
   4430     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4431     mv "conftest.tmp" "conftest.in"
   4432     cp "conftest.in" "conftest.nl"
   4433     $as_echo 'EGREP' >> "conftest.nl"
   4434     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4435     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4436     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4437     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4438       # Best one so far, save it but keep looking for a better one
   4439       ac_cv_path_EGREP="$ac_path_EGREP"
   4440       ac_path_EGREP_max=$ac_count
   4441     fi
   4442     # 10*(2^10) chars as input seems more than enough
   4443     test $ac_count -gt 10 && break
   4444   done
   4445   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4446 esac
   4447 
   4448       $ac_path_EGREP_found && break 3
   4449     done
   4450   done
   4451   done
   4452 IFS=$as_save_IFS
   4453   if test -z "$ac_cv_path_EGREP"; then
   4454     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4455   fi
   4456 else
   4457   ac_cv_path_EGREP=$EGREP
   4458 fi
   4459 
   4460    fi
   4461 fi
   4462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4463 $as_echo "$ac_cv_path_EGREP" >&6; }
   4464  EGREP="$ac_cv_path_EGREP"
   4465 
   4466 
   4467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4468 $as_echo_n "checking for fgrep... " >&6; }
   4469 if ${ac_cv_path_FGREP+:} false; then :
   4470   $as_echo_n "(cached) " >&6
   4471 else
   4472   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4473    then ac_cv_path_FGREP="$GREP -F"
   4474    else
   4475      if test -z "$FGREP"; then
   4476   ac_path_FGREP_found=false
   4477   # Loop through the user's path and test for each of PROGNAME-LIST
   4478   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4479 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4480 do
   4481   IFS=$as_save_IFS
   4482   test -z "$as_dir" && as_dir=.
   4483     for ac_prog in fgrep; do
   4484     for ac_exec_ext in '' $ac_executable_extensions; do
   4485       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4486       as_fn_executable_p "$ac_path_FGREP" || continue
   4487 # Check for GNU ac_path_FGREP and select it if it is found.
   4488   # Check for GNU $ac_path_FGREP
   4489 case `"$ac_path_FGREP" --version 2>&1` in
   4490 *GNU*)
   4491   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4492 *)
   4493   ac_count=0
   4494   $as_echo_n 0123456789 >"conftest.in"
   4495   while :
   4496   do
   4497     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4498     mv "conftest.tmp" "conftest.in"
   4499     cp "conftest.in" "conftest.nl"
   4500     $as_echo 'FGREP' >> "conftest.nl"
   4501     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4502     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4503     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4504     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4505       # Best one so far, save it but keep looking for a better one
   4506       ac_cv_path_FGREP="$ac_path_FGREP"
   4507       ac_path_FGREP_max=$ac_count
   4508     fi
   4509     # 10*(2^10) chars as input seems more than enough
   4510     test $ac_count -gt 10 && break
   4511   done
   4512   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4513 esac
   4514 
   4515       $ac_path_FGREP_found && break 3
   4516     done
   4517   done
   4518   done
   4519 IFS=$as_save_IFS
   4520   if test -z "$ac_cv_path_FGREP"; then
   4521     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4522   fi
   4523 else
   4524   ac_cv_path_FGREP=$FGREP
   4525 fi
   4526 
   4527    fi
   4528 fi
   4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4530 $as_echo "$ac_cv_path_FGREP" >&6; }
   4531  FGREP="$ac_cv_path_FGREP"
   4532 
   4533 
   4534 test -z "$GREP" && GREP=grep
   4535 
   4536 
   4537 
   4538 
   4539 
   4540 
   4541 
   4542 
   4543 
   4544 
   4545 
   4546 
   4547 
   4548 
   4549 
   4550 
   4551 
   4552 
   4553 
   4554 # Check whether --with-gnu-ld was given.
   4555 if test "${with_gnu_ld+set}" = set; then :
   4556   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4557 else
   4558   with_gnu_ld=no
   4559 fi
   4560 
   4561 ac_prog=ld
   4562 if test "$GCC" = yes; then
   4563   # Check if gcc -print-prog-name=ld gives a path.
   4564   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4565 $as_echo_n "checking for ld used by $CC... " >&6; }
   4566   case $host in
   4567   *-*-mingw*)
   4568     # gcc leaves a trailing carriage return which upsets mingw
   4569     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4570   *)
   4571     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4572   esac
   4573   case $ac_prog in
   4574     # Accept absolute paths.
   4575     [\\/]* | ?:[\\/]*)
   4576       re_direlt='/[^/][^/]*/\.\./'
   4577       # Canonicalize the pathname of ld
   4578       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4579       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4580 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4581       done
   4582       test -z "$LD" && LD="$ac_prog"
   4583       ;;
   4584   "")
   4585     # If it fails, then pretend we aren't using GCC.
   4586     ac_prog=ld
   4587     ;;
   4588   *)
   4589     # If it is relative, then search for the first ld in PATH.
   4590     with_gnu_ld=unknown
   4591     ;;
   4592   esac
   4593 elif test "$with_gnu_ld" = yes; then
   4594   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4595 $as_echo_n "checking for GNU ld... " >&6; }
   4596 else
   4597   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4598 $as_echo_n "checking for non-GNU ld... " >&6; }
   4599 fi
   4600 if ${lt_cv_path_LD+:} false; then :
   4601   $as_echo_n "(cached) " >&6
   4602 else
   4603   if test -z "$LD"; then
   4604   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4605   for ac_dir in $PATH; do
   4606     IFS="$lt_save_ifs"
   4607     test -z "$ac_dir" && ac_dir=.
   4608     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4609       lt_cv_path_LD="$ac_dir/$ac_prog"
   4610       # Check to see if the program is GNU ld.  I'd rather use --version,
   4611       # but apparently some variants of GNU ld only accept -v.
   4612       # Break only if it was the GNU/non-GNU ld that we prefer.
   4613       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4614       *GNU* | *'with BFD'*)
   4615 	test "$with_gnu_ld" != no && break
   4616 	;;
   4617       *)
   4618 	test "$with_gnu_ld" != yes && break
   4619 	;;
   4620       esac
   4621     fi
   4622   done
   4623   IFS="$lt_save_ifs"
   4624 else
   4625   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4626 fi
   4627 fi
   4628 
   4629 LD="$lt_cv_path_LD"
   4630 if test -n "$LD"; then
   4631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4632 $as_echo "$LD" >&6; }
   4633 else
   4634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4635 $as_echo "no" >&6; }
   4636 fi
   4637 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4639 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4640 if ${lt_cv_prog_gnu_ld+:} false; then :
   4641   $as_echo_n "(cached) " >&6
   4642 else
   4643   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4644 case `$LD -v 2>&1 </dev/null` in
   4645 *GNU* | *'with BFD'*)
   4646   lt_cv_prog_gnu_ld=yes
   4647   ;;
   4648 *)
   4649   lt_cv_prog_gnu_ld=no
   4650   ;;
   4651 esac
   4652 fi
   4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4654 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4655 with_gnu_ld=$lt_cv_prog_gnu_ld
   4656 
   4657 
   4658 
   4659 
   4660 
   4661 
   4662 
   4663 
   4664 
   4665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4666 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4667 if ${lt_cv_path_NM+:} false; then :
   4668   $as_echo_n "(cached) " >&6
   4669 else
   4670   if test -n "$NM"; then
   4671   # Let the user override the test.
   4672   lt_cv_path_NM="$NM"
   4673 else
   4674   lt_nm_to_check="${ac_tool_prefix}nm"
   4675   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4676     lt_nm_to_check="$lt_nm_to_check nm"
   4677   fi
   4678   for lt_tmp_nm in $lt_nm_to_check; do
   4679     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4680     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4681       IFS="$lt_save_ifs"
   4682       test -z "$ac_dir" && ac_dir=.
   4683       tmp_nm="$ac_dir/$lt_tmp_nm"
   4684       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4685 	# Check to see if the nm accepts a BSD-compat flag.
   4686 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4687 	#   nm: unknown option "B" ignored
   4688 	# Tru64's nm complains that /dev/null is an invalid object file
   4689 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4690 	*/dev/null* | *'Invalid file or object type'*)
   4691 	  lt_cv_path_NM="$tmp_nm -B"
   4692 	  break
   4693 	  ;;
   4694 	*)
   4695 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4696 	  */dev/null*)
   4697 	    lt_cv_path_NM="$tmp_nm -p"
   4698 	    break
   4699 	    ;;
   4700 	  *)
   4701 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4702 	    continue # so that we can try to find one that supports BSD flags
   4703 	    ;;
   4704 	  esac
   4705 	  ;;
   4706 	esac
   4707       fi
   4708     done
   4709     IFS="$lt_save_ifs"
   4710   done
   4711   : ${lt_cv_path_NM=no}
   4712 fi
   4713 fi
   4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4715 $as_echo "$lt_cv_path_NM" >&6; }
   4716 if test "$lt_cv_path_NM" != "no"; then
   4717   NM="$lt_cv_path_NM"
   4718 else
   4719   # Didn't find any BSD compatible name lister, look for dumpbin.
   4720   if test -n "$DUMPBIN"; then :
   4721     # Let the user override the test.
   4722   else
   4723     if test -n "$ac_tool_prefix"; then
   4724   for ac_prog in dumpbin "link -dump"
   4725   do
   4726     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4727 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4729 $as_echo_n "checking for $ac_word... " >&6; }
   4730 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4731   $as_echo_n "(cached) " >&6
   4732 else
   4733   if test -n "$DUMPBIN"; then
   4734   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4735 else
   4736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4737 for as_dir in $PATH
   4738 do
   4739   IFS=$as_save_IFS
   4740   test -z "$as_dir" && as_dir=.
   4741     for ac_exec_ext in '' $ac_executable_extensions; do
   4742   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4743     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4744     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4745     break 2
   4746   fi
   4747 done
   4748   done
   4749 IFS=$as_save_IFS
   4750 
   4751 fi
   4752 fi
   4753 DUMPBIN=$ac_cv_prog_DUMPBIN
   4754 if test -n "$DUMPBIN"; then
   4755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4756 $as_echo "$DUMPBIN" >&6; }
   4757 else
   4758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4759 $as_echo "no" >&6; }
   4760 fi
   4761 
   4762 
   4763     test -n "$DUMPBIN" && break
   4764   done
   4765 fi
   4766 if test -z "$DUMPBIN"; then
   4767   ac_ct_DUMPBIN=$DUMPBIN
   4768   for ac_prog in dumpbin "link -dump"
   4769 do
   4770   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4771 set dummy $ac_prog; ac_word=$2
   4772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4773 $as_echo_n "checking for $ac_word... " >&6; }
   4774 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4775   $as_echo_n "(cached) " >&6
   4776 else
   4777   if test -n "$ac_ct_DUMPBIN"; then
   4778   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4779 else
   4780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4781 for as_dir in $PATH
   4782 do
   4783   IFS=$as_save_IFS
   4784   test -z "$as_dir" && as_dir=.
   4785     for ac_exec_ext in '' $ac_executable_extensions; do
   4786   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4787     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4788     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4789     break 2
   4790   fi
   4791 done
   4792   done
   4793 IFS=$as_save_IFS
   4794 
   4795 fi
   4796 fi
   4797 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4798 if test -n "$ac_ct_DUMPBIN"; then
   4799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4800 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4801 else
   4802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4803 $as_echo "no" >&6; }
   4804 fi
   4805 
   4806 
   4807   test -n "$ac_ct_DUMPBIN" && break
   4808 done
   4809 
   4810   if test "x$ac_ct_DUMPBIN" = x; then
   4811     DUMPBIN=":"
   4812   else
   4813     case $cross_compiling:$ac_tool_warned in
   4814 yes:)
   4815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4816 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4817 ac_tool_warned=yes ;;
   4818 esac
   4819     DUMPBIN=$ac_ct_DUMPBIN
   4820   fi
   4821 fi
   4822 
   4823     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   4824     *COFF*)
   4825       DUMPBIN="$DUMPBIN -symbols"
   4826       ;;
   4827     *)
   4828       DUMPBIN=:
   4829       ;;
   4830     esac
   4831   fi
   4832 
   4833   if test "$DUMPBIN" != ":"; then
   4834     NM="$DUMPBIN"
   4835   fi
   4836 fi
   4837 test -z "$NM" && NM=nm
   4838 
   4839 
   4840 
   4841 
   4842 
   4843 
   4844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4845 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4846 if ${lt_cv_nm_interface+:} false; then :
   4847   $as_echo_n "(cached) " >&6
   4848 else
   4849   lt_cv_nm_interface="BSD nm"
   4850   echo "int some_variable = 0;" > conftest.$ac_ext
   4851   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4852   (eval "$ac_compile" 2>conftest.err)
   4853   cat conftest.err >&5
   4854   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4855   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4856   cat conftest.err >&5
   4857   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4858   cat conftest.out >&5
   4859   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4860     lt_cv_nm_interface="MS dumpbin"
   4861   fi
   4862   rm -f conftest*
   4863 fi
   4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4865 $as_echo "$lt_cv_nm_interface" >&6; }
   4866 
   4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4868 $as_echo_n "checking whether ln -s works... " >&6; }
   4869 LN_S=$as_ln_s
   4870 if test "$LN_S" = "ln -s"; then
   4871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4872 $as_echo "yes" >&6; }
   4873 else
   4874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4875 $as_echo "no, using $LN_S" >&6; }
   4876 fi
   4877 
   4878 # find the maximum length of command line arguments
   4879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4880 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4881 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4882   $as_echo_n "(cached) " >&6
   4883 else
   4884     i=0
   4885   teststring="ABCD"
   4886 
   4887   case $build_os in
   4888   msdosdjgpp*)
   4889     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4890     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4891     # during glob expansion).  Even if it were fixed, the result of this
   4892     # check would be larger than it should be.
   4893     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4894     ;;
   4895 
   4896   gnu*)
   4897     # Under GNU Hurd, this test is not required because there is
   4898     # no limit to the length of command line arguments.
   4899     # Libtool will interpret -1 as no limit whatsoever
   4900     lt_cv_sys_max_cmd_len=-1;
   4901     ;;
   4902 
   4903   cygwin* | mingw* | cegcc*)
   4904     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4905     # about 5 minutes as the teststring grows exponentially.
   4906     # Worse, since 9x/ME are not pre-emptively multitasking,
   4907     # you end up with a "frozen" computer, even though with patience
   4908     # the test eventually succeeds (with a max line length of 256k).
   4909     # Instead, let's just punt: use the minimum linelength reported by
   4910     # all of the supported platforms: 8192 (on NT/2K/XP).
   4911     lt_cv_sys_max_cmd_len=8192;
   4912     ;;
   4913 
   4914   mint*)
   4915     # On MiNT this can take a long time and run out of memory.
   4916     lt_cv_sys_max_cmd_len=8192;
   4917     ;;
   4918 
   4919   amigaos*)
   4920     # On AmigaOS with pdksh, this test takes hours, literally.
   4921     # So we just punt and use a minimum line length of 8192.
   4922     lt_cv_sys_max_cmd_len=8192;
   4923     ;;
   4924 
   4925   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4926     # This has been around since 386BSD, at least.  Likely further.
   4927     if test -x /sbin/sysctl; then
   4928       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4929     elif test -x /usr/sbin/sysctl; then
   4930       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4931     else
   4932       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4933     fi
   4934     # And add a safety zone
   4935     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4936     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4937     ;;
   4938 
   4939   interix*)
   4940     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4941     lt_cv_sys_max_cmd_len=196608
   4942     ;;
   4943 
   4944   os2*)
   4945     # The test takes a long time on OS/2.
   4946     lt_cv_sys_max_cmd_len=8192
   4947     ;;
   4948 
   4949   osf*)
   4950     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4951     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4952     # nice to cause kernel panics so lets avoid the loop below.
   4953     # First set a reasonable default.
   4954     lt_cv_sys_max_cmd_len=16384
   4955     #
   4956     if test -x /sbin/sysconfig; then
   4957       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4958         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4959       esac
   4960     fi
   4961     ;;
   4962   sco3.2v5*)
   4963     lt_cv_sys_max_cmd_len=102400
   4964     ;;
   4965   sysv5* | sco5v6* | sysv4.2uw2*)
   4966     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4967     if test -n "$kargmax"; then
   4968       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4969     else
   4970       lt_cv_sys_max_cmd_len=32768
   4971     fi
   4972     ;;
   4973   *)
   4974     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4975     if test -n "$lt_cv_sys_max_cmd_len"; then
   4976       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4977       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4978     else
   4979       # Make teststring a little bigger before we do anything with it.
   4980       # a 1K string should be a reasonable start.
   4981       for i in 1 2 3 4 5 6 7 8 ; do
   4982         teststring=$teststring$teststring
   4983       done
   4984       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4985       # If test is not a shell built-in, we'll probably end up computing a
   4986       # maximum length that is only half of the actual maximum length, but
   4987       # we can't tell.
   4988       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   4989 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   4990 	      test $i != 17 # 1/2 MB should be enough
   4991       do
   4992         i=`expr $i + 1`
   4993         teststring=$teststring$teststring
   4994       done
   4995       # Only check the string length outside the loop.
   4996       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4997       teststring=
   4998       # Add a significant safety factor because C++ compilers can tack on
   4999       # massive amounts of additional arguments before passing them to the
   5000       # linker.  It appears as though 1/2 is a usable value.
   5001       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5002     fi
   5003     ;;
   5004   esac
   5005 
   5006 fi
   5007 
   5008 if test -n $lt_cv_sys_max_cmd_len ; then
   5009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5010 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5011 else
   5012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5013 $as_echo "none" >&6; }
   5014 fi
   5015 max_cmd_len=$lt_cv_sys_max_cmd_len
   5016 
   5017 
   5018 
   5019 
   5020 
   5021 
   5022 : ${CP="cp -f"}
   5023 : ${MV="mv -f"}
   5024 : ${RM="rm -f"}
   5025 
   5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   5027 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   5028 # Try some XSI features
   5029 xsi_shell=no
   5030 ( _lt_dummy="a/b/c"
   5031   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   5032       = c,a/b,b/c, \
   5033     && eval 'test $(( 1 + 1 )) -eq 2 \
   5034     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   5035   && xsi_shell=yes
   5036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   5037 $as_echo "$xsi_shell" >&6; }
   5038 
   5039 
   5040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   5041 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   5042 lt_shell_append=no
   5043 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   5044     >/dev/null 2>&1 \
   5045   && lt_shell_append=yes
   5046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   5047 $as_echo "$lt_shell_append" >&6; }
   5048 
   5049 
   5050 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5051   lt_unset=unset
   5052 else
   5053   lt_unset=false
   5054 fi
   5055 
   5056 
   5057 
   5058 
   5059 
   5060 # test EBCDIC or ASCII
   5061 case `echo X|tr X '\101'` in
   5062  A) # ASCII based system
   5063     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5064   lt_SP2NL='tr \040 \012'
   5065   lt_NL2SP='tr \015\012 \040\040'
   5066   ;;
   5067  *) # EBCDIC based system
   5068   lt_SP2NL='tr \100 \n'
   5069   lt_NL2SP='tr \r\n \100\100'
   5070   ;;
   5071 esac
   5072 
   5073 
   5074 
   5075 
   5076 
   5077 
   5078 
   5079 
   5080 
   5081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5082 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   5083 if ${lt_cv_to_host_file_cmd+:} false; then :
   5084   $as_echo_n "(cached) " >&6
   5085 else
   5086   case $host in
   5087   *-*-mingw* )
   5088     case $build in
   5089       *-*-mingw* ) # actually msys
   5090         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5091         ;;
   5092       *-*-cygwin* )
   5093         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5094         ;;
   5095       * ) # otherwise, assume *nix
   5096         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5097         ;;
   5098     esac
   5099     ;;
   5100   *-*-cygwin* )
   5101     case $build in
   5102       *-*-mingw* ) # actually msys
   5103         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5104         ;;
   5105       *-*-cygwin* )
   5106         lt_cv_to_host_file_cmd=func_convert_file_noop
   5107         ;;
   5108       * ) # otherwise, assume *nix
   5109         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5110         ;;
   5111     esac
   5112     ;;
   5113   * ) # unhandled hosts (and "normal" native builds)
   5114     lt_cv_to_host_file_cmd=func_convert_file_noop
   5115     ;;
   5116 esac
   5117 
   5118 fi
   5119 
   5120 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5122 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   5123 
   5124 
   5125 
   5126 
   5127 
   5128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5129 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   5130 if ${lt_cv_to_tool_file_cmd+:} false; then :
   5131   $as_echo_n "(cached) " >&6
   5132 else
   5133   #assume ordinary cross tools, or native build.
   5134 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5135 case $host in
   5136   *-*-mingw* )
   5137     case $build in
   5138       *-*-mingw* ) # actually msys
   5139         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5140         ;;
   5141     esac
   5142     ;;
   5143 esac
   5144 
   5145 fi
   5146 
   5147 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5149 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   5150 
   5151 
   5152 
   5153 
   5154 
   5155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5156 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5157 if ${lt_cv_ld_reload_flag+:} false; then :
   5158   $as_echo_n "(cached) " >&6
   5159 else
   5160   lt_cv_ld_reload_flag='-r'
   5161 fi
   5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5163 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5164 reload_flag=$lt_cv_ld_reload_flag
   5165 case $reload_flag in
   5166 "" | " "*) ;;
   5167 *) reload_flag=" $reload_flag" ;;
   5168 esac
   5169 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5170 case $host_os in
   5171   cygwin* | mingw* | pw32* | cegcc*)
   5172     if test "$GCC" != yes; then
   5173       reload_cmds=false
   5174     fi
   5175     ;;
   5176   darwin*)
   5177     if test "$GCC" = yes; then
   5178       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   5179     else
   5180       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5181     fi
   5182     ;;
   5183 esac
   5184 
   5185 
   5186 
   5187 
   5188 
   5189 
   5190 
   5191 
   5192 
   5193 if test -n "$ac_tool_prefix"; then
   5194   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5195 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5197 $as_echo_n "checking for $ac_word... " >&6; }
   5198 if ${ac_cv_prog_OBJDUMP+:} false; then :
   5199   $as_echo_n "(cached) " >&6
   5200 else
   5201   if test -n "$OBJDUMP"; then
   5202   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5203 else
   5204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5205 for as_dir in $PATH
   5206 do
   5207   IFS=$as_save_IFS
   5208   test -z "$as_dir" && as_dir=.
   5209     for ac_exec_ext in '' $ac_executable_extensions; do
   5210   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5211     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5212     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5213     break 2
   5214   fi
   5215 done
   5216   done
   5217 IFS=$as_save_IFS
   5218 
   5219 fi
   5220 fi
   5221 OBJDUMP=$ac_cv_prog_OBJDUMP
   5222 if test -n "$OBJDUMP"; then
   5223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5224 $as_echo "$OBJDUMP" >&6; }
   5225 else
   5226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5227 $as_echo "no" >&6; }
   5228 fi
   5229 
   5230 
   5231 fi
   5232 if test -z "$ac_cv_prog_OBJDUMP"; then
   5233   ac_ct_OBJDUMP=$OBJDUMP
   5234   # Extract the first word of "objdump", so it can be a program name with args.
   5235 set dummy objdump; ac_word=$2
   5236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5237 $as_echo_n "checking for $ac_word... " >&6; }
   5238 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5239   $as_echo_n "(cached) " >&6
   5240 else
   5241   if test -n "$ac_ct_OBJDUMP"; then
   5242   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5243 else
   5244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5245 for as_dir in $PATH
   5246 do
   5247   IFS=$as_save_IFS
   5248   test -z "$as_dir" && as_dir=.
   5249     for ac_exec_ext in '' $ac_executable_extensions; do
   5250   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5251     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5252     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5253     break 2
   5254   fi
   5255 done
   5256   done
   5257 IFS=$as_save_IFS
   5258 
   5259 fi
   5260 fi
   5261 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5262 if test -n "$ac_ct_OBJDUMP"; then
   5263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5264 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5265 else
   5266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5267 $as_echo "no" >&6; }
   5268 fi
   5269 
   5270   if test "x$ac_ct_OBJDUMP" = x; then
   5271     OBJDUMP="false"
   5272   else
   5273     case $cross_compiling:$ac_tool_warned in
   5274 yes:)
   5275 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5276 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5277 ac_tool_warned=yes ;;
   5278 esac
   5279     OBJDUMP=$ac_ct_OBJDUMP
   5280   fi
   5281 else
   5282   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5283 fi
   5284 
   5285 test -z "$OBJDUMP" && OBJDUMP=objdump
   5286 
   5287 
   5288 
   5289 
   5290 
   5291 
   5292 
   5293 
   5294 
   5295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5296 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5297 if ${lt_cv_deplibs_check_method+:} false; then :
   5298   $as_echo_n "(cached) " >&6
   5299 else
   5300   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5301 lt_cv_file_magic_test_file=
   5302 lt_cv_deplibs_check_method='unknown'
   5303 # Need to set the preceding variable on all platforms that support
   5304 # interlibrary dependencies.
   5305 # 'none' -- dependencies not supported.
   5306 # `unknown' -- same as none, but documents that we really don't know.
   5307 # 'pass_all' -- all dependencies passed with no checks.
   5308 # 'test_compile' -- check by making test program.
   5309 # 'file_magic [[regex]]' -- check by looking for files in library path
   5310 # which responds to the $file_magic_cmd with a given extended regex.
   5311 # If you have `file' or equivalent on your system and you're not sure
   5312 # whether `pass_all' will *always* work, you probably want this one.
   5313 
   5314 case $host_os in
   5315 aix[4-9]*)
   5316   lt_cv_deplibs_check_method=pass_all
   5317   ;;
   5318 
   5319 beos*)
   5320   lt_cv_deplibs_check_method=pass_all
   5321   ;;
   5322 
   5323 bsdi[45]*)
   5324   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5325   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5326   lt_cv_file_magic_test_file=/shlib/libc.so
   5327   ;;
   5328 
   5329 cygwin*)
   5330   # func_win32_libid is a shell function defined in ltmain.sh
   5331   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5332   lt_cv_file_magic_cmd='func_win32_libid'
   5333   ;;
   5334 
   5335 mingw* | pw32*)
   5336   # Base MSYS/MinGW do not provide the 'file' command needed by
   5337   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5338   # unless we find 'file', for example because we are cross-compiling.
   5339   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5340   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5341     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5342     lt_cv_file_magic_cmd='func_win32_libid'
   5343   else
   5344     # Keep this pattern in sync with the one in func_win32_libid.
   5345     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5346     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5347   fi
   5348   ;;
   5349 
   5350 cegcc*)
   5351   # use the weaker test based on 'objdump'. See mingw*.
   5352   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5353   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5354   ;;
   5355 
   5356 darwin* | rhapsody*)
   5357   lt_cv_deplibs_check_method=pass_all
   5358   ;;
   5359 
   5360 freebsd* | dragonfly*)
   5361   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5362     case $host_cpu in
   5363     i*86 )
   5364       # Not sure whether the presence of OpenBSD here was a mistake.
   5365       # Let's accept both of them until this is cleared up.
   5366       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5367       lt_cv_file_magic_cmd=/usr/bin/file
   5368       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5369       ;;
   5370     esac
   5371   else
   5372     lt_cv_deplibs_check_method=pass_all
   5373   fi
   5374   ;;
   5375 
   5376 gnu*)
   5377   lt_cv_deplibs_check_method=pass_all
   5378   ;;
   5379 
   5380 haiku*)
   5381   lt_cv_deplibs_check_method=pass_all
   5382   ;;
   5383 
   5384 hpux10.20* | hpux11*)
   5385   lt_cv_file_magic_cmd=/usr/bin/file
   5386   case $host_cpu in
   5387   ia64*)
   5388     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5389     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5390     ;;
   5391   hppa*64*)
   5392     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]'
   5393     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5394     ;;
   5395   *)
   5396     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5397     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5398     ;;
   5399   esac
   5400   ;;
   5401 
   5402 interix[3-9]*)
   5403   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5404   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5405   ;;
   5406 
   5407 irix5* | irix6* | nonstopux*)
   5408   case $LD in
   5409   *-32|*"-32 ") libmagic=32-bit;;
   5410   *-n32|*"-n32 ") libmagic=N32;;
   5411   *-64|*"-64 ") libmagic=64-bit;;
   5412   *) libmagic=never-match;;
   5413   esac
   5414   lt_cv_deplibs_check_method=pass_all
   5415   ;;
   5416 
   5417 # This must be glibc/ELF.
   5418 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   5419   lt_cv_deplibs_check_method=pass_all
   5420   ;;
   5421 
   5422 netbsd*)
   5423   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5424     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5425   else
   5426     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5427   fi
   5428   ;;
   5429 
   5430 newos6*)
   5431   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5432   lt_cv_file_magic_cmd=/usr/bin/file
   5433   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5434   ;;
   5435 
   5436 *nto* | *qnx*)
   5437   lt_cv_deplibs_check_method=pass_all
   5438   ;;
   5439 
   5440 openbsd*)
   5441   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5442     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5443   else
   5444     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5445   fi
   5446   ;;
   5447 
   5448 osf3* | osf4* | osf5*)
   5449   lt_cv_deplibs_check_method=pass_all
   5450   ;;
   5451 
   5452 rdos*)
   5453   lt_cv_deplibs_check_method=pass_all
   5454   ;;
   5455 
   5456 solaris*)
   5457   lt_cv_deplibs_check_method=pass_all
   5458   ;;
   5459 
   5460 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5461   lt_cv_deplibs_check_method=pass_all
   5462   ;;
   5463 
   5464 sysv4 | sysv4.3*)
   5465   case $host_vendor in
   5466   motorola)
   5467     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]'
   5468     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5469     ;;
   5470   ncr)
   5471     lt_cv_deplibs_check_method=pass_all
   5472     ;;
   5473   sequent)
   5474     lt_cv_file_magic_cmd='/bin/file'
   5475     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5476     ;;
   5477   sni)
   5478     lt_cv_file_magic_cmd='/bin/file'
   5479     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5480     lt_cv_file_magic_test_file=/lib/libc.so
   5481     ;;
   5482   siemens)
   5483     lt_cv_deplibs_check_method=pass_all
   5484     ;;
   5485   pc)
   5486     lt_cv_deplibs_check_method=pass_all
   5487     ;;
   5488   esac
   5489   ;;
   5490 
   5491 tpf*)
   5492   lt_cv_deplibs_check_method=pass_all
   5493   ;;
   5494 esac
   5495 
   5496 fi
   5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5498 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5499 
   5500 file_magic_glob=
   5501 want_nocaseglob=no
   5502 if test "$build" = "$host"; then
   5503   case $host_os in
   5504   mingw* | pw32*)
   5505     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5506       want_nocaseglob=yes
   5507     else
   5508       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5509     fi
   5510     ;;
   5511   esac
   5512 fi
   5513 
   5514 file_magic_cmd=$lt_cv_file_magic_cmd
   5515 deplibs_check_method=$lt_cv_deplibs_check_method
   5516 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5517 
   5518 
   5519 
   5520 
   5521 
   5522 
   5523 
   5524 
   5525 
   5526 
   5527 
   5528 
   5529 
   5530 
   5531 
   5532 
   5533 
   5534 
   5535 
   5536 
   5537 
   5538 
   5539 if test -n "$ac_tool_prefix"; then
   5540   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5541 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5543 $as_echo_n "checking for $ac_word... " >&6; }
   5544 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5545   $as_echo_n "(cached) " >&6
   5546 else
   5547   if test -n "$DLLTOOL"; then
   5548   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5549 else
   5550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5551 for as_dir in $PATH
   5552 do
   5553   IFS=$as_save_IFS
   5554   test -z "$as_dir" && as_dir=.
   5555     for ac_exec_ext in '' $ac_executable_extensions; do
   5556   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5557     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5558     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5559     break 2
   5560   fi
   5561 done
   5562   done
   5563 IFS=$as_save_IFS
   5564 
   5565 fi
   5566 fi
   5567 DLLTOOL=$ac_cv_prog_DLLTOOL
   5568 if test -n "$DLLTOOL"; then
   5569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5570 $as_echo "$DLLTOOL" >&6; }
   5571 else
   5572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5573 $as_echo "no" >&6; }
   5574 fi
   5575 
   5576 
   5577 fi
   5578 if test -z "$ac_cv_prog_DLLTOOL"; then
   5579   ac_ct_DLLTOOL=$DLLTOOL
   5580   # Extract the first word of "dlltool", so it can be a program name with args.
   5581 set dummy dlltool; ac_word=$2
   5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5583 $as_echo_n "checking for $ac_word... " >&6; }
   5584 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5585   $as_echo_n "(cached) " >&6
   5586 else
   5587   if test -n "$ac_ct_DLLTOOL"; then
   5588   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5589 else
   5590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5591 for as_dir in $PATH
   5592 do
   5593   IFS=$as_save_IFS
   5594   test -z "$as_dir" && as_dir=.
   5595     for ac_exec_ext in '' $ac_executable_extensions; do
   5596   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5597     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5598     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5599     break 2
   5600   fi
   5601 done
   5602   done
   5603 IFS=$as_save_IFS
   5604 
   5605 fi
   5606 fi
   5607 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5608 if test -n "$ac_ct_DLLTOOL"; then
   5609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5610 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5611 else
   5612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5613 $as_echo "no" >&6; }
   5614 fi
   5615 
   5616   if test "x$ac_ct_DLLTOOL" = x; then
   5617     DLLTOOL="false"
   5618   else
   5619     case $cross_compiling:$ac_tool_warned in
   5620 yes:)
   5621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5622 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5623 ac_tool_warned=yes ;;
   5624 esac
   5625     DLLTOOL=$ac_ct_DLLTOOL
   5626   fi
   5627 else
   5628   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5629 fi
   5630 
   5631 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5632 
   5633 
   5634 
   5635 
   5636 
   5637 
   5638 
   5639 
   5640 
   5641 
   5642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5643 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5644 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5645   $as_echo_n "(cached) " >&6
   5646 else
   5647   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5648 
   5649 case $host_os in
   5650 cygwin* | mingw* | pw32* | cegcc*)
   5651   # two different shell functions defined in ltmain.sh
   5652   # decide which to use based on capabilities of $DLLTOOL
   5653   case `$DLLTOOL --help 2>&1` in
   5654   *--identify-strict*)
   5655     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5656     ;;
   5657   *)
   5658     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5659     ;;
   5660   esac
   5661   ;;
   5662 *)
   5663   # fallback: assume linklib IS sharedlib
   5664   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   5665   ;;
   5666 esac
   5667 
   5668 fi
   5669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5670 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5671 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5672 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5673 
   5674 
   5675 
   5676 
   5677 
   5678 
   5679 
   5680 
   5681 if test -n "$ac_tool_prefix"; then
   5682   for ac_prog in ar
   5683   do
   5684     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5685 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5687 $as_echo_n "checking for $ac_word... " >&6; }
   5688 if ${ac_cv_prog_AR+:} false; then :
   5689   $as_echo_n "(cached) " >&6
   5690 else
   5691   if test -n "$AR"; then
   5692   ac_cv_prog_AR="$AR" # Let the user override the test.
   5693 else
   5694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5695 for as_dir in $PATH
   5696 do
   5697   IFS=$as_save_IFS
   5698   test -z "$as_dir" && as_dir=.
   5699     for ac_exec_ext in '' $ac_executable_extensions; do
   5700   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5701     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5702     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5703     break 2
   5704   fi
   5705 done
   5706   done
   5707 IFS=$as_save_IFS
   5708 
   5709 fi
   5710 fi
   5711 AR=$ac_cv_prog_AR
   5712 if test -n "$AR"; then
   5713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5714 $as_echo "$AR" >&6; }
   5715 else
   5716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5717 $as_echo "no" >&6; }
   5718 fi
   5719 
   5720 
   5721     test -n "$AR" && break
   5722   done
   5723 fi
   5724 if test -z "$AR"; then
   5725   ac_ct_AR=$AR
   5726   for ac_prog in ar
   5727 do
   5728   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5729 set dummy $ac_prog; ac_word=$2
   5730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5731 $as_echo_n "checking for $ac_word... " >&6; }
   5732 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5733   $as_echo_n "(cached) " >&6
   5734 else
   5735   if test -n "$ac_ct_AR"; then
   5736   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5737 else
   5738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5739 for as_dir in $PATH
   5740 do
   5741   IFS=$as_save_IFS
   5742   test -z "$as_dir" && as_dir=.
   5743     for ac_exec_ext in '' $ac_executable_extensions; do
   5744   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5745     ac_cv_prog_ac_ct_AR="$ac_prog"
   5746     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5747     break 2
   5748   fi
   5749 done
   5750   done
   5751 IFS=$as_save_IFS
   5752 
   5753 fi
   5754 fi
   5755 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5756 if test -n "$ac_ct_AR"; then
   5757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5758 $as_echo "$ac_ct_AR" >&6; }
   5759 else
   5760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5761 $as_echo "no" >&6; }
   5762 fi
   5763 
   5764 
   5765   test -n "$ac_ct_AR" && break
   5766 done
   5767 
   5768   if test "x$ac_ct_AR" = x; then
   5769     AR="false"
   5770   else
   5771     case $cross_compiling:$ac_tool_warned in
   5772 yes:)
   5773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5774 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5775 ac_tool_warned=yes ;;
   5776 esac
   5777     AR=$ac_ct_AR
   5778   fi
   5779 fi
   5780 
   5781 : ${AR=ar}
   5782 : ${AR_FLAGS=cru}
   5783 
   5784 
   5785 
   5786 
   5787 
   5788 
   5789 
   5790 
   5791 
   5792 
   5793 
   5794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   5795 $as_echo_n "checking for archiver @FILE support... " >&6; }
   5796 if ${lt_cv_ar_at_file+:} false; then :
   5797   $as_echo_n "(cached) " >&6
   5798 else
   5799   lt_cv_ar_at_file=no
   5800    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5801 /* end confdefs.h.  */
   5802 
   5803 int
   5804 main ()
   5805 {
   5806 
   5807   ;
   5808   return 0;
   5809 }
   5810 _ACEOF
   5811 if ac_fn_c_try_compile "$LINENO"; then :
   5812   echo conftest.$ac_objext > conftest.lst
   5813       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   5814       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5815   (eval $lt_ar_try) 2>&5
   5816   ac_status=$?
   5817   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5818   test $ac_status = 0; }
   5819       if test "$ac_status" -eq 0; then
   5820 	# Ensure the archiver fails upon bogus file names.
   5821 	rm -f conftest.$ac_objext libconftest.a
   5822 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5823   (eval $lt_ar_try) 2>&5
   5824   ac_status=$?
   5825   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5826   test $ac_status = 0; }
   5827 	if test "$ac_status" -ne 0; then
   5828           lt_cv_ar_at_file=@
   5829         fi
   5830       fi
   5831       rm -f conftest.* libconftest.a
   5832 
   5833 fi
   5834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5835 
   5836 fi
   5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   5838 $as_echo "$lt_cv_ar_at_file" >&6; }
   5839 
   5840 if test "x$lt_cv_ar_at_file" = xno; then
   5841   archiver_list_spec=
   5842 else
   5843   archiver_list_spec=$lt_cv_ar_at_file
   5844 fi
   5845 
   5846 
   5847 
   5848 
   5849 
   5850 
   5851 
   5852 if test -n "$ac_tool_prefix"; then
   5853   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5854 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5856 $as_echo_n "checking for $ac_word... " >&6; }
   5857 if ${ac_cv_prog_STRIP+:} false; then :
   5858   $as_echo_n "(cached) " >&6
   5859 else
   5860   if test -n "$STRIP"; then
   5861   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5862 else
   5863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5864 for as_dir in $PATH
   5865 do
   5866   IFS=$as_save_IFS
   5867   test -z "$as_dir" && as_dir=.
   5868     for ac_exec_ext in '' $ac_executable_extensions; do
   5869   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5870     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5871     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5872     break 2
   5873   fi
   5874 done
   5875   done
   5876 IFS=$as_save_IFS
   5877 
   5878 fi
   5879 fi
   5880 STRIP=$ac_cv_prog_STRIP
   5881 if test -n "$STRIP"; then
   5882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5883 $as_echo "$STRIP" >&6; }
   5884 else
   5885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5886 $as_echo "no" >&6; }
   5887 fi
   5888 
   5889 
   5890 fi
   5891 if test -z "$ac_cv_prog_STRIP"; then
   5892   ac_ct_STRIP=$STRIP
   5893   # Extract the first word of "strip", so it can be a program name with args.
   5894 set dummy strip; ac_word=$2
   5895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5896 $as_echo_n "checking for $ac_word... " >&6; }
   5897 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5898   $as_echo_n "(cached) " >&6
   5899 else
   5900   if test -n "$ac_ct_STRIP"; then
   5901   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5902 else
   5903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5904 for as_dir in $PATH
   5905 do
   5906   IFS=$as_save_IFS
   5907   test -z "$as_dir" && as_dir=.
   5908     for ac_exec_ext in '' $ac_executable_extensions; do
   5909   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5910     ac_cv_prog_ac_ct_STRIP="strip"
   5911     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5912     break 2
   5913   fi
   5914 done
   5915   done
   5916 IFS=$as_save_IFS
   5917 
   5918 fi
   5919 fi
   5920 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5921 if test -n "$ac_ct_STRIP"; then
   5922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5923 $as_echo "$ac_ct_STRIP" >&6; }
   5924 else
   5925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5926 $as_echo "no" >&6; }
   5927 fi
   5928 
   5929   if test "x$ac_ct_STRIP" = x; then
   5930     STRIP=":"
   5931   else
   5932     case $cross_compiling:$ac_tool_warned in
   5933 yes:)
   5934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5935 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5936 ac_tool_warned=yes ;;
   5937 esac
   5938     STRIP=$ac_ct_STRIP
   5939   fi
   5940 else
   5941   STRIP="$ac_cv_prog_STRIP"
   5942 fi
   5943 
   5944 test -z "$STRIP" && STRIP=:
   5945 
   5946 
   5947 
   5948 
   5949 
   5950 
   5951 if test -n "$ac_tool_prefix"; then
   5952   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5953 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5955 $as_echo_n "checking for $ac_word... " >&6; }
   5956 if ${ac_cv_prog_RANLIB+:} false; then :
   5957   $as_echo_n "(cached) " >&6
   5958 else
   5959   if test -n "$RANLIB"; then
   5960   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5961 else
   5962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5963 for as_dir in $PATH
   5964 do
   5965   IFS=$as_save_IFS
   5966   test -z "$as_dir" && as_dir=.
   5967     for ac_exec_ext in '' $ac_executable_extensions; do
   5968   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5969     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5970     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5971     break 2
   5972   fi
   5973 done
   5974   done
   5975 IFS=$as_save_IFS
   5976 
   5977 fi
   5978 fi
   5979 RANLIB=$ac_cv_prog_RANLIB
   5980 if test -n "$RANLIB"; then
   5981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5982 $as_echo "$RANLIB" >&6; }
   5983 else
   5984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5985 $as_echo "no" >&6; }
   5986 fi
   5987 
   5988 
   5989 fi
   5990 if test -z "$ac_cv_prog_RANLIB"; then
   5991   ac_ct_RANLIB=$RANLIB
   5992   # Extract the first word of "ranlib", so it can be a program name with args.
   5993 set dummy ranlib; ac_word=$2
   5994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5995 $as_echo_n "checking for $ac_word... " >&6; }
   5996 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5997   $as_echo_n "(cached) " >&6
   5998 else
   5999   if test -n "$ac_ct_RANLIB"; then
   6000   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6001 else
   6002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6003 for as_dir in $PATH
   6004 do
   6005   IFS=$as_save_IFS
   6006   test -z "$as_dir" && as_dir=.
   6007     for ac_exec_ext in '' $ac_executable_extensions; do
   6008   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6009     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6010     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6011     break 2
   6012   fi
   6013 done
   6014   done
   6015 IFS=$as_save_IFS
   6016 
   6017 fi
   6018 fi
   6019 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6020 if test -n "$ac_ct_RANLIB"; then
   6021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6022 $as_echo "$ac_ct_RANLIB" >&6; }
   6023 else
   6024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6025 $as_echo "no" >&6; }
   6026 fi
   6027 
   6028   if test "x$ac_ct_RANLIB" = x; then
   6029     RANLIB=":"
   6030   else
   6031     case $cross_compiling:$ac_tool_warned in
   6032 yes:)
   6033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6034 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6035 ac_tool_warned=yes ;;
   6036 esac
   6037     RANLIB=$ac_ct_RANLIB
   6038   fi
   6039 else
   6040   RANLIB="$ac_cv_prog_RANLIB"
   6041 fi
   6042 
   6043 test -z "$RANLIB" && RANLIB=:
   6044 
   6045 
   6046 
   6047 
   6048 
   6049 
   6050 # Determine commands to create old-style static archives.
   6051 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6052 old_postinstall_cmds='chmod 644 $oldlib'
   6053 old_postuninstall_cmds=
   6054 
   6055 if test -n "$RANLIB"; then
   6056   case $host_os in
   6057   openbsd*)
   6058     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   6059     ;;
   6060   *)
   6061     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6062     ;;
   6063   esac
   6064   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   6065 fi
   6066 
   6067 case $host_os in
   6068   darwin*)
   6069     lock_old_archive_extraction=yes ;;
   6070   *)
   6071     lock_old_archive_extraction=no ;;
   6072 esac
   6073 
   6074 
   6075 
   6076 
   6077 
   6078 
   6079 
   6080 
   6081 
   6082 
   6083 
   6084 
   6085 
   6086 
   6087 
   6088 
   6089 
   6090 
   6091 
   6092 
   6093 
   6094 
   6095 
   6096 
   6097 
   6098 
   6099 
   6100 
   6101 
   6102 
   6103 
   6104 
   6105 
   6106 
   6107 
   6108 
   6109 
   6110 
   6111 
   6112 # If no C compiler was specified, use CC.
   6113 LTCC=${LTCC-"$CC"}
   6114 
   6115 # If no C compiler flags were specified, use CFLAGS.
   6116 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6117 
   6118 # Allow CC to be a program name with arguments.
   6119 compiler=$CC
   6120 
   6121 
   6122 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6124 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6125 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   6126   $as_echo_n "(cached) " >&6
   6127 else
   6128 
   6129 # These are sane defaults that work on at least a few old systems.
   6130 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6131 
   6132 # Character class describing NM global symbol codes.
   6133 symcode='[BCDEGRST]'
   6134 
   6135 # Regexp to match symbols that can be accessed directly from C.
   6136 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6137 
   6138 # Define system-specific variables.
   6139 case $host_os in
   6140 aix*)
   6141   symcode='[BCDT]'
   6142   ;;
   6143 cygwin* | mingw* | pw32* | cegcc*)
   6144   symcode='[ABCDGISTW]'
   6145   ;;
   6146 hpux*)
   6147   if test "$host_cpu" = ia64; then
   6148     symcode='[ABCDEGRST]'
   6149   fi
   6150   ;;
   6151 irix* | nonstopux*)
   6152   symcode='[BCDEGRST]'
   6153   ;;
   6154 osf*)
   6155   symcode='[BCDEGQRST]'
   6156   ;;
   6157 solaris*)
   6158   symcode='[BDRT]'
   6159   ;;
   6160 sco3.2v5*)
   6161   symcode='[DT]'
   6162   ;;
   6163 sysv4.2uw2*)
   6164   symcode='[DT]'
   6165   ;;
   6166 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6167   symcode='[ABDT]'
   6168   ;;
   6169 sysv4)
   6170   symcode='[DFNSTU]'
   6171   ;;
   6172 esac
   6173 
   6174 # If we're using GNU nm, then use its standard symbol codes.
   6175 case `$NM -V 2>&1` in
   6176 *GNU* | *'with BFD'*)
   6177   symcode='[ABCDGIRSTW]' ;;
   6178 esac
   6179 
   6180 # Transform an extracted symbol line into a proper C declaration.
   6181 # Some systems (esp. on ia64) link data and code symbols differently,
   6182 # so use this general approach.
   6183 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6184 
   6185 # Transform an extracted symbol line into symbol name and symbol address
   6186 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   6187 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'"
   6188 
   6189 # Handle CRLF in mingw tool chain
   6190 opt_cr=
   6191 case $build_os in
   6192 mingw*)
   6193   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6194   ;;
   6195 esac
   6196 
   6197 # Try without a prefix underscore, then with it.
   6198 for ac_symprfx in "" "_"; do
   6199 
   6200   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6201   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6202 
   6203   # Write the raw and C identifiers.
   6204   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6205     # Fake it for dumpbin and say T for any non-static function
   6206     # and D for any global variable.
   6207     # Also find C++ and __fastcall symbols from MSVC++,
   6208     # which start with @ or ?.
   6209     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6210 "     {last_section=section; section=\$ 3};"\
   6211 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   6212 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6213 "     \$ 0!~/External *\|/{next};"\
   6214 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6215 "     {if(hide[section]) next};"\
   6216 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6217 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6218 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6219 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6220 "     ' prfx=^$ac_symprfx"
   6221   else
   6222     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6223   fi
   6224   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   6225 
   6226   # Check to see that the pipe works correctly.
   6227   pipe_works=no
   6228 
   6229   rm -f conftest*
   6230   cat > conftest.$ac_ext <<_LT_EOF
   6231 #ifdef __cplusplus
   6232 extern "C" {
   6233 #endif
   6234 char nm_test_var;
   6235 void nm_test_func(void);
   6236 void nm_test_func(void){}
   6237 #ifdef __cplusplus
   6238 }
   6239 #endif
   6240 int main(){nm_test_var='a';nm_test_func();return(0);}
   6241 _LT_EOF
   6242 
   6243   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6244   (eval $ac_compile) 2>&5
   6245   ac_status=$?
   6246   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6247   test $ac_status = 0; }; then
   6248     # Now try to grab the symbols.
   6249     nlist=conftest.nm
   6250     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6251   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6252   ac_status=$?
   6253   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6254   test $ac_status = 0; } && test -s "$nlist"; then
   6255       # Try sorting and uniquifying the output.
   6256       if sort "$nlist" | uniq > "$nlist"T; then
   6257 	mv -f "$nlist"T "$nlist"
   6258       else
   6259 	rm -f "$nlist"T
   6260       fi
   6261 
   6262       # Make sure that we snagged all the symbols we need.
   6263       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6264 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6265 	  cat <<_LT_EOF > conftest.$ac_ext
   6266 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6267 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   6268 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   6269    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6270 # define LT_DLSYM_CONST
   6271 #elif defined(__osf__)
   6272 /* This system does not cope well with relocations in const data.  */
   6273 # define LT_DLSYM_CONST
   6274 #else
   6275 # define LT_DLSYM_CONST const
   6276 #endif
   6277 
   6278 #ifdef __cplusplus
   6279 extern "C" {
   6280 #endif
   6281 
   6282 _LT_EOF
   6283 	  # Now generate the symbol file.
   6284 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6285 
   6286 	  cat <<_LT_EOF >> conftest.$ac_ext
   6287 
   6288 /* The mapping between symbol names and symbols.  */
   6289 LT_DLSYM_CONST struct {
   6290   const char *name;
   6291   void       *address;
   6292 }
   6293 lt__PROGRAM__LTX_preloaded_symbols[] =
   6294 {
   6295   { "@PROGRAM@", (void *) 0 },
   6296 _LT_EOF
   6297 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6298 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6299   {0, (void *) 0}
   6300 };
   6301 
   6302 /* This works around a problem in FreeBSD linker */
   6303 #ifdef FREEBSD_WORKAROUND
   6304 static const void *lt_preloaded_setup() {
   6305   return lt__PROGRAM__LTX_preloaded_symbols;
   6306 }
   6307 #endif
   6308 
   6309 #ifdef __cplusplus
   6310 }
   6311 #endif
   6312 _LT_EOF
   6313 	  # Now try linking the two files.
   6314 	  mv conftest.$ac_objext conftstm.$ac_objext
   6315 	  lt_globsym_save_LIBS=$LIBS
   6316 	  lt_globsym_save_CFLAGS=$CFLAGS
   6317 	  LIBS="conftstm.$ac_objext"
   6318 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6319 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6320   (eval $ac_link) 2>&5
   6321   ac_status=$?
   6322   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6323   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6324 	    pipe_works=yes
   6325 	  fi
   6326 	  LIBS=$lt_globsym_save_LIBS
   6327 	  CFLAGS=$lt_globsym_save_CFLAGS
   6328 	else
   6329 	  echo "cannot find nm_test_func in $nlist" >&5
   6330 	fi
   6331       else
   6332 	echo "cannot find nm_test_var in $nlist" >&5
   6333       fi
   6334     else
   6335       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6336     fi
   6337   else
   6338     echo "$progname: failed program was:" >&5
   6339     cat conftest.$ac_ext >&5
   6340   fi
   6341   rm -rf conftest* conftst*
   6342 
   6343   # Do not use the global_symbol_pipe unless it works.
   6344   if test "$pipe_works" = yes; then
   6345     break
   6346   else
   6347     lt_cv_sys_global_symbol_pipe=
   6348   fi
   6349 done
   6350 
   6351 fi
   6352 
   6353 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6354   lt_cv_sys_global_symbol_to_cdecl=
   6355 fi
   6356 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6358 $as_echo "failed" >&6; }
   6359 else
   6360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6361 $as_echo "ok" >&6; }
   6362 fi
   6363 
   6364 # Response file support.
   6365 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6366   nm_file_list_spec='@'
   6367 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6368   nm_file_list_spec='@'
   6369 fi
   6370 
   6371 
   6372 
   6373 
   6374 
   6375 
   6376 
   6377 
   6378 
   6379 
   6380 
   6381 
   6382 
   6383 
   6384 
   6385 
   6386 
   6387 
   6388 
   6389 
   6390 
   6391 
   6392 
   6393 
   6394 
   6395 
   6396 
   6397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6398 $as_echo_n "checking for sysroot... " >&6; }
   6399 
   6400 # Check whether --with-sysroot was given.
   6401 if test "${with_sysroot+set}" = set; then :
   6402   withval=$with_sysroot;
   6403 else
   6404   with_sysroot=no
   6405 fi
   6406 
   6407 
   6408 lt_sysroot=
   6409 case ${with_sysroot} in #(
   6410  yes)
   6411    if test "$GCC" = yes; then
   6412      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6413    fi
   6414    ;; #(
   6415  /*)
   6416    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6417    ;; #(
   6418  no|'')
   6419    ;; #(
   6420  *)
   6421    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6422 $as_echo "${with_sysroot}" >&6; }
   6423    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6424    ;;
   6425 esac
   6426 
   6427  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6428 $as_echo "${lt_sysroot:-no}" >&6; }
   6429 
   6430 
   6431 
   6432 
   6433 
   6434 # Check whether --enable-libtool-lock was given.
   6435 if test "${enable_libtool_lock+set}" = set; then :
   6436   enableval=$enable_libtool_lock;
   6437 fi
   6438 
   6439 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6440 
   6441 # Some flags need to be propagated to the compiler or linker for good
   6442 # libtool support.
   6443 case $host in
   6444 ia64-*-hpux*)
   6445   # Find out which ABI we are using.
   6446   echo 'int i;' > conftest.$ac_ext
   6447   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6448   (eval $ac_compile) 2>&5
   6449   ac_status=$?
   6450   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6451   test $ac_status = 0; }; then
   6452     case `/usr/bin/file conftest.$ac_objext` in
   6453       *ELF-32*)
   6454 	HPUX_IA64_MODE="32"
   6455 	;;
   6456       *ELF-64*)
   6457 	HPUX_IA64_MODE="64"
   6458 	;;
   6459     esac
   6460   fi
   6461   rm -rf conftest*
   6462   ;;
   6463 *-*-irix6*)
   6464   # Find out which ABI we are using.
   6465   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6466   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6467   (eval $ac_compile) 2>&5
   6468   ac_status=$?
   6469   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6470   test $ac_status = 0; }; then
   6471     if test "$lt_cv_prog_gnu_ld" = yes; then
   6472       case `/usr/bin/file conftest.$ac_objext` in
   6473 	*32-bit*)
   6474 	  LD="${LD-ld} -melf32bsmip"
   6475 	  ;;
   6476 	*N32*)
   6477 	  LD="${LD-ld} -melf32bmipn32"
   6478 	  ;;
   6479 	*64-bit*)
   6480 	  LD="${LD-ld} -melf64bmip"
   6481 	;;
   6482       esac
   6483     else
   6484       case `/usr/bin/file conftest.$ac_objext` in
   6485 	*32-bit*)
   6486 	  LD="${LD-ld} -32"
   6487 	  ;;
   6488 	*N32*)
   6489 	  LD="${LD-ld} -n32"
   6490 	  ;;
   6491 	*64-bit*)
   6492 	  LD="${LD-ld} -64"
   6493 	  ;;
   6494       esac
   6495     fi
   6496   fi
   6497   rm -rf conftest*
   6498   ;;
   6499 
   6500 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6501 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6502   # Find out which ABI we are using.
   6503   echo 'int i;' > conftest.$ac_ext
   6504   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6505   (eval $ac_compile) 2>&5
   6506   ac_status=$?
   6507   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6508   test $ac_status = 0; }; then
   6509     case `/usr/bin/file conftest.o` in
   6510       *32-bit*)
   6511 	case $host in
   6512 	  x86_64-*kfreebsd*-gnu)
   6513 	    LD="${LD-ld} -m elf_i386_fbsd"
   6514 	    ;;
   6515 	  x86_64-*linux*)
   6516 	    LD="${LD-ld} -m elf_i386"
   6517 	    ;;
   6518 	  ppc64-*linux*|powerpc64-*linux*)
   6519 	    LD="${LD-ld} -m elf32ppclinux"
   6520 	    ;;
   6521 	  s390x-*linux*)
   6522 	    LD="${LD-ld} -m elf_s390"
   6523 	    ;;
   6524 	  sparc64-*linux*)
   6525 	    LD="${LD-ld} -m elf32_sparc"
   6526 	    ;;
   6527 	esac
   6528 	;;
   6529       *64-bit*)
   6530 	case $host in
   6531 	  x86_64-*kfreebsd*-gnu)
   6532 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6533 	    ;;
   6534 	  x86_64-*linux*)
   6535 	    LD="${LD-ld} -m elf_x86_64"
   6536 	    ;;
   6537 	  ppc*-*linux*|powerpc*-*linux*)
   6538 	    LD="${LD-ld} -m elf64ppc"
   6539 	    ;;
   6540 	  s390*-*linux*|s390*-*tpf*)
   6541 	    LD="${LD-ld} -m elf64_s390"
   6542 	    ;;
   6543 	  sparc*-*linux*)
   6544 	    LD="${LD-ld} -m elf64_sparc"
   6545 	    ;;
   6546 	esac
   6547 	;;
   6548     esac
   6549   fi
   6550   rm -rf conftest*
   6551   ;;
   6552 
   6553 *-*-sco3.2v5*)
   6554   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6555   SAVE_CFLAGS="$CFLAGS"
   6556   CFLAGS="$CFLAGS -belf"
   6557   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6558 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6559 if ${lt_cv_cc_needs_belf+:} false; then :
   6560   $as_echo_n "(cached) " >&6
   6561 else
   6562   ac_ext=c
   6563 ac_cpp='$CPP $CPPFLAGS'
   6564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6567 
   6568      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6569 /* end confdefs.h.  */
   6570 
   6571 int
   6572 main ()
   6573 {
   6574 
   6575   ;
   6576   return 0;
   6577 }
   6578 _ACEOF
   6579 if ac_fn_c_try_link "$LINENO"; then :
   6580   lt_cv_cc_needs_belf=yes
   6581 else
   6582   lt_cv_cc_needs_belf=no
   6583 fi
   6584 rm -f core conftest.err conftest.$ac_objext \
   6585     conftest$ac_exeext conftest.$ac_ext
   6586      ac_ext=c
   6587 ac_cpp='$CPP $CPPFLAGS'
   6588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6591 
   6592 fi
   6593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6594 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6595   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6596     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6597     CFLAGS="$SAVE_CFLAGS"
   6598   fi
   6599   ;;
   6600 *-*solaris*)
   6601   # Find out which ABI we are using.
   6602   echo 'int i;' > conftest.$ac_ext
   6603   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6604   (eval $ac_compile) 2>&5
   6605   ac_status=$?
   6606   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6607   test $ac_status = 0; }; then
   6608     case `/usr/bin/file conftest.o` in
   6609     *64-bit*)
   6610       case $lt_cv_prog_gnu_ld in
   6611       yes*)
   6612         case $host in
   6613         i?86-*-solaris*)
   6614           LD="${LD-ld} -m elf_x86_64"
   6615           ;;
   6616         sparc*-*-solaris*)
   6617           LD="${LD-ld} -m elf64_sparc"
   6618           ;;
   6619         esac
   6620         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   6621         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   6622           LD="${LD-ld}_sol2"
   6623         fi
   6624         ;;
   6625       *)
   6626 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6627 	  LD="${LD-ld} -64"
   6628 	fi
   6629 	;;
   6630       esac
   6631       ;;
   6632     esac
   6633   fi
   6634   rm -rf conftest*
   6635   ;;
   6636 esac
   6637 
   6638 need_locks="$enable_libtool_lock"
   6639 
   6640 if test -n "$ac_tool_prefix"; then
   6641   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6642 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6644 $as_echo_n "checking for $ac_word... " >&6; }
   6645 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6646   $as_echo_n "(cached) " >&6
   6647 else
   6648   if test -n "$MANIFEST_TOOL"; then
   6649   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6650 else
   6651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6652 for as_dir in $PATH
   6653 do
   6654   IFS=$as_save_IFS
   6655   test -z "$as_dir" && as_dir=.
   6656     for ac_exec_ext in '' $ac_executable_extensions; do
   6657   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6658     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6659     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6660     break 2
   6661   fi
   6662 done
   6663   done
   6664 IFS=$as_save_IFS
   6665 
   6666 fi
   6667 fi
   6668 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6669 if test -n "$MANIFEST_TOOL"; then
   6670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6671 $as_echo "$MANIFEST_TOOL" >&6; }
   6672 else
   6673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6674 $as_echo "no" >&6; }
   6675 fi
   6676 
   6677 
   6678 fi
   6679 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6680   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6681   # Extract the first word of "mt", so it can be a program name with args.
   6682 set dummy mt; ac_word=$2
   6683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6684 $as_echo_n "checking for $ac_word... " >&6; }
   6685 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6686   $as_echo_n "(cached) " >&6
   6687 else
   6688   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6689   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6690 else
   6691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6692 for as_dir in $PATH
   6693 do
   6694   IFS=$as_save_IFS
   6695   test -z "$as_dir" && as_dir=.
   6696     for ac_exec_ext in '' $ac_executable_extensions; do
   6697   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6698     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6699     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6700     break 2
   6701   fi
   6702 done
   6703   done
   6704 IFS=$as_save_IFS
   6705 
   6706 fi
   6707 fi
   6708 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6709 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6711 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6712 else
   6713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6714 $as_echo "no" >&6; }
   6715 fi
   6716 
   6717   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6718     MANIFEST_TOOL=":"
   6719   else
   6720     case $cross_compiling:$ac_tool_warned in
   6721 yes:)
   6722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6724 ac_tool_warned=yes ;;
   6725 esac
   6726     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6727   fi
   6728 else
   6729   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6730 fi
   6731 
   6732 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6734 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6735 if ${lt_cv_path_mainfest_tool+:} false; then :
   6736   $as_echo_n "(cached) " >&6
   6737 else
   6738   lt_cv_path_mainfest_tool=no
   6739   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6740   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6741   cat conftest.err >&5
   6742   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6743     lt_cv_path_mainfest_tool=yes
   6744   fi
   6745   rm -f conftest*
   6746 fi
   6747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6748 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6749 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   6750   MANIFEST_TOOL=:
   6751 fi
   6752 
   6753 
   6754 
   6755 
   6756 
   6757 
   6758   case $host_os in
   6759     rhapsody* | darwin*)
   6760     if test -n "$ac_tool_prefix"; then
   6761   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6762 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6764 $as_echo_n "checking for $ac_word... " >&6; }
   6765 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   6766   $as_echo_n "(cached) " >&6
   6767 else
   6768   if test -n "$DSYMUTIL"; then
   6769   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6770 else
   6771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6772 for as_dir in $PATH
   6773 do
   6774   IFS=$as_save_IFS
   6775   test -z "$as_dir" && as_dir=.
   6776     for ac_exec_ext in '' $ac_executable_extensions; do
   6777   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6778     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6779     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6780     break 2
   6781   fi
   6782 done
   6783   done
   6784 IFS=$as_save_IFS
   6785 
   6786 fi
   6787 fi
   6788 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6789 if test -n "$DSYMUTIL"; then
   6790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6791 $as_echo "$DSYMUTIL" >&6; }
   6792 else
   6793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6794 $as_echo "no" >&6; }
   6795 fi
   6796 
   6797 
   6798 fi
   6799 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6800   ac_ct_DSYMUTIL=$DSYMUTIL
   6801   # Extract the first word of "dsymutil", so it can be a program name with args.
   6802 set dummy dsymutil; ac_word=$2
   6803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6804 $as_echo_n "checking for $ac_word... " >&6; }
   6805 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6806   $as_echo_n "(cached) " >&6
   6807 else
   6808   if test -n "$ac_ct_DSYMUTIL"; then
   6809   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6810 else
   6811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6812 for as_dir in $PATH
   6813 do
   6814   IFS=$as_save_IFS
   6815   test -z "$as_dir" && as_dir=.
   6816     for ac_exec_ext in '' $ac_executable_extensions; do
   6817   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6818     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6819     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6820     break 2
   6821   fi
   6822 done
   6823   done
   6824 IFS=$as_save_IFS
   6825 
   6826 fi
   6827 fi
   6828 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6829 if test -n "$ac_ct_DSYMUTIL"; then
   6830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6831 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6832 else
   6833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6834 $as_echo "no" >&6; }
   6835 fi
   6836 
   6837   if test "x$ac_ct_DSYMUTIL" = x; then
   6838     DSYMUTIL=":"
   6839   else
   6840     case $cross_compiling:$ac_tool_warned in
   6841 yes:)
   6842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6843 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6844 ac_tool_warned=yes ;;
   6845 esac
   6846     DSYMUTIL=$ac_ct_DSYMUTIL
   6847   fi
   6848 else
   6849   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6850 fi
   6851 
   6852     if test -n "$ac_tool_prefix"; then
   6853   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6854 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6856 $as_echo_n "checking for $ac_word... " >&6; }
   6857 if ${ac_cv_prog_NMEDIT+:} false; then :
   6858   $as_echo_n "(cached) " >&6
   6859 else
   6860   if test -n "$NMEDIT"; then
   6861   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6862 else
   6863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6864 for as_dir in $PATH
   6865 do
   6866   IFS=$as_save_IFS
   6867   test -z "$as_dir" && as_dir=.
   6868     for ac_exec_ext in '' $ac_executable_extensions; do
   6869   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6870     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6871     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6872     break 2
   6873   fi
   6874 done
   6875   done
   6876 IFS=$as_save_IFS
   6877 
   6878 fi
   6879 fi
   6880 NMEDIT=$ac_cv_prog_NMEDIT
   6881 if test -n "$NMEDIT"; then
   6882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6883 $as_echo "$NMEDIT" >&6; }
   6884 else
   6885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6886 $as_echo "no" >&6; }
   6887 fi
   6888 
   6889 
   6890 fi
   6891 if test -z "$ac_cv_prog_NMEDIT"; then
   6892   ac_ct_NMEDIT=$NMEDIT
   6893   # Extract the first word of "nmedit", so it can be a program name with args.
   6894 set dummy nmedit; ac_word=$2
   6895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6896 $as_echo_n "checking for $ac_word... " >&6; }
   6897 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   6898   $as_echo_n "(cached) " >&6
   6899 else
   6900   if test -n "$ac_ct_NMEDIT"; then
   6901   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6902 else
   6903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6904 for as_dir in $PATH
   6905 do
   6906   IFS=$as_save_IFS
   6907   test -z "$as_dir" && as_dir=.
   6908     for ac_exec_ext in '' $ac_executable_extensions; do
   6909   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6910     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6911     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6912     break 2
   6913   fi
   6914 done
   6915   done
   6916 IFS=$as_save_IFS
   6917 
   6918 fi
   6919 fi
   6920 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6921 if test -n "$ac_ct_NMEDIT"; then
   6922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6923 $as_echo "$ac_ct_NMEDIT" >&6; }
   6924 else
   6925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6926 $as_echo "no" >&6; }
   6927 fi
   6928 
   6929   if test "x$ac_ct_NMEDIT" = x; then
   6930     NMEDIT=":"
   6931   else
   6932     case $cross_compiling:$ac_tool_warned in
   6933 yes:)
   6934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6935 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6936 ac_tool_warned=yes ;;
   6937 esac
   6938     NMEDIT=$ac_ct_NMEDIT
   6939   fi
   6940 else
   6941   NMEDIT="$ac_cv_prog_NMEDIT"
   6942 fi
   6943 
   6944     if test -n "$ac_tool_prefix"; then
   6945   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6946 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6948 $as_echo_n "checking for $ac_word... " >&6; }
   6949 if ${ac_cv_prog_LIPO+:} false; then :
   6950   $as_echo_n "(cached) " >&6
   6951 else
   6952   if test -n "$LIPO"; then
   6953   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6954 else
   6955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6956 for as_dir in $PATH
   6957 do
   6958   IFS=$as_save_IFS
   6959   test -z "$as_dir" && as_dir=.
   6960     for ac_exec_ext in '' $ac_executable_extensions; do
   6961   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6962     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6963     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6964     break 2
   6965   fi
   6966 done
   6967   done
   6968 IFS=$as_save_IFS
   6969 
   6970 fi
   6971 fi
   6972 LIPO=$ac_cv_prog_LIPO
   6973 if test -n "$LIPO"; then
   6974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6975 $as_echo "$LIPO" >&6; }
   6976 else
   6977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6978 $as_echo "no" >&6; }
   6979 fi
   6980 
   6981 
   6982 fi
   6983 if test -z "$ac_cv_prog_LIPO"; then
   6984   ac_ct_LIPO=$LIPO
   6985   # Extract the first word of "lipo", so it can be a program name with args.
   6986 set dummy lipo; ac_word=$2
   6987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6988 $as_echo_n "checking for $ac_word... " >&6; }
   6989 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   6990   $as_echo_n "(cached) " >&6
   6991 else
   6992   if test -n "$ac_ct_LIPO"; then
   6993   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6994 else
   6995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6996 for as_dir in $PATH
   6997 do
   6998   IFS=$as_save_IFS
   6999   test -z "$as_dir" && as_dir=.
   7000     for ac_exec_ext in '' $ac_executable_extensions; do
   7001   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7002     ac_cv_prog_ac_ct_LIPO="lipo"
   7003     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7004     break 2
   7005   fi
   7006 done
   7007   done
   7008 IFS=$as_save_IFS
   7009 
   7010 fi
   7011 fi
   7012 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7013 if test -n "$ac_ct_LIPO"; then
   7014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7015 $as_echo "$ac_ct_LIPO" >&6; }
   7016 else
   7017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7018 $as_echo "no" >&6; }
   7019 fi
   7020 
   7021   if test "x$ac_ct_LIPO" = x; then
   7022     LIPO=":"
   7023   else
   7024     case $cross_compiling:$ac_tool_warned in
   7025 yes:)
   7026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7027 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7028 ac_tool_warned=yes ;;
   7029 esac
   7030     LIPO=$ac_ct_LIPO
   7031   fi
   7032 else
   7033   LIPO="$ac_cv_prog_LIPO"
   7034 fi
   7035 
   7036     if test -n "$ac_tool_prefix"; then
   7037   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7038 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7040 $as_echo_n "checking for $ac_word... " >&6; }
   7041 if ${ac_cv_prog_OTOOL+:} false; then :
   7042   $as_echo_n "(cached) " >&6
   7043 else
   7044   if test -n "$OTOOL"; then
   7045   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7046 else
   7047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7048 for as_dir in $PATH
   7049 do
   7050   IFS=$as_save_IFS
   7051   test -z "$as_dir" && as_dir=.
   7052     for ac_exec_ext in '' $ac_executable_extensions; do
   7053   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7054     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7055     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7056     break 2
   7057   fi
   7058 done
   7059   done
   7060 IFS=$as_save_IFS
   7061 
   7062 fi
   7063 fi
   7064 OTOOL=$ac_cv_prog_OTOOL
   7065 if test -n "$OTOOL"; then
   7066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7067 $as_echo "$OTOOL" >&6; }
   7068 else
   7069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7070 $as_echo "no" >&6; }
   7071 fi
   7072 
   7073 
   7074 fi
   7075 if test -z "$ac_cv_prog_OTOOL"; then
   7076   ac_ct_OTOOL=$OTOOL
   7077   # Extract the first word of "otool", so it can be a program name with args.
   7078 set dummy otool; ac_word=$2
   7079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7080 $as_echo_n "checking for $ac_word... " >&6; }
   7081 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7082   $as_echo_n "(cached) " >&6
   7083 else
   7084   if test -n "$ac_ct_OTOOL"; then
   7085   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7086 else
   7087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7088 for as_dir in $PATH
   7089 do
   7090   IFS=$as_save_IFS
   7091   test -z "$as_dir" && as_dir=.
   7092     for ac_exec_ext in '' $ac_executable_extensions; do
   7093   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7094     ac_cv_prog_ac_ct_OTOOL="otool"
   7095     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7096     break 2
   7097   fi
   7098 done
   7099   done
   7100 IFS=$as_save_IFS
   7101 
   7102 fi
   7103 fi
   7104 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7105 if test -n "$ac_ct_OTOOL"; then
   7106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7107 $as_echo "$ac_ct_OTOOL" >&6; }
   7108 else
   7109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7110 $as_echo "no" >&6; }
   7111 fi
   7112 
   7113   if test "x$ac_ct_OTOOL" = x; then
   7114     OTOOL=":"
   7115   else
   7116     case $cross_compiling:$ac_tool_warned in
   7117 yes:)
   7118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7119 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7120 ac_tool_warned=yes ;;
   7121 esac
   7122     OTOOL=$ac_ct_OTOOL
   7123   fi
   7124 else
   7125   OTOOL="$ac_cv_prog_OTOOL"
   7126 fi
   7127 
   7128     if test -n "$ac_tool_prefix"; then
   7129   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7130 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7132 $as_echo_n "checking for $ac_word... " >&6; }
   7133 if ${ac_cv_prog_OTOOL64+:} false; then :
   7134   $as_echo_n "(cached) " >&6
   7135 else
   7136   if test -n "$OTOOL64"; then
   7137   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7138 else
   7139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7140 for as_dir in $PATH
   7141 do
   7142   IFS=$as_save_IFS
   7143   test -z "$as_dir" && as_dir=.
   7144     for ac_exec_ext in '' $ac_executable_extensions; do
   7145   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7146     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7147     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7148     break 2
   7149   fi
   7150 done
   7151   done
   7152 IFS=$as_save_IFS
   7153 
   7154 fi
   7155 fi
   7156 OTOOL64=$ac_cv_prog_OTOOL64
   7157 if test -n "$OTOOL64"; then
   7158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7159 $as_echo "$OTOOL64" >&6; }
   7160 else
   7161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7162 $as_echo "no" >&6; }
   7163 fi
   7164 
   7165 
   7166 fi
   7167 if test -z "$ac_cv_prog_OTOOL64"; then
   7168   ac_ct_OTOOL64=$OTOOL64
   7169   # Extract the first word of "otool64", so it can be a program name with args.
   7170 set dummy otool64; ac_word=$2
   7171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7172 $as_echo_n "checking for $ac_word... " >&6; }
   7173 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   7174   $as_echo_n "(cached) " >&6
   7175 else
   7176   if test -n "$ac_ct_OTOOL64"; then
   7177   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7178 else
   7179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7180 for as_dir in $PATH
   7181 do
   7182   IFS=$as_save_IFS
   7183   test -z "$as_dir" && as_dir=.
   7184     for ac_exec_ext in '' $ac_executable_extensions; do
   7185   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7186     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7187     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7188     break 2
   7189   fi
   7190 done
   7191   done
   7192 IFS=$as_save_IFS
   7193 
   7194 fi
   7195 fi
   7196 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7197 if test -n "$ac_ct_OTOOL64"; then
   7198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7199 $as_echo "$ac_ct_OTOOL64" >&6; }
   7200 else
   7201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7202 $as_echo "no" >&6; }
   7203 fi
   7204 
   7205   if test "x$ac_ct_OTOOL64" = x; then
   7206     OTOOL64=":"
   7207   else
   7208     case $cross_compiling:$ac_tool_warned in
   7209 yes:)
   7210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7211 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7212 ac_tool_warned=yes ;;
   7213 esac
   7214     OTOOL64=$ac_ct_OTOOL64
   7215   fi
   7216 else
   7217   OTOOL64="$ac_cv_prog_OTOOL64"
   7218 fi
   7219 
   7220 
   7221 
   7222 
   7223 
   7224 
   7225 
   7226 
   7227 
   7228 
   7229 
   7230 
   7231 
   7232 
   7233 
   7234 
   7235 
   7236 
   7237 
   7238 
   7239 
   7240 
   7241 
   7242 
   7243 
   7244 
   7245 
   7246     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7247 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7248 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7249   $as_echo_n "(cached) " >&6
   7250 else
   7251   lt_cv_apple_cc_single_mod=no
   7252       if test -z "${LT_MULTI_MODULE}"; then
   7253 	# By default we will add the -single_module flag. You can override
   7254 	# by either setting the environment variable LT_MULTI_MODULE
   7255 	# non-empty at configure time, or by adding -multi_module to the
   7256 	# link flags.
   7257 	rm -rf libconftest.dylib*
   7258 	echo "int foo(void){return 1;}" > conftest.c
   7259 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7260 -dynamiclib -Wl,-single_module conftest.c" >&5
   7261 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7262 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7263         _lt_result=$?
   7264 	# If there is a non-empty error log, and "single_module"
   7265 	# appears in it, assume the flag caused a linker warning
   7266         if test -s conftest.err && $GREP single_module conftest.err; then
   7267 	  cat conftest.err >&5
   7268 	# Otherwise, if the output was created with a 0 exit code from
   7269 	# the compiler, it worked.
   7270 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   7271 	  lt_cv_apple_cc_single_mod=yes
   7272 	else
   7273 	  cat conftest.err >&5
   7274 	fi
   7275 	rm -rf libconftest.dylib*
   7276 	rm -f conftest.*
   7277       fi
   7278 fi
   7279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7280 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7281 
   7282     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7283 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7284 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7285   $as_echo_n "(cached) " >&6
   7286 else
   7287   lt_cv_ld_exported_symbols_list=no
   7288       save_LDFLAGS=$LDFLAGS
   7289       echo "_main" > conftest.sym
   7290       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7291       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7292 /* end confdefs.h.  */
   7293 
   7294 int
   7295 main ()
   7296 {
   7297 
   7298   ;
   7299   return 0;
   7300 }
   7301 _ACEOF
   7302 if ac_fn_c_try_link "$LINENO"; then :
   7303   lt_cv_ld_exported_symbols_list=yes
   7304 else
   7305   lt_cv_ld_exported_symbols_list=no
   7306 fi
   7307 rm -f core conftest.err conftest.$ac_objext \
   7308     conftest$ac_exeext conftest.$ac_ext
   7309 	LDFLAGS="$save_LDFLAGS"
   7310 
   7311 fi
   7312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7313 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7314 
   7315     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7316 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7317 if ${lt_cv_ld_force_load+:} false; then :
   7318   $as_echo_n "(cached) " >&6
   7319 else
   7320   lt_cv_ld_force_load=no
   7321       cat > conftest.c << _LT_EOF
   7322 int forced_loaded() { return 2;}
   7323 _LT_EOF
   7324       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7325       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7326       echo "$AR cru libconftest.a conftest.o" >&5
   7327       $AR cru libconftest.a conftest.o 2>&5
   7328       echo "$RANLIB libconftest.a" >&5
   7329       $RANLIB libconftest.a 2>&5
   7330       cat > conftest.c << _LT_EOF
   7331 int main() { return 0;}
   7332 _LT_EOF
   7333       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7334       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7335       _lt_result=$?
   7336       if test -s conftest.err && $GREP force_load conftest.err; then
   7337 	cat conftest.err >&5
   7338       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   7339 	lt_cv_ld_force_load=yes
   7340       else
   7341 	cat conftest.err >&5
   7342       fi
   7343         rm -f conftest.err libconftest.a conftest conftest.c
   7344         rm -rf conftest.dSYM
   7345 
   7346 fi
   7347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7348 $as_echo "$lt_cv_ld_force_load" >&6; }
   7349     case $host_os in
   7350     rhapsody* | darwin1.[012])
   7351       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7352     darwin1.*)
   7353       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7354     darwin*) # darwin 5.x on
   7355       # if running on 10.5 or later, the deployment target defaults
   7356       # to the OS version, if on x86, and 10.4, the deployment
   7357       # target defaults to 10.4. Don't you love it?
   7358       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7359 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7360 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7361 	10.[012]*)
   7362 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7363 	10.*)
   7364 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7365       esac
   7366     ;;
   7367   esac
   7368     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7369       _lt_dar_single_mod='$single_module'
   7370     fi
   7371     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7372       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7373     else
   7374       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7375     fi
   7376     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7377       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7378     else
   7379       _lt_dsymutil=
   7380     fi
   7381     ;;
   7382   esac
   7383 
   7384 ac_ext=c
   7385 ac_cpp='$CPP $CPPFLAGS'
   7386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7390 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7391 # On Suns, sometimes $CPP names a directory.
   7392 if test -n "$CPP" && test -d "$CPP"; then
   7393   CPP=
   7394 fi
   7395 if test -z "$CPP"; then
   7396   if ${ac_cv_prog_CPP+:} false; then :
   7397   $as_echo_n "(cached) " >&6
   7398 else
   7399       # Double quotes because CPP needs to be expanded
   7400     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7401     do
   7402       ac_preproc_ok=false
   7403 for ac_c_preproc_warn_flag in '' yes
   7404 do
   7405   # Use a header file that comes with gcc, so configuring glibc
   7406   # with a fresh cross-compiler works.
   7407   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7408   # <limits.h> exists even on freestanding compilers.
   7409   # On the NeXT, cc -E runs the code through the compiler's parser,
   7410   # not just through cpp. "Syntax error" is here to catch this case.
   7411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7412 /* end confdefs.h.  */
   7413 #ifdef __STDC__
   7414 # include <limits.h>
   7415 #else
   7416 # include <assert.h>
   7417 #endif
   7418 		     Syntax error
   7419 _ACEOF
   7420 if ac_fn_c_try_cpp "$LINENO"; then :
   7421 
   7422 else
   7423   # Broken: fails on valid input.
   7424 continue
   7425 fi
   7426 rm -f conftest.err conftest.i conftest.$ac_ext
   7427 
   7428   # OK, works on sane cases.  Now check whether nonexistent headers
   7429   # can be detected and how.
   7430   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7431 /* end confdefs.h.  */
   7432 #include <ac_nonexistent.h>
   7433 _ACEOF
   7434 if ac_fn_c_try_cpp "$LINENO"; then :
   7435   # Broken: success on invalid input.
   7436 continue
   7437 else
   7438   # Passes both tests.
   7439 ac_preproc_ok=:
   7440 break
   7441 fi
   7442 rm -f conftest.err conftest.i conftest.$ac_ext
   7443 
   7444 done
   7445 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7446 rm -f conftest.i conftest.err conftest.$ac_ext
   7447 if $ac_preproc_ok; then :
   7448   break
   7449 fi
   7450 
   7451     done
   7452     ac_cv_prog_CPP=$CPP
   7453 
   7454 fi
   7455   CPP=$ac_cv_prog_CPP
   7456 else
   7457   ac_cv_prog_CPP=$CPP
   7458 fi
   7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7460 $as_echo "$CPP" >&6; }
   7461 ac_preproc_ok=false
   7462 for ac_c_preproc_warn_flag in '' yes
   7463 do
   7464   # Use a header file that comes with gcc, so configuring glibc
   7465   # with a fresh cross-compiler works.
   7466   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7467   # <limits.h> exists even on freestanding compilers.
   7468   # On the NeXT, cc -E runs the code through the compiler's parser,
   7469   # not just through cpp. "Syntax error" is here to catch this case.
   7470   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7471 /* end confdefs.h.  */
   7472 #ifdef __STDC__
   7473 # include <limits.h>
   7474 #else
   7475 # include <assert.h>
   7476 #endif
   7477 		     Syntax error
   7478 _ACEOF
   7479 if ac_fn_c_try_cpp "$LINENO"; then :
   7480 
   7481 else
   7482   # Broken: fails on valid input.
   7483 continue
   7484 fi
   7485 rm -f conftest.err conftest.i conftest.$ac_ext
   7486 
   7487   # OK, works on sane cases.  Now check whether nonexistent headers
   7488   # can be detected and how.
   7489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7490 /* end confdefs.h.  */
   7491 #include <ac_nonexistent.h>
   7492 _ACEOF
   7493 if ac_fn_c_try_cpp "$LINENO"; then :
   7494   # Broken: success on invalid input.
   7495 continue
   7496 else
   7497   # Passes both tests.
   7498 ac_preproc_ok=:
   7499 break
   7500 fi
   7501 rm -f conftest.err conftest.i conftest.$ac_ext
   7502 
   7503 done
   7504 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7505 rm -f conftest.i conftest.err conftest.$ac_ext
   7506 if $ac_preproc_ok; then :
   7507 
   7508 else
   7509   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7510 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7511 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7512 See \`config.log' for more details" "$LINENO" 5; }
   7513 fi
   7514 
   7515 ac_ext=c
   7516 ac_cpp='$CPP $CPPFLAGS'
   7517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7520 
   7521 
   7522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7523 $as_echo_n "checking for ANSI C header files... " >&6; }
   7524 if ${ac_cv_header_stdc+:} false; then :
   7525   $as_echo_n "(cached) " >&6
   7526 else
   7527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7528 /* end confdefs.h.  */
   7529 #include <stdlib.h>
   7530 #include <stdarg.h>
   7531 #include <string.h>
   7532 #include <float.h>
   7533 
   7534 int
   7535 main ()
   7536 {
   7537 
   7538   ;
   7539   return 0;
   7540 }
   7541 _ACEOF
   7542 if ac_fn_c_try_compile "$LINENO"; then :
   7543   ac_cv_header_stdc=yes
   7544 else
   7545   ac_cv_header_stdc=no
   7546 fi
   7547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7548 
   7549 if test $ac_cv_header_stdc = yes; then
   7550   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7551   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7552 /* end confdefs.h.  */
   7553 #include <string.h>
   7554 
   7555 _ACEOF
   7556 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7557   $EGREP "memchr" >/dev/null 2>&1; then :
   7558 
   7559 else
   7560   ac_cv_header_stdc=no
   7561 fi
   7562 rm -f conftest*
   7563 
   7564 fi
   7565 
   7566 if test $ac_cv_header_stdc = yes; then
   7567   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7568   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7569 /* end confdefs.h.  */
   7570 #include <stdlib.h>
   7571 
   7572 _ACEOF
   7573 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7574   $EGREP "free" >/dev/null 2>&1; then :
   7575 
   7576 else
   7577   ac_cv_header_stdc=no
   7578 fi
   7579 rm -f conftest*
   7580 
   7581 fi
   7582 
   7583 if test $ac_cv_header_stdc = yes; then
   7584   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7585   if test "$cross_compiling" = yes; then :
   7586   :
   7587 else
   7588   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7589 /* end confdefs.h.  */
   7590 #include <ctype.h>
   7591 #include <stdlib.h>
   7592 #if ((' ' & 0x0FF) == 0x020)
   7593 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7594 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7595 #else
   7596 # define ISLOWER(c) \
   7597 		   (('a' <= (c) && (c) <= 'i') \
   7598 		     || ('j' <= (c) && (c) <= 'r') \
   7599 		     || ('s' <= (c) && (c) <= 'z'))
   7600 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7601 #endif
   7602 
   7603 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7604 int
   7605 main ()
   7606 {
   7607   int i;
   7608   for (i = 0; i < 256; i++)
   7609     if (XOR (islower (i), ISLOWER (i))
   7610 	|| toupper (i) != TOUPPER (i))
   7611       return 2;
   7612   return 0;
   7613 }
   7614 _ACEOF
   7615 if ac_fn_c_try_run "$LINENO"; then :
   7616 
   7617 else
   7618   ac_cv_header_stdc=no
   7619 fi
   7620 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7621   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7622 fi
   7623 
   7624 fi
   7625 fi
   7626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7627 $as_echo "$ac_cv_header_stdc" >&6; }
   7628 if test $ac_cv_header_stdc = yes; then
   7629 
   7630 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7631 
   7632 fi
   7633 
   7634 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7635 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7636 		  inttypes.h stdint.h unistd.h
   7637 do :
   7638   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7639 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7640 "
   7641 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7642   cat >>confdefs.h <<_ACEOF
   7643 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7644 _ACEOF
   7645 
   7646 fi
   7647 
   7648 done
   7649 
   7650 
   7651 for ac_header in dlfcn.h
   7652 do :
   7653   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7654 "
   7655 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7656   cat >>confdefs.h <<_ACEOF
   7657 #define HAVE_DLFCN_H 1
   7658 _ACEOF
   7659 
   7660 fi
   7661 
   7662 done
   7663 
   7664 
   7665 
   7666 
   7667 
   7668 # Set options
   7669 
   7670 
   7671 
   7672         enable_dlopen=no
   7673 
   7674 
   7675   enable_win32_dll=no
   7676 
   7677 
   7678             # Check whether --enable-shared was given.
   7679 if test "${enable_shared+set}" = set; then :
   7680   enableval=$enable_shared; p=${PACKAGE-default}
   7681     case $enableval in
   7682     yes) enable_shared=yes ;;
   7683     no) enable_shared=no ;;
   7684     *)
   7685       enable_shared=no
   7686       # Look at the argument we got.  We use all the common list separators.
   7687       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7688       for pkg in $enableval; do
   7689 	IFS="$lt_save_ifs"
   7690 	if test "X$pkg" = "X$p"; then
   7691 	  enable_shared=yes
   7692 	fi
   7693       done
   7694       IFS="$lt_save_ifs"
   7695       ;;
   7696     esac
   7697 else
   7698   enable_shared=yes
   7699 fi
   7700 
   7701 
   7702 
   7703 
   7704 
   7705 
   7706 
   7707 
   7708 
   7709   # Check whether --enable-static was given.
   7710 if test "${enable_static+set}" = set; then :
   7711   enableval=$enable_static; p=${PACKAGE-default}
   7712     case $enableval in
   7713     yes) enable_static=yes ;;
   7714     no) enable_static=no ;;
   7715     *)
   7716      enable_static=no
   7717       # Look at the argument we got.  We use all the common list separators.
   7718       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7719       for pkg in $enableval; do
   7720 	IFS="$lt_save_ifs"
   7721 	if test "X$pkg" = "X$p"; then
   7722 	  enable_static=yes
   7723 	fi
   7724       done
   7725       IFS="$lt_save_ifs"
   7726       ;;
   7727     esac
   7728 else
   7729   enable_static=yes
   7730 fi
   7731 
   7732 
   7733 
   7734 
   7735 
   7736 
   7737 
   7738 
   7739 
   7740 
   7741 # Check whether --with-pic was given.
   7742 if test "${with_pic+set}" = set; then :
   7743   withval=$with_pic; lt_p=${PACKAGE-default}
   7744     case $withval in
   7745     yes|no) pic_mode=$withval ;;
   7746     *)
   7747       pic_mode=default
   7748       # Look at the argument we got.  We use all the common list separators.
   7749       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7750       for lt_pkg in $withval; do
   7751 	IFS="$lt_save_ifs"
   7752 	if test "X$lt_pkg" = "X$lt_p"; then
   7753 	  pic_mode=yes
   7754 	fi
   7755       done
   7756       IFS="$lt_save_ifs"
   7757       ;;
   7758     esac
   7759 else
   7760   pic_mode=default
   7761 fi
   7762 
   7763 
   7764 test -z "$pic_mode" && pic_mode=default
   7765 
   7766 
   7767 
   7768 
   7769 
   7770 
   7771 
   7772   # Check whether --enable-fast-install was given.
   7773 if test "${enable_fast_install+set}" = set; then :
   7774   enableval=$enable_fast_install; p=${PACKAGE-default}
   7775     case $enableval in
   7776     yes) enable_fast_install=yes ;;
   7777     no) enable_fast_install=no ;;
   7778     *)
   7779       enable_fast_install=no
   7780       # Look at the argument we got.  We use all the common list separators.
   7781       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7782       for pkg in $enableval; do
   7783 	IFS="$lt_save_ifs"
   7784 	if test "X$pkg" = "X$p"; then
   7785 	  enable_fast_install=yes
   7786 	fi
   7787       done
   7788       IFS="$lt_save_ifs"
   7789       ;;
   7790     esac
   7791 else
   7792   enable_fast_install=yes
   7793 fi
   7794 
   7795 
   7796 
   7797 
   7798 
   7799 
   7800 
   7801 
   7802 
   7803 
   7804 
   7805 # This can be used to rebuild libtool when needed
   7806 LIBTOOL_DEPS="$ltmain"
   7807 
   7808 # Always use our own libtool.
   7809 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7810 
   7811 
   7812 
   7813 
   7814 
   7815 
   7816 
   7817 
   7818 
   7819 
   7820 
   7821 
   7822 
   7823 
   7824 
   7825 
   7826 
   7827 
   7828 
   7829 
   7830 
   7831 
   7832 
   7833 
   7834 
   7835 
   7836 
   7837 
   7838 
   7839 
   7840 test -z "$LN_S" && LN_S="ln -s"
   7841 
   7842 
   7843 
   7844 
   7845 
   7846 
   7847 
   7848 
   7849 
   7850 
   7851 
   7852 
   7853 
   7854 
   7855 if test -n "${ZSH_VERSION+set}" ; then
   7856    setopt NO_GLOB_SUBST
   7857 fi
   7858 
   7859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7860 $as_echo_n "checking for objdir... " >&6; }
   7861 if ${lt_cv_objdir+:} false; then :
   7862   $as_echo_n "(cached) " >&6
   7863 else
   7864   rm -f .libs 2>/dev/null
   7865 mkdir .libs 2>/dev/null
   7866 if test -d .libs; then
   7867   lt_cv_objdir=.libs
   7868 else
   7869   # MS-DOS does not allow filenames that begin with a dot.
   7870   lt_cv_objdir=_libs
   7871 fi
   7872 rmdir .libs 2>/dev/null
   7873 fi
   7874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7875 $as_echo "$lt_cv_objdir" >&6; }
   7876 objdir=$lt_cv_objdir
   7877 
   7878 
   7879 
   7880 
   7881 
   7882 cat >>confdefs.h <<_ACEOF
   7883 #define LT_OBJDIR "$lt_cv_objdir/"
   7884 _ACEOF
   7885 
   7886 
   7887 
   7888 
   7889 case $host_os in
   7890 aix3*)
   7891   # AIX sometimes has problems with the GCC collect2 program.  For some
   7892   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7893   # vanish in a puff of smoke.
   7894   if test "X${COLLECT_NAMES+set}" != Xset; then
   7895     COLLECT_NAMES=
   7896     export COLLECT_NAMES
   7897   fi
   7898   ;;
   7899 esac
   7900 
   7901 # Global variables:
   7902 ofile=libtool
   7903 can_build_shared=yes
   7904 
   7905 # All known linkers require a `.a' archive for static linking (except MSVC,
   7906 # which needs '.lib').
   7907 libext=a
   7908 
   7909 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7910 
   7911 old_CC="$CC"
   7912 old_CFLAGS="$CFLAGS"
   7913 
   7914 # Set sane defaults for various variables
   7915 test -z "$CC" && CC=cc
   7916 test -z "$LTCC" && LTCC=$CC
   7917 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7918 test -z "$LD" && LD=ld
   7919 test -z "$ac_objext" && ac_objext=o
   7920 
   7921 for cc_temp in $compiler""; do
   7922   case $cc_temp in
   7923     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7924     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7925     \-*) ;;
   7926     *) break;;
   7927   esac
   7928 done
   7929 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7930 
   7931 
   7932 # Only perform the check for file, if the check method requires it
   7933 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7934 case $deplibs_check_method in
   7935 file_magic*)
   7936   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7937     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7938 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7939 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7940   $as_echo_n "(cached) " >&6
   7941 else
   7942   case $MAGIC_CMD in
   7943 [\\/*] |  ?:[\\/]*)
   7944   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7945   ;;
   7946 *)
   7947   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7948   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7949   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7950   for ac_dir in $ac_dummy; do
   7951     IFS="$lt_save_ifs"
   7952     test -z "$ac_dir" && ac_dir=.
   7953     if test -f $ac_dir/${ac_tool_prefix}file; then
   7954       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7955       if test -n "$file_magic_test_file"; then
   7956 	case $deplibs_check_method in
   7957 	"file_magic "*)
   7958 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7959 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7960 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7961 	    $EGREP "$file_magic_regex" > /dev/null; then
   7962 	    :
   7963 	  else
   7964 	    cat <<_LT_EOF 1>&2
   7965 
   7966 *** Warning: the command libtool uses to detect shared libraries,
   7967 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7968 *** The result is that libtool may fail to recognize shared libraries
   7969 *** as such.  This will affect the creation of libtool libraries that
   7970 *** depend on shared libraries, but programs linked with such libtool
   7971 *** libraries will work regardless of this problem.  Nevertheless, you
   7972 *** may want to report the problem to your system manager and/or to
   7973 *** bug-libtool@gnu.org
   7974 
   7975 _LT_EOF
   7976 	  fi ;;
   7977 	esac
   7978       fi
   7979       break
   7980     fi
   7981   done
   7982   IFS="$lt_save_ifs"
   7983   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7984   ;;
   7985 esac
   7986 fi
   7987 
   7988 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7989 if test -n "$MAGIC_CMD"; then
   7990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7991 $as_echo "$MAGIC_CMD" >&6; }
   7992 else
   7993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7994 $as_echo "no" >&6; }
   7995 fi
   7996 
   7997 
   7998 
   7999 
   8000 
   8001 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8002   if test -n "$ac_tool_prefix"; then
   8003     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8004 $as_echo_n "checking for file... " >&6; }
   8005 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8006   $as_echo_n "(cached) " >&6
   8007 else
   8008   case $MAGIC_CMD in
   8009 [\\/*] |  ?:[\\/]*)
   8010   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8011   ;;
   8012 *)
   8013   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8014   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8015   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8016   for ac_dir in $ac_dummy; do
   8017     IFS="$lt_save_ifs"
   8018     test -z "$ac_dir" && ac_dir=.
   8019     if test -f $ac_dir/file; then
   8020       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   8021       if test -n "$file_magic_test_file"; then
   8022 	case $deplibs_check_method in
   8023 	"file_magic "*)
   8024 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8025 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8026 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8027 	    $EGREP "$file_magic_regex" > /dev/null; then
   8028 	    :
   8029 	  else
   8030 	    cat <<_LT_EOF 1>&2
   8031 
   8032 *** Warning: the command libtool uses to detect shared libraries,
   8033 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8034 *** The result is that libtool may fail to recognize shared libraries
   8035 *** as such.  This will affect the creation of libtool libraries that
   8036 *** depend on shared libraries, but programs linked with such libtool
   8037 *** libraries will work regardless of this problem.  Nevertheless, you
   8038 *** may want to report the problem to your system manager and/or to
   8039 *** bug-libtool@gnu.org
   8040 
   8041 _LT_EOF
   8042 	  fi ;;
   8043 	esac
   8044       fi
   8045       break
   8046     fi
   8047   done
   8048   IFS="$lt_save_ifs"
   8049   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8050   ;;
   8051 esac
   8052 fi
   8053 
   8054 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8055 if test -n "$MAGIC_CMD"; then
   8056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8057 $as_echo "$MAGIC_CMD" >&6; }
   8058 else
   8059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8060 $as_echo "no" >&6; }
   8061 fi
   8062 
   8063 
   8064   else
   8065     MAGIC_CMD=:
   8066   fi
   8067 fi
   8068 
   8069   fi
   8070   ;;
   8071 esac
   8072 
   8073 # Use C for the default configuration in the libtool script
   8074 
   8075 lt_save_CC="$CC"
   8076 ac_ext=c
   8077 ac_cpp='$CPP $CPPFLAGS'
   8078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8081 
   8082 
   8083 # Source file extension for C test sources.
   8084 ac_ext=c
   8085 
   8086 # Object file extension for compiled C test sources.
   8087 objext=o
   8088 objext=$objext
   8089 
   8090 # Code to be used in simple compile tests
   8091 lt_simple_compile_test_code="int some_variable = 0;"
   8092 
   8093 # Code to be used in simple link tests
   8094 lt_simple_link_test_code='int main(){return(0);}'
   8095 
   8096 
   8097 
   8098 
   8099 
   8100 
   8101 
   8102 # If no C compiler was specified, use CC.
   8103 LTCC=${LTCC-"$CC"}
   8104 
   8105 # If no C compiler flags were specified, use CFLAGS.
   8106 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8107 
   8108 # Allow CC to be a program name with arguments.
   8109 compiler=$CC
   8110 
   8111 # Save the default compiler, since it gets overwritten when the other
   8112 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8113 compiler_DEFAULT=$CC
   8114 
   8115 # save warnings/boilerplate of simple test code
   8116 ac_outfile=conftest.$ac_objext
   8117 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8118 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8119 _lt_compiler_boilerplate=`cat conftest.err`
   8120 $RM conftest*
   8121 
   8122 ac_outfile=conftest.$ac_objext
   8123 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8124 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8125 _lt_linker_boilerplate=`cat conftest.err`
   8126 $RM -r conftest*
   8127 
   8128 
   8129 if test -n "$compiler"; then
   8130 
   8131 lt_prog_compiler_no_builtin_flag=
   8132 
   8133 if test "$GCC" = yes; then
   8134   case $cc_basename in
   8135   nvcc*)
   8136     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8137   *)
   8138     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8139   esac
   8140 
   8141   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8142 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8143 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8144   $as_echo_n "(cached) " >&6
   8145 else
   8146   lt_cv_prog_compiler_rtti_exceptions=no
   8147    ac_outfile=conftest.$ac_objext
   8148    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8149    lt_compiler_flag="-fno-rtti -fno-exceptions"
   8150    # Insert the option either (1) after the last *FLAGS variable, or
   8151    # (2) before a word containing "conftest.", or (3) at the end.
   8152    # Note that $ac_compile itself does not contain backslashes and begins
   8153    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8154    # The option is referenced via a variable to avoid confusing sed.
   8155    lt_compile=`echo "$ac_compile" | $SED \
   8156    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8157    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8158    -e 's:$: $lt_compiler_flag:'`
   8159    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8160    (eval "$lt_compile" 2>conftest.err)
   8161    ac_status=$?
   8162    cat conftest.err >&5
   8163    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8164    if (exit $ac_status) && test -s "$ac_outfile"; then
   8165      # The compiler can only warn and ignore the option if not recognized
   8166      # So say no if there are warnings other than the usual output.
   8167      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8168      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8169      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8170        lt_cv_prog_compiler_rtti_exceptions=yes
   8171      fi
   8172    fi
   8173    $RM conftest*
   8174 
   8175 fi
   8176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8177 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8178 
   8179 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   8180     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8181 else
   8182     :
   8183 fi
   8184 
   8185 fi
   8186 
   8187 
   8188 
   8189 
   8190 
   8191 
   8192   lt_prog_compiler_wl=
   8193 lt_prog_compiler_pic=
   8194 lt_prog_compiler_static=
   8195 
   8196 
   8197   if test "$GCC" = yes; then
   8198     lt_prog_compiler_wl='-Wl,'
   8199     lt_prog_compiler_static='-static'
   8200 
   8201     case $host_os in
   8202       aix*)
   8203       # All AIX code is PIC.
   8204       if test "$host_cpu" = ia64; then
   8205 	# AIX 5 now supports IA64 processor
   8206 	lt_prog_compiler_static='-Bstatic'
   8207       fi
   8208       ;;
   8209 
   8210     amigaos*)
   8211       case $host_cpu in
   8212       powerpc)
   8213             # see comment about AmigaOS4 .so support
   8214             lt_prog_compiler_pic='-fPIC'
   8215         ;;
   8216       m68k)
   8217             # FIXME: we need at least 68020 code to build shared libraries, but
   8218             # adding the `-m68020' flag to GCC prevents building anything better,
   8219             # like `-m68040'.
   8220             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8221         ;;
   8222       esac
   8223       ;;
   8224 
   8225     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8226       # PIC is the default for these OSes.
   8227       ;;
   8228 
   8229     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8230       # This hack is so that the source file can tell whether it is being
   8231       # built for inclusion in a dll (and should export symbols for example).
   8232       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8233       # (--disable-auto-import) libraries
   8234       lt_prog_compiler_pic='-DDLL_EXPORT'
   8235       ;;
   8236 
   8237     darwin* | rhapsody*)
   8238       # PIC is the default on this platform
   8239       # Common symbols not allowed in MH_DYLIB files
   8240       lt_prog_compiler_pic='-fno-common'
   8241       ;;
   8242 
   8243     haiku*)
   8244       # PIC is the default for Haiku.
   8245       # The "-static" flag exists, but is broken.
   8246       lt_prog_compiler_static=
   8247       ;;
   8248 
   8249     hpux*)
   8250       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8251       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8252       # sets the default TLS model and affects inlining.
   8253       case $host_cpu in
   8254       hppa*64*)
   8255 	# +Z the default
   8256 	;;
   8257       *)
   8258 	lt_prog_compiler_pic='-fPIC'
   8259 	;;
   8260       esac
   8261       ;;
   8262 
   8263     interix[3-9]*)
   8264       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8265       # Instead, we relocate shared libraries at runtime.
   8266       ;;
   8267 
   8268     msdosdjgpp*)
   8269       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8270       # on systems that don't support them.
   8271       lt_prog_compiler_can_build_shared=no
   8272       enable_shared=no
   8273       ;;
   8274 
   8275     *nto* | *qnx*)
   8276       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8277       # it will coredump.
   8278       lt_prog_compiler_pic='-fPIC -shared'
   8279       ;;
   8280 
   8281     sysv4*MP*)
   8282       if test -d /usr/nec; then
   8283 	lt_prog_compiler_pic=-Kconform_pic
   8284       fi
   8285       ;;
   8286 
   8287     *)
   8288       lt_prog_compiler_pic='-fPIC'
   8289       ;;
   8290     esac
   8291 
   8292     case $cc_basename in
   8293     nvcc*) # Cuda Compiler Driver 2.2
   8294       lt_prog_compiler_wl='-Xlinker '
   8295       if test -n "$lt_prog_compiler_pic"; then
   8296         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   8297       fi
   8298       ;;
   8299     esac
   8300   else
   8301     # PORTME Check for flag to pass linker flags through the system compiler.
   8302     case $host_os in
   8303     aix*)
   8304       lt_prog_compiler_wl='-Wl,'
   8305       if test "$host_cpu" = ia64; then
   8306 	# AIX 5 now supports IA64 processor
   8307 	lt_prog_compiler_static='-Bstatic'
   8308       else
   8309 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8310       fi
   8311       ;;
   8312 
   8313     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8314       # This hack is so that the source file can tell whether it is being
   8315       # built for inclusion in a dll (and should export symbols for example).
   8316       lt_prog_compiler_pic='-DDLL_EXPORT'
   8317       ;;
   8318 
   8319     hpux9* | hpux10* | hpux11*)
   8320       lt_prog_compiler_wl='-Wl,'
   8321       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8322       # not for PA HP-UX.
   8323       case $host_cpu in
   8324       hppa*64*|ia64*)
   8325 	# +Z the default
   8326 	;;
   8327       *)
   8328 	lt_prog_compiler_pic='+Z'
   8329 	;;
   8330       esac
   8331       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8332       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8333       ;;
   8334 
   8335     irix5* | irix6* | nonstopux*)
   8336       lt_prog_compiler_wl='-Wl,'
   8337       # PIC (with -KPIC) is the default.
   8338       lt_prog_compiler_static='-non_shared'
   8339       ;;
   8340 
   8341     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8342       case $cc_basename in
   8343       # old Intel for x86_64 which still supported -KPIC.
   8344       ecc*)
   8345 	lt_prog_compiler_wl='-Wl,'
   8346 	lt_prog_compiler_pic='-KPIC'
   8347 	lt_prog_compiler_static='-static'
   8348         ;;
   8349       # icc used to be incompatible with GCC.
   8350       # ICC 10 doesn't accept -KPIC any more.
   8351       icc* | ifort*)
   8352 	lt_prog_compiler_wl='-Wl,'
   8353 	lt_prog_compiler_pic='-fPIC'
   8354 	lt_prog_compiler_static='-static'
   8355         ;;
   8356       # Lahey Fortran 8.1.
   8357       lf95*)
   8358 	lt_prog_compiler_wl='-Wl,'
   8359 	lt_prog_compiler_pic='--shared'
   8360 	lt_prog_compiler_static='--static'
   8361 	;;
   8362       nagfor*)
   8363 	# NAG Fortran compiler
   8364 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8365 	lt_prog_compiler_pic='-PIC'
   8366 	lt_prog_compiler_static='-Bstatic'
   8367 	;;
   8368       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8369         # Portland Group compilers (*not* the Pentium gcc compiler,
   8370 	# which looks to be a dead project)
   8371 	lt_prog_compiler_wl='-Wl,'
   8372 	lt_prog_compiler_pic='-fpic'
   8373 	lt_prog_compiler_static='-Bstatic'
   8374         ;;
   8375       ccc*)
   8376         lt_prog_compiler_wl='-Wl,'
   8377         # All Alpha code is PIC.
   8378         lt_prog_compiler_static='-non_shared'
   8379         ;;
   8380       xl* | bgxl* | bgf* | mpixl*)
   8381 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8382 	lt_prog_compiler_wl='-Wl,'
   8383 	lt_prog_compiler_pic='-qpic'
   8384 	lt_prog_compiler_static='-qstaticlink'
   8385 	;;
   8386       *)
   8387 	case `$CC -V 2>&1 | sed 5q` in
   8388 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8389 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8390 	  lt_prog_compiler_pic='-KPIC'
   8391 	  lt_prog_compiler_static='-Bstatic'
   8392 	  lt_prog_compiler_wl=''
   8393 	  ;;
   8394 	*Sun\ F* | *Sun*Fortran*)
   8395 	  lt_prog_compiler_pic='-KPIC'
   8396 	  lt_prog_compiler_static='-Bstatic'
   8397 	  lt_prog_compiler_wl='-Qoption ld '
   8398 	  ;;
   8399 	*Sun\ C*)
   8400 	  # Sun C 5.9
   8401 	  lt_prog_compiler_pic='-KPIC'
   8402 	  lt_prog_compiler_static='-Bstatic'
   8403 	  lt_prog_compiler_wl='-Wl,'
   8404 	  ;;
   8405         *Intel*\ [CF]*Compiler*)
   8406 	  lt_prog_compiler_wl='-Wl,'
   8407 	  lt_prog_compiler_pic='-fPIC'
   8408 	  lt_prog_compiler_static='-static'
   8409 	  ;;
   8410 	*Portland\ Group*)
   8411 	  lt_prog_compiler_wl='-Wl,'
   8412 	  lt_prog_compiler_pic='-fpic'
   8413 	  lt_prog_compiler_static='-Bstatic'
   8414 	  ;;
   8415 	esac
   8416 	;;
   8417       esac
   8418       ;;
   8419 
   8420     newsos6)
   8421       lt_prog_compiler_pic='-KPIC'
   8422       lt_prog_compiler_static='-Bstatic'
   8423       ;;
   8424 
   8425     *nto* | *qnx*)
   8426       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8427       # it will coredump.
   8428       lt_prog_compiler_pic='-fPIC -shared'
   8429       ;;
   8430 
   8431     osf3* | osf4* | osf5*)
   8432       lt_prog_compiler_wl='-Wl,'
   8433       # All OSF/1 code is PIC.
   8434       lt_prog_compiler_static='-non_shared'
   8435       ;;
   8436 
   8437     rdos*)
   8438       lt_prog_compiler_static='-non_shared'
   8439       ;;
   8440 
   8441     solaris*)
   8442       lt_prog_compiler_pic='-KPIC'
   8443       lt_prog_compiler_static='-Bstatic'
   8444       case $cc_basename in
   8445       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8446 	lt_prog_compiler_wl='-Qoption ld ';;
   8447       *)
   8448 	lt_prog_compiler_wl='-Wl,';;
   8449       esac
   8450       ;;
   8451 
   8452     sunos4*)
   8453       lt_prog_compiler_wl='-Qoption ld '
   8454       lt_prog_compiler_pic='-PIC'
   8455       lt_prog_compiler_static='-Bstatic'
   8456       ;;
   8457 
   8458     sysv4 | sysv4.2uw2* | sysv4.3*)
   8459       lt_prog_compiler_wl='-Wl,'
   8460       lt_prog_compiler_pic='-KPIC'
   8461       lt_prog_compiler_static='-Bstatic'
   8462       ;;
   8463 
   8464     sysv4*MP*)
   8465       if test -d /usr/nec ;then
   8466 	lt_prog_compiler_pic='-Kconform_pic'
   8467 	lt_prog_compiler_static='-Bstatic'
   8468       fi
   8469       ;;
   8470 
   8471     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8472       lt_prog_compiler_wl='-Wl,'
   8473       lt_prog_compiler_pic='-KPIC'
   8474       lt_prog_compiler_static='-Bstatic'
   8475       ;;
   8476 
   8477     unicos*)
   8478       lt_prog_compiler_wl='-Wl,'
   8479       lt_prog_compiler_can_build_shared=no
   8480       ;;
   8481 
   8482     uts4*)
   8483       lt_prog_compiler_pic='-pic'
   8484       lt_prog_compiler_static='-Bstatic'
   8485       ;;
   8486 
   8487     *)
   8488       lt_prog_compiler_can_build_shared=no
   8489       ;;
   8490     esac
   8491   fi
   8492 
   8493 case $host_os in
   8494   # For platforms which do not support PIC, -DPIC is meaningless:
   8495   *djgpp*)
   8496     lt_prog_compiler_pic=
   8497     ;;
   8498   *)
   8499     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8500     ;;
   8501 esac
   8502 
   8503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8504 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8505 if ${lt_cv_prog_compiler_pic+:} false; then :
   8506   $as_echo_n "(cached) " >&6
   8507 else
   8508   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8509 fi
   8510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8511 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8512 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8513 
   8514 #
   8515 # Check to make sure the PIC flag actually works.
   8516 #
   8517 if test -n "$lt_prog_compiler_pic"; then
   8518   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8519 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8520 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8521   $as_echo_n "(cached) " >&6
   8522 else
   8523   lt_cv_prog_compiler_pic_works=no
   8524    ac_outfile=conftest.$ac_objext
   8525    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8526    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8527    # Insert the option either (1) after the last *FLAGS variable, or
   8528    # (2) before a word containing "conftest.", or (3) at the end.
   8529    # Note that $ac_compile itself does not contain backslashes and begins
   8530    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8531    # The option is referenced via a variable to avoid confusing sed.
   8532    lt_compile=`echo "$ac_compile" | $SED \
   8533    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8534    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8535    -e 's:$: $lt_compiler_flag:'`
   8536    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8537    (eval "$lt_compile" 2>conftest.err)
   8538    ac_status=$?
   8539    cat conftest.err >&5
   8540    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8541    if (exit $ac_status) && test -s "$ac_outfile"; then
   8542      # The compiler can only warn and ignore the option if not recognized
   8543      # So say no if there are warnings other than the usual output.
   8544      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8545      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8546      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8547        lt_cv_prog_compiler_pic_works=yes
   8548      fi
   8549    fi
   8550    $RM conftest*
   8551 
   8552 fi
   8553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8554 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8555 
   8556 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8557     case $lt_prog_compiler_pic in
   8558      "" | " "*) ;;
   8559      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8560      esac
   8561 else
   8562     lt_prog_compiler_pic=
   8563      lt_prog_compiler_can_build_shared=no
   8564 fi
   8565 
   8566 fi
   8567 
   8568 
   8569 
   8570 
   8571 
   8572 
   8573 
   8574 
   8575 
   8576 
   8577 
   8578 #
   8579 # Check to make sure the static flag actually works.
   8580 #
   8581 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8583 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8584 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8585   $as_echo_n "(cached) " >&6
   8586 else
   8587   lt_cv_prog_compiler_static_works=no
   8588    save_LDFLAGS="$LDFLAGS"
   8589    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8590    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8591    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8592      # The linker can only warn and ignore the option if not recognized
   8593      # So say no if there are warnings
   8594      if test -s conftest.err; then
   8595        # Append any errors to the config.log.
   8596        cat conftest.err 1>&5
   8597        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8598        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8599        if diff conftest.exp conftest.er2 >/dev/null; then
   8600          lt_cv_prog_compiler_static_works=yes
   8601        fi
   8602      else
   8603        lt_cv_prog_compiler_static_works=yes
   8604      fi
   8605    fi
   8606    $RM -r conftest*
   8607    LDFLAGS="$save_LDFLAGS"
   8608 
   8609 fi
   8610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8611 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8612 
   8613 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8614     :
   8615 else
   8616     lt_prog_compiler_static=
   8617 fi
   8618 
   8619 
   8620 
   8621 
   8622 
   8623 
   8624 
   8625   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8626 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8627 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8628   $as_echo_n "(cached) " >&6
   8629 else
   8630   lt_cv_prog_compiler_c_o=no
   8631    $RM -r conftest 2>/dev/null
   8632    mkdir conftest
   8633    cd conftest
   8634    mkdir out
   8635    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8636 
   8637    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8638    # Insert the option either (1) after the last *FLAGS variable, or
   8639    # (2) before a word containing "conftest.", or (3) at the end.
   8640    # Note that $ac_compile itself does not contain backslashes and begins
   8641    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8642    lt_compile=`echo "$ac_compile" | $SED \
   8643    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8644    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8645    -e 's:$: $lt_compiler_flag:'`
   8646    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8647    (eval "$lt_compile" 2>out/conftest.err)
   8648    ac_status=$?
   8649    cat out/conftest.err >&5
   8650    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8651    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8652    then
   8653      # The compiler can only warn and ignore the option if not recognized
   8654      # So say no if there are warnings
   8655      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8656      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8657      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8658        lt_cv_prog_compiler_c_o=yes
   8659      fi
   8660    fi
   8661    chmod u+w . 2>&5
   8662    $RM conftest*
   8663    # SGI C++ compiler will create directory out/ii_files/ for
   8664    # template instantiation
   8665    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8666    $RM out/* && rmdir out
   8667    cd ..
   8668    $RM -r conftest
   8669    $RM conftest*
   8670 
   8671 fi
   8672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8673 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8674 
   8675 
   8676 
   8677 
   8678 
   8679 
   8680   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8681 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8682 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8683   $as_echo_n "(cached) " >&6
   8684 else
   8685   lt_cv_prog_compiler_c_o=no
   8686    $RM -r conftest 2>/dev/null
   8687    mkdir conftest
   8688    cd conftest
   8689    mkdir out
   8690    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8691 
   8692    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8693    # Insert the option either (1) after the last *FLAGS variable, or
   8694    # (2) before a word containing "conftest.", or (3) at the end.
   8695    # Note that $ac_compile itself does not contain backslashes and begins
   8696    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8697    lt_compile=`echo "$ac_compile" | $SED \
   8698    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8699    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8700    -e 's:$: $lt_compiler_flag:'`
   8701    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8702    (eval "$lt_compile" 2>out/conftest.err)
   8703    ac_status=$?
   8704    cat out/conftest.err >&5
   8705    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8706    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8707    then
   8708      # The compiler can only warn and ignore the option if not recognized
   8709      # So say no if there are warnings
   8710      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8711      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8712      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8713        lt_cv_prog_compiler_c_o=yes
   8714      fi
   8715    fi
   8716    chmod u+w . 2>&5
   8717    $RM conftest*
   8718    # SGI C++ compiler will create directory out/ii_files/ for
   8719    # template instantiation
   8720    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8721    $RM out/* && rmdir out
   8722    cd ..
   8723    $RM -r conftest
   8724    $RM conftest*
   8725 
   8726 fi
   8727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8728 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8729 
   8730 
   8731 
   8732 
   8733 hard_links="nottested"
   8734 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8735   # do not overwrite the value of need_locks provided by the user
   8736   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8737 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8738   hard_links=yes
   8739   $RM conftest*
   8740   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8741   touch conftest.a
   8742   ln conftest.a conftest.b 2>&5 || hard_links=no
   8743   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8745 $as_echo "$hard_links" >&6; }
   8746   if test "$hard_links" = no; then
   8747     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8748 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8749     need_locks=warn
   8750   fi
   8751 else
   8752   need_locks=no
   8753 fi
   8754 
   8755 
   8756 
   8757 
   8758 
   8759 
   8760   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8761 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8762 
   8763   runpath_var=
   8764   allow_undefined_flag=
   8765   always_export_symbols=no
   8766   archive_cmds=
   8767   archive_expsym_cmds=
   8768   compiler_needs_object=no
   8769   enable_shared_with_static_runtimes=no
   8770   export_dynamic_flag_spec=
   8771   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8772   hardcode_automatic=no
   8773   hardcode_direct=no
   8774   hardcode_direct_absolute=no
   8775   hardcode_libdir_flag_spec=
   8776   hardcode_libdir_separator=
   8777   hardcode_minus_L=no
   8778   hardcode_shlibpath_var=unsupported
   8779   inherit_rpath=no
   8780   link_all_deplibs=unknown
   8781   module_cmds=
   8782   module_expsym_cmds=
   8783   old_archive_from_new_cmds=
   8784   old_archive_from_expsyms_cmds=
   8785   thread_safe_flag_spec=
   8786   whole_archive_flag_spec=
   8787   # include_expsyms should be a list of space-separated symbols to be *always*
   8788   # included in the symbol list
   8789   include_expsyms=
   8790   # exclude_expsyms can be an extended regexp of symbols to exclude
   8791   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8792   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8793   # as well as any symbol that contains `d'.
   8794   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8795   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8796   # platforms (ab)use it in PIC code, but their linkers get confused if
   8797   # the symbol is explicitly referenced.  Since portable code cannot
   8798   # rely on this symbol name, it's probably fine to never include it in
   8799   # preloaded symbol tables.
   8800   # Exclude shared library initialization/finalization symbols.
   8801   extract_expsyms_cmds=
   8802 
   8803   case $host_os in
   8804   cygwin* | mingw* | pw32* | cegcc*)
   8805     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8806     # When not using gcc, we currently assume that we are using
   8807     # Microsoft Visual C++.
   8808     if test "$GCC" != yes; then
   8809       with_gnu_ld=no
   8810     fi
   8811     ;;
   8812   interix*)
   8813     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8814     with_gnu_ld=yes
   8815     ;;
   8816   openbsd*)
   8817     with_gnu_ld=no
   8818     ;;
   8819   esac
   8820 
   8821   ld_shlibs=yes
   8822 
   8823   # On some targets, GNU ld is compatible enough with the native linker
   8824   # that we're better off using the native interface for both.
   8825   lt_use_gnu_ld_interface=no
   8826   if test "$with_gnu_ld" = yes; then
   8827     case $host_os in
   8828       aix*)
   8829 	# The AIX port of GNU ld has always aspired to compatibility
   8830 	# with the native linker.  However, as the warning in the GNU ld
   8831 	# block says, versions before 2.19.5* couldn't really create working
   8832 	# shared libraries, regardless of the interface used.
   8833 	case `$LD -v 2>&1` in
   8834 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8835 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8836 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8837 	  *)
   8838 	    lt_use_gnu_ld_interface=yes
   8839 	    ;;
   8840 	esac
   8841 	;;
   8842       *)
   8843 	lt_use_gnu_ld_interface=yes
   8844 	;;
   8845     esac
   8846   fi
   8847 
   8848   if test "$lt_use_gnu_ld_interface" = yes; then
   8849     # If archive_cmds runs LD, not CC, wlarc should be empty
   8850     wlarc='${wl}'
   8851 
   8852     # Set some defaults for GNU ld with shared library support. These
   8853     # are reset later if shared libraries are not supported. Putting them
   8854     # here allows them to be overridden if necessary.
   8855     runpath_var=LD_RUN_PATH
   8856     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8857     export_dynamic_flag_spec='${wl}--export-dynamic'
   8858     # ancient GNU ld didn't support --whole-archive et. al.
   8859     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8860       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8861     else
   8862       whole_archive_flag_spec=
   8863     fi
   8864     supports_anon_versioning=no
   8865     case `$LD -v 2>&1` in
   8866       *GNU\ gold*) supports_anon_versioning=yes ;;
   8867       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8868       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8869       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8870       *\ 2.11.*) ;; # other 2.11 versions
   8871       *) supports_anon_versioning=yes ;;
   8872     esac
   8873 
   8874     # See if GNU ld supports shared libraries.
   8875     case $host_os in
   8876     aix[3-9]*)
   8877       # On AIX/PPC, the GNU linker is very broken
   8878       if test "$host_cpu" != ia64; then
   8879 	ld_shlibs=no
   8880 	cat <<_LT_EOF 1>&2
   8881 
   8882 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8883 *** to be unable to reliably create shared libraries on AIX.
   8884 *** Therefore, libtool is disabling shared libraries support.  If you
   8885 *** really care for shared libraries, you may want to install binutils
   8886 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8887 *** You will then need to restart the configuration process.
   8888 
   8889 _LT_EOF
   8890       fi
   8891       ;;
   8892 
   8893     amigaos*)
   8894       case $host_cpu in
   8895       powerpc)
   8896             # see comment about AmigaOS4 .so support
   8897             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8898             archive_expsym_cmds=''
   8899         ;;
   8900       m68k)
   8901             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)'
   8902             hardcode_libdir_flag_spec='-L$libdir'
   8903             hardcode_minus_L=yes
   8904         ;;
   8905       esac
   8906       ;;
   8907 
   8908     beos*)
   8909       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8910 	allow_undefined_flag=unsupported
   8911 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8912 	# support --undefined.  This deserves some investigation.  FIXME
   8913 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8914       else
   8915 	ld_shlibs=no
   8916       fi
   8917       ;;
   8918 
   8919     cygwin* | mingw* | pw32* | cegcc*)
   8920       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8921       # as there is no search path for DLLs.
   8922       hardcode_libdir_flag_spec='-L$libdir'
   8923       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8924       allow_undefined_flag=unsupported
   8925       always_export_symbols=no
   8926       enable_shared_with_static_runtimes=yes
   8927       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'
   8928       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   8929 
   8930       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8931         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8932 	# If the export-symbols file already is a .def file (1st line
   8933 	# is EXPORTS), use it as is; otherwise, prepend...
   8934 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8935 	  cp $export_symbols $output_objdir/$soname.def;
   8936 	else
   8937 	  echo EXPORTS > $output_objdir/$soname.def;
   8938 	  cat $export_symbols >> $output_objdir/$soname.def;
   8939 	fi~
   8940 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8941       else
   8942 	ld_shlibs=no
   8943       fi
   8944       ;;
   8945 
   8946     haiku*)
   8947       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8948       link_all_deplibs=yes
   8949       ;;
   8950 
   8951     interix[3-9]*)
   8952       hardcode_direct=no
   8953       hardcode_shlibpath_var=no
   8954       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8955       export_dynamic_flag_spec='${wl}-E'
   8956       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8957       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8958       # default) and relocated if they conflict, which is a slow very memory
   8959       # consuming and fragmenting process.  To avoid this, we pick a random,
   8960       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8961       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8962       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8963       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'
   8964       ;;
   8965 
   8966     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8967       tmp_diet=no
   8968       if test "$host_os" = linux-dietlibc; then
   8969 	case $cc_basename in
   8970 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8971 	esac
   8972       fi
   8973       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8974 	 && test "$tmp_diet" = no
   8975       then
   8976 	tmp_addflag=' $pic_flag'
   8977 	tmp_sharedflag='-shared'
   8978 	case $cc_basename,$host_cpu in
   8979         pgcc*)				# Portland Group C compiler
   8980 	  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'
   8981 	  tmp_addflag=' $pic_flag'
   8982 	  ;;
   8983 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8984 					# Portland Group f77 and f90 compilers
   8985 	  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'
   8986 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8987 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8988 	  tmp_addflag=' -i_dynamic' ;;
   8989 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8990 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8991 	ifc* | ifort*)			# Intel Fortran compiler
   8992 	  tmp_addflag=' -nofor_main' ;;
   8993 	lf95*)				# Lahey Fortran 8.1
   8994 	  whole_archive_flag_spec=
   8995 	  tmp_sharedflag='--shared' ;;
   8996 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8997 	  tmp_sharedflag='-qmkshrobj'
   8998 	  tmp_addflag= ;;
   8999 	nvcc*)	# Cuda Compiler Driver 2.2
   9000 	  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'
   9001 	  compiler_needs_object=yes
   9002 	  ;;
   9003 	esac
   9004 	case `$CC -V 2>&1 | sed 5q` in
   9005 	*Sun\ C*)			# Sun C 5.9
   9006 	  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'
   9007 	  compiler_needs_object=yes
   9008 	  tmp_sharedflag='-G' ;;
   9009 	*Sun\ F*)			# Sun Fortran 8.3
   9010 	  tmp_sharedflag='-G' ;;
   9011 	esac
   9012 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9013 
   9014         if test "x$supports_anon_versioning" = xyes; then
   9015           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9016 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9017 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   9018 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   9019         fi
   9020 
   9021 	case $cc_basename in
   9022 	xlf* | bgf* | bgxlf* | mpixlf*)
   9023 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9024 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9025 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9026 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   9027 	  if test "x$supports_anon_versioning" = xyes; then
   9028 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9029 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9030 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   9031 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9032 	  fi
   9033 	  ;;
   9034 	esac
   9035       else
   9036         ld_shlibs=no
   9037       fi
   9038       ;;
   9039 
   9040     netbsd*)
   9041       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9042 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9043 	wlarc=
   9044       else
   9045 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9046 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9047       fi
   9048       ;;
   9049 
   9050     solaris*)
   9051       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9052 	ld_shlibs=no
   9053 	cat <<_LT_EOF 1>&2
   9054 
   9055 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9056 *** create shared libraries on Solaris systems.  Therefore, libtool
   9057 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9058 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9059 *** your PATH or compiler configuration so that the native linker is
   9060 *** used, and then restart.
   9061 
   9062 _LT_EOF
   9063       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9064 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9065 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9066       else
   9067 	ld_shlibs=no
   9068       fi
   9069       ;;
   9070 
   9071     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9072       case `$LD -v 2>&1` in
   9073         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9074 	ld_shlibs=no
   9075 	cat <<_LT_EOF 1>&2
   9076 
   9077 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   9078 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9079 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9080 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9081 *** your PATH or compiler configuration so that the native linker is
   9082 *** used, and then restart.
   9083 
   9084 _LT_EOF
   9085 	;;
   9086 	*)
   9087 	  # For security reasons, it is highly recommended that you always
   9088 	  # use absolute paths for naming shared libraries, and exclude the
   9089 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9090 	  # requires that you compile everything twice, which is a pain.
   9091 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9092 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9093 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9094 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9095 	  else
   9096 	    ld_shlibs=no
   9097 	  fi
   9098 	;;
   9099       esac
   9100       ;;
   9101 
   9102     sunos4*)
   9103       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9104       wlarc=
   9105       hardcode_direct=yes
   9106       hardcode_shlibpath_var=no
   9107       ;;
   9108 
   9109     *)
   9110       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9111 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9112 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9113       else
   9114 	ld_shlibs=no
   9115       fi
   9116       ;;
   9117     esac
   9118 
   9119     if test "$ld_shlibs" = no; then
   9120       runpath_var=
   9121       hardcode_libdir_flag_spec=
   9122       export_dynamic_flag_spec=
   9123       whole_archive_flag_spec=
   9124     fi
   9125   else
   9126     # PORTME fill in a description of your system's linker (not GNU ld)
   9127     case $host_os in
   9128     aix3*)
   9129       allow_undefined_flag=unsupported
   9130       always_export_symbols=yes
   9131       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'
   9132       # Note: this linker hardcodes the directories in LIBPATH if there
   9133       # are no directories specified by -L.
   9134       hardcode_minus_L=yes
   9135       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   9136 	# Neither direct hardcoding nor static linking is supported with a
   9137 	# broken collect2.
   9138 	hardcode_direct=unsupported
   9139       fi
   9140       ;;
   9141 
   9142     aix[4-9]*)
   9143       if test "$host_cpu" = ia64; then
   9144 	# On IA64, the linker does run time linking by default, so we don't
   9145 	# have to do anything special.
   9146 	aix_use_runtimelinking=no
   9147 	exp_sym_flag='-Bexport'
   9148 	no_entry_flag=""
   9149       else
   9150 	# If we're using GNU nm, then we don't want the "-C" option.
   9151 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   9152 	# Also, AIX nm treats weak defined symbols like other global
   9153 	# defined symbols, whereas GNU nm marks them as "W".
   9154 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9155 	  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'
   9156 	else
   9157 	  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'
   9158 	fi
   9159 	aix_use_runtimelinking=no
   9160 
   9161 	# Test if we are trying to use run time linking or normal
   9162 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9163 	# need to do runtime linking.
   9164 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9165 	  for ld_flag in $LDFLAGS; do
   9166 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   9167 	    aix_use_runtimelinking=yes
   9168 	    break
   9169 	  fi
   9170 	  done
   9171 	  ;;
   9172 	esac
   9173 
   9174 	exp_sym_flag='-bexport'
   9175 	no_entry_flag='-bnoentry'
   9176       fi
   9177 
   9178       # When large executables or shared objects are built, AIX ld can
   9179       # have problems creating the table of contents.  If linking a library
   9180       # or program results in "error TOC overflow" add -mminimal-toc to
   9181       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9182       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9183 
   9184       archive_cmds=''
   9185       hardcode_direct=yes
   9186       hardcode_direct_absolute=yes
   9187       hardcode_libdir_separator=':'
   9188       link_all_deplibs=yes
   9189       file_list_spec='${wl}-f,'
   9190 
   9191       if test "$GCC" = yes; then
   9192 	case $host_os in aix4.[012]|aix4.[012].*)
   9193 	# We only want to do this on AIX 4.2 and lower, the check
   9194 	# below for broken collect2 doesn't work under 4.3+
   9195 	  collect2name=`${CC} -print-prog-name=collect2`
   9196 	  if test -f "$collect2name" &&
   9197 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9198 	  then
   9199 	  # We have reworked collect2
   9200 	  :
   9201 	  else
   9202 	  # We have old collect2
   9203 	  hardcode_direct=unsupported
   9204 	  # It fails to find uninstalled libraries when the uninstalled
   9205 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9206 	  # to unsupported forces relinking
   9207 	  hardcode_minus_L=yes
   9208 	  hardcode_libdir_flag_spec='-L$libdir'
   9209 	  hardcode_libdir_separator=
   9210 	  fi
   9211 	  ;;
   9212 	esac
   9213 	shared_flag='-shared'
   9214 	if test "$aix_use_runtimelinking" = yes; then
   9215 	  shared_flag="$shared_flag "'${wl}-G'
   9216 	fi
   9217       else
   9218 	# not using gcc
   9219 	if test "$host_cpu" = ia64; then
   9220 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9221 	# chokes on -Wl,-G. The following line is correct:
   9222 	  shared_flag='-G'
   9223 	else
   9224 	  if test "$aix_use_runtimelinking" = yes; then
   9225 	    shared_flag='${wl}-G'
   9226 	  else
   9227 	    shared_flag='${wl}-bM:SRE'
   9228 	  fi
   9229 	fi
   9230       fi
   9231 
   9232       export_dynamic_flag_spec='${wl}-bexpall'
   9233       # It seems that -bexpall does not export symbols beginning with
   9234       # underscore (_), so it is better to generate a list of symbols to export.
   9235       always_export_symbols=yes
   9236       if test "$aix_use_runtimelinking" = yes; then
   9237 	# Warning - without using the other runtime loading flags (-brtl),
   9238 	# -berok will link without error, but may produce a broken library.
   9239 	allow_undefined_flag='-berok'
   9240         # Determine the default libpath from the value encoded in an
   9241         # empty executable.
   9242         if test "${lt_cv_aix_libpath+set}" = set; then
   9243   aix_libpath=$lt_cv_aix_libpath
   9244 else
   9245   if ${lt_cv_aix_libpath_+:} false; then :
   9246   $as_echo_n "(cached) " >&6
   9247 else
   9248   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9249 /* end confdefs.h.  */
   9250 
   9251 int
   9252 main ()
   9253 {
   9254 
   9255   ;
   9256   return 0;
   9257 }
   9258 _ACEOF
   9259 if ac_fn_c_try_link "$LINENO"; then :
   9260 
   9261   lt_aix_libpath_sed='
   9262       /Import File Strings/,/^$/ {
   9263 	  /^0/ {
   9264 	      s/^0  *\([^ ]*\) *$/\1/
   9265 	      p
   9266 	  }
   9267       }'
   9268   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9269   # Check for a 64-bit object if we didn't find anything.
   9270   if test -z "$lt_cv_aix_libpath_"; then
   9271     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9272   fi
   9273 fi
   9274 rm -f core conftest.err conftest.$ac_objext \
   9275     conftest$ac_exeext conftest.$ac_ext
   9276   if test -z "$lt_cv_aix_libpath_"; then
   9277     lt_cv_aix_libpath_="/usr/lib:/lib"
   9278   fi
   9279 
   9280 fi
   9281 
   9282   aix_libpath=$lt_cv_aix_libpath_
   9283 fi
   9284 
   9285         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9286         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"
   9287       else
   9288 	if test "$host_cpu" = ia64; then
   9289 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9290 	  allow_undefined_flag="-z nodefs"
   9291 	  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"
   9292 	else
   9293 	 # Determine the default libpath from the value encoded in an
   9294 	 # empty executable.
   9295 	 if test "${lt_cv_aix_libpath+set}" = set; then
   9296   aix_libpath=$lt_cv_aix_libpath
   9297 else
   9298   if ${lt_cv_aix_libpath_+:} false; then :
   9299   $as_echo_n "(cached) " >&6
   9300 else
   9301   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9302 /* end confdefs.h.  */
   9303 
   9304 int
   9305 main ()
   9306 {
   9307 
   9308   ;
   9309   return 0;
   9310 }
   9311 _ACEOF
   9312 if ac_fn_c_try_link "$LINENO"; then :
   9313 
   9314   lt_aix_libpath_sed='
   9315       /Import File Strings/,/^$/ {
   9316 	  /^0/ {
   9317 	      s/^0  *\([^ ]*\) *$/\1/
   9318 	      p
   9319 	  }
   9320       }'
   9321   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9322   # Check for a 64-bit object if we didn't find anything.
   9323   if test -z "$lt_cv_aix_libpath_"; then
   9324     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9325   fi
   9326 fi
   9327 rm -f core conftest.err conftest.$ac_objext \
   9328     conftest$ac_exeext conftest.$ac_ext
   9329   if test -z "$lt_cv_aix_libpath_"; then
   9330     lt_cv_aix_libpath_="/usr/lib:/lib"
   9331   fi
   9332 
   9333 fi
   9334 
   9335   aix_libpath=$lt_cv_aix_libpath_
   9336 fi
   9337 
   9338 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9339 	  # Warning - without using the other run time loading flags,
   9340 	  # -berok will link without error, but may produce a broken library.
   9341 	  no_undefined_flag=' ${wl}-bernotok'
   9342 	  allow_undefined_flag=' ${wl}-berok'
   9343 	  if test "$with_gnu_ld" = yes; then
   9344 	    # We only use this code for GNU lds that support --whole-archive.
   9345 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9346 	  else
   9347 	    # Exported symbols can be pulled into shared objects from archives
   9348 	    whole_archive_flag_spec='$convenience'
   9349 	  fi
   9350 	  archive_cmds_need_lc=yes
   9351 	  # This is similar to how AIX traditionally builds its shared libraries.
   9352 	  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'
   9353 	fi
   9354       fi
   9355       ;;
   9356 
   9357     amigaos*)
   9358       case $host_cpu in
   9359       powerpc)
   9360             # see comment about AmigaOS4 .so support
   9361             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9362             archive_expsym_cmds=''
   9363         ;;
   9364       m68k)
   9365             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
   9366             hardcode_libdir_flag_spec='-L$libdir'
   9367             hardcode_minus_L=yes
   9368         ;;
   9369       esac
   9370       ;;
   9371 
   9372     bsdi[45]*)
   9373       export_dynamic_flag_spec=-rdynamic
   9374       ;;
   9375 
   9376     cygwin* | mingw* | pw32* | cegcc*)
   9377       # When not using gcc, we currently assume that we are using
   9378       # Microsoft Visual C++.
   9379       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9380       # no search path for DLLs.
   9381       case $cc_basename in
   9382       cl*)
   9383 	# Native MSVC
   9384 	hardcode_libdir_flag_spec=' '
   9385 	allow_undefined_flag=unsupported
   9386 	always_export_symbols=yes
   9387 	file_list_spec='@'
   9388 	# Tell ltmain to make .lib files, not .a files.
   9389 	libext=lib
   9390 	# Tell ltmain to make .dll files, not .so files.
   9391 	shrext_cmds=".dll"
   9392 	# FIXME: Setting linknames here is a bad hack.
   9393 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   9394 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9395 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   9396 	  else
   9397 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   9398 	  fi~
   9399 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9400 	  linknames='
   9401 	# The linker will not automatically build a static lib if we build a DLL.
   9402 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9403 	enable_shared_with_static_runtimes=yes
   9404 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9405 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9406 	# Don't use ranlib
   9407 	old_postinstall_cmds='chmod 644 $oldlib'
   9408 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9409 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   9410 	  case $lt_outputfile in
   9411 	    *.exe|*.EXE) ;;
   9412 	    *)
   9413 	      lt_outputfile="$lt_outputfile.exe"
   9414 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   9415 	      ;;
   9416 	  esac~
   9417 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   9418 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9419 	    $RM "$lt_outputfile.manifest";
   9420 	  fi'
   9421 	;;
   9422       *)
   9423 	# Assume MSVC wrapper
   9424 	hardcode_libdir_flag_spec=' '
   9425 	allow_undefined_flag=unsupported
   9426 	# Tell ltmain to make .lib files, not .a files.
   9427 	libext=lib
   9428 	# Tell ltmain to make .dll files, not .so files.
   9429 	shrext_cmds=".dll"
   9430 	# FIXME: Setting linknames here is a bad hack.
   9431 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9432 	# The linker will automatically build a .lib file if we build a DLL.
   9433 	old_archive_from_new_cmds='true'
   9434 	# FIXME: Should let the user specify the lib program.
   9435 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9436 	enable_shared_with_static_runtimes=yes
   9437 	;;
   9438       esac
   9439       ;;
   9440 
   9441     darwin* | rhapsody*)
   9442 
   9443 
   9444   archive_cmds_need_lc=no
   9445   hardcode_direct=no
   9446   hardcode_automatic=yes
   9447   hardcode_shlibpath_var=unsupported
   9448   if test "$lt_cv_ld_force_load" = "yes"; then
   9449     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\"`'
   9450 
   9451   else
   9452     whole_archive_flag_spec=''
   9453   fi
   9454   link_all_deplibs=yes
   9455   allow_undefined_flag="$_lt_dar_allow_undefined"
   9456   case $cc_basename in
   9457      ifort*) _lt_dar_can_shared=yes ;;
   9458      *) _lt_dar_can_shared=$GCC ;;
   9459   esac
   9460   if test "$_lt_dar_can_shared" = "yes"; then
   9461     output_verbose_link_cmd=func_echo_all
   9462     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9463     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9464     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}"
   9465     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}"
   9466 
   9467   else
   9468   ld_shlibs=no
   9469   fi
   9470 
   9471       ;;
   9472 
   9473     dgux*)
   9474       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9475       hardcode_libdir_flag_spec='-L$libdir'
   9476       hardcode_shlibpath_var=no
   9477       ;;
   9478 
   9479     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9480     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9481     # does not break anything, and helps significantly (at the cost of a little
   9482     # extra space).
   9483     freebsd2.2*)
   9484       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9485       hardcode_libdir_flag_spec='-R$libdir'
   9486       hardcode_direct=yes
   9487       hardcode_shlibpath_var=no
   9488       ;;
   9489 
   9490     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9491     freebsd2.*)
   9492       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9493       hardcode_direct=yes
   9494       hardcode_minus_L=yes
   9495       hardcode_shlibpath_var=no
   9496       ;;
   9497 
   9498     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9499     freebsd* | dragonfly*)
   9500       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9501       hardcode_libdir_flag_spec='-R$libdir'
   9502       hardcode_direct=yes
   9503       hardcode_shlibpath_var=no
   9504       ;;
   9505 
   9506     hpux9*)
   9507       if test "$GCC" = yes; then
   9508 	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'
   9509       else
   9510 	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'
   9511       fi
   9512       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9513       hardcode_libdir_separator=:
   9514       hardcode_direct=yes
   9515 
   9516       # hardcode_minus_L: Not really in the search PATH,
   9517       # but as the default location of the library.
   9518       hardcode_minus_L=yes
   9519       export_dynamic_flag_spec='${wl}-E'
   9520       ;;
   9521 
   9522     hpux10*)
   9523       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9524 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9525       else
   9526 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9527       fi
   9528       if test "$with_gnu_ld" = no; then
   9529 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9530 	hardcode_libdir_separator=:
   9531 	hardcode_direct=yes
   9532 	hardcode_direct_absolute=yes
   9533 	export_dynamic_flag_spec='${wl}-E'
   9534 	# hardcode_minus_L: Not really in the search PATH,
   9535 	# but as the default location of the library.
   9536 	hardcode_minus_L=yes
   9537       fi
   9538       ;;
   9539 
   9540     hpux11*)
   9541       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9542 	case $host_cpu in
   9543 	hppa*64*)
   9544 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9545 	  ;;
   9546 	ia64*)
   9547 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9548 	  ;;
   9549 	*)
   9550 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9551 	  ;;
   9552 	esac
   9553       else
   9554 	case $host_cpu in
   9555 	hppa*64*)
   9556 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9557 	  ;;
   9558 	ia64*)
   9559 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9560 	  ;;
   9561 	*)
   9562 
   9563 	  # Older versions of the 11.00 compiler do not understand -b yet
   9564 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9565 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9566 $as_echo_n "checking if $CC understands -b... " >&6; }
   9567 if ${lt_cv_prog_compiler__b+:} false; then :
   9568   $as_echo_n "(cached) " >&6
   9569 else
   9570   lt_cv_prog_compiler__b=no
   9571    save_LDFLAGS="$LDFLAGS"
   9572    LDFLAGS="$LDFLAGS -b"
   9573    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9574    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9575      # The linker can only warn and ignore the option if not recognized
   9576      # So say no if there are warnings
   9577      if test -s conftest.err; then
   9578        # Append any errors to the config.log.
   9579        cat conftest.err 1>&5
   9580        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9581        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9582        if diff conftest.exp conftest.er2 >/dev/null; then
   9583          lt_cv_prog_compiler__b=yes
   9584        fi
   9585      else
   9586        lt_cv_prog_compiler__b=yes
   9587      fi
   9588    fi
   9589    $RM -r conftest*
   9590    LDFLAGS="$save_LDFLAGS"
   9591 
   9592 fi
   9593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9594 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9595 
   9596 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9597     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9598 else
   9599     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9600 fi
   9601 
   9602 	  ;;
   9603 	esac
   9604       fi
   9605       if test "$with_gnu_ld" = no; then
   9606 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9607 	hardcode_libdir_separator=:
   9608 
   9609 	case $host_cpu in
   9610 	hppa*64*|ia64*)
   9611 	  hardcode_direct=no
   9612 	  hardcode_shlibpath_var=no
   9613 	  ;;
   9614 	*)
   9615 	  hardcode_direct=yes
   9616 	  hardcode_direct_absolute=yes
   9617 	  export_dynamic_flag_spec='${wl}-E'
   9618 
   9619 	  # hardcode_minus_L: Not really in the search PATH,
   9620 	  # but as the default location of the library.
   9621 	  hardcode_minus_L=yes
   9622 	  ;;
   9623 	esac
   9624       fi
   9625       ;;
   9626 
   9627     irix5* | irix6* | nonstopux*)
   9628       if test "$GCC" = yes; then
   9629 	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'
   9630 	# Try to use the -exported_symbol ld option, if it does not
   9631 	# work, assume that -exports_file does not work either and
   9632 	# implicitly export all symbols.
   9633 	# This should be the same for all languages, so no per-tag cache variable.
   9634 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9635 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9636 if ${lt_cv_irix_exported_symbol+:} false; then :
   9637   $as_echo_n "(cached) " >&6
   9638 else
   9639   save_LDFLAGS="$LDFLAGS"
   9640 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9641 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9642 /* end confdefs.h.  */
   9643 int foo (void) { return 0; }
   9644 _ACEOF
   9645 if ac_fn_c_try_link "$LINENO"; then :
   9646   lt_cv_irix_exported_symbol=yes
   9647 else
   9648   lt_cv_irix_exported_symbol=no
   9649 fi
   9650 rm -f core conftest.err conftest.$ac_objext \
   9651     conftest$ac_exeext conftest.$ac_ext
   9652            LDFLAGS="$save_LDFLAGS"
   9653 fi
   9654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9655 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9656 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9657           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'
   9658 	fi
   9659       else
   9660 	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'
   9661 	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'
   9662       fi
   9663       archive_cmds_need_lc='no'
   9664       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9665       hardcode_libdir_separator=:
   9666       inherit_rpath=yes
   9667       link_all_deplibs=yes
   9668       ;;
   9669 
   9670     netbsd*)
   9671       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9672 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9673       else
   9674 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9675       fi
   9676       hardcode_libdir_flag_spec='-R$libdir'
   9677       hardcode_direct=yes
   9678       hardcode_shlibpath_var=no
   9679       ;;
   9680 
   9681     newsos6)
   9682       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9683       hardcode_direct=yes
   9684       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9685       hardcode_libdir_separator=:
   9686       hardcode_shlibpath_var=no
   9687       ;;
   9688 
   9689     *nto* | *qnx*)
   9690       ;;
   9691 
   9692     openbsd*)
   9693       if test -f /usr/libexec/ld.so; then
   9694 	hardcode_direct=yes
   9695 	hardcode_shlibpath_var=no
   9696 	hardcode_direct_absolute=yes
   9697 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9698 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9699 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9700 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9701 	  export_dynamic_flag_spec='${wl}-E'
   9702 	else
   9703 	  case $host_os in
   9704 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9705 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9706 	     hardcode_libdir_flag_spec='-R$libdir'
   9707 	     ;;
   9708 	   *)
   9709 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9710 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9711 	     ;;
   9712 	  esac
   9713 	fi
   9714       else
   9715 	ld_shlibs=no
   9716       fi
   9717       ;;
   9718 
   9719     os2*)
   9720       hardcode_libdir_flag_spec='-L$libdir'
   9721       hardcode_minus_L=yes
   9722       allow_undefined_flag=unsupported
   9723       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'
   9724       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9725       ;;
   9726 
   9727     osf3*)
   9728       if test "$GCC" = yes; then
   9729 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9730 	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'
   9731       else
   9732 	allow_undefined_flag=' -expect_unresolved \*'
   9733 	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'
   9734       fi
   9735       archive_cmds_need_lc='no'
   9736       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9737       hardcode_libdir_separator=:
   9738       ;;
   9739 
   9740     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9741       if test "$GCC" = yes; then
   9742 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9743 	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'
   9744 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9745       else
   9746 	allow_undefined_flag=' -expect_unresolved \*'
   9747 	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'
   9748 	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~
   9749 	$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'
   9750 
   9751 	# Both c and cxx compiler support -rpath directly
   9752 	hardcode_libdir_flag_spec='-rpath $libdir'
   9753       fi
   9754       archive_cmds_need_lc='no'
   9755       hardcode_libdir_separator=:
   9756       ;;
   9757 
   9758     solaris*)
   9759       no_undefined_flag=' -z defs'
   9760       if test "$GCC" = yes; then
   9761 	wlarc='${wl}'
   9762 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9763 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9764 	  $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'
   9765       else
   9766 	case `$CC -V 2>&1` in
   9767 	*"Compilers 5.0"*)
   9768 	  wlarc=''
   9769 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9770 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9771 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9772 	  ;;
   9773 	*)
   9774 	  wlarc='${wl}'
   9775 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9776 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9777 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9778 	  ;;
   9779 	esac
   9780       fi
   9781       hardcode_libdir_flag_spec='-R$libdir'
   9782       hardcode_shlibpath_var=no
   9783       case $host_os in
   9784       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9785       *)
   9786 	# The compiler driver will combine and reorder linker options,
   9787 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9788 	# but is careful enough not to reorder.
   9789 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9790 	if test "$GCC" = yes; then
   9791 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9792 	else
   9793 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9794 	fi
   9795 	;;
   9796       esac
   9797       link_all_deplibs=yes
   9798       ;;
   9799 
   9800     sunos4*)
   9801       if test "x$host_vendor" = xsequent; then
   9802 	# Use $CC to link under sequent, because it throws in some extra .o
   9803 	# files that make .init and .fini sections work.
   9804 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9805       else
   9806 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9807       fi
   9808       hardcode_libdir_flag_spec='-L$libdir'
   9809       hardcode_direct=yes
   9810       hardcode_minus_L=yes
   9811       hardcode_shlibpath_var=no
   9812       ;;
   9813 
   9814     sysv4)
   9815       case $host_vendor in
   9816 	sni)
   9817 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9818 	  hardcode_direct=yes # is this really true???
   9819 	;;
   9820 	siemens)
   9821 	  ## LD is ld it makes a PLAMLIB
   9822 	  ## CC just makes a GrossModule.
   9823 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9824 	  reload_cmds='$CC -r -o $output$reload_objs'
   9825 	  hardcode_direct=no
   9826         ;;
   9827 	motorola)
   9828 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9829 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9830 	;;
   9831       esac
   9832       runpath_var='LD_RUN_PATH'
   9833       hardcode_shlibpath_var=no
   9834       ;;
   9835 
   9836     sysv4.3*)
   9837       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9838       hardcode_shlibpath_var=no
   9839       export_dynamic_flag_spec='-Bexport'
   9840       ;;
   9841 
   9842     sysv4*MP*)
   9843       if test -d /usr/nec; then
   9844 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9845 	hardcode_shlibpath_var=no
   9846 	runpath_var=LD_RUN_PATH
   9847 	hardcode_runpath_var=yes
   9848 	ld_shlibs=yes
   9849       fi
   9850       ;;
   9851 
   9852     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9853       no_undefined_flag='${wl}-z,text'
   9854       archive_cmds_need_lc=no
   9855       hardcode_shlibpath_var=no
   9856       runpath_var='LD_RUN_PATH'
   9857 
   9858       if test "$GCC" = yes; then
   9859 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9860 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9861       else
   9862 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9863 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9864       fi
   9865       ;;
   9866 
   9867     sysv5* | sco3.2v5* | sco5v6*)
   9868       # Note: We can NOT use -z defs as we might desire, because we do not
   9869       # link with -lc, and that would cause any symbols used from libc to
   9870       # always be unresolved, which means just about no library would
   9871       # ever link correctly.  If we're not using GNU ld we use -z text
   9872       # though, which does catch some bad symbols but isn't as heavy-handed
   9873       # as -z defs.
   9874       no_undefined_flag='${wl}-z,text'
   9875       allow_undefined_flag='${wl}-z,nodefs'
   9876       archive_cmds_need_lc=no
   9877       hardcode_shlibpath_var=no
   9878       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9879       hardcode_libdir_separator=':'
   9880       link_all_deplibs=yes
   9881       export_dynamic_flag_spec='${wl}-Bexport'
   9882       runpath_var='LD_RUN_PATH'
   9883 
   9884       if test "$GCC" = yes; then
   9885 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9886 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9887       else
   9888 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9889 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9890       fi
   9891       ;;
   9892 
   9893     uts4*)
   9894       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9895       hardcode_libdir_flag_spec='-L$libdir'
   9896       hardcode_shlibpath_var=no
   9897       ;;
   9898 
   9899     *)
   9900       ld_shlibs=no
   9901       ;;
   9902     esac
   9903 
   9904     if test x$host_vendor = xsni; then
   9905       case $host in
   9906       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9907 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9908 	;;
   9909       esac
   9910     fi
   9911   fi
   9912 
   9913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9914 $as_echo "$ld_shlibs" >&6; }
   9915 test "$ld_shlibs" = no && can_build_shared=no
   9916 
   9917 with_gnu_ld=$with_gnu_ld
   9918 
   9919 
   9920 
   9921 
   9922 
   9923 
   9924 
   9925 
   9926 
   9927 
   9928 
   9929 
   9930 
   9931 
   9932 
   9933 #
   9934 # Do we need to explicitly link libc?
   9935 #
   9936 case "x$archive_cmds_need_lc" in
   9937 x|xyes)
   9938   # Assume -lc should be added
   9939   archive_cmds_need_lc=yes
   9940 
   9941   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9942     case $archive_cmds in
   9943     *'~'*)
   9944       # FIXME: we may have to deal with multi-command sequences.
   9945       ;;
   9946     '$CC '*)
   9947       # Test whether the compiler implicitly links with -lc since on some
   9948       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9949       # to ld, don't add -lc before -lgcc.
   9950       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9951 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9952 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9953   $as_echo_n "(cached) " >&6
   9954 else
   9955   $RM conftest*
   9956 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9957 
   9958 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9959   (eval $ac_compile) 2>&5
   9960   ac_status=$?
   9961   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9962   test $ac_status = 0; } 2>conftest.err; then
   9963 	  soname=conftest
   9964 	  lib=conftest
   9965 	  libobjs=conftest.$ac_objext
   9966 	  deplibs=
   9967 	  wl=$lt_prog_compiler_wl
   9968 	  pic_flag=$lt_prog_compiler_pic
   9969 	  compiler_flags=-v
   9970 	  linker_flags=-v
   9971 	  verstring=
   9972 	  output_objdir=.
   9973 	  libname=conftest
   9974 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9975 	  allow_undefined_flag=
   9976 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9977   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9978   ac_status=$?
   9979   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9980   test $ac_status = 0; }
   9981 	  then
   9982 	    lt_cv_archive_cmds_need_lc=no
   9983 	  else
   9984 	    lt_cv_archive_cmds_need_lc=yes
   9985 	  fi
   9986 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9987 	else
   9988 	  cat conftest.err 1>&5
   9989 	fi
   9990 	$RM conftest*
   9991 
   9992 fi
   9993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9994 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9995       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9996       ;;
   9997     esac
   9998   fi
   9999   ;;
   10000 esac
   10001 
   10002 
   10003 
   10004 
   10005 
   10006 
   10007 
   10008 
   10009 
   10010 
   10011 
   10012 
   10013 
   10014 
   10015 
   10016 
   10017 
   10018 
   10019 
   10020 
   10021 
   10022 
   10023 
   10024 
   10025 
   10026 
   10027 
   10028 
   10029 
   10030 
   10031 
   10032 
   10033 
   10034 
   10035 
   10036 
   10037 
   10038 
   10039 
   10040 
   10041 
   10042 
   10043 
   10044 
   10045 
   10046 
   10047 
   10048 
   10049 
   10050 
   10051 
   10052 
   10053 
   10054 
   10055 
   10056 
   10057 
   10058 
   10059 
   10060 
   10061 
   10062 
   10063 
   10064 
   10065 
   10066 
   10067 
   10068 
   10069 
   10070 
   10071 
   10072 
   10073 
   10074 
   10075 
   10076 
   10077 
   10078 
   10079 
   10080 
   10081 
   10082 
   10083 
   10084 
   10085 
   10086 
   10087 
   10088 
   10089 
   10090 
   10091 
   10092 
   10093 
   10094 
   10095 
   10096 
   10097 
   10098 
   10099 
   10100 
   10101 
   10102 
   10103 
   10104 
   10105 
   10106 
   10107 
   10108 
   10109 
   10110 
   10111 
   10112 
   10113 
   10114 
   10115 
   10116 
   10117 
   10118 
   10119 
   10120 
   10121 
   10122 
   10123 
   10124 
   10125 
   10126 
   10127 
   10128 
   10129 
   10130 
   10131 
   10132 
   10133 
   10134 
   10135 
   10136 
   10137 
   10138 
   10139 
   10140 
   10141 
   10142 
   10143 
   10144 
   10145 
   10146 
   10147 
   10148 
   10149 
   10150 
   10151 
   10152 
   10153   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10154 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10155 
   10156 if test "$GCC" = yes; then
   10157   case $host_os in
   10158     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   10159     *) lt_awk_arg="/^libraries:/" ;;
   10160   esac
   10161   case $host_os in
   10162     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   10163     *) lt_sed_strip_eq="s,=/,/,g" ;;
   10164   esac
   10165   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10166   case $lt_search_path_spec in
   10167   *\;*)
   10168     # if the path contains ";" then we assume it to be the separator
   10169     # otherwise default to the standard path separator (i.e. ":") - it is
   10170     # assumed that no part of a normal pathname contains ";" but that should
   10171     # okay in the real world where ";" in dirpaths is itself problematic.
   10172     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10173     ;;
   10174   *)
   10175     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10176     ;;
   10177   esac
   10178   # Ok, now we have the path, separated by spaces, we can step through it
   10179   # and add multilib dir if necessary.
   10180   lt_tmp_lt_search_path_spec=
   10181   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10182   for lt_sys_path in $lt_search_path_spec; do
   10183     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   10184       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   10185     else
   10186       test -d "$lt_sys_path" && \
   10187 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10188     fi
   10189   done
   10190   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10191 BEGIN {RS=" "; FS="/|\n";} {
   10192   lt_foo="";
   10193   lt_count=0;
   10194   for (lt_i = NF; lt_i > 0; lt_i--) {
   10195     if ($lt_i != "" && $lt_i != ".") {
   10196       if ($lt_i == "..") {
   10197         lt_count++;
   10198       } else {
   10199         if (lt_count == 0) {
   10200           lt_foo="/" $lt_i lt_foo;
   10201         } else {
   10202           lt_count--;
   10203         }
   10204       }
   10205     }
   10206   }
   10207   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10208   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10209 }'`
   10210   # AWK program above erroneously prepends '/' to C:/dos/paths
   10211   # for these hosts.
   10212   case $host_os in
   10213     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10214       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   10215   esac
   10216   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10217 else
   10218   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10219 fi
   10220 library_names_spec=
   10221 libname_spec='lib$name'
   10222 soname_spec=
   10223 shrext_cmds=".so"
   10224 postinstall_cmds=
   10225 postuninstall_cmds=
   10226 finish_cmds=
   10227 finish_eval=
   10228 shlibpath_var=
   10229 shlibpath_overrides_runpath=unknown
   10230 version_type=none
   10231 dynamic_linker="$host_os ld.so"
   10232 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10233 need_lib_prefix=unknown
   10234 hardcode_into_libs=no
   10235 
   10236 # when you set need_version to no, make sure it does not cause -set_version
   10237 # flags to be left without arguments
   10238 need_version=unknown
   10239 
   10240 case $host_os in
   10241 aix3*)
   10242   version_type=linux # correct to gnu/linux during the next big refactor
   10243   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10244   shlibpath_var=LIBPATH
   10245 
   10246   # AIX 3 has no versioning support, so we append a major version to the name.
   10247   soname_spec='${libname}${release}${shared_ext}$major'
   10248   ;;
   10249 
   10250 aix[4-9]*)
   10251   version_type=linux # correct to gnu/linux during the next big refactor
   10252   need_lib_prefix=no
   10253   need_version=no
   10254   hardcode_into_libs=yes
   10255   if test "$host_cpu" = ia64; then
   10256     # AIX 5 supports IA64
   10257     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10258     shlibpath_var=LD_LIBRARY_PATH
   10259   else
   10260     # With GCC up to 2.95.x, collect2 would create an import file
   10261     # for dependence libraries.  The import file would start with
   10262     # the line `#! .'.  This would cause the generated library to
   10263     # depend on `.', always an invalid library.  This was fixed in
   10264     # development snapshots of GCC prior to 3.0.
   10265     case $host_os in
   10266       aix4 | aix4.[01] | aix4.[01].*)
   10267       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10268 	   echo ' yes '
   10269 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10270 	:
   10271       else
   10272 	can_build_shared=no
   10273       fi
   10274       ;;
   10275     esac
   10276     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10277     # soname into executable. Probably we can add versioning support to
   10278     # collect2, so additional links can be useful in future.
   10279     if test "$aix_use_runtimelinking" = yes; then
   10280       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10281       # instead of lib<name>.a to let people know that these are not
   10282       # typical AIX shared libraries.
   10283       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10284     else
   10285       # We preserve .a as extension for shared libraries through AIX4.2
   10286       # and later when we are not doing run time linking.
   10287       library_names_spec='${libname}${release}.a $libname.a'
   10288       soname_spec='${libname}${release}${shared_ext}$major'
   10289     fi
   10290     shlibpath_var=LIBPATH
   10291   fi
   10292   ;;
   10293 
   10294 amigaos*)
   10295   case $host_cpu in
   10296   powerpc)
   10297     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10298     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10299     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10300     ;;
   10301   m68k)
   10302     library_names_spec='$libname.ixlibrary $libname.a'
   10303     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10304     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'
   10305     ;;
   10306   esac
   10307   ;;
   10308 
   10309 beos*)
   10310   library_names_spec='${libname}${shared_ext}'
   10311   dynamic_linker="$host_os ld.so"
   10312   shlibpath_var=LIBRARY_PATH
   10313   ;;
   10314 
   10315 bsdi[45]*)
   10316   version_type=linux # correct to gnu/linux during the next big refactor
   10317   need_version=no
   10318   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10319   soname_spec='${libname}${release}${shared_ext}$major'
   10320   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10321   shlibpath_var=LD_LIBRARY_PATH
   10322   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10323   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10324   # the default ld.so.conf also contains /usr/contrib/lib and
   10325   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10326   # libtool to hard-code these into programs
   10327   ;;
   10328 
   10329 cygwin* | mingw* | pw32* | cegcc*)
   10330   version_type=windows
   10331   shrext_cmds=".dll"
   10332   need_version=no
   10333   need_lib_prefix=no
   10334 
   10335   case $GCC,$cc_basename in
   10336   yes,*)
   10337     # gcc
   10338     library_names_spec='$libname.dll.a'
   10339     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10340     postinstall_cmds='base_file=`basename \${file}`~
   10341       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10342       dldir=$destdir/`dirname \$dlpath`~
   10343       test -d \$dldir || mkdir -p \$dldir~
   10344       $install_prog $dir/$dlname \$dldir/$dlname~
   10345       chmod a+x \$dldir/$dlname~
   10346       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10347         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10348       fi'
   10349     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10350       dlpath=$dir/\$dldll~
   10351        $RM \$dlpath'
   10352     shlibpath_overrides_runpath=yes
   10353 
   10354     case $host_os in
   10355     cygwin*)
   10356       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10357       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10358 
   10359       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10360       ;;
   10361     mingw* | cegcc*)
   10362       # MinGW DLLs use traditional 'lib' prefix
   10363       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10364       ;;
   10365     pw32*)
   10366       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10367       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10368       ;;
   10369     esac
   10370     dynamic_linker='Win32 ld.exe'
   10371     ;;
   10372 
   10373   *,cl*)
   10374     # Native MSVC
   10375     libname_spec='$name'
   10376     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10377     library_names_spec='${libname}.dll.lib'
   10378 
   10379     case $build_os in
   10380     mingw*)
   10381       sys_lib_search_path_spec=
   10382       lt_save_ifs=$IFS
   10383       IFS=';'
   10384       for lt_path in $LIB
   10385       do
   10386         IFS=$lt_save_ifs
   10387         # Let DOS variable expansion print the short 8.3 style file name.
   10388         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10389         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10390       done
   10391       IFS=$lt_save_ifs
   10392       # Convert to MSYS style.
   10393       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10394       ;;
   10395     cygwin*)
   10396       # Convert to unix form, then to dos form, then back to unix form
   10397       # but this time dos style (no spaces!) so that the unix form looks
   10398       # like /cygdrive/c/PROGRA~1:/cygdr...
   10399       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10400       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10401       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10402       ;;
   10403     *)
   10404       sys_lib_search_path_spec="$LIB"
   10405       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10406         # It is most probably a Windows format PATH.
   10407         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10408       else
   10409         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10410       fi
   10411       # FIXME: find the short name or the path components, as spaces are
   10412       # common. (e.g. "Program Files" -> "PROGRA~1")
   10413       ;;
   10414     esac
   10415 
   10416     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10417     postinstall_cmds='base_file=`basename \${file}`~
   10418       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10419       dldir=$destdir/`dirname \$dlpath`~
   10420       test -d \$dldir || mkdir -p \$dldir~
   10421       $install_prog $dir/$dlname \$dldir/$dlname'
   10422     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10423       dlpath=$dir/\$dldll~
   10424        $RM \$dlpath'
   10425     shlibpath_overrides_runpath=yes
   10426     dynamic_linker='Win32 link.exe'
   10427     ;;
   10428 
   10429   *)
   10430     # Assume MSVC wrapper
   10431     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10432     dynamic_linker='Win32 ld.exe'
   10433     ;;
   10434   esac
   10435   # FIXME: first we should search . and the directory the executable is in
   10436   shlibpath_var=PATH
   10437   ;;
   10438 
   10439 darwin* | rhapsody*)
   10440   dynamic_linker="$host_os dyld"
   10441   version_type=darwin
   10442   need_lib_prefix=no
   10443   need_version=no
   10444   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10445   soname_spec='${libname}${release}${major}$shared_ext'
   10446   shlibpath_overrides_runpath=yes
   10447   shlibpath_var=DYLD_LIBRARY_PATH
   10448   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10449 
   10450   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10451   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10452   ;;
   10453 
   10454 dgux*)
   10455   version_type=linux # correct to gnu/linux during the next big refactor
   10456   need_lib_prefix=no
   10457   need_version=no
   10458   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10459   soname_spec='${libname}${release}${shared_ext}$major'
   10460   shlibpath_var=LD_LIBRARY_PATH
   10461   ;;
   10462 
   10463 freebsd* | dragonfly*)
   10464   # DragonFly does not have aout.  When/if they implement a new
   10465   # versioning mechanism, adjust this.
   10466   if test -x /usr/bin/objformat; then
   10467     objformat=`/usr/bin/objformat`
   10468   else
   10469     case $host_os in
   10470     freebsd[23].*) objformat=aout ;;
   10471     *) objformat=elf ;;
   10472     esac
   10473   fi
   10474   version_type=freebsd-$objformat
   10475   case $version_type in
   10476     freebsd-elf*)
   10477       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10478       need_version=no
   10479       need_lib_prefix=no
   10480       ;;
   10481     freebsd-*)
   10482       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10483       need_version=yes
   10484       ;;
   10485   esac
   10486   shlibpath_var=LD_LIBRARY_PATH
   10487   case $host_os in
   10488   freebsd2.*)
   10489     shlibpath_overrides_runpath=yes
   10490     ;;
   10491   freebsd3.[01]* | freebsdelf3.[01]*)
   10492     shlibpath_overrides_runpath=yes
   10493     hardcode_into_libs=yes
   10494     ;;
   10495   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10496   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10497     shlibpath_overrides_runpath=no
   10498     hardcode_into_libs=yes
   10499     ;;
   10500   *) # from 4.6 on, and DragonFly
   10501     shlibpath_overrides_runpath=yes
   10502     hardcode_into_libs=yes
   10503     ;;
   10504   esac
   10505   ;;
   10506 
   10507 gnu*)
   10508   version_type=linux # correct to gnu/linux during the next big refactor
   10509   need_lib_prefix=no
   10510   need_version=no
   10511   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10512   soname_spec='${libname}${release}${shared_ext}$major'
   10513   shlibpath_var=LD_LIBRARY_PATH
   10514   shlibpath_overrides_runpath=no
   10515   hardcode_into_libs=yes
   10516   ;;
   10517 
   10518 haiku*)
   10519   version_type=linux # correct to gnu/linux during the next big refactor
   10520   need_lib_prefix=no
   10521   need_version=no
   10522   dynamic_linker="$host_os runtime_loader"
   10523   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10524   soname_spec='${libname}${release}${shared_ext}$major'
   10525   shlibpath_var=LIBRARY_PATH
   10526   shlibpath_overrides_runpath=yes
   10527   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10528   hardcode_into_libs=yes
   10529   ;;
   10530 
   10531 hpux9* | hpux10* | hpux11*)
   10532   # Give a soname corresponding to the major version so that dld.sl refuses to
   10533   # link against other versions.
   10534   version_type=sunos
   10535   need_lib_prefix=no
   10536   need_version=no
   10537   case $host_cpu in
   10538   ia64*)
   10539     shrext_cmds='.so'
   10540     hardcode_into_libs=yes
   10541     dynamic_linker="$host_os dld.so"
   10542     shlibpath_var=LD_LIBRARY_PATH
   10543     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10544     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10545     soname_spec='${libname}${release}${shared_ext}$major'
   10546     if test "X$HPUX_IA64_MODE" = X32; then
   10547       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10548     else
   10549       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10550     fi
   10551     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10552     ;;
   10553   hppa*64*)
   10554     shrext_cmds='.sl'
   10555     hardcode_into_libs=yes
   10556     dynamic_linker="$host_os dld.sl"
   10557     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10558     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10559     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10560     soname_spec='${libname}${release}${shared_ext}$major'
   10561     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10562     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10563     ;;
   10564   *)
   10565     shrext_cmds='.sl'
   10566     dynamic_linker="$host_os dld.sl"
   10567     shlibpath_var=SHLIB_PATH
   10568     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10569     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10570     soname_spec='${libname}${release}${shared_ext}$major'
   10571     ;;
   10572   esac
   10573   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10574   postinstall_cmds='chmod 555 $lib'
   10575   # or fails outright, so override atomically:
   10576   install_override_mode=555
   10577   ;;
   10578 
   10579 interix[3-9]*)
   10580   version_type=linux # correct to gnu/linux during the next big refactor
   10581   need_lib_prefix=no
   10582   need_version=no
   10583   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10584   soname_spec='${libname}${release}${shared_ext}$major'
   10585   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10586   shlibpath_var=LD_LIBRARY_PATH
   10587   shlibpath_overrides_runpath=no
   10588   hardcode_into_libs=yes
   10589   ;;
   10590 
   10591 irix5* | irix6* | nonstopux*)
   10592   case $host_os in
   10593     nonstopux*) version_type=nonstopux ;;
   10594     *)
   10595 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10596 		version_type=linux # correct to gnu/linux during the next big refactor
   10597 	else
   10598 		version_type=irix
   10599 	fi ;;
   10600   esac
   10601   need_lib_prefix=no
   10602   need_version=no
   10603   soname_spec='${libname}${release}${shared_ext}$major'
   10604   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10605   case $host_os in
   10606   irix5* | nonstopux*)
   10607     libsuff= shlibsuff=
   10608     ;;
   10609   *)
   10610     case $LD in # libtool.m4 will add one of these switches to LD
   10611     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10612       libsuff= shlibsuff= libmagic=32-bit;;
   10613     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10614       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10615     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10616       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10617     *) libsuff= shlibsuff= libmagic=never-match;;
   10618     esac
   10619     ;;
   10620   esac
   10621   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10622   shlibpath_overrides_runpath=no
   10623   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10624   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10625   hardcode_into_libs=yes
   10626   ;;
   10627 
   10628 # No shared lib support for Linux oldld, aout, or coff.
   10629 linux*oldld* | linux*aout* | linux*coff*)
   10630   dynamic_linker=no
   10631   ;;
   10632 
   10633 # This must be glibc/ELF.
   10634 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10635   version_type=linux # correct to gnu/linux during the next big refactor
   10636   need_lib_prefix=no
   10637   need_version=no
   10638   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10639   soname_spec='${libname}${release}${shared_ext}$major'
   10640   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10641   shlibpath_var=LD_LIBRARY_PATH
   10642   shlibpath_overrides_runpath=no
   10643 
   10644   # Some binutils ld are patched to set DT_RUNPATH
   10645   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10646   $as_echo_n "(cached) " >&6
   10647 else
   10648   lt_cv_shlibpath_overrides_runpath=no
   10649     save_LDFLAGS=$LDFLAGS
   10650     save_libdir=$libdir
   10651     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10652 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10653     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10654 /* end confdefs.h.  */
   10655 
   10656 int
   10657 main ()
   10658 {
   10659 
   10660   ;
   10661   return 0;
   10662 }
   10663 _ACEOF
   10664 if ac_fn_c_try_link "$LINENO"; then :
   10665   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10666   lt_cv_shlibpath_overrides_runpath=yes
   10667 fi
   10668 fi
   10669 rm -f core conftest.err conftest.$ac_objext \
   10670     conftest$ac_exeext conftest.$ac_ext
   10671     LDFLAGS=$save_LDFLAGS
   10672     libdir=$save_libdir
   10673 
   10674 fi
   10675 
   10676   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10677 
   10678   # This implies no fast_install, which is unacceptable.
   10679   # Some rework will be needed to allow for fast_install
   10680   # before this can be enabled.
   10681   hardcode_into_libs=yes
   10682 
   10683   # Append ld.so.conf contents to the search path
   10684   if test -f /etc/ld.so.conf; then
   10685     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' ' '`
   10686     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10687   fi
   10688 
   10689   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10690   # powerpc, because MkLinux only supported shared libraries with the
   10691   # GNU dynamic linker.  Since this was broken with cross compilers,
   10692   # most powerpc-linux boxes support dynamic linking these days and
   10693   # people can always --disable-shared, the test was removed, and we
   10694   # assume the GNU/Linux dynamic linker is in use.
   10695   dynamic_linker='GNU/Linux ld.so'
   10696   ;;
   10697 
   10698 netbsd*)
   10699   version_type=sunos
   10700   need_lib_prefix=no
   10701   need_version=no
   10702   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10703     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10704     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10705     dynamic_linker='NetBSD (a.out) ld.so'
   10706   else
   10707     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10708     soname_spec='${libname}${release}${shared_ext}$major'
   10709     dynamic_linker='NetBSD ld.elf_so'
   10710   fi
   10711   shlibpath_var=LD_LIBRARY_PATH
   10712   shlibpath_overrides_runpath=yes
   10713   hardcode_into_libs=yes
   10714   ;;
   10715 
   10716 newsos6)
   10717   version_type=linux # correct to gnu/linux during the next big refactor
   10718   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10719   shlibpath_var=LD_LIBRARY_PATH
   10720   shlibpath_overrides_runpath=yes
   10721   ;;
   10722 
   10723 *nto* | *qnx*)
   10724   version_type=qnx
   10725   need_lib_prefix=no
   10726   need_version=no
   10727   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10728   soname_spec='${libname}${release}${shared_ext}$major'
   10729   shlibpath_var=LD_LIBRARY_PATH
   10730   shlibpath_overrides_runpath=no
   10731   hardcode_into_libs=yes
   10732   dynamic_linker='ldqnx.so'
   10733   ;;
   10734 
   10735 openbsd*)
   10736   version_type=sunos
   10737   sys_lib_dlsearch_path_spec="/usr/lib"
   10738   need_lib_prefix=no
   10739   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10740   case $host_os in
   10741     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10742     *)				need_version=no  ;;
   10743   esac
   10744   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10745   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10746   shlibpath_var=LD_LIBRARY_PATH
   10747   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10748     case $host_os in
   10749       openbsd2.[89] | openbsd2.[89].*)
   10750 	shlibpath_overrides_runpath=no
   10751 	;;
   10752       *)
   10753 	shlibpath_overrides_runpath=yes
   10754 	;;
   10755       esac
   10756   else
   10757     shlibpath_overrides_runpath=yes
   10758   fi
   10759   ;;
   10760 
   10761 os2*)
   10762   libname_spec='$name'
   10763   shrext_cmds=".dll"
   10764   need_lib_prefix=no
   10765   library_names_spec='$libname${shared_ext} $libname.a'
   10766   dynamic_linker='OS/2 ld.exe'
   10767   shlibpath_var=LIBPATH
   10768   ;;
   10769 
   10770 osf3* | osf4* | osf5*)
   10771   version_type=osf
   10772   need_lib_prefix=no
   10773   need_version=no
   10774   soname_spec='${libname}${release}${shared_ext}$major'
   10775   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10776   shlibpath_var=LD_LIBRARY_PATH
   10777   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10778   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10779   ;;
   10780 
   10781 rdos*)
   10782   dynamic_linker=no
   10783   ;;
   10784 
   10785 solaris*)
   10786   version_type=linux # correct to gnu/linux during the next big refactor
   10787   need_lib_prefix=no
   10788   need_version=no
   10789   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10790   soname_spec='${libname}${release}${shared_ext}$major'
   10791   shlibpath_var=LD_LIBRARY_PATH
   10792   shlibpath_overrides_runpath=yes
   10793   hardcode_into_libs=yes
   10794   # ldd complains unless libraries are executable
   10795   postinstall_cmds='chmod +x $lib'
   10796   ;;
   10797 
   10798 sunos4*)
   10799   version_type=sunos
   10800   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10801   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10802   shlibpath_var=LD_LIBRARY_PATH
   10803   shlibpath_overrides_runpath=yes
   10804   if test "$with_gnu_ld" = yes; then
   10805     need_lib_prefix=no
   10806   fi
   10807   need_version=yes
   10808   ;;
   10809 
   10810 sysv4 | sysv4.3*)
   10811   version_type=linux # correct to gnu/linux during the next big refactor
   10812   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10813   soname_spec='${libname}${release}${shared_ext}$major'
   10814   shlibpath_var=LD_LIBRARY_PATH
   10815   case $host_vendor in
   10816     sni)
   10817       shlibpath_overrides_runpath=no
   10818       need_lib_prefix=no
   10819       runpath_var=LD_RUN_PATH
   10820       ;;
   10821     siemens)
   10822       need_lib_prefix=no
   10823       ;;
   10824     motorola)
   10825       need_lib_prefix=no
   10826       need_version=no
   10827       shlibpath_overrides_runpath=no
   10828       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10829       ;;
   10830   esac
   10831   ;;
   10832 
   10833 sysv4*MP*)
   10834   if test -d /usr/nec ;then
   10835     version_type=linux # correct to gnu/linux during the next big refactor
   10836     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10837     soname_spec='$libname${shared_ext}.$major'
   10838     shlibpath_var=LD_LIBRARY_PATH
   10839   fi
   10840   ;;
   10841 
   10842 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10843   version_type=freebsd-elf
   10844   need_lib_prefix=no
   10845   need_version=no
   10846   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10847   soname_spec='${libname}${release}${shared_ext}$major'
   10848   shlibpath_var=LD_LIBRARY_PATH
   10849   shlibpath_overrides_runpath=yes
   10850   hardcode_into_libs=yes
   10851   if test "$with_gnu_ld" = yes; then
   10852     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10853   else
   10854     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10855     case $host_os in
   10856       sco3.2v5*)
   10857         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10858 	;;
   10859     esac
   10860   fi
   10861   sys_lib_dlsearch_path_spec='/usr/lib'
   10862   ;;
   10863 
   10864 tpf*)
   10865   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10866   version_type=linux # correct to gnu/linux during the next big refactor
   10867   need_lib_prefix=no
   10868   need_version=no
   10869   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10870   shlibpath_var=LD_LIBRARY_PATH
   10871   shlibpath_overrides_runpath=no
   10872   hardcode_into_libs=yes
   10873   ;;
   10874 
   10875 uts4*)
   10876   version_type=linux # correct to gnu/linux during the next big refactor
   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   shlibpath_var=LD_LIBRARY_PATH
   10880   ;;
   10881 
   10882 *)
   10883   dynamic_linker=no
   10884   ;;
   10885 esac
   10886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10887 $as_echo "$dynamic_linker" >&6; }
   10888 test "$dynamic_linker" = no && can_build_shared=no
   10889 
   10890 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10891 if test "$GCC" = yes; then
   10892   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10893 fi
   10894 
   10895 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10896   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10897 fi
   10898 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10899   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10900 fi
   10901 
   10902 
   10903 
   10904 
   10905 
   10906 
   10907 
   10908 
   10909 
   10910 
   10911 
   10912 
   10913 
   10914 
   10915 
   10916 
   10917 
   10918 
   10919 
   10920 
   10921 
   10922 
   10923 
   10924 
   10925 
   10926 
   10927 
   10928 
   10929 
   10930 
   10931 
   10932 
   10933 
   10934 
   10935 
   10936 
   10937 
   10938 
   10939 
   10940 
   10941 
   10942 
   10943 
   10944 
   10945 
   10946 
   10947 
   10948 
   10949 
   10950 
   10951 
   10952 
   10953 
   10954 
   10955 
   10956 
   10957 
   10958 
   10959 
   10960 
   10961 
   10962 
   10963 
   10964 
   10965 
   10966 
   10967 
   10968 
   10969 
   10970 
   10971 
   10972 
   10973 
   10974 
   10975 
   10976 
   10977 
   10978 
   10979 
   10980 
   10981 
   10982 
   10983 
   10984 
   10985 
   10986 
   10987 
   10988 
   10989 
   10990 
   10991 
   10992 
   10993   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10994 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10995 hardcode_action=
   10996 if test -n "$hardcode_libdir_flag_spec" ||
   10997    test -n "$runpath_var" ||
   10998    test "X$hardcode_automatic" = "Xyes" ; then
   10999 
   11000   # We can hardcode non-existent directories.
   11001   if test "$hardcode_direct" != no &&
   11002      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11003      # have to relink, otherwise we might link with an installed library
   11004      # when we should be linking with a yet-to-be-installed one
   11005      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   11006      test "$hardcode_minus_L" != no; then
   11007     # Linking always hardcodes the temporary library directory.
   11008     hardcode_action=relink
   11009   else
   11010     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   11011     hardcode_action=immediate
   11012   fi
   11013 else
   11014   # We cannot hardcode anything, or else we can only hardcode existing
   11015   # directories.
   11016   hardcode_action=unsupported
   11017 fi
   11018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   11019 $as_echo "$hardcode_action" >&6; }
   11020 
   11021 if test "$hardcode_action" = relink ||
   11022    test "$inherit_rpath" = yes; then
   11023   # Fast installation is not supported
   11024   enable_fast_install=no
   11025 elif test "$shlibpath_overrides_runpath" = yes ||
   11026      test "$enable_shared" = no; then
   11027   # Fast installation is not necessary
   11028   enable_fast_install=needless
   11029 fi
   11030 
   11031 
   11032 
   11033 
   11034 
   11035 
   11036   if test "x$enable_dlopen" != xyes; then
   11037   enable_dlopen=unknown
   11038   enable_dlopen_self=unknown
   11039   enable_dlopen_self_static=unknown
   11040 else
   11041   lt_cv_dlopen=no
   11042   lt_cv_dlopen_libs=
   11043 
   11044   case $host_os in
   11045   beos*)
   11046     lt_cv_dlopen="load_add_on"
   11047     lt_cv_dlopen_libs=
   11048     lt_cv_dlopen_self=yes
   11049     ;;
   11050 
   11051   mingw* | pw32* | cegcc*)
   11052     lt_cv_dlopen="LoadLibrary"
   11053     lt_cv_dlopen_libs=
   11054     ;;
   11055 
   11056   cygwin*)
   11057     lt_cv_dlopen="dlopen"
   11058     lt_cv_dlopen_libs=
   11059     ;;
   11060 
   11061   darwin*)
   11062   # if libdl is installed we need to link against it
   11063     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11064 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11065 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11066   $as_echo_n "(cached) " >&6
   11067 else
   11068   ac_check_lib_save_LIBS=$LIBS
   11069 LIBS="-ldl  $LIBS"
   11070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11071 /* end confdefs.h.  */
   11072 
   11073 /* Override any GCC internal prototype to avoid an error.
   11074    Use char because int might match the return type of a GCC
   11075    builtin and then its argument prototype would still apply.  */
   11076 #ifdef __cplusplus
   11077 extern "C"
   11078 #endif
   11079 char dlopen ();
   11080 int
   11081 main ()
   11082 {
   11083 return dlopen ();
   11084   ;
   11085   return 0;
   11086 }
   11087 _ACEOF
   11088 if ac_fn_c_try_link "$LINENO"; then :
   11089   ac_cv_lib_dl_dlopen=yes
   11090 else
   11091   ac_cv_lib_dl_dlopen=no
   11092 fi
   11093 rm -f core conftest.err conftest.$ac_objext \
   11094     conftest$ac_exeext conftest.$ac_ext
   11095 LIBS=$ac_check_lib_save_LIBS
   11096 fi
   11097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11098 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11099 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11100   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11101 else
   11102 
   11103     lt_cv_dlopen="dyld"
   11104     lt_cv_dlopen_libs=
   11105     lt_cv_dlopen_self=yes
   11106 
   11107 fi
   11108 
   11109     ;;
   11110 
   11111   *)
   11112     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   11113 if test "x$ac_cv_func_shl_load" = xyes; then :
   11114   lt_cv_dlopen="shl_load"
   11115 else
   11116   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   11117 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11118 if ${ac_cv_lib_dld_shl_load+:} false; then :
   11119   $as_echo_n "(cached) " >&6
   11120 else
   11121   ac_check_lib_save_LIBS=$LIBS
   11122 LIBS="-ldld  $LIBS"
   11123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11124 /* end confdefs.h.  */
   11125 
   11126 /* Override any GCC internal prototype to avoid an error.
   11127    Use char because int might match the return type of a GCC
   11128    builtin and then its argument prototype would still apply.  */
   11129 #ifdef __cplusplus
   11130 extern "C"
   11131 #endif
   11132 char shl_load ();
   11133 int
   11134 main ()
   11135 {
   11136 return shl_load ();
   11137   ;
   11138   return 0;
   11139 }
   11140 _ACEOF
   11141 if ac_fn_c_try_link "$LINENO"; then :
   11142   ac_cv_lib_dld_shl_load=yes
   11143 else
   11144   ac_cv_lib_dld_shl_load=no
   11145 fi
   11146 rm -f core conftest.err conftest.$ac_objext \
   11147     conftest$ac_exeext conftest.$ac_ext
   11148 LIBS=$ac_check_lib_save_LIBS
   11149 fi
   11150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   11151 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11152 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   11153   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   11154 else
   11155   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   11156 if test "x$ac_cv_func_dlopen" = xyes; then :
   11157   lt_cv_dlopen="dlopen"
   11158 else
   11159   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11160 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11161 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11162   $as_echo_n "(cached) " >&6
   11163 else
   11164   ac_check_lib_save_LIBS=$LIBS
   11165 LIBS="-ldl  $LIBS"
   11166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11167 /* end confdefs.h.  */
   11168 
   11169 /* Override any GCC internal prototype to avoid an error.
   11170    Use char because int might match the return type of a GCC
   11171    builtin and then its argument prototype would still apply.  */
   11172 #ifdef __cplusplus
   11173 extern "C"
   11174 #endif
   11175 char dlopen ();
   11176 int
   11177 main ()
   11178 {
   11179 return dlopen ();
   11180   ;
   11181   return 0;
   11182 }
   11183 _ACEOF
   11184 if ac_fn_c_try_link "$LINENO"; then :
   11185   ac_cv_lib_dl_dlopen=yes
   11186 else
   11187   ac_cv_lib_dl_dlopen=no
   11188 fi
   11189 rm -f core conftest.err conftest.$ac_objext \
   11190     conftest$ac_exeext conftest.$ac_ext
   11191 LIBS=$ac_check_lib_save_LIBS
   11192 fi
   11193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11194 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11195 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11196   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11197 else
   11198   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11199 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11200 if ${ac_cv_lib_svld_dlopen+:} false; then :
   11201   $as_echo_n "(cached) " >&6
   11202 else
   11203   ac_check_lib_save_LIBS=$LIBS
   11204 LIBS="-lsvld  $LIBS"
   11205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11206 /* end confdefs.h.  */
   11207 
   11208 /* Override any GCC internal prototype to avoid an error.
   11209    Use char because int might match the return type of a GCC
   11210    builtin and then its argument prototype would still apply.  */
   11211 #ifdef __cplusplus
   11212 extern "C"
   11213 #endif
   11214 char dlopen ();
   11215 int
   11216 main ()
   11217 {
   11218 return dlopen ();
   11219   ;
   11220   return 0;
   11221 }
   11222 _ACEOF
   11223 if ac_fn_c_try_link "$LINENO"; then :
   11224   ac_cv_lib_svld_dlopen=yes
   11225 else
   11226   ac_cv_lib_svld_dlopen=no
   11227 fi
   11228 rm -f core conftest.err conftest.$ac_objext \
   11229     conftest$ac_exeext conftest.$ac_ext
   11230 LIBS=$ac_check_lib_save_LIBS
   11231 fi
   11232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11233 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11234 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11235   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11236 else
   11237   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11238 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11239 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11240   $as_echo_n "(cached) " >&6
   11241 else
   11242   ac_check_lib_save_LIBS=$LIBS
   11243 LIBS="-ldld  $LIBS"
   11244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11245 /* end confdefs.h.  */
   11246 
   11247 /* Override any GCC internal prototype to avoid an error.
   11248    Use char because int might match the return type of a GCC
   11249    builtin and then its argument prototype would still apply.  */
   11250 #ifdef __cplusplus
   11251 extern "C"
   11252 #endif
   11253 char dld_link ();
   11254 int
   11255 main ()
   11256 {
   11257 return dld_link ();
   11258   ;
   11259   return 0;
   11260 }
   11261 _ACEOF
   11262 if ac_fn_c_try_link "$LINENO"; then :
   11263   ac_cv_lib_dld_dld_link=yes
   11264 else
   11265   ac_cv_lib_dld_dld_link=no
   11266 fi
   11267 rm -f core conftest.err conftest.$ac_objext \
   11268     conftest$ac_exeext conftest.$ac_ext
   11269 LIBS=$ac_check_lib_save_LIBS
   11270 fi
   11271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11272 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11273 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11274   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11275 fi
   11276 
   11277 
   11278 fi
   11279 
   11280 
   11281 fi
   11282 
   11283 
   11284 fi
   11285 
   11286 
   11287 fi
   11288 
   11289 
   11290 fi
   11291 
   11292     ;;
   11293   esac
   11294 
   11295   if test "x$lt_cv_dlopen" != xno; then
   11296     enable_dlopen=yes
   11297   else
   11298     enable_dlopen=no
   11299   fi
   11300 
   11301   case $lt_cv_dlopen in
   11302   dlopen)
   11303     save_CPPFLAGS="$CPPFLAGS"
   11304     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11305 
   11306     save_LDFLAGS="$LDFLAGS"
   11307     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11308 
   11309     save_LIBS="$LIBS"
   11310     LIBS="$lt_cv_dlopen_libs $LIBS"
   11311 
   11312     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11313 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11314 if ${lt_cv_dlopen_self+:} false; then :
   11315   $as_echo_n "(cached) " >&6
   11316 else
   11317   	  if test "$cross_compiling" = yes; then :
   11318   lt_cv_dlopen_self=cross
   11319 else
   11320   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11321   lt_status=$lt_dlunknown
   11322   cat > conftest.$ac_ext <<_LT_EOF
   11323 #line $LINENO "configure"
   11324 #include "confdefs.h"
   11325 
   11326 #if HAVE_DLFCN_H
   11327 #include <dlfcn.h>
   11328 #endif
   11329 
   11330 #include <stdio.h>
   11331 
   11332 #ifdef RTLD_GLOBAL
   11333 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11334 #else
   11335 #  ifdef DL_GLOBAL
   11336 #    define LT_DLGLOBAL		DL_GLOBAL
   11337 #  else
   11338 #    define LT_DLGLOBAL		0
   11339 #  endif
   11340 #endif
   11341 
   11342 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11343    find out it does not work in some platform. */
   11344 #ifndef LT_DLLAZY_OR_NOW
   11345 #  ifdef RTLD_LAZY
   11346 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11347 #  else
   11348 #    ifdef DL_LAZY
   11349 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11350 #    else
   11351 #      ifdef RTLD_NOW
   11352 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11353 #      else
   11354 #        ifdef DL_NOW
   11355 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11356 #        else
   11357 #          define LT_DLLAZY_OR_NOW	0
   11358 #        endif
   11359 #      endif
   11360 #    endif
   11361 #  endif
   11362 #endif
   11363 
   11364 /* When -fvisbility=hidden is used, assume the code has been annotated
   11365    correspondingly for the symbols needed.  */
   11366 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11367 int fnord () __attribute__((visibility("default")));
   11368 #endif
   11369 
   11370 int fnord () { return 42; }
   11371 int main ()
   11372 {
   11373   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11374   int status = $lt_dlunknown;
   11375 
   11376   if (self)
   11377     {
   11378       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11379       else
   11380         {
   11381 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11382           else puts (dlerror ());
   11383 	}
   11384       /* dlclose (self); */
   11385     }
   11386   else
   11387     puts (dlerror ());
   11388 
   11389   return status;
   11390 }
   11391 _LT_EOF
   11392   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11393   (eval $ac_link) 2>&5
   11394   ac_status=$?
   11395   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11396   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11397     (./conftest; exit; ) >&5 2>/dev/null
   11398     lt_status=$?
   11399     case x$lt_status in
   11400       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11401       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11402       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11403     esac
   11404   else :
   11405     # compilation failed
   11406     lt_cv_dlopen_self=no
   11407   fi
   11408 fi
   11409 rm -fr conftest*
   11410 
   11411 
   11412 fi
   11413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11414 $as_echo "$lt_cv_dlopen_self" >&6; }
   11415 
   11416     if test "x$lt_cv_dlopen_self" = xyes; then
   11417       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11418       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11419 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11420 if ${lt_cv_dlopen_self_static+:} false; then :
   11421   $as_echo_n "(cached) " >&6
   11422 else
   11423   	  if test "$cross_compiling" = yes; then :
   11424   lt_cv_dlopen_self_static=cross
   11425 else
   11426   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11427   lt_status=$lt_dlunknown
   11428   cat > conftest.$ac_ext <<_LT_EOF
   11429 #line $LINENO "configure"
   11430 #include "confdefs.h"
   11431 
   11432 #if HAVE_DLFCN_H
   11433 #include <dlfcn.h>
   11434 #endif
   11435 
   11436 #include <stdio.h>
   11437 
   11438 #ifdef RTLD_GLOBAL
   11439 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11440 #else
   11441 #  ifdef DL_GLOBAL
   11442 #    define LT_DLGLOBAL		DL_GLOBAL
   11443 #  else
   11444 #    define LT_DLGLOBAL		0
   11445 #  endif
   11446 #endif
   11447 
   11448 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11449    find out it does not work in some platform. */
   11450 #ifndef LT_DLLAZY_OR_NOW
   11451 #  ifdef RTLD_LAZY
   11452 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11453 #  else
   11454 #    ifdef DL_LAZY
   11455 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11456 #    else
   11457 #      ifdef RTLD_NOW
   11458 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11459 #      else
   11460 #        ifdef DL_NOW
   11461 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11462 #        else
   11463 #          define LT_DLLAZY_OR_NOW	0
   11464 #        endif
   11465 #      endif
   11466 #    endif
   11467 #  endif
   11468 #endif
   11469 
   11470 /* When -fvisbility=hidden is used, assume the code has been annotated
   11471    correspondingly for the symbols needed.  */
   11472 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11473 int fnord () __attribute__((visibility("default")));
   11474 #endif
   11475 
   11476 int fnord () { return 42; }
   11477 int main ()
   11478 {
   11479   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11480   int status = $lt_dlunknown;
   11481 
   11482   if (self)
   11483     {
   11484       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11485       else
   11486         {
   11487 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11488           else puts (dlerror ());
   11489 	}
   11490       /* dlclose (self); */
   11491     }
   11492   else
   11493     puts (dlerror ());
   11494 
   11495   return status;
   11496 }
   11497 _LT_EOF
   11498   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11499   (eval $ac_link) 2>&5
   11500   ac_status=$?
   11501   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11502   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11503     (./conftest; exit; ) >&5 2>/dev/null
   11504     lt_status=$?
   11505     case x$lt_status in
   11506       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11507       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11508       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11509     esac
   11510   else :
   11511     # compilation failed
   11512     lt_cv_dlopen_self_static=no
   11513   fi
   11514 fi
   11515 rm -fr conftest*
   11516 
   11517 
   11518 fi
   11519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11520 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11521     fi
   11522 
   11523     CPPFLAGS="$save_CPPFLAGS"
   11524     LDFLAGS="$save_LDFLAGS"
   11525     LIBS="$save_LIBS"
   11526     ;;
   11527   esac
   11528 
   11529   case $lt_cv_dlopen_self in
   11530   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11531   *) enable_dlopen_self=unknown ;;
   11532   esac
   11533 
   11534   case $lt_cv_dlopen_self_static in
   11535   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11536   *) enable_dlopen_self_static=unknown ;;
   11537   esac
   11538 fi
   11539 
   11540 
   11541 
   11542 
   11543 
   11544 
   11545 
   11546 
   11547 
   11548 
   11549 
   11550 
   11551 
   11552 
   11553 
   11554 
   11555 
   11556 striplib=
   11557 old_striplib=
   11558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11559 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11560 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11561   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11562   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11564 $as_echo "yes" >&6; }
   11565 else
   11566 # FIXME - insert some real tests, host_os isn't really good enough
   11567   case $host_os in
   11568   darwin*)
   11569     if test -n "$STRIP" ; then
   11570       striplib="$STRIP -x"
   11571       old_striplib="$STRIP -S"
   11572       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11573 $as_echo "yes" >&6; }
   11574     else
   11575       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11576 $as_echo "no" >&6; }
   11577     fi
   11578     ;;
   11579   *)
   11580     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11581 $as_echo "no" >&6; }
   11582     ;;
   11583   esac
   11584 fi
   11585 
   11586 
   11587 
   11588 
   11589 
   11590 
   11591 
   11592 
   11593 
   11594 
   11595 
   11596 
   11597   # Report which library types will actually be built
   11598   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11599 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11601 $as_echo "$can_build_shared" >&6; }
   11602 
   11603   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11604 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11605   test "$can_build_shared" = "no" && enable_shared=no
   11606 
   11607   # On AIX, shared libraries and static libraries use the same namespace, and
   11608   # are all built from PIC.
   11609   case $host_os in
   11610   aix3*)
   11611     test "$enable_shared" = yes && enable_static=no
   11612     if test -n "$RANLIB"; then
   11613       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11614       postinstall_cmds='$RANLIB $lib'
   11615     fi
   11616     ;;
   11617 
   11618   aix[4-9]*)
   11619     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11620       test "$enable_shared" = yes && enable_static=no
   11621     fi
   11622     ;;
   11623   esac
   11624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11625 $as_echo "$enable_shared" >&6; }
   11626 
   11627   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11628 $as_echo_n "checking whether to build static libraries... " >&6; }
   11629   # Make sure either enable_shared or enable_static is yes.
   11630   test "$enable_shared" = yes || enable_static=yes
   11631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11632 $as_echo "$enable_static" >&6; }
   11633 
   11634 
   11635 
   11636 
   11637 fi
   11638 ac_ext=c
   11639 ac_cpp='$CPP $CPPFLAGS'
   11640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11643 
   11644 CC="$lt_save_CC"
   11645 
   11646 
   11647 
   11648 
   11649 
   11650 
   11651 
   11652 
   11653 
   11654 
   11655 
   11656 
   11657 
   11658 
   11659 
   11660         ac_config_commands="$ac_config_commands libtool"
   11661 
   11662 
   11663 
   11664 
   11665 # Only expand once:
   11666 
   11667 
   11668 
   11669 # Require X.Org macros 1.13 or later for XORG_ENABLE_UNIT_TESTS
   11670 
   11671 
   11672 
   11673 
   11674 
   11675 
   11676 
   11677 
   11678 
   11679 
   11680 
   11681    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   11682 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11683 if ${ac_cv_prog_cc_c99+:} false; then :
   11684   $as_echo_n "(cached) " >&6
   11685 else
   11686   ac_cv_prog_cc_c99=no
   11687 ac_save_CC=$CC
   11688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11689 /* end confdefs.h.  */
   11690 #include <stdarg.h>
   11691 #include <stdbool.h>
   11692 #include <stdlib.h>
   11693 #include <wchar.h>
   11694 #include <stdio.h>
   11695 
   11696 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   11697 #define debug(...) fprintf (stderr, __VA_ARGS__)
   11698 #define showlist(...) puts (#__VA_ARGS__)
   11699 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   11700 static void
   11701 test_varargs_macros (void)
   11702 {
   11703   int x = 1234;
   11704   int y = 5678;
   11705   debug ("Flag");
   11706   debug ("X = %d\n", x);
   11707   showlist (The first, second, and third items.);
   11708   report (x>y, "x is %d but y is %d", x, y);
   11709 }
   11710 
   11711 // Check long long types.
   11712 #define BIG64 18446744073709551615ull
   11713 #define BIG32 4294967295ul
   11714 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   11715 #if !BIG_OK
   11716   your preprocessor is broken;
   11717 #endif
   11718 #if BIG_OK
   11719 #else
   11720   your preprocessor is broken;
   11721 #endif
   11722 static long long int bignum = -9223372036854775807LL;
   11723 static unsigned long long int ubignum = BIG64;
   11724 
   11725 struct incomplete_array
   11726 {
   11727   int datasize;
   11728   double data[];
   11729 };
   11730 
   11731 struct named_init {
   11732   int number;
   11733   const wchar_t *name;
   11734   double average;
   11735 };
   11736 
   11737 typedef const char *ccp;
   11738 
   11739 static inline int
   11740 test_restrict (ccp restrict text)
   11741 {
   11742   // See if C++-style comments work.
   11743   // Iterate through items via the restricted pointer.
   11744   // Also check for declarations in for loops.
   11745   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   11746     continue;
   11747   return 0;
   11748 }
   11749 
   11750 // Check varargs and va_copy.
   11751 static void
   11752 test_varargs (const char *format, ...)
   11753 {
   11754   va_list args;
   11755   va_start (args, format);
   11756   va_list args_copy;
   11757   va_copy (args_copy, args);
   11758 
   11759   const char *str;
   11760   int number;
   11761   float fnumber;
   11762 
   11763   while (*format)
   11764     {
   11765       switch (*format++)
   11766 	{
   11767 	case 's': // string
   11768 	  str = va_arg (args_copy, const char *);
   11769 	  break;
   11770 	case 'd': // int
   11771 	  number = va_arg (args_copy, int);
   11772 	  break;
   11773 	case 'f': // float
   11774 	  fnumber = va_arg (args_copy, double);
   11775 	  break;
   11776 	default:
   11777 	  break;
   11778 	}
   11779     }
   11780   va_end (args_copy);
   11781   va_end (args);
   11782 }
   11783 
   11784 int
   11785 main ()
   11786 {
   11787 
   11788   // Check bool.
   11789   _Bool success = false;
   11790 
   11791   // Check restrict.
   11792   if (test_restrict ("String literal") == 0)
   11793     success = true;
   11794   char *restrict newvar = "Another string";
   11795 
   11796   // Check varargs.
   11797   test_varargs ("s, d' f .", "string", 65, 34.234);
   11798   test_varargs_macros ();
   11799 
   11800   // Check flexible array members.
   11801   struct incomplete_array *ia =
   11802     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   11803   ia->datasize = 10;
   11804   for (int i = 0; i < ia->datasize; ++i)
   11805     ia->data[i] = i * 1.234;
   11806 
   11807   // Check named initializers.
   11808   struct named_init ni = {
   11809     .number = 34,
   11810     .name = L"Test wide string",
   11811     .average = 543.34343,
   11812   };
   11813 
   11814   ni.number = 58;
   11815 
   11816   int dynamic_array[ni.number];
   11817   dynamic_array[ni.number - 1] = 543;
   11818 
   11819   // work around unused variable warnings
   11820   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   11821 	  || dynamic_array[ni.number - 1] != 543);
   11822 
   11823   ;
   11824   return 0;
   11825 }
   11826 _ACEOF
   11827 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   11828 do
   11829   CC="$ac_save_CC $ac_arg"
   11830   if ac_fn_c_try_compile "$LINENO"; then :
   11831   ac_cv_prog_cc_c99=$ac_arg
   11832 fi
   11833 rm -f core conftest.err conftest.$ac_objext
   11834   test "x$ac_cv_prog_cc_c99" != "xno" && break
   11835 done
   11836 rm -f conftest.$ac_ext
   11837 CC=$ac_save_CC
   11838 
   11839 fi
   11840 # AC_CACHE_VAL
   11841 case "x$ac_cv_prog_cc_c99" in
   11842   x)
   11843     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   11844 $as_echo "none needed" >&6; } ;;
   11845   xno)
   11846     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   11847 $as_echo "unsupported" >&6; } ;;
   11848   *)
   11849     CC="$CC $ac_cv_prog_cc_c99"
   11850     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   11851 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   11852 esac
   11853 if test "x$ac_cv_prog_cc_c99" != xno; then :
   11854 
   11855 fi
   11856 
   11857 
   11858 
   11859 
   11860 
   11861 
   11862 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   11863 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   11864   CLANGCC="yes"
   11865 else
   11866   CLANGCC="no"
   11867 fi
   11868 
   11869 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   11870 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   11871   INTELCC="yes"
   11872 else
   11873   INTELCC="no"
   11874 fi
   11875 
   11876 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   11877 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   11878   SUNCC="yes"
   11879 else
   11880   SUNCC="no"
   11881 fi
   11882 
   11883 
   11884 
   11885 
   11886 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   11887 	if test -n "$ac_tool_prefix"; then
   11888   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   11889 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   11890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11891 $as_echo_n "checking for $ac_word... " >&6; }
   11892 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   11893   $as_echo_n "(cached) " >&6
   11894 else
   11895   case $PKG_CONFIG in
   11896   [\\/]* | ?:[\\/]*)
   11897   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   11898   ;;
   11899   *)
   11900   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11901 for as_dir in $PATH
   11902 do
   11903   IFS=$as_save_IFS
   11904   test -z "$as_dir" && as_dir=.
   11905     for ac_exec_ext in '' $ac_executable_extensions; do
   11906   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11907     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11908     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11909     break 2
   11910   fi
   11911 done
   11912   done
   11913 IFS=$as_save_IFS
   11914 
   11915   ;;
   11916 esac
   11917 fi
   11918 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   11919 if test -n "$PKG_CONFIG"; then
   11920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   11921 $as_echo "$PKG_CONFIG" >&6; }
   11922 else
   11923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11924 $as_echo "no" >&6; }
   11925 fi
   11926 
   11927 
   11928 fi
   11929 if test -z "$ac_cv_path_PKG_CONFIG"; then
   11930   ac_pt_PKG_CONFIG=$PKG_CONFIG
   11931   # Extract the first word of "pkg-config", so it can be a program name with args.
   11932 set dummy pkg-config; ac_word=$2
   11933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11934 $as_echo_n "checking for $ac_word... " >&6; }
   11935 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   11936   $as_echo_n "(cached) " >&6
   11937 else
   11938   case $ac_pt_PKG_CONFIG in
   11939   [\\/]* | ?:[\\/]*)
   11940   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   11941   ;;
   11942   *)
   11943   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11944 for as_dir in $PATH
   11945 do
   11946   IFS=$as_save_IFS
   11947   test -z "$as_dir" && as_dir=.
   11948     for ac_exec_ext in '' $ac_executable_extensions; do
   11949   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11950     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11951     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11952     break 2
   11953   fi
   11954 done
   11955   done
   11956 IFS=$as_save_IFS
   11957 
   11958   ;;
   11959 esac
   11960 fi
   11961 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   11962 if test -n "$ac_pt_PKG_CONFIG"; then
   11963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   11964 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   11965 else
   11966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11967 $as_echo "no" >&6; }
   11968 fi
   11969 
   11970   if test "x$ac_pt_PKG_CONFIG" = x; then
   11971     PKG_CONFIG=""
   11972   else
   11973     case $cross_compiling:$ac_tool_warned in
   11974 yes:)
   11975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11976 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11977 ac_tool_warned=yes ;;
   11978 esac
   11979     PKG_CONFIG=$ac_pt_PKG_CONFIG
   11980   fi
   11981 else
   11982   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   11983 fi
   11984 
   11985 fi
   11986 if test -n "$PKG_CONFIG"; then
   11987 	_pkg_min_version=0.9.0
   11988 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   11989 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   11990 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   11991 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11992 $as_echo "yes" >&6; }
   11993 	else
   11994 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11995 $as_echo "no" >&6; }
   11996 		PKG_CONFIG=""
   11997 	fi
   11998 
   11999 fi
   12000 
   12001 
   12002 
   12003 
   12004 
   12005 # Check whether --enable-selective-werror was given.
   12006 if test "${enable_selective_werror+set}" = set; then :
   12007   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   12008 else
   12009   SELECTIVE_WERROR=yes
   12010 fi
   12011 
   12012 
   12013 
   12014 
   12015 
   12016 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   12017 if test "x$SUNCC" = "xyes"; then
   12018     BASE_CFLAGS="-v"
   12019 else
   12020     BASE_CFLAGS=""
   12021 fi
   12022 
   12023 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   12024 
   12025 
   12026 
   12027 
   12028 
   12029 
   12030 
   12031 
   12032 
   12033 
   12034 
   12035 
   12036 
   12037 xorg_testset_save_CFLAGS="$CFLAGS"
   12038 
   12039 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12040 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12041 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12042 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12043 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12044   $as_echo_n "(cached) " >&6
   12045 else
   12046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12047 /* end confdefs.h.  */
   12048 int i;
   12049 _ACEOF
   12050 if ac_fn_c_try_compile "$LINENO"; then :
   12051   xorg_cv_cc_flag_unknown_warning_option=yes
   12052 else
   12053   xorg_cv_cc_flag_unknown_warning_option=no
   12054 fi
   12055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12056 fi
   12057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12058 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12059 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12060 	CFLAGS="$xorg_testset_save_CFLAGS"
   12061 fi
   12062 
   12063 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12064 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12065 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12066 	fi
   12067 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12068 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12069 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12070 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12071   $as_echo_n "(cached) " >&6
   12072 else
   12073   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12074 /* end confdefs.h.  */
   12075 int i;
   12076 _ACEOF
   12077 if ac_fn_c_try_compile "$LINENO"; then :
   12078   xorg_cv_cc_flag_unused_command_line_argument=yes
   12079 else
   12080   xorg_cv_cc_flag_unused_command_line_argument=no
   12081 fi
   12082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12083 fi
   12084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12085 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12086 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12087 	CFLAGS="$xorg_testset_save_CFLAGS"
   12088 fi
   12089 
   12090 found="no"
   12091 
   12092 	if test $found = "no" ; then
   12093 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12094 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12095 		fi
   12096 
   12097 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12098 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12099 		fi
   12100 
   12101 		CFLAGS="$CFLAGS -Wall"
   12102 
   12103 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   12104 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   12105 		cacheid=xorg_cv_cc_flag__Wall
   12106 		if eval \${$cacheid+:} false; then :
   12107   $as_echo_n "(cached) " >&6
   12108 else
   12109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12110 /* end confdefs.h.  */
   12111 int i;
   12112 int
   12113 main ()
   12114 {
   12115 
   12116   ;
   12117   return 0;
   12118 }
   12119 _ACEOF
   12120 if ac_fn_c_try_link "$LINENO"; then :
   12121   eval $cacheid=yes
   12122 else
   12123   eval $cacheid=no
   12124 fi
   12125 rm -f core conftest.err conftest.$ac_objext \
   12126     conftest$ac_exeext conftest.$ac_ext
   12127 fi
   12128 
   12129 
   12130 		CFLAGS="$xorg_testset_save_CFLAGS"
   12131 
   12132 		eval supported=\$$cacheid
   12133 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12134 $as_echo "$supported" >&6; }
   12135 		if test "$supported" = "yes" ; then
   12136 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   12137 			found="yes"
   12138 		fi
   12139 	fi
   12140 
   12141 
   12142 
   12143 
   12144 
   12145 
   12146 
   12147 
   12148 
   12149 
   12150 
   12151 
   12152 
   12153 
   12154 
   12155 xorg_testset_save_CFLAGS="$CFLAGS"
   12156 
   12157 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12158 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12159 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12160 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12161 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12162   $as_echo_n "(cached) " >&6
   12163 else
   12164   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12165 /* end confdefs.h.  */
   12166 int i;
   12167 _ACEOF
   12168 if ac_fn_c_try_compile "$LINENO"; then :
   12169   xorg_cv_cc_flag_unknown_warning_option=yes
   12170 else
   12171   xorg_cv_cc_flag_unknown_warning_option=no
   12172 fi
   12173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12174 fi
   12175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12176 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12177 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12178 	CFLAGS="$xorg_testset_save_CFLAGS"
   12179 fi
   12180 
   12181 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12182 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12183 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12184 	fi
   12185 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12186 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12187 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12188 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12189   $as_echo_n "(cached) " >&6
   12190 else
   12191   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12192 /* end confdefs.h.  */
   12193 int i;
   12194 _ACEOF
   12195 if ac_fn_c_try_compile "$LINENO"; then :
   12196   xorg_cv_cc_flag_unused_command_line_argument=yes
   12197 else
   12198   xorg_cv_cc_flag_unused_command_line_argument=no
   12199 fi
   12200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12201 fi
   12202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12203 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12204 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12205 	CFLAGS="$xorg_testset_save_CFLAGS"
   12206 fi
   12207 
   12208 found="no"
   12209 
   12210 	if test $found = "no" ; then
   12211 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12212 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12213 		fi
   12214 
   12215 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12216 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12217 		fi
   12218 
   12219 		CFLAGS="$CFLAGS -Wpointer-arith"
   12220 
   12221 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   12222 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   12223 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   12224 		if eval \${$cacheid+:} false; then :
   12225   $as_echo_n "(cached) " >&6
   12226 else
   12227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12228 /* end confdefs.h.  */
   12229 int i;
   12230 int
   12231 main ()
   12232 {
   12233 
   12234   ;
   12235   return 0;
   12236 }
   12237 _ACEOF
   12238 if ac_fn_c_try_link "$LINENO"; then :
   12239   eval $cacheid=yes
   12240 else
   12241   eval $cacheid=no
   12242 fi
   12243 rm -f core conftest.err conftest.$ac_objext \
   12244     conftest$ac_exeext conftest.$ac_ext
   12245 fi
   12246 
   12247 
   12248 		CFLAGS="$xorg_testset_save_CFLAGS"
   12249 
   12250 		eval supported=\$$cacheid
   12251 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12252 $as_echo "$supported" >&6; }
   12253 		if test "$supported" = "yes" ; then
   12254 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   12255 			found="yes"
   12256 		fi
   12257 	fi
   12258 
   12259 
   12260 
   12261 
   12262 
   12263 
   12264 
   12265 
   12266 
   12267 
   12268 
   12269 
   12270 
   12271 
   12272 
   12273 xorg_testset_save_CFLAGS="$CFLAGS"
   12274 
   12275 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12276 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12277 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12278 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12279 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12280   $as_echo_n "(cached) " >&6
   12281 else
   12282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12283 /* end confdefs.h.  */
   12284 int i;
   12285 _ACEOF
   12286 if ac_fn_c_try_compile "$LINENO"; then :
   12287   xorg_cv_cc_flag_unknown_warning_option=yes
   12288 else
   12289   xorg_cv_cc_flag_unknown_warning_option=no
   12290 fi
   12291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12292 fi
   12293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12294 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12295 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12296 	CFLAGS="$xorg_testset_save_CFLAGS"
   12297 fi
   12298 
   12299 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12300 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12301 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12302 	fi
   12303 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12304 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12305 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12306 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12307   $as_echo_n "(cached) " >&6
   12308 else
   12309   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12310 /* end confdefs.h.  */
   12311 int i;
   12312 _ACEOF
   12313 if ac_fn_c_try_compile "$LINENO"; then :
   12314   xorg_cv_cc_flag_unused_command_line_argument=yes
   12315 else
   12316   xorg_cv_cc_flag_unused_command_line_argument=no
   12317 fi
   12318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12319 fi
   12320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12321 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12322 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12323 	CFLAGS="$xorg_testset_save_CFLAGS"
   12324 fi
   12325 
   12326 found="no"
   12327 
   12328 	if test $found = "no" ; then
   12329 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12330 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12331 		fi
   12332 
   12333 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12334 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12335 		fi
   12336 
   12337 		CFLAGS="$CFLAGS -Wmissing-declarations"
   12338 
   12339 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   12340 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   12341 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   12342 		if eval \${$cacheid+:} false; then :
   12343   $as_echo_n "(cached) " >&6
   12344 else
   12345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12346 /* end confdefs.h.  */
   12347 int i;
   12348 int
   12349 main ()
   12350 {
   12351 
   12352   ;
   12353   return 0;
   12354 }
   12355 _ACEOF
   12356 if ac_fn_c_try_link "$LINENO"; then :
   12357   eval $cacheid=yes
   12358 else
   12359   eval $cacheid=no
   12360 fi
   12361 rm -f core conftest.err conftest.$ac_objext \
   12362     conftest$ac_exeext conftest.$ac_ext
   12363 fi
   12364 
   12365 
   12366 		CFLAGS="$xorg_testset_save_CFLAGS"
   12367 
   12368 		eval supported=\$$cacheid
   12369 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12370 $as_echo "$supported" >&6; }
   12371 		if test "$supported" = "yes" ; then
   12372 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   12373 			found="yes"
   12374 		fi
   12375 	fi
   12376 
   12377 
   12378 
   12379 
   12380 
   12381 
   12382 
   12383 
   12384 
   12385 
   12386 
   12387 
   12388 
   12389 
   12390 
   12391 xorg_testset_save_CFLAGS="$CFLAGS"
   12392 
   12393 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12394 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12395 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12396 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12397 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12398   $as_echo_n "(cached) " >&6
   12399 else
   12400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12401 /* end confdefs.h.  */
   12402 int i;
   12403 _ACEOF
   12404 if ac_fn_c_try_compile "$LINENO"; then :
   12405   xorg_cv_cc_flag_unknown_warning_option=yes
   12406 else
   12407   xorg_cv_cc_flag_unknown_warning_option=no
   12408 fi
   12409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12410 fi
   12411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12412 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12413 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12414 	CFLAGS="$xorg_testset_save_CFLAGS"
   12415 fi
   12416 
   12417 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12418 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12419 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12420 	fi
   12421 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12422 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12423 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12424 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12425   $as_echo_n "(cached) " >&6
   12426 else
   12427   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12428 /* end confdefs.h.  */
   12429 int i;
   12430 _ACEOF
   12431 if ac_fn_c_try_compile "$LINENO"; then :
   12432   xorg_cv_cc_flag_unused_command_line_argument=yes
   12433 else
   12434   xorg_cv_cc_flag_unused_command_line_argument=no
   12435 fi
   12436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12437 fi
   12438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12439 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12440 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12441 	CFLAGS="$xorg_testset_save_CFLAGS"
   12442 fi
   12443 
   12444 found="no"
   12445 
   12446 	if test $found = "no" ; then
   12447 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12448 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12449 		fi
   12450 
   12451 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12452 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12453 		fi
   12454 
   12455 		CFLAGS="$CFLAGS -Wformat=2"
   12456 
   12457 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   12458 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   12459 		cacheid=xorg_cv_cc_flag__Wformat_2
   12460 		if eval \${$cacheid+:} false; then :
   12461   $as_echo_n "(cached) " >&6
   12462 else
   12463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12464 /* end confdefs.h.  */
   12465 int i;
   12466 int
   12467 main ()
   12468 {
   12469 
   12470   ;
   12471   return 0;
   12472 }
   12473 _ACEOF
   12474 if ac_fn_c_try_link "$LINENO"; then :
   12475   eval $cacheid=yes
   12476 else
   12477   eval $cacheid=no
   12478 fi
   12479 rm -f core conftest.err conftest.$ac_objext \
   12480     conftest$ac_exeext conftest.$ac_ext
   12481 fi
   12482 
   12483 
   12484 		CFLAGS="$xorg_testset_save_CFLAGS"
   12485 
   12486 		eval supported=\$$cacheid
   12487 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12488 $as_echo "$supported" >&6; }
   12489 		if test "$supported" = "yes" ; then
   12490 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   12491 			found="yes"
   12492 		fi
   12493 	fi
   12494 
   12495 	if test $found = "no" ; then
   12496 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12497 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12498 		fi
   12499 
   12500 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12501 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12502 		fi
   12503 
   12504 		CFLAGS="$CFLAGS -Wformat"
   12505 
   12506 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   12507 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   12508 		cacheid=xorg_cv_cc_flag__Wformat
   12509 		if eval \${$cacheid+:} false; then :
   12510   $as_echo_n "(cached) " >&6
   12511 else
   12512   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12513 /* end confdefs.h.  */
   12514 int i;
   12515 int
   12516 main ()
   12517 {
   12518 
   12519   ;
   12520   return 0;
   12521 }
   12522 _ACEOF
   12523 if ac_fn_c_try_link "$LINENO"; then :
   12524   eval $cacheid=yes
   12525 else
   12526   eval $cacheid=no
   12527 fi
   12528 rm -f core conftest.err conftest.$ac_objext \
   12529     conftest$ac_exeext conftest.$ac_ext
   12530 fi
   12531 
   12532 
   12533 		CFLAGS="$xorg_testset_save_CFLAGS"
   12534 
   12535 		eval supported=\$$cacheid
   12536 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12537 $as_echo "$supported" >&6; }
   12538 		if test "$supported" = "yes" ; then
   12539 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   12540 			found="yes"
   12541 		fi
   12542 	fi
   12543 
   12544 
   12545 
   12546 
   12547 
   12548 
   12549 
   12550 
   12551 
   12552 
   12553 
   12554 
   12555 
   12556 
   12557 
   12558 
   12559 
   12560 xorg_testset_save_CFLAGS="$CFLAGS"
   12561 
   12562 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12563 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12564 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12565 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12566 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12567   $as_echo_n "(cached) " >&6
   12568 else
   12569   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12570 /* end confdefs.h.  */
   12571 int i;
   12572 _ACEOF
   12573 if ac_fn_c_try_compile "$LINENO"; then :
   12574   xorg_cv_cc_flag_unknown_warning_option=yes
   12575 else
   12576   xorg_cv_cc_flag_unknown_warning_option=no
   12577 fi
   12578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12579 fi
   12580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12581 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12582 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12583 	CFLAGS="$xorg_testset_save_CFLAGS"
   12584 fi
   12585 
   12586 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12587 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12588 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12589 	fi
   12590 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12591 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12592 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12593 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12594   $as_echo_n "(cached) " >&6
   12595 else
   12596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12597 /* end confdefs.h.  */
   12598 int i;
   12599 _ACEOF
   12600 if ac_fn_c_try_compile "$LINENO"; then :
   12601   xorg_cv_cc_flag_unused_command_line_argument=yes
   12602 else
   12603   xorg_cv_cc_flag_unused_command_line_argument=no
   12604 fi
   12605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12606 fi
   12607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12608 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12609 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12610 	CFLAGS="$xorg_testset_save_CFLAGS"
   12611 fi
   12612 
   12613 found="no"
   12614 
   12615 	if test $found = "no" ; then
   12616 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12617 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12618 		fi
   12619 
   12620 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12621 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12622 		fi
   12623 
   12624 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   12625 
   12626 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   12627 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   12628 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   12629 		if eval \${$cacheid+:} false; then :
   12630   $as_echo_n "(cached) " >&6
   12631 else
   12632   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12633 /* end confdefs.h.  */
   12634 int i;
   12635 int
   12636 main ()
   12637 {
   12638 
   12639   ;
   12640   return 0;
   12641 }
   12642 _ACEOF
   12643 if ac_fn_c_try_link "$LINENO"; then :
   12644   eval $cacheid=yes
   12645 else
   12646   eval $cacheid=no
   12647 fi
   12648 rm -f core conftest.err conftest.$ac_objext \
   12649     conftest$ac_exeext conftest.$ac_ext
   12650 fi
   12651 
   12652 
   12653 		CFLAGS="$xorg_testset_save_CFLAGS"
   12654 
   12655 		eval supported=\$$cacheid
   12656 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12657 $as_echo "$supported" >&6; }
   12658 		if test "$supported" = "yes" ; then
   12659 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   12660 			found="yes"
   12661 		fi
   12662 	fi
   12663 
   12664 
   12665 
   12666 
   12667 
   12668 
   12669 
   12670 
   12671 
   12672 
   12673 
   12674 
   12675 
   12676 
   12677 
   12678 xorg_testset_save_CFLAGS="$CFLAGS"
   12679 
   12680 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12681 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12682 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12683 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12684 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12685   $as_echo_n "(cached) " >&6
   12686 else
   12687   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12688 /* end confdefs.h.  */
   12689 int i;
   12690 _ACEOF
   12691 if ac_fn_c_try_compile "$LINENO"; then :
   12692   xorg_cv_cc_flag_unknown_warning_option=yes
   12693 else
   12694   xorg_cv_cc_flag_unknown_warning_option=no
   12695 fi
   12696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12697 fi
   12698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12699 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12700 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12701 	CFLAGS="$xorg_testset_save_CFLAGS"
   12702 fi
   12703 
   12704 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12705 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12706 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12707 	fi
   12708 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12709 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12710 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12711 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12712   $as_echo_n "(cached) " >&6
   12713 else
   12714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12715 /* end confdefs.h.  */
   12716 int i;
   12717 _ACEOF
   12718 if ac_fn_c_try_compile "$LINENO"; then :
   12719   xorg_cv_cc_flag_unused_command_line_argument=yes
   12720 else
   12721   xorg_cv_cc_flag_unused_command_line_argument=no
   12722 fi
   12723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12724 fi
   12725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12726 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12727 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12728 	CFLAGS="$xorg_testset_save_CFLAGS"
   12729 fi
   12730 
   12731 found="no"
   12732 
   12733 	if test $found = "no" ; then
   12734 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12735 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12736 		fi
   12737 
   12738 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12739 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12740 		fi
   12741 
   12742 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   12743 
   12744 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   12745 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   12746 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   12747 		if eval \${$cacheid+:} false; then :
   12748   $as_echo_n "(cached) " >&6
   12749 else
   12750   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12751 /* end confdefs.h.  */
   12752 int i;
   12753 int
   12754 main ()
   12755 {
   12756 
   12757   ;
   12758   return 0;
   12759 }
   12760 _ACEOF
   12761 if ac_fn_c_try_link "$LINENO"; then :
   12762   eval $cacheid=yes
   12763 else
   12764   eval $cacheid=no
   12765 fi
   12766 rm -f core conftest.err conftest.$ac_objext \
   12767     conftest$ac_exeext conftest.$ac_ext
   12768 fi
   12769 
   12770 
   12771 		CFLAGS="$xorg_testset_save_CFLAGS"
   12772 
   12773 		eval supported=\$$cacheid
   12774 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12775 $as_echo "$supported" >&6; }
   12776 		if test "$supported" = "yes" ; then
   12777 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   12778 			found="yes"
   12779 		fi
   12780 	fi
   12781 
   12782 
   12783 
   12784 
   12785 
   12786 
   12787 
   12788 
   12789 
   12790 
   12791 
   12792 
   12793 
   12794 
   12795 
   12796 xorg_testset_save_CFLAGS="$CFLAGS"
   12797 
   12798 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12799 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12800 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12801 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12802 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12803   $as_echo_n "(cached) " >&6
   12804 else
   12805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12806 /* end confdefs.h.  */
   12807 int i;
   12808 _ACEOF
   12809 if ac_fn_c_try_compile "$LINENO"; then :
   12810   xorg_cv_cc_flag_unknown_warning_option=yes
   12811 else
   12812   xorg_cv_cc_flag_unknown_warning_option=no
   12813 fi
   12814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12815 fi
   12816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12817 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12818 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12819 	CFLAGS="$xorg_testset_save_CFLAGS"
   12820 fi
   12821 
   12822 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12823 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12824 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12825 	fi
   12826 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12827 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12828 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12829 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12830   $as_echo_n "(cached) " >&6
   12831 else
   12832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12833 /* end confdefs.h.  */
   12834 int i;
   12835 _ACEOF
   12836 if ac_fn_c_try_compile "$LINENO"; then :
   12837   xorg_cv_cc_flag_unused_command_line_argument=yes
   12838 else
   12839   xorg_cv_cc_flag_unused_command_line_argument=no
   12840 fi
   12841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12842 fi
   12843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12844 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12845 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12846 	CFLAGS="$xorg_testset_save_CFLAGS"
   12847 fi
   12848 
   12849 found="no"
   12850 
   12851 	if test $found = "no" ; then
   12852 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12853 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12854 		fi
   12855 
   12856 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12857 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12858 		fi
   12859 
   12860 		CFLAGS="$CFLAGS -Wnested-externs"
   12861 
   12862 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   12863 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   12864 		cacheid=xorg_cv_cc_flag__Wnested_externs
   12865 		if eval \${$cacheid+:} false; then :
   12866   $as_echo_n "(cached) " >&6
   12867 else
   12868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12869 /* end confdefs.h.  */
   12870 int i;
   12871 int
   12872 main ()
   12873 {
   12874 
   12875   ;
   12876   return 0;
   12877 }
   12878 _ACEOF
   12879 if ac_fn_c_try_link "$LINENO"; then :
   12880   eval $cacheid=yes
   12881 else
   12882   eval $cacheid=no
   12883 fi
   12884 rm -f core conftest.err conftest.$ac_objext \
   12885     conftest$ac_exeext conftest.$ac_ext
   12886 fi
   12887 
   12888 
   12889 		CFLAGS="$xorg_testset_save_CFLAGS"
   12890 
   12891 		eval supported=\$$cacheid
   12892 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12893 $as_echo "$supported" >&6; }
   12894 		if test "$supported" = "yes" ; then
   12895 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   12896 			found="yes"
   12897 		fi
   12898 	fi
   12899 
   12900 
   12901 
   12902 
   12903 
   12904 
   12905 
   12906 
   12907 
   12908 
   12909 
   12910 
   12911 
   12912 
   12913 
   12914 xorg_testset_save_CFLAGS="$CFLAGS"
   12915 
   12916 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12917 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12918 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12919 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12920 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12921   $as_echo_n "(cached) " >&6
   12922 else
   12923   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12924 /* end confdefs.h.  */
   12925 int i;
   12926 _ACEOF
   12927 if ac_fn_c_try_compile "$LINENO"; then :
   12928   xorg_cv_cc_flag_unknown_warning_option=yes
   12929 else
   12930   xorg_cv_cc_flag_unknown_warning_option=no
   12931 fi
   12932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12933 fi
   12934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12935 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12936 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12937 	CFLAGS="$xorg_testset_save_CFLAGS"
   12938 fi
   12939 
   12940 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12941 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12942 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12943 	fi
   12944 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12945 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12946 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12947 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12948   $as_echo_n "(cached) " >&6
   12949 else
   12950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12951 /* end confdefs.h.  */
   12952 int i;
   12953 _ACEOF
   12954 if ac_fn_c_try_compile "$LINENO"; then :
   12955   xorg_cv_cc_flag_unused_command_line_argument=yes
   12956 else
   12957   xorg_cv_cc_flag_unused_command_line_argument=no
   12958 fi
   12959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12960 fi
   12961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12962 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12963 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12964 	CFLAGS="$xorg_testset_save_CFLAGS"
   12965 fi
   12966 
   12967 found="no"
   12968 
   12969 	if test $found = "no" ; then
   12970 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12971 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12972 		fi
   12973 
   12974 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12975 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12976 		fi
   12977 
   12978 		CFLAGS="$CFLAGS -Wbad-function-cast"
   12979 
   12980 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   12981 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   12982 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   12983 		if eval \${$cacheid+:} false; then :
   12984   $as_echo_n "(cached) " >&6
   12985 else
   12986   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12987 /* end confdefs.h.  */
   12988 int i;
   12989 int
   12990 main ()
   12991 {
   12992 
   12993   ;
   12994   return 0;
   12995 }
   12996 _ACEOF
   12997 if ac_fn_c_try_link "$LINENO"; then :
   12998   eval $cacheid=yes
   12999 else
   13000   eval $cacheid=no
   13001 fi
   13002 rm -f core conftest.err conftest.$ac_objext \
   13003     conftest$ac_exeext conftest.$ac_ext
   13004 fi
   13005 
   13006 
   13007 		CFLAGS="$xorg_testset_save_CFLAGS"
   13008 
   13009 		eval supported=\$$cacheid
   13010 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13011 $as_echo "$supported" >&6; }
   13012 		if test "$supported" = "yes" ; then
   13013 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   13014 			found="yes"
   13015 		fi
   13016 	fi
   13017 
   13018 
   13019 
   13020 
   13021 
   13022 
   13023 
   13024 
   13025 
   13026 
   13027 
   13028 
   13029 
   13030 
   13031 
   13032 xorg_testset_save_CFLAGS="$CFLAGS"
   13033 
   13034 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13035 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13036 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13037 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13038 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13039   $as_echo_n "(cached) " >&6
   13040 else
   13041   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13042 /* end confdefs.h.  */
   13043 int i;
   13044 _ACEOF
   13045 if ac_fn_c_try_compile "$LINENO"; then :
   13046   xorg_cv_cc_flag_unknown_warning_option=yes
   13047 else
   13048   xorg_cv_cc_flag_unknown_warning_option=no
   13049 fi
   13050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13051 fi
   13052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13053 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13054 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13055 	CFLAGS="$xorg_testset_save_CFLAGS"
   13056 fi
   13057 
   13058 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13059 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13060 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13061 	fi
   13062 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13063 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13064 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13065 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13066   $as_echo_n "(cached) " >&6
   13067 else
   13068   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13069 /* end confdefs.h.  */
   13070 int i;
   13071 _ACEOF
   13072 if ac_fn_c_try_compile "$LINENO"; then :
   13073   xorg_cv_cc_flag_unused_command_line_argument=yes
   13074 else
   13075   xorg_cv_cc_flag_unused_command_line_argument=no
   13076 fi
   13077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13078 fi
   13079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13080 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13081 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13082 	CFLAGS="$xorg_testset_save_CFLAGS"
   13083 fi
   13084 
   13085 found="no"
   13086 
   13087 	if test $found = "no" ; then
   13088 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13089 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13090 		fi
   13091 
   13092 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13093 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13094 		fi
   13095 
   13096 		CFLAGS="$CFLAGS -Wold-style-definition"
   13097 
   13098 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   13099 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   13100 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   13101 		if eval \${$cacheid+:} false; then :
   13102   $as_echo_n "(cached) " >&6
   13103 else
   13104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13105 /* end confdefs.h.  */
   13106 int i;
   13107 int
   13108 main ()
   13109 {
   13110 
   13111   ;
   13112   return 0;
   13113 }
   13114 _ACEOF
   13115 if ac_fn_c_try_link "$LINENO"; then :
   13116   eval $cacheid=yes
   13117 else
   13118   eval $cacheid=no
   13119 fi
   13120 rm -f core conftest.err conftest.$ac_objext \
   13121     conftest$ac_exeext conftest.$ac_ext
   13122 fi
   13123 
   13124 
   13125 		CFLAGS="$xorg_testset_save_CFLAGS"
   13126 
   13127 		eval supported=\$$cacheid
   13128 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13129 $as_echo "$supported" >&6; }
   13130 		if test "$supported" = "yes" ; then
   13131 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   13132 			found="yes"
   13133 		fi
   13134 	fi
   13135 
   13136 	if test $found = "no" ; then
   13137 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13138 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13139 		fi
   13140 
   13141 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13142 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13143 		fi
   13144 
   13145 		CFLAGS="$CFLAGS -fd"
   13146 
   13147 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   13148 $as_echo_n "checking if $CC supports -fd... " >&6; }
   13149 		cacheid=xorg_cv_cc_flag__fd
   13150 		if eval \${$cacheid+:} false; then :
   13151   $as_echo_n "(cached) " >&6
   13152 else
   13153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13154 /* end confdefs.h.  */
   13155 int i;
   13156 int
   13157 main ()
   13158 {
   13159 
   13160   ;
   13161   return 0;
   13162 }
   13163 _ACEOF
   13164 if ac_fn_c_try_link "$LINENO"; then :
   13165   eval $cacheid=yes
   13166 else
   13167   eval $cacheid=no
   13168 fi
   13169 rm -f core conftest.err conftest.$ac_objext \
   13170     conftest$ac_exeext conftest.$ac_ext
   13171 fi
   13172 
   13173 
   13174 		CFLAGS="$xorg_testset_save_CFLAGS"
   13175 
   13176 		eval supported=\$$cacheid
   13177 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13178 $as_echo "$supported" >&6; }
   13179 		if test "$supported" = "yes" ; then
   13180 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   13181 			found="yes"
   13182 		fi
   13183 	fi
   13184 
   13185 
   13186 
   13187 
   13188 
   13189 
   13190 
   13191 
   13192 
   13193 
   13194 
   13195 
   13196 
   13197 
   13198 
   13199 xorg_testset_save_CFLAGS="$CFLAGS"
   13200 
   13201 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13202 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13203 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13204 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13205 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13206   $as_echo_n "(cached) " >&6
   13207 else
   13208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13209 /* end confdefs.h.  */
   13210 int i;
   13211 _ACEOF
   13212 if ac_fn_c_try_compile "$LINENO"; then :
   13213   xorg_cv_cc_flag_unknown_warning_option=yes
   13214 else
   13215   xorg_cv_cc_flag_unknown_warning_option=no
   13216 fi
   13217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13218 fi
   13219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13220 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13221 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13222 	CFLAGS="$xorg_testset_save_CFLAGS"
   13223 fi
   13224 
   13225 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13226 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13227 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13228 	fi
   13229 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13230 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13231 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13232 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13233   $as_echo_n "(cached) " >&6
   13234 else
   13235   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13236 /* end confdefs.h.  */
   13237 int i;
   13238 _ACEOF
   13239 if ac_fn_c_try_compile "$LINENO"; then :
   13240   xorg_cv_cc_flag_unused_command_line_argument=yes
   13241 else
   13242   xorg_cv_cc_flag_unused_command_line_argument=no
   13243 fi
   13244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13245 fi
   13246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13247 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13248 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13249 	CFLAGS="$xorg_testset_save_CFLAGS"
   13250 fi
   13251 
   13252 found="no"
   13253 
   13254 	if test $found = "no" ; then
   13255 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13256 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13257 		fi
   13258 
   13259 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13260 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13261 		fi
   13262 
   13263 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   13264 
   13265 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   13266 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   13267 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   13268 		if eval \${$cacheid+:} false; then :
   13269   $as_echo_n "(cached) " >&6
   13270 else
   13271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13272 /* end confdefs.h.  */
   13273 int i;
   13274 int
   13275 main ()
   13276 {
   13277 
   13278   ;
   13279   return 0;
   13280 }
   13281 _ACEOF
   13282 if ac_fn_c_try_link "$LINENO"; then :
   13283   eval $cacheid=yes
   13284 else
   13285   eval $cacheid=no
   13286 fi
   13287 rm -f core conftest.err conftest.$ac_objext \
   13288     conftest$ac_exeext conftest.$ac_ext
   13289 fi
   13290 
   13291 
   13292 		CFLAGS="$xorg_testset_save_CFLAGS"
   13293 
   13294 		eval supported=\$$cacheid
   13295 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13296 $as_echo "$supported" >&6; }
   13297 		if test "$supported" = "yes" ; then
   13298 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   13299 			found="yes"
   13300 		fi
   13301 	fi
   13302 
   13303 
   13304 
   13305 
   13306 
   13307 # This chunk adds additional warnings that could catch undesired effects.
   13308 
   13309 
   13310 
   13311 
   13312 
   13313 
   13314 
   13315 
   13316 
   13317 
   13318 
   13319 
   13320 
   13321 xorg_testset_save_CFLAGS="$CFLAGS"
   13322 
   13323 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13324 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13325 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13326 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13327 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13328   $as_echo_n "(cached) " >&6
   13329 else
   13330   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13331 /* end confdefs.h.  */
   13332 int i;
   13333 _ACEOF
   13334 if ac_fn_c_try_compile "$LINENO"; then :
   13335   xorg_cv_cc_flag_unknown_warning_option=yes
   13336 else
   13337   xorg_cv_cc_flag_unknown_warning_option=no
   13338 fi
   13339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13340 fi
   13341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13342 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13343 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13344 	CFLAGS="$xorg_testset_save_CFLAGS"
   13345 fi
   13346 
   13347 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13348 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13349 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13350 	fi
   13351 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13352 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13353 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13354 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13355   $as_echo_n "(cached) " >&6
   13356 else
   13357   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13358 /* end confdefs.h.  */
   13359 int i;
   13360 _ACEOF
   13361 if ac_fn_c_try_compile "$LINENO"; then :
   13362   xorg_cv_cc_flag_unused_command_line_argument=yes
   13363 else
   13364   xorg_cv_cc_flag_unused_command_line_argument=no
   13365 fi
   13366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13367 fi
   13368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13369 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13370 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13371 	CFLAGS="$xorg_testset_save_CFLAGS"
   13372 fi
   13373 
   13374 found="no"
   13375 
   13376 	if test $found = "no" ; then
   13377 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13378 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13379 		fi
   13380 
   13381 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13382 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13383 		fi
   13384 
   13385 		CFLAGS="$CFLAGS -Wunused"
   13386 
   13387 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   13388 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   13389 		cacheid=xorg_cv_cc_flag__Wunused
   13390 		if eval \${$cacheid+:} false; then :
   13391   $as_echo_n "(cached) " >&6
   13392 else
   13393   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13394 /* end confdefs.h.  */
   13395 int i;
   13396 int
   13397 main ()
   13398 {
   13399 
   13400   ;
   13401   return 0;
   13402 }
   13403 _ACEOF
   13404 if ac_fn_c_try_link "$LINENO"; then :
   13405   eval $cacheid=yes
   13406 else
   13407   eval $cacheid=no
   13408 fi
   13409 rm -f core conftest.err conftest.$ac_objext \
   13410     conftest$ac_exeext conftest.$ac_ext
   13411 fi
   13412 
   13413 
   13414 		CFLAGS="$xorg_testset_save_CFLAGS"
   13415 
   13416 		eval supported=\$$cacheid
   13417 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13418 $as_echo "$supported" >&6; }
   13419 		if test "$supported" = "yes" ; then
   13420 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   13421 			found="yes"
   13422 		fi
   13423 	fi
   13424 
   13425 
   13426 
   13427 
   13428 
   13429 
   13430 
   13431 
   13432 
   13433 
   13434 
   13435 
   13436 
   13437 
   13438 
   13439 xorg_testset_save_CFLAGS="$CFLAGS"
   13440 
   13441 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13442 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13443 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13444 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13445 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13446   $as_echo_n "(cached) " >&6
   13447 else
   13448   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13449 /* end confdefs.h.  */
   13450 int i;
   13451 _ACEOF
   13452 if ac_fn_c_try_compile "$LINENO"; then :
   13453   xorg_cv_cc_flag_unknown_warning_option=yes
   13454 else
   13455   xorg_cv_cc_flag_unknown_warning_option=no
   13456 fi
   13457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13458 fi
   13459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13460 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13461 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13462 	CFLAGS="$xorg_testset_save_CFLAGS"
   13463 fi
   13464 
   13465 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13466 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13467 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13468 	fi
   13469 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13470 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13471 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13472 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13473   $as_echo_n "(cached) " >&6
   13474 else
   13475   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13476 /* end confdefs.h.  */
   13477 int i;
   13478 _ACEOF
   13479 if ac_fn_c_try_compile "$LINENO"; then :
   13480   xorg_cv_cc_flag_unused_command_line_argument=yes
   13481 else
   13482   xorg_cv_cc_flag_unused_command_line_argument=no
   13483 fi
   13484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13485 fi
   13486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13487 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13488 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13489 	CFLAGS="$xorg_testset_save_CFLAGS"
   13490 fi
   13491 
   13492 found="no"
   13493 
   13494 	if test $found = "no" ; then
   13495 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13496 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13497 		fi
   13498 
   13499 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13500 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13501 		fi
   13502 
   13503 		CFLAGS="$CFLAGS -Wuninitialized"
   13504 
   13505 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   13506 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   13507 		cacheid=xorg_cv_cc_flag__Wuninitialized
   13508 		if eval \${$cacheid+:} false; then :
   13509   $as_echo_n "(cached) " >&6
   13510 else
   13511   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13512 /* end confdefs.h.  */
   13513 int i;
   13514 int
   13515 main ()
   13516 {
   13517 
   13518   ;
   13519   return 0;
   13520 }
   13521 _ACEOF
   13522 if ac_fn_c_try_link "$LINENO"; then :
   13523   eval $cacheid=yes
   13524 else
   13525   eval $cacheid=no
   13526 fi
   13527 rm -f core conftest.err conftest.$ac_objext \
   13528     conftest$ac_exeext conftest.$ac_ext
   13529 fi
   13530 
   13531 
   13532 		CFLAGS="$xorg_testset_save_CFLAGS"
   13533 
   13534 		eval supported=\$$cacheid
   13535 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13536 $as_echo "$supported" >&6; }
   13537 		if test "$supported" = "yes" ; then
   13538 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   13539 			found="yes"
   13540 		fi
   13541 	fi
   13542 
   13543 
   13544 
   13545 
   13546 
   13547 
   13548 
   13549 
   13550 
   13551 
   13552 
   13553 
   13554 
   13555 
   13556 
   13557 xorg_testset_save_CFLAGS="$CFLAGS"
   13558 
   13559 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13560 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13561 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13562 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13563 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13564   $as_echo_n "(cached) " >&6
   13565 else
   13566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13567 /* end confdefs.h.  */
   13568 int i;
   13569 _ACEOF
   13570 if ac_fn_c_try_compile "$LINENO"; then :
   13571   xorg_cv_cc_flag_unknown_warning_option=yes
   13572 else
   13573   xorg_cv_cc_flag_unknown_warning_option=no
   13574 fi
   13575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13576 fi
   13577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13578 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13579 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13580 	CFLAGS="$xorg_testset_save_CFLAGS"
   13581 fi
   13582 
   13583 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13584 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13585 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13586 	fi
   13587 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13588 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13589 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13590 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13591   $as_echo_n "(cached) " >&6
   13592 else
   13593   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13594 /* end confdefs.h.  */
   13595 int i;
   13596 _ACEOF
   13597 if ac_fn_c_try_compile "$LINENO"; then :
   13598   xorg_cv_cc_flag_unused_command_line_argument=yes
   13599 else
   13600   xorg_cv_cc_flag_unused_command_line_argument=no
   13601 fi
   13602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13603 fi
   13604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13605 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13606 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13607 	CFLAGS="$xorg_testset_save_CFLAGS"
   13608 fi
   13609 
   13610 found="no"
   13611 
   13612 	if test $found = "no" ; then
   13613 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13614 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13615 		fi
   13616 
   13617 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13618 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13619 		fi
   13620 
   13621 		CFLAGS="$CFLAGS -Wshadow"
   13622 
   13623 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   13624 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   13625 		cacheid=xorg_cv_cc_flag__Wshadow
   13626 		if eval \${$cacheid+:} false; then :
   13627   $as_echo_n "(cached) " >&6
   13628 else
   13629   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13630 /* end confdefs.h.  */
   13631 int i;
   13632 int
   13633 main ()
   13634 {
   13635 
   13636   ;
   13637   return 0;
   13638 }
   13639 _ACEOF
   13640 if ac_fn_c_try_link "$LINENO"; then :
   13641   eval $cacheid=yes
   13642 else
   13643   eval $cacheid=no
   13644 fi
   13645 rm -f core conftest.err conftest.$ac_objext \
   13646     conftest$ac_exeext conftest.$ac_ext
   13647 fi
   13648 
   13649 
   13650 		CFLAGS="$xorg_testset_save_CFLAGS"
   13651 
   13652 		eval supported=\$$cacheid
   13653 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13654 $as_echo "$supported" >&6; }
   13655 		if test "$supported" = "yes" ; then
   13656 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   13657 			found="yes"
   13658 		fi
   13659 	fi
   13660 
   13661 
   13662 
   13663 
   13664 
   13665 
   13666 
   13667 
   13668 
   13669 
   13670 
   13671 
   13672 
   13673 
   13674 
   13675 xorg_testset_save_CFLAGS="$CFLAGS"
   13676 
   13677 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13678 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13679 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13680 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13681 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13682   $as_echo_n "(cached) " >&6
   13683 else
   13684   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13685 /* end confdefs.h.  */
   13686 int i;
   13687 _ACEOF
   13688 if ac_fn_c_try_compile "$LINENO"; then :
   13689   xorg_cv_cc_flag_unknown_warning_option=yes
   13690 else
   13691   xorg_cv_cc_flag_unknown_warning_option=no
   13692 fi
   13693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13694 fi
   13695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13696 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13697 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13698 	CFLAGS="$xorg_testset_save_CFLAGS"
   13699 fi
   13700 
   13701 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13702 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13703 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13704 	fi
   13705 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13706 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13707 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13708 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13709   $as_echo_n "(cached) " >&6
   13710 else
   13711   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13712 /* end confdefs.h.  */
   13713 int i;
   13714 _ACEOF
   13715 if ac_fn_c_try_compile "$LINENO"; then :
   13716   xorg_cv_cc_flag_unused_command_line_argument=yes
   13717 else
   13718   xorg_cv_cc_flag_unused_command_line_argument=no
   13719 fi
   13720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13721 fi
   13722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13723 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13724 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13725 	CFLAGS="$xorg_testset_save_CFLAGS"
   13726 fi
   13727 
   13728 found="no"
   13729 
   13730 	if test $found = "no" ; then
   13731 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13732 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13733 		fi
   13734 
   13735 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13736 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13737 		fi
   13738 
   13739 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   13740 
   13741 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   13742 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   13743 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   13744 		if eval \${$cacheid+:} false; then :
   13745   $as_echo_n "(cached) " >&6
   13746 else
   13747   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13748 /* end confdefs.h.  */
   13749 int i;
   13750 int
   13751 main ()
   13752 {
   13753 
   13754   ;
   13755   return 0;
   13756 }
   13757 _ACEOF
   13758 if ac_fn_c_try_link "$LINENO"; then :
   13759   eval $cacheid=yes
   13760 else
   13761   eval $cacheid=no
   13762 fi
   13763 rm -f core conftest.err conftest.$ac_objext \
   13764     conftest$ac_exeext conftest.$ac_ext
   13765 fi
   13766 
   13767 
   13768 		CFLAGS="$xorg_testset_save_CFLAGS"
   13769 
   13770 		eval supported=\$$cacheid
   13771 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13772 $as_echo "$supported" >&6; }
   13773 		if test "$supported" = "yes" ; then
   13774 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   13775 			found="yes"
   13776 		fi
   13777 	fi
   13778 
   13779 
   13780 
   13781 
   13782 
   13783 
   13784 
   13785 
   13786 
   13787 
   13788 
   13789 
   13790 
   13791 
   13792 
   13793 xorg_testset_save_CFLAGS="$CFLAGS"
   13794 
   13795 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13796 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13797 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13798 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13799 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13800   $as_echo_n "(cached) " >&6
   13801 else
   13802   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13803 /* end confdefs.h.  */
   13804 int i;
   13805 _ACEOF
   13806 if ac_fn_c_try_compile "$LINENO"; then :
   13807   xorg_cv_cc_flag_unknown_warning_option=yes
   13808 else
   13809   xorg_cv_cc_flag_unknown_warning_option=no
   13810 fi
   13811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13812 fi
   13813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13814 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13815 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13816 	CFLAGS="$xorg_testset_save_CFLAGS"
   13817 fi
   13818 
   13819 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13820 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13821 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13822 	fi
   13823 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13824 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13825 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13826 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13827   $as_echo_n "(cached) " >&6
   13828 else
   13829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13830 /* end confdefs.h.  */
   13831 int i;
   13832 _ACEOF
   13833 if ac_fn_c_try_compile "$LINENO"; then :
   13834   xorg_cv_cc_flag_unused_command_line_argument=yes
   13835 else
   13836   xorg_cv_cc_flag_unused_command_line_argument=no
   13837 fi
   13838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13839 fi
   13840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13841 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13842 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13843 	CFLAGS="$xorg_testset_save_CFLAGS"
   13844 fi
   13845 
   13846 found="no"
   13847 
   13848 	if test $found = "no" ; then
   13849 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13850 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13851 		fi
   13852 
   13853 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13854 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13855 		fi
   13856 
   13857 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   13858 
   13859 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   13860 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   13861 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   13862 		if eval \${$cacheid+:} false; then :
   13863   $as_echo_n "(cached) " >&6
   13864 else
   13865   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13866 /* end confdefs.h.  */
   13867 int i;
   13868 int
   13869 main ()
   13870 {
   13871 
   13872   ;
   13873   return 0;
   13874 }
   13875 _ACEOF
   13876 if ac_fn_c_try_link "$LINENO"; then :
   13877   eval $cacheid=yes
   13878 else
   13879   eval $cacheid=no
   13880 fi
   13881 rm -f core conftest.err conftest.$ac_objext \
   13882     conftest$ac_exeext conftest.$ac_ext
   13883 fi
   13884 
   13885 
   13886 		CFLAGS="$xorg_testset_save_CFLAGS"
   13887 
   13888 		eval supported=\$$cacheid
   13889 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13890 $as_echo "$supported" >&6; }
   13891 		if test "$supported" = "yes" ; then
   13892 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   13893 			found="yes"
   13894 		fi
   13895 	fi
   13896 
   13897 
   13898 
   13899 
   13900 
   13901 
   13902 
   13903 
   13904 
   13905 
   13906 
   13907 
   13908 
   13909 
   13910 
   13911 xorg_testset_save_CFLAGS="$CFLAGS"
   13912 
   13913 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13914 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13915 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13916 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13917 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13918   $as_echo_n "(cached) " >&6
   13919 else
   13920   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13921 /* end confdefs.h.  */
   13922 int i;
   13923 _ACEOF
   13924 if ac_fn_c_try_compile "$LINENO"; then :
   13925   xorg_cv_cc_flag_unknown_warning_option=yes
   13926 else
   13927   xorg_cv_cc_flag_unknown_warning_option=no
   13928 fi
   13929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13930 fi
   13931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13932 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13933 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13934 	CFLAGS="$xorg_testset_save_CFLAGS"
   13935 fi
   13936 
   13937 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13938 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13939 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13940 	fi
   13941 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13942 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13943 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13944 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13945   $as_echo_n "(cached) " >&6
   13946 else
   13947   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13948 /* end confdefs.h.  */
   13949 int i;
   13950 _ACEOF
   13951 if ac_fn_c_try_compile "$LINENO"; then :
   13952   xorg_cv_cc_flag_unused_command_line_argument=yes
   13953 else
   13954   xorg_cv_cc_flag_unused_command_line_argument=no
   13955 fi
   13956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13957 fi
   13958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13959 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13960 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13961 	CFLAGS="$xorg_testset_save_CFLAGS"
   13962 fi
   13963 
   13964 found="no"
   13965 
   13966 	if test $found = "no" ; then
   13967 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13968 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13969 		fi
   13970 
   13971 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13972 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13973 		fi
   13974 
   13975 		CFLAGS="$CFLAGS -Wredundant-decls"
   13976 
   13977 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   13978 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   13979 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   13980 		if eval \${$cacheid+:} false; then :
   13981   $as_echo_n "(cached) " >&6
   13982 else
   13983   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13984 /* end confdefs.h.  */
   13985 int i;
   13986 int
   13987 main ()
   13988 {
   13989 
   13990   ;
   13991   return 0;
   13992 }
   13993 _ACEOF
   13994 if ac_fn_c_try_link "$LINENO"; then :
   13995   eval $cacheid=yes
   13996 else
   13997   eval $cacheid=no
   13998 fi
   13999 rm -f core conftest.err conftest.$ac_objext \
   14000     conftest$ac_exeext conftest.$ac_ext
   14001 fi
   14002 
   14003 
   14004 		CFLAGS="$xorg_testset_save_CFLAGS"
   14005 
   14006 		eval supported=\$$cacheid
   14007 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14008 $as_echo "$supported" >&6; }
   14009 		if test "$supported" = "yes" ; then
   14010 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   14011 			found="yes"
   14012 		fi
   14013 	fi
   14014 
   14015 
   14016 
   14017 
   14018 
   14019 
   14020 
   14021 
   14022 
   14023 
   14024 
   14025 
   14026 
   14027 
   14028 
   14029 xorg_testset_save_CFLAGS="$CFLAGS"
   14030 
   14031 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14032 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14033 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14034 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14035 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14036   $as_echo_n "(cached) " >&6
   14037 else
   14038   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14039 /* end confdefs.h.  */
   14040 int i;
   14041 _ACEOF
   14042 if ac_fn_c_try_compile "$LINENO"; then :
   14043   xorg_cv_cc_flag_unknown_warning_option=yes
   14044 else
   14045   xorg_cv_cc_flag_unknown_warning_option=no
   14046 fi
   14047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14048 fi
   14049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14050 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14051 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14052 	CFLAGS="$xorg_testset_save_CFLAGS"
   14053 fi
   14054 
   14055 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14056 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14057 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14058 	fi
   14059 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14060 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14061 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14062 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14063   $as_echo_n "(cached) " >&6
   14064 else
   14065   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14066 /* end confdefs.h.  */
   14067 int i;
   14068 _ACEOF
   14069 if ac_fn_c_try_compile "$LINENO"; then :
   14070   xorg_cv_cc_flag_unused_command_line_argument=yes
   14071 else
   14072   xorg_cv_cc_flag_unused_command_line_argument=no
   14073 fi
   14074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14075 fi
   14076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14077 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14078 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14079 	CFLAGS="$xorg_testset_save_CFLAGS"
   14080 fi
   14081 
   14082 found="no"
   14083 
   14084 	if test $found = "no" ; then
   14085 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14086 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14087 		fi
   14088 
   14089 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14090 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14091 		fi
   14092 
   14093 		CFLAGS="$CFLAGS -Wlogical-op"
   14094 
   14095 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   14096 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   14097 		cacheid=xorg_cv_cc_flag__Wlogical_op
   14098 		if eval \${$cacheid+:} false; then :
   14099   $as_echo_n "(cached) " >&6
   14100 else
   14101   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14102 /* end confdefs.h.  */
   14103 int i;
   14104 int
   14105 main ()
   14106 {
   14107 
   14108   ;
   14109   return 0;
   14110 }
   14111 _ACEOF
   14112 if ac_fn_c_try_link "$LINENO"; then :
   14113   eval $cacheid=yes
   14114 else
   14115   eval $cacheid=no
   14116 fi
   14117 rm -f core conftest.err conftest.$ac_objext \
   14118     conftest$ac_exeext conftest.$ac_ext
   14119 fi
   14120 
   14121 
   14122 		CFLAGS="$xorg_testset_save_CFLAGS"
   14123 
   14124 		eval supported=\$$cacheid
   14125 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14126 $as_echo "$supported" >&6; }
   14127 		if test "$supported" = "yes" ; then
   14128 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   14129 			found="yes"
   14130 		fi
   14131 	fi
   14132 
   14133 
   14134 
   14135 # These are currently disabled because they are noisy.  They will be enabled
   14136 # in the future once the codebase is sufficiently modernized to silence
   14137 # them.  For now, I don't want them to drown out the other warnings.
   14138 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   14139 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   14140 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   14141 
   14142 # Turn some warnings into errors, so we don't accidently get successful builds
   14143 # when there are problems that should be fixed.
   14144 
   14145 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   14146 
   14147 
   14148 
   14149 
   14150 
   14151 
   14152 
   14153 
   14154 
   14155 
   14156 
   14157 
   14158 
   14159 xorg_testset_save_CFLAGS="$CFLAGS"
   14160 
   14161 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14162 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14163 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14164 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14165 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14166   $as_echo_n "(cached) " >&6
   14167 else
   14168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14169 /* end confdefs.h.  */
   14170 int i;
   14171 _ACEOF
   14172 if ac_fn_c_try_compile "$LINENO"; then :
   14173   xorg_cv_cc_flag_unknown_warning_option=yes
   14174 else
   14175   xorg_cv_cc_flag_unknown_warning_option=no
   14176 fi
   14177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14178 fi
   14179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14180 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14181 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14182 	CFLAGS="$xorg_testset_save_CFLAGS"
   14183 fi
   14184 
   14185 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14186 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14187 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14188 	fi
   14189 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14190 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14191 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14192 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14193   $as_echo_n "(cached) " >&6
   14194 else
   14195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14196 /* end confdefs.h.  */
   14197 int i;
   14198 _ACEOF
   14199 if ac_fn_c_try_compile "$LINENO"; then :
   14200   xorg_cv_cc_flag_unused_command_line_argument=yes
   14201 else
   14202   xorg_cv_cc_flag_unused_command_line_argument=no
   14203 fi
   14204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14205 fi
   14206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14207 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14208 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14209 	CFLAGS="$xorg_testset_save_CFLAGS"
   14210 fi
   14211 
   14212 found="no"
   14213 
   14214 	if test $found = "no" ; then
   14215 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14216 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14217 		fi
   14218 
   14219 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14220 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14221 		fi
   14222 
   14223 		CFLAGS="$CFLAGS -Werror=implicit"
   14224 
   14225 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   14226 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   14227 		cacheid=xorg_cv_cc_flag__Werror_implicit
   14228 		if eval \${$cacheid+:} false; then :
   14229   $as_echo_n "(cached) " >&6
   14230 else
   14231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14232 /* end confdefs.h.  */
   14233 int i;
   14234 int
   14235 main ()
   14236 {
   14237 
   14238   ;
   14239   return 0;
   14240 }
   14241 _ACEOF
   14242 if ac_fn_c_try_link "$LINENO"; then :
   14243   eval $cacheid=yes
   14244 else
   14245   eval $cacheid=no
   14246 fi
   14247 rm -f core conftest.err conftest.$ac_objext \
   14248     conftest$ac_exeext conftest.$ac_ext
   14249 fi
   14250 
   14251 
   14252 		CFLAGS="$xorg_testset_save_CFLAGS"
   14253 
   14254 		eval supported=\$$cacheid
   14255 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14256 $as_echo "$supported" >&6; }
   14257 		if test "$supported" = "yes" ; then
   14258 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   14259 			found="yes"
   14260 		fi
   14261 	fi
   14262 
   14263 	if test $found = "no" ; then
   14264 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14265 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14266 		fi
   14267 
   14268 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14269 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14270 		fi
   14271 
   14272 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14273 
   14274 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   14275 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   14276 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   14277 		if eval \${$cacheid+:} 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 int
   14284 main ()
   14285 {
   14286 
   14287   ;
   14288   return 0;
   14289 }
   14290 _ACEOF
   14291 if ac_fn_c_try_link "$LINENO"; then :
   14292   eval $cacheid=yes
   14293 else
   14294   eval $cacheid=no
   14295 fi
   14296 rm -f core conftest.err conftest.$ac_objext \
   14297     conftest$ac_exeext conftest.$ac_ext
   14298 fi
   14299 
   14300 
   14301 		CFLAGS="$xorg_testset_save_CFLAGS"
   14302 
   14303 		eval supported=\$$cacheid
   14304 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14305 $as_echo "$supported" >&6; }
   14306 		if test "$supported" = "yes" ; then
   14307 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14308 			found="yes"
   14309 		fi
   14310 	fi
   14311 
   14312 
   14313 
   14314 
   14315 
   14316 
   14317 
   14318 
   14319 
   14320 
   14321 
   14322 
   14323 
   14324 
   14325 
   14326 xorg_testset_save_CFLAGS="$CFLAGS"
   14327 
   14328 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14329 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14330 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14331 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14332 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14333   $as_echo_n "(cached) " >&6
   14334 else
   14335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14336 /* end confdefs.h.  */
   14337 int i;
   14338 _ACEOF
   14339 if ac_fn_c_try_compile "$LINENO"; then :
   14340   xorg_cv_cc_flag_unknown_warning_option=yes
   14341 else
   14342   xorg_cv_cc_flag_unknown_warning_option=no
   14343 fi
   14344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14345 fi
   14346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14347 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14348 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14349 	CFLAGS="$xorg_testset_save_CFLAGS"
   14350 fi
   14351 
   14352 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14353 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14354 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14355 	fi
   14356 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14357 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14358 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14359 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14360   $as_echo_n "(cached) " >&6
   14361 else
   14362   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14363 /* end confdefs.h.  */
   14364 int i;
   14365 _ACEOF
   14366 if ac_fn_c_try_compile "$LINENO"; then :
   14367   xorg_cv_cc_flag_unused_command_line_argument=yes
   14368 else
   14369   xorg_cv_cc_flag_unused_command_line_argument=no
   14370 fi
   14371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14372 fi
   14373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14374 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14375 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14376 	CFLAGS="$xorg_testset_save_CFLAGS"
   14377 fi
   14378 
   14379 found="no"
   14380 
   14381 	if test $found = "no" ; then
   14382 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14383 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14384 		fi
   14385 
   14386 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14387 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14388 		fi
   14389 
   14390 		CFLAGS="$CFLAGS -Werror=nonnull"
   14391 
   14392 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   14393 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   14394 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   14395 		if eval \${$cacheid+:} 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 int
   14402 main ()
   14403 {
   14404 
   14405   ;
   14406   return 0;
   14407 }
   14408 _ACEOF
   14409 if ac_fn_c_try_link "$LINENO"; then :
   14410   eval $cacheid=yes
   14411 else
   14412   eval $cacheid=no
   14413 fi
   14414 rm -f core conftest.err conftest.$ac_objext \
   14415     conftest$ac_exeext conftest.$ac_ext
   14416 fi
   14417 
   14418 
   14419 		CFLAGS="$xorg_testset_save_CFLAGS"
   14420 
   14421 		eval supported=\$$cacheid
   14422 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14423 $as_echo "$supported" >&6; }
   14424 		if test "$supported" = "yes" ; then
   14425 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   14426 			found="yes"
   14427 		fi
   14428 	fi
   14429 
   14430 
   14431 
   14432 
   14433 
   14434 
   14435 
   14436 
   14437 
   14438 
   14439 
   14440 
   14441 
   14442 
   14443 
   14444 xorg_testset_save_CFLAGS="$CFLAGS"
   14445 
   14446 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14447 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14448 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14449 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14450 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14451   $as_echo_n "(cached) " >&6
   14452 else
   14453   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14454 /* end confdefs.h.  */
   14455 int i;
   14456 _ACEOF
   14457 if ac_fn_c_try_compile "$LINENO"; then :
   14458   xorg_cv_cc_flag_unknown_warning_option=yes
   14459 else
   14460   xorg_cv_cc_flag_unknown_warning_option=no
   14461 fi
   14462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14463 fi
   14464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14465 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14466 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14467 	CFLAGS="$xorg_testset_save_CFLAGS"
   14468 fi
   14469 
   14470 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14471 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14472 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14473 	fi
   14474 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14475 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14476 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14477 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14478   $as_echo_n "(cached) " >&6
   14479 else
   14480   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14481 /* end confdefs.h.  */
   14482 int i;
   14483 _ACEOF
   14484 if ac_fn_c_try_compile "$LINENO"; then :
   14485   xorg_cv_cc_flag_unused_command_line_argument=yes
   14486 else
   14487   xorg_cv_cc_flag_unused_command_line_argument=no
   14488 fi
   14489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14490 fi
   14491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14492 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14493 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14494 	CFLAGS="$xorg_testset_save_CFLAGS"
   14495 fi
   14496 
   14497 found="no"
   14498 
   14499 	if test $found = "no" ; then
   14500 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14501 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14502 		fi
   14503 
   14504 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14505 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14506 		fi
   14507 
   14508 		CFLAGS="$CFLAGS -Werror=init-self"
   14509 
   14510 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   14511 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   14512 		cacheid=xorg_cv_cc_flag__Werror_init_self
   14513 		if eval \${$cacheid+:} false; then :
   14514   $as_echo_n "(cached) " >&6
   14515 else
   14516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14517 /* end confdefs.h.  */
   14518 int i;
   14519 int
   14520 main ()
   14521 {
   14522 
   14523   ;
   14524   return 0;
   14525 }
   14526 _ACEOF
   14527 if ac_fn_c_try_link "$LINENO"; then :
   14528   eval $cacheid=yes
   14529 else
   14530   eval $cacheid=no
   14531 fi
   14532 rm -f core conftest.err conftest.$ac_objext \
   14533     conftest$ac_exeext conftest.$ac_ext
   14534 fi
   14535 
   14536 
   14537 		CFLAGS="$xorg_testset_save_CFLAGS"
   14538 
   14539 		eval supported=\$$cacheid
   14540 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14541 $as_echo "$supported" >&6; }
   14542 		if test "$supported" = "yes" ; then
   14543 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   14544 			found="yes"
   14545 		fi
   14546 	fi
   14547 
   14548 
   14549 
   14550 
   14551 
   14552 
   14553 
   14554 
   14555 
   14556 
   14557 
   14558 
   14559 
   14560 
   14561 
   14562 xorg_testset_save_CFLAGS="$CFLAGS"
   14563 
   14564 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14565 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14566 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14567 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14568 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14569   $as_echo_n "(cached) " >&6
   14570 else
   14571   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14572 /* end confdefs.h.  */
   14573 int i;
   14574 _ACEOF
   14575 if ac_fn_c_try_compile "$LINENO"; then :
   14576   xorg_cv_cc_flag_unknown_warning_option=yes
   14577 else
   14578   xorg_cv_cc_flag_unknown_warning_option=no
   14579 fi
   14580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14581 fi
   14582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14583 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14584 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14585 	CFLAGS="$xorg_testset_save_CFLAGS"
   14586 fi
   14587 
   14588 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14589 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14590 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14591 	fi
   14592 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14593 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14594 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14595 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14596   $as_echo_n "(cached) " >&6
   14597 else
   14598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14599 /* end confdefs.h.  */
   14600 int i;
   14601 _ACEOF
   14602 if ac_fn_c_try_compile "$LINENO"; then :
   14603   xorg_cv_cc_flag_unused_command_line_argument=yes
   14604 else
   14605   xorg_cv_cc_flag_unused_command_line_argument=no
   14606 fi
   14607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14608 fi
   14609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14610 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14611 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14612 	CFLAGS="$xorg_testset_save_CFLAGS"
   14613 fi
   14614 
   14615 found="no"
   14616 
   14617 	if test $found = "no" ; then
   14618 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14619 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14620 		fi
   14621 
   14622 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14623 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14624 		fi
   14625 
   14626 		CFLAGS="$CFLAGS -Werror=main"
   14627 
   14628 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   14629 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   14630 		cacheid=xorg_cv_cc_flag__Werror_main
   14631 		if eval \${$cacheid+:} false; then :
   14632   $as_echo_n "(cached) " >&6
   14633 else
   14634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14635 /* end confdefs.h.  */
   14636 int i;
   14637 int
   14638 main ()
   14639 {
   14640 
   14641   ;
   14642   return 0;
   14643 }
   14644 _ACEOF
   14645 if ac_fn_c_try_link "$LINENO"; then :
   14646   eval $cacheid=yes
   14647 else
   14648   eval $cacheid=no
   14649 fi
   14650 rm -f core conftest.err conftest.$ac_objext \
   14651     conftest$ac_exeext conftest.$ac_ext
   14652 fi
   14653 
   14654 
   14655 		CFLAGS="$xorg_testset_save_CFLAGS"
   14656 
   14657 		eval supported=\$$cacheid
   14658 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14659 $as_echo "$supported" >&6; }
   14660 		if test "$supported" = "yes" ; then
   14661 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   14662 			found="yes"
   14663 		fi
   14664 	fi
   14665 
   14666 
   14667 
   14668 
   14669 
   14670 
   14671 
   14672 
   14673 
   14674 
   14675 
   14676 
   14677 
   14678 
   14679 
   14680 xorg_testset_save_CFLAGS="$CFLAGS"
   14681 
   14682 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14683 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14684 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14685 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14686 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14687   $as_echo_n "(cached) " >&6
   14688 else
   14689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14690 /* end confdefs.h.  */
   14691 int i;
   14692 _ACEOF
   14693 if ac_fn_c_try_compile "$LINENO"; then :
   14694   xorg_cv_cc_flag_unknown_warning_option=yes
   14695 else
   14696   xorg_cv_cc_flag_unknown_warning_option=no
   14697 fi
   14698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14699 fi
   14700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14701 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14702 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14703 	CFLAGS="$xorg_testset_save_CFLAGS"
   14704 fi
   14705 
   14706 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14707 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14708 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14709 	fi
   14710 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14711 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14712 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14713 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14714   $as_echo_n "(cached) " >&6
   14715 else
   14716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14717 /* end confdefs.h.  */
   14718 int i;
   14719 _ACEOF
   14720 if ac_fn_c_try_compile "$LINENO"; then :
   14721   xorg_cv_cc_flag_unused_command_line_argument=yes
   14722 else
   14723   xorg_cv_cc_flag_unused_command_line_argument=no
   14724 fi
   14725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14726 fi
   14727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14728 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14729 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14730 	CFLAGS="$xorg_testset_save_CFLAGS"
   14731 fi
   14732 
   14733 found="no"
   14734 
   14735 	if test $found = "no" ; then
   14736 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14737 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14738 		fi
   14739 
   14740 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14741 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14742 		fi
   14743 
   14744 		CFLAGS="$CFLAGS -Werror=missing-braces"
   14745 
   14746 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   14747 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   14748 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   14749 		if eval \${$cacheid+:} false; then :
   14750   $as_echo_n "(cached) " >&6
   14751 else
   14752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14753 /* end confdefs.h.  */
   14754 int i;
   14755 int
   14756 main ()
   14757 {
   14758 
   14759   ;
   14760   return 0;
   14761 }
   14762 _ACEOF
   14763 if ac_fn_c_try_link "$LINENO"; then :
   14764   eval $cacheid=yes
   14765 else
   14766   eval $cacheid=no
   14767 fi
   14768 rm -f core conftest.err conftest.$ac_objext \
   14769     conftest$ac_exeext conftest.$ac_ext
   14770 fi
   14771 
   14772 
   14773 		CFLAGS="$xorg_testset_save_CFLAGS"
   14774 
   14775 		eval supported=\$$cacheid
   14776 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14777 $as_echo "$supported" >&6; }
   14778 		if test "$supported" = "yes" ; then
   14779 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   14780 			found="yes"
   14781 		fi
   14782 	fi
   14783 
   14784 
   14785 
   14786 
   14787 
   14788 
   14789 
   14790 
   14791 
   14792 
   14793 
   14794 
   14795 
   14796 
   14797 
   14798 xorg_testset_save_CFLAGS="$CFLAGS"
   14799 
   14800 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14801 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14802 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14803 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14804 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14805   $as_echo_n "(cached) " >&6
   14806 else
   14807   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14808 /* end confdefs.h.  */
   14809 int i;
   14810 _ACEOF
   14811 if ac_fn_c_try_compile "$LINENO"; then :
   14812   xorg_cv_cc_flag_unknown_warning_option=yes
   14813 else
   14814   xorg_cv_cc_flag_unknown_warning_option=no
   14815 fi
   14816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14817 fi
   14818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14819 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14820 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14821 	CFLAGS="$xorg_testset_save_CFLAGS"
   14822 fi
   14823 
   14824 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14825 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14826 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14827 	fi
   14828 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14829 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14830 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14831 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14832   $as_echo_n "(cached) " >&6
   14833 else
   14834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14835 /* end confdefs.h.  */
   14836 int i;
   14837 _ACEOF
   14838 if ac_fn_c_try_compile "$LINENO"; then :
   14839   xorg_cv_cc_flag_unused_command_line_argument=yes
   14840 else
   14841   xorg_cv_cc_flag_unused_command_line_argument=no
   14842 fi
   14843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14844 fi
   14845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14846 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14847 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14848 	CFLAGS="$xorg_testset_save_CFLAGS"
   14849 fi
   14850 
   14851 found="no"
   14852 
   14853 	if test $found = "no" ; then
   14854 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14855 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14856 		fi
   14857 
   14858 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14859 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14860 		fi
   14861 
   14862 		CFLAGS="$CFLAGS -Werror=sequence-point"
   14863 
   14864 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   14865 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   14866 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   14867 		if eval \${$cacheid+:} false; then :
   14868   $as_echo_n "(cached) " >&6
   14869 else
   14870   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14871 /* end confdefs.h.  */
   14872 int i;
   14873 int
   14874 main ()
   14875 {
   14876 
   14877   ;
   14878   return 0;
   14879 }
   14880 _ACEOF
   14881 if ac_fn_c_try_link "$LINENO"; then :
   14882   eval $cacheid=yes
   14883 else
   14884   eval $cacheid=no
   14885 fi
   14886 rm -f core conftest.err conftest.$ac_objext \
   14887     conftest$ac_exeext conftest.$ac_ext
   14888 fi
   14889 
   14890 
   14891 		CFLAGS="$xorg_testset_save_CFLAGS"
   14892 
   14893 		eval supported=\$$cacheid
   14894 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14895 $as_echo "$supported" >&6; }
   14896 		if test "$supported" = "yes" ; then
   14897 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   14898 			found="yes"
   14899 		fi
   14900 	fi
   14901 
   14902 
   14903 
   14904 
   14905 
   14906 
   14907 
   14908 
   14909 
   14910 
   14911 
   14912 
   14913 
   14914 
   14915 
   14916 xorg_testset_save_CFLAGS="$CFLAGS"
   14917 
   14918 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14919 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14920 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14921 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14922 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14923   $as_echo_n "(cached) " >&6
   14924 else
   14925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14926 /* end confdefs.h.  */
   14927 int i;
   14928 _ACEOF
   14929 if ac_fn_c_try_compile "$LINENO"; then :
   14930   xorg_cv_cc_flag_unknown_warning_option=yes
   14931 else
   14932   xorg_cv_cc_flag_unknown_warning_option=no
   14933 fi
   14934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14935 fi
   14936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14937 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14938 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14939 	CFLAGS="$xorg_testset_save_CFLAGS"
   14940 fi
   14941 
   14942 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14943 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14944 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14945 	fi
   14946 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14947 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14948 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14949 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14950   $as_echo_n "(cached) " >&6
   14951 else
   14952   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14953 /* end confdefs.h.  */
   14954 int i;
   14955 _ACEOF
   14956 if ac_fn_c_try_compile "$LINENO"; then :
   14957   xorg_cv_cc_flag_unused_command_line_argument=yes
   14958 else
   14959   xorg_cv_cc_flag_unused_command_line_argument=no
   14960 fi
   14961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14962 fi
   14963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14964 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14965 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14966 	CFLAGS="$xorg_testset_save_CFLAGS"
   14967 fi
   14968 
   14969 found="no"
   14970 
   14971 	if test $found = "no" ; then
   14972 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14973 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14974 		fi
   14975 
   14976 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14977 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14978 		fi
   14979 
   14980 		CFLAGS="$CFLAGS -Werror=return-type"
   14981 
   14982 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   14983 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   14984 		cacheid=xorg_cv_cc_flag__Werror_return_type
   14985 		if eval \${$cacheid+:} false; then :
   14986   $as_echo_n "(cached) " >&6
   14987 else
   14988   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14989 /* end confdefs.h.  */
   14990 int i;
   14991 int
   14992 main ()
   14993 {
   14994 
   14995   ;
   14996   return 0;
   14997 }
   14998 _ACEOF
   14999 if ac_fn_c_try_link "$LINENO"; then :
   15000   eval $cacheid=yes
   15001 else
   15002   eval $cacheid=no
   15003 fi
   15004 rm -f core conftest.err conftest.$ac_objext \
   15005     conftest$ac_exeext conftest.$ac_ext
   15006 fi
   15007 
   15008 
   15009 		CFLAGS="$xorg_testset_save_CFLAGS"
   15010 
   15011 		eval supported=\$$cacheid
   15012 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15013 $as_echo "$supported" >&6; }
   15014 		if test "$supported" = "yes" ; then
   15015 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   15016 			found="yes"
   15017 		fi
   15018 	fi
   15019 
   15020 	if test $found = "no" ; then
   15021 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15022 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15023 		fi
   15024 
   15025 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15026 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15027 		fi
   15028 
   15029 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   15030 
   15031 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   15032 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   15033 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   15034 		if eval \${$cacheid+:} false; then :
   15035   $as_echo_n "(cached) " >&6
   15036 else
   15037   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15038 /* end confdefs.h.  */
   15039 int i;
   15040 int
   15041 main ()
   15042 {
   15043 
   15044   ;
   15045   return 0;
   15046 }
   15047 _ACEOF
   15048 if ac_fn_c_try_link "$LINENO"; then :
   15049   eval $cacheid=yes
   15050 else
   15051   eval $cacheid=no
   15052 fi
   15053 rm -f core conftest.err conftest.$ac_objext \
   15054     conftest$ac_exeext conftest.$ac_ext
   15055 fi
   15056 
   15057 
   15058 		CFLAGS="$xorg_testset_save_CFLAGS"
   15059 
   15060 		eval supported=\$$cacheid
   15061 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15062 $as_echo "$supported" >&6; }
   15063 		if test "$supported" = "yes" ; then
   15064 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   15065 			found="yes"
   15066 		fi
   15067 	fi
   15068 
   15069 
   15070 
   15071 
   15072 
   15073 
   15074 
   15075 
   15076 
   15077 
   15078 
   15079 
   15080 
   15081 
   15082 
   15083 xorg_testset_save_CFLAGS="$CFLAGS"
   15084 
   15085 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15086 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15087 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15088 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15089 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15090   $as_echo_n "(cached) " >&6
   15091 else
   15092   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15093 /* end confdefs.h.  */
   15094 int i;
   15095 _ACEOF
   15096 if ac_fn_c_try_compile "$LINENO"; then :
   15097   xorg_cv_cc_flag_unknown_warning_option=yes
   15098 else
   15099   xorg_cv_cc_flag_unknown_warning_option=no
   15100 fi
   15101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15102 fi
   15103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15104 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15105 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15106 	CFLAGS="$xorg_testset_save_CFLAGS"
   15107 fi
   15108 
   15109 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15110 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15111 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15112 	fi
   15113 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15114 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15115 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15116 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15117   $as_echo_n "(cached) " >&6
   15118 else
   15119   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15120 /* end confdefs.h.  */
   15121 int i;
   15122 _ACEOF
   15123 if ac_fn_c_try_compile "$LINENO"; then :
   15124   xorg_cv_cc_flag_unused_command_line_argument=yes
   15125 else
   15126   xorg_cv_cc_flag_unused_command_line_argument=no
   15127 fi
   15128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15129 fi
   15130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15131 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15132 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15133 	CFLAGS="$xorg_testset_save_CFLAGS"
   15134 fi
   15135 
   15136 found="no"
   15137 
   15138 	if test $found = "no" ; then
   15139 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15140 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15141 		fi
   15142 
   15143 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15144 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15145 		fi
   15146 
   15147 		CFLAGS="$CFLAGS -Werror=trigraphs"
   15148 
   15149 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   15150 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   15151 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   15152 		if eval \${$cacheid+:} false; then :
   15153   $as_echo_n "(cached) " >&6
   15154 else
   15155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15156 /* end confdefs.h.  */
   15157 int i;
   15158 int
   15159 main ()
   15160 {
   15161 
   15162   ;
   15163   return 0;
   15164 }
   15165 _ACEOF
   15166 if ac_fn_c_try_link "$LINENO"; then :
   15167   eval $cacheid=yes
   15168 else
   15169   eval $cacheid=no
   15170 fi
   15171 rm -f core conftest.err conftest.$ac_objext \
   15172     conftest$ac_exeext conftest.$ac_ext
   15173 fi
   15174 
   15175 
   15176 		CFLAGS="$xorg_testset_save_CFLAGS"
   15177 
   15178 		eval supported=\$$cacheid
   15179 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15180 $as_echo "$supported" >&6; }
   15181 		if test "$supported" = "yes" ; then
   15182 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   15183 			found="yes"
   15184 		fi
   15185 	fi
   15186 
   15187 
   15188 
   15189 
   15190 
   15191 
   15192 
   15193 
   15194 
   15195 
   15196 
   15197 
   15198 
   15199 
   15200 
   15201 xorg_testset_save_CFLAGS="$CFLAGS"
   15202 
   15203 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15204 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15205 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15206 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15207 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15208   $as_echo_n "(cached) " >&6
   15209 else
   15210   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15211 /* end confdefs.h.  */
   15212 int i;
   15213 _ACEOF
   15214 if ac_fn_c_try_compile "$LINENO"; then :
   15215   xorg_cv_cc_flag_unknown_warning_option=yes
   15216 else
   15217   xorg_cv_cc_flag_unknown_warning_option=no
   15218 fi
   15219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15220 fi
   15221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15222 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15223 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15224 	CFLAGS="$xorg_testset_save_CFLAGS"
   15225 fi
   15226 
   15227 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15228 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15229 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15230 	fi
   15231 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15232 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15233 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15234 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15235   $as_echo_n "(cached) " >&6
   15236 else
   15237   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15238 /* end confdefs.h.  */
   15239 int i;
   15240 _ACEOF
   15241 if ac_fn_c_try_compile "$LINENO"; then :
   15242   xorg_cv_cc_flag_unused_command_line_argument=yes
   15243 else
   15244   xorg_cv_cc_flag_unused_command_line_argument=no
   15245 fi
   15246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15247 fi
   15248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15249 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15250 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15251 	CFLAGS="$xorg_testset_save_CFLAGS"
   15252 fi
   15253 
   15254 found="no"
   15255 
   15256 	if test $found = "no" ; then
   15257 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15258 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15259 		fi
   15260 
   15261 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15262 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15263 		fi
   15264 
   15265 		CFLAGS="$CFLAGS -Werror=array-bounds"
   15266 
   15267 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   15268 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   15269 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   15270 		if eval \${$cacheid+:} false; then :
   15271   $as_echo_n "(cached) " >&6
   15272 else
   15273   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15274 /* end confdefs.h.  */
   15275 int i;
   15276 int
   15277 main ()
   15278 {
   15279 
   15280   ;
   15281   return 0;
   15282 }
   15283 _ACEOF
   15284 if ac_fn_c_try_link "$LINENO"; then :
   15285   eval $cacheid=yes
   15286 else
   15287   eval $cacheid=no
   15288 fi
   15289 rm -f core conftest.err conftest.$ac_objext \
   15290     conftest$ac_exeext conftest.$ac_ext
   15291 fi
   15292 
   15293 
   15294 		CFLAGS="$xorg_testset_save_CFLAGS"
   15295 
   15296 		eval supported=\$$cacheid
   15297 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15298 $as_echo "$supported" >&6; }
   15299 		if test "$supported" = "yes" ; then
   15300 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   15301 			found="yes"
   15302 		fi
   15303 	fi
   15304 
   15305 
   15306 
   15307 
   15308 
   15309 
   15310 
   15311 
   15312 
   15313 
   15314 
   15315 
   15316 
   15317 
   15318 
   15319 xorg_testset_save_CFLAGS="$CFLAGS"
   15320 
   15321 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15322 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15323 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15324 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15325 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15326   $as_echo_n "(cached) " >&6
   15327 else
   15328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15329 /* end confdefs.h.  */
   15330 int i;
   15331 _ACEOF
   15332 if ac_fn_c_try_compile "$LINENO"; then :
   15333   xorg_cv_cc_flag_unknown_warning_option=yes
   15334 else
   15335   xorg_cv_cc_flag_unknown_warning_option=no
   15336 fi
   15337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15338 fi
   15339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15340 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15341 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15342 	CFLAGS="$xorg_testset_save_CFLAGS"
   15343 fi
   15344 
   15345 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15346 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15347 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15348 	fi
   15349 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15350 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15351 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15352 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15353   $as_echo_n "(cached) " >&6
   15354 else
   15355   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15356 /* end confdefs.h.  */
   15357 int i;
   15358 _ACEOF
   15359 if ac_fn_c_try_compile "$LINENO"; then :
   15360   xorg_cv_cc_flag_unused_command_line_argument=yes
   15361 else
   15362   xorg_cv_cc_flag_unused_command_line_argument=no
   15363 fi
   15364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15365 fi
   15366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15367 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15368 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15369 	CFLAGS="$xorg_testset_save_CFLAGS"
   15370 fi
   15371 
   15372 found="no"
   15373 
   15374 	if test $found = "no" ; then
   15375 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15376 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15377 		fi
   15378 
   15379 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15380 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15381 		fi
   15382 
   15383 		CFLAGS="$CFLAGS -Werror=write-strings"
   15384 
   15385 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   15386 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   15387 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   15388 		if eval \${$cacheid+:} false; then :
   15389   $as_echo_n "(cached) " >&6
   15390 else
   15391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15392 /* end confdefs.h.  */
   15393 int i;
   15394 int
   15395 main ()
   15396 {
   15397 
   15398   ;
   15399   return 0;
   15400 }
   15401 _ACEOF
   15402 if ac_fn_c_try_link "$LINENO"; then :
   15403   eval $cacheid=yes
   15404 else
   15405   eval $cacheid=no
   15406 fi
   15407 rm -f core conftest.err conftest.$ac_objext \
   15408     conftest$ac_exeext conftest.$ac_ext
   15409 fi
   15410 
   15411 
   15412 		CFLAGS="$xorg_testset_save_CFLAGS"
   15413 
   15414 		eval supported=\$$cacheid
   15415 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15416 $as_echo "$supported" >&6; }
   15417 		if test "$supported" = "yes" ; then
   15418 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   15419 			found="yes"
   15420 		fi
   15421 	fi
   15422 
   15423 
   15424 
   15425 
   15426 
   15427 
   15428 
   15429 
   15430 
   15431 
   15432 
   15433 
   15434 
   15435 
   15436 
   15437 xorg_testset_save_CFLAGS="$CFLAGS"
   15438 
   15439 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15440 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15441 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15442 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15443 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15444   $as_echo_n "(cached) " >&6
   15445 else
   15446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15447 /* end confdefs.h.  */
   15448 int i;
   15449 _ACEOF
   15450 if ac_fn_c_try_compile "$LINENO"; then :
   15451   xorg_cv_cc_flag_unknown_warning_option=yes
   15452 else
   15453   xorg_cv_cc_flag_unknown_warning_option=no
   15454 fi
   15455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15456 fi
   15457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15458 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15459 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15460 	CFLAGS="$xorg_testset_save_CFLAGS"
   15461 fi
   15462 
   15463 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15464 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15465 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15466 	fi
   15467 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15468 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15469 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15470 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15471   $as_echo_n "(cached) " >&6
   15472 else
   15473   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15474 /* end confdefs.h.  */
   15475 int i;
   15476 _ACEOF
   15477 if ac_fn_c_try_compile "$LINENO"; then :
   15478   xorg_cv_cc_flag_unused_command_line_argument=yes
   15479 else
   15480   xorg_cv_cc_flag_unused_command_line_argument=no
   15481 fi
   15482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15483 fi
   15484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15485 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15486 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15487 	CFLAGS="$xorg_testset_save_CFLAGS"
   15488 fi
   15489 
   15490 found="no"
   15491 
   15492 	if test $found = "no" ; then
   15493 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15494 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15495 		fi
   15496 
   15497 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15498 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15499 		fi
   15500 
   15501 		CFLAGS="$CFLAGS -Werror=address"
   15502 
   15503 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   15504 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   15505 		cacheid=xorg_cv_cc_flag__Werror_address
   15506 		if eval \${$cacheid+:} false; then :
   15507   $as_echo_n "(cached) " >&6
   15508 else
   15509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15510 /* end confdefs.h.  */
   15511 int i;
   15512 int
   15513 main ()
   15514 {
   15515 
   15516   ;
   15517   return 0;
   15518 }
   15519 _ACEOF
   15520 if ac_fn_c_try_link "$LINENO"; then :
   15521   eval $cacheid=yes
   15522 else
   15523   eval $cacheid=no
   15524 fi
   15525 rm -f core conftest.err conftest.$ac_objext \
   15526     conftest$ac_exeext conftest.$ac_ext
   15527 fi
   15528 
   15529 
   15530 		CFLAGS="$xorg_testset_save_CFLAGS"
   15531 
   15532 		eval supported=\$$cacheid
   15533 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15534 $as_echo "$supported" >&6; }
   15535 		if test "$supported" = "yes" ; then
   15536 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   15537 			found="yes"
   15538 		fi
   15539 	fi
   15540 
   15541 
   15542 
   15543 
   15544 
   15545 
   15546 
   15547 
   15548 
   15549 
   15550 
   15551 
   15552 
   15553 
   15554 
   15555 xorg_testset_save_CFLAGS="$CFLAGS"
   15556 
   15557 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15558 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15559 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15560 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15561 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15562   $as_echo_n "(cached) " >&6
   15563 else
   15564   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15565 /* end confdefs.h.  */
   15566 int i;
   15567 _ACEOF
   15568 if ac_fn_c_try_compile "$LINENO"; then :
   15569   xorg_cv_cc_flag_unknown_warning_option=yes
   15570 else
   15571   xorg_cv_cc_flag_unknown_warning_option=no
   15572 fi
   15573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15574 fi
   15575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15576 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15577 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15578 	CFLAGS="$xorg_testset_save_CFLAGS"
   15579 fi
   15580 
   15581 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15582 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15583 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15584 	fi
   15585 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15586 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15587 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15588 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15589   $as_echo_n "(cached) " >&6
   15590 else
   15591   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15592 /* end confdefs.h.  */
   15593 int i;
   15594 _ACEOF
   15595 if ac_fn_c_try_compile "$LINENO"; then :
   15596   xorg_cv_cc_flag_unused_command_line_argument=yes
   15597 else
   15598   xorg_cv_cc_flag_unused_command_line_argument=no
   15599 fi
   15600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15601 fi
   15602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15603 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15604 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15605 	CFLAGS="$xorg_testset_save_CFLAGS"
   15606 fi
   15607 
   15608 found="no"
   15609 
   15610 	if test $found = "no" ; then
   15611 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15612 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15613 		fi
   15614 
   15615 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15616 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15617 		fi
   15618 
   15619 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   15620 
   15621 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   15622 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   15623 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   15624 		if eval \${$cacheid+:} false; then :
   15625   $as_echo_n "(cached) " >&6
   15626 else
   15627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15628 /* end confdefs.h.  */
   15629 int i;
   15630 int
   15631 main ()
   15632 {
   15633 
   15634   ;
   15635   return 0;
   15636 }
   15637 _ACEOF
   15638 if ac_fn_c_try_link "$LINENO"; then :
   15639   eval $cacheid=yes
   15640 else
   15641   eval $cacheid=no
   15642 fi
   15643 rm -f core conftest.err conftest.$ac_objext \
   15644     conftest$ac_exeext conftest.$ac_ext
   15645 fi
   15646 
   15647 
   15648 		CFLAGS="$xorg_testset_save_CFLAGS"
   15649 
   15650 		eval supported=\$$cacheid
   15651 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15652 $as_echo "$supported" >&6; }
   15653 		if test "$supported" = "yes" ; then
   15654 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   15655 			found="yes"
   15656 		fi
   15657 	fi
   15658 
   15659 	if test $found = "no" ; then
   15660 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15661 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15662 		fi
   15663 
   15664 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15665 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15666 		fi
   15667 
   15668 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15669 
   15670 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   15671 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   15672 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   15673 		if eval \${$cacheid+:} false; then :
   15674   $as_echo_n "(cached) " >&6
   15675 else
   15676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15677 /* end confdefs.h.  */
   15678 int i;
   15679 int
   15680 main ()
   15681 {
   15682 
   15683   ;
   15684   return 0;
   15685 }
   15686 _ACEOF
   15687 if ac_fn_c_try_link "$LINENO"; then :
   15688   eval $cacheid=yes
   15689 else
   15690   eval $cacheid=no
   15691 fi
   15692 rm -f core conftest.err conftest.$ac_objext \
   15693     conftest$ac_exeext conftest.$ac_ext
   15694 fi
   15695 
   15696 
   15697 		CFLAGS="$xorg_testset_save_CFLAGS"
   15698 
   15699 		eval supported=\$$cacheid
   15700 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15701 $as_echo "$supported" >&6; }
   15702 		if test "$supported" = "yes" ; then
   15703 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15704 			found="yes"
   15705 		fi
   15706 	fi
   15707 
   15708 
   15709 
   15710 
   15711 
   15712 
   15713 
   15714 
   15715 
   15716 
   15717 
   15718 
   15719 
   15720 
   15721 
   15722 xorg_testset_save_CFLAGS="$CFLAGS"
   15723 
   15724 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15725 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15726 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15727 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15728 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15729   $as_echo_n "(cached) " >&6
   15730 else
   15731   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15732 /* end confdefs.h.  */
   15733 int i;
   15734 _ACEOF
   15735 if ac_fn_c_try_compile "$LINENO"; then :
   15736   xorg_cv_cc_flag_unknown_warning_option=yes
   15737 else
   15738   xorg_cv_cc_flag_unknown_warning_option=no
   15739 fi
   15740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15741 fi
   15742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15743 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15744 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15745 	CFLAGS="$xorg_testset_save_CFLAGS"
   15746 fi
   15747 
   15748 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15749 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15750 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15751 	fi
   15752 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15753 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15754 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15755 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15756   $as_echo_n "(cached) " >&6
   15757 else
   15758   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15759 /* end confdefs.h.  */
   15760 int i;
   15761 _ACEOF
   15762 if ac_fn_c_try_compile "$LINENO"; then :
   15763   xorg_cv_cc_flag_unused_command_line_argument=yes
   15764 else
   15765   xorg_cv_cc_flag_unused_command_line_argument=no
   15766 fi
   15767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15768 fi
   15769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15770 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15771 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15772 	CFLAGS="$xorg_testset_save_CFLAGS"
   15773 fi
   15774 
   15775 found="no"
   15776 
   15777 	if test $found = "no" ; then
   15778 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15779 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15780 		fi
   15781 
   15782 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15783 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15784 		fi
   15785 
   15786 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   15787 
   15788 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   15789 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   15790 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   15791 		if eval \${$cacheid+:} false; then :
   15792   $as_echo_n "(cached) " >&6
   15793 else
   15794   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15795 /* end confdefs.h.  */
   15796 int i;
   15797 int
   15798 main ()
   15799 {
   15800 
   15801   ;
   15802   return 0;
   15803 }
   15804 _ACEOF
   15805 if ac_fn_c_try_link "$LINENO"; then :
   15806   eval $cacheid=yes
   15807 else
   15808   eval $cacheid=no
   15809 fi
   15810 rm -f core conftest.err conftest.$ac_objext \
   15811     conftest$ac_exeext conftest.$ac_ext
   15812 fi
   15813 
   15814 
   15815 		CFLAGS="$xorg_testset_save_CFLAGS"
   15816 
   15817 		eval supported=\$$cacheid
   15818 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15819 $as_echo "$supported" >&6; }
   15820 		if test "$supported" = "yes" ; then
   15821 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   15822 			found="yes"
   15823 		fi
   15824 	fi
   15825 
   15826  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   15827 else
   15828 { $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
   15829 $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;}
   15830 
   15831 
   15832 
   15833 
   15834 
   15835 
   15836 
   15837 
   15838 
   15839 
   15840 
   15841 
   15842 
   15843 xorg_testset_save_CFLAGS="$CFLAGS"
   15844 
   15845 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15846 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15847 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15848 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15849 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15850   $as_echo_n "(cached) " >&6
   15851 else
   15852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15853 /* end confdefs.h.  */
   15854 int i;
   15855 _ACEOF
   15856 if ac_fn_c_try_compile "$LINENO"; then :
   15857   xorg_cv_cc_flag_unknown_warning_option=yes
   15858 else
   15859   xorg_cv_cc_flag_unknown_warning_option=no
   15860 fi
   15861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15862 fi
   15863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15864 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15865 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15866 	CFLAGS="$xorg_testset_save_CFLAGS"
   15867 fi
   15868 
   15869 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15870 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15871 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15872 	fi
   15873 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15874 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15875 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15876 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15877   $as_echo_n "(cached) " >&6
   15878 else
   15879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15880 /* end confdefs.h.  */
   15881 int i;
   15882 _ACEOF
   15883 if ac_fn_c_try_compile "$LINENO"; then :
   15884   xorg_cv_cc_flag_unused_command_line_argument=yes
   15885 else
   15886   xorg_cv_cc_flag_unused_command_line_argument=no
   15887 fi
   15888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15889 fi
   15890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15891 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15892 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15893 	CFLAGS="$xorg_testset_save_CFLAGS"
   15894 fi
   15895 
   15896 found="no"
   15897 
   15898 	if test $found = "no" ; then
   15899 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15900 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15901 		fi
   15902 
   15903 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15904 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15905 		fi
   15906 
   15907 		CFLAGS="$CFLAGS -Wimplicit"
   15908 
   15909 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   15910 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   15911 		cacheid=xorg_cv_cc_flag__Wimplicit
   15912 		if eval \${$cacheid+:} false; then :
   15913   $as_echo_n "(cached) " >&6
   15914 else
   15915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15916 /* end confdefs.h.  */
   15917 int i;
   15918 int
   15919 main ()
   15920 {
   15921 
   15922   ;
   15923   return 0;
   15924 }
   15925 _ACEOF
   15926 if ac_fn_c_try_link "$LINENO"; then :
   15927   eval $cacheid=yes
   15928 else
   15929   eval $cacheid=no
   15930 fi
   15931 rm -f core conftest.err conftest.$ac_objext \
   15932     conftest$ac_exeext conftest.$ac_ext
   15933 fi
   15934 
   15935 
   15936 		CFLAGS="$xorg_testset_save_CFLAGS"
   15937 
   15938 		eval supported=\$$cacheid
   15939 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15940 $as_echo "$supported" >&6; }
   15941 		if test "$supported" = "yes" ; then
   15942 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   15943 			found="yes"
   15944 		fi
   15945 	fi
   15946 
   15947 
   15948 
   15949 
   15950 
   15951 
   15952 
   15953 
   15954 
   15955 
   15956 
   15957 
   15958 
   15959 
   15960 
   15961 xorg_testset_save_CFLAGS="$CFLAGS"
   15962 
   15963 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15964 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15965 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15966 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15967 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15968   $as_echo_n "(cached) " >&6
   15969 else
   15970   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15971 /* end confdefs.h.  */
   15972 int i;
   15973 _ACEOF
   15974 if ac_fn_c_try_compile "$LINENO"; then :
   15975   xorg_cv_cc_flag_unknown_warning_option=yes
   15976 else
   15977   xorg_cv_cc_flag_unknown_warning_option=no
   15978 fi
   15979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15980 fi
   15981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15982 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15983 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15984 	CFLAGS="$xorg_testset_save_CFLAGS"
   15985 fi
   15986 
   15987 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15988 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15989 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15990 	fi
   15991 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15992 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15993 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15994 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15995   $as_echo_n "(cached) " >&6
   15996 else
   15997   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15998 /* end confdefs.h.  */
   15999 int i;
   16000 _ACEOF
   16001 if ac_fn_c_try_compile "$LINENO"; then :
   16002   xorg_cv_cc_flag_unused_command_line_argument=yes
   16003 else
   16004   xorg_cv_cc_flag_unused_command_line_argument=no
   16005 fi
   16006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16007 fi
   16008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16009 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16010 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16011 	CFLAGS="$xorg_testset_save_CFLAGS"
   16012 fi
   16013 
   16014 found="no"
   16015 
   16016 	if test $found = "no" ; then
   16017 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16018 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16019 		fi
   16020 
   16021 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16022 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16023 		fi
   16024 
   16025 		CFLAGS="$CFLAGS -Wnonnull"
   16026 
   16027 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   16028 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   16029 		cacheid=xorg_cv_cc_flag__Wnonnull
   16030 		if eval \${$cacheid+:} false; then :
   16031   $as_echo_n "(cached) " >&6
   16032 else
   16033   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16034 /* end confdefs.h.  */
   16035 int i;
   16036 int
   16037 main ()
   16038 {
   16039 
   16040   ;
   16041   return 0;
   16042 }
   16043 _ACEOF
   16044 if ac_fn_c_try_link "$LINENO"; then :
   16045   eval $cacheid=yes
   16046 else
   16047   eval $cacheid=no
   16048 fi
   16049 rm -f core conftest.err conftest.$ac_objext \
   16050     conftest$ac_exeext conftest.$ac_ext
   16051 fi
   16052 
   16053 
   16054 		CFLAGS="$xorg_testset_save_CFLAGS"
   16055 
   16056 		eval supported=\$$cacheid
   16057 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16058 $as_echo "$supported" >&6; }
   16059 		if test "$supported" = "yes" ; then
   16060 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   16061 			found="yes"
   16062 		fi
   16063 	fi
   16064 
   16065 
   16066 
   16067 
   16068 
   16069 
   16070 
   16071 
   16072 
   16073 
   16074 
   16075 
   16076 
   16077 
   16078 
   16079 xorg_testset_save_CFLAGS="$CFLAGS"
   16080 
   16081 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16082 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16083 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16084 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16085 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16086   $as_echo_n "(cached) " >&6
   16087 else
   16088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16089 /* end confdefs.h.  */
   16090 int i;
   16091 _ACEOF
   16092 if ac_fn_c_try_compile "$LINENO"; then :
   16093   xorg_cv_cc_flag_unknown_warning_option=yes
   16094 else
   16095   xorg_cv_cc_flag_unknown_warning_option=no
   16096 fi
   16097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16098 fi
   16099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16100 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16101 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16102 	CFLAGS="$xorg_testset_save_CFLAGS"
   16103 fi
   16104 
   16105 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16106 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16107 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16108 	fi
   16109 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16110 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16111 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16112 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16113   $as_echo_n "(cached) " >&6
   16114 else
   16115   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16116 /* end confdefs.h.  */
   16117 int i;
   16118 _ACEOF
   16119 if ac_fn_c_try_compile "$LINENO"; then :
   16120   xorg_cv_cc_flag_unused_command_line_argument=yes
   16121 else
   16122   xorg_cv_cc_flag_unused_command_line_argument=no
   16123 fi
   16124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16125 fi
   16126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16127 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16128 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16129 	CFLAGS="$xorg_testset_save_CFLAGS"
   16130 fi
   16131 
   16132 found="no"
   16133 
   16134 	if test $found = "no" ; then
   16135 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16136 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16137 		fi
   16138 
   16139 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16140 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16141 		fi
   16142 
   16143 		CFLAGS="$CFLAGS -Winit-self"
   16144 
   16145 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   16146 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   16147 		cacheid=xorg_cv_cc_flag__Winit_self
   16148 		if eval \${$cacheid+:} false; then :
   16149   $as_echo_n "(cached) " >&6
   16150 else
   16151   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16152 /* end confdefs.h.  */
   16153 int i;
   16154 int
   16155 main ()
   16156 {
   16157 
   16158   ;
   16159   return 0;
   16160 }
   16161 _ACEOF
   16162 if ac_fn_c_try_link "$LINENO"; then :
   16163   eval $cacheid=yes
   16164 else
   16165   eval $cacheid=no
   16166 fi
   16167 rm -f core conftest.err conftest.$ac_objext \
   16168     conftest$ac_exeext conftest.$ac_ext
   16169 fi
   16170 
   16171 
   16172 		CFLAGS="$xorg_testset_save_CFLAGS"
   16173 
   16174 		eval supported=\$$cacheid
   16175 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16176 $as_echo "$supported" >&6; }
   16177 		if test "$supported" = "yes" ; then
   16178 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   16179 			found="yes"
   16180 		fi
   16181 	fi
   16182 
   16183 
   16184 
   16185 
   16186 
   16187 
   16188 
   16189 
   16190 
   16191 
   16192 
   16193 
   16194 
   16195 
   16196 
   16197 xorg_testset_save_CFLAGS="$CFLAGS"
   16198 
   16199 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16200 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16201 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16202 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16203 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16204   $as_echo_n "(cached) " >&6
   16205 else
   16206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16207 /* end confdefs.h.  */
   16208 int i;
   16209 _ACEOF
   16210 if ac_fn_c_try_compile "$LINENO"; then :
   16211   xorg_cv_cc_flag_unknown_warning_option=yes
   16212 else
   16213   xorg_cv_cc_flag_unknown_warning_option=no
   16214 fi
   16215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16216 fi
   16217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16218 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16219 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16220 	CFLAGS="$xorg_testset_save_CFLAGS"
   16221 fi
   16222 
   16223 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16224 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16225 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16226 	fi
   16227 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16228 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16229 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16230 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16231   $as_echo_n "(cached) " >&6
   16232 else
   16233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16234 /* end confdefs.h.  */
   16235 int i;
   16236 _ACEOF
   16237 if ac_fn_c_try_compile "$LINENO"; then :
   16238   xorg_cv_cc_flag_unused_command_line_argument=yes
   16239 else
   16240   xorg_cv_cc_flag_unused_command_line_argument=no
   16241 fi
   16242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16243 fi
   16244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16245 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16246 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16247 	CFLAGS="$xorg_testset_save_CFLAGS"
   16248 fi
   16249 
   16250 found="no"
   16251 
   16252 	if test $found = "no" ; then
   16253 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16254 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16255 		fi
   16256 
   16257 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16258 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16259 		fi
   16260 
   16261 		CFLAGS="$CFLAGS -Wmain"
   16262 
   16263 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   16264 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   16265 		cacheid=xorg_cv_cc_flag__Wmain
   16266 		if eval \${$cacheid+:} false; then :
   16267   $as_echo_n "(cached) " >&6
   16268 else
   16269   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16270 /* end confdefs.h.  */
   16271 int i;
   16272 int
   16273 main ()
   16274 {
   16275 
   16276   ;
   16277   return 0;
   16278 }
   16279 _ACEOF
   16280 if ac_fn_c_try_link "$LINENO"; then :
   16281   eval $cacheid=yes
   16282 else
   16283   eval $cacheid=no
   16284 fi
   16285 rm -f core conftest.err conftest.$ac_objext \
   16286     conftest$ac_exeext conftest.$ac_ext
   16287 fi
   16288 
   16289 
   16290 		CFLAGS="$xorg_testset_save_CFLAGS"
   16291 
   16292 		eval supported=\$$cacheid
   16293 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16294 $as_echo "$supported" >&6; }
   16295 		if test "$supported" = "yes" ; then
   16296 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   16297 			found="yes"
   16298 		fi
   16299 	fi
   16300 
   16301 
   16302 
   16303 
   16304 
   16305 
   16306 
   16307 
   16308 
   16309 
   16310 
   16311 
   16312 
   16313 
   16314 
   16315 xorg_testset_save_CFLAGS="$CFLAGS"
   16316 
   16317 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16318 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16319 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16320 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16321 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16322   $as_echo_n "(cached) " >&6
   16323 else
   16324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16325 /* end confdefs.h.  */
   16326 int i;
   16327 _ACEOF
   16328 if ac_fn_c_try_compile "$LINENO"; then :
   16329   xorg_cv_cc_flag_unknown_warning_option=yes
   16330 else
   16331   xorg_cv_cc_flag_unknown_warning_option=no
   16332 fi
   16333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16334 fi
   16335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16336 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16337 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16338 	CFLAGS="$xorg_testset_save_CFLAGS"
   16339 fi
   16340 
   16341 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16342 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16343 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16344 	fi
   16345 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16346 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16347 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16348 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16349   $as_echo_n "(cached) " >&6
   16350 else
   16351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16352 /* end confdefs.h.  */
   16353 int i;
   16354 _ACEOF
   16355 if ac_fn_c_try_compile "$LINENO"; then :
   16356   xorg_cv_cc_flag_unused_command_line_argument=yes
   16357 else
   16358   xorg_cv_cc_flag_unused_command_line_argument=no
   16359 fi
   16360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16361 fi
   16362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16363 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16364 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16365 	CFLAGS="$xorg_testset_save_CFLAGS"
   16366 fi
   16367 
   16368 found="no"
   16369 
   16370 	if test $found = "no" ; then
   16371 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16372 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16373 		fi
   16374 
   16375 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16376 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16377 		fi
   16378 
   16379 		CFLAGS="$CFLAGS -Wmissing-braces"
   16380 
   16381 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   16382 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   16383 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   16384 		if eval \${$cacheid+:} false; then :
   16385   $as_echo_n "(cached) " >&6
   16386 else
   16387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16388 /* end confdefs.h.  */
   16389 int i;
   16390 int
   16391 main ()
   16392 {
   16393 
   16394   ;
   16395   return 0;
   16396 }
   16397 _ACEOF
   16398 if ac_fn_c_try_link "$LINENO"; then :
   16399   eval $cacheid=yes
   16400 else
   16401   eval $cacheid=no
   16402 fi
   16403 rm -f core conftest.err conftest.$ac_objext \
   16404     conftest$ac_exeext conftest.$ac_ext
   16405 fi
   16406 
   16407 
   16408 		CFLAGS="$xorg_testset_save_CFLAGS"
   16409 
   16410 		eval supported=\$$cacheid
   16411 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16412 $as_echo "$supported" >&6; }
   16413 		if test "$supported" = "yes" ; then
   16414 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   16415 			found="yes"
   16416 		fi
   16417 	fi
   16418 
   16419 
   16420 
   16421 
   16422 
   16423 
   16424 
   16425 
   16426 
   16427 
   16428 
   16429 
   16430 
   16431 
   16432 
   16433 xorg_testset_save_CFLAGS="$CFLAGS"
   16434 
   16435 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16436 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16437 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16438 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16439 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16440   $as_echo_n "(cached) " >&6
   16441 else
   16442   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16443 /* end confdefs.h.  */
   16444 int i;
   16445 _ACEOF
   16446 if ac_fn_c_try_compile "$LINENO"; then :
   16447   xorg_cv_cc_flag_unknown_warning_option=yes
   16448 else
   16449   xorg_cv_cc_flag_unknown_warning_option=no
   16450 fi
   16451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16452 fi
   16453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16454 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16455 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16456 	CFLAGS="$xorg_testset_save_CFLAGS"
   16457 fi
   16458 
   16459 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16460 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16461 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16462 	fi
   16463 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16464 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16465 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16466 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16467   $as_echo_n "(cached) " >&6
   16468 else
   16469   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16470 /* end confdefs.h.  */
   16471 int i;
   16472 _ACEOF
   16473 if ac_fn_c_try_compile "$LINENO"; then :
   16474   xorg_cv_cc_flag_unused_command_line_argument=yes
   16475 else
   16476   xorg_cv_cc_flag_unused_command_line_argument=no
   16477 fi
   16478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16479 fi
   16480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16481 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16482 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16483 	CFLAGS="$xorg_testset_save_CFLAGS"
   16484 fi
   16485 
   16486 found="no"
   16487 
   16488 	if test $found = "no" ; then
   16489 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16490 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16491 		fi
   16492 
   16493 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16494 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16495 		fi
   16496 
   16497 		CFLAGS="$CFLAGS -Wsequence-point"
   16498 
   16499 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   16500 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   16501 		cacheid=xorg_cv_cc_flag__Wsequence_point
   16502 		if eval \${$cacheid+:} false; then :
   16503   $as_echo_n "(cached) " >&6
   16504 else
   16505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16506 /* end confdefs.h.  */
   16507 int i;
   16508 int
   16509 main ()
   16510 {
   16511 
   16512   ;
   16513   return 0;
   16514 }
   16515 _ACEOF
   16516 if ac_fn_c_try_link "$LINENO"; then :
   16517   eval $cacheid=yes
   16518 else
   16519   eval $cacheid=no
   16520 fi
   16521 rm -f core conftest.err conftest.$ac_objext \
   16522     conftest$ac_exeext conftest.$ac_ext
   16523 fi
   16524 
   16525 
   16526 		CFLAGS="$xorg_testset_save_CFLAGS"
   16527 
   16528 		eval supported=\$$cacheid
   16529 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16530 $as_echo "$supported" >&6; }
   16531 		if test "$supported" = "yes" ; then
   16532 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   16533 			found="yes"
   16534 		fi
   16535 	fi
   16536 
   16537 
   16538 
   16539 
   16540 
   16541 
   16542 
   16543 
   16544 
   16545 
   16546 
   16547 
   16548 
   16549 
   16550 
   16551 xorg_testset_save_CFLAGS="$CFLAGS"
   16552 
   16553 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16554 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16555 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16556 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16557 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16558   $as_echo_n "(cached) " >&6
   16559 else
   16560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16561 /* end confdefs.h.  */
   16562 int i;
   16563 _ACEOF
   16564 if ac_fn_c_try_compile "$LINENO"; then :
   16565   xorg_cv_cc_flag_unknown_warning_option=yes
   16566 else
   16567   xorg_cv_cc_flag_unknown_warning_option=no
   16568 fi
   16569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16570 fi
   16571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16572 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16573 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16574 	CFLAGS="$xorg_testset_save_CFLAGS"
   16575 fi
   16576 
   16577 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16578 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16579 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16580 	fi
   16581 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16582 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16583 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16584 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16585   $as_echo_n "(cached) " >&6
   16586 else
   16587   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16588 /* end confdefs.h.  */
   16589 int i;
   16590 _ACEOF
   16591 if ac_fn_c_try_compile "$LINENO"; then :
   16592   xorg_cv_cc_flag_unused_command_line_argument=yes
   16593 else
   16594   xorg_cv_cc_flag_unused_command_line_argument=no
   16595 fi
   16596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16597 fi
   16598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16599 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16600 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16601 	CFLAGS="$xorg_testset_save_CFLAGS"
   16602 fi
   16603 
   16604 found="no"
   16605 
   16606 	if test $found = "no" ; then
   16607 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16608 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16609 		fi
   16610 
   16611 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16612 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16613 		fi
   16614 
   16615 		CFLAGS="$CFLAGS -Wreturn-type"
   16616 
   16617 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   16618 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   16619 		cacheid=xorg_cv_cc_flag__Wreturn_type
   16620 		if eval \${$cacheid+:} false; then :
   16621   $as_echo_n "(cached) " >&6
   16622 else
   16623   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16624 /* end confdefs.h.  */
   16625 int i;
   16626 int
   16627 main ()
   16628 {
   16629 
   16630   ;
   16631   return 0;
   16632 }
   16633 _ACEOF
   16634 if ac_fn_c_try_link "$LINENO"; then :
   16635   eval $cacheid=yes
   16636 else
   16637   eval $cacheid=no
   16638 fi
   16639 rm -f core conftest.err conftest.$ac_objext \
   16640     conftest$ac_exeext conftest.$ac_ext
   16641 fi
   16642 
   16643 
   16644 		CFLAGS="$xorg_testset_save_CFLAGS"
   16645 
   16646 		eval supported=\$$cacheid
   16647 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16648 $as_echo "$supported" >&6; }
   16649 		if test "$supported" = "yes" ; then
   16650 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   16651 			found="yes"
   16652 		fi
   16653 	fi
   16654 
   16655 
   16656 
   16657 
   16658 
   16659 
   16660 
   16661 
   16662 
   16663 
   16664 
   16665 
   16666 
   16667 
   16668 
   16669 xorg_testset_save_CFLAGS="$CFLAGS"
   16670 
   16671 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16672 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16673 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16674 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16675 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16676   $as_echo_n "(cached) " >&6
   16677 else
   16678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16679 /* end confdefs.h.  */
   16680 int i;
   16681 _ACEOF
   16682 if ac_fn_c_try_compile "$LINENO"; then :
   16683   xorg_cv_cc_flag_unknown_warning_option=yes
   16684 else
   16685   xorg_cv_cc_flag_unknown_warning_option=no
   16686 fi
   16687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16688 fi
   16689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16690 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16691 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16692 	CFLAGS="$xorg_testset_save_CFLAGS"
   16693 fi
   16694 
   16695 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16696 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16697 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16698 	fi
   16699 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16700 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16701 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16702 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16703   $as_echo_n "(cached) " >&6
   16704 else
   16705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16706 /* end confdefs.h.  */
   16707 int i;
   16708 _ACEOF
   16709 if ac_fn_c_try_compile "$LINENO"; then :
   16710   xorg_cv_cc_flag_unused_command_line_argument=yes
   16711 else
   16712   xorg_cv_cc_flag_unused_command_line_argument=no
   16713 fi
   16714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16715 fi
   16716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16717 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16718 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16719 	CFLAGS="$xorg_testset_save_CFLAGS"
   16720 fi
   16721 
   16722 found="no"
   16723 
   16724 	if test $found = "no" ; then
   16725 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16726 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16727 		fi
   16728 
   16729 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16730 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16731 		fi
   16732 
   16733 		CFLAGS="$CFLAGS -Wtrigraphs"
   16734 
   16735 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   16736 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   16737 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   16738 		if eval \${$cacheid+:} false; then :
   16739   $as_echo_n "(cached) " >&6
   16740 else
   16741   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16742 /* end confdefs.h.  */
   16743 int i;
   16744 int
   16745 main ()
   16746 {
   16747 
   16748   ;
   16749   return 0;
   16750 }
   16751 _ACEOF
   16752 if ac_fn_c_try_link "$LINENO"; then :
   16753   eval $cacheid=yes
   16754 else
   16755   eval $cacheid=no
   16756 fi
   16757 rm -f core conftest.err conftest.$ac_objext \
   16758     conftest$ac_exeext conftest.$ac_ext
   16759 fi
   16760 
   16761 
   16762 		CFLAGS="$xorg_testset_save_CFLAGS"
   16763 
   16764 		eval supported=\$$cacheid
   16765 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16766 $as_echo "$supported" >&6; }
   16767 		if test "$supported" = "yes" ; then
   16768 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   16769 			found="yes"
   16770 		fi
   16771 	fi
   16772 
   16773 
   16774 
   16775 
   16776 
   16777 
   16778 
   16779 
   16780 
   16781 
   16782 
   16783 
   16784 
   16785 
   16786 
   16787 xorg_testset_save_CFLAGS="$CFLAGS"
   16788 
   16789 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16790 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16791 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16792 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16793 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16794   $as_echo_n "(cached) " >&6
   16795 else
   16796   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16797 /* end confdefs.h.  */
   16798 int i;
   16799 _ACEOF
   16800 if ac_fn_c_try_compile "$LINENO"; then :
   16801   xorg_cv_cc_flag_unknown_warning_option=yes
   16802 else
   16803   xorg_cv_cc_flag_unknown_warning_option=no
   16804 fi
   16805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16806 fi
   16807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16808 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16809 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16810 	CFLAGS="$xorg_testset_save_CFLAGS"
   16811 fi
   16812 
   16813 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16814 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16815 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16816 	fi
   16817 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16818 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16819 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16820 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16821   $as_echo_n "(cached) " >&6
   16822 else
   16823   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16824 /* end confdefs.h.  */
   16825 int i;
   16826 _ACEOF
   16827 if ac_fn_c_try_compile "$LINENO"; then :
   16828   xorg_cv_cc_flag_unused_command_line_argument=yes
   16829 else
   16830   xorg_cv_cc_flag_unused_command_line_argument=no
   16831 fi
   16832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16833 fi
   16834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16835 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16836 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16837 	CFLAGS="$xorg_testset_save_CFLAGS"
   16838 fi
   16839 
   16840 found="no"
   16841 
   16842 	if test $found = "no" ; then
   16843 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16844 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16845 		fi
   16846 
   16847 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16848 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16849 		fi
   16850 
   16851 		CFLAGS="$CFLAGS -Warray-bounds"
   16852 
   16853 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   16854 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   16855 		cacheid=xorg_cv_cc_flag__Warray_bounds
   16856 		if eval \${$cacheid+:} false; then :
   16857   $as_echo_n "(cached) " >&6
   16858 else
   16859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16860 /* end confdefs.h.  */
   16861 int i;
   16862 int
   16863 main ()
   16864 {
   16865 
   16866   ;
   16867   return 0;
   16868 }
   16869 _ACEOF
   16870 if ac_fn_c_try_link "$LINENO"; then :
   16871   eval $cacheid=yes
   16872 else
   16873   eval $cacheid=no
   16874 fi
   16875 rm -f core conftest.err conftest.$ac_objext \
   16876     conftest$ac_exeext conftest.$ac_ext
   16877 fi
   16878 
   16879 
   16880 		CFLAGS="$xorg_testset_save_CFLAGS"
   16881 
   16882 		eval supported=\$$cacheid
   16883 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16884 $as_echo "$supported" >&6; }
   16885 		if test "$supported" = "yes" ; then
   16886 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   16887 			found="yes"
   16888 		fi
   16889 	fi
   16890 
   16891 
   16892 
   16893 
   16894 
   16895 
   16896 
   16897 
   16898 
   16899 
   16900 
   16901 
   16902 
   16903 
   16904 
   16905 xorg_testset_save_CFLAGS="$CFLAGS"
   16906 
   16907 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16908 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16909 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16910 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16911 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16912   $as_echo_n "(cached) " >&6
   16913 else
   16914   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16915 /* end confdefs.h.  */
   16916 int i;
   16917 _ACEOF
   16918 if ac_fn_c_try_compile "$LINENO"; then :
   16919   xorg_cv_cc_flag_unknown_warning_option=yes
   16920 else
   16921   xorg_cv_cc_flag_unknown_warning_option=no
   16922 fi
   16923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16924 fi
   16925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16926 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16927 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16928 	CFLAGS="$xorg_testset_save_CFLAGS"
   16929 fi
   16930 
   16931 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16932 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16933 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16934 	fi
   16935 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16936 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16937 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16938 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16939   $as_echo_n "(cached) " >&6
   16940 else
   16941   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16942 /* end confdefs.h.  */
   16943 int i;
   16944 _ACEOF
   16945 if ac_fn_c_try_compile "$LINENO"; then :
   16946   xorg_cv_cc_flag_unused_command_line_argument=yes
   16947 else
   16948   xorg_cv_cc_flag_unused_command_line_argument=no
   16949 fi
   16950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16951 fi
   16952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16953 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16954 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16955 	CFLAGS="$xorg_testset_save_CFLAGS"
   16956 fi
   16957 
   16958 found="no"
   16959 
   16960 	if test $found = "no" ; then
   16961 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16962 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16963 		fi
   16964 
   16965 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16966 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16967 		fi
   16968 
   16969 		CFLAGS="$CFLAGS -Wwrite-strings"
   16970 
   16971 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   16972 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   16973 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   16974 		if eval \${$cacheid+:} false; then :
   16975   $as_echo_n "(cached) " >&6
   16976 else
   16977   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16978 /* end confdefs.h.  */
   16979 int i;
   16980 int
   16981 main ()
   16982 {
   16983 
   16984   ;
   16985   return 0;
   16986 }
   16987 _ACEOF
   16988 if ac_fn_c_try_link "$LINENO"; then :
   16989   eval $cacheid=yes
   16990 else
   16991   eval $cacheid=no
   16992 fi
   16993 rm -f core conftest.err conftest.$ac_objext \
   16994     conftest$ac_exeext conftest.$ac_ext
   16995 fi
   16996 
   16997 
   16998 		CFLAGS="$xorg_testset_save_CFLAGS"
   16999 
   17000 		eval supported=\$$cacheid
   17001 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17002 $as_echo "$supported" >&6; }
   17003 		if test "$supported" = "yes" ; then
   17004 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   17005 			found="yes"
   17006 		fi
   17007 	fi
   17008 
   17009 
   17010 
   17011 
   17012 
   17013 
   17014 
   17015 
   17016 
   17017 
   17018 
   17019 
   17020 
   17021 
   17022 
   17023 xorg_testset_save_CFLAGS="$CFLAGS"
   17024 
   17025 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17026 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17027 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17028 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17029 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17030   $as_echo_n "(cached) " >&6
   17031 else
   17032   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17033 /* end confdefs.h.  */
   17034 int i;
   17035 _ACEOF
   17036 if ac_fn_c_try_compile "$LINENO"; then :
   17037   xorg_cv_cc_flag_unknown_warning_option=yes
   17038 else
   17039   xorg_cv_cc_flag_unknown_warning_option=no
   17040 fi
   17041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17042 fi
   17043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17044 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17045 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17046 	CFLAGS="$xorg_testset_save_CFLAGS"
   17047 fi
   17048 
   17049 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17050 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17051 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17052 	fi
   17053 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17054 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17055 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17056 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17057   $as_echo_n "(cached) " >&6
   17058 else
   17059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17060 /* end confdefs.h.  */
   17061 int i;
   17062 _ACEOF
   17063 if ac_fn_c_try_compile "$LINENO"; then :
   17064   xorg_cv_cc_flag_unused_command_line_argument=yes
   17065 else
   17066   xorg_cv_cc_flag_unused_command_line_argument=no
   17067 fi
   17068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17069 fi
   17070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17071 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17072 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17073 	CFLAGS="$xorg_testset_save_CFLAGS"
   17074 fi
   17075 
   17076 found="no"
   17077 
   17078 	if test $found = "no" ; then
   17079 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17080 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17081 		fi
   17082 
   17083 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17084 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17085 		fi
   17086 
   17087 		CFLAGS="$CFLAGS -Waddress"
   17088 
   17089 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   17090 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   17091 		cacheid=xorg_cv_cc_flag__Waddress
   17092 		if eval \${$cacheid+:} false; then :
   17093   $as_echo_n "(cached) " >&6
   17094 else
   17095   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17096 /* end confdefs.h.  */
   17097 int i;
   17098 int
   17099 main ()
   17100 {
   17101 
   17102   ;
   17103   return 0;
   17104 }
   17105 _ACEOF
   17106 if ac_fn_c_try_link "$LINENO"; then :
   17107   eval $cacheid=yes
   17108 else
   17109   eval $cacheid=no
   17110 fi
   17111 rm -f core conftest.err conftest.$ac_objext \
   17112     conftest$ac_exeext conftest.$ac_ext
   17113 fi
   17114 
   17115 
   17116 		CFLAGS="$xorg_testset_save_CFLAGS"
   17117 
   17118 		eval supported=\$$cacheid
   17119 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17120 $as_echo "$supported" >&6; }
   17121 		if test "$supported" = "yes" ; then
   17122 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   17123 			found="yes"
   17124 		fi
   17125 	fi
   17126 
   17127 
   17128 
   17129 
   17130 
   17131 
   17132 
   17133 
   17134 
   17135 
   17136 
   17137 
   17138 
   17139 
   17140 
   17141 xorg_testset_save_CFLAGS="$CFLAGS"
   17142 
   17143 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17144 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17145 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17146 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17147 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17148   $as_echo_n "(cached) " >&6
   17149 else
   17150   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17151 /* end confdefs.h.  */
   17152 int i;
   17153 _ACEOF
   17154 if ac_fn_c_try_compile "$LINENO"; then :
   17155   xorg_cv_cc_flag_unknown_warning_option=yes
   17156 else
   17157   xorg_cv_cc_flag_unknown_warning_option=no
   17158 fi
   17159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17160 fi
   17161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17162 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17163 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17164 	CFLAGS="$xorg_testset_save_CFLAGS"
   17165 fi
   17166 
   17167 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17168 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17169 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17170 	fi
   17171 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17172 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17173 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17174 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17175   $as_echo_n "(cached) " >&6
   17176 else
   17177   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17178 /* end confdefs.h.  */
   17179 int i;
   17180 _ACEOF
   17181 if ac_fn_c_try_compile "$LINENO"; then :
   17182   xorg_cv_cc_flag_unused_command_line_argument=yes
   17183 else
   17184   xorg_cv_cc_flag_unused_command_line_argument=no
   17185 fi
   17186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17187 fi
   17188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17189 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17190 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17191 	CFLAGS="$xorg_testset_save_CFLAGS"
   17192 fi
   17193 
   17194 found="no"
   17195 
   17196 	if test $found = "no" ; then
   17197 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17198 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17199 		fi
   17200 
   17201 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17202 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17203 		fi
   17204 
   17205 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   17206 
   17207 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   17208 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   17209 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   17210 		if eval \${$cacheid+:} false; then :
   17211   $as_echo_n "(cached) " >&6
   17212 else
   17213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17214 /* end confdefs.h.  */
   17215 int i;
   17216 int
   17217 main ()
   17218 {
   17219 
   17220   ;
   17221   return 0;
   17222 }
   17223 _ACEOF
   17224 if ac_fn_c_try_link "$LINENO"; then :
   17225   eval $cacheid=yes
   17226 else
   17227   eval $cacheid=no
   17228 fi
   17229 rm -f core conftest.err conftest.$ac_objext \
   17230     conftest$ac_exeext conftest.$ac_ext
   17231 fi
   17232 
   17233 
   17234 		CFLAGS="$xorg_testset_save_CFLAGS"
   17235 
   17236 		eval supported=\$$cacheid
   17237 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17238 $as_echo "$supported" >&6; }
   17239 		if test "$supported" = "yes" ; then
   17240 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   17241 			found="yes"
   17242 		fi
   17243 	fi
   17244 
   17245 
   17246 
   17247 
   17248 
   17249 
   17250 
   17251 
   17252 
   17253 
   17254 
   17255 
   17256 
   17257 
   17258 
   17259 xorg_testset_save_CFLAGS="$CFLAGS"
   17260 
   17261 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17262 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17263 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17264 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17265 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17266   $as_echo_n "(cached) " >&6
   17267 else
   17268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17269 /* end confdefs.h.  */
   17270 int i;
   17271 _ACEOF
   17272 if ac_fn_c_try_compile "$LINENO"; then :
   17273   xorg_cv_cc_flag_unknown_warning_option=yes
   17274 else
   17275   xorg_cv_cc_flag_unknown_warning_option=no
   17276 fi
   17277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17278 fi
   17279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17280 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17281 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17282 	CFLAGS="$xorg_testset_save_CFLAGS"
   17283 fi
   17284 
   17285 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17286 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17287 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17288 	fi
   17289 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17290 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17291 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17292 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17293   $as_echo_n "(cached) " >&6
   17294 else
   17295   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17296 /* end confdefs.h.  */
   17297 int i;
   17298 _ACEOF
   17299 if ac_fn_c_try_compile "$LINENO"; then :
   17300   xorg_cv_cc_flag_unused_command_line_argument=yes
   17301 else
   17302   xorg_cv_cc_flag_unused_command_line_argument=no
   17303 fi
   17304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17305 fi
   17306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17307 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17308 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17309 	CFLAGS="$xorg_testset_save_CFLAGS"
   17310 fi
   17311 
   17312 found="no"
   17313 
   17314 	if test $found = "no" ; then
   17315 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17316 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17317 		fi
   17318 
   17319 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17320 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17321 		fi
   17322 
   17323 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   17324 
   17325 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   17326 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   17327 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   17328 		if eval \${$cacheid+:} false; then :
   17329   $as_echo_n "(cached) " >&6
   17330 else
   17331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17332 /* end confdefs.h.  */
   17333 int i;
   17334 int
   17335 main ()
   17336 {
   17337 
   17338   ;
   17339   return 0;
   17340 }
   17341 _ACEOF
   17342 if ac_fn_c_try_link "$LINENO"; then :
   17343   eval $cacheid=yes
   17344 else
   17345   eval $cacheid=no
   17346 fi
   17347 rm -f core conftest.err conftest.$ac_objext \
   17348     conftest$ac_exeext conftest.$ac_ext
   17349 fi
   17350 
   17351 
   17352 		CFLAGS="$xorg_testset_save_CFLAGS"
   17353 
   17354 		eval supported=\$$cacheid
   17355 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17356 $as_echo "$supported" >&6; }
   17357 		if test "$supported" = "yes" ; then
   17358 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   17359 			found="yes"
   17360 		fi
   17361 	fi
   17362 
   17363 
   17364 fi
   17365 
   17366 
   17367 
   17368 
   17369 
   17370 
   17371 
   17372 		CWARNFLAGS="$BASE_CFLAGS"
   17373 		if  test "x$GCC" = xyes ; then
   17374 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   17375 		fi
   17376 
   17377 
   17378 
   17379 
   17380 
   17381 
   17382 
   17383 
   17384 # Check whether --enable-strict-compilation was given.
   17385 if test "${enable_strict_compilation+set}" = set; then :
   17386   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   17387 else
   17388   STRICT_COMPILE=no
   17389 fi
   17390 
   17391 
   17392 
   17393 
   17394 
   17395 
   17396 STRICT_CFLAGS=""
   17397 
   17398 
   17399 
   17400 
   17401 
   17402 
   17403 
   17404 
   17405 
   17406 
   17407 
   17408 
   17409 
   17410 xorg_testset_save_CFLAGS="$CFLAGS"
   17411 
   17412 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17413 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17414 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17415 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17416 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17417   $as_echo_n "(cached) " >&6
   17418 else
   17419   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17420 /* end confdefs.h.  */
   17421 int i;
   17422 _ACEOF
   17423 if ac_fn_c_try_compile "$LINENO"; then :
   17424   xorg_cv_cc_flag_unknown_warning_option=yes
   17425 else
   17426   xorg_cv_cc_flag_unknown_warning_option=no
   17427 fi
   17428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17429 fi
   17430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17431 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17432 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17433 	CFLAGS="$xorg_testset_save_CFLAGS"
   17434 fi
   17435 
   17436 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17437 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17438 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17439 	fi
   17440 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17441 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17442 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17443 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17444   $as_echo_n "(cached) " >&6
   17445 else
   17446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17447 /* end confdefs.h.  */
   17448 int i;
   17449 _ACEOF
   17450 if ac_fn_c_try_compile "$LINENO"; then :
   17451   xorg_cv_cc_flag_unused_command_line_argument=yes
   17452 else
   17453   xorg_cv_cc_flag_unused_command_line_argument=no
   17454 fi
   17455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17456 fi
   17457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17458 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17459 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17460 	CFLAGS="$xorg_testset_save_CFLAGS"
   17461 fi
   17462 
   17463 found="no"
   17464 
   17465 	if test $found = "no" ; then
   17466 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17467 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17468 		fi
   17469 
   17470 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17471 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17472 		fi
   17473 
   17474 		CFLAGS="$CFLAGS -pedantic"
   17475 
   17476 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   17477 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   17478 		cacheid=xorg_cv_cc_flag__pedantic
   17479 		if eval \${$cacheid+:} false; then :
   17480   $as_echo_n "(cached) " >&6
   17481 else
   17482   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17483 /* end confdefs.h.  */
   17484 int i;
   17485 int
   17486 main ()
   17487 {
   17488 
   17489   ;
   17490   return 0;
   17491 }
   17492 _ACEOF
   17493 if ac_fn_c_try_link "$LINENO"; then :
   17494   eval $cacheid=yes
   17495 else
   17496   eval $cacheid=no
   17497 fi
   17498 rm -f core conftest.err conftest.$ac_objext \
   17499     conftest$ac_exeext conftest.$ac_ext
   17500 fi
   17501 
   17502 
   17503 		CFLAGS="$xorg_testset_save_CFLAGS"
   17504 
   17505 		eval supported=\$$cacheid
   17506 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17507 $as_echo "$supported" >&6; }
   17508 		if test "$supported" = "yes" ; then
   17509 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   17510 			found="yes"
   17511 		fi
   17512 	fi
   17513 
   17514 
   17515 
   17516 
   17517 
   17518 
   17519 
   17520 
   17521 
   17522 
   17523 
   17524 
   17525 
   17526 
   17527 
   17528 xorg_testset_save_CFLAGS="$CFLAGS"
   17529 
   17530 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17531 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17532 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17533 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17534 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17535   $as_echo_n "(cached) " >&6
   17536 else
   17537   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17538 /* end confdefs.h.  */
   17539 int i;
   17540 _ACEOF
   17541 if ac_fn_c_try_compile "$LINENO"; then :
   17542   xorg_cv_cc_flag_unknown_warning_option=yes
   17543 else
   17544   xorg_cv_cc_flag_unknown_warning_option=no
   17545 fi
   17546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17547 fi
   17548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17549 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17550 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17551 	CFLAGS="$xorg_testset_save_CFLAGS"
   17552 fi
   17553 
   17554 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17555 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17556 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17557 	fi
   17558 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17559 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17560 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17561 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17562   $as_echo_n "(cached) " >&6
   17563 else
   17564   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17565 /* end confdefs.h.  */
   17566 int i;
   17567 _ACEOF
   17568 if ac_fn_c_try_compile "$LINENO"; then :
   17569   xorg_cv_cc_flag_unused_command_line_argument=yes
   17570 else
   17571   xorg_cv_cc_flag_unused_command_line_argument=no
   17572 fi
   17573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17574 fi
   17575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17576 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17577 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17578 	CFLAGS="$xorg_testset_save_CFLAGS"
   17579 fi
   17580 
   17581 found="no"
   17582 
   17583 	if test $found = "no" ; then
   17584 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17585 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17586 		fi
   17587 
   17588 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17589 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17590 		fi
   17591 
   17592 		CFLAGS="$CFLAGS -Werror"
   17593 
   17594 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   17595 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   17596 		cacheid=xorg_cv_cc_flag__Werror
   17597 		if eval \${$cacheid+:} false; then :
   17598   $as_echo_n "(cached) " >&6
   17599 else
   17600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17601 /* end confdefs.h.  */
   17602 int i;
   17603 int
   17604 main ()
   17605 {
   17606 
   17607   ;
   17608   return 0;
   17609 }
   17610 _ACEOF
   17611 if ac_fn_c_try_link "$LINENO"; then :
   17612   eval $cacheid=yes
   17613 else
   17614   eval $cacheid=no
   17615 fi
   17616 rm -f core conftest.err conftest.$ac_objext \
   17617     conftest$ac_exeext conftest.$ac_ext
   17618 fi
   17619 
   17620 
   17621 		CFLAGS="$xorg_testset_save_CFLAGS"
   17622 
   17623 		eval supported=\$$cacheid
   17624 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17625 $as_echo "$supported" >&6; }
   17626 		if test "$supported" = "yes" ; then
   17627 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   17628 			found="yes"
   17629 		fi
   17630 	fi
   17631 
   17632 	if test $found = "no" ; then
   17633 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17634 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17635 		fi
   17636 
   17637 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17638 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17639 		fi
   17640 
   17641 		CFLAGS="$CFLAGS -errwarn"
   17642 
   17643 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   17644 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   17645 		cacheid=xorg_cv_cc_flag__errwarn
   17646 		if eval \${$cacheid+:} false; then :
   17647   $as_echo_n "(cached) " >&6
   17648 else
   17649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17650 /* end confdefs.h.  */
   17651 int i;
   17652 int
   17653 main ()
   17654 {
   17655 
   17656   ;
   17657   return 0;
   17658 }
   17659 _ACEOF
   17660 if ac_fn_c_try_link "$LINENO"; then :
   17661   eval $cacheid=yes
   17662 else
   17663   eval $cacheid=no
   17664 fi
   17665 rm -f core conftest.err conftest.$ac_objext \
   17666     conftest$ac_exeext conftest.$ac_ext
   17667 fi
   17668 
   17669 
   17670 		CFLAGS="$xorg_testset_save_CFLAGS"
   17671 
   17672 		eval supported=\$$cacheid
   17673 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17674 $as_echo "$supported" >&6; }
   17675 		if test "$supported" = "yes" ; then
   17676 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   17677 			found="yes"
   17678 		fi
   17679 	fi
   17680 
   17681 
   17682 
   17683 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   17684 # activate it with -Werror, so we add it here explicitly.
   17685 
   17686 
   17687 
   17688 
   17689 
   17690 
   17691 
   17692 
   17693 
   17694 
   17695 
   17696 
   17697 
   17698 xorg_testset_save_CFLAGS="$CFLAGS"
   17699 
   17700 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17701 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17702 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17703 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17704 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17705   $as_echo_n "(cached) " >&6
   17706 else
   17707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17708 /* end confdefs.h.  */
   17709 int i;
   17710 _ACEOF
   17711 if ac_fn_c_try_compile "$LINENO"; then :
   17712   xorg_cv_cc_flag_unknown_warning_option=yes
   17713 else
   17714   xorg_cv_cc_flag_unknown_warning_option=no
   17715 fi
   17716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17717 fi
   17718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17719 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17720 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17721 	CFLAGS="$xorg_testset_save_CFLAGS"
   17722 fi
   17723 
   17724 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17725 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17726 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17727 	fi
   17728 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17729 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17730 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17731 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17732   $as_echo_n "(cached) " >&6
   17733 else
   17734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17735 /* end confdefs.h.  */
   17736 int i;
   17737 _ACEOF
   17738 if ac_fn_c_try_compile "$LINENO"; then :
   17739   xorg_cv_cc_flag_unused_command_line_argument=yes
   17740 else
   17741   xorg_cv_cc_flag_unused_command_line_argument=no
   17742 fi
   17743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17744 fi
   17745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17746 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17747 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17748 	CFLAGS="$xorg_testset_save_CFLAGS"
   17749 fi
   17750 
   17751 found="no"
   17752 
   17753 	if test $found = "no" ; then
   17754 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17755 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17756 		fi
   17757 
   17758 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17759 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17760 		fi
   17761 
   17762 		CFLAGS="$CFLAGS -Werror=attributes"
   17763 
   17764 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   17765 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   17766 		cacheid=xorg_cv_cc_flag__Werror_attributes
   17767 		if eval \${$cacheid+:} false; then :
   17768   $as_echo_n "(cached) " >&6
   17769 else
   17770   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17771 /* end confdefs.h.  */
   17772 int i;
   17773 int
   17774 main ()
   17775 {
   17776 
   17777   ;
   17778   return 0;
   17779 }
   17780 _ACEOF
   17781 if ac_fn_c_try_link "$LINENO"; then :
   17782   eval $cacheid=yes
   17783 else
   17784   eval $cacheid=no
   17785 fi
   17786 rm -f core conftest.err conftest.$ac_objext \
   17787     conftest$ac_exeext conftest.$ac_ext
   17788 fi
   17789 
   17790 
   17791 		CFLAGS="$xorg_testset_save_CFLAGS"
   17792 
   17793 		eval supported=\$$cacheid
   17794 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17795 $as_echo "$supported" >&6; }
   17796 		if test "$supported" = "yes" ; then
   17797 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   17798 			found="yes"
   17799 		fi
   17800 	fi
   17801 
   17802 
   17803 
   17804 if test "x$STRICT_COMPILE" = "xyes"; then
   17805     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   17806     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   17807 fi
   17808 
   17809 
   17810 
   17811 
   17812 
   17813 
   17814 cat >>confdefs.h <<_ACEOF
   17815 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   17816 _ACEOF
   17817 
   17818 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   17819 	if test "x$PVM" = "x"; then
   17820 		PVM="0"
   17821 	fi
   17822 
   17823 cat >>confdefs.h <<_ACEOF
   17824 #define PACKAGE_VERSION_MINOR $PVM
   17825 _ACEOF
   17826 
   17827 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   17828 	if test "x$PVP" = "x"; then
   17829 		PVP="0"
   17830 	fi
   17831 
   17832 cat >>confdefs.h <<_ACEOF
   17833 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   17834 _ACEOF
   17835 
   17836 
   17837 
   17838 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   17839 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   17840 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   17841 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   17842 
   17843 
   17844 
   17845 
   17846 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   17847 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   17848 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   17849 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   17850 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   17851 
   17852 
   17853 
   17854 
   17855 
   17856 
   17857 if test x$APP_MAN_SUFFIX = x    ; then
   17858     APP_MAN_SUFFIX=1
   17859 fi
   17860 if test x$APP_MAN_DIR = x    ; then
   17861     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   17862 fi
   17863 
   17864 if test x$LIB_MAN_SUFFIX = x    ; then
   17865     LIB_MAN_SUFFIX=3
   17866 fi
   17867 if test x$LIB_MAN_DIR = x    ; then
   17868     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   17869 fi
   17870 
   17871 if test x$FILE_MAN_SUFFIX = x    ; then
   17872     case $host_os in
   17873 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   17874 	*)		FILE_MAN_SUFFIX=5  ;;
   17875     esac
   17876 fi
   17877 if test x$FILE_MAN_DIR = x    ; then
   17878     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   17879 fi
   17880 
   17881 if test x$MISC_MAN_SUFFIX = x    ; then
   17882     case $host_os in
   17883 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   17884 	*)		MISC_MAN_SUFFIX=7  ;;
   17885     esac
   17886 fi
   17887 if test x$MISC_MAN_DIR = x    ; then
   17888     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   17889 fi
   17890 
   17891 if test x$DRIVER_MAN_SUFFIX = x    ; then
   17892     case $host_os in
   17893 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   17894 	*)		DRIVER_MAN_SUFFIX=4  ;;
   17895     esac
   17896 fi
   17897 if test x$DRIVER_MAN_DIR = x    ; then
   17898     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   17899 fi
   17900 
   17901 if test x$ADMIN_MAN_SUFFIX = x    ; then
   17902     case $host_os in
   17903 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   17904 	*)		ADMIN_MAN_SUFFIX=8  ;;
   17905     esac
   17906 fi
   17907 if test x$ADMIN_MAN_DIR = x    ; then
   17908     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   17909 fi
   17910 
   17911 
   17912 
   17913 
   17914 
   17915 
   17916 
   17917 
   17918 
   17919 
   17920 
   17921 
   17922 
   17923 
   17924 
   17925 XORG_MAN_PAGE="X Version 11"
   17926 
   17927 MAN_SUBSTS="\
   17928 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17929 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17930 	-e 's|__xservername__|Xorg|g' \
   17931 	-e 's|__xconfigfile__|xorg.conf|g' \
   17932 	-e 's|__projectroot__|\$(prefix)|g' \
   17933 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   17934 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   17935 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   17936 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   17937 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   17938 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   17939 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   17940 
   17941 
   17942 
   17943 # Check whether --enable-silent-rules was given.
   17944 if test "${enable_silent_rules+set}" = set; then :
   17945   enableval=$enable_silent_rules;
   17946 fi
   17947 
   17948 case $enable_silent_rules in # (((
   17949   yes) AM_DEFAULT_VERBOSITY=0;;
   17950    no) AM_DEFAULT_VERBOSITY=1;;
   17951     *) AM_DEFAULT_VERBOSITY=0;;
   17952 esac
   17953 am_make=${MAKE-make}
   17954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   17955 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   17956 if ${am_cv_make_support_nested_variables+:} false; then :
   17957   $as_echo_n "(cached) " >&6
   17958 else
   17959   if $as_echo 'TRUE=$(BAR$(V))
   17960 BAR0=false
   17961 BAR1=true
   17962 V=1
   17963 am__doit:
   17964 	@$(TRUE)
   17965 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   17966   am_cv_make_support_nested_variables=yes
   17967 else
   17968   am_cv_make_support_nested_variables=no
   17969 fi
   17970 fi
   17971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   17972 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   17973 if test $am_cv_make_support_nested_variables = yes; then
   17974     AM_V='$(V)'
   17975   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   17976 else
   17977   AM_V=$AM_DEFAULT_VERBOSITY
   17978   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   17979 fi
   17980 AM_BACKSLASH='\'
   17981 
   17982 
   17983 
   17984 # Check whether --enable-malloc0returnsnull was given.
   17985 if test "${enable_malloc0returnsnull+set}" = set; then :
   17986   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   17987 else
   17988   MALLOC_ZERO_RETURNS_NULL=auto
   17989 fi
   17990 
   17991 
   17992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc(0) returns NULL" >&5
   17993 $as_echo_n "checking whether malloc(0) returns NULL... " >&6; }
   17994 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   17995 if ${xorg_cv_malloc0_returns_null+:} false; then :
   17996   $as_echo_n "(cached) " >&6
   17997 else
   17998   if test "$cross_compiling" = yes; then :
   17999   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18000 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18001 as_fn_error $? "cannot run test program while cross compiling
   18002 See \`config.log' for more details" "$LINENO" 5; }
   18003 else
   18004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18005 /* end confdefs.h.  */
   18006 
   18007 #include <stdlib.h>
   18008 
   18009 int
   18010 main ()
   18011 {
   18012 
   18013     char *m0, *r0, *c0, *p;
   18014     m0 = malloc(0);
   18015     p = malloc(10);
   18016     r0 = realloc(p,0);
   18017     c0 = calloc(0,10);
   18018     exit((m0 == 0 || r0 == 0 || c0 == 0) ? 0 : 1);
   18019 
   18020   ;
   18021   return 0;
   18022 }
   18023 _ACEOF
   18024 if ac_fn_c_try_run "$LINENO"; then :
   18025   xorg_cv_malloc0_returns_null=yes
   18026 else
   18027   xorg_cv_malloc0_returns_null=no
   18028 fi
   18029 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   18030   conftest.$ac_objext conftest.beam conftest.$ac_ext
   18031 fi
   18032 
   18033 fi
   18034 
   18035 MALLOC_ZERO_RETURNS_NULL=$xorg_cv_malloc0_returns_null
   18036 fi
   18037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   18038 $as_echo "$MALLOC_ZERO_RETURNS_NULL" >&6; }
   18039 
   18040 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   18041 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   18042 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   18043 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   18044 else
   18045 	MALLOC_ZERO_CFLAGS=""
   18046 	XMALLOC_ZERO_CFLAGS=""
   18047 	XTMALLOC_ZERO_CFLAGS=""
   18048 fi
   18049 
   18050 
   18051 
   18052 
   18053 
   18054 
   18055 
   18056 # Check whether --enable-specs was given.
   18057 if test "${enable_specs+set}" = set; then :
   18058   enableval=$enable_specs; build_specs=$enableval
   18059 else
   18060   build_specs=yes
   18061 fi
   18062 
   18063 
   18064  if test x$build_specs = xyes; then
   18065   ENABLE_SPECS_TRUE=
   18066   ENABLE_SPECS_FALSE='#'
   18067 else
   18068   ENABLE_SPECS_TRUE='#'
   18069   ENABLE_SPECS_FALSE=
   18070 fi
   18071 
   18072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build functional specifications" >&5
   18073 $as_echo_n "checking whether to build functional specifications... " >&6; }
   18074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_specs" >&5
   18075 $as_echo "$build_specs" >&6; }
   18076 
   18077 
   18078 
   18079 
   18080 
   18081 # Check whether --with-xmlto was given.
   18082 if test "${with_xmlto+set}" = set; then :
   18083   withval=$with_xmlto; use_xmlto=$withval
   18084 else
   18085   use_xmlto=auto
   18086 fi
   18087 
   18088 
   18089 
   18090 if test "x$use_xmlto" = x"auto"; then
   18091    # Extract the first word of "xmlto", so it can be a program name with args.
   18092 set dummy xmlto; ac_word=$2
   18093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18094 $as_echo_n "checking for $ac_word... " >&6; }
   18095 if ${ac_cv_path_XMLTO+:} false; then :
   18096   $as_echo_n "(cached) " >&6
   18097 else
   18098   case $XMLTO in
   18099   [\\/]* | ?:[\\/]*)
   18100   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   18101   ;;
   18102   *)
   18103   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18104 for as_dir in $PATH
   18105 do
   18106   IFS=$as_save_IFS
   18107   test -z "$as_dir" && as_dir=.
   18108     for ac_exec_ext in '' $ac_executable_extensions; do
   18109   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18110     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   18111     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18112     break 2
   18113   fi
   18114 done
   18115   done
   18116 IFS=$as_save_IFS
   18117 
   18118   ;;
   18119 esac
   18120 fi
   18121 XMLTO=$ac_cv_path_XMLTO
   18122 if test -n "$XMLTO"; then
   18123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   18124 $as_echo "$XMLTO" >&6; }
   18125 else
   18126   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18127 $as_echo "no" >&6; }
   18128 fi
   18129 
   18130 
   18131    if test "x$XMLTO" = "x"; then
   18132         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   18133 $as_echo "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   18134 	have_xmlto=no
   18135    else
   18136         have_xmlto=yes
   18137    fi
   18138 elif test "x$use_xmlto" = x"yes" ; then
   18139    # Extract the first word of "xmlto", so it can be a program name with args.
   18140 set dummy xmlto; ac_word=$2
   18141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18142 $as_echo_n "checking for $ac_word... " >&6; }
   18143 if ${ac_cv_path_XMLTO+:} false; then :
   18144   $as_echo_n "(cached) " >&6
   18145 else
   18146   case $XMLTO in
   18147   [\\/]* | ?:[\\/]*)
   18148   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   18149   ;;
   18150   *)
   18151   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18152 for as_dir in $PATH
   18153 do
   18154   IFS=$as_save_IFS
   18155   test -z "$as_dir" && as_dir=.
   18156     for ac_exec_ext in '' $ac_executable_extensions; do
   18157   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18158     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   18159     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18160     break 2
   18161   fi
   18162 done
   18163   done
   18164 IFS=$as_save_IFS
   18165 
   18166   ;;
   18167 esac
   18168 fi
   18169 XMLTO=$ac_cv_path_XMLTO
   18170 if test -n "$XMLTO"; then
   18171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   18172 $as_echo "$XMLTO" >&6; }
   18173 else
   18174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18175 $as_echo "no" >&6; }
   18176 fi
   18177 
   18178 
   18179    if test "x$XMLTO" = "x"; then
   18180         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   18181    fi
   18182    have_xmlto=yes
   18183 elif test "x$use_xmlto" = x"no" ; then
   18184    if test "x$XMLTO" != "x"; then
   18185       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   18186 $as_echo "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   18187    fi
   18188    have_xmlto=no
   18189 else
   18190    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   18191 fi
   18192 
   18193 # Test for a minimum version of xmlto, if provided.
   18194 if test "$have_xmlto" = yes; then
   18195     # scrape the xmlto version
   18196     { $as_echo "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   18197 $as_echo_n "checking the xmlto version... " >&6; }
   18198     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   18199     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   18200 $as_echo "$xmlto_version" >&6; }
   18201     as_arg_v1=$xmlto_version
   18202 as_arg_v2=0.0.20
   18203 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   18204 case $? in #(
   18205   1) :
   18206     if test "x$use_xmlto" = xauto; then
   18207             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.20 needed" >&5
   18208 $as_echo "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.20 needed" >&2;}
   18209             have_xmlto=no
   18210         else
   18211             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.20 needed" "$LINENO" 5
   18212         fi ;; #(
   18213   0) :
   18214      ;; #(
   18215   2) :
   18216      ;; #(
   18217   *) :
   18218      ;;
   18219 esac
   18220 fi
   18221 
   18222 # Test for the ability of xmlto to generate a text target
   18223 have_xmlto_text=no
   18224 cat > conftest.xml << "EOF"
   18225 EOF
   18226 if test "$have_xmlto" = yes; then :
   18227   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1; then :
   18228   have_xmlto_text=yes
   18229 else
   18230   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   18231 $as_echo "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;}
   18232 fi
   18233 fi
   18234 rm -f conftest.xml
   18235  if test $have_xmlto_text = yes; then
   18236   HAVE_XMLTO_TEXT_TRUE=
   18237   HAVE_XMLTO_TEXT_FALSE='#'
   18238 else
   18239   HAVE_XMLTO_TEXT_TRUE='#'
   18240   HAVE_XMLTO_TEXT_FALSE=
   18241 fi
   18242 
   18243  if test "$have_xmlto" = yes; then
   18244   HAVE_XMLTO_TRUE=
   18245   HAVE_XMLTO_FALSE='#'
   18246 else
   18247   HAVE_XMLTO_TRUE='#'
   18248   HAVE_XMLTO_FALSE=
   18249 fi
   18250 
   18251 
   18252 
   18253 
   18254 
   18255 
   18256 # Check whether --with-fop was given.
   18257 if test "${with_fop+set}" = set; then :
   18258   withval=$with_fop; use_fop=$withval
   18259 else
   18260   use_fop=auto
   18261 fi
   18262 
   18263 
   18264 
   18265 if test "x$use_fop" = x"auto"; then
   18266    # Extract the first word of "fop", so it can be a program name with args.
   18267 set dummy fop; ac_word=$2
   18268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18269 $as_echo_n "checking for $ac_word... " >&6; }
   18270 if ${ac_cv_path_FOP+:} false; then :
   18271   $as_echo_n "(cached) " >&6
   18272 else
   18273   case $FOP in
   18274   [\\/]* | ?:[\\/]*)
   18275   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   18276   ;;
   18277   *)
   18278   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18279 for as_dir in $PATH
   18280 do
   18281   IFS=$as_save_IFS
   18282   test -z "$as_dir" && as_dir=.
   18283     for ac_exec_ext in '' $ac_executable_extensions; do
   18284   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18285     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   18286     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18287     break 2
   18288   fi
   18289 done
   18290   done
   18291 IFS=$as_save_IFS
   18292 
   18293   ;;
   18294 esac
   18295 fi
   18296 FOP=$ac_cv_path_FOP
   18297 if test -n "$FOP"; then
   18298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   18299 $as_echo "$FOP" >&6; }
   18300 else
   18301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18302 $as_echo "no" >&6; }
   18303 fi
   18304 
   18305 
   18306    if test "x$FOP" = "x"; then
   18307         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   18308 $as_echo "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   18309 	have_fop=no
   18310    else
   18311         have_fop=yes
   18312    fi
   18313 elif test "x$use_fop" = x"yes" ; then
   18314    # Extract the first word of "fop", so it can be a program name with args.
   18315 set dummy fop; ac_word=$2
   18316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18317 $as_echo_n "checking for $ac_word... " >&6; }
   18318 if ${ac_cv_path_FOP+:} false; then :
   18319   $as_echo_n "(cached) " >&6
   18320 else
   18321   case $FOP in
   18322   [\\/]* | ?:[\\/]*)
   18323   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   18324   ;;
   18325   *)
   18326   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18327 for as_dir in $PATH
   18328 do
   18329   IFS=$as_save_IFS
   18330   test -z "$as_dir" && as_dir=.
   18331     for ac_exec_ext in '' $ac_executable_extensions; do
   18332   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18333     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   18334     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18335     break 2
   18336   fi
   18337 done
   18338   done
   18339 IFS=$as_save_IFS
   18340 
   18341   ;;
   18342 esac
   18343 fi
   18344 FOP=$ac_cv_path_FOP
   18345 if test -n "$FOP"; then
   18346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   18347 $as_echo "$FOP" >&6; }
   18348 else
   18349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18350 $as_echo "no" >&6; }
   18351 fi
   18352 
   18353 
   18354    if test "x$FOP" = "x"; then
   18355         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   18356    fi
   18357    have_fop=yes
   18358 elif test "x$use_fop" = x"no" ; then
   18359    if test "x$FOP" != "x"; then
   18360       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   18361 $as_echo "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   18362    fi
   18363    have_fop=no
   18364 else
   18365    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   18366 fi
   18367 
   18368 # Test for a minimum version of fop, if provided.
   18369 
   18370  if test "$have_fop" = yes; then
   18371   HAVE_FOP_TRUE=
   18372   HAVE_FOP_FALSE='#'
   18373 else
   18374   HAVE_FOP_TRUE='#'
   18375   HAVE_FOP_FALSE=
   18376 fi
   18377 
   18378 
   18379 
   18380 
   18381 # Preserves the interface, should it be implemented later
   18382 
   18383 
   18384 
   18385 # Check whether --with-xsltproc was given.
   18386 if test "${with_xsltproc+set}" = set; then :
   18387   withval=$with_xsltproc; use_xsltproc=$withval
   18388 else
   18389   use_xsltproc=auto
   18390 fi
   18391 
   18392 
   18393 
   18394 if test "x$use_xsltproc" = x"auto"; then
   18395    # Extract the first word of "xsltproc", so it can be a program name with args.
   18396 set dummy xsltproc; ac_word=$2
   18397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18398 $as_echo_n "checking for $ac_word... " >&6; }
   18399 if ${ac_cv_path_XSLTPROC+:} false; then :
   18400   $as_echo_n "(cached) " >&6
   18401 else
   18402   case $XSLTPROC in
   18403   [\\/]* | ?:[\\/]*)
   18404   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   18405   ;;
   18406   *)
   18407   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18408 for as_dir in $PATH
   18409 do
   18410   IFS=$as_save_IFS
   18411   test -z "$as_dir" && as_dir=.
   18412     for ac_exec_ext in '' $ac_executable_extensions; do
   18413   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18414     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
   18415     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18416     break 2
   18417   fi
   18418 done
   18419   done
   18420 IFS=$as_save_IFS
   18421 
   18422   ;;
   18423 esac
   18424 fi
   18425 XSLTPROC=$ac_cv_path_XSLTPROC
   18426 if test -n "$XSLTPROC"; then
   18427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   18428 $as_echo "$XSLTPROC" >&6; }
   18429 else
   18430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18431 $as_echo "no" >&6; }
   18432 fi
   18433 
   18434 
   18435    if test "x$XSLTPROC" = "x"; then
   18436         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xsltproc not found - cannot transform XML documents" >&5
   18437 $as_echo "$as_me: WARNING: xsltproc not found - cannot transform XML documents" >&2;}
   18438 	have_xsltproc=no
   18439    else
   18440         have_xsltproc=yes
   18441    fi
   18442 elif test "x$use_xsltproc" = x"yes" ; then
   18443    # Extract the first word of "xsltproc", so it can be a program name with args.
   18444 set dummy xsltproc; ac_word=$2
   18445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18446 $as_echo_n "checking for $ac_word... " >&6; }
   18447 if ${ac_cv_path_XSLTPROC+:} false; then :
   18448   $as_echo_n "(cached) " >&6
   18449 else
   18450   case $XSLTPROC in
   18451   [\\/]* | ?:[\\/]*)
   18452   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   18453   ;;
   18454   *)
   18455   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18456 for as_dir in $PATH
   18457 do
   18458   IFS=$as_save_IFS
   18459   test -z "$as_dir" && as_dir=.
   18460     for ac_exec_ext in '' $ac_executable_extensions; do
   18461   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18462     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
   18463     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18464     break 2
   18465   fi
   18466 done
   18467   done
   18468 IFS=$as_save_IFS
   18469 
   18470   ;;
   18471 esac
   18472 fi
   18473 XSLTPROC=$ac_cv_path_XSLTPROC
   18474 if test -n "$XSLTPROC"; then
   18475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   18476 $as_echo "$XSLTPROC" >&6; }
   18477 else
   18478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18479 $as_echo "no" >&6; }
   18480 fi
   18481 
   18482 
   18483    if test "x$XSLTPROC" = "x"; then
   18484         as_fn_error $? "--with-xsltproc=yes specified but xsltproc not found in PATH" "$LINENO" 5
   18485    fi
   18486    have_xsltproc=yes
   18487 elif test "x$use_xsltproc" = x"no" ; then
   18488    if test "x$XSLTPROC" != "x"; then
   18489       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&5
   18490 $as_echo "$as_me: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&2;}
   18491    fi
   18492    have_xsltproc=no
   18493 else
   18494    as_fn_error $? "--with-xsltproc expects 'yes' or 'no'" "$LINENO" 5
   18495 fi
   18496 
   18497  if test "$have_xsltproc" = yes; then
   18498   HAVE_XSLTPROC_TRUE=
   18499   HAVE_XSLTPROC_FALSE='#'
   18500 else
   18501   HAVE_XSLTPROC_TRUE='#'
   18502   HAVE_XSLTPROC_FALSE=
   18503 fi
   18504 
   18505 
   18506 
   18507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.01" >&5
   18508 $as_echo_n "checking for X.Org SGML entities >= 1.01... " >&6; }
   18509 XORG_SGML_PATH=
   18510 if test -n "$PKG_CONFIG" && \
   18511     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.01\""; } >&5
   18512   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.01") 2>&5
   18513   ac_status=$?
   18514   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18515   test $ac_status = 0; }; then
   18516   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   18517 else
   18518   :
   18519 
   18520 fi
   18521 
   18522 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   18523 # the path and the name of the doc stylesheet
   18524 if test "x$XORG_SGML_PATH" != "x" ; then
   18525    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   18526 $as_echo "$XORG_SGML_PATH" >&6; }
   18527    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   18528    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   18529 else
   18530    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18531 $as_echo "no" >&6; }
   18532 fi
   18533 
   18534 
   18535 
   18536 
   18537  if test "x$XSL_STYLESHEET" != "x"; then
   18538   HAVE_STYLESHEETS_TRUE=
   18539   HAVE_STYLESHEETS_FALSE='#'
   18540 else
   18541   HAVE_STYLESHEETS_TRUE='#'
   18542   HAVE_STYLESHEETS_FALSE=
   18543 fi
   18544 
   18545 
   18546 
   18547 
   18548 for ac_prog in cpp
   18549 do
   18550   # Extract the first word of "$ac_prog", so it can be a program name with args.
   18551 set dummy $ac_prog; ac_word=$2
   18552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18553 $as_echo_n "checking for $ac_word... " >&6; }
   18554 if ${ac_cv_path_RAWCPP+:} false; then :
   18555   $as_echo_n "(cached) " >&6
   18556 else
   18557   case $RAWCPP in
   18558   [\\/]* | ?:[\\/]*)
   18559   ac_cv_path_RAWCPP="$RAWCPP" # Let the user override the test with a path.
   18560   ;;
   18561   *)
   18562   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18563 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
   18564 for as_dir in $as_dummy
   18565 do
   18566   IFS=$as_save_IFS
   18567   test -z "$as_dir" && as_dir=.
   18568     for ac_exec_ext in '' $ac_executable_extensions; do
   18569   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18570     ac_cv_path_RAWCPP="$as_dir/$ac_word$ac_exec_ext"
   18571     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18572     break 2
   18573   fi
   18574 done
   18575   done
   18576 IFS=$as_save_IFS
   18577 
   18578   ;;
   18579 esac
   18580 fi
   18581 RAWCPP=$ac_cv_path_RAWCPP
   18582 if test -n "$RAWCPP"; then
   18583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RAWCPP" >&5
   18584 $as_echo "$RAWCPP" >&6; }
   18585 else
   18586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18587 $as_echo "no" >&6; }
   18588 fi
   18589 
   18590 
   18591   test -n "$RAWCPP" && break
   18592 done
   18593 test -n "$RAWCPP" || RAWCPP="${CPP}"
   18594 
   18595 
   18596 # Check for flag to avoid builtin definitions - assumes unix is predefined,
   18597 # which is not the best choice for supporting other OS'es, but covers most
   18598 # of the ones we need for now.
   18599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -undef" >&5
   18600 $as_echo_n "checking if $RAWCPP requires -undef... " >&6; }
   18601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18602 /* end confdefs.h.  */
   18603 Does cpp redefine unix ?
   18604 _ACEOF
   18605 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   18606 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18607 $as_echo "no" >&6; }
   18608 else
   18609 	if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   18610 		RAWCPPFLAGS=-undef
   18611 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18612 $as_echo "yes" >&6; }
   18613 	# under Cygwin unix is still defined even with -undef
   18614 	elif test `${RAWCPP} -undef -ansi < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   18615 		RAWCPPFLAGS="-undef -ansi"
   18616 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, with -ansi" >&5
   18617 $as_echo "yes, with -ansi" >&6; }
   18618 	else
   18619 		as_fn_error $? "${RAWCPP} defines unix with or without -undef.  I don't know what to do." "$LINENO" 5
   18620 	fi
   18621 fi
   18622 rm -f conftest.$ac_ext
   18623 
   18624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -traditional" >&5
   18625 $as_echo_n "checking if $RAWCPP requires -traditional... " >&6; }
   18626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18627 /* end confdefs.h.  */
   18628 Does cpp preserve   "whitespace"?
   18629 _ACEOF
   18630 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
   18631 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18632 $as_echo "no" >&6; }
   18633 else
   18634 	if test `${RAWCPP} -traditional < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
   18635 		TRADITIONALCPPFLAGS="-traditional"
   18636 		RAWCPPFLAGS="${RAWCPPFLAGS} -traditional"
   18637 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18638 $as_echo "yes" >&6; }
   18639 	else
   18640 		as_fn_error $? "${RAWCPP} does not preserve whitespace with or without -traditional.  I don't know what to do." "$LINENO" 5
   18641 	fi
   18642 fi
   18643 rm -f conftest.$ac_ext
   18644 
   18645 
   18646 
   18647 
   18648 
   18649 # Preserves the interface, should it be implemented later
   18650 
   18651 
   18652 
   18653 # Check whether --with-perl was given.
   18654 if test "${with_perl+set}" = set; then :
   18655   withval=$with_perl; use_perl=$withval
   18656 else
   18657   use_perl=auto
   18658 fi
   18659 
   18660 
   18661 
   18662 if test "x$use_perl" = x"auto"; then
   18663    # Extract the first word of "perl", so it can be a program name with args.
   18664 set dummy perl; ac_word=$2
   18665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18666 $as_echo_n "checking for $ac_word... " >&6; }
   18667 if ${ac_cv_path_PERL+:} false; then :
   18668   $as_echo_n "(cached) " >&6
   18669 else
   18670   case $PERL in
   18671   [\\/]* | ?:[\\/]*)
   18672   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
   18673   ;;
   18674   *)
   18675   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18676 for as_dir in $PATH
   18677 do
   18678   IFS=$as_save_IFS
   18679   test -z "$as_dir" && as_dir=.
   18680     for ac_exec_ext in '' $ac_executable_extensions; do
   18681   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18682     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
   18683     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18684     break 2
   18685   fi
   18686 done
   18687   done
   18688 IFS=$as_save_IFS
   18689 
   18690   ;;
   18691 esac
   18692 fi
   18693 PERL=$ac_cv_path_PERL
   18694 if test -n "$PERL"; then
   18695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
   18696 $as_echo "$PERL" >&6; }
   18697 else
   18698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18699 $as_echo "no" >&6; }
   18700 fi
   18701 
   18702 
   18703    if test "x$PERL" = "x"; then
   18704         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - cannot extract information and report" >&5
   18705 $as_echo "$as_me: WARNING: perl not found - cannot extract information and report" >&2;}
   18706 	have_perl=no
   18707    else
   18708         have_perl=yes
   18709    fi
   18710 elif test "x$use_perl" = x"yes" ; then
   18711    # Extract the first word of "perl", so it can be a program name with args.
   18712 set dummy perl; ac_word=$2
   18713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18714 $as_echo_n "checking for $ac_word... " >&6; }
   18715 if ${ac_cv_path_PERL+:} false; then :
   18716   $as_echo_n "(cached) " >&6
   18717 else
   18718   case $PERL in
   18719   [\\/]* | ?:[\\/]*)
   18720   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
   18721   ;;
   18722   *)
   18723   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18724 for as_dir in $PATH
   18725 do
   18726   IFS=$as_save_IFS
   18727   test -z "$as_dir" && as_dir=.
   18728     for ac_exec_ext in '' $ac_executable_extensions; do
   18729   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18730     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
   18731     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18732     break 2
   18733   fi
   18734 done
   18735   done
   18736 IFS=$as_save_IFS
   18737 
   18738   ;;
   18739 esac
   18740 fi
   18741 PERL=$ac_cv_path_PERL
   18742 if test -n "$PERL"; then
   18743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
   18744 $as_echo "$PERL" >&6; }
   18745 else
   18746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18747 $as_echo "no" >&6; }
   18748 fi
   18749 
   18750 
   18751    if test "x$PERL" = "x"; then
   18752         as_fn_error $? "--with-perl=yes specified but perl not found in PATH" "$LINENO" 5
   18753    fi
   18754    have_perl=yes
   18755 elif test "x$use_perl" = x"no" ; then
   18756    if test "x$PERL" != "x"; then
   18757       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring PERL environment variable since --with-perl=no was specified" >&5
   18758 $as_echo "$as_me: WARNING: ignoring PERL environment variable since --with-perl=no was specified" >&2;}
   18759    fi
   18760    have_perl=no
   18761 else
   18762    as_fn_error $? "--with-perl expects 'yes' or 'no'" "$LINENO" 5
   18763 fi
   18764 
   18765  if test "$have_perl" = yes; then
   18766   HAVE_PERL_TRUE=
   18767   HAVE_PERL_FALSE='#'
   18768 else
   18769   HAVE_PERL_TRUE='#'
   18770   HAVE_PERL_FALSE=
   18771 fi
   18772 
   18773 
   18774 
   18775 
   18776 # Checks for header files.
   18777 ac_fn_c_check_header_mongrel "$LINENO" "alloca.h" "ac_cv_header_alloca_h" "$ac_includes_default"
   18778 if test "x$ac_cv_header_alloca_h" = xyes; then :
   18779 
   18780 $as_echo "#define INCLUDE_ALLOCA_H 1" >>confdefs.h
   18781 
   18782 fi
   18783 
   18784 
   18785 
   18786 # Obtain compiler/linker options for depedencies
   18787 
   18788 pkg_failed=no
   18789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XT" >&5
   18790 $as_echo_n "checking for XT... " >&6; }
   18791 
   18792 if test -n "$XT_CFLAGS"; then
   18793     pkg_cv_XT_CFLAGS="$XT_CFLAGS"
   18794  elif test -n "$PKG_CONFIG"; then
   18795     if test -n "$PKG_CONFIG" && \
   18796     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sm ice x11 xproto kbproto\""; } >&5
   18797   ($PKG_CONFIG --exists --print-errors "sm ice x11 xproto kbproto") 2>&5
   18798   ac_status=$?
   18799   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18800   test $ac_status = 0; }; then
   18801   pkg_cv_XT_CFLAGS=`$PKG_CONFIG --cflags "sm ice x11 xproto kbproto" 2>/dev/null`
   18802 else
   18803   pkg_failed=yes
   18804 fi
   18805  else
   18806     pkg_failed=untried
   18807 fi
   18808 if test -n "$XT_LIBS"; then
   18809     pkg_cv_XT_LIBS="$XT_LIBS"
   18810  elif test -n "$PKG_CONFIG"; then
   18811     if test -n "$PKG_CONFIG" && \
   18812     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sm ice x11 xproto kbproto\""; } >&5
   18813   ($PKG_CONFIG --exists --print-errors "sm ice x11 xproto kbproto") 2>&5
   18814   ac_status=$?
   18815   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18816   test $ac_status = 0; }; then
   18817   pkg_cv_XT_LIBS=`$PKG_CONFIG --libs "sm ice x11 xproto kbproto" 2>/dev/null`
   18818 else
   18819   pkg_failed=yes
   18820 fi
   18821  else
   18822     pkg_failed=untried
   18823 fi
   18824 
   18825 
   18826 
   18827 if test $pkg_failed = yes; then
   18828 
   18829 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18830         _pkg_short_errors_supported=yes
   18831 else
   18832         _pkg_short_errors_supported=no
   18833 fi
   18834         if test $_pkg_short_errors_supported = yes; then
   18835 	        XT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "sm ice x11 xproto kbproto" 2>&1`
   18836         else
   18837 	        XT_PKG_ERRORS=`$PKG_CONFIG --print-errors "sm ice x11 xproto kbproto" 2>&1`
   18838         fi
   18839 	# Put the nasty error message in config.log where it belongs
   18840 	echo "$XT_PKG_ERRORS" >&5
   18841 
   18842 	as_fn_error $? "Package requirements (sm ice x11 xproto kbproto) were not met:
   18843 
   18844 $XT_PKG_ERRORS
   18845 
   18846 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18847 installed software in a non-standard prefix.
   18848 
   18849 Alternatively, you may set the environment variables XT_CFLAGS
   18850 and XT_LIBS to avoid the need to call pkg-config.
   18851 See the pkg-config man page for more details.
   18852 " "$LINENO" 5
   18853 elif test $pkg_failed = untried; then
   18854 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18855 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18856 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18857 is in your PATH or set the PKG_CONFIG environment variable to the full
   18858 path to pkg-config.
   18859 
   18860 Alternatively, you may set the environment variables XT_CFLAGS
   18861 and XT_LIBS to avoid the need to call pkg-config.
   18862 See the pkg-config man page for more details.
   18863 
   18864 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18865 See \`config.log' for more details" "$LINENO" 5; }
   18866 else
   18867 	XT_CFLAGS=$pkg_cv_XT_CFLAGS
   18868 	XT_LIBS=$pkg_cv_XT_LIBS
   18869         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18870 $as_echo "yes" >&6; }
   18871 	:
   18872 fi
   18873 
   18874 # Set-up variables to use build machine compiler when cross-compiling
   18875 if test x"$CC_FOR_BUILD" = x; then
   18876 	if test x"$cross_compiling" = xyes; then
   18877 		for ac_prog in gcc cc
   18878 do
   18879   # Extract the first word of "$ac_prog", so it can be a program name with args.
   18880 set dummy $ac_prog; ac_word=$2
   18881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18882 $as_echo_n "checking for $ac_word... " >&6; }
   18883 if ${ac_cv_prog_CC_FOR_BUILD+:} false; then :
   18884   $as_echo_n "(cached) " >&6
   18885 else
   18886   if test -n "$CC_FOR_BUILD"; then
   18887   ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
   18888 else
   18889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18890 for as_dir in $PATH
   18891 do
   18892   IFS=$as_save_IFS
   18893   test -z "$as_dir" && as_dir=.
   18894     for ac_exec_ext in '' $ac_executable_extensions; do
   18895   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18896     ac_cv_prog_CC_FOR_BUILD="$ac_prog"
   18897     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18898     break 2
   18899   fi
   18900 done
   18901   done
   18902 IFS=$as_save_IFS
   18903 
   18904 fi
   18905 fi
   18906 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
   18907 if test -n "$CC_FOR_BUILD"; then
   18908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
   18909 $as_echo "$CC_FOR_BUILD" >&6; }
   18910 else
   18911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18912 $as_echo "no" >&6; }
   18913 fi
   18914 
   18915 
   18916   test -n "$CC_FOR_BUILD" && break
   18917 done
   18918 
   18919 	else
   18920 	        CC_FOR_BUILD="$CC"
   18921 	fi
   18922 fi
   18923 
   18924 DEFAULT_CPPFLAGS_FOR_BUILD="${CPPFLAGS}"
   18925 ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
   18926 if test "x$ac_cv_func_asprintf" = xyes; then :
   18927   DEFAULT_CPPFLAGS_FOR_BUILD="${DEFAULT_CPPFLAGS_FOR_BUILD} -DHAVE_ASPRINTF -D_GNU_SOURCE"
   18928 fi
   18929 
   18930 CPPFLAGS_FOR_BUILD=${CPPFLAGS_FOR_BUILD-${DEFAULT_CPPFLAGS_FOR_BUILD}}
   18931 
   18932 DEFAULT_CFLAGS_FOR_BUILD="${CFLAGS} ${CWARNFLAGS}"
   18933 CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${DEFAULT_CFLAGS_FOR_BUILD}}
   18934 
   18935 LDFLAGS_FOR_BUILD=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
   18936 
   18937 
   18938 # Map function checks to old Imake #defines
   18939 case $host_os in
   18940 	# darwin through Snow Leopard has poll() but can't be used to poll character devices.
   18941 	darwin[789]*|darwin10*) ;;
   18942 	darwin*)
   18943 		_ac_xorg_macosx_version_min=""
   18944 		if echo $CPPFLAGS $CFLAGS | grep -q mmacosx-version-min ; then
   18945 			_ac_xorg_macosx_version_min=`echo $CPPFLAGS $CFLAGS | sed 's/^.*-mmacosx-version-min=\([^ ]*\).*$/\1/'`
   18946 		else
   18947 			_ac_xorg_macosx_version_min=$MACOSX_DEPLOYMENT_TARGET
   18948 		fi
   18949 		case $_ac_xorg_macosx_version_min in
   18950 			10.[0123456]|10.[0123456].*) ;;
   18951 			*)
   18952 				ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
   18953 if test "x$ac_cv_func_poll" = xyes; then :
   18954 
   18955 $as_echo "#define USE_POLL 1" >>confdefs.h
   18956 
   18957 fi
   18958 
   18959 			;;
   18960 		esac
   18961 		unset _ac_xorg_macosx_version_min
   18962 		;;
   18963 	*)
   18964 		ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
   18965 if test "x$ac_cv_func_poll" = xyes; then :
   18966 
   18967 $as_echo "#define USE_POLL 1" >>confdefs.h
   18968 
   18969 fi
   18970 
   18971 	;;
   18972 esac
   18973 
   18974 # Link with winsock if mingw target
   18975 case $host_os in
   18976 	*mingw*)
   18977 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   18978 $as_echo_n "checking for main in -lws2_32... " >&6; }
   18979 if ${ac_cv_lib_ws2_32_main+:} false; then :
   18980   $as_echo_n "(cached) " >&6
   18981 else
   18982   ac_check_lib_save_LIBS=$LIBS
   18983 LIBS="-lws2_32  $LIBS"
   18984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18985 /* end confdefs.h.  */
   18986 
   18987 
   18988 int
   18989 main ()
   18990 {
   18991 return main ();
   18992   ;
   18993   return 0;
   18994 }
   18995 _ACEOF
   18996 if ac_fn_c_try_link "$LINENO"; then :
   18997   ac_cv_lib_ws2_32_main=yes
   18998 else
   18999   ac_cv_lib_ws2_32_main=no
   19000 fi
   19001 rm -f core conftest.err conftest.$ac_objext \
   19002     conftest$ac_exeext conftest.$ac_ext
   19003 LIBS=$ac_check_lib_save_LIBS
   19004 fi
   19005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   19006 $as_echo "$ac_cv_lib_ws2_32_main" >&6; }
   19007 if test "x$ac_cv_lib_ws2_32_main" = xyes; then :
   19008   cat >>confdefs.h <<_ACEOF
   19009 #define HAVE_LIBWS2_32 1
   19010 _ACEOF
   19011 
   19012   LIBS="-lws2_32 $LIBS"
   19013 
   19014 fi
   19015 ac_cv_lib_ws2_32=ac_cv_lib_ws2_32_main
   19016 
   19017 	;;
   19018 	*)
   19019 	;;
   19020 esac
   19021 
   19022 # Options
   19023 # Check whether --enable-xkb was given.
   19024 if test "${enable_xkb+set}" = set; then :
   19025   enableval=$enable_xkb; XKB="$enableval"
   19026 else
   19027   XKB="yes"
   19028 fi
   19029 
   19030 if test "x$XKB" = "xyes" ; then
   19031 
   19032 $as_echo "#define XKB 1" >>confdefs.h
   19033 
   19034 fi
   19035 
   19036 # --enable-unit-tests
   19037 
   19038 
   19039 
   19040 
   19041 
   19042 # Check for different types of support on different platforms
   19043 case $host_os in
   19044     solaris*)
   19045         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for umem_alloc in -lumem" >&5
   19046 $as_echo_n "checking for umem_alloc in -lumem... " >&6; }
   19047 if ${ac_cv_lib_umem_umem_alloc+:} false; then :
   19048   $as_echo_n "(cached) " >&6
   19049 else
   19050   ac_check_lib_save_LIBS=$LIBS
   19051 LIBS="-lumem  $LIBS"
   19052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19053 /* end confdefs.h.  */
   19054 
   19055 /* Override any GCC internal prototype to avoid an error.
   19056    Use char because int might match the return type of a GCC
   19057    builtin and then its argument prototype would still apply.  */
   19058 #ifdef __cplusplus
   19059 extern "C"
   19060 #endif
   19061 char umem_alloc ();
   19062 int
   19063 main ()
   19064 {
   19065 return umem_alloc ();
   19066   ;
   19067   return 0;
   19068 }
   19069 _ACEOF
   19070 if ac_fn_c_try_link "$LINENO"; then :
   19071   ac_cv_lib_umem_umem_alloc=yes
   19072 else
   19073   ac_cv_lib_umem_umem_alloc=no
   19074 fi
   19075 rm -f core conftest.err conftest.$ac_objext \
   19076     conftest$ac_exeext conftest.$ac_ext
   19077 LIBS=$ac_check_lib_save_LIBS
   19078 fi
   19079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_umem_umem_alloc" >&5
   19080 $as_echo "$ac_cv_lib_umem_umem_alloc" >&6; }
   19081 if test "x$ac_cv_lib_umem_umem_alloc" = xyes; then :
   19082   malloc_debug_env='LD_PRELOAD=libumem.so UMEM_DEBUG=default'
   19083 fi
   19084 
   19085         ;;
   19086     *-gnu*) # GNU libc - Value is used as a single byte bit pattern,
   19087         # both directly and inverted, so should not be 0 or 255.
   19088         malloc_debug_env='MALLOC_PERTURB_=15'
   19089         ;;
   19090     darwin*)
   19091         malloc_debug_env='MallocPreScribble=1 MallocScribble=1 DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib'
   19092         ;;
   19093     *bsd*)
   19094         malloc_debug_env='MallocPreScribble=1 MallocScribble=1'
   19095         ;;
   19096 esac
   19097 
   19098 # User supplied flags override default flags
   19099 if test "x$XORG_MALLOC_DEBUG_ENV" != "x"; then
   19100     malloc_debug_env="$XORG_MALLOC_DEBUG_ENV"
   19101 fi
   19102 
   19103 XORG_MALLOC_DEBUG_ENV=$malloc_debug_env
   19104 
   19105 
   19106 
   19107 
   19108 
   19109 
   19110 
   19111 # Check whether --enable-unit-tests was given.
   19112 if test "${enable_unit_tests+set}" = set; then :
   19113   enableval=$enable_unit_tests; enable_unit_tests=$enableval
   19114 else
   19115   enable_unit_tests=auto
   19116 fi
   19117 
   19118 
   19119  if test "x$enable_unit_tests" != xno; then
   19120   ENABLE_UNIT_TESTS_TRUE=
   19121   ENABLE_UNIT_TESTS_FALSE='#'
   19122 else
   19123   ENABLE_UNIT_TESTS_TRUE='#'
   19124   ENABLE_UNIT_TESTS_FALSE=
   19125 fi
   19126 
   19127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build unit test cases" >&5
   19128 $as_echo_n "checking whether to build unit test cases... " >&6; }
   19129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_unit_tests" >&5
   19130 $as_echo "$enable_unit_tests" >&6; }
   19131 
   19132 
   19133 
   19134 
   19135 
   19136 # Check whether --with-glib was given.
   19137 if test "${with_glib+set}" = set; then :
   19138   withval=$with_glib; with_glib=$withval
   19139 else
   19140   with_glib=auto
   19141 fi
   19142 
   19143 
   19144 
   19145 have_glib=no
   19146 # Do not probe GLib if user explicitly disabled unit testing
   19147 if test "x$enable_unit_tests" != x"no"; then
   19148   # Do not probe GLib if user explicitly disabled it
   19149   if test "x$with_glib" != x"no"; then
   19150 
   19151 pkg_failed=no
   19152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
   19153 $as_echo_n "checking for GLIB... " >&6; }
   19154 
   19155 if test -n "$GLIB_CFLAGS"; then
   19156     pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
   19157  elif test -n "$PKG_CONFIG"; then
   19158     if test -n "$PKG_CONFIG" && \
   19159     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.16\""; } >&5
   19160   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.16") 2>&5
   19161   ac_status=$?
   19162   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19163   test $ac_status = 0; }; then
   19164   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.16" 2>/dev/null`
   19165 else
   19166   pkg_failed=yes
   19167 fi
   19168  else
   19169     pkg_failed=untried
   19170 fi
   19171 if test -n "$GLIB_LIBS"; then
   19172     pkg_cv_GLIB_LIBS="$GLIB_LIBS"
   19173  elif test -n "$PKG_CONFIG"; then
   19174     if test -n "$PKG_CONFIG" && \
   19175     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.16\""; } >&5
   19176   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.16") 2>&5
   19177   ac_status=$?
   19178   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19179   test $ac_status = 0; }; then
   19180   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.16" 2>/dev/null`
   19181 else
   19182   pkg_failed=yes
   19183 fi
   19184  else
   19185     pkg_failed=untried
   19186 fi
   19187 
   19188 
   19189 
   19190 if test $pkg_failed = yes; then
   19191 
   19192 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19193         _pkg_short_errors_supported=yes
   19194 else
   19195         _pkg_short_errors_supported=no
   19196 fi
   19197         if test $_pkg_short_errors_supported = yes; then
   19198 	        GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.16" 2>&1`
   19199         else
   19200 	        GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.16" 2>&1`
   19201         fi
   19202 	# Put the nasty error message in config.log where it belongs
   19203 	echo "$GLIB_PKG_ERRORS" >&5
   19204 
   19205 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19206 $as_echo "no" >&6; }
   19207                 have_glib=no
   19208 elif test $pkg_failed = untried; then
   19209 	have_glib=no
   19210 else
   19211 	GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
   19212 	GLIB_LIBS=$pkg_cv_GLIB_LIBS
   19213         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19214 $as_echo "yes" >&6; }
   19215 	have_glib=yes
   19216 fi
   19217   fi
   19218 fi
   19219 
   19220 # Not having GLib when unit testing has been explicitly requested is an error
   19221 if test "x$enable_unit_tests" = x"yes"; then
   19222   if test "x$have_glib" = x"no"; then
   19223     as_fn_error $? "--enable-unit-tests=yes specified but glib-2.0 not found" "$LINENO" 5
   19224   fi
   19225 fi
   19226 
   19227 # Having unit testing disabled when GLib has been explicitly requested is an error
   19228 if test "x$enable_unit_tests" = x"no"; then
   19229   if test "x$with_glib" = x"yes"; then
   19230     as_fn_error $? "--enable-unit-tests=yes specified but glib-2.0 not found" "$LINENO" 5
   19231   fi
   19232 fi
   19233 
   19234 # Not having GLib when it has been explicitly requested is an error
   19235 if test "x$with_glib" = x"yes"; then
   19236   if test "x$have_glib" = x"no"; then
   19237     as_fn_error $? "--with-glib=yes specified but glib-2.0 not found" "$LINENO" 5
   19238   fi
   19239 fi
   19240 
   19241  if test "$have_glib" = yes; then
   19242   HAVE_GLIB_TRUE=
   19243   HAVE_GLIB_FALSE='#'
   19244 else
   19245   HAVE_GLIB_TRUE='#'
   19246   HAVE_GLIB_FALSE=
   19247 fi
   19248 
   19249 
   19250 
   19251 # Memory checking support
   19252 case $host_os in
   19253      solaris*)
   19254         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for umem_alloc in -lumem" >&5
   19255 $as_echo_n "checking for umem_alloc in -lumem... " >&6; }
   19256 if ${ac_cv_lib_umem_umem_alloc+:} false; then :
   19257   $as_echo_n "(cached) " >&6
   19258 else
   19259   ac_check_lib_save_LIBS=$LIBS
   19260 LIBS="-lumem  $LIBS"
   19261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19262 /* end confdefs.h.  */
   19263 
   19264 /* Override any GCC internal prototype to avoid an error.
   19265    Use char because int might match the return type of a GCC
   19266    builtin and then its argument prototype would still apply.  */
   19267 #ifdef __cplusplus
   19268 extern "C"
   19269 #endif
   19270 char umem_alloc ();
   19271 int
   19272 main ()
   19273 {
   19274 return umem_alloc ();
   19275   ;
   19276   return 0;
   19277 }
   19278 _ACEOF
   19279 if ac_fn_c_try_link "$LINENO"; then :
   19280   ac_cv_lib_umem_umem_alloc=yes
   19281 else
   19282   ac_cv_lib_umem_umem_alloc=no
   19283 fi
   19284 rm -f core conftest.err conftest.$ac_objext \
   19285     conftest$ac_exeext conftest.$ac_ext
   19286 LIBS=$ac_check_lib_save_LIBS
   19287 fi
   19288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_umem_umem_alloc" >&5
   19289 $as_echo "$ac_cv_lib_umem_umem_alloc" >&6; }
   19290 if test "x$ac_cv_lib_umem_umem_alloc" = xyes; then :
   19291   MALLOC_DEBUG_ENV='LD_PRELOAD=libumem.so UMEM_DEBUG=default'
   19292 fi
   19293 
   19294         ;;
   19295      *-gnu*) # GNU libc - Value is used as a single byte bit pattern,
   19296         # both directly and inverted, so should not be 0 or 255.
   19297         MALLOC_DEBUG_ENV='MALLOC_PERTURB_=15'
   19298         ;;
   19299      *bsd*|darwin*)
   19300         MALLOC_DEBUG_ENV='MallocPreScribble=1 MallocScribble=1'
   19301         ;;
   19302 esac
   19303 
   19304 
   19305 # Replaces XFileSearchPathDefault from Imake configs
   19306 XFILESEARCHPATHDEFAULT='$(sysconfdir)/X11/%L/%T/%N%C%S:$(sysconfdir)/X11/%l/%T/%N%C%S:$(sysconfdir)/X11/%T/%N%C%S:$(sysconfdir)/X11/%L/%T/%N%S:$(sysconfdir)/X11/%l/%T/%N%S:$(sysconfdir)/X11/%T/%N%S:$(datadir)/X11/%L/%T/%N%C%S:$(datadir)/X11/%l/%T/%N%C%S:$(datadir)/X11/%T/%N%C%S:$(datadir)/X11/%L/%T/%N%S:$(datadir)/X11/%l/%T/%N%S:$(datadir)/X11/%T/%N%S:$(libdir)/X11/%L/%T/%N%C%S:$(libdir)/X11/%l/%T/%N%C%S:$(libdir)/X11/%T/%N%C%S:$(libdir)/X11/%L/%T/%N%S:$(libdir)/X11/%l/%T/%N%S:$(libdir)/X11/%T/%N%S'
   19307 
   19308 
   19309 # Check whether --with-xfile-search-path was given.
   19310 if test "${with_xfile_search_path+set}" = set; then :
   19311   withval=$with_xfile_search_path; XFILESEARCHPATHDEFAULT="$withval"
   19312 fi
   19313 
   19314 
   19315 
   19316 
   19317 # Check whether --with-appdefaultdir was given.
   19318 if test "${with_appdefaultdir+set}" = set; then :
   19319   withval=$with_appdefaultdir; appdefaultdir="$withval"
   19320 else
   19321   appdefaultdir=${datadir}/X11/app-defaults
   19322 fi
   19323 
   19324 
   19325   prefix_NONE=
   19326   exec_prefix_NONE=
   19327   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   19328   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   19329   eval ax_define_dir="\"$appdefaultdir\""
   19330   eval ax_define_dir="\"$ax_define_dir\""
   19331   appdefaultdir="$ax_define_dir"
   19332 
   19333 
   19334 cat >>confdefs.h <<_ACEOF
   19335 #define appdefaultdir "$ax_define_dir"
   19336 _ACEOF
   19337 
   19338   test "$prefix_NONE" && prefix=NONE
   19339   test "$exec_prefix_NONE" && exec_prefix=NONE
   19340 
   19341 
   19342 # Replacement for Imake ToolkitStringsABIOptions, controls string tables
   19343 # generated by util/string.list in StringDefs.h & Shell.h
   19344 case $host_os in
   19345 	solaris*)
   19346 		# Solaris uses -intelabi even on SPARC
   19347   		STRINGSABIOPTIONS="-intelabi -solarisabinames"
   19348 		;;
   19349 	sco* | svr4*)
   19350 		case $host_cpu in
   19351 		    i*86) STRINGSABIOPTIONS="-intelabi" ;;
   19352 		       *) STRINGSABIOPTIONS="" ;;
   19353 		esac
   19354 		;;
   19355 esac
   19356 
   19357 
   19358 ERRORDBDIR=${datadir}/X11
   19359 
   19360 
   19361 case $host_os in
   19362     darwin*)
   19363         OS_CFLAGS="-Wl,-flat_namespace"
   19364 	;;
   19365     *)
   19366         OS_CFLAGS=
   19367         ;;
   19368 esac
   19369 
   19370 XT_CFLAGS="$XT_CFLAGS $OS_CFLAGS"
   19371 
   19372 ac_config_files="$ac_config_files Makefile src/Makefile util/Makefile include/Makefile man/Makefile specs/Makefile test/Makefile xt.pc"
   19373 
   19374 cat >confcache <<\_ACEOF
   19375 # This file is a shell script that caches the results of configure
   19376 # tests run on this system so they can be shared between configure
   19377 # scripts and configure runs, see configure's option --config-cache.
   19378 # It is not useful on other systems.  If it contains results you don't
   19379 # want to keep, you may remove or edit it.
   19380 #
   19381 # config.status only pays attention to the cache file if you give it
   19382 # the --recheck option to rerun configure.
   19383 #
   19384 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   19385 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   19386 # following values.
   19387 
   19388 _ACEOF
   19389 
   19390 # The following way of writing the cache mishandles newlines in values,
   19391 # but we know of no workaround that is simple, portable, and efficient.
   19392 # So, we kill variables containing newlines.
   19393 # Ultrix sh set writes to stderr and can't be redirected directly,
   19394 # and sets the high bit in the cache file unless we assign to the vars.
   19395 (
   19396   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   19397     eval ac_val=\$$ac_var
   19398     case $ac_val in #(
   19399     *${as_nl}*)
   19400       case $ac_var in #(
   19401       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   19402 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   19403       esac
   19404       case $ac_var in #(
   19405       _ | IFS | as_nl) ;; #(
   19406       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   19407       *) { eval $ac_var=; unset $ac_var;} ;;
   19408       esac ;;
   19409     esac
   19410   done
   19411 
   19412   (set) 2>&1 |
   19413     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   19414     *${as_nl}ac_space=\ *)
   19415       # `set' does not quote correctly, so add quotes: double-quote
   19416       # substitution turns \\\\ into \\, and sed turns \\ into \.
   19417       sed -n \
   19418 	"s/'/'\\\\''/g;
   19419 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   19420       ;; #(
   19421     *)
   19422       # `set' quotes correctly as required by POSIX, so do not add quotes.
   19423       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   19424       ;;
   19425     esac |
   19426     sort
   19427 ) |
   19428   sed '
   19429      /^ac_cv_env_/b end
   19430      t clear
   19431      :clear
   19432      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   19433      t end
   19434      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   19435      :end' >>confcache
   19436 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   19437   if test -w "$cache_file"; then
   19438     if test "x$cache_file" != "x/dev/null"; then
   19439       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   19440 $as_echo "$as_me: updating cache $cache_file" >&6;}
   19441       if test ! -f "$cache_file" || test -h "$cache_file"; then
   19442 	cat confcache >"$cache_file"
   19443       else
   19444         case $cache_file in #(
   19445         */* | ?:*)
   19446 	  mv -f confcache "$cache_file"$$ &&
   19447 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   19448         *)
   19449 	  mv -f confcache "$cache_file" ;;
   19450 	esac
   19451       fi
   19452     fi
   19453   else
   19454     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   19455 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   19456   fi
   19457 fi
   19458 rm -f confcache
   19459 
   19460 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   19461 # Let make expand exec_prefix.
   19462 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   19463 
   19464 DEFS=-DHAVE_CONFIG_H
   19465 
   19466 ac_libobjs=
   19467 ac_ltlibobjs=
   19468 U=
   19469 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   19470   # 1. Remove the extension, and $U if already installed.
   19471   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   19472   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   19473   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   19474   #    will be set to the directory where LIBOBJS objects are built.
   19475   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   19476   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   19477 done
   19478 LIBOBJS=$ac_libobjs
   19479 
   19480 LTLIBOBJS=$ac_ltlibobjs
   19481 
   19482 
   19483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   19484 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   19485    if test -n "$am_sleep_pid"; then
   19486      # Hide warnings about reused PIDs.
   19487      wait $am_sleep_pid 2>/dev/null
   19488    fi
   19489    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   19490 $as_echo "done" >&6; }
   19491  if test -n "$EXEEXT"; then
   19492   am__EXEEXT_TRUE=
   19493   am__EXEEXT_FALSE='#'
   19494 else
   19495   am__EXEEXT_TRUE='#'
   19496   am__EXEEXT_FALSE=
   19497 fi
   19498 
   19499 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   19500   as_fn_error $? "conditional \"AMDEP\" was never defined.
   19501 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19502 fi
   19503 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   19504   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   19505 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19506 fi
   19507 if test -z "${ENABLE_SPECS_TRUE}" && test -z "${ENABLE_SPECS_FALSE}"; then
   19508   as_fn_error $? "conditional \"ENABLE_SPECS\" was never defined.
   19509 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19510 fi
   19511 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   19512   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   19513 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19514 fi
   19515 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   19516   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   19517 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19518 fi
   19519 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   19520   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   19521 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19522 fi
   19523 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
   19524   as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
   19525 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19526 fi
   19527 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   19528   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   19529 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19530 fi
   19531 if test -z "${HAVE_PERL_TRUE}" && test -z "${HAVE_PERL_FALSE}"; then
   19532   as_fn_error $? "conditional \"HAVE_PERL\" was never defined.
   19533 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19534 fi
   19535 if test -z "${ENABLE_UNIT_TESTS_TRUE}" && test -z "${ENABLE_UNIT_TESTS_FALSE}"; then
   19536   as_fn_error $? "conditional \"ENABLE_UNIT_TESTS\" was never defined.
   19537 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19538 fi
   19539 if test -z "${HAVE_GLIB_TRUE}" && test -z "${HAVE_GLIB_FALSE}"; then
   19540   as_fn_error $? "conditional \"HAVE_GLIB\" was never defined.
   19541 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19542 fi
   19543 
   19544 : "${CONFIG_STATUS=./config.status}"
   19545 ac_write_fail=0
   19546 ac_clean_files_save=$ac_clean_files
   19547 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   19548 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   19549 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   19550 as_write_fail=0
   19551 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   19552 #! $SHELL
   19553 # Generated by $as_me.
   19554 # Run this file to recreate the current configuration.
   19555 # Compiler output produced by configure, useful for debugging
   19556 # configure, is in config.log if it exists.
   19557 
   19558 debug=false
   19559 ac_cs_recheck=false
   19560 ac_cs_silent=false
   19561 
   19562 SHELL=\${CONFIG_SHELL-$SHELL}
   19563 export SHELL
   19564 _ASEOF
   19565 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   19566 ## -------------------- ##
   19567 ## M4sh Initialization. ##
   19568 ## -------------------- ##
   19569 
   19570 # Be more Bourne compatible
   19571 DUALCASE=1; export DUALCASE # for MKS sh
   19572 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   19573   emulate sh
   19574   NULLCMD=:
   19575   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   19576   # is contrary to our usage.  Disable this feature.
   19577   alias -g '${1+"$@"}'='"$@"'
   19578   setopt NO_GLOB_SUBST
   19579 else
   19580   case `(set -o) 2>/dev/null` in #(
   19581   *posix*) :
   19582     set -o posix ;; #(
   19583   *) :
   19584      ;;
   19585 esac
   19586 fi
   19587 
   19588 
   19589 as_nl='
   19590 '
   19591 export as_nl
   19592 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   19593 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   19594 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   19595 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   19596 # Prefer a ksh shell builtin over an external printf program on Solaris,
   19597 # but without wasting forks for bash or zsh.
   19598 if test -z "$BASH_VERSION$ZSH_VERSION" \
   19599     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   19600   as_echo='print -r --'
   19601   as_echo_n='print -rn --'
   19602 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   19603   as_echo='printf %s\n'
   19604   as_echo_n='printf %s'
   19605 else
   19606   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   19607     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   19608     as_echo_n='/usr/ucb/echo -n'
   19609   else
   19610     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   19611     as_echo_n_body='eval
   19612       arg=$1;
   19613       case $arg in #(
   19614       *"$as_nl"*)
   19615 	expr "X$arg" : "X\\(.*\\)$as_nl";
   19616 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   19617       esac;
   19618       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   19619     '
   19620     export as_echo_n_body
   19621     as_echo_n='sh -c $as_echo_n_body as_echo'
   19622   fi
   19623   export as_echo_body
   19624   as_echo='sh -c $as_echo_body as_echo'
   19625 fi
   19626 
   19627 # The user is always right.
   19628 if test "${PATH_SEPARATOR+set}" != set; then
   19629   PATH_SEPARATOR=:
   19630   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   19631     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   19632       PATH_SEPARATOR=';'
   19633   }
   19634 fi
   19635 
   19636 
   19637 # IFS
   19638 # We need space, tab and new line, in precisely that order.  Quoting is
   19639 # there to prevent editors from complaining about space-tab.
   19640 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   19641 # splitting by setting IFS to empty value.)
   19642 IFS=" ""	$as_nl"
   19643 
   19644 # Find who we are.  Look in the path if we contain no directory separator.
   19645 as_myself=
   19646 case $0 in #((
   19647   *[\\/]* ) as_myself=$0 ;;
   19648   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19649 for as_dir in $PATH
   19650 do
   19651   IFS=$as_save_IFS
   19652   test -z "$as_dir" && as_dir=.
   19653     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   19654   done
   19655 IFS=$as_save_IFS
   19656 
   19657      ;;
   19658 esac
   19659 # We did not find ourselves, most probably we were run as `sh COMMAND'
   19660 # in which case we are not to be found in the path.
   19661 if test "x$as_myself" = x; then
   19662   as_myself=$0
   19663 fi
   19664 if test ! -f "$as_myself"; then
   19665   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   19666   exit 1
   19667 fi
   19668 
   19669 # Unset variables that we do not need and which cause bugs (e.g. in
   19670 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   19671 # suppresses any "Segmentation fault" message there.  '((' could
   19672 # trigger a bug in pdksh 5.2.14.
   19673 for as_var in BASH_ENV ENV MAIL MAILPATH
   19674 do eval test x\${$as_var+set} = xset \
   19675   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   19676 done
   19677 PS1='$ '
   19678 PS2='> '
   19679 PS4='+ '
   19680 
   19681 # NLS nuisances.
   19682 LC_ALL=C
   19683 export LC_ALL
   19684 LANGUAGE=C
   19685 export LANGUAGE
   19686 
   19687 # CDPATH.
   19688 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19689 
   19690 
   19691 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   19692 # ----------------------------------------
   19693 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   19694 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   19695 # script with STATUS, using 1 if that was 0.
   19696 as_fn_error ()
   19697 {
   19698   as_status=$1; test $as_status -eq 0 && as_status=1
   19699   if test "$4"; then
   19700     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   19701     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   19702   fi
   19703   $as_echo "$as_me: error: $2" >&2
   19704   as_fn_exit $as_status
   19705 } # as_fn_error
   19706 
   19707 
   19708 # as_fn_set_status STATUS
   19709 # -----------------------
   19710 # Set $? to STATUS, without forking.
   19711 as_fn_set_status ()
   19712 {
   19713   return $1
   19714 } # as_fn_set_status
   19715 
   19716 # as_fn_exit STATUS
   19717 # -----------------
   19718 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   19719 as_fn_exit ()
   19720 {
   19721   set +e
   19722   as_fn_set_status $1
   19723   exit $1
   19724 } # as_fn_exit
   19725 
   19726 # as_fn_unset VAR
   19727 # ---------------
   19728 # Portably unset VAR.
   19729 as_fn_unset ()
   19730 {
   19731   { eval $1=; unset $1;}
   19732 }
   19733 as_unset=as_fn_unset
   19734 # as_fn_append VAR VALUE
   19735 # ----------------------
   19736 # Append the text in VALUE to the end of the definition contained in VAR. Take
   19737 # advantage of any shell optimizations that allow amortized linear growth over
   19738 # repeated appends, instead of the typical quadratic growth present in naive
   19739 # implementations.
   19740 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   19741   eval 'as_fn_append ()
   19742   {
   19743     eval $1+=\$2
   19744   }'
   19745 else
   19746   as_fn_append ()
   19747   {
   19748     eval $1=\$$1\$2
   19749   }
   19750 fi # as_fn_append
   19751 
   19752 # as_fn_arith ARG...
   19753 # ------------------
   19754 # Perform arithmetic evaluation on the ARGs, and store the result in the
   19755 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   19756 # must be portable across $(()) and expr.
   19757 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   19758   eval 'as_fn_arith ()
   19759   {
   19760     as_val=$(( $* ))
   19761   }'
   19762 else
   19763   as_fn_arith ()
   19764   {
   19765     as_val=`expr "$@" || test $? -eq 1`
   19766   }
   19767 fi # as_fn_arith
   19768 
   19769 
   19770 if expr a : '\(a\)' >/dev/null 2>&1 &&
   19771    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   19772   as_expr=expr
   19773 else
   19774   as_expr=false
   19775 fi
   19776 
   19777 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   19778   as_basename=basename
   19779 else
   19780   as_basename=false
   19781 fi
   19782 
   19783 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   19784   as_dirname=dirname
   19785 else
   19786   as_dirname=false
   19787 fi
   19788 
   19789 as_me=`$as_basename -- "$0" ||
   19790 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   19791 	 X"$0" : 'X\(//\)$' \| \
   19792 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   19793 $as_echo X/"$0" |
   19794     sed '/^.*\/\([^/][^/]*\)\/*$/{
   19795 	    s//\1/
   19796 	    q
   19797 	  }
   19798 	  /^X\/\(\/\/\)$/{
   19799 	    s//\1/
   19800 	    q
   19801 	  }
   19802 	  /^X\/\(\/\).*/{
   19803 	    s//\1/
   19804 	    q
   19805 	  }
   19806 	  s/.*/./; q'`
   19807 
   19808 # Avoid depending upon Character Ranges.
   19809 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   19810 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   19811 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   19812 as_cr_digits='0123456789'
   19813 as_cr_alnum=$as_cr_Letters$as_cr_digits
   19814 
   19815 ECHO_C= ECHO_N= ECHO_T=
   19816 case `echo -n x` in #(((((
   19817 -n*)
   19818   case `echo 'xy\c'` in
   19819   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   19820   xy)  ECHO_C='\c';;
   19821   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   19822        ECHO_T='	';;
   19823   esac;;
   19824 *)
   19825   ECHO_N='-n';;
   19826 esac
   19827 
   19828 rm -f conf$$ conf$$.exe conf$$.file
   19829 if test -d conf$$.dir; then
   19830   rm -f conf$$.dir/conf$$.file
   19831 else
   19832   rm -f conf$$.dir
   19833   mkdir conf$$.dir 2>/dev/null
   19834 fi
   19835 if (echo >conf$$.file) 2>/dev/null; then
   19836   if ln -s conf$$.file conf$$ 2>/dev/null; then
   19837     as_ln_s='ln -s'
   19838     # ... but there are two gotchas:
   19839     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   19840     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   19841     # In both cases, we have to default to `cp -pR'.
   19842     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   19843       as_ln_s='cp -pR'
   19844   elif ln conf$$.file conf$$ 2>/dev/null; then
   19845     as_ln_s=ln
   19846   else
   19847     as_ln_s='cp -pR'
   19848   fi
   19849 else
   19850   as_ln_s='cp -pR'
   19851 fi
   19852 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   19853 rmdir conf$$.dir 2>/dev/null
   19854 
   19855 
   19856 # as_fn_mkdir_p
   19857 # -------------
   19858 # Create "$as_dir" as a directory, including parents if necessary.
   19859 as_fn_mkdir_p ()
   19860 {
   19861 
   19862   case $as_dir in #(
   19863   -*) as_dir=./$as_dir;;
   19864   esac
   19865   test -d "$as_dir" || eval $as_mkdir_p || {
   19866     as_dirs=
   19867     while :; do
   19868       case $as_dir in #(
   19869       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   19870       *) as_qdir=$as_dir;;
   19871       esac
   19872       as_dirs="'$as_qdir' $as_dirs"
   19873       as_dir=`$as_dirname -- "$as_dir" ||
   19874 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19875 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   19876 	 X"$as_dir" : 'X\(//\)$' \| \
   19877 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   19878 $as_echo X"$as_dir" |
   19879     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19880 	    s//\1/
   19881 	    q
   19882 	  }
   19883 	  /^X\(\/\/\)[^/].*/{
   19884 	    s//\1/
   19885 	    q
   19886 	  }
   19887 	  /^X\(\/\/\)$/{
   19888 	    s//\1/
   19889 	    q
   19890 	  }
   19891 	  /^X\(\/\).*/{
   19892 	    s//\1/
   19893 	    q
   19894 	  }
   19895 	  s/.*/./; q'`
   19896       test -d "$as_dir" && break
   19897     done
   19898     test -z "$as_dirs" || eval "mkdir $as_dirs"
   19899   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   19900 
   19901 
   19902 } # as_fn_mkdir_p
   19903 if mkdir -p . 2>/dev/null; then
   19904   as_mkdir_p='mkdir -p "$as_dir"'
   19905 else
   19906   test -d ./-p && rmdir ./-p
   19907   as_mkdir_p=false
   19908 fi
   19909 
   19910 
   19911 # as_fn_executable_p FILE
   19912 # -----------------------
   19913 # Test if FILE is an executable regular file.
   19914 as_fn_executable_p ()
   19915 {
   19916   test -f "$1" && test -x "$1"
   19917 } # as_fn_executable_p
   19918 as_test_x='test -x'
   19919 as_executable_p=as_fn_executable_p
   19920 
   19921 # Sed expression to map a string onto a valid CPP name.
   19922 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   19923 
   19924 # Sed expression to map a string onto a valid variable name.
   19925 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   19926 
   19927 
   19928 exec 6>&1
   19929 ## ----------------------------------- ##
   19930 ## Main body of $CONFIG_STATUS script. ##
   19931 ## ----------------------------------- ##
   19932 _ASEOF
   19933 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   19934 
   19935 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19936 # Save the log message, to keep $0 and so on meaningful, and to
   19937 # report actual input values of CONFIG_FILES etc. instead of their
   19938 # values after options handling.
   19939 ac_log="
   19940 This file was extended by libXt $as_me 1.1.5, which was
   19941 generated by GNU Autoconf 2.69.  Invocation command line was
   19942 
   19943   CONFIG_FILES    = $CONFIG_FILES
   19944   CONFIG_HEADERS  = $CONFIG_HEADERS
   19945   CONFIG_LINKS    = $CONFIG_LINKS
   19946   CONFIG_COMMANDS = $CONFIG_COMMANDS
   19947   $ $0 $@
   19948 
   19949 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   19950 "
   19951 
   19952 _ACEOF
   19953 
   19954 case $ac_config_files in *"
   19955 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   19956 esac
   19957 
   19958 case $ac_config_headers in *"
   19959 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   19960 esac
   19961 
   19962 
   19963 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19964 # Files that config.status was made for.
   19965 config_files="$ac_config_files"
   19966 config_headers="$ac_config_headers"
   19967 config_commands="$ac_config_commands"
   19968 
   19969 _ACEOF
   19970 
   19971 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19972 ac_cs_usage="\
   19973 \`$as_me' instantiates files and other configuration actions
   19974 from templates according to the current configuration.  Unless the files
   19975 and actions are specified as TAGs, all are instantiated by default.
   19976 
   19977 Usage: $0 [OPTION]... [TAG]...
   19978 
   19979   -h, --help       print this help, then exit
   19980   -V, --version    print version number and configuration settings, then exit
   19981       --config     print configuration, then exit
   19982   -q, --quiet, --silent
   19983                    do not print progress messages
   19984   -d, --debug      don't remove temporary files
   19985       --recheck    update $as_me by reconfiguring in the same conditions
   19986       --file=FILE[:TEMPLATE]
   19987                    instantiate the configuration file FILE
   19988       --header=FILE[:TEMPLATE]
   19989                    instantiate the configuration header FILE
   19990 
   19991 Configuration files:
   19992 $config_files
   19993 
   19994 Configuration headers:
   19995 $config_headers
   19996 
   19997 Configuration commands:
   19998 $config_commands
   19999 
   20000 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   20001 
   20002 _ACEOF
   20003 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20004 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   20005 ac_cs_version="\\
   20006 libXt config.status 1.1.5
   20007 configured by $0, generated by GNU Autoconf 2.69,
   20008   with options \\"\$ac_cs_config\\"
   20009 
   20010 Copyright (C) 2012 Free Software Foundation, Inc.
   20011 This config.status script is free software; the Free Software Foundation
   20012 gives unlimited permission to copy, distribute and modify it."
   20013 
   20014 ac_pwd='$ac_pwd'
   20015 srcdir='$srcdir'
   20016 INSTALL='$INSTALL'
   20017 MKDIR_P='$MKDIR_P'
   20018 AWK='$AWK'
   20019 test -n "\$AWK" || AWK=awk
   20020 _ACEOF
   20021 
   20022 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20023 # The default lists apply if the user does not specify any file.
   20024 ac_need_defaults=:
   20025 while test $# != 0
   20026 do
   20027   case $1 in
   20028   --*=?*)
   20029     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20030     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   20031     ac_shift=:
   20032     ;;
   20033   --*=)
   20034     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20035     ac_optarg=
   20036     ac_shift=:
   20037     ;;
   20038   *)
   20039     ac_option=$1
   20040     ac_optarg=$2
   20041     ac_shift=shift
   20042     ;;
   20043   esac
   20044 
   20045   case $ac_option in
   20046   # Handling of the options.
   20047   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   20048     ac_cs_recheck=: ;;
   20049   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   20050     $as_echo "$ac_cs_version"; exit ;;
   20051   --config | --confi | --conf | --con | --co | --c )
   20052     $as_echo "$ac_cs_config"; exit ;;
   20053   --debug | --debu | --deb | --de | --d | -d )
   20054     debug=: ;;
   20055   --file | --fil | --fi | --f )
   20056     $ac_shift
   20057     case $ac_optarg in
   20058     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20059     '') as_fn_error $? "missing file argument" ;;
   20060     esac
   20061     as_fn_append CONFIG_FILES " '$ac_optarg'"
   20062     ac_need_defaults=false;;
   20063   --header | --heade | --head | --hea )
   20064     $ac_shift
   20065     case $ac_optarg in
   20066     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20067     esac
   20068     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   20069     ac_need_defaults=false;;
   20070   --he | --h)
   20071     # Conflict between --help and --header
   20072     as_fn_error $? "ambiguous option: \`$1'
   20073 Try \`$0 --help' for more information.";;
   20074   --help | --hel | -h )
   20075     $as_echo "$ac_cs_usage"; exit ;;
   20076   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   20077   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   20078     ac_cs_silent=: ;;
   20079 
   20080   # This is an error.
   20081   -*) as_fn_error $? "unrecognized option: \`$1'
   20082 Try \`$0 --help' for more information." ;;
   20083 
   20084   *) as_fn_append ac_config_targets " $1"
   20085      ac_need_defaults=false ;;
   20086 
   20087   esac
   20088   shift
   20089 done
   20090 
   20091 ac_configure_extra_args=
   20092 
   20093 if $ac_cs_silent; then
   20094   exec 6>/dev/null
   20095   ac_configure_extra_args="$ac_configure_extra_args --silent"
   20096 fi
   20097 
   20098 _ACEOF
   20099 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20100 if \$ac_cs_recheck; then
   20101   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   20102   shift
   20103   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   20104   CONFIG_SHELL='$SHELL'
   20105   export CONFIG_SHELL
   20106   exec "\$@"
   20107 fi
   20108 
   20109 _ACEOF
   20110 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20111 exec 5>>config.log
   20112 {
   20113   echo
   20114   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   20115 ## Running $as_me. ##
   20116 _ASBOX
   20117   $as_echo "$ac_log"
   20118 } >&5
   20119 
   20120 _ACEOF
   20121 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20122 #
   20123 # INIT-COMMANDS
   20124 #
   20125 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   20126 
   20127 
   20128 # The HP-UX ksh and POSIX shell print the target directory to stdout
   20129 # if CDPATH is set.
   20130 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   20131 
   20132 sed_quote_subst='$sed_quote_subst'
   20133 double_quote_subst='$double_quote_subst'
   20134 delay_variable_subst='$delay_variable_subst'
   20135 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   20136 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   20137 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   20138 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   20139 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   20140 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   20141 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   20142 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   20143 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   20144 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   20145 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   20146 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   20147 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   20148 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   20149 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   20150 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   20151 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   20152 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   20153 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   20154 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   20155 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   20156 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   20157 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   20158 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   20159 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   20160 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   20161 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   20162 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   20163 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   20164 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   20165 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   20166 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   20167 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   20168 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   20169 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   20170 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   20171 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   20172 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   20173 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   20174 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   20175 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   20176 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   20177 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   20178 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   20179 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   20180 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20181 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20182 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   20183 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   20184 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   20185 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   20186 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   20187 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   20188 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   20189 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   20190 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   20191 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"`'
   20192 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   20193 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   20194 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   20195 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   20196 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   20197 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   20198 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   20199 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   20200 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   20201 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   20202 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   20203 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   20204 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   20205 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   20206 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   20207 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   20208 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   20209 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   20210 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20211 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   20212 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   20213 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   20214 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   20215 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   20216 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   20217 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20218 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   20219 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20220 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   20221 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20222 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   20223 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20224 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20225 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   20226 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   20227 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   20228 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   20229 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   20230 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20231 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   20232 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   20233 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   20234 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   20235 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   20236 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   20237 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   20238 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   20239 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   20240 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   20241 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   20242 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   20243 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   20244 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   20245 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   20246 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20247 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   20248 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   20249 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   20250 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   20251 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   20252 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20253 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20254 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   20255 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   20256 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   20257 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   20258 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   20259 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   20260 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   20261 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   20262 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   20263 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   20264 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   20265 
   20266 LTCC='$LTCC'
   20267 LTCFLAGS='$LTCFLAGS'
   20268 compiler='$compiler_DEFAULT'
   20269 
   20270 # A function that is used when there is no print builtin or printf.
   20271 func_fallback_echo ()
   20272 {
   20273   eval 'cat <<_LTECHO_EOF
   20274 \$1
   20275 _LTECHO_EOF'
   20276 }
   20277 
   20278 # Quote evaled strings.
   20279 for var in SHELL \
   20280 ECHO \
   20281 PATH_SEPARATOR \
   20282 SED \
   20283 GREP \
   20284 EGREP \
   20285 FGREP \
   20286 LD \
   20287 NM \
   20288 LN_S \
   20289 lt_SP2NL \
   20290 lt_NL2SP \
   20291 reload_flag \
   20292 OBJDUMP \
   20293 deplibs_check_method \
   20294 file_magic_cmd \
   20295 file_magic_glob \
   20296 want_nocaseglob \
   20297 DLLTOOL \
   20298 sharedlib_from_linklib_cmd \
   20299 AR \
   20300 AR_FLAGS \
   20301 archiver_list_spec \
   20302 STRIP \
   20303 RANLIB \
   20304 CC \
   20305 CFLAGS \
   20306 compiler \
   20307 lt_cv_sys_global_symbol_pipe \
   20308 lt_cv_sys_global_symbol_to_cdecl \
   20309 lt_cv_sys_global_symbol_to_c_name_address \
   20310 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   20311 nm_file_list_spec \
   20312 lt_prog_compiler_no_builtin_flag \
   20313 lt_prog_compiler_pic \
   20314 lt_prog_compiler_wl \
   20315 lt_prog_compiler_static \
   20316 lt_cv_prog_compiler_c_o \
   20317 need_locks \
   20318 MANIFEST_TOOL \
   20319 DSYMUTIL \
   20320 NMEDIT \
   20321 LIPO \
   20322 OTOOL \
   20323 OTOOL64 \
   20324 shrext_cmds \
   20325 export_dynamic_flag_spec \
   20326 whole_archive_flag_spec \
   20327 compiler_needs_object \
   20328 with_gnu_ld \
   20329 allow_undefined_flag \
   20330 no_undefined_flag \
   20331 hardcode_libdir_flag_spec \
   20332 hardcode_libdir_separator \
   20333 exclude_expsyms \
   20334 include_expsyms \
   20335 file_list_spec \
   20336 variables_saved_for_relink \
   20337 libname_spec \
   20338 library_names_spec \
   20339 soname_spec \
   20340 install_override_mode \
   20341 finish_eval \
   20342 old_striplib \
   20343 striplib; do
   20344     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20345     *[\\\\\\\`\\"\\\$]*)
   20346       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   20347       ;;
   20348     *)
   20349       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20350       ;;
   20351     esac
   20352 done
   20353 
   20354 # Double-quote double-evaled strings.
   20355 for var in reload_cmds \
   20356 old_postinstall_cmds \
   20357 old_postuninstall_cmds \
   20358 old_archive_cmds \
   20359 extract_expsyms_cmds \
   20360 old_archive_from_new_cmds \
   20361 old_archive_from_expsyms_cmds \
   20362 archive_cmds \
   20363 archive_expsym_cmds \
   20364 module_cmds \
   20365 module_expsym_cmds \
   20366 export_symbols_cmds \
   20367 prelink_cmds \
   20368 postlink_cmds \
   20369 postinstall_cmds \
   20370 postuninstall_cmds \
   20371 finish_cmds \
   20372 sys_lib_search_path_spec \
   20373 sys_lib_dlsearch_path_spec; do
   20374     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20375     *[\\\\\\\`\\"\\\$]*)
   20376       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   20377       ;;
   20378     *)
   20379       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20380       ;;
   20381     esac
   20382 done
   20383 
   20384 ac_aux_dir='$ac_aux_dir'
   20385 xsi_shell='$xsi_shell'
   20386 lt_shell_append='$lt_shell_append'
   20387 
   20388 # See if we are running on zsh, and set the options which allow our
   20389 # commands through without removal of \ escapes INIT.
   20390 if test -n "\${ZSH_VERSION+set}" ; then
   20391    setopt NO_GLOB_SUBST
   20392 fi
   20393 
   20394 
   20395     PACKAGE='$PACKAGE'
   20396     VERSION='$VERSION'
   20397     TIMESTAMP='$TIMESTAMP'
   20398     RM='$RM'
   20399     ofile='$ofile'
   20400 
   20401 
   20402 
   20403 
   20404 _ACEOF
   20405 
   20406 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20407 
   20408 # Handling of arguments.
   20409 for ac_config_target in $ac_config_targets
   20410 do
   20411   case $ac_config_target in
   20412     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   20413     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   20414     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   20415     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   20416     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   20417     "util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
   20418     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   20419     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   20420     "specs/Makefile") CONFIG_FILES="$CONFIG_FILES specs/Makefile" ;;
   20421     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
   20422     "xt.pc") CONFIG_FILES="$CONFIG_FILES xt.pc" ;;
   20423 
   20424   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   20425   esac
   20426 done
   20427 
   20428 
   20429 # If the user did not use the arguments to specify the items to instantiate,
   20430 # then the envvar interface is used.  Set only those that are not.
   20431 # We use the long form for the default assignment because of an extremely
   20432 # bizarre bug on SunOS 4.1.3.
   20433 if $ac_need_defaults; then
   20434   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   20435   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   20436   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   20437 fi
   20438 
   20439 # Have a temporary directory for convenience.  Make it in the build tree
   20440 # simply because there is no reason against having it here, and in addition,
   20441 # creating and moving files from /tmp can sometimes cause problems.
   20442 # Hook for its removal unless debugging.
   20443 # Note that there is a small window in which the directory will not be cleaned:
   20444 # after its creation but before its name has been assigned to `$tmp'.
   20445 $debug ||
   20446 {
   20447   tmp= ac_tmp=
   20448   trap 'exit_status=$?
   20449   : "${ac_tmp:=$tmp}"
   20450   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   20451 ' 0
   20452   trap 'as_fn_exit 1' 1 2 13 15
   20453 }
   20454 # Create a (secure) tmp directory for tmp files.
   20455 
   20456 {
   20457   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   20458   test -d "$tmp"
   20459 }  ||
   20460 {
   20461   tmp=./conf$$-$RANDOM
   20462   (umask 077 && mkdir "$tmp")
   20463 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   20464 ac_tmp=$tmp
   20465 
   20466 # Set up the scripts for CONFIG_FILES section.
   20467 # No need to generate them if there are no CONFIG_FILES.
   20468 # This happens for instance with `./config.status config.h'.
   20469 if test -n "$CONFIG_FILES"; then
   20470 
   20471 
   20472 ac_cr=`echo X | tr X '\015'`
   20473 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   20474 # But we know of no other shell where ac_cr would be empty at this
   20475 # point, so we can use a bashism as a fallback.
   20476 if test "x$ac_cr" = x; then
   20477   eval ac_cr=\$\'\\r\'
   20478 fi
   20479 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   20480 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   20481   ac_cs_awk_cr='\\r'
   20482 else
   20483   ac_cs_awk_cr=$ac_cr
   20484 fi
   20485 
   20486 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   20487 _ACEOF
   20488 
   20489 
   20490 {
   20491   echo "cat >conf$$subs.awk <<_ACEOF" &&
   20492   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   20493   echo "_ACEOF"
   20494 } >conf$$subs.sh ||
   20495   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20496 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   20497 ac_delim='%!_!# '
   20498 for ac_last_try in false false false false false :; do
   20499   . ./conf$$subs.sh ||
   20500     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20501 
   20502   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   20503   if test $ac_delim_n = $ac_delim_num; then
   20504     break
   20505   elif $ac_last_try; then
   20506     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20507   else
   20508     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20509   fi
   20510 done
   20511 rm -f conf$$subs.sh
   20512 
   20513 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20514 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   20515 _ACEOF
   20516 sed -n '
   20517 h
   20518 s/^/S["/; s/!.*/"]=/
   20519 p
   20520 g
   20521 s/^[^!]*!//
   20522 :repl
   20523 t repl
   20524 s/'"$ac_delim"'$//
   20525 t delim
   20526 :nl
   20527 h
   20528 s/\(.\{148\}\)..*/\1/
   20529 t more1
   20530 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   20531 p
   20532 n
   20533 b repl
   20534 :more1
   20535 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20536 p
   20537 g
   20538 s/.\{148\}//
   20539 t nl
   20540 :delim
   20541 h
   20542 s/\(.\{148\}\)..*/\1/
   20543 t more2
   20544 s/["\\]/\\&/g; s/^/"/; s/$/"/
   20545 p
   20546 b
   20547 :more2
   20548 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20549 p
   20550 g
   20551 s/.\{148\}//
   20552 t delim
   20553 ' <conf$$subs.awk | sed '
   20554 /^[^""]/{
   20555   N
   20556   s/\n//
   20557 }
   20558 ' >>$CONFIG_STATUS || ac_write_fail=1
   20559 rm -f conf$$subs.awk
   20560 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20561 _ACAWK
   20562 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   20563   for (key in S) S_is_set[key] = 1
   20564   FS = ""
   20565 
   20566 }
   20567 {
   20568   line = $ 0
   20569   nfields = split(line, field, "@")
   20570   substed = 0
   20571   len = length(field[1])
   20572   for (i = 2; i < nfields; i++) {
   20573     key = field[i]
   20574     keylen = length(key)
   20575     if (S_is_set[key]) {
   20576       value = S[key]
   20577       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   20578       len += length(value) + length(field[++i])
   20579       substed = 1
   20580     } else
   20581       len += 1 + keylen
   20582   }
   20583 
   20584   print line
   20585 }
   20586 
   20587 _ACAWK
   20588 _ACEOF
   20589 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20590 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   20591   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   20592 else
   20593   cat
   20594 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   20595   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   20596 _ACEOF
   20597 
   20598 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   20599 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   20600 # trailing colons and then remove the whole line if VPATH becomes empty
   20601 # (actually we leave an empty line to preserve line numbers).
   20602 if test "x$srcdir" = x.; then
   20603   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   20604 h
   20605 s///
   20606 s/^/:/
   20607 s/[	 ]*$/:/
   20608 s/:\$(srcdir):/:/g
   20609 s/:\${srcdir}:/:/g
   20610 s/:@srcdir@:/:/g
   20611 s/^:*//
   20612 s/:*$//
   20613 x
   20614 s/\(=[	 ]*\).*/\1/
   20615 G
   20616 s/\n//
   20617 s/^[^=]*=[	 ]*$//
   20618 }'
   20619 fi
   20620 
   20621 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20622 fi # test -n "$CONFIG_FILES"
   20623 
   20624 # Set up the scripts for CONFIG_HEADERS section.
   20625 # No need to generate them if there are no CONFIG_HEADERS.
   20626 # This happens for instance with `./config.status Makefile'.
   20627 if test -n "$CONFIG_HEADERS"; then
   20628 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   20629 BEGIN {
   20630 _ACEOF
   20631 
   20632 # Transform confdefs.h into an awk script `defines.awk', embedded as
   20633 # here-document in config.status, that substitutes the proper values into
   20634 # config.h.in to produce config.h.
   20635 
   20636 # Create a delimiter string that does not exist in confdefs.h, to ease
   20637 # handling of long lines.
   20638 ac_delim='%!_!# '
   20639 for ac_last_try in false false :; do
   20640   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   20641   if test -z "$ac_tt"; then
   20642     break
   20643   elif $ac_last_try; then
   20644     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   20645   else
   20646     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20647   fi
   20648 done
   20649 
   20650 # For the awk script, D is an array of macro values keyed by name,
   20651 # likewise P contains macro parameters if any.  Preserve backslash
   20652 # newline sequences.
   20653 
   20654 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   20655 sed -n '
   20656 s/.\{148\}/&'"$ac_delim"'/g
   20657 t rset
   20658 :rset
   20659 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   20660 t def
   20661 d
   20662 :def
   20663 s/\\$//
   20664 t bsnl
   20665 s/["\\]/\\&/g
   20666 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20667 D["\1"]=" \3"/p
   20668 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   20669 d
   20670 :bsnl
   20671 s/["\\]/\\&/g
   20672 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20673 D["\1"]=" \3\\\\\\n"\\/p
   20674 t cont
   20675 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   20676 t cont
   20677 d
   20678 :cont
   20679 n
   20680 s/.\{148\}/&'"$ac_delim"'/g
   20681 t clear
   20682 :clear
   20683 s/\\$//
   20684 t bsnlc
   20685 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   20686 d
   20687 :bsnlc
   20688 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   20689 b cont
   20690 ' <confdefs.h | sed '
   20691 s/'"$ac_delim"'/"\\\
   20692 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   20693 
   20694 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20695   for (key in D) D_is_set[key] = 1
   20696   FS = ""
   20697 }
   20698 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   20699   line = \$ 0
   20700   split(line, arg, " ")
   20701   if (arg[1] == "#") {
   20702     defundef = arg[2]
   20703     mac1 = arg[3]
   20704   } else {
   20705     defundef = substr(arg[1], 2)
   20706     mac1 = arg[2]
   20707   }
   20708   split(mac1, mac2, "(") #)
   20709   macro = mac2[1]
   20710   prefix = substr(line, 1, index(line, defundef) - 1)
   20711   if (D_is_set[macro]) {
   20712     # Preserve the white space surrounding the "#".
   20713     print prefix "define", macro P[macro] D[macro]
   20714     next
   20715   } else {
   20716     # Replace #undef with comments.  This is necessary, for example,
   20717     # in the case of _POSIX_SOURCE, which is predefined and required
   20718     # on some systems where configure will not decide to define it.
   20719     if (defundef == "undef") {
   20720       print "/*", prefix defundef, macro, "*/"
   20721       next
   20722     }
   20723   }
   20724 }
   20725 { print }
   20726 _ACAWK
   20727 _ACEOF
   20728 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20729   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   20730 fi # test -n "$CONFIG_HEADERS"
   20731 
   20732 
   20733 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   20734 shift
   20735 for ac_tag
   20736 do
   20737   case $ac_tag in
   20738   :[FHLC]) ac_mode=$ac_tag; continue;;
   20739   esac
   20740   case $ac_mode$ac_tag in
   20741   :[FHL]*:*);;
   20742   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   20743   :[FH]-) ac_tag=-:-;;
   20744   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   20745   esac
   20746   ac_save_IFS=$IFS
   20747   IFS=:
   20748   set x $ac_tag
   20749   IFS=$ac_save_IFS
   20750   shift
   20751   ac_file=$1
   20752   shift
   20753 
   20754   case $ac_mode in
   20755   :L) ac_source=$1;;
   20756   :[FH])
   20757     ac_file_inputs=
   20758     for ac_f
   20759     do
   20760       case $ac_f in
   20761       -) ac_f="$ac_tmp/stdin";;
   20762       *) # Look for the file first in the build tree, then in the source tree
   20763 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   20764 	 # because $ac_f cannot contain `:'.
   20765 	 test -f "$ac_f" ||
   20766 	   case $ac_f in
   20767 	   [\\/$]*) false;;
   20768 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   20769 	   esac ||
   20770 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   20771       esac
   20772       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   20773       as_fn_append ac_file_inputs " '$ac_f'"
   20774     done
   20775 
   20776     # Let's still pretend it is `configure' which instantiates (i.e., don't
   20777     # use $as_me), people would be surprised to read:
   20778     #    /* config.h.  Generated by config.status.  */
   20779     configure_input='Generated from '`
   20780 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   20781 	`' by configure.'
   20782     if test x"$ac_file" != x-; then
   20783       configure_input="$ac_file.  $configure_input"
   20784       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   20785 $as_echo "$as_me: creating $ac_file" >&6;}
   20786     fi
   20787     # Neutralize special characters interpreted by sed in replacement strings.
   20788     case $configure_input in #(
   20789     *\&* | *\|* | *\\* )
   20790        ac_sed_conf_input=`$as_echo "$configure_input" |
   20791        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   20792     *) ac_sed_conf_input=$configure_input;;
   20793     esac
   20794 
   20795     case $ac_tag in
   20796     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   20797       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   20798     esac
   20799     ;;
   20800   esac
   20801 
   20802   ac_dir=`$as_dirname -- "$ac_file" ||
   20803 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20804 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   20805 	 X"$ac_file" : 'X\(//\)$' \| \
   20806 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   20807 $as_echo X"$ac_file" |
   20808     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20809 	    s//\1/
   20810 	    q
   20811 	  }
   20812 	  /^X\(\/\/\)[^/].*/{
   20813 	    s//\1/
   20814 	    q
   20815 	  }
   20816 	  /^X\(\/\/\)$/{
   20817 	    s//\1/
   20818 	    q
   20819 	  }
   20820 	  /^X\(\/\).*/{
   20821 	    s//\1/
   20822 	    q
   20823 	  }
   20824 	  s/.*/./; q'`
   20825   as_dir="$ac_dir"; as_fn_mkdir_p
   20826   ac_builddir=.
   20827 
   20828 case "$ac_dir" in
   20829 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20830 *)
   20831   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   20832   # A ".." for each directory in $ac_dir_suffix.
   20833   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   20834   case $ac_top_builddir_sub in
   20835   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20836   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   20837   esac ;;
   20838 esac
   20839 ac_abs_top_builddir=$ac_pwd
   20840 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   20841 # for backward compatibility:
   20842 ac_top_builddir=$ac_top_build_prefix
   20843 
   20844 case $srcdir in
   20845   .)  # We are building in place.
   20846     ac_srcdir=.
   20847     ac_top_srcdir=$ac_top_builddir_sub
   20848     ac_abs_top_srcdir=$ac_pwd ;;
   20849   [\\/]* | ?:[\\/]* )  # Absolute name.
   20850     ac_srcdir=$srcdir$ac_dir_suffix;
   20851     ac_top_srcdir=$srcdir
   20852     ac_abs_top_srcdir=$srcdir ;;
   20853   *) # Relative name.
   20854     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   20855     ac_top_srcdir=$ac_top_build_prefix$srcdir
   20856     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   20857 esac
   20858 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   20859 
   20860 
   20861   case $ac_mode in
   20862   :F)
   20863   #
   20864   # CONFIG_FILE
   20865   #
   20866 
   20867   case $INSTALL in
   20868   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   20869   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   20870   esac
   20871   ac_MKDIR_P=$MKDIR_P
   20872   case $MKDIR_P in
   20873   [\\/$]* | ?:[\\/]* ) ;;
   20874   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   20875   esac
   20876 _ACEOF
   20877 
   20878 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20879 # If the template does not know about datarootdir, expand it.
   20880 # FIXME: This hack should be removed a few years after 2.60.
   20881 ac_datarootdir_hack=; ac_datarootdir_seen=
   20882 ac_sed_dataroot='
   20883 /datarootdir/ {
   20884   p
   20885   q
   20886 }
   20887 /@datadir@/p
   20888 /@docdir@/p
   20889 /@infodir@/p
   20890 /@localedir@/p
   20891 /@mandir@/p'
   20892 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   20893 *datarootdir*) ac_datarootdir_seen=yes;;
   20894 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   20895   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   20896 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   20897 _ACEOF
   20898 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20899   ac_datarootdir_hack='
   20900   s&@datadir@&$datadir&g
   20901   s&@docdir@&$docdir&g
   20902   s&@infodir@&$infodir&g
   20903   s&@localedir@&$localedir&g
   20904   s&@mandir@&$mandir&g
   20905   s&\\\${datarootdir}&$datarootdir&g' ;;
   20906 esac
   20907 _ACEOF
   20908 
   20909 # Neutralize VPATH when `$srcdir' = `.'.
   20910 # Shell code in configure.ac might set extrasub.
   20911 # FIXME: do we really want to maintain this feature?
   20912 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20913 ac_sed_extra="$ac_vpsub
   20914 $extrasub
   20915 _ACEOF
   20916 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20917 :t
   20918 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   20919 s|@configure_input@|$ac_sed_conf_input|;t t
   20920 s&@top_builddir@&$ac_top_builddir_sub&;t t
   20921 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   20922 s&@srcdir@&$ac_srcdir&;t t
   20923 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   20924 s&@top_srcdir@&$ac_top_srcdir&;t t
   20925 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   20926 s&@builddir@&$ac_builddir&;t t
   20927 s&@abs_builddir@&$ac_abs_builddir&;t t
   20928 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   20929 s&@INSTALL@&$ac_INSTALL&;t t
   20930 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   20931 $ac_datarootdir_hack
   20932 "
   20933 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   20934   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20935 
   20936 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   20937   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   20938   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   20939       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   20940   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20941 which seems to be undefined.  Please make sure it is defined" >&5
   20942 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20943 which seems to be undefined.  Please make sure it is defined" >&2;}
   20944 
   20945   rm -f "$ac_tmp/stdin"
   20946   case $ac_file in
   20947   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   20948   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   20949   esac \
   20950   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20951  ;;
   20952   :H)
   20953   #
   20954   # CONFIG_HEADER
   20955   #
   20956   if test x"$ac_file" != x-; then
   20957     {
   20958       $as_echo "/* $configure_input  */" \
   20959       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   20960     } >"$ac_tmp/config.h" \
   20961       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20962     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   20963       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   20964 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   20965     else
   20966       rm -f "$ac_file"
   20967       mv "$ac_tmp/config.h" "$ac_file" \
   20968 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20969     fi
   20970   else
   20971     $as_echo "/* $configure_input  */" \
   20972       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   20973       || as_fn_error $? "could not create -" "$LINENO" 5
   20974   fi
   20975 # Compute "$ac_file"'s index in $config_headers.
   20976 _am_arg="$ac_file"
   20977 _am_stamp_count=1
   20978 for _am_header in $config_headers :; do
   20979   case $_am_header in
   20980     $_am_arg | $_am_arg:* )
   20981       break ;;
   20982     * )
   20983       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   20984   esac
   20985 done
   20986 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   20987 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20988 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   20989 	 X"$_am_arg" : 'X\(//\)$' \| \
   20990 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   20991 $as_echo X"$_am_arg" |
   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'`/stamp-h$_am_stamp_count
   21009  ;;
   21010 
   21011   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   21012 $as_echo "$as_me: executing $ac_file commands" >&6;}
   21013  ;;
   21014   esac
   21015 
   21016 
   21017   case $ac_file$ac_mode in
   21018     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   21019   # Older Autoconf quotes --file arguments for eval, but not when files
   21020   # are listed without --file.  Let's play safe and only enable the eval
   21021   # if we detect the quoting.
   21022   case $CONFIG_FILES in
   21023   *\'*) eval set x "$CONFIG_FILES" ;;
   21024   *)   set x $CONFIG_FILES ;;
   21025   esac
   21026   shift
   21027   for mf
   21028   do
   21029     # Strip MF so we end up with the name of the file.
   21030     mf=`echo "$mf" | sed -e 's/:.*$//'`
   21031     # Check whether this is an Automake generated Makefile or not.
   21032     # We used to match only the files named 'Makefile.in', but
   21033     # some people rename them; so instead we look at the file content.
   21034     # Grep'ing the first line is not enough: some people post-process
   21035     # each Makefile.in and add a new line on top of each file to say so.
   21036     # Grep'ing the whole file is not good either: AIX grep has a line
   21037     # limit of 2048, but all sed's we know have understand at least 4000.
   21038     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   21039       dirpart=`$as_dirname -- "$mf" ||
   21040 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21041 	 X"$mf" : 'X\(//\)[^/]' \| \
   21042 	 X"$mf" : 'X\(//\)$' \| \
   21043 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   21044 $as_echo X"$mf" |
   21045     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21046 	    s//\1/
   21047 	    q
   21048 	  }
   21049 	  /^X\(\/\/\)[^/].*/{
   21050 	    s//\1/
   21051 	    q
   21052 	  }
   21053 	  /^X\(\/\/\)$/{
   21054 	    s//\1/
   21055 	    q
   21056 	  }
   21057 	  /^X\(\/\).*/{
   21058 	    s//\1/
   21059 	    q
   21060 	  }
   21061 	  s/.*/./; q'`
   21062     else
   21063       continue
   21064     fi
   21065     # Extract the definition of DEPDIR, am__include, and am__quote
   21066     # from the Makefile without running 'make'.
   21067     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   21068     test -z "$DEPDIR" && continue
   21069     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   21070     test -z "$am__include" && continue
   21071     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   21072     # Find all dependency output files, they are included files with
   21073     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   21074     # simplest approach to changing $(DEPDIR) to its actual value in the
   21075     # expansion.
   21076     for file in `sed -n "
   21077       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   21078 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   21079       # Make sure the directory exists.
   21080       test -f "$dirpart/$file" && continue
   21081       fdir=`$as_dirname -- "$file" ||
   21082 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21083 	 X"$file" : 'X\(//\)[^/]' \| \
   21084 	 X"$file" : 'X\(//\)$' \| \
   21085 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   21086 $as_echo X"$file" |
   21087     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21088 	    s//\1/
   21089 	    q
   21090 	  }
   21091 	  /^X\(\/\/\)[^/].*/{
   21092 	    s//\1/
   21093 	    q
   21094 	  }
   21095 	  /^X\(\/\/\)$/{
   21096 	    s//\1/
   21097 	    q
   21098 	  }
   21099 	  /^X\(\/\).*/{
   21100 	    s//\1/
   21101 	    q
   21102 	  }
   21103 	  s/.*/./; q'`
   21104       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   21105       # echo "creating $dirpart/$file"
   21106       echo '# dummy' > "$dirpart/$file"
   21107     done
   21108   done
   21109 }
   21110  ;;
   21111     "libtool":C)
   21112 
   21113     # See if we are running on zsh, and set the options which allow our
   21114     # commands through without removal of \ escapes.
   21115     if test -n "${ZSH_VERSION+set}" ; then
   21116       setopt NO_GLOB_SUBST
   21117     fi
   21118 
   21119     cfgfile="${ofile}T"
   21120     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   21121     $RM "$cfgfile"
   21122 
   21123     cat <<_LT_EOF >> "$cfgfile"
   21124 #! $SHELL
   21125 
   21126 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   21127 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   21128 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   21129 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   21130 #
   21131 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   21132 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   21133 #                 Foundation, Inc.
   21134 #   Written by Gordon Matzigkeit, 1996
   21135 #
   21136 #   This file is part of GNU Libtool.
   21137 #
   21138 # GNU Libtool is free software; you can redistribute it and/or
   21139 # modify it under the terms of the GNU General Public License as
   21140 # published by the Free Software Foundation; either version 2 of
   21141 # the License, or (at your option) any later version.
   21142 #
   21143 # As a special exception to the GNU General Public License,
   21144 # if you distribute this file as part of a program or library that
   21145 # is built using GNU Libtool, you may include this file under the
   21146 # same distribution terms that you use for the rest of that program.
   21147 #
   21148 # GNU Libtool is distributed in the hope that it will be useful,
   21149 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   21150 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   21151 # GNU General Public License for more details.
   21152 #
   21153 # You should have received a copy of the GNU General Public License
   21154 # along with GNU Libtool; see the file COPYING.  If not, a copy
   21155 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   21156 # obtained by writing to the Free Software Foundation, Inc.,
   21157 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   21158 
   21159 
   21160 # The names of the tagged configurations supported by this script.
   21161 available_tags=""
   21162 
   21163 # ### BEGIN LIBTOOL CONFIG
   21164 
   21165 # Which release of libtool.m4 was used?
   21166 macro_version=$macro_version
   21167 macro_revision=$macro_revision
   21168 
   21169 # Whether or not to build shared libraries.
   21170 build_libtool_libs=$enable_shared
   21171 
   21172 # Whether or not to build static libraries.
   21173 build_old_libs=$enable_static
   21174 
   21175 # What type of objects to build.
   21176 pic_mode=$pic_mode
   21177 
   21178 # Whether or not to optimize for fast installation.
   21179 fast_install=$enable_fast_install
   21180 
   21181 # Shell to use when invoking shell scripts.
   21182 SHELL=$lt_SHELL
   21183 
   21184 # An echo program that protects backslashes.
   21185 ECHO=$lt_ECHO
   21186 
   21187 # The PATH separator for the build system.
   21188 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   21189 
   21190 # The host system.
   21191 host_alias=$host_alias
   21192 host=$host
   21193 host_os=$host_os
   21194 
   21195 # The build system.
   21196 build_alias=$build_alias
   21197 build=$build
   21198 build_os=$build_os
   21199 
   21200 # A sed program that does not truncate output.
   21201 SED=$lt_SED
   21202 
   21203 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   21204 Xsed="\$SED -e 1s/^X//"
   21205 
   21206 # A grep program that handles long lines.
   21207 GREP=$lt_GREP
   21208 
   21209 # An ERE matcher.
   21210 EGREP=$lt_EGREP
   21211 
   21212 # A literal string matcher.
   21213 FGREP=$lt_FGREP
   21214 
   21215 # A BSD- or MS-compatible name lister.
   21216 NM=$lt_NM
   21217 
   21218 # Whether we need soft or hard links.
   21219 LN_S=$lt_LN_S
   21220 
   21221 # What is the maximum length of a command?
   21222 max_cmd_len=$max_cmd_len
   21223 
   21224 # Object file suffix (normally "o").
   21225 objext=$ac_objext
   21226 
   21227 # Executable file suffix (normally "").
   21228 exeext=$exeext
   21229 
   21230 # whether the shell understands "unset".
   21231 lt_unset=$lt_unset
   21232 
   21233 # turn spaces into newlines.
   21234 SP2NL=$lt_lt_SP2NL
   21235 
   21236 # turn newlines into spaces.
   21237 NL2SP=$lt_lt_NL2SP
   21238 
   21239 # convert \$build file names to \$host format.
   21240 to_host_file_cmd=$lt_cv_to_host_file_cmd
   21241 
   21242 # convert \$build files to toolchain format.
   21243 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   21244 
   21245 # An object symbol dumper.
   21246 OBJDUMP=$lt_OBJDUMP
   21247 
   21248 # Method to check whether dependent libraries are shared objects.
   21249 deplibs_check_method=$lt_deplibs_check_method
   21250 
   21251 # Command to use when deplibs_check_method = "file_magic".
   21252 file_magic_cmd=$lt_file_magic_cmd
   21253 
   21254 # How to find potential files when deplibs_check_method = "file_magic".
   21255 file_magic_glob=$lt_file_magic_glob
   21256 
   21257 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   21258 want_nocaseglob=$lt_want_nocaseglob
   21259 
   21260 # DLL creation program.
   21261 DLLTOOL=$lt_DLLTOOL
   21262 
   21263 # Command to associate shared and link libraries.
   21264 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   21265 
   21266 # The archiver.
   21267 AR=$lt_AR
   21268 
   21269 # Flags to create an archive.
   21270 AR_FLAGS=$lt_AR_FLAGS
   21271 
   21272 # How to feed a file listing to the archiver.
   21273 archiver_list_spec=$lt_archiver_list_spec
   21274 
   21275 # A symbol stripping program.
   21276 STRIP=$lt_STRIP
   21277 
   21278 # Commands used to install an old-style archive.
   21279 RANLIB=$lt_RANLIB
   21280 old_postinstall_cmds=$lt_old_postinstall_cmds
   21281 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   21282 
   21283 # Whether to use a lock for old archive extraction.
   21284 lock_old_archive_extraction=$lock_old_archive_extraction
   21285 
   21286 # A C compiler.
   21287 LTCC=$lt_CC
   21288 
   21289 # LTCC compiler flags.
   21290 LTCFLAGS=$lt_CFLAGS
   21291 
   21292 # Take the output of nm and produce a listing of raw symbols and C names.
   21293 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   21294 
   21295 # Transform the output of nm in a proper C declaration.
   21296 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   21297 
   21298 # Transform the output of nm in a C name address pair.
   21299 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   21300 
   21301 # Transform the output of nm in a C name address pair when lib prefix is needed.
   21302 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   21303 
   21304 # Specify filename containing input files for \$NM.
   21305 nm_file_list_spec=$lt_nm_file_list_spec
   21306 
   21307 # The root where to search for dependent libraries,and in which our libraries should be installed.
   21308 lt_sysroot=$lt_sysroot
   21309 
   21310 # The name of the directory that contains temporary libtool files.
   21311 objdir=$objdir
   21312 
   21313 # Used to examine libraries when file_magic_cmd begins with "file".
   21314 MAGIC_CMD=$MAGIC_CMD
   21315 
   21316 # Must we lock files when doing compilation?
   21317 need_locks=$lt_need_locks
   21318 
   21319 # Manifest tool.
   21320 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   21321 
   21322 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   21323 DSYMUTIL=$lt_DSYMUTIL
   21324 
   21325 # Tool to change global to local symbols on Mac OS X.
   21326 NMEDIT=$lt_NMEDIT
   21327 
   21328 # Tool to manipulate fat objects and archives on Mac OS X.
   21329 LIPO=$lt_LIPO
   21330 
   21331 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   21332 OTOOL=$lt_OTOOL
   21333 
   21334 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   21335 OTOOL64=$lt_OTOOL64
   21336 
   21337 # Old archive suffix (normally "a").
   21338 libext=$libext
   21339 
   21340 # Shared library suffix (normally ".so").
   21341 shrext_cmds=$lt_shrext_cmds
   21342 
   21343 # The commands to extract the exported symbol list from a shared archive.
   21344 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   21345 
   21346 # Variables whose values should be saved in libtool wrapper scripts and
   21347 # restored at link time.
   21348 variables_saved_for_relink=$lt_variables_saved_for_relink
   21349 
   21350 # Do we need the "lib" prefix for modules?
   21351 need_lib_prefix=$need_lib_prefix
   21352 
   21353 # Do we need a version for libraries?
   21354 need_version=$need_version
   21355 
   21356 # Library versioning type.
   21357 version_type=$version_type
   21358 
   21359 # Shared library runtime path variable.
   21360 runpath_var=$runpath_var
   21361 
   21362 # Shared library path variable.
   21363 shlibpath_var=$shlibpath_var
   21364 
   21365 # Is shlibpath searched before the hard-coded library search path?
   21366 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   21367 
   21368 # Format of library name prefix.
   21369 libname_spec=$lt_libname_spec
   21370 
   21371 # List of archive names.  First name is the real one, the rest are links.
   21372 # The last name is the one that the linker finds with -lNAME
   21373 library_names_spec=$lt_library_names_spec
   21374 
   21375 # The coded name of the library, if different from the real name.
   21376 soname_spec=$lt_soname_spec
   21377 
   21378 # Permission mode override for installation of shared libraries.
   21379 install_override_mode=$lt_install_override_mode
   21380 
   21381 # Command to use after installation of a shared archive.
   21382 postinstall_cmds=$lt_postinstall_cmds
   21383 
   21384 # Command to use after uninstallation of a shared archive.
   21385 postuninstall_cmds=$lt_postuninstall_cmds
   21386 
   21387 # Commands used to finish a libtool library installation in a directory.
   21388 finish_cmds=$lt_finish_cmds
   21389 
   21390 # As "finish_cmds", except a single script fragment to be evaled but
   21391 # not shown.
   21392 finish_eval=$lt_finish_eval
   21393 
   21394 # Whether we should hardcode library paths into libraries.
   21395 hardcode_into_libs=$hardcode_into_libs
   21396 
   21397 # Compile-time system search path for libraries.
   21398 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   21399 
   21400 # Run-time system search path for libraries.
   21401 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   21402 
   21403 # Whether dlopen is supported.
   21404 dlopen_support=$enable_dlopen
   21405 
   21406 # Whether dlopen of programs is supported.
   21407 dlopen_self=$enable_dlopen_self
   21408 
   21409 # Whether dlopen of statically linked programs is supported.
   21410 dlopen_self_static=$enable_dlopen_self_static
   21411 
   21412 # Commands to strip libraries.
   21413 old_striplib=$lt_old_striplib
   21414 striplib=$lt_striplib
   21415 
   21416 
   21417 # The linker used to build libraries.
   21418 LD=$lt_LD
   21419 
   21420 # How to create reloadable object files.
   21421 reload_flag=$lt_reload_flag
   21422 reload_cmds=$lt_reload_cmds
   21423 
   21424 # Commands used to build an old-style archive.
   21425 old_archive_cmds=$lt_old_archive_cmds
   21426 
   21427 # A language specific compiler.
   21428 CC=$lt_compiler
   21429 
   21430 # Is the compiler the GNU compiler?
   21431 with_gcc=$GCC
   21432 
   21433 # Compiler flag to turn off builtin functions.
   21434 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   21435 
   21436 # Additional compiler flags for building library objects.
   21437 pic_flag=$lt_lt_prog_compiler_pic
   21438 
   21439 # How to pass a linker flag through the compiler.
   21440 wl=$lt_lt_prog_compiler_wl
   21441 
   21442 # Compiler flag to prevent dynamic linking.
   21443 link_static_flag=$lt_lt_prog_compiler_static
   21444 
   21445 # Does compiler simultaneously support -c and -o options?
   21446 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   21447 
   21448 # Whether or not to add -lc for building shared libraries.
   21449 build_libtool_need_lc=$archive_cmds_need_lc
   21450 
   21451 # Whether or not to disallow shared libs when runtime libs are static.
   21452 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   21453 
   21454 # Compiler flag to allow reflexive dlopens.
   21455 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   21456 
   21457 # Compiler flag to generate shared objects directly from archives.
   21458 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   21459 
   21460 # Whether the compiler copes with passing no objects directly.
   21461 compiler_needs_object=$lt_compiler_needs_object
   21462 
   21463 # Create an old-style archive from a shared archive.
   21464 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   21465 
   21466 # Create a temporary old-style archive to link instead of a shared archive.
   21467 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   21468 
   21469 # Commands used to build a shared archive.
   21470 archive_cmds=$lt_archive_cmds
   21471 archive_expsym_cmds=$lt_archive_expsym_cmds
   21472 
   21473 # Commands used to build a loadable module if different from building
   21474 # a shared archive.
   21475 module_cmds=$lt_module_cmds
   21476 module_expsym_cmds=$lt_module_expsym_cmds
   21477 
   21478 # Whether we are building with GNU ld or not.
   21479 with_gnu_ld=$lt_with_gnu_ld
   21480 
   21481 # Flag that allows shared libraries with undefined symbols to be built.
   21482 allow_undefined_flag=$lt_allow_undefined_flag
   21483 
   21484 # Flag that enforces no undefined symbols.
   21485 no_undefined_flag=$lt_no_undefined_flag
   21486 
   21487 # Flag to hardcode \$libdir into a binary during linking.
   21488 # This must work even if \$libdir does not exist
   21489 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   21490 
   21491 # Whether we need a single "-rpath" flag with a separated argument.
   21492 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   21493 
   21494 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   21495 # DIR into the resulting binary.
   21496 hardcode_direct=$hardcode_direct
   21497 
   21498 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   21499 # DIR into the resulting binary and the resulting library dependency is
   21500 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   21501 # library is relocated.
   21502 hardcode_direct_absolute=$hardcode_direct_absolute
   21503 
   21504 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   21505 # into the resulting binary.
   21506 hardcode_minus_L=$hardcode_minus_L
   21507 
   21508 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   21509 # into the resulting binary.
   21510 hardcode_shlibpath_var=$hardcode_shlibpath_var
   21511 
   21512 # Set to "yes" if building a shared library automatically hardcodes DIR
   21513 # into the library and all subsequent libraries and executables linked
   21514 # against it.
   21515 hardcode_automatic=$hardcode_automatic
   21516 
   21517 # Set to yes if linker adds runtime paths of dependent libraries
   21518 # to runtime path list.
   21519 inherit_rpath=$inherit_rpath
   21520 
   21521 # Whether libtool must link a program against all its dependency libraries.
   21522 link_all_deplibs=$link_all_deplibs
   21523 
   21524 # Set to "yes" if exported symbols are required.
   21525 always_export_symbols=$always_export_symbols
   21526 
   21527 # The commands to list exported symbols.
   21528 export_symbols_cmds=$lt_export_symbols_cmds
   21529 
   21530 # Symbols that should not be listed in the preloaded symbols.
   21531 exclude_expsyms=$lt_exclude_expsyms
   21532 
   21533 # Symbols that must always be exported.
   21534 include_expsyms=$lt_include_expsyms
   21535 
   21536 # Commands necessary for linking programs (against libraries) with templates.
   21537 prelink_cmds=$lt_prelink_cmds
   21538 
   21539 # Commands necessary for finishing linking programs.
   21540 postlink_cmds=$lt_postlink_cmds
   21541 
   21542 # Specify filename containing input files.
   21543 file_list_spec=$lt_file_list_spec
   21544 
   21545 # How to hardcode a shared library path into an executable.
   21546 hardcode_action=$hardcode_action
   21547 
   21548 # ### END LIBTOOL CONFIG
   21549 
   21550 _LT_EOF
   21551 
   21552   case $host_os in
   21553   aix3*)
   21554     cat <<\_LT_EOF >> "$cfgfile"
   21555 # AIX sometimes has problems with the GCC collect2 program.  For some
   21556 # reason, if we set the COLLECT_NAMES environment variable, the problems
   21557 # vanish in a puff of smoke.
   21558 if test "X${COLLECT_NAMES+set}" != Xset; then
   21559   COLLECT_NAMES=
   21560   export COLLECT_NAMES
   21561 fi
   21562 _LT_EOF
   21563     ;;
   21564   esac
   21565 
   21566 
   21567 ltmain="$ac_aux_dir/ltmain.sh"
   21568 
   21569 
   21570   # We use sed instead of cat because bash on DJGPP gets confused if
   21571   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   21572   # text mode, it properly converts lines to CR/LF.  This bash problem
   21573   # is reportedly fixed, but why not run on old versions too?
   21574   sed '$q' "$ltmain" >> "$cfgfile" \
   21575      || (rm -f "$cfgfile"; exit 1)
   21576 
   21577   if test x"$xsi_shell" = xyes; then
   21578   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   21579 func_dirname ()\
   21580 {\
   21581 \    case ${1} in\
   21582 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   21583 \      *  ) func_dirname_result="${3}" ;;\
   21584 \    esac\
   21585 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   21586   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21587     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21588 test 0 -eq $? || _lt_function_replace_fail=:
   21589 
   21590 
   21591   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   21592 func_basename ()\
   21593 {\
   21594 \    func_basename_result="${1##*/}"\
   21595 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   21596   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21597     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21598 test 0 -eq $? || _lt_function_replace_fail=:
   21599 
   21600 
   21601   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   21602 func_dirname_and_basename ()\
   21603 {\
   21604 \    case ${1} in\
   21605 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   21606 \      *  ) func_dirname_result="${3}" ;;\
   21607 \    esac\
   21608 \    func_basename_result="${1##*/}"\
   21609 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   21610   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21611     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21612 test 0 -eq $? || _lt_function_replace_fail=:
   21613 
   21614 
   21615   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   21616 func_stripname ()\
   21617 {\
   21618 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   21619 \    # positional parameters, so assign one to ordinary parameter first.\
   21620 \    func_stripname_result=${3}\
   21621 \    func_stripname_result=${func_stripname_result#"${1}"}\
   21622 \    func_stripname_result=${func_stripname_result%"${2}"}\
   21623 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   21624   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21625     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21626 test 0 -eq $? || _lt_function_replace_fail=:
   21627 
   21628 
   21629   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   21630 func_split_long_opt ()\
   21631 {\
   21632 \    func_split_long_opt_name=${1%%=*}\
   21633 \    func_split_long_opt_arg=${1#*=}\
   21634 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   21635   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21636     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21637 test 0 -eq $? || _lt_function_replace_fail=:
   21638 
   21639 
   21640   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   21641 func_split_short_opt ()\
   21642 {\
   21643 \    func_split_short_opt_arg=${1#??}\
   21644 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   21645 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   21646   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21647     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21648 test 0 -eq $? || _lt_function_replace_fail=:
   21649 
   21650 
   21651   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   21652 func_lo2o ()\
   21653 {\
   21654 \    case ${1} in\
   21655 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   21656 \      *)    func_lo2o_result=${1} ;;\
   21657 \    esac\
   21658 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   21659   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21660     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21661 test 0 -eq $? || _lt_function_replace_fail=:
   21662 
   21663 
   21664   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   21665 func_xform ()\
   21666 {\
   21667     func_xform_result=${1%.*}.lo\
   21668 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   21669   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21670     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21671 test 0 -eq $? || _lt_function_replace_fail=:
   21672 
   21673 
   21674   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   21675 func_arith ()\
   21676 {\
   21677     func_arith_result=$(( $* ))\
   21678 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   21679   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21680     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21681 test 0 -eq $? || _lt_function_replace_fail=:
   21682 
   21683 
   21684   sed -e '/^func_len ()$/,/^} # func_len /c\
   21685 func_len ()\
   21686 {\
   21687     func_len_result=${#1}\
   21688 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   21689   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21690     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21691 test 0 -eq $? || _lt_function_replace_fail=:
   21692 
   21693 fi
   21694 
   21695 if test x"$lt_shell_append" = xyes; then
   21696   sed -e '/^func_append ()$/,/^} # func_append /c\
   21697 func_append ()\
   21698 {\
   21699     eval "${1}+=\\${2}"\
   21700 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   21701   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21702     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21703 test 0 -eq $? || _lt_function_replace_fail=:
   21704 
   21705 
   21706   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   21707 func_append_quoted ()\
   21708 {\
   21709 \    func_quote_for_eval "${2}"\
   21710 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   21711 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   21712   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21713     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21714 test 0 -eq $? || _lt_function_replace_fail=:
   21715 
   21716 
   21717   # Save a `func_append' function call where possible by direct use of '+='
   21718   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   21719     && mv -f "$cfgfile.tmp" "$cfgfile" \
   21720       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21721   test 0 -eq $? || _lt_function_replace_fail=:
   21722 else
   21723   # Save a `func_append' function call even when '+=' is not available
   21724   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   21725     && mv -f "$cfgfile.tmp" "$cfgfile" \
   21726       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21727   test 0 -eq $? || _lt_function_replace_fail=:
   21728 fi
   21729 
   21730 if test x"$_lt_function_replace_fail" = x":"; then
   21731   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   21732 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   21733 fi
   21734 
   21735 
   21736    mv -f "$cfgfile" "$ofile" ||
   21737     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   21738   chmod +x "$ofile"
   21739 
   21740  ;;
   21741 
   21742   esac
   21743 done # for ac_tag
   21744 
   21745 
   21746 as_fn_exit 0
   21747 _ACEOF
   21748 ac_clean_files=$ac_clean_files_save
   21749 
   21750 test $ac_write_fail = 0 ||
   21751   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   21752 
   21753 
   21754 # configure is writing to config.log, and then calls config.status.
   21755 # config.status does its own redirection, appending to config.log.
   21756 # Unfortunately, on DOS this fails, as config.log is still kept open
   21757 # by configure, so config.status won't be able to write to it; its
   21758 # output is simply discarded.  So we exec the FD to /dev/null,
   21759 # effectively closing config.log, so it can be properly (re)opened and
   21760 # appended to by config.status.  When coming back to configure, we
   21761 # need to make the FD available again.
   21762 if test "$no_create" != yes; then
   21763   ac_cs_success=:
   21764   ac_config_status_args=
   21765   test "$silent" = yes &&
   21766     ac_config_status_args="$ac_config_status_args --quiet"
   21767   exec 5>/dev/null
   21768   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   21769   exec 5>>config.log
   21770   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   21771   # would make configure fail if this is the last instruction.
   21772   $ac_cs_success || as_fn_exit 1
   21773 fi
   21774 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   21775   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   21776 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   21777 fi
   21778 
   21779