Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.9
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for libXt 1.2.0.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libXt/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 
    202   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    203     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    206     PATH=/empty FPATH=/empty; export PATH FPATH
    207     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    208       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    209 test \$(( 1 + 1 )) = 2 || exit 1"
    210   if (eval "$as_required") 2>/dev/null; then :
    211   as_have_required=yes
    212 else
    213   as_have_required=no
    214 fi
    215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    216 
    217 else
    218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    219 as_found=false
    220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    221 do
    222   IFS=$as_save_IFS
    223   test -z "$as_dir" && as_dir=.
    224   as_found=:
    225   case $as_dir in #(
    226 	 /*)
    227 	   for as_base in sh bash ksh sh5; do
    228 	     # Try only shells that exist, to save several forks.
    229 	     as_shell=$as_dir/$as_base
    230 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    231 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   CONFIG_SHELL=$as_shell as_have_required=yes
    233 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    234   break 2
    235 fi
    236 fi
    237 	   done;;
    238        esac
    239   as_found=false
    240 done
    241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    243   CONFIG_SHELL=$SHELL as_have_required=yes
    244 fi; }
    245 IFS=$as_save_IFS
    246 
    247 
    248       if test "x$CONFIG_SHELL" != x; then :
    249   export CONFIG_SHELL
    250              # We cannot yet assume a decent shell, so we have to provide a
    251 # neutralization value for shells without unset; and this also
    252 # works around shells that cannot unset nonexistent variables.
    253 # Preserve -v and -x to the replacement shell.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in # ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264 # Admittedly, this is quite paranoid, since all the known shells bail
    265 # out after a failed `exec'.
    266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno; then :
    271   $as_echo "$0: This script requires a shell more modern than all"
    272   $as_echo "$0: the shells that I found on your system."
    273   if test x${ZSH_VERSION+set} = xset ; then
    274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    276   else
    277     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    278 $0: https://gitlab.freedesktop.org/xorg/lib/libXt/issues
    279 $0: about your system, including any error possibly output
    280 $0: before this message. Then install a modern shell, or
    281 $0: manually run the script under such a shell if you do
    282 $0: have one."
    283   fi
    284   exit 1
    285 fi
    286 fi
    287 fi
    288 SHELL=${CONFIG_SHELL-/bin/sh}
    289 export SHELL
    290 # Unset more variables known to interfere with behavior of common tools.
    291 CLICOLOR_FORCE= GREP_OPTIONS=
    292 unset CLICOLOR_FORCE GREP_OPTIONS
    293 
    294 ## --------------------- ##
    295 ## M4sh Shell Functions. ##
    296 ## --------------------- ##
    297 # as_fn_unset VAR
    298 # ---------------
    299 # Portably unset VAR.
    300 as_fn_unset ()
    301 {
    302   { eval $1=; unset $1;}
    303 }
    304 as_unset=as_fn_unset
    305 
    306 # as_fn_set_status STATUS
    307 # -----------------------
    308 # Set $? to STATUS, without forking.
    309 as_fn_set_status ()
    310 {
    311   return $1
    312 } # as_fn_set_status
    313 
    314 # as_fn_exit STATUS
    315 # -----------------
    316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    317 as_fn_exit ()
    318 {
    319   set +e
    320   as_fn_set_status $1
    321   exit $1
    322 } # as_fn_exit
    323 
    324 # as_fn_mkdir_p
    325 # -------------
    326 # Create "$as_dir" as a directory, including parents if necessary.
    327 as_fn_mkdir_p ()
    328 {
    329 
    330   case $as_dir in #(
    331   -*) as_dir=./$as_dir;;
    332   esac
    333   test -d "$as_dir" || eval $as_mkdir_p || {
    334     as_dirs=
    335     while :; do
    336       case $as_dir in #(
    337       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    338       *) as_qdir=$as_dir;;
    339       esac
    340       as_dirs="'$as_qdir' $as_dirs"
    341       as_dir=`$as_dirname -- "$as_dir" ||
    342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    343 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    344 	 X"$as_dir" : 'X\(//\)$' \| \
    345 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    346 $as_echo X"$as_dir" |
    347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\/\)[^/].*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  /^X\(\/\/\)$/{
    356 	    s//\1/
    357 	    q
    358 	  }
    359 	  /^X\(\/\).*/{
    360 	    s//\1/
    361 	    q
    362 	  }
    363 	  s/.*/./; q'`
    364       test -d "$as_dir" && break
    365     done
    366     test -z "$as_dirs" || eval "mkdir $as_dirs"
    367   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    368 
    369 
    370 } # as_fn_mkdir_p
    371 
    372 # as_fn_executable_p FILE
    373 # -----------------------
    374 # Test if FILE is an executable regular file.
    375 as_fn_executable_p ()
    376 {
    377   test -f "$1" && test -x "$1"
    378 } # as_fn_executable_p
    379 # as_fn_append VAR VALUE
    380 # ----------------------
    381 # Append the text in VALUE to the end of the definition contained in VAR. Take
    382 # advantage of any shell optimizations that allow amortized linear growth over
    383 # repeated appends, instead of the typical quadratic growth present in naive
    384 # implementations.
    385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    386   eval 'as_fn_append ()
    387   {
    388     eval $1+=\$2
    389   }'
    390 else
    391   as_fn_append ()
    392   {
    393     eval $1=\$$1\$2
    394   }
    395 fi # as_fn_append
    396 
    397 # as_fn_arith ARG...
    398 # ------------------
    399 # Perform arithmetic evaluation on the ARGs, and store the result in the
    400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    401 # must be portable across $(()) and expr.
    402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    403   eval 'as_fn_arith ()
    404   {
    405     as_val=$(( $* ))
    406   }'
    407 else
    408   as_fn_arith ()
    409   {
    410     as_val=`expr "$@" || test $? -eq 1`
    411   }
    412 fi # as_fn_arith
    413 
    414 
    415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    416 # ----------------------------------------
    417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    419 # script with STATUS, using 1 if that was 0.
    420 as_fn_error ()
    421 {
    422   as_status=$1; test $as_status -eq 0 && as_status=1
    423   if test "$4"; then
    424     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    425     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    426   fi
    427   $as_echo "$as_me: error: $2" >&2
    428   as_fn_exit $as_status
    429 } # as_fn_error
    430 
    431 if expr a : '\(a\)' >/dev/null 2>&1 &&
    432    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    433   as_expr=expr
    434 else
    435   as_expr=false
    436 fi
    437 
    438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    439   as_basename=basename
    440 else
    441   as_basename=false
    442 fi
    443 
    444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    445   as_dirname=dirname
    446 else
    447   as_dirname=false
    448 fi
    449 
    450 as_me=`$as_basename -- "$0" ||
    451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    452 	 X"$0" : 'X\(//\)$' \| \
    453 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    454 $as_echo X/"$0" |
    455     sed '/^.*\/\([^/][^/]*\)\/*$/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  /^X\/\(\/\/\)$/{
    460 	    s//\1/
    461 	    q
    462 	  }
    463 	  /^X\/\(\/\).*/{
    464 	    s//\1/
    465 	    q
    466 	  }
    467 	  s/.*/./; q'`
    468 
    469 # Avoid depending upon Character Ranges.
    470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    473 as_cr_digits='0123456789'
    474 as_cr_alnum=$as_cr_Letters$as_cr_digits
    475 
    476 
    477   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    478   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    479   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    480   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    481   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    482   sed -n '
    483     p
    484     /[$]LINENO/=
    485   ' <$as_myself |
    486     sed '
    487       s/[$]LINENO.*/&-/
    488       t lineno
    489       b
    490       :lineno
    491       N
    492       :loop
    493       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    494       t loop
    495       s/-\n.*//
    496     ' >$as_me.lineno &&
    497   chmod +x "$as_me.lineno" ||
    498     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    499 
    500   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    501   # already done that, so ensure we don't try to do so again and fall
    502   # in an infinite loop.  This has already happened in practice.
    503   _as_can_reexec=no; export _as_can_reexec
    504   # Don't try to exec as it changes $[0], causing all sort of problems
    505   # (the dirname of $[0] is not the place where we might find the
    506   # original and so on.  Autoconf is especially sensitive to this).
    507   . "./$as_me.lineno"
    508   # Exit status is that of the last command.
    509   exit
    510 }
    511 
    512 ECHO_C= ECHO_N= ECHO_T=
    513 case `echo -n x` in #(((((
    514 -n*)
    515   case `echo 'xy\c'` in
    516   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    517   xy)  ECHO_C='\c';;
    518   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    519        ECHO_T='	';;
    520   esac;;
    521 *)
    522   ECHO_N='-n';;
    523 esac
    524 
    525 rm -f conf$$ conf$$.exe conf$$.file
    526 if test -d conf$$.dir; then
    527   rm -f conf$$.dir/conf$$.file
    528 else
    529   rm -f conf$$.dir
    530   mkdir conf$$.dir 2>/dev/null
    531 fi
    532 if (echo >conf$$.file) 2>/dev/null; then
    533   if ln -s conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s='ln -s'
    535     # ... but there are two gotchas:
    536     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    537     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    538     # In both cases, we have to default to `cp -pR'.
    539     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    540       as_ln_s='cp -pR'
    541   elif ln conf$$.file conf$$ 2>/dev/null; then
    542     as_ln_s=ln
    543   else
    544     as_ln_s='cp -pR'
    545   fi
    546 else
    547   as_ln_s='cp -pR'
    548 fi
    549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    550 rmdir conf$$.dir 2>/dev/null
    551 
    552 if mkdir -p . 2>/dev/null; then
    553   as_mkdir_p='mkdir -p "$as_dir"'
    554 else
    555   test -d ./-p && rmdir ./-p
    556   as_mkdir_p=false
    557 fi
    558 
    559 as_test_x='test -x'
    560 as_executable_p=as_fn_executable_p
    561 
    562 # Sed expression to map a string onto a valid CPP name.
    563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    564 
    565 # Sed expression to map a string onto a valid variable name.
    566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    567 
    568 SHELL=${CONFIG_SHELL-/bin/sh}
    569 
    570 as_awk_strverscmp='
    571   # Use only awk features that work with 7th edition Unix awk (1978).
    572   # My, what an old awk you have, Mr. Solaris!
    573   END {
    574     while (length(v1) && length(v2)) {
    575       # Set d1 to be the next thing to compare from v1, and likewise for d2.
    576       # Normally this is a single character, but if v1 and v2 contain digits,
    577       # compare them as integers and fractions as strverscmp does.
    578       if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
    579 	# Split v1 and v2 into their leading digit string components d1 and d2,
    580 	# and advance v1 and v2 past the leading digit strings.
    581 	for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
    582 	for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
    583 	d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
    584 	d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
    585 	if (d1 ~ /^0/) {
    586 	  if (d2 ~ /^0/) {
    587 	    # Compare two fractions.
    588 	    while (d1 ~ /^0/ && d2 ~ /^0/) {
    589 	      d1 = substr(d1, 2); len1--
    590 	      d2 = substr(d2, 2); len2--
    591 	    }
    592 	    if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
    593 	      # The two components differ in length, and the common prefix
    594 	      # contains only leading zeros.  Consider the longer to be less.
    595 	      d1 = -len1
    596 	      d2 = -len2
    597 	    } else {
    598 	      # Otherwise, compare as strings.
    599 	      d1 = "x" d1
    600 	      d2 = "x" d2
    601 	    }
    602 	  } else {
    603 	    # A fraction is less than an integer.
    604 	    exit 1
    605 	  }
    606 	} else {
    607 	  if (d2 ~ /^0/) {
    608 	    # An integer is greater than a fraction.
    609 	    exit 2
    610 	  } else {
    611 	    # Compare two integers.
    612 	    d1 += 0
    613 	    d2 += 0
    614 	  }
    615 	}
    616       } else {
    617 	# The normal case, without worrying about digits.
    618 	d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
    619 	d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
    620       }
    621       if (d1 < d2) exit 1
    622       if (d1 > d2) exit 2
    623     }
    624     # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
    625     # which mishandles some comparisons of empty strings to integers.
    626     if (length(v2)) exit 1
    627     if (length(v1)) exit 2
    628   }
    629 '
    630 
    631 test -n "$DJDIR" || exec 7<&0 </dev/null
    632 exec 6>&1
    633 
    634 # Name of the host.
    635 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    636 # so uname gets run too.
    637 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    638 
    639 #
    640 # Initializations.
    641 #
    642 ac_default_prefix=/usr/local
    643 ac_clean_files=
    644 ac_config_libobj_dir=.
    645 LIBOBJS=
    646 cross_compiling=no
    647 subdirs=
    648 MFLAGS=
    649 MAKEFLAGS=
    650 
    651 # Identity of this package.
    652 PACKAGE_NAME='libXt'
    653 PACKAGE_TARNAME='libXt'
    654 PACKAGE_VERSION='1.2.0'
    655 PACKAGE_STRING='libXt 1.2.0'
    656 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libXt/issues'
    657 PACKAGE_URL=''
    658 
    659 ac_unique_file="Makefile.am"
    660 # Factoring default headers for most tests.
    661 ac_includes_default="\
    662 #include <stdio.h>
    663 #ifdef HAVE_SYS_TYPES_H
    664 # include <sys/types.h>
    665 #endif
    666 #ifdef HAVE_SYS_STAT_H
    667 # include <sys/stat.h>
    668 #endif
    669 #ifdef STDC_HEADERS
    670 # include <stdlib.h>
    671 # include <stddef.h>
    672 #else
    673 # ifdef HAVE_STDLIB_H
    674 #  include <stdlib.h>
    675 # endif
    676 #endif
    677 #ifdef HAVE_STRING_H
    678 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    679 #  include <memory.h>
    680 # endif
    681 # include <string.h>
    682 #endif
    683 #ifdef HAVE_STRINGS_H
    684 # include <strings.h>
    685 #endif
    686 #ifdef HAVE_INTTYPES_H
    687 # include <inttypes.h>
    688 #endif
    689 #ifdef HAVE_STDINT_H
    690 # include <stdint.h>
    691 #endif
    692 #ifdef HAVE_UNISTD_H
    693 # include <unistd.h>
    694 #endif"
    695 
    696 ac_subst_vars='am__EXEEXT_FALSE
    697 am__EXEEXT_TRUE
    698 LTLIBOBJS
    699 LIBOBJS
    700 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_LIBDIR
    761 PKG_CONFIG_PATH
    762 PKG_CONFIG
    763 CHANGELOG_CMD
    764 STRICT_CFLAGS
    765 CWARNFLAGS
    766 BASE_CFLAGS
    767 CPP
    768 LT_SYS_LIBRARY_PATH
    769 OTOOL64
    770 OTOOL
    771 LIPO
    772 NMEDIT
    773 DSYMUTIL
    774 MANIFEST_TOOL
    775 RANLIB
    776 ac_ct_AR
    777 AR
    778 DLLTOOL
    779 OBJDUMP
    780 LN_S
    781 NM
    782 ac_ct_DUMPBIN
    783 DUMPBIN
    784 LD
    785 FGREP
    786 EGREP
    787 GREP
    788 SED
    789 am__fastdepCC_FALSE
    790 am__fastdepCC_TRUE
    791 CCDEPMODE
    792 am__nodep
    793 AMDEPBACKSLASH
    794 AMDEP_FALSE
    795 AMDEP_TRUE
    796 am__include
    797 DEPDIR
    798 OBJEXT
    799 EXEEXT
    800 ac_ct_CC
    801 CPPFLAGS
    802 LDFLAGS
    803 CFLAGS
    804 CC
    805 host_os
    806 host_vendor
    807 host_cpu
    808 host
    809 build_os
    810 build_vendor
    811 build_cpu
    812 build
    813 LIBTOOL
    814 AM_BACKSLASH
    815 AM_DEFAULT_VERBOSITY
    816 AM_DEFAULT_V
    817 AM_V
    818 am__untar
    819 am__tar
    820 AMTAR
    821 am__leading_dot
    822 SET_MAKE
    823 AWK
    824 mkdir_p
    825 MKDIR_P
    826 INSTALL_STRIP_PROGRAM
    827 STRIP
    828 install_sh
    829 MAKEINFO
    830 AUTOHEADER
    831 AUTOMAKE
    832 AUTOCONF
    833 ACLOCAL
    834 VERSION
    835 PACKAGE
    836 CYGPATH_W
    837 am__isrc
    838 INSTALL_DATA
    839 INSTALL_SCRIPT
    840 INSTALL_PROGRAM
    841 target_alias
    842 host_alias
    843 build_alias
    844 LIBS
    845 ECHO_T
    846 ECHO_N
    847 ECHO_C
    848 DEFS
    849 mandir
    850 localedir
    851 libdir
    852 psdir
    853 pdfdir
    854 dvidir
    855 htmldir
    856 infodir
    857 docdir
    858 oldincludedir
    859 includedir
    860 runstatedir
    861 localstatedir
    862 sharedstatedir
    863 sysconfdir
    864 datadir
    865 datarootdir
    866 libexecdir
    867 sbindir
    868 bindir
    869 program_transform_name
    870 prefix
    871 exec_prefix
    872 PACKAGE_URL
    873 PACKAGE_BUGREPORT
    874 PACKAGE_STRING
    875 PACKAGE_VERSION
    876 PACKAGE_TARNAME
    877 PACKAGE_NAME
    878 PATH_SEPARATOR
    879 SHELL
    880 am__quote'
    881 ac_subst_files=''
    882 ac_user_opts='
    883 enable_option_checking
    884 enable_silent_rules
    885 enable_shared
    886 enable_static
    887 with_pic
    888 enable_fast_install
    889 with_aix_soname
    890 enable_dependency_tracking
    891 with_gnu_ld
    892 with_sysroot
    893 enable_libtool_lock
    894 enable_selective_werror
    895 enable_strict_compilation
    896 enable_malloc0returnsnull
    897 enable_specs
    898 with_xmlto
    899 with_fop
    900 with_xsltproc
    901 with_perl
    902 enable_xkb
    903 enable_const
    904 enable_geo_tattler
    905 enable_unit_tests
    906 with_glib
    907 with_xfile_search_path
    908 with_appdefaultdir
    909 '
    910       ac_precious_vars='build_alias
    911 host_alias
    912 target_alias
    913 CC
    914 CFLAGS
    915 LDFLAGS
    916 LIBS
    917 CPPFLAGS
    918 LT_SYS_LIBRARY_PATH
    919 CPP
    920 PKG_CONFIG
    921 PKG_CONFIG_PATH
    922 PKG_CONFIG_LIBDIR
    923 XMLTO
    924 FOP
    925 XSLTPROC
    926 PERL
    927 XT_CFLAGS
    928 XT_LIBS
    929 XORG_MALLOC_DEBUG_ENV
    930 GLIB_CFLAGS
    931 GLIB_LIBS'
    932 
    933 
    934 # Initialize some variables set by options.
    935 ac_init_help=
    936 ac_init_version=false
    937 ac_unrecognized_opts=
    938 ac_unrecognized_sep=
    939 # The variables have the same names as the options, with
    940 # dashes changed to underlines.
    941 cache_file=/dev/null
    942 exec_prefix=NONE
    943 no_create=
    944 no_recursion=
    945 prefix=NONE
    946 program_prefix=NONE
    947 program_suffix=NONE
    948 program_transform_name=s,x,x,
    949 silent=
    950 site=
    951 srcdir=
    952 verbose=
    953 x_includes=NONE
    954 x_libraries=NONE
    955 
    956 # Installation directory options.
    957 # These are left unexpanded so users can "make install exec_prefix=/foo"
    958 # and all the variables that are supposed to be based on exec_prefix
    959 # by default will actually change.
    960 # Use braces instead of parens because sh, perl, etc. also accept them.
    961 # (The list follows the same order as the GNU Coding Standards.)
    962 bindir='${exec_prefix}/bin'
    963 sbindir='${exec_prefix}/sbin'
    964 libexecdir='${exec_prefix}/libexec'
    965 datarootdir='${prefix}/share'
    966 datadir='${datarootdir}'
    967 sysconfdir='${prefix}/etc'
    968 sharedstatedir='${prefix}/com'
    969 localstatedir='${prefix}/var'
    970 runstatedir='${localstatedir}/run'
    971 includedir='${prefix}/include'
    972 oldincludedir='/usr/include'
    973 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    974 infodir='${datarootdir}/info'
    975 htmldir='${docdir}'
    976 dvidir='${docdir}'
    977 pdfdir='${docdir}'
    978 psdir='${docdir}'
    979 libdir='${exec_prefix}/lib'
    980 localedir='${datarootdir}/locale'
    981 mandir='${datarootdir}/man'
    982 
    983 ac_prev=
    984 ac_dashdash=
    985 for ac_option
    986 do
    987   # If the previous option needs an argument, assign it.
    988   if test -n "$ac_prev"; then
    989     eval $ac_prev=\$ac_option
    990     ac_prev=
    991     continue
    992   fi
    993 
    994   case $ac_option in
    995   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    996   *=)   ac_optarg= ;;
    997   *)    ac_optarg=yes ;;
    998   esac
    999 
   1000   # Accept the important Cygnus configure options, so we can diagnose typos.
   1001 
   1002   case $ac_dashdash$ac_option in
   1003   --)
   1004     ac_dashdash=yes ;;
   1005 
   1006   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1007     ac_prev=bindir ;;
   1008   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1009     bindir=$ac_optarg ;;
   1010 
   1011   -build | --build | --buil | --bui | --bu)
   1012     ac_prev=build_alias ;;
   1013   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1014     build_alias=$ac_optarg ;;
   1015 
   1016   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1017   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1018     ac_prev=cache_file ;;
   1019   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1020   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1021     cache_file=$ac_optarg ;;
   1022 
   1023   --config-cache | -C)
   1024     cache_file=config.cache ;;
   1025 
   1026   -datadir | --datadir | --datadi | --datad)
   1027     ac_prev=datadir ;;
   1028   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1029     datadir=$ac_optarg ;;
   1030 
   1031   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1032   | --dataroo | --dataro | --datar)
   1033     ac_prev=datarootdir ;;
   1034   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1035   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1036     datarootdir=$ac_optarg ;;
   1037 
   1038   -disable-* | --disable-*)
   1039     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1040     # Reject names that are not valid shell variable names.
   1041     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1042       as_fn_error $? "invalid feature name: $ac_useropt"
   1043     ac_useropt_orig=$ac_useropt
   1044     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1045     case $ac_user_opts in
   1046       *"
   1047 "enable_$ac_useropt"
   1048 "*) ;;
   1049       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1050 	 ac_unrecognized_sep=', ';;
   1051     esac
   1052     eval enable_$ac_useropt=no ;;
   1053 
   1054   -docdir | --docdir | --docdi | --doc | --do)
   1055     ac_prev=docdir ;;
   1056   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1057     docdir=$ac_optarg ;;
   1058 
   1059   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1060     ac_prev=dvidir ;;
   1061   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1062     dvidir=$ac_optarg ;;
   1063 
   1064   -enable-* | --enable-*)
   1065     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1066     # Reject names that are not valid shell variable names.
   1067     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1068       as_fn_error $? "invalid feature name: $ac_useropt"
   1069     ac_useropt_orig=$ac_useropt
   1070     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1071     case $ac_user_opts in
   1072       *"
   1073 "enable_$ac_useropt"
   1074 "*) ;;
   1075       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1076 	 ac_unrecognized_sep=', ';;
   1077     esac
   1078     eval enable_$ac_useropt=\$ac_optarg ;;
   1079 
   1080   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1081   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1082   | --exec | --exe | --ex)
   1083     ac_prev=exec_prefix ;;
   1084   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1085   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1086   | --exec=* | --exe=* | --ex=*)
   1087     exec_prefix=$ac_optarg ;;
   1088 
   1089   -gas | --gas | --ga | --g)
   1090     # Obsolete; use --with-gas.
   1091     with_gas=yes ;;
   1092 
   1093   -help | --help | --hel | --he | -h)
   1094     ac_init_help=long ;;
   1095   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1096     ac_init_help=recursive ;;
   1097   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1098     ac_init_help=short ;;
   1099 
   1100   -host | --host | --hos | --ho)
   1101     ac_prev=host_alias ;;
   1102   -host=* | --host=* | --hos=* | --ho=*)
   1103     host_alias=$ac_optarg ;;
   1104 
   1105   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1106     ac_prev=htmldir ;;
   1107   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1108   | --ht=*)
   1109     htmldir=$ac_optarg ;;
   1110 
   1111   -includedir | --includedir | --includedi | --included | --include \
   1112   | --includ | --inclu | --incl | --inc)
   1113     ac_prev=includedir ;;
   1114   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1115   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1116     includedir=$ac_optarg ;;
   1117 
   1118   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1119     ac_prev=infodir ;;
   1120   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1121     infodir=$ac_optarg ;;
   1122 
   1123   -libdir | --libdir | --libdi | --libd)
   1124     ac_prev=libdir ;;
   1125   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1126     libdir=$ac_optarg ;;
   1127 
   1128   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1129   | --libexe | --libex | --libe)
   1130     ac_prev=libexecdir ;;
   1131   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1132   | --libexe=* | --libex=* | --libe=*)
   1133     libexecdir=$ac_optarg ;;
   1134 
   1135   -localedir | --localedir | --localedi | --localed | --locale)
   1136     ac_prev=localedir ;;
   1137   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1138     localedir=$ac_optarg ;;
   1139 
   1140   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1141   | --localstate | --localstat | --localsta | --localst | --locals)
   1142     ac_prev=localstatedir ;;
   1143   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1144   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1145     localstatedir=$ac_optarg ;;
   1146 
   1147   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1148     ac_prev=mandir ;;
   1149   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1150     mandir=$ac_optarg ;;
   1151 
   1152   -nfp | --nfp | --nf)
   1153     # Obsolete; use --without-fp.
   1154     with_fp=no ;;
   1155 
   1156   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1157   | --no-cr | --no-c | -n)
   1158     no_create=yes ;;
   1159 
   1160   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1161   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1162     no_recursion=yes ;;
   1163 
   1164   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1165   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1166   | --oldin | --oldi | --old | --ol | --o)
   1167     ac_prev=oldincludedir ;;
   1168   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1169   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1170   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1171     oldincludedir=$ac_optarg ;;
   1172 
   1173   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1174     ac_prev=prefix ;;
   1175   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1176     prefix=$ac_optarg ;;
   1177 
   1178   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1179   | --program-pre | --program-pr | --program-p)
   1180     ac_prev=program_prefix ;;
   1181   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1182   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1183     program_prefix=$ac_optarg ;;
   1184 
   1185   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1186   | --program-suf | --program-su | --program-s)
   1187     ac_prev=program_suffix ;;
   1188   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1189   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1190     program_suffix=$ac_optarg ;;
   1191 
   1192   -program-transform-name | --program-transform-name \
   1193   | --program-transform-nam | --program-transform-na \
   1194   | --program-transform-n | --program-transform- \
   1195   | --program-transform | --program-transfor \
   1196   | --program-transfo | --program-transf \
   1197   | --program-trans | --program-tran \
   1198   | --progr-tra | --program-tr | --program-t)
   1199     ac_prev=program_transform_name ;;
   1200   -program-transform-name=* | --program-transform-name=* \
   1201   | --program-transform-nam=* | --program-transform-na=* \
   1202   | --program-transform-n=* | --program-transform-=* \
   1203   | --program-transform=* | --program-transfor=* \
   1204   | --program-transfo=* | --program-transf=* \
   1205   | --program-trans=* | --program-tran=* \
   1206   | --progr-tra=* | --program-tr=* | --program-t=*)
   1207     program_transform_name=$ac_optarg ;;
   1208 
   1209   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1210     ac_prev=pdfdir ;;
   1211   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1212     pdfdir=$ac_optarg ;;
   1213 
   1214   -psdir | --psdir | --psdi | --psd | --ps)
   1215     ac_prev=psdir ;;
   1216   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1217     psdir=$ac_optarg ;;
   1218 
   1219   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1220   | -silent | --silent | --silen | --sile | --sil)
   1221     silent=yes ;;
   1222 
   1223   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1224   | --runstate | --runstat | --runsta | --runst | --runs \
   1225   | --run | --ru | --r)
   1226     ac_prev=runstatedir ;;
   1227   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1228   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1229   | --run=* | --ru=* | --r=*)
   1230     runstatedir=$ac_optarg ;;
   1231 
   1232   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1233     ac_prev=sbindir ;;
   1234   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1235   | --sbi=* | --sb=*)
   1236     sbindir=$ac_optarg ;;
   1237 
   1238   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1239   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1240   | --sharedst | --shareds | --shared | --share | --shar \
   1241   | --sha | --sh)
   1242     ac_prev=sharedstatedir ;;
   1243   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1244   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1245   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1246   | --sha=* | --sh=*)
   1247     sharedstatedir=$ac_optarg ;;
   1248 
   1249   -site | --site | --sit)
   1250     ac_prev=site ;;
   1251   -site=* | --site=* | --sit=*)
   1252     site=$ac_optarg ;;
   1253 
   1254   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1255     ac_prev=srcdir ;;
   1256   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1257     srcdir=$ac_optarg ;;
   1258 
   1259   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1260   | --syscon | --sysco | --sysc | --sys | --sy)
   1261     ac_prev=sysconfdir ;;
   1262   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1263   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1264     sysconfdir=$ac_optarg ;;
   1265 
   1266   -target | --target | --targe | --targ | --tar | --ta | --t)
   1267     ac_prev=target_alias ;;
   1268   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1269     target_alias=$ac_optarg ;;
   1270 
   1271   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1272     verbose=yes ;;
   1273 
   1274   -version | --version | --versio | --versi | --vers | -V)
   1275     ac_init_version=: ;;
   1276 
   1277   -with-* | --with-*)
   1278     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1279     # Reject names that are not valid shell variable names.
   1280     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1281       as_fn_error $? "invalid package name: $ac_useropt"
   1282     ac_useropt_orig=$ac_useropt
   1283     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1284     case $ac_user_opts in
   1285       *"
   1286 "with_$ac_useropt"
   1287 "*) ;;
   1288       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1289 	 ac_unrecognized_sep=', ';;
   1290     esac
   1291     eval with_$ac_useropt=\$ac_optarg ;;
   1292 
   1293   -without-* | --without-*)
   1294     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1295     # Reject names that are not valid shell variable names.
   1296     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1297       as_fn_error $? "invalid package name: $ac_useropt"
   1298     ac_useropt_orig=$ac_useropt
   1299     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1300     case $ac_user_opts in
   1301       *"
   1302 "with_$ac_useropt"
   1303 "*) ;;
   1304       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1305 	 ac_unrecognized_sep=', ';;
   1306     esac
   1307     eval with_$ac_useropt=no ;;
   1308 
   1309   --x)
   1310     # Obsolete; use --with-x.
   1311     with_x=yes ;;
   1312 
   1313   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1314   | --x-incl | --x-inc | --x-in | --x-i)
   1315     ac_prev=x_includes ;;
   1316   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1317   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1318     x_includes=$ac_optarg ;;
   1319 
   1320   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1321   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1322     ac_prev=x_libraries ;;
   1323   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1324   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1325     x_libraries=$ac_optarg ;;
   1326 
   1327   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1328 Try \`$0 --help' for more information"
   1329     ;;
   1330 
   1331   *=*)
   1332     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1333     # Reject names that are not valid shell variable names.
   1334     case $ac_envvar in #(
   1335       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1336       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1337     esac
   1338     eval $ac_envvar=\$ac_optarg
   1339     export $ac_envvar ;;
   1340 
   1341   *)
   1342     # FIXME: should be removed in autoconf 3.0.
   1343     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1344     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1345       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1346     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1347     ;;
   1348 
   1349   esac
   1350 done
   1351 
   1352 if test -n "$ac_prev"; then
   1353   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1354   as_fn_error $? "missing argument to $ac_option"
   1355 fi
   1356 
   1357 if test -n "$ac_unrecognized_opts"; then
   1358   case $enable_option_checking in
   1359     no) ;;
   1360     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1361     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1362   esac
   1363 fi
   1364 
   1365 # Check all directory arguments for consistency.
   1366 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1367 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1368 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1369 		libdir localedir mandir runstatedir
   1370 do
   1371   eval ac_val=\$$ac_var
   1372   # Remove trailing slashes.
   1373   case $ac_val in
   1374     */ )
   1375       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1376       eval $ac_var=\$ac_val;;
   1377   esac
   1378   # Be sure to have absolute directory names.
   1379   case $ac_val in
   1380     [\\/$]* | ?:[\\/]* )  continue;;
   1381     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1382   esac
   1383   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1384 done
   1385 
   1386 # There might be people who depend on the old broken behavior: `$host'
   1387 # used to hold the argument of --host etc.
   1388 # FIXME: To remove some day.
   1389 build=$build_alias
   1390 host=$host_alias
   1391 target=$target_alias
   1392 
   1393 # FIXME: To remove some day.
   1394 if test "x$host_alias" != x; then
   1395   if test "x$build_alias" = x; then
   1396     cross_compiling=maybe
   1397   elif test "x$build_alias" != "x$host_alias"; then
   1398     cross_compiling=yes
   1399   fi
   1400 fi
   1401 
   1402 ac_tool_prefix=
   1403 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1404 
   1405 test "$silent" = yes && exec 6>/dev/null
   1406 
   1407 
   1408 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1409 ac_ls_di=`ls -di .` &&
   1410 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1411   as_fn_error $? "working directory cannot be determined"
   1412 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1413   as_fn_error $? "pwd does not report name of working directory"
   1414 
   1415 
   1416 # Find the source files, if location was not specified.
   1417 if test -z "$srcdir"; then
   1418   ac_srcdir_defaulted=yes
   1419   # Try the directory containing this script, then the parent directory.
   1420   ac_confdir=`$as_dirname -- "$as_myself" ||
   1421 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1422 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1423 	 X"$as_myself" : 'X\(//\)$' \| \
   1424 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1425 $as_echo X"$as_myself" |
   1426     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1427 	    s//\1/
   1428 	    q
   1429 	  }
   1430 	  /^X\(\/\/\)[^/].*/{
   1431 	    s//\1/
   1432 	    q
   1433 	  }
   1434 	  /^X\(\/\/\)$/{
   1435 	    s//\1/
   1436 	    q
   1437 	  }
   1438 	  /^X\(\/\).*/{
   1439 	    s//\1/
   1440 	    q
   1441 	  }
   1442 	  s/.*/./; q'`
   1443   srcdir=$ac_confdir
   1444   if test ! -r "$srcdir/$ac_unique_file"; then
   1445     srcdir=..
   1446   fi
   1447 else
   1448   ac_srcdir_defaulted=no
   1449 fi
   1450 if test ! -r "$srcdir/$ac_unique_file"; then
   1451   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1452   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1453 fi
   1454 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1455 ac_abs_confdir=`(
   1456 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1457 	pwd)`
   1458 # When building in place, set srcdir=.
   1459 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1460   srcdir=.
   1461 fi
   1462 # Remove unnecessary trailing slashes from srcdir.
   1463 # Double slashes in file names in object file debugging info
   1464 # mess up M-x gdb in Emacs.
   1465 case $srcdir in
   1466 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1467 esac
   1468 for ac_var in $ac_precious_vars; do
   1469   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1470   eval ac_env_${ac_var}_value=\$${ac_var}
   1471   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1472   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1473 done
   1474 
   1475 #
   1476 # Report the --help message.
   1477 #
   1478 if test "$ac_init_help" = "long"; then
   1479   # Omit some internal or obsolete options to make the list less imposing.
   1480   # This message is too long to be a string in the A/UX 3.1 sh.
   1481   cat <<_ACEOF
   1482 \`configure' configures libXt 1.2.0 to adapt to many kinds of systems.
   1483 
   1484 Usage: $0 [OPTION]... [VAR=VALUE]...
   1485 
   1486 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1487 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1488 
   1489 Defaults for the options are specified in brackets.
   1490 
   1491 Configuration:
   1492   -h, --help              display this help and exit
   1493       --help=short        display options specific to this package
   1494       --help=recursive    display the short help of all the included packages
   1495   -V, --version           display version information and exit
   1496   -q, --quiet, --silent   do not print \`checking ...' messages
   1497       --cache-file=FILE   cache test results in FILE [disabled]
   1498   -C, --config-cache      alias for \`--cache-file=config.cache'
   1499   -n, --no-create         do not create output files
   1500       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1501 
   1502 Installation directories:
   1503   --prefix=PREFIX         install architecture-independent files in PREFIX
   1504                           [$ac_default_prefix]
   1505   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1506                           [PREFIX]
   1507 
   1508 By default, \`make install' will install all the files in
   1509 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1510 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1511 for instance \`--prefix=\$HOME'.
   1512 
   1513 For better control, use the options below.
   1514 
   1515 Fine tuning of the installation directories:
   1516   --bindir=DIR            user executables [EPREFIX/bin]
   1517   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1518   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1519   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1520   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1521   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1522   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1523   --libdir=DIR            object code libraries [EPREFIX/lib]
   1524   --includedir=DIR        C header files [PREFIX/include]
   1525   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1526   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1527   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1528   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1529   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1530   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1531   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXt]
   1532   --htmldir=DIR           html documentation [DOCDIR]
   1533   --dvidir=DIR            dvi documentation [DOCDIR]
   1534   --pdfdir=DIR            pdf documentation [DOCDIR]
   1535   --psdir=DIR             ps documentation [DOCDIR]
   1536 _ACEOF
   1537 
   1538   cat <<\_ACEOF
   1539 
   1540 Program names:
   1541   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1542   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1543   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1544 
   1545 System types:
   1546   --build=BUILD     configure for building on BUILD [guessed]
   1547   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1548 _ACEOF
   1549 fi
   1550 
   1551 if test -n "$ac_init_help"; then
   1552   case $ac_init_help in
   1553      short | recursive ) echo "Configuration of libXt 1.2.0:";;
   1554    esac
   1555   cat <<\_ACEOF
   1556 
   1557 Optional Features:
   1558   --disable-option-checking  ignore unrecognized --enable/--with options
   1559   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1560   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1561   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1562   --disable-silent-rules  verbose build output (undo: "make V=0")
   1563   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1564   --enable-static[=PKGS]  build static libraries [default=yes]
   1565   --enable-fast-install[=PKGS]
   1566                           optimize for fast installation [default=yes]
   1567   --enable-dependency-tracking
   1568                           do not reject slow dependency extractors
   1569   --disable-dependency-tracking
   1570                           speeds up one-time build
   1571   --disable-libtool-lock  avoid locking (might break parallel builds)
   1572   --disable-selective-werror
   1573                           Turn off selective compiler errors. (default:
   1574                           enabled)
   1575   --enable-strict-compilation
   1576                           Enable all warnings from compiler and make them
   1577                           errors (default: disabled)
   1578   --enable-malloc0returnsnull
   1579                           malloc(0) returns NULL (default: auto)
   1580   --enable-specs          Enable building the specs (default: yes)
   1581   --disable-xkb           Disable XKB support
   1582   --disable-const         Disable const-support
   1583   --enable-geo-tattler    Enable geo-tattler traces
   1584   --enable-unit-tests     Enable building unit test cases (default: auto)
   1585 
   1586 Optional Packages:
   1587   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1588   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1589   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1590                           both]
   1591   --with-aix-soname=aix|svr4|both
   1592                           shared library versioning (aka "SONAME") variant to
   1593                           provide on AIX, [default=aix].
   1594   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1595   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1596                           compiler's sysroot if not specified).
   1597   --with-xmlto            Use xmlto to regenerate documentation (default:
   1598                           auto)
   1599   --with-fop              Use fop to regenerate documentation (default: auto)
   1600   --with-xsltproc         Use xsltproc for the transformation of XML documents
   1601                           (default: auto)
   1602   --with-perl             Use perl for extracting information from files
   1603                           (default: auto)
   1604   --with-glib             Use GLib library for unit testing (default: auto)
   1605   --with-xfile-search-path=<path>
   1606                           Set path to search for app-defaults and other files
   1607   --with-appdefaultdir=<path>
   1608                           Set app-default directory (default:
   1609                           ${datadir}/X11/app-defaults)
   1610 
   1611 Some influential environment variables:
   1612   CC          C compiler command
   1613   CFLAGS      C compiler flags
   1614   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1615               nonstandard directory <lib dir>
   1616   LIBS        libraries to pass to the linker, e.g. -l<library>
   1617   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1618               you have headers in a nonstandard directory <include dir>
   1619   LT_SYS_LIBRARY_PATH
   1620               User-defined run-time library search path.
   1621   CPP         C preprocessor
   1622   PKG_CONFIG  path to pkg-config utility
   1623   PKG_CONFIG_PATH
   1624               directories to add to pkg-config's search path
   1625   PKG_CONFIG_LIBDIR
   1626               path overriding pkg-config's built-in search path
   1627   XMLTO       Path to xmlto command
   1628   FOP         Path to fop command
   1629   XSLTPROC    Path to xsltproc command
   1630   PERL        Path to perl command
   1631   XT_CFLAGS   C compiler flags for XT, overriding pkg-config
   1632   XT_LIBS     linker flags for XT, overriding pkg-config
   1633   XORG_MALLOC_DEBUG_ENV
   1634               Environment variables to enable memory checking in tests
   1635   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
   1636   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
   1637 
   1638 Use these variables to override the choices made by `configure' or to help
   1639 it to find libraries and programs with nonstandard names/locations.
   1640 
   1641 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libXt/issues>.
   1642 _ACEOF
   1643 ac_status=$?
   1644 fi
   1645 
   1646 if test "$ac_init_help" = "recursive"; then
   1647   # If there are subdirs, report their specific --help.
   1648   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1649     test -d "$ac_dir" ||
   1650       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1651       continue
   1652     ac_builddir=.
   1653 
   1654 case "$ac_dir" in
   1655 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1656 *)
   1657   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1658   # A ".." for each directory in $ac_dir_suffix.
   1659   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1660   case $ac_top_builddir_sub in
   1661   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1662   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1663   esac ;;
   1664 esac
   1665 ac_abs_top_builddir=$ac_pwd
   1666 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1667 # for backward compatibility:
   1668 ac_top_builddir=$ac_top_build_prefix
   1669 
   1670 case $srcdir in
   1671   .)  # We are building in place.
   1672     ac_srcdir=.
   1673     ac_top_srcdir=$ac_top_builddir_sub
   1674     ac_abs_top_srcdir=$ac_pwd ;;
   1675   [\\/]* | ?:[\\/]* )  # Absolute name.
   1676     ac_srcdir=$srcdir$ac_dir_suffix;
   1677     ac_top_srcdir=$srcdir
   1678     ac_abs_top_srcdir=$srcdir ;;
   1679   *) # Relative name.
   1680     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1681     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1682     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1683 esac
   1684 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1685 
   1686     cd "$ac_dir" || { ac_status=$?; continue; }
   1687     # Check for guested configure.
   1688     if test -f "$ac_srcdir/configure.gnu"; then
   1689       echo &&
   1690       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1691     elif test -f "$ac_srcdir/configure"; then
   1692       echo &&
   1693       $SHELL "$ac_srcdir/configure" --help=recursive
   1694     else
   1695       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1696     fi || ac_status=$?
   1697     cd "$ac_pwd" || { ac_status=$?; break; }
   1698   done
   1699 fi
   1700 
   1701 test -n "$ac_init_help" && exit $ac_status
   1702 if $ac_init_version; then
   1703   cat <<\_ACEOF
   1704 libXt configure 1.2.0
   1705 generated by GNU Autoconf 2.69
   1706 
   1707 Copyright (C) 2012 Free Software Foundation, Inc.
   1708 This configure script is free software; the Free Software Foundation
   1709 gives unlimited permission to copy, distribute and modify it.
   1710 _ACEOF
   1711   exit
   1712 fi
   1713 
   1714 ## ------------------------ ##
   1715 ## Autoconf initialization. ##
   1716 ## ------------------------ ##
   1717 
   1718 # ac_fn_c_try_compile LINENO
   1719 # --------------------------
   1720 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1721 ac_fn_c_try_compile ()
   1722 {
   1723   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1724   rm -f conftest.$ac_objext
   1725   if { { ac_try="$ac_compile"
   1726 case "(($ac_try" in
   1727   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1728   *) ac_try_echo=$ac_try;;
   1729 esac
   1730 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1731 $as_echo "$ac_try_echo"; } >&5
   1732   (eval "$ac_compile") 2>conftest.err
   1733   ac_status=$?
   1734   if test -s conftest.err; then
   1735     grep -v '^ *+' conftest.err >conftest.er1
   1736     cat conftest.er1 >&5
   1737     mv -f conftest.er1 conftest.err
   1738   fi
   1739   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1740   test $ac_status = 0; } && {
   1741 	 test -z "$ac_c_werror_flag" ||
   1742 	 test ! -s conftest.err
   1743        } && test -s conftest.$ac_objext; then :
   1744   ac_retval=0
   1745 else
   1746   $as_echo "$as_me: failed program was:" >&5
   1747 sed 's/^/| /' conftest.$ac_ext >&5
   1748 
   1749 	ac_retval=1
   1750 fi
   1751   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1752   as_fn_set_status $ac_retval
   1753 
   1754 } # ac_fn_c_try_compile
   1755 
   1756 # ac_fn_c_try_link LINENO
   1757 # -----------------------
   1758 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1759 ac_fn_c_try_link ()
   1760 {
   1761   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1762   rm -f conftest.$ac_objext conftest$ac_exeext
   1763   if { { ac_try="$ac_link"
   1764 case "(($ac_try" in
   1765   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1766   *) ac_try_echo=$ac_try;;
   1767 esac
   1768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1769 $as_echo "$ac_try_echo"; } >&5
   1770   (eval "$ac_link") 2>conftest.err
   1771   ac_status=$?
   1772   if test -s conftest.err; then
   1773     grep -v '^ *+' conftest.err >conftest.er1
   1774     cat conftest.er1 >&5
   1775     mv -f conftest.er1 conftest.err
   1776   fi
   1777   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1778   test $ac_status = 0; } && {
   1779 	 test -z "$ac_c_werror_flag" ||
   1780 	 test ! -s conftest.err
   1781        } && test -s conftest$ac_exeext && {
   1782 	 test "$cross_compiling" = yes ||
   1783 	 test -x conftest$ac_exeext
   1784        }; then :
   1785   ac_retval=0
   1786 else
   1787   $as_echo "$as_me: failed program was:" >&5
   1788 sed 's/^/| /' conftest.$ac_ext >&5
   1789 
   1790 	ac_retval=1
   1791 fi
   1792   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1793   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1794   # interfere with the next link command; also delete a directory that is
   1795   # left behind by Apple's compiler.  We do this before executing the actions.
   1796   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1797   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1798   as_fn_set_status $ac_retval
   1799 
   1800 } # ac_fn_c_try_link
   1801 
   1802 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1803 # -------------------------------------------------------
   1804 # Tests whether HEADER exists and can be compiled using the include files in
   1805 # INCLUDES, setting the cache variable VAR accordingly.
   1806 ac_fn_c_check_header_compile ()
   1807 {
   1808   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1809   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1810 $as_echo_n "checking for $2... " >&6; }
   1811 if eval \${$3+:} false; then :
   1812   $as_echo_n "(cached) " >&6
   1813 else
   1814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1815 /* end confdefs.h.  */
   1816 $4
   1817 #include <$2>
   1818 _ACEOF
   1819 if ac_fn_c_try_compile "$LINENO"; then :
   1820   eval "$3=yes"
   1821 else
   1822   eval "$3=no"
   1823 fi
   1824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1825 fi
   1826 eval ac_res=\$$3
   1827 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1828 $as_echo "$ac_res" >&6; }
   1829   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1830 
   1831 } # ac_fn_c_check_header_compile
   1832 
   1833 # ac_fn_c_try_cpp LINENO
   1834 # ----------------------
   1835 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1836 ac_fn_c_try_cpp ()
   1837 {
   1838   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1839   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1840 case "(($ac_try" in
   1841   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1842   *) ac_try_echo=$ac_try;;
   1843 esac
   1844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1845 $as_echo "$ac_try_echo"; } >&5
   1846   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1847   ac_status=$?
   1848   if test -s conftest.err; then
   1849     grep -v '^ *+' conftest.err >conftest.er1
   1850     cat conftest.er1 >&5
   1851     mv -f conftest.er1 conftest.err
   1852   fi
   1853   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1854   test $ac_status = 0; } > conftest.i && {
   1855 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1856 	 test ! -s conftest.err
   1857        }; then :
   1858   ac_retval=0
   1859 else
   1860   $as_echo "$as_me: failed program was:" >&5
   1861 sed 's/^/| /' conftest.$ac_ext >&5
   1862 
   1863     ac_retval=1
   1864 fi
   1865   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1866   as_fn_set_status $ac_retval
   1867 
   1868 } # ac_fn_c_try_cpp
   1869 
   1870 # ac_fn_c_try_run LINENO
   1871 # ----------------------
   1872 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1873 # that executables *can* be run.
   1874 ac_fn_c_try_run ()
   1875 {
   1876   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1877   if { { ac_try="$ac_link"
   1878 case "(($ac_try" in
   1879   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1880   *) ac_try_echo=$ac_try;;
   1881 esac
   1882 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1883 $as_echo "$ac_try_echo"; } >&5
   1884   (eval "$ac_link") 2>&5
   1885   ac_status=$?
   1886   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1887   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1888   { { case "(($ac_try" in
   1889   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1890   *) ac_try_echo=$ac_try;;
   1891 esac
   1892 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1893 $as_echo "$ac_try_echo"; } >&5
   1894   (eval "$ac_try") 2>&5
   1895   ac_status=$?
   1896   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1897   test $ac_status = 0; }; }; then :
   1898   ac_retval=0
   1899 else
   1900   $as_echo "$as_me: program exited with status $ac_status" >&5
   1901        $as_echo "$as_me: failed program was:" >&5
   1902 sed 's/^/| /' conftest.$ac_ext >&5
   1903 
   1904        ac_retval=$ac_status
   1905 fi
   1906   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1907   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1908   as_fn_set_status $ac_retval
   1909 
   1910 } # ac_fn_c_try_run
   1911 
   1912 # ac_fn_c_check_func LINENO FUNC VAR
   1913 # ----------------------------------
   1914 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1915 ac_fn_c_check_func ()
   1916 {
   1917   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1918   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1919 $as_echo_n "checking for $2... " >&6; }
   1920 if eval \${$3+:} false; then :
   1921   $as_echo_n "(cached) " >&6
   1922 else
   1923   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1924 /* end confdefs.h.  */
   1925 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1926    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1927 #define $2 innocuous_$2
   1928 
   1929 /* System header to define __stub macros and hopefully few prototypes,
   1930     which can conflict with char $2 (); below.
   1931     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1932     <limits.h> exists even on freestanding compilers.  */
   1933 
   1934 #ifdef __STDC__
   1935 # include <limits.h>
   1936 #else
   1937 # include <assert.h>
   1938 #endif
   1939 
   1940 #undef $2
   1941 
   1942 /* Override any GCC internal prototype to avoid an error.
   1943    Use char because int might match the return type of a GCC
   1944    builtin and then its argument prototype would still apply.  */
   1945 #ifdef __cplusplus
   1946 extern "C"
   1947 #endif
   1948 char $2 ();
   1949 /* The GNU C library defines this for functions which it implements
   1950     to always fail with ENOSYS.  Some functions are actually named
   1951     something starting with __ and the normal name is an alias.  */
   1952 #if defined __stub_$2 || defined __stub___$2
   1953 choke me
   1954 #endif
   1955 
   1956 int
   1957 main ()
   1958 {
   1959 return $2 ();
   1960   ;
   1961   return 0;
   1962 }
   1963 _ACEOF
   1964 if ac_fn_c_try_link "$LINENO"; then :
   1965   eval "$3=yes"
   1966 else
   1967   eval "$3=no"
   1968 fi
   1969 rm -f core conftest.err conftest.$ac_objext \
   1970     conftest$ac_exeext conftest.$ac_ext
   1971 fi
   1972 eval ac_res=\$$3
   1973 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1974 $as_echo "$ac_res" >&6; }
   1975   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1976 
   1977 } # ac_fn_c_check_func
   1978 
   1979 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1980 # ---------------------------------------------
   1981 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1982 # accordingly.
   1983 ac_fn_c_check_decl ()
   1984 {
   1985   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1986   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1987   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1988   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1989 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1990 if eval \${$3+:} false; then :
   1991   $as_echo_n "(cached) " >&6
   1992 else
   1993   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1994 /* end confdefs.h.  */
   1995 $4
   1996 int
   1997 main ()
   1998 {
   1999 #ifndef $as_decl_name
   2000 #ifdef __cplusplus
   2001   (void) $as_decl_use;
   2002 #else
   2003   (void) $as_decl_name;
   2004 #endif
   2005 #endif
   2006 
   2007   ;
   2008   return 0;
   2009 }
   2010 _ACEOF
   2011 if ac_fn_c_try_compile "$LINENO"; then :
   2012   eval "$3=yes"
   2013 else
   2014   eval "$3=no"
   2015 fi
   2016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2017 fi
   2018 eval ac_res=\$$3
   2019 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2020 $as_echo "$ac_res" >&6; }
   2021   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2022 
   2023 } # ac_fn_c_check_decl
   2024 
   2025 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   2026 # -------------------------------------------------------
   2027 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   2028 # the include files in INCLUDES and setting the cache variable VAR
   2029 # accordingly.
   2030 ac_fn_c_check_header_mongrel ()
   2031 {
   2032   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2033   if eval \${$3+:} false; then :
   2034   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2035 $as_echo_n "checking for $2... " >&6; }
   2036 if eval \${$3+:} false; then :
   2037   $as_echo_n "(cached) " >&6
   2038 fi
   2039 eval ac_res=\$$3
   2040 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2041 $as_echo "$ac_res" >&6; }
   2042 else
   2043   # Is the header compilable?
   2044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   2045 $as_echo_n "checking $2 usability... " >&6; }
   2046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2047 /* end confdefs.h.  */
   2048 $4
   2049 #include <$2>
   2050 _ACEOF
   2051 if ac_fn_c_try_compile "$LINENO"; then :
   2052   ac_header_compiler=yes
   2053 else
   2054   ac_header_compiler=no
   2055 fi
   2056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   2058 $as_echo "$ac_header_compiler" >&6; }
   2059 
   2060 # Is the header present?
   2061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   2062 $as_echo_n "checking $2 presence... " >&6; }
   2063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2064 /* end confdefs.h.  */
   2065 #include <$2>
   2066 _ACEOF
   2067 if ac_fn_c_try_cpp "$LINENO"; then :
   2068   ac_header_preproc=yes
   2069 else
   2070   ac_header_preproc=no
   2071 fi
   2072 rm -f conftest.err conftest.i conftest.$ac_ext
   2073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   2074 $as_echo "$ac_header_preproc" >&6; }
   2075 
   2076 # So?  What about this header?
   2077 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   2078   yes:no: )
   2079     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   2080 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   2081     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   2082 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   2083     ;;
   2084   no:yes:* )
   2085     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   2086 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   2087     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   2088 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   2089     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   2090 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   2091     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   2092 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   2093     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   2094 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   2095 ( $as_echo "## ------------------------------------------------------------------- ##
   2096 ## Report this to https://gitlab.freedesktop.org/xorg/lib/libXt/issues ##
   2097 ## ------------------------------------------------------------------- ##"
   2098      ) | sed "s/^/$as_me: WARNING:     /" >&2
   2099     ;;
   2100 esac
   2101   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2102 $as_echo_n "checking for $2... " >&6; }
   2103 if eval \${$3+:} false; then :
   2104   $as_echo_n "(cached) " >&6
   2105 else
   2106   eval "$3=\$ac_header_compiler"
   2107 fi
   2108 eval ac_res=\$$3
   2109 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2110 $as_echo "$ac_res" >&6; }
   2111 fi
   2112   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2113 
   2114 } # ac_fn_c_check_header_mongrel
   2115 cat >config.log <<_ACEOF
   2116 This file contains any messages produced by compilers while
   2117 running configure, to aid debugging if configure makes a mistake.
   2118 
   2119 It was created by libXt $as_me 1.2.0, which was
   2120 generated by GNU Autoconf 2.69.  Invocation command line was
   2121 
   2122   $ $0 $@
   2123 
   2124 _ACEOF
   2125 exec 5>>config.log
   2126 {
   2127 cat <<_ASUNAME
   2128 ## --------- ##
   2129 ## Platform. ##
   2130 ## --------- ##
   2131 
   2132 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2133 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2134 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2135 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2136 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2137 
   2138 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2139 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2140 
   2141 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2142 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2143 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2144 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2145 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2146 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2147 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2148 
   2149 _ASUNAME
   2150 
   2151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2152 for as_dir in $PATH
   2153 do
   2154   IFS=$as_save_IFS
   2155   test -z "$as_dir" && as_dir=.
   2156     $as_echo "PATH: $as_dir"
   2157   done
   2158 IFS=$as_save_IFS
   2159 
   2160 } >&5
   2161 
   2162 cat >&5 <<_ACEOF
   2163 
   2164 
   2165 ## ----------- ##
   2166 ## Core tests. ##
   2167 ## ----------- ##
   2168 
   2169 _ACEOF
   2170 
   2171 
   2172 # Keep a trace of the command line.
   2173 # Strip out --no-create and --no-recursion so they do not pile up.
   2174 # Strip out --silent because we don't want to record it for future runs.
   2175 # Also quote any args containing shell meta-characters.
   2176 # Make two passes to allow for proper duplicate-argument suppression.
   2177 ac_configure_args=
   2178 ac_configure_args0=
   2179 ac_configure_args1=
   2180 ac_must_keep_next=false
   2181 for ac_pass in 1 2
   2182 do
   2183   for ac_arg
   2184   do
   2185     case $ac_arg in
   2186     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2187     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2188     | -silent | --silent | --silen | --sile | --sil)
   2189       continue ;;
   2190     *\'*)
   2191       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2192     esac
   2193     case $ac_pass in
   2194     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2195     2)
   2196       as_fn_append ac_configure_args1 " '$ac_arg'"
   2197       if test $ac_must_keep_next = true; then
   2198 	ac_must_keep_next=false # Got value, back to normal.
   2199       else
   2200 	case $ac_arg in
   2201 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2202 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2203 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2204 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2205 	    case "$ac_configure_args0 " in
   2206 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2207 	    esac
   2208 	    ;;
   2209 	  -* ) ac_must_keep_next=true ;;
   2210 	esac
   2211       fi
   2212       as_fn_append ac_configure_args " '$ac_arg'"
   2213       ;;
   2214     esac
   2215   done
   2216 done
   2217 { ac_configure_args0=; unset ac_configure_args0;}
   2218 { ac_configure_args1=; unset ac_configure_args1;}
   2219 
   2220 # When interrupted or exit'd, cleanup temporary files, and complete
   2221 # config.log.  We remove comments because anyway the quotes in there
   2222 # would cause problems or look ugly.
   2223 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2224 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2225 trap 'exit_status=$?
   2226   # Save into config.log some information that might help in debugging.
   2227   {
   2228     echo
   2229 
   2230     $as_echo "## ---------------- ##
   2231 ## Cache variables. ##
   2232 ## ---------------- ##"
   2233     echo
   2234     # The following way of writing the cache mishandles newlines in values,
   2235 (
   2236   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2237     eval ac_val=\$$ac_var
   2238     case $ac_val in #(
   2239     *${as_nl}*)
   2240       case $ac_var in #(
   2241       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2242 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2243       esac
   2244       case $ac_var in #(
   2245       _ | IFS | as_nl) ;; #(
   2246       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2247       *) { eval $ac_var=; unset $ac_var;} ;;
   2248       esac ;;
   2249     esac
   2250   done
   2251   (set) 2>&1 |
   2252     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2253     *${as_nl}ac_space=\ *)
   2254       sed -n \
   2255 	"s/'\''/'\''\\\\'\'''\''/g;
   2256 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2257       ;; #(
   2258     *)
   2259       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2260       ;;
   2261     esac |
   2262     sort
   2263 )
   2264     echo
   2265 
   2266     $as_echo "## ----------------- ##
   2267 ## Output variables. ##
   2268 ## ----------------- ##"
   2269     echo
   2270     for ac_var in $ac_subst_vars
   2271     do
   2272       eval ac_val=\$$ac_var
   2273       case $ac_val in
   2274       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2275       esac
   2276       $as_echo "$ac_var='\''$ac_val'\''"
   2277     done | sort
   2278     echo
   2279 
   2280     if test -n "$ac_subst_files"; then
   2281       $as_echo "## ------------------- ##
   2282 ## File substitutions. ##
   2283 ## ------------------- ##"
   2284       echo
   2285       for ac_var in $ac_subst_files
   2286       do
   2287 	eval ac_val=\$$ac_var
   2288 	case $ac_val in
   2289 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2290 	esac
   2291 	$as_echo "$ac_var='\''$ac_val'\''"
   2292       done | sort
   2293       echo
   2294     fi
   2295 
   2296     if test -s confdefs.h; then
   2297       $as_echo "## ----------- ##
   2298 ## confdefs.h. ##
   2299 ## ----------- ##"
   2300       echo
   2301       cat confdefs.h
   2302       echo
   2303     fi
   2304     test "$ac_signal" != 0 &&
   2305       $as_echo "$as_me: caught signal $ac_signal"
   2306     $as_echo "$as_me: exit $exit_status"
   2307   } >&5
   2308   rm -f core *.core core.conftest.* &&
   2309     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2310     exit $exit_status
   2311 ' 0
   2312 for ac_signal in 1 2 13 15; do
   2313   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2314 done
   2315 ac_signal=0
   2316 
   2317 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2318 rm -f -r conftest* confdefs.h
   2319 
   2320 $as_echo "/* confdefs.h */" > confdefs.h
   2321 
   2322 # Predefined preprocessor variables.
   2323 
   2324 cat >>confdefs.h <<_ACEOF
   2325 #define PACKAGE_NAME "$PACKAGE_NAME"
   2326 _ACEOF
   2327 
   2328 cat >>confdefs.h <<_ACEOF
   2329 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2330 _ACEOF
   2331 
   2332 cat >>confdefs.h <<_ACEOF
   2333 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2334 _ACEOF
   2335 
   2336 cat >>confdefs.h <<_ACEOF
   2337 #define PACKAGE_STRING "$PACKAGE_STRING"
   2338 _ACEOF
   2339 
   2340 cat >>confdefs.h <<_ACEOF
   2341 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2342 _ACEOF
   2343 
   2344 cat >>confdefs.h <<_ACEOF
   2345 #define PACKAGE_URL "$PACKAGE_URL"
   2346 _ACEOF
   2347 
   2348 
   2349 # Let the site file select an alternate cache file if it wants to.
   2350 # Prefer an explicitly selected file to automatically selected ones.
   2351 ac_site_file1=NONE
   2352 ac_site_file2=NONE
   2353 if test -n "$CONFIG_SITE"; then
   2354   # We do not want a PATH search for config.site.
   2355   case $CONFIG_SITE in #((
   2356     -*)  ac_site_file1=./$CONFIG_SITE;;
   2357     */*) ac_site_file1=$CONFIG_SITE;;
   2358     *)   ac_site_file1=./$CONFIG_SITE;;
   2359   esac
   2360 elif test "x$prefix" != xNONE; then
   2361   ac_site_file1=$prefix/share/config.site
   2362   ac_site_file2=$prefix/etc/config.site
   2363 else
   2364   ac_site_file1=$ac_default_prefix/share/config.site
   2365   ac_site_file2=$ac_default_prefix/etc/config.site
   2366 fi
   2367 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2368 do
   2369   test "x$ac_site_file" = xNONE && continue
   2370   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2371     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2372 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2373     sed 's/^/| /' "$ac_site_file" >&5
   2374     . "$ac_site_file" \
   2375       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2376 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2377 as_fn_error $? "failed to load site script $ac_site_file
   2378 See \`config.log' for more details" "$LINENO" 5; }
   2379   fi
   2380 done
   2381 
   2382 if test -r "$cache_file"; then
   2383   # Some versions of bash will fail to source /dev/null (special files
   2384   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2385   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2386     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2387 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2388     case $cache_file in
   2389       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2390       *)                      . "./$cache_file";;
   2391     esac
   2392   fi
   2393 else
   2394   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2395 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2396   >$cache_file
   2397 fi
   2398 
   2399 # Check that the precious variables saved in the cache have kept the same
   2400 # value.
   2401 ac_cache_corrupted=false
   2402 for ac_var in $ac_precious_vars; do
   2403   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2404   eval ac_new_set=\$ac_env_${ac_var}_set
   2405   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2406   eval ac_new_val=\$ac_env_${ac_var}_value
   2407   case $ac_old_set,$ac_new_set in
   2408     set,)
   2409       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2410 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2411       ac_cache_corrupted=: ;;
   2412     ,set)
   2413       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2414 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2415       ac_cache_corrupted=: ;;
   2416     ,);;
   2417     *)
   2418       if test "x$ac_old_val" != "x$ac_new_val"; then
   2419 	# differences in whitespace do not lead to failure.
   2420 	ac_old_val_w=`echo x $ac_old_val`
   2421 	ac_new_val_w=`echo x $ac_new_val`
   2422 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2423 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2424 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2425 	  ac_cache_corrupted=:
   2426 	else
   2427 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2428 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2429 	  eval $ac_var=\$ac_old_val
   2430 	fi
   2431 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2432 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2433 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2434 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2435       fi;;
   2436   esac
   2437   # Pass precious variables to config.status.
   2438   if test "$ac_new_set" = set; then
   2439     case $ac_new_val in
   2440     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2441     *) ac_arg=$ac_var=$ac_new_val ;;
   2442     esac
   2443     case " $ac_configure_args " in
   2444       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2445       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2446     esac
   2447   fi
   2448 done
   2449 if $ac_cache_corrupted; then
   2450   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2451 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2452   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2453 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2454   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2455 fi
   2456 ## -------------------- ##
   2457 ## Main body of script. ##
   2458 ## -------------------- ##
   2459 
   2460 ac_ext=c
   2461 ac_cpp='$CPP $CPPFLAGS'
   2462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2465 
   2466 
   2467 
   2468 ac_config_headers="$ac_config_headers config.h"
   2469 
   2470 
   2471 
   2472 # Initialize Automake
   2473 am__api_version='1.16'
   2474 
   2475 ac_aux_dir=
   2476 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2477   if test -f "$ac_dir/install-sh"; then
   2478     ac_aux_dir=$ac_dir
   2479     ac_install_sh="$ac_aux_dir/install-sh -c"
   2480     break
   2481   elif test -f "$ac_dir/install.sh"; then
   2482     ac_aux_dir=$ac_dir
   2483     ac_install_sh="$ac_aux_dir/install.sh -c"
   2484     break
   2485   elif test -f "$ac_dir/shtool"; then
   2486     ac_aux_dir=$ac_dir
   2487     ac_install_sh="$ac_aux_dir/shtool install -c"
   2488     break
   2489   fi
   2490 done
   2491 if test -z "$ac_aux_dir"; then
   2492   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2493 fi
   2494 
   2495 # These three variables are undocumented and unsupported,
   2496 # and are intended to be withdrawn in a future Autoconf release.
   2497 # They can cause serious problems if a builder's source tree is in a directory
   2498 # whose full name contains unusual characters.
   2499 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2500 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2501 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2502 
   2503 
   2504 # Find a good install program.  We prefer a C program (faster),
   2505 # so one script is as good as another.  But avoid the broken or
   2506 # incompatible versions:
   2507 # SysV /etc/install, /usr/sbin/install
   2508 # SunOS /usr/etc/install
   2509 # IRIX /sbin/install
   2510 # AIX /bin/install
   2511 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2512 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2513 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2514 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2515 # OS/2's system install, which has a completely different semantic
   2516 # ./install, which can be erroneously created by make from ./install.sh.
   2517 # Reject install programs that cannot install multiple files.
   2518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2519 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2520 if test -z "$INSTALL"; then
   2521 if ${ac_cv_path_install+:} false; then :
   2522   $as_echo_n "(cached) " >&6
   2523 else
   2524   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2525 for as_dir in $PATH
   2526 do
   2527   IFS=$as_save_IFS
   2528   test -z "$as_dir" && as_dir=.
   2529     # Account for people who put trailing slashes in PATH elements.
   2530 case $as_dir/ in #((
   2531   ./ | .// | /[cC]/* | \
   2532   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2533   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2534   /usr/ucb/* ) ;;
   2535   *)
   2536     # OSF1 and SCO ODT 3.0 have their own names for install.
   2537     # Don't use installbsd from OSF since it installs stuff as root
   2538     # by default.
   2539     for ac_prog in ginstall scoinst install; do
   2540       for ac_exec_ext in '' $ac_executable_extensions; do
   2541 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2542 	  if test $ac_prog = install &&
   2543 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2544 	    # AIX install.  It has an incompatible calling convention.
   2545 	    :
   2546 	  elif test $ac_prog = install &&
   2547 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2548 	    # program-specific install script used by HP pwplus--don't use.
   2549 	    :
   2550 	  else
   2551 	    rm -rf conftest.one conftest.two conftest.dir
   2552 	    echo one > conftest.one
   2553 	    echo two > conftest.two
   2554 	    mkdir conftest.dir
   2555 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2556 	      test -s conftest.one && test -s conftest.two &&
   2557 	      test -s conftest.dir/conftest.one &&
   2558 	      test -s conftest.dir/conftest.two
   2559 	    then
   2560 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2561 	      break 3
   2562 	    fi
   2563 	  fi
   2564 	fi
   2565       done
   2566     done
   2567     ;;
   2568 esac
   2569 
   2570   done
   2571 IFS=$as_save_IFS
   2572 
   2573 rm -rf conftest.one conftest.two conftest.dir
   2574 
   2575 fi
   2576   if test "${ac_cv_path_install+set}" = set; then
   2577     INSTALL=$ac_cv_path_install
   2578   else
   2579     # As a last resort, use the slow shell script.  Don't cache a
   2580     # value for INSTALL within a source directory, because that will
   2581     # break other packages using the cache if that directory is
   2582     # removed, or if the value is a relative name.
   2583     INSTALL=$ac_install_sh
   2584   fi
   2585 fi
   2586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2587 $as_echo "$INSTALL" >&6; }
   2588 
   2589 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2590 # It thinks the first close brace ends the variable substitution.
   2591 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2592 
   2593 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2594 
   2595 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2596 
   2597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2598 $as_echo_n "checking whether build environment is sane... " >&6; }
   2599 # Reject unsafe characters in $srcdir or the absolute working directory
   2600 # name.  Accept space and tab only in the latter.
   2601 am_lf='
   2602 '
   2603 case `pwd` in
   2604   *[\\\"\#\$\&\'\`$am_lf]*)
   2605     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2606 esac
   2607 case $srcdir in
   2608   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2609     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2610 esac
   2611 
   2612 # Do 'set' in a subshell so we don't clobber the current shell's
   2613 # arguments.  Must try -L first in case configure is actually a
   2614 # symlink; some systems play weird games with the mod time of symlinks
   2615 # (eg FreeBSD returns the mod time of the symlink's containing
   2616 # directory).
   2617 if (
   2618    am_has_slept=no
   2619    for am_try in 1 2; do
   2620      echo "timestamp, slept: $am_has_slept" > conftest.file
   2621      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2622      if test "$*" = "X"; then
   2623 	# -L didn't work.
   2624 	set X `ls -t "$srcdir/configure" conftest.file`
   2625      fi
   2626      if test "$*" != "X $srcdir/configure conftest.file" \
   2627 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2628 
   2629 	# If neither matched, then we have a broken ls.  This can happen
   2630 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2631 	# broken ls alias from the environment.  This has actually
   2632 	# happened.  Such a system could not be considered "sane".
   2633 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2634   alias in your environment" "$LINENO" 5
   2635      fi
   2636      if test "$2" = conftest.file || test $am_try -eq 2; then
   2637        break
   2638      fi
   2639      # Just in case.
   2640      sleep 1
   2641      am_has_slept=yes
   2642    done
   2643    test "$2" = conftest.file
   2644    )
   2645 then
   2646    # Ok.
   2647    :
   2648 else
   2649    as_fn_error $? "newly created file is older than distributed files!
   2650 Check your system clock" "$LINENO" 5
   2651 fi
   2652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2653 $as_echo "yes" >&6; }
   2654 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2655 # generated files are strictly newer.
   2656 am_sleep_pid=
   2657 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2658   ( sleep 1 ) &
   2659   am_sleep_pid=$!
   2660 fi
   2661 
   2662 rm -f conftest.file
   2663 
   2664 test "$program_prefix" != NONE &&
   2665   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2666 # Use a double $ so make ignores it.
   2667 test "$program_suffix" != NONE &&
   2668   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2669 # Double any \ or $.
   2670 # By default was `s,x,x', remove it if useless.
   2671 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2672 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2673 
   2674 # Expand $ac_aux_dir to an absolute path.
   2675 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2676 
   2677 if test x"${MISSING+set}" != xset; then
   2678   case $am_aux_dir in
   2679   *\ * | *\	*)
   2680     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2681   *)
   2682     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2683   esac
   2684 fi
   2685 # Use eval to expand $SHELL
   2686 if eval "$MISSING --is-lightweight"; then
   2687   am_missing_run="$MISSING "
   2688 else
   2689   am_missing_run=
   2690   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2691 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2692 fi
   2693 
   2694 if test x"${install_sh+set}" != xset; then
   2695   case $am_aux_dir in
   2696   *\ * | *\	*)
   2697     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2698   *)
   2699     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2700   esac
   2701 fi
   2702 
   2703 # Installed binaries are usually stripped using 'strip' when the user
   2704 # run "make install-strip".  However 'strip' might not be the right
   2705 # tool to use in cross-compilation environments, therefore Automake
   2706 # will honor the 'STRIP' environment variable to overrule this program.
   2707 if test "$cross_compiling" != no; then
   2708   if test -n "$ac_tool_prefix"; then
   2709   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2710 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2712 $as_echo_n "checking for $ac_word... " >&6; }
   2713 if ${ac_cv_prog_STRIP+:} false; then :
   2714   $as_echo_n "(cached) " >&6
   2715 else
   2716   if test -n "$STRIP"; then
   2717   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2718 else
   2719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2720 for as_dir in $PATH
   2721 do
   2722   IFS=$as_save_IFS
   2723   test -z "$as_dir" && as_dir=.
   2724     for ac_exec_ext in '' $ac_executable_extensions; do
   2725   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2726     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2727     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2728     break 2
   2729   fi
   2730 done
   2731   done
   2732 IFS=$as_save_IFS
   2733 
   2734 fi
   2735 fi
   2736 STRIP=$ac_cv_prog_STRIP
   2737 if test -n "$STRIP"; then
   2738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2739 $as_echo "$STRIP" >&6; }
   2740 else
   2741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2742 $as_echo "no" >&6; }
   2743 fi
   2744 
   2745 
   2746 fi
   2747 if test -z "$ac_cv_prog_STRIP"; then
   2748   ac_ct_STRIP=$STRIP
   2749   # Extract the first word of "strip", so it can be a program name with args.
   2750 set dummy strip; ac_word=$2
   2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2752 $as_echo_n "checking for $ac_word... " >&6; }
   2753 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2754   $as_echo_n "(cached) " >&6
   2755 else
   2756   if test -n "$ac_ct_STRIP"; then
   2757   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2758 else
   2759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2760 for as_dir in $PATH
   2761 do
   2762   IFS=$as_save_IFS
   2763   test -z "$as_dir" && as_dir=.
   2764     for ac_exec_ext in '' $ac_executable_extensions; do
   2765   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2766     ac_cv_prog_ac_ct_STRIP="strip"
   2767     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2768     break 2
   2769   fi
   2770 done
   2771   done
   2772 IFS=$as_save_IFS
   2773 
   2774 fi
   2775 fi
   2776 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2777 if test -n "$ac_ct_STRIP"; then
   2778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2779 $as_echo "$ac_ct_STRIP" >&6; }
   2780 else
   2781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2782 $as_echo "no" >&6; }
   2783 fi
   2784 
   2785   if test "x$ac_ct_STRIP" = x; then
   2786     STRIP=":"
   2787   else
   2788     case $cross_compiling:$ac_tool_warned in
   2789 yes:)
   2790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2791 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2792 ac_tool_warned=yes ;;
   2793 esac
   2794     STRIP=$ac_ct_STRIP
   2795   fi
   2796 else
   2797   STRIP="$ac_cv_prog_STRIP"
   2798 fi
   2799 
   2800 fi
   2801 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2802 
   2803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2804 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2805 if test -z "$MKDIR_P"; then
   2806   if ${ac_cv_path_mkdir+:} false; then :
   2807   $as_echo_n "(cached) " >&6
   2808 else
   2809   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2810 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2811 do
   2812   IFS=$as_save_IFS
   2813   test -z "$as_dir" && as_dir=.
   2814     for ac_prog in mkdir gmkdir; do
   2815 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2816 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2817 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2818 	     'mkdir (GNU coreutils) '* | \
   2819 	     'mkdir (coreutils) '* | \
   2820 	     'mkdir (fileutils) '4.1*)
   2821 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2822 	       break 3;;
   2823 	   esac
   2824 	 done
   2825        done
   2826   done
   2827 IFS=$as_save_IFS
   2828 
   2829 fi
   2830 
   2831   test -d ./--version && rmdir ./--version
   2832   if test "${ac_cv_path_mkdir+set}" = set; then
   2833     MKDIR_P="$ac_cv_path_mkdir -p"
   2834   else
   2835     # As a last resort, use the slow shell script.  Don't cache a
   2836     # value for MKDIR_P within a source directory, because that will
   2837     # break other packages using the cache if that directory is
   2838     # removed, or if the value is a relative name.
   2839     MKDIR_P="$ac_install_sh -d"
   2840   fi
   2841 fi
   2842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2843 $as_echo "$MKDIR_P" >&6; }
   2844 
   2845 for ac_prog in gawk mawk nawk awk
   2846 do
   2847   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2848 set dummy $ac_prog; ac_word=$2
   2849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2850 $as_echo_n "checking for $ac_word... " >&6; }
   2851 if ${ac_cv_prog_AWK+:} false; then :
   2852   $as_echo_n "(cached) " >&6
   2853 else
   2854   if test -n "$AWK"; then
   2855   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2856 else
   2857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2858 for as_dir in $PATH
   2859 do
   2860   IFS=$as_save_IFS
   2861   test -z "$as_dir" && as_dir=.
   2862     for ac_exec_ext in '' $ac_executable_extensions; do
   2863   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2864     ac_cv_prog_AWK="$ac_prog"
   2865     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2866     break 2
   2867   fi
   2868 done
   2869   done
   2870 IFS=$as_save_IFS
   2871 
   2872 fi
   2873 fi
   2874 AWK=$ac_cv_prog_AWK
   2875 if test -n "$AWK"; then
   2876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2877 $as_echo "$AWK" >&6; }
   2878 else
   2879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2880 $as_echo "no" >&6; }
   2881 fi
   2882 
   2883 
   2884   test -n "$AWK" && break
   2885 done
   2886 
   2887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2888 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2889 set x ${MAKE-make}
   2890 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2891 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2892   $as_echo_n "(cached) " >&6
   2893 else
   2894   cat >conftest.make <<\_ACEOF
   2895 SHELL = /bin/sh
   2896 all:
   2897 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2898 _ACEOF
   2899 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2900 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2901   *@@@%%%=?*=@@@%%%*)
   2902     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2903   *)
   2904     eval ac_cv_prog_make_${ac_make}_set=no;;
   2905 esac
   2906 rm -f conftest.make
   2907 fi
   2908 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2910 $as_echo "yes" >&6; }
   2911   SET_MAKE=
   2912 else
   2913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2914 $as_echo "no" >&6; }
   2915   SET_MAKE="MAKE=${MAKE-make}"
   2916 fi
   2917 
   2918 rm -rf .tst 2>/dev/null
   2919 mkdir .tst 2>/dev/null
   2920 if test -d .tst; then
   2921   am__leading_dot=.
   2922 else
   2923   am__leading_dot=_
   2924 fi
   2925 rmdir .tst 2>/dev/null
   2926 
   2927 # Check whether --enable-silent-rules was given.
   2928 if test "${enable_silent_rules+set}" = set; then :
   2929   enableval=$enable_silent_rules;
   2930 fi
   2931 
   2932 case $enable_silent_rules in # (((
   2933   yes) AM_DEFAULT_VERBOSITY=0;;
   2934    no) AM_DEFAULT_VERBOSITY=1;;
   2935     *) AM_DEFAULT_VERBOSITY=1;;
   2936 esac
   2937 am_make=${MAKE-make}
   2938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2939 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2940 if ${am_cv_make_support_nested_variables+:} false; then :
   2941   $as_echo_n "(cached) " >&6
   2942 else
   2943   if $as_echo 'TRUE=$(BAR$(V))
   2944 BAR0=false
   2945 BAR1=true
   2946 V=1
   2947 am__doit:
   2948 	@$(TRUE)
   2949 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2950   am_cv_make_support_nested_variables=yes
   2951 else
   2952   am_cv_make_support_nested_variables=no
   2953 fi
   2954 fi
   2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2956 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2957 if test $am_cv_make_support_nested_variables = yes; then
   2958     AM_V='$(V)'
   2959   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2960 else
   2961   AM_V=$AM_DEFAULT_VERBOSITY
   2962   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2963 fi
   2964 AM_BACKSLASH='\'
   2965 
   2966 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2967   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2968   # is not polluted with repeated "-I."
   2969   am__isrc=' -I$(srcdir)'
   2970   # test to see if srcdir already configured
   2971   if test -f $srcdir/config.status; then
   2972     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2973   fi
   2974 fi
   2975 
   2976 # test whether we have cygpath
   2977 if test -z "$CYGPATH_W"; then
   2978   if (cygpath --version) >/dev/null 2>/dev/null; then
   2979     CYGPATH_W='cygpath -w'
   2980   else
   2981     CYGPATH_W=echo
   2982   fi
   2983 fi
   2984 
   2985 
   2986 # Define the identity of the package.
   2987  PACKAGE='libXt'
   2988  VERSION='1.2.0'
   2989 
   2990 
   2991 cat >>confdefs.h <<_ACEOF
   2992 #define PACKAGE "$PACKAGE"
   2993 _ACEOF
   2994 
   2995 
   2996 cat >>confdefs.h <<_ACEOF
   2997 #define VERSION "$VERSION"
   2998 _ACEOF
   2999 
   3000 # Some tools Automake needs.
   3001 
   3002 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3003 
   3004 
   3005 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3006 
   3007 
   3008 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3009 
   3010 
   3011 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3012 
   3013 
   3014 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3015 
   3016 # For better backward compatibility.  To be removed once Automake 1.9.x
   3017 # dies out for good.  For more background, see:
   3018 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3019 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3020 mkdir_p='$(MKDIR_P)'
   3021 
   3022 # We need awk for the "check" target (and possibly the TAP driver).  The
   3023 # system "awk" is bad on some platforms.
   3024 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3025 # in the wild :-(  We should find a proper way to deprecate it ...
   3026 AMTAR='$${TAR-tar}'
   3027 
   3028 
   3029 # We'll loop over all known methods to create a tar archive until one works.
   3030 _am_tools='gnutar  pax cpio none'
   3031 
   3032 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3033 
   3034 
   3035 
   3036 
   3037 
   3038 
   3039 # POSIX will say in a future version that running "rm -f" with no argument
   3040 # is OK; and we want to be able to make that assumption in our Makefile
   3041 # recipes.  So use an aggressive probe to check that the usage we want is
   3042 # actually supported "in the wild" to an acceptable degree.
   3043 # See automake bug#10828.
   3044 # To make any issue more visible, cause the running configure to be aborted
   3045 # by default if the 'rm' program in use doesn't match our expectations; the
   3046 # user can still override this though.
   3047 if rm -f && rm -fr && rm -rf; then : OK; else
   3048   cat >&2 <<'END'
   3049 Oops!
   3050 
   3051 Your 'rm' program seems unable to run without file operands specified
   3052 on the command line, even when the '-f' option is present.  This is contrary
   3053 to the behaviour of most rm programs out there, and not conforming with
   3054 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3055 
   3056 Please tell bug-automake@gnu.org about your system, including the value
   3057 of your $PATH and any error possibly output before this message.  This
   3058 can help us improve future automake versions.
   3059 
   3060 END
   3061   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3062     echo 'Configuration will proceed anyway, since you have set the' >&2
   3063     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3064     echo >&2
   3065   else
   3066     cat >&2 <<'END'
   3067 Aborting the configuration process, to ensure you take notice of the issue.
   3068 
   3069 You can download and install GNU coreutils to get an 'rm' implementation
   3070 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3071 
   3072 If you want to complete the configuration process using your problematic
   3073 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3074 to "yes", and re-run configure.
   3075 
   3076 END
   3077     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3078   fi
   3079 fi
   3080 
   3081 
   3082 # Initialize libtool
   3083 case `pwd` in
   3084   *\ * | *\	*)
   3085     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   3086 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   3087 esac
   3088 
   3089 
   3090 
   3091 macro_version='2.4.6'
   3092 macro_revision='2.4.6'
   3093 
   3094 
   3095 
   3096 
   3097 
   3098 
   3099 
   3100 
   3101 
   3102 
   3103 
   3104 
   3105 
   3106 ltmain=$ac_aux_dir/ltmain.sh
   3107 
   3108 # Make sure we can run config.sub.
   3109 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3110   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   3111 
   3112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3113 $as_echo_n "checking build system type... " >&6; }
   3114 if ${ac_cv_build+:} false; then :
   3115   $as_echo_n "(cached) " >&6
   3116 else
   3117   ac_build_alias=$build_alias
   3118 test "x$ac_build_alias" = x &&
   3119   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3120 test "x$ac_build_alias" = x &&
   3121   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3122 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3123   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   3124 
   3125 fi
   3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3127 $as_echo "$ac_cv_build" >&6; }
   3128 case $ac_cv_build in
   3129 *-*-*) ;;
   3130 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3131 esac
   3132 build=$ac_cv_build
   3133 ac_save_IFS=$IFS; IFS='-'
   3134 set x $ac_cv_build
   3135 shift
   3136 build_cpu=$1
   3137 build_vendor=$2
   3138 shift; shift
   3139 # Remember, the first character of IFS is used to create $*,
   3140 # except with old shells:
   3141 build_os=$*
   3142 IFS=$ac_save_IFS
   3143 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3144 
   3145 
   3146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3147 $as_echo_n "checking host system type... " >&6; }
   3148 if ${ac_cv_host+:} false; then :
   3149   $as_echo_n "(cached) " >&6
   3150 else
   3151   if test "x$host_alias" = x; then
   3152   ac_cv_host=$ac_cv_build
   3153 else
   3154   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3155     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   3156 fi
   3157 
   3158 fi
   3159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3160 $as_echo "$ac_cv_host" >&6; }
   3161 case $ac_cv_host in
   3162 *-*-*) ;;
   3163 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3164 esac
   3165 host=$ac_cv_host
   3166 ac_save_IFS=$IFS; IFS='-'
   3167 set x $ac_cv_host
   3168 shift
   3169 host_cpu=$1
   3170 host_vendor=$2
   3171 shift; shift
   3172 # Remember, the first character of IFS is used to create $*,
   3173 # except with old shells:
   3174 host_os=$*
   3175 IFS=$ac_save_IFS
   3176 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3177 
   3178 
   3179 # Backslashify metacharacters that are still active within
   3180 # double-quoted strings.
   3181 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   3182 
   3183 # Same as above, but do not quote variable references.
   3184 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   3185 
   3186 # Sed substitution to delay expansion of an escaped shell variable in a
   3187 # double_quote_subst'ed string.
   3188 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   3189 
   3190 # Sed substitution to delay expansion of an escaped single quote.
   3191 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   3192 
   3193 # Sed substitution to avoid accidental globbing in evaled expressions
   3194 no_glob_subst='s/\*/\\\*/g'
   3195 
   3196 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   3197 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   3198 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   3199 
   3200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   3201 $as_echo_n "checking how to print strings... " >&6; }
   3202 # Test print first, because it will be a builtin if present.
   3203 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   3204    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   3205   ECHO='print -r --'
   3206 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   3207   ECHO='printf %s\n'
   3208 else
   3209   # Use this function as a fallback that always works.
   3210   func_fallback_echo ()
   3211   {
   3212     eval 'cat <<_LTECHO_EOF
   3213 $1
   3214 _LTECHO_EOF'
   3215   }
   3216   ECHO='func_fallback_echo'
   3217 fi
   3218 
   3219 # func_echo_all arg...
   3220 # Invoke $ECHO with all args, space-separated.
   3221 func_echo_all ()
   3222 {
   3223     $ECHO ""
   3224 }
   3225 
   3226 case $ECHO in
   3227   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   3228 $as_echo "printf" >&6; } ;;
   3229   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   3230 $as_echo "print -r" >&6; } ;;
   3231   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   3232 $as_echo "cat" >&6; } ;;
   3233 esac
   3234 
   3235 
   3236 
   3237 
   3238 
   3239 
   3240 
   3241 
   3242 
   3243 
   3244 
   3245 
   3246 
   3247 
   3248 DEPDIR="${am__leading_dot}deps"
   3249 
   3250 ac_config_commands="$ac_config_commands depfiles"
   3251 
   3252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3253 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3254 cat > confinc.mk << 'END'
   3255 am__doit:
   3256 	@echo this is the am__doit target >confinc.out
   3257 .PHONY: am__doit
   3258 END
   3259 am__include="#"
   3260 am__quote=
   3261 # BSD make does it like this.
   3262 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3263 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3264 echo 'include confinc.mk # ignored' > confmf.GNU
   3265 _am_result=no
   3266 for s in GNU BSD; do
   3267   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3268    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3269    ac_status=$?
   3270    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3271    (exit $ac_status); }
   3272   case $?:`cat confinc.out 2>/dev/null` in #(
   3273   '0:this is the am__doit target') :
   3274     case $s in #(
   3275   BSD) :
   3276     am__include='.include' am__quote='"' ;; #(
   3277   *) :
   3278     am__include='include' am__quote='' ;;
   3279 esac ;; #(
   3280   *) :
   3281      ;;
   3282 esac
   3283   if test "$am__include" != "#"; then
   3284     _am_result="yes ($s style)"
   3285     break
   3286   fi
   3287 done
   3288 rm -f confinc.* confmf.*
   3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3290 $as_echo "${_am_result}" >&6; }
   3291 
   3292 # Check whether --enable-dependency-tracking was given.
   3293 if test "${enable_dependency_tracking+set}" = set; then :
   3294   enableval=$enable_dependency_tracking;
   3295 fi
   3296 
   3297 if test "x$enable_dependency_tracking" != xno; then
   3298   am_depcomp="$ac_aux_dir/depcomp"
   3299   AMDEPBACKSLASH='\'
   3300   am__nodep='_no'
   3301 fi
   3302  if test "x$enable_dependency_tracking" != xno; then
   3303   AMDEP_TRUE=
   3304   AMDEP_FALSE='#'
   3305 else
   3306   AMDEP_TRUE='#'
   3307   AMDEP_FALSE=
   3308 fi
   3309 
   3310 
   3311 ac_ext=c
   3312 ac_cpp='$CPP $CPPFLAGS'
   3313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3316 if test -n "$ac_tool_prefix"; then
   3317   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3318 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3320 $as_echo_n "checking for $ac_word... " >&6; }
   3321 if ${ac_cv_prog_CC+:} false; then :
   3322   $as_echo_n "(cached) " >&6
   3323 else
   3324   if test -n "$CC"; then
   3325   ac_cv_prog_CC="$CC" # Let the user override the test.
   3326 else
   3327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3328 for as_dir in $PATH
   3329 do
   3330   IFS=$as_save_IFS
   3331   test -z "$as_dir" && as_dir=.
   3332     for ac_exec_ext in '' $ac_executable_extensions; do
   3333   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3334     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3335     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3336     break 2
   3337   fi
   3338 done
   3339   done
   3340 IFS=$as_save_IFS
   3341 
   3342 fi
   3343 fi
   3344 CC=$ac_cv_prog_CC
   3345 if test -n "$CC"; then
   3346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3347 $as_echo "$CC" >&6; }
   3348 else
   3349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3350 $as_echo "no" >&6; }
   3351 fi
   3352 
   3353 
   3354 fi
   3355 if test -z "$ac_cv_prog_CC"; then
   3356   ac_ct_CC=$CC
   3357   # Extract the first word of "gcc", so it can be a program name with args.
   3358 set dummy gcc; ac_word=$2
   3359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3360 $as_echo_n "checking for $ac_word... " >&6; }
   3361 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3362   $as_echo_n "(cached) " >&6
   3363 else
   3364   if test -n "$ac_ct_CC"; then
   3365   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3366 else
   3367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3368 for as_dir in $PATH
   3369 do
   3370   IFS=$as_save_IFS
   3371   test -z "$as_dir" && as_dir=.
   3372     for ac_exec_ext in '' $ac_executable_extensions; do
   3373   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3374     ac_cv_prog_ac_ct_CC="gcc"
   3375     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3376     break 2
   3377   fi
   3378 done
   3379   done
   3380 IFS=$as_save_IFS
   3381 
   3382 fi
   3383 fi
   3384 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3385 if test -n "$ac_ct_CC"; then
   3386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3387 $as_echo "$ac_ct_CC" >&6; }
   3388 else
   3389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3390 $as_echo "no" >&6; }
   3391 fi
   3392 
   3393   if test "x$ac_ct_CC" = x; then
   3394     CC=""
   3395   else
   3396     case $cross_compiling:$ac_tool_warned in
   3397 yes:)
   3398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3399 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3400 ac_tool_warned=yes ;;
   3401 esac
   3402     CC=$ac_ct_CC
   3403   fi
   3404 else
   3405   CC="$ac_cv_prog_CC"
   3406 fi
   3407 
   3408 if test -z "$CC"; then
   3409           if test -n "$ac_tool_prefix"; then
   3410     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3411 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3413 $as_echo_n "checking for $ac_word... " >&6; }
   3414 if ${ac_cv_prog_CC+:} false; then :
   3415   $as_echo_n "(cached) " >&6
   3416 else
   3417   if test -n "$CC"; then
   3418   ac_cv_prog_CC="$CC" # Let the user override the test.
   3419 else
   3420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3421 for as_dir in $PATH
   3422 do
   3423   IFS=$as_save_IFS
   3424   test -z "$as_dir" && as_dir=.
   3425     for ac_exec_ext in '' $ac_executable_extensions; do
   3426   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3427     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3428     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3429     break 2
   3430   fi
   3431 done
   3432   done
   3433 IFS=$as_save_IFS
   3434 
   3435 fi
   3436 fi
   3437 CC=$ac_cv_prog_CC
   3438 if test -n "$CC"; then
   3439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3440 $as_echo "$CC" >&6; }
   3441 else
   3442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3443 $as_echo "no" >&6; }
   3444 fi
   3445 
   3446 
   3447   fi
   3448 fi
   3449 if test -z "$CC"; then
   3450   # Extract the first word of "cc", so it can be a program name with args.
   3451 set dummy cc; ac_word=$2
   3452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3453 $as_echo_n "checking for $ac_word... " >&6; }
   3454 if ${ac_cv_prog_CC+:} false; then :
   3455   $as_echo_n "(cached) " >&6
   3456 else
   3457   if test -n "$CC"; then
   3458   ac_cv_prog_CC="$CC" # Let the user override the test.
   3459 else
   3460   ac_prog_rejected=no
   3461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3462 for as_dir in $PATH
   3463 do
   3464   IFS=$as_save_IFS
   3465   test -z "$as_dir" && as_dir=.
   3466     for ac_exec_ext in '' $ac_executable_extensions; do
   3467   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3468     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3469        ac_prog_rejected=yes
   3470        continue
   3471      fi
   3472     ac_cv_prog_CC="cc"
   3473     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3474     break 2
   3475   fi
   3476 done
   3477   done
   3478 IFS=$as_save_IFS
   3479 
   3480 if test $ac_prog_rejected = yes; then
   3481   # We found a bogon in the path, so make sure we never use it.
   3482   set dummy $ac_cv_prog_CC
   3483   shift
   3484   if test $# != 0; then
   3485     # We chose a different compiler from the bogus one.
   3486     # However, it has the same basename, so the bogon will be chosen
   3487     # first if we set CC to just the basename; use the full file name.
   3488     shift
   3489     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3490   fi
   3491 fi
   3492 fi
   3493 fi
   3494 CC=$ac_cv_prog_CC
   3495 if test -n "$CC"; then
   3496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3497 $as_echo "$CC" >&6; }
   3498 else
   3499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3500 $as_echo "no" >&6; }
   3501 fi
   3502 
   3503 
   3504 fi
   3505 if test -z "$CC"; then
   3506   if test -n "$ac_tool_prefix"; then
   3507   for ac_prog in cl.exe
   3508   do
   3509     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3510 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3512 $as_echo_n "checking for $ac_word... " >&6; }
   3513 if ${ac_cv_prog_CC+:} false; then :
   3514   $as_echo_n "(cached) " >&6
   3515 else
   3516   if test -n "$CC"; then
   3517   ac_cv_prog_CC="$CC" # Let the user override the test.
   3518 else
   3519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3520 for as_dir in $PATH
   3521 do
   3522   IFS=$as_save_IFS
   3523   test -z "$as_dir" && as_dir=.
   3524     for ac_exec_ext in '' $ac_executable_extensions; do
   3525   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3526     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3527     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3528     break 2
   3529   fi
   3530 done
   3531   done
   3532 IFS=$as_save_IFS
   3533 
   3534 fi
   3535 fi
   3536 CC=$ac_cv_prog_CC
   3537 if test -n "$CC"; then
   3538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3539 $as_echo "$CC" >&6; }
   3540 else
   3541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3542 $as_echo "no" >&6; }
   3543 fi
   3544 
   3545 
   3546     test -n "$CC" && break
   3547   done
   3548 fi
   3549 if test -z "$CC"; then
   3550   ac_ct_CC=$CC
   3551   for ac_prog in cl.exe
   3552 do
   3553   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3554 set dummy $ac_prog; ac_word=$2
   3555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3556 $as_echo_n "checking for $ac_word... " >&6; }
   3557 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3558   $as_echo_n "(cached) " >&6
   3559 else
   3560   if test -n "$ac_ct_CC"; then
   3561   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3562 else
   3563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3564 for as_dir in $PATH
   3565 do
   3566   IFS=$as_save_IFS
   3567   test -z "$as_dir" && as_dir=.
   3568     for ac_exec_ext in '' $ac_executable_extensions; do
   3569   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3570     ac_cv_prog_ac_ct_CC="$ac_prog"
   3571     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3572     break 2
   3573   fi
   3574 done
   3575   done
   3576 IFS=$as_save_IFS
   3577 
   3578 fi
   3579 fi
   3580 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3581 if test -n "$ac_ct_CC"; then
   3582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3583 $as_echo "$ac_ct_CC" >&6; }
   3584 else
   3585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3586 $as_echo "no" >&6; }
   3587 fi
   3588 
   3589 
   3590   test -n "$ac_ct_CC" && break
   3591 done
   3592 
   3593   if test "x$ac_ct_CC" = x; then
   3594     CC=""
   3595   else
   3596     case $cross_compiling:$ac_tool_warned in
   3597 yes:)
   3598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3599 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3600 ac_tool_warned=yes ;;
   3601 esac
   3602     CC=$ac_ct_CC
   3603   fi
   3604 fi
   3605 
   3606 fi
   3607 
   3608 
   3609 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3610 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3611 as_fn_error $? "no acceptable C compiler found in \$PATH
   3612 See \`config.log' for more details" "$LINENO" 5; }
   3613 
   3614 # Provide some information about the compiler.
   3615 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3616 set X $ac_compile
   3617 ac_compiler=$2
   3618 for ac_option in --version -v -V -qversion; do
   3619   { { ac_try="$ac_compiler $ac_option >&5"
   3620 case "(($ac_try" in
   3621   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3622   *) ac_try_echo=$ac_try;;
   3623 esac
   3624 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3625 $as_echo "$ac_try_echo"; } >&5
   3626   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3627   ac_status=$?
   3628   if test -s conftest.err; then
   3629     sed '10a\
   3630 ... rest of stderr output deleted ...
   3631          10q' conftest.err >conftest.er1
   3632     cat conftest.er1 >&5
   3633   fi
   3634   rm -f conftest.er1 conftest.err
   3635   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3636   test $ac_status = 0; }
   3637 done
   3638 
   3639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3640 /* end confdefs.h.  */
   3641 
   3642 int
   3643 main ()
   3644 {
   3645 
   3646   ;
   3647   return 0;
   3648 }
   3649 _ACEOF
   3650 ac_clean_files_save=$ac_clean_files
   3651 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3652 # Try to create an executable without -o first, disregard a.out.
   3653 # It will help us diagnose broken compilers, and finding out an intuition
   3654 # of exeext.
   3655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3656 $as_echo_n "checking whether the C compiler works... " >&6; }
   3657 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3658 
   3659 # The possible output files:
   3660 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3661 
   3662 ac_rmfiles=
   3663 for ac_file in $ac_files
   3664 do
   3665   case $ac_file in
   3666     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3667     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3668   esac
   3669 done
   3670 rm -f $ac_rmfiles
   3671 
   3672 if { { ac_try="$ac_link_default"
   3673 case "(($ac_try" in
   3674   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3675   *) ac_try_echo=$ac_try;;
   3676 esac
   3677 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3678 $as_echo "$ac_try_echo"; } >&5
   3679   (eval "$ac_link_default") 2>&5
   3680   ac_status=$?
   3681   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3682   test $ac_status = 0; }; then :
   3683   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3684 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3685 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3686 # so that the user can short-circuit this test for compilers unknown to
   3687 # Autoconf.
   3688 for ac_file in $ac_files ''
   3689 do
   3690   test -f "$ac_file" || continue
   3691   case $ac_file in
   3692     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3693 	;;
   3694     [ab].out )
   3695 	# We found the default executable, but exeext='' is most
   3696 	# certainly right.
   3697 	break;;
   3698     *.* )
   3699 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3700 	then :; else
   3701 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3702 	fi
   3703 	# We set ac_cv_exeext here because the later test for it is not
   3704 	# safe: cross compilers may not add the suffix if given an `-o'
   3705 	# argument, so we may need to know it at that point already.
   3706 	# Even if this section looks crufty: it has the advantage of
   3707 	# actually working.
   3708 	break;;
   3709     * )
   3710 	break;;
   3711   esac
   3712 done
   3713 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3714 
   3715 else
   3716   ac_file=''
   3717 fi
   3718 if test -z "$ac_file"; then :
   3719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3720 $as_echo "no" >&6; }
   3721 $as_echo "$as_me: failed program was:" >&5
   3722 sed 's/^/| /' conftest.$ac_ext >&5
   3723 
   3724 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3725 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3726 as_fn_error 77 "C compiler cannot create executables
   3727 See \`config.log' for more details" "$LINENO" 5; }
   3728 else
   3729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3730 $as_echo "yes" >&6; }
   3731 fi
   3732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3733 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3735 $as_echo "$ac_file" >&6; }
   3736 ac_exeext=$ac_cv_exeext
   3737 
   3738 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3739 ac_clean_files=$ac_clean_files_save
   3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3741 $as_echo_n "checking for suffix of executables... " >&6; }
   3742 if { { ac_try="$ac_link"
   3743 case "(($ac_try" in
   3744   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3745   *) ac_try_echo=$ac_try;;
   3746 esac
   3747 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3748 $as_echo "$ac_try_echo"; } >&5
   3749   (eval "$ac_link") 2>&5
   3750   ac_status=$?
   3751   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3752   test $ac_status = 0; }; then :
   3753   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3754 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3755 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3756 # `rm'.
   3757 for ac_file in conftest.exe conftest conftest.*; do
   3758   test -f "$ac_file" || continue
   3759   case $ac_file in
   3760     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3761     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3762 	  break;;
   3763     * ) break;;
   3764   esac
   3765 done
   3766 else
   3767   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3768 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3769 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3770 See \`config.log' for more details" "$LINENO" 5; }
   3771 fi
   3772 rm -f conftest conftest$ac_cv_exeext
   3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3774 $as_echo "$ac_cv_exeext" >&6; }
   3775 
   3776 rm -f conftest.$ac_ext
   3777 EXEEXT=$ac_cv_exeext
   3778 ac_exeext=$EXEEXT
   3779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3780 /* end confdefs.h.  */
   3781 #include <stdio.h>
   3782 int
   3783 main ()
   3784 {
   3785 FILE *f = fopen ("conftest.out", "w");
   3786  return ferror (f) || fclose (f) != 0;
   3787 
   3788   ;
   3789   return 0;
   3790 }
   3791 _ACEOF
   3792 ac_clean_files="$ac_clean_files conftest.out"
   3793 # Check that the compiler produces executables we can run.  If not, either
   3794 # the compiler is broken, or we cross compile.
   3795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3796 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3797 if test "$cross_compiling" != yes; then
   3798   { { ac_try="$ac_link"
   3799 case "(($ac_try" in
   3800   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3801   *) ac_try_echo=$ac_try;;
   3802 esac
   3803 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3804 $as_echo "$ac_try_echo"; } >&5
   3805   (eval "$ac_link") 2>&5
   3806   ac_status=$?
   3807   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3808   test $ac_status = 0; }
   3809   if { ac_try='./conftest$ac_cv_exeext'
   3810   { { case "(($ac_try" in
   3811   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3812   *) ac_try_echo=$ac_try;;
   3813 esac
   3814 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3815 $as_echo "$ac_try_echo"; } >&5
   3816   (eval "$ac_try") 2>&5
   3817   ac_status=$?
   3818   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3819   test $ac_status = 0; }; }; then
   3820     cross_compiling=no
   3821   else
   3822     if test "$cross_compiling" = maybe; then
   3823 	cross_compiling=yes
   3824     else
   3825 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3826 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3827 as_fn_error $? "cannot run C compiled programs.
   3828 If you meant to cross compile, use \`--host'.
   3829 See \`config.log' for more details" "$LINENO" 5; }
   3830     fi
   3831   fi
   3832 fi
   3833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3834 $as_echo "$cross_compiling" >&6; }
   3835 
   3836 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3837 ac_clean_files=$ac_clean_files_save
   3838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3839 $as_echo_n "checking for suffix of object files... " >&6; }
   3840 if ${ac_cv_objext+:} false; then :
   3841   $as_echo_n "(cached) " >&6
   3842 else
   3843   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3844 /* end confdefs.h.  */
   3845 
   3846 int
   3847 main ()
   3848 {
   3849 
   3850   ;
   3851   return 0;
   3852 }
   3853 _ACEOF
   3854 rm -f conftest.o conftest.obj
   3855 if { { ac_try="$ac_compile"
   3856 case "(($ac_try" in
   3857   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3858   *) ac_try_echo=$ac_try;;
   3859 esac
   3860 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3861 $as_echo "$ac_try_echo"; } >&5
   3862   (eval "$ac_compile") 2>&5
   3863   ac_status=$?
   3864   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3865   test $ac_status = 0; }; then :
   3866   for ac_file in conftest.o conftest.obj conftest.*; do
   3867   test -f "$ac_file" || continue;
   3868   case $ac_file in
   3869     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3870     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3871        break;;
   3872   esac
   3873 done
   3874 else
   3875   $as_echo "$as_me: failed program was:" >&5
   3876 sed 's/^/| /' conftest.$ac_ext >&5
   3877 
   3878 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3879 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3880 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3881 See \`config.log' for more details" "$LINENO" 5; }
   3882 fi
   3883 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3884 fi
   3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3886 $as_echo "$ac_cv_objext" >&6; }
   3887 OBJEXT=$ac_cv_objext
   3888 ac_objext=$OBJEXT
   3889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3890 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3891 if ${ac_cv_c_compiler_gnu+:} false; then :
   3892   $as_echo_n "(cached) " >&6
   3893 else
   3894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3895 /* end confdefs.h.  */
   3896 
   3897 int
   3898 main ()
   3899 {
   3900 #ifndef __GNUC__
   3901        choke me
   3902 #endif
   3903 
   3904   ;
   3905   return 0;
   3906 }
   3907 _ACEOF
   3908 if ac_fn_c_try_compile "$LINENO"; then :
   3909   ac_compiler_gnu=yes
   3910 else
   3911   ac_compiler_gnu=no
   3912 fi
   3913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3914 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3915 
   3916 fi
   3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3918 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3919 if test $ac_compiler_gnu = yes; then
   3920   GCC=yes
   3921 else
   3922   GCC=
   3923 fi
   3924 ac_test_CFLAGS=${CFLAGS+set}
   3925 ac_save_CFLAGS=$CFLAGS
   3926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3927 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3928 if ${ac_cv_prog_cc_g+:} false; then :
   3929   $as_echo_n "(cached) " >&6
   3930 else
   3931   ac_save_c_werror_flag=$ac_c_werror_flag
   3932    ac_c_werror_flag=yes
   3933    ac_cv_prog_cc_g=no
   3934    CFLAGS="-g"
   3935    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3936 /* end confdefs.h.  */
   3937 
   3938 int
   3939 main ()
   3940 {
   3941 
   3942   ;
   3943   return 0;
   3944 }
   3945 _ACEOF
   3946 if ac_fn_c_try_compile "$LINENO"; then :
   3947   ac_cv_prog_cc_g=yes
   3948 else
   3949   CFLAGS=""
   3950       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3951 /* end confdefs.h.  */
   3952 
   3953 int
   3954 main ()
   3955 {
   3956 
   3957   ;
   3958   return 0;
   3959 }
   3960 _ACEOF
   3961 if ac_fn_c_try_compile "$LINENO"; then :
   3962 
   3963 else
   3964   ac_c_werror_flag=$ac_save_c_werror_flag
   3965 	 CFLAGS="-g"
   3966 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3967 /* end confdefs.h.  */
   3968 
   3969 int
   3970 main ()
   3971 {
   3972 
   3973   ;
   3974   return 0;
   3975 }
   3976 _ACEOF
   3977 if ac_fn_c_try_compile "$LINENO"; then :
   3978   ac_cv_prog_cc_g=yes
   3979 fi
   3980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3981 fi
   3982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3983 fi
   3984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3985    ac_c_werror_flag=$ac_save_c_werror_flag
   3986 fi
   3987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3988 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3989 if test "$ac_test_CFLAGS" = set; then
   3990   CFLAGS=$ac_save_CFLAGS
   3991 elif test $ac_cv_prog_cc_g = yes; then
   3992   if test "$GCC" = yes; then
   3993     CFLAGS="-g -O2"
   3994   else
   3995     CFLAGS="-g"
   3996   fi
   3997 else
   3998   if test "$GCC" = yes; then
   3999     CFLAGS="-O2"
   4000   else
   4001     CFLAGS=
   4002   fi
   4003 fi
   4004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   4005 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   4006 if ${ac_cv_prog_cc_c89+:} false; then :
   4007   $as_echo_n "(cached) " >&6
   4008 else
   4009   ac_cv_prog_cc_c89=no
   4010 ac_save_CC=$CC
   4011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4012 /* end confdefs.h.  */
   4013 #include <stdarg.h>
   4014 #include <stdio.h>
   4015 struct stat;
   4016 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   4017 struct buf { int x; };
   4018 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   4019 static char *e (p, i)
   4020      char **p;
   4021      int i;
   4022 {
   4023   return p[i];
   4024 }
   4025 static char *f (char * (*g) (char **, int), char **p, ...)
   4026 {
   4027   char *s;
   4028   va_list v;
   4029   va_start (v,p);
   4030   s = g (p, va_arg (v,int));
   4031   va_end (v);
   4032   return s;
   4033 }
   4034 
   4035 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4036    function prototypes and stuff, but not '\xHH' hex character constants.
   4037    These don't provoke an error unfortunately, instead are silently treated
   4038    as 'x'.  The following induces an error, until -std is added to get
   4039    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4040    array size at least.  It's necessary to write '\x00'==0 to get something
   4041    that's true only with -std.  */
   4042 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4043 
   4044 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   4045    inside strings and character constants.  */
   4046 #define FOO(x) 'x'
   4047 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   4048 
   4049 int test (int i, double x);
   4050 struct s1 {int (*f) (int a);};
   4051 struct s2 {int (*f) (double a);};
   4052 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4053 int argc;
   4054 char **argv;
   4055 int
   4056 main ()
   4057 {
   4058 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4059   ;
   4060   return 0;
   4061 }
   4062 _ACEOF
   4063 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   4064 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4065 do
   4066   CC="$ac_save_CC $ac_arg"
   4067   if ac_fn_c_try_compile "$LINENO"; then :
   4068   ac_cv_prog_cc_c89=$ac_arg
   4069 fi
   4070 rm -f core conftest.err conftest.$ac_objext
   4071   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4072 done
   4073 rm -f conftest.$ac_ext
   4074 CC=$ac_save_CC
   4075 
   4076 fi
   4077 # AC_CACHE_VAL
   4078 case "x$ac_cv_prog_cc_c89" in
   4079   x)
   4080     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4081 $as_echo "none needed" >&6; } ;;
   4082   xno)
   4083     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4084 $as_echo "unsupported" >&6; } ;;
   4085   *)
   4086     CC="$CC $ac_cv_prog_cc_c89"
   4087     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4088 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4089 esac
   4090 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4091 
   4092 fi
   4093 
   4094 ac_ext=c
   4095 ac_cpp='$CPP $CPPFLAGS'
   4096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4099 
   4100 ac_ext=c
   4101 ac_cpp='$CPP $CPPFLAGS'
   4102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4106 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   4107 if ${am_cv_prog_cc_c_o+:} false; then :
   4108   $as_echo_n "(cached) " >&6
   4109 else
   4110   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4111 /* end confdefs.h.  */
   4112 
   4113 int
   4114 main ()
   4115 {
   4116 
   4117   ;
   4118   return 0;
   4119 }
   4120 _ACEOF
   4121   # Make sure it works both with $CC and with simple cc.
   4122   # Following AC_PROG_CC_C_O, we do the test twice because some
   4123   # compilers refuse to overwrite an existing .o file with -o,
   4124   # though they will create one.
   4125   am_cv_prog_cc_c_o=yes
   4126   for am_i in 1 2; do
   4127     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4128    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4129    ac_status=$?
   4130    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4131    (exit $ac_status); } \
   4132          && test -f conftest2.$ac_objext; then
   4133       : OK
   4134     else
   4135       am_cv_prog_cc_c_o=no
   4136       break
   4137     fi
   4138   done
   4139   rm -f core conftest*
   4140   unset am_i
   4141 fi
   4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4143 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   4144 if test "$am_cv_prog_cc_c_o" != yes; then
   4145    # Losing compiler, so override with the script.
   4146    # FIXME: It is wrong to rewrite CC.
   4147    # But if we don't then we get into trouble of one sort or another.
   4148    # A longer-term fix would be to have automake use am__CC in this case,
   4149    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4150    CC="$am_aux_dir/compile $CC"
   4151 fi
   4152 ac_ext=c
   4153 ac_cpp='$CPP $CPPFLAGS'
   4154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4157 
   4158 
   4159 depcc="$CC"   am_compiler_list=
   4160 
   4161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4162 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4163 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4164   $as_echo_n "(cached) " >&6
   4165 else
   4166   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4167   # We make a subdir and do the tests there.  Otherwise we can end up
   4168   # making bogus files that we don't know about and never remove.  For
   4169   # instance it was reported that on HP-UX the gcc test will end up
   4170   # making a dummy file named 'D' -- because '-MD' means "put the output
   4171   # in D".
   4172   rm -rf conftest.dir
   4173   mkdir conftest.dir
   4174   # Copy depcomp to subdir because otherwise we won't find it if we're
   4175   # using a relative directory.
   4176   cp "$am_depcomp" conftest.dir
   4177   cd conftest.dir
   4178   # We will build objects and dependencies in a subdirectory because
   4179   # it helps to detect inapplicable dependency modes.  For instance
   4180   # both Tru64's cc and ICC support -MD to output dependencies as a
   4181   # side effect of compilation, but ICC will put the dependencies in
   4182   # the current directory while Tru64 will put them in the object
   4183   # directory.
   4184   mkdir sub
   4185 
   4186   am_cv_CC_dependencies_compiler_type=none
   4187   if test "$am_compiler_list" = ""; then
   4188      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4189   fi
   4190   am__universal=false
   4191   case " $depcc " in #(
   4192      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4193      esac
   4194 
   4195   for depmode in $am_compiler_list; do
   4196     # Setup a source with many dependencies, because some compilers
   4197     # like to wrap large dependency lists on column 80 (with \), and
   4198     # we should not choose a depcomp mode which is confused by this.
   4199     #
   4200     # We need to recreate these files for each test, as the compiler may
   4201     # overwrite some of them when testing with obscure command lines.
   4202     # This happens at least with the AIX C compiler.
   4203     : > sub/conftest.c
   4204     for i in 1 2 3 4 5 6; do
   4205       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4206       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4207       # Solaris 10 /bin/sh.
   4208       echo '/* dummy */' > sub/conftst$i.h
   4209     done
   4210     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4211 
   4212     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4213     # mode.  It turns out that the SunPro C++ compiler does not properly
   4214     # handle '-M -o', and we need to detect this.  Also, some Intel
   4215     # versions had trouble with output in subdirs.
   4216     am__obj=sub/conftest.${OBJEXT-o}
   4217     am__minus_obj="-o $am__obj"
   4218     case $depmode in
   4219     gcc)
   4220       # This depmode causes a compiler race in universal mode.
   4221       test "$am__universal" = false || continue
   4222       ;;
   4223     nosideeffect)
   4224       # After this tag, mechanisms are not by side-effect, so they'll
   4225       # only be used when explicitly requested.
   4226       if test "x$enable_dependency_tracking" = xyes; then
   4227 	continue
   4228       else
   4229 	break
   4230       fi
   4231       ;;
   4232     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4233       # This compiler won't grok '-c -o', but also, the minuso test has
   4234       # not run yet.  These depmodes are late enough in the game, and
   4235       # so weak that their functioning should not be impacted.
   4236       am__obj=conftest.${OBJEXT-o}
   4237       am__minus_obj=
   4238       ;;
   4239     none) break ;;
   4240     esac
   4241     if depmode=$depmode \
   4242        source=sub/conftest.c object=$am__obj \
   4243        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4244        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4245          >/dev/null 2>conftest.err &&
   4246        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4247        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4248        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4249        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4250       # icc doesn't choke on unknown options, it will just issue warnings
   4251       # or remarks (even with -Werror).  So we grep stderr for any message
   4252       # that says an option was ignored or not supported.
   4253       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4254       #   icc: Command line warning: ignoring option '-M'; no argument required
   4255       # The diagnosis changed in icc 8.0:
   4256       #   icc: Command line remark: option '-MP' not supported
   4257       if (grep 'ignoring option' conftest.err ||
   4258           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4259         am_cv_CC_dependencies_compiler_type=$depmode
   4260         break
   4261       fi
   4262     fi
   4263   done
   4264 
   4265   cd ..
   4266   rm -rf conftest.dir
   4267 else
   4268   am_cv_CC_dependencies_compiler_type=none
   4269 fi
   4270 
   4271 fi
   4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4273 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4274 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4275 
   4276  if
   4277   test "x$enable_dependency_tracking" != xno \
   4278   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4279   am__fastdepCC_TRUE=
   4280   am__fastdepCC_FALSE='#'
   4281 else
   4282   am__fastdepCC_TRUE='#'
   4283   am__fastdepCC_FALSE=
   4284 fi
   4285 
   4286 
   4287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4288 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4289 if ${ac_cv_path_SED+:} false; then :
   4290   $as_echo_n "(cached) " >&6
   4291 else
   4292             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4293      for ac_i in 1 2 3 4 5 6 7; do
   4294        ac_script="$ac_script$as_nl$ac_script"
   4295      done
   4296      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4297      { ac_script=; unset ac_script;}
   4298      if test -z "$SED"; then
   4299   ac_path_SED_found=false
   4300   # Loop through the user's path and test for each of PROGNAME-LIST
   4301   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4302 for as_dir in $PATH
   4303 do
   4304   IFS=$as_save_IFS
   4305   test -z "$as_dir" && as_dir=.
   4306     for ac_prog in sed gsed; do
   4307     for ac_exec_ext in '' $ac_executable_extensions; do
   4308       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4309       as_fn_executable_p "$ac_path_SED" || continue
   4310 # Check for GNU ac_path_SED and select it if it is found.
   4311   # Check for GNU $ac_path_SED
   4312 case `"$ac_path_SED" --version 2>&1` in
   4313 *GNU*)
   4314   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4315 *)
   4316   ac_count=0
   4317   $as_echo_n 0123456789 >"conftest.in"
   4318   while :
   4319   do
   4320     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4321     mv "conftest.tmp" "conftest.in"
   4322     cp "conftest.in" "conftest.nl"
   4323     $as_echo '' >> "conftest.nl"
   4324     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4325     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4326     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4327     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4328       # Best one so far, save it but keep looking for a better one
   4329       ac_cv_path_SED="$ac_path_SED"
   4330       ac_path_SED_max=$ac_count
   4331     fi
   4332     # 10*(2^10) chars as input seems more than enough
   4333     test $ac_count -gt 10 && break
   4334   done
   4335   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4336 esac
   4337 
   4338       $ac_path_SED_found && break 3
   4339     done
   4340   done
   4341   done
   4342 IFS=$as_save_IFS
   4343   if test -z "$ac_cv_path_SED"; then
   4344     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4345   fi
   4346 else
   4347   ac_cv_path_SED=$SED
   4348 fi
   4349 
   4350 fi
   4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4352 $as_echo "$ac_cv_path_SED" >&6; }
   4353  SED="$ac_cv_path_SED"
   4354   rm -f conftest.sed
   4355 
   4356 test -z "$SED" && SED=sed
   4357 Xsed="$SED -e 1s/^X//"
   4358 
   4359 
   4360 
   4361 
   4362 
   4363 
   4364 
   4365 
   4366 
   4367 
   4368 
   4369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4370 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4371 if ${ac_cv_path_GREP+:} false; then :
   4372   $as_echo_n "(cached) " >&6
   4373 else
   4374   if test -z "$GREP"; then
   4375   ac_path_GREP_found=false
   4376   # Loop through the user's path and test for each of PROGNAME-LIST
   4377   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4378 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4379 do
   4380   IFS=$as_save_IFS
   4381   test -z "$as_dir" && as_dir=.
   4382     for ac_prog in grep ggrep; do
   4383     for ac_exec_ext in '' $ac_executable_extensions; do
   4384       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4385       as_fn_executable_p "$ac_path_GREP" || continue
   4386 # Check for GNU ac_path_GREP and select it if it is found.
   4387   # Check for GNU $ac_path_GREP
   4388 case `"$ac_path_GREP" --version 2>&1` in
   4389 *GNU*)
   4390   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4391 *)
   4392   ac_count=0
   4393   $as_echo_n 0123456789 >"conftest.in"
   4394   while :
   4395   do
   4396     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4397     mv "conftest.tmp" "conftest.in"
   4398     cp "conftest.in" "conftest.nl"
   4399     $as_echo 'GREP' >> "conftest.nl"
   4400     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4401     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4402     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4403     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4404       # Best one so far, save it but keep looking for a better one
   4405       ac_cv_path_GREP="$ac_path_GREP"
   4406       ac_path_GREP_max=$ac_count
   4407     fi
   4408     # 10*(2^10) chars as input seems more than enough
   4409     test $ac_count -gt 10 && break
   4410   done
   4411   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4412 esac
   4413 
   4414       $ac_path_GREP_found && break 3
   4415     done
   4416   done
   4417   done
   4418 IFS=$as_save_IFS
   4419   if test -z "$ac_cv_path_GREP"; then
   4420     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4421   fi
   4422 else
   4423   ac_cv_path_GREP=$GREP
   4424 fi
   4425 
   4426 fi
   4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4428 $as_echo "$ac_cv_path_GREP" >&6; }
   4429  GREP="$ac_cv_path_GREP"
   4430 
   4431 
   4432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4433 $as_echo_n "checking for egrep... " >&6; }
   4434 if ${ac_cv_path_EGREP+:} false; then :
   4435   $as_echo_n "(cached) " >&6
   4436 else
   4437   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4438    then ac_cv_path_EGREP="$GREP -E"
   4439    else
   4440      if test -z "$EGREP"; then
   4441   ac_path_EGREP_found=false
   4442   # Loop through the user's path and test for each of PROGNAME-LIST
   4443   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4444 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4445 do
   4446   IFS=$as_save_IFS
   4447   test -z "$as_dir" && as_dir=.
   4448     for ac_prog in egrep; do
   4449     for ac_exec_ext in '' $ac_executable_extensions; do
   4450       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4451       as_fn_executable_p "$ac_path_EGREP" || continue
   4452 # Check for GNU ac_path_EGREP and select it if it is found.
   4453   # Check for GNU $ac_path_EGREP
   4454 case `"$ac_path_EGREP" --version 2>&1` in
   4455 *GNU*)
   4456   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4457 *)
   4458   ac_count=0
   4459   $as_echo_n 0123456789 >"conftest.in"
   4460   while :
   4461   do
   4462     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4463     mv "conftest.tmp" "conftest.in"
   4464     cp "conftest.in" "conftest.nl"
   4465     $as_echo 'EGREP' >> "conftest.nl"
   4466     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4467     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4468     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4469     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4470       # Best one so far, save it but keep looking for a better one
   4471       ac_cv_path_EGREP="$ac_path_EGREP"
   4472       ac_path_EGREP_max=$ac_count
   4473     fi
   4474     # 10*(2^10) chars as input seems more than enough
   4475     test $ac_count -gt 10 && break
   4476   done
   4477   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4478 esac
   4479 
   4480       $ac_path_EGREP_found && break 3
   4481     done
   4482   done
   4483   done
   4484 IFS=$as_save_IFS
   4485   if test -z "$ac_cv_path_EGREP"; then
   4486     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4487   fi
   4488 else
   4489   ac_cv_path_EGREP=$EGREP
   4490 fi
   4491 
   4492    fi
   4493 fi
   4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4495 $as_echo "$ac_cv_path_EGREP" >&6; }
   4496  EGREP="$ac_cv_path_EGREP"
   4497 
   4498 
   4499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4500 $as_echo_n "checking for fgrep... " >&6; }
   4501 if ${ac_cv_path_FGREP+:} false; then :
   4502   $as_echo_n "(cached) " >&6
   4503 else
   4504   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4505    then ac_cv_path_FGREP="$GREP -F"
   4506    else
   4507      if test -z "$FGREP"; then
   4508   ac_path_FGREP_found=false
   4509   # Loop through the user's path and test for each of PROGNAME-LIST
   4510   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4511 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4512 do
   4513   IFS=$as_save_IFS
   4514   test -z "$as_dir" && as_dir=.
   4515     for ac_prog in fgrep; do
   4516     for ac_exec_ext in '' $ac_executable_extensions; do
   4517       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4518       as_fn_executable_p "$ac_path_FGREP" || continue
   4519 # Check for GNU ac_path_FGREP and select it if it is found.
   4520   # Check for GNU $ac_path_FGREP
   4521 case `"$ac_path_FGREP" --version 2>&1` in
   4522 *GNU*)
   4523   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4524 *)
   4525   ac_count=0
   4526   $as_echo_n 0123456789 >"conftest.in"
   4527   while :
   4528   do
   4529     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4530     mv "conftest.tmp" "conftest.in"
   4531     cp "conftest.in" "conftest.nl"
   4532     $as_echo 'FGREP' >> "conftest.nl"
   4533     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4534     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4535     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4536     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4537       # Best one so far, save it but keep looking for a better one
   4538       ac_cv_path_FGREP="$ac_path_FGREP"
   4539       ac_path_FGREP_max=$ac_count
   4540     fi
   4541     # 10*(2^10) chars as input seems more than enough
   4542     test $ac_count -gt 10 && break
   4543   done
   4544   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4545 esac
   4546 
   4547       $ac_path_FGREP_found && break 3
   4548     done
   4549   done
   4550   done
   4551 IFS=$as_save_IFS
   4552   if test -z "$ac_cv_path_FGREP"; then
   4553     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4554   fi
   4555 else
   4556   ac_cv_path_FGREP=$FGREP
   4557 fi
   4558 
   4559    fi
   4560 fi
   4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4562 $as_echo "$ac_cv_path_FGREP" >&6; }
   4563  FGREP="$ac_cv_path_FGREP"
   4564 
   4565 
   4566 test -z "$GREP" && GREP=grep
   4567 
   4568 
   4569 
   4570 
   4571 
   4572 
   4573 
   4574 
   4575 
   4576 
   4577 
   4578 
   4579 
   4580 
   4581 
   4582 
   4583 
   4584 
   4585 
   4586 # Check whether --with-gnu-ld was given.
   4587 if test "${with_gnu_ld+set}" = set; then :
   4588   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   4589 else
   4590   with_gnu_ld=no
   4591 fi
   4592 
   4593 ac_prog=ld
   4594 if test yes = "$GCC"; then
   4595   # Check if gcc -print-prog-name=ld gives a path.
   4596   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4597 $as_echo_n "checking for ld used by $CC... " >&6; }
   4598   case $host in
   4599   *-*-mingw*)
   4600     # gcc leaves a trailing carriage return, which upsets mingw
   4601     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4602   *)
   4603     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4604   esac
   4605   case $ac_prog in
   4606     # Accept absolute paths.
   4607     [\\/]* | ?:[\\/]*)
   4608       re_direlt='/[^/][^/]*/\.\./'
   4609       # Canonicalize the pathname of ld
   4610       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4611       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4612 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4613       done
   4614       test -z "$LD" && LD=$ac_prog
   4615       ;;
   4616   "")
   4617     # If it fails, then pretend we aren't using GCC.
   4618     ac_prog=ld
   4619     ;;
   4620   *)
   4621     # If it is relative, then search for the first ld in PATH.
   4622     with_gnu_ld=unknown
   4623     ;;
   4624   esac
   4625 elif test yes = "$with_gnu_ld"; then
   4626   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4627 $as_echo_n "checking for GNU ld... " >&6; }
   4628 else
   4629   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4630 $as_echo_n "checking for non-GNU ld... " >&6; }
   4631 fi
   4632 if ${lt_cv_path_LD+:} false; then :
   4633   $as_echo_n "(cached) " >&6
   4634 else
   4635   if test -z "$LD"; then
   4636   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   4637   for ac_dir in $PATH; do
   4638     IFS=$lt_save_ifs
   4639     test -z "$ac_dir" && ac_dir=.
   4640     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4641       lt_cv_path_LD=$ac_dir/$ac_prog
   4642       # Check to see if the program is GNU ld.  I'd rather use --version,
   4643       # but apparently some variants of GNU ld only accept -v.
   4644       # Break only if it was the GNU/non-GNU ld that we prefer.
   4645       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4646       *GNU* | *'with BFD'*)
   4647 	test no != "$with_gnu_ld" && break
   4648 	;;
   4649       *)
   4650 	test yes != "$with_gnu_ld" && break
   4651 	;;
   4652       esac
   4653     fi
   4654   done
   4655   IFS=$lt_save_ifs
   4656 else
   4657   lt_cv_path_LD=$LD # Let the user override the test with a path.
   4658 fi
   4659 fi
   4660 
   4661 LD=$lt_cv_path_LD
   4662 if test -n "$LD"; then
   4663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4664 $as_echo "$LD" >&6; }
   4665 else
   4666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4667 $as_echo "no" >&6; }
   4668 fi
   4669 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4671 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4672 if ${lt_cv_prog_gnu_ld+:} false; then :
   4673   $as_echo_n "(cached) " >&6
   4674 else
   4675   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4676 case `$LD -v 2>&1 </dev/null` in
   4677 *GNU* | *'with BFD'*)
   4678   lt_cv_prog_gnu_ld=yes
   4679   ;;
   4680 *)
   4681   lt_cv_prog_gnu_ld=no
   4682   ;;
   4683 esac
   4684 fi
   4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4686 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4687 with_gnu_ld=$lt_cv_prog_gnu_ld
   4688 
   4689 
   4690 
   4691 
   4692 
   4693 
   4694 
   4695 
   4696 
   4697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4698 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4699 if ${lt_cv_path_NM+:} false; then :
   4700   $as_echo_n "(cached) " >&6
   4701 else
   4702   if test -n "$NM"; then
   4703   # Let the user override the test.
   4704   lt_cv_path_NM=$NM
   4705 else
   4706   lt_nm_to_check=${ac_tool_prefix}nm
   4707   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4708     lt_nm_to_check="$lt_nm_to_check nm"
   4709   fi
   4710   for lt_tmp_nm in $lt_nm_to_check; do
   4711     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   4712     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4713       IFS=$lt_save_ifs
   4714       test -z "$ac_dir" && ac_dir=.
   4715       tmp_nm=$ac_dir/$lt_tmp_nm
   4716       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   4717 	# Check to see if the nm accepts a BSD-compat flag.
   4718 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   4719 	#   nm: unknown option "B" ignored
   4720 	# Tru64's nm complains that /dev/null is an invalid object file
   4721 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   4722 	case $build_os in
   4723 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   4724 	*) lt_bad_file=/dev/null ;;
   4725 	esac
   4726 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
   4727 	*$lt_bad_file* | *'Invalid file or object type'*)
   4728 	  lt_cv_path_NM="$tmp_nm -B"
   4729 	  break 2
   4730 	  ;;
   4731 	*)
   4732 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4733 	  */dev/null*)
   4734 	    lt_cv_path_NM="$tmp_nm -p"
   4735 	    break 2
   4736 	    ;;
   4737 	  *)
   4738 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4739 	    continue # so that we can try to find one that supports BSD flags
   4740 	    ;;
   4741 	  esac
   4742 	  ;;
   4743 	esac
   4744       fi
   4745     done
   4746     IFS=$lt_save_ifs
   4747   done
   4748   : ${lt_cv_path_NM=no}
   4749 fi
   4750 fi
   4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4752 $as_echo "$lt_cv_path_NM" >&6; }
   4753 if test no != "$lt_cv_path_NM"; then
   4754   NM=$lt_cv_path_NM
   4755 else
   4756   # Didn't find any BSD compatible name lister, look for dumpbin.
   4757   if test -n "$DUMPBIN"; then :
   4758     # Let the user override the test.
   4759   else
   4760     if test -n "$ac_tool_prefix"; then
   4761   for ac_prog in dumpbin "link -dump"
   4762   do
   4763     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4764 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4766 $as_echo_n "checking for $ac_word... " >&6; }
   4767 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4768   $as_echo_n "(cached) " >&6
   4769 else
   4770   if test -n "$DUMPBIN"; then
   4771   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4772 else
   4773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4774 for as_dir in $PATH
   4775 do
   4776   IFS=$as_save_IFS
   4777   test -z "$as_dir" && as_dir=.
   4778     for ac_exec_ext in '' $ac_executable_extensions; do
   4779   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4780     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4781     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4782     break 2
   4783   fi
   4784 done
   4785   done
   4786 IFS=$as_save_IFS
   4787 
   4788 fi
   4789 fi
   4790 DUMPBIN=$ac_cv_prog_DUMPBIN
   4791 if test -n "$DUMPBIN"; then
   4792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4793 $as_echo "$DUMPBIN" >&6; }
   4794 else
   4795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4796 $as_echo "no" >&6; }
   4797 fi
   4798 
   4799 
   4800     test -n "$DUMPBIN" && break
   4801   done
   4802 fi
   4803 if test -z "$DUMPBIN"; then
   4804   ac_ct_DUMPBIN=$DUMPBIN
   4805   for ac_prog in dumpbin "link -dump"
   4806 do
   4807   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4808 set dummy $ac_prog; ac_word=$2
   4809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4810 $as_echo_n "checking for $ac_word... " >&6; }
   4811 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4812   $as_echo_n "(cached) " >&6
   4813 else
   4814   if test -n "$ac_ct_DUMPBIN"; then
   4815   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4816 else
   4817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4818 for as_dir in $PATH
   4819 do
   4820   IFS=$as_save_IFS
   4821   test -z "$as_dir" && as_dir=.
   4822     for ac_exec_ext in '' $ac_executable_extensions; do
   4823   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4824     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4825     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4826     break 2
   4827   fi
   4828 done
   4829   done
   4830 IFS=$as_save_IFS
   4831 
   4832 fi
   4833 fi
   4834 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4835 if test -n "$ac_ct_DUMPBIN"; then
   4836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4837 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4838 else
   4839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4840 $as_echo "no" >&6; }
   4841 fi
   4842 
   4843 
   4844   test -n "$ac_ct_DUMPBIN" && break
   4845 done
   4846 
   4847   if test "x$ac_ct_DUMPBIN" = x; then
   4848     DUMPBIN=":"
   4849   else
   4850     case $cross_compiling:$ac_tool_warned in
   4851 yes:)
   4852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4853 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4854 ac_tool_warned=yes ;;
   4855 esac
   4856     DUMPBIN=$ac_ct_DUMPBIN
   4857   fi
   4858 fi
   4859 
   4860     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
   4861     *COFF*)
   4862       DUMPBIN="$DUMPBIN -symbols -headers"
   4863       ;;
   4864     *)
   4865       DUMPBIN=:
   4866       ;;
   4867     esac
   4868   fi
   4869 
   4870   if test : != "$DUMPBIN"; then
   4871     NM=$DUMPBIN
   4872   fi
   4873 fi
   4874 test -z "$NM" && NM=nm
   4875 
   4876 
   4877 
   4878 
   4879 
   4880 
   4881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4882 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4883 if ${lt_cv_nm_interface+:} false; then :
   4884   $as_echo_n "(cached) " >&6
   4885 else
   4886   lt_cv_nm_interface="BSD nm"
   4887   echo "int some_variable = 0;" > conftest.$ac_ext
   4888   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4889   (eval "$ac_compile" 2>conftest.err)
   4890   cat conftest.err >&5
   4891   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4892   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4893   cat conftest.err >&5
   4894   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4895   cat conftest.out >&5
   4896   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4897     lt_cv_nm_interface="MS dumpbin"
   4898   fi
   4899   rm -f conftest*
   4900 fi
   4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4902 $as_echo "$lt_cv_nm_interface" >&6; }
   4903 
   4904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4905 $as_echo_n "checking whether ln -s works... " >&6; }
   4906 LN_S=$as_ln_s
   4907 if test "$LN_S" = "ln -s"; then
   4908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4909 $as_echo "yes" >&6; }
   4910 else
   4911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4912 $as_echo "no, using $LN_S" >&6; }
   4913 fi
   4914 
   4915 # find the maximum length of command line arguments
   4916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4917 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4918 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4919   $as_echo_n "(cached) " >&6
   4920 else
   4921     i=0
   4922   teststring=ABCD
   4923 
   4924   case $build_os in
   4925   msdosdjgpp*)
   4926     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4927     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4928     # during glob expansion).  Even if it were fixed, the result of this
   4929     # check would be larger than it should be.
   4930     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4931     ;;
   4932 
   4933   gnu*)
   4934     # Under GNU Hurd, this test is not required because there is
   4935     # no limit to the length of command line arguments.
   4936     # Libtool will interpret -1 as no limit whatsoever
   4937     lt_cv_sys_max_cmd_len=-1;
   4938     ;;
   4939 
   4940   cygwin* | mingw* | cegcc*)
   4941     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4942     # about 5 minutes as the teststring grows exponentially.
   4943     # Worse, since 9x/ME are not pre-emptively multitasking,
   4944     # you end up with a "frozen" computer, even though with patience
   4945     # the test eventually succeeds (with a max line length of 256k).
   4946     # Instead, let's just punt: use the minimum linelength reported by
   4947     # all of the supported platforms: 8192 (on NT/2K/XP).
   4948     lt_cv_sys_max_cmd_len=8192;
   4949     ;;
   4950 
   4951   mint*)
   4952     # On MiNT this can take a long time and run out of memory.
   4953     lt_cv_sys_max_cmd_len=8192;
   4954     ;;
   4955 
   4956   amigaos*)
   4957     # On AmigaOS with pdksh, this test takes hours, literally.
   4958     # So we just punt and use a minimum line length of 8192.
   4959     lt_cv_sys_max_cmd_len=8192;
   4960     ;;
   4961 
   4962   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
   4963     # This has been around since 386BSD, at least.  Likely further.
   4964     if test -x /sbin/sysctl; then
   4965       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4966     elif test -x /usr/sbin/sysctl; then
   4967       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4968     else
   4969       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4970     fi
   4971     # And add a safety zone
   4972     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4973     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4974     ;;
   4975 
   4976   interix*)
   4977     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4978     lt_cv_sys_max_cmd_len=196608
   4979     ;;
   4980 
   4981   os2*)
   4982     # The test takes a long time on OS/2.
   4983     lt_cv_sys_max_cmd_len=8192
   4984     ;;
   4985 
   4986   osf*)
   4987     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4988     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4989     # nice to cause kernel panics so lets avoid the loop below.
   4990     # First set a reasonable default.
   4991     lt_cv_sys_max_cmd_len=16384
   4992     #
   4993     if test -x /sbin/sysconfig; then
   4994       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4995         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4996       esac
   4997     fi
   4998     ;;
   4999   sco3.2v5*)
   5000     lt_cv_sys_max_cmd_len=102400
   5001     ;;
   5002   sysv5* | sco5v6* | sysv4.2uw2*)
   5003     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5004     if test -n "$kargmax"; then
   5005       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5006     else
   5007       lt_cv_sys_max_cmd_len=32768
   5008     fi
   5009     ;;
   5010   *)
   5011     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5012     if test -n "$lt_cv_sys_max_cmd_len" && \
   5013        test undefined != "$lt_cv_sys_max_cmd_len"; then
   5014       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5015       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5016     else
   5017       # Make teststring a little bigger before we do anything with it.
   5018       # a 1K string should be a reasonable start.
   5019       for i in 1 2 3 4 5 6 7 8; do
   5020         teststring=$teststring$teststring
   5021       done
   5022       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5023       # If test is not a shell built-in, we'll probably end up computing a
   5024       # maximum length that is only half of the actual maximum length, but
   5025       # we can't tell.
   5026       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   5027 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5028 	      test 17 != "$i" # 1/2 MB should be enough
   5029       do
   5030         i=`expr $i + 1`
   5031         teststring=$teststring$teststring
   5032       done
   5033       # Only check the string length outside the loop.
   5034       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5035       teststring=
   5036       # Add a significant safety factor because C++ compilers can tack on
   5037       # massive amounts of additional arguments before passing them to the
   5038       # linker.  It appears as though 1/2 is a usable value.
   5039       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5040     fi
   5041     ;;
   5042   esac
   5043 
   5044 fi
   5045 
   5046 if test -n "$lt_cv_sys_max_cmd_len"; then
   5047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5048 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5049 else
   5050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5051 $as_echo "none" >&6; }
   5052 fi
   5053 max_cmd_len=$lt_cv_sys_max_cmd_len
   5054 
   5055 
   5056 
   5057 
   5058 
   5059 
   5060 : ${CP="cp -f"}
   5061 : ${MV="mv -f"}
   5062 : ${RM="rm -f"}
   5063 
   5064 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5065   lt_unset=unset
   5066 else
   5067   lt_unset=false
   5068 fi
   5069 
   5070 
   5071 
   5072 
   5073 
   5074 # test EBCDIC or ASCII
   5075 case `echo X|tr X '\101'` in
   5076  A) # ASCII based system
   5077     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5078   lt_SP2NL='tr \040 \012'
   5079   lt_NL2SP='tr \015\012 \040\040'
   5080   ;;
   5081  *) # EBCDIC based system
   5082   lt_SP2NL='tr \100 \n'
   5083   lt_NL2SP='tr \r\n \100\100'
   5084   ;;
   5085 esac
   5086 
   5087 
   5088 
   5089 
   5090 
   5091 
   5092 
   5093 
   5094 
   5095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5096 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   5097 if ${lt_cv_to_host_file_cmd+:} false; then :
   5098   $as_echo_n "(cached) " >&6
   5099 else
   5100   case $host in
   5101   *-*-mingw* )
   5102     case $build in
   5103       *-*-mingw* ) # actually msys
   5104         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5105         ;;
   5106       *-*-cygwin* )
   5107         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5108         ;;
   5109       * ) # otherwise, assume *nix
   5110         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5111         ;;
   5112     esac
   5113     ;;
   5114   *-*-cygwin* )
   5115     case $build in
   5116       *-*-mingw* ) # actually msys
   5117         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5118         ;;
   5119       *-*-cygwin* )
   5120         lt_cv_to_host_file_cmd=func_convert_file_noop
   5121         ;;
   5122       * ) # otherwise, assume *nix
   5123         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5124         ;;
   5125     esac
   5126     ;;
   5127   * ) # unhandled hosts (and "normal" native builds)
   5128     lt_cv_to_host_file_cmd=func_convert_file_noop
   5129     ;;
   5130 esac
   5131 
   5132 fi
   5133 
   5134 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5136 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   5137 
   5138 
   5139 
   5140 
   5141 
   5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5143 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   5144 if ${lt_cv_to_tool_file_cmd+:} false; then :
   5145   $as_echo_n "(cached) " >&6
   5146 else
   5147   #assume ordinary cross tools, or native build.
   5148 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5149 case $host in
   5150   *-*-mingw* )
   5151     case $build in
   5152       *-*-mingw* ) # actually msys
   5153         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5154         ;;
   5155     esac
   5156     ;;
   5157 esac
   5158 
   5159 fi
   5160 
   5161 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5163 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   5164 
   5165 
   5166 
   5167 
   5168 
   5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5170 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5171 if ${lt_cv_ld_reload_flag+:} false; then :
   5172   $as_echo_n "(cached) " >&6
   5173 else
   5174   lt_cv_ld_reload_flag='-r'
   5175 fi
   5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5177 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5178 reload_flag=$lt_cv_ld_reload_flag
   5179 case $reload_flag in
   5180 "" | " "*) ;;
   5181 *) reload_flag=" $reload_flag" ;;
   5182 esac
   5183 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5184 case $host_os in
   5185   cygwin* | mingw* | pw32* | cegcc*)
   5186     if test yes != "$GCC"; then
   5187       reload_cmds=false
   5188     fi
   5189     ;;
   5190   darwin*)
   5191     if test yes = "$GCC"; then
   5192       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   5193     else
   5194       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5195     fi
   5196     ;;
   5197 esac
   5198 
   5199 
   5200 
   5201 
   5202 
   5203 
   5204 
   5205 
   5206 
   5207 if test -n "$ac_tool_prefix"; then
   5208   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5209 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5211 $as_echo_n "checking for $ac_word... " >&6; }
   5212 if ${ac_cv_prog_OBJDUMP+:} false; then :
   5213   $as_echo_n "(cached) " >&6
   5214 else
   5215   if test -n "$OBJDUMP"; then
   5216   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5217 else
   5218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5219 for as_dir in $PATH
   5220 do
   5221   IFS=$as_save_IFS
   5222   test -z "$as_dir" && as_dir=.
   5223     for ac_exec_ext in '' $ac_executable_extensions; do
   5224   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5225     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5226     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5227     break 2
   5228   fi
   5229 done
   5230   done
   5231 IFS=$as_save_IFS
   5232 
   5233 fi
   5234 fi
   5235 OBJDUMP=$ac_cv_prog_OBJDUMP
   5236 if test -n "$OBJDUMP"; then
   5237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5238 $as_echo "$OBJDUMP" >&6; }
   5239 else
   5240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5241 $as_echo "no" >&6; }
   5242 fi
   5243 
   5244 
   5245 fi
   5246 if test -z "$ac_cv_prog_OBJDUMP"; then
   5247   ac_ct_OBJDUMP=$OBJDUMP
   5248   # Extract the first word of "objdump", so it can be a program name with args.
   5249 set dummy objdump; ac_word=$2
   5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5251 $as_echo_n "checking for $ac_word... " >&6; }
   5252 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5253   $as_echo_n "(cached) " >&6
   5254 else
   5255   if test -n "$ac_ct_OBJDUMP"; then
   5256   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5257 else
   5258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5259 for as_dir in $PATH
   5260 do
   5261   IFS=$as_save_IFS
   5262   test -z "$as_dir" && as_dir=.
   5263     for ac_exec_ext in '' $ac_executable_extensions; do
   5264   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5265     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5266     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5267     break 2
   5268   fi
   5269 done
   5270   done
   5271 IFS=$as_save_IFS
   5272 
   5273 fi
   5274 fi
   5275 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5276 if test -n "$ac_ct_OBJDUMP"; then
   5277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5278 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5279 else
   5280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5281 $as_echo "no" >&6; }
   5282 fi
   5283 
   5284   if test "x$ac_ct_OBJDUMP" = x; then
   5285     OBJDUMP="false"
   5286   else
   5287     case $cross_compiling:$ac_tool_warned in
   5288 yes:)
   5289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5290 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5291 ac_tool_warned=yes ;;
   5292 esac
   5293     OBJDUMP=$ac_ct_OBJDUMP
   5294   fi
   5295 else
   5296   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5297 fi
   5298 
   5299 test -z "$OBJDUMP" && OBJDUMP=objdump
   5300 
   5301 
   5302 
   5303 
   5304 
   5305 
   5306 
   5307 
   5308 
   5309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5310 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5311 if ${lt_cv_deplibs_check_method+:} false; then :
   5312   $as_echo_n "(cached) " >&6
   5313 else
   5314   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5315 lt_cv_file_magic_test_file=
   5316 lt_cv_deplibs_check_method='unknown'
   5317 # Need to set the preceding variable on all platforms that support
   5318 # interlibrary dependencies.
   5319 # 'none' -- dependencies not supported.
   5320 # 'unknown' -- same as none, but documents that we really don't know.
   5321 # 'pass_all' -- all dependencies passed with no checks.
   5322 # 'test_compile' -- check by making test program.
   5323 # 'file_magic [[regex]]' -- check by looking for files in library path
   5324 # that responds to the $file_magic_cmd with a given extended regex.
   5325 # If you have 'file' or equivalent on your system and you're not sure
   5326 # whether 'pass_all' will *always* work, you probably want this one.
   5327 
   5328 case $host_os in
   5329 aix[4-9]*)
   5330   lt_cv_deplibs_check_method=pass_all
   5331   ;;
   5332 
   5333 beos*)
   5334   lt_cv_deplibs_check_method=pass_all
   5335   ;;
   5336 
   5337 bsdi[45]*)
   5338   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5339   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5340   lt_cv_file_magic_test_file=/shlib/libc.so
   5341   ;;
   5342 
   5343 cygwin*)
   5344   # func_win32_libid is a shell function defined in ltmain.sh
   5345   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5346   lt_cv_file_magic_cmd='func_win32_libid'
   5347   ;;
   5348 
   5349 mingw* | pw32*)
   5350   # Base MSYS/MinGW do not provide the 'file' command needed by
   5351   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5352   # unless we find 'file', for example because we are cross-compiling.
   5353   if ( file / ) >/dev/null 2>&1; then
   5354     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5355     lt_cv_file_magic_cmd='func_win32_libid'
   5356   else
   5357     # Keep this pattern in sync with the one in func_win32_libid.
   5358     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5359     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5360   fi
   5361   ;;
   5362 
   5363 cegcc*)
   5364   # use the weaker test based on 'objdump'. See mingw*.
   5365   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5366   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5367   ;;
   5368 
   5369 darwin* | rhapsody*)
   5370   lt_cv_deplibs_check_method=pass_all
   5371   ;;
   5372 
   5373 freebsd* | dragonfly*)
   5374   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5375     case $host_cpu in
   5376     i*86 )
   5377       # Not sure whether the presence of OpenBSD here was a mistake.
   5378       # Let's accept both of them until this is cleared up.
   5379       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5380       lt_cv_file_magic_cmd=/usr/bin/file
   5381       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5382       ;;
   5383     esac
   5384   else
   5385     lt_cv_deplibs_check_method=pass_all
   5386   fi
   5387   ;;
   5388 
   5389 haiku*)
   5390   lt_cv_deplibs_check_method=pass_all
   5391   ;;
   5392 
   5393 hpux10.20* | hpux11*)
   5394   lt_cv_file_magic_cmd=/usr/bin/file
   5395   case $host_cpu in
   5396   ia64*)
   5397     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5398     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5399     ;;
   5400   hppa*64*)
   5401     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]'
   5402     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5403     ;;
   5404   *)
   5405     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5406     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5407     ;;
   5408   esac
   5409   ;;
   5410 
   5411 interix[3-9]*)
   5412   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5413   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5414   ;;
   5415 
   5416 irix5* | irix6* | nonstopux*)
   5417   case $LD in
   5418   *-32|*"-32 ") libmagic=32-bit;;
   5419   *-n32|*"-n32 ") libmagic=N32;;
   5420   *-64|*"-64 ") libmagic=64-bit;;
   5421   *) libmagic=never-match;;
   5422   esac
   5423   lt_cv_deplibs_check_method=pass_all
   5424   ;;
   5425 
   5426 # This must be glibc/ELF.
   5427 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   5428   lt_cv_deplibs_check_method=pass_all
   5429   ;;
   5430 
   5431 netbsd* | netbsdelf*-gnu)
   5432   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5433     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5434   else
   5435     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5436   fi
   5437   ;;
   5438 
   5439 newos6*)
   5440   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5441   lt_cv_file_magic_cmd=/usr/bin/file
   5442   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5443   ;;
   5444 
   5445 *nto* | *qnx*)
   5446   lt_cv_deplibs_check_method=pass_all
   5447   ;;
   5448 
   5449 openbsd* | bitrig*)
   5450   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   5451     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5452   else
   5453     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5454   fi
   5455   ;;
   5456 
   5457 osf3* | osf4* | osf5*)
   5458   lt_cv_deplibs_check_method=pass_all
   5459   ;;
   5460 
   5461 rdos*)
   5462   lt_cv_deplibs_check_method=pass_all
   5463   ;;
   5464 
   5465 solaris*)
   5466   lt_cv_deplibs_check_method=pass_all
   5467   ;;
   5468 
   5469 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5470   lt_cv_deplibs_check_method=pass_all
   5471   ;;
   5472 
   5473 sysv4 | sysv4.3*)
   5474   case $host_vendor in
   5475   motorola)
   5476     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]'
   5477     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5478     ;;
   5479   ncr)
   5480     lt_cv_deplibs_check_method=pass_all
   5481     ;;
   5482   sequent)
   5483     lt_cv_file_magic_cmd='/bin/file'
   5484     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5485     ;;
   5486   sni)
   5487     lt_cv_file_magic_cmd='/bin/file'
   5488     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5489     lt_cv_file_magic_test_file=/lib/libc.so
   5490     ;;
   5491   siemens)
   5492     lt_cv_deplibs_check_method=pass_all
   5493     ;;
   5494   pc)
   5495     lt_cv_deplibs_check_method=pass_all
   5496     ;;
   5497   esac
   5498   ;;
   5499 
   5500 tpf*)
   5501   lt_cv_deplibs_check_method=pass_all
   5502   ;;
   5503 os2*)
   5504   lt_cv_deplibs_check_method=pass_all
   5505   ;;
   5506 esac
   5507 
   5508 fi
   5509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5510 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5511 
   5512 file_magic_glob=
   5513 want_nocaseglob=no
   5514 if test "$build" = "$host"; then
   5515   case $host_os in
   5516   mingw* | pw32*)
   5517     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5518       want_nocaseglob=yes
   5519     else
   5520       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5521     fi
   5522     ;;
   5523   esac
   5524 fi
   5525 
   5526 file_magic_cmd=$lt_cv_file_magic_cmd
   5527 deplibs_check_method=$lt_cv_deplibs_check_method
   5528 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5529 
   5530 
   5531 
   5532 
   5533 
   5534 
   5535 
   5536 
   5537 
   5538 
   5539 
   5540 
   5541 
   5542 
   5543 
   5544 
   5545 
   5546 
   5547 
   5548 
   5549 
   5550 
   5551 if test -n "$ac_tool_prefix"; then
   5552   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5553 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5555 $as_echo_n "checking for $ac_word... " >&6; }
   5556 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5557   $as_echo_n "(cached) " >&6
   5558 else
   5559   if test -n "$DLLTOOL"; then
   5560   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5561 else
   5562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5563 for as_dir in $PATH
   5564 do
   5565   IFS=$as_save_IFS
   5566   test -z "$as_dir" && as_dir=.
   5567     for ac_exec_ext in '' $ac_executable_extensions; do
   5568   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5569     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5570     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5571     break 2
   5572   fi
   5573 done
   5574   done
   5575 IFS=$as_save_IFS
   5576 
   5577 fi
   5578 fi
   5579 DLLTOOL=$ac_cv_prog_DLLTOOL
   5580 if test -n "$DLLTOOL"; then
   5581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5582 $as_echo "$DLLTOOL" >&6; }
   5583 else
   5584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5585 $as_echo "no" >&6; }
   5586 fi
   5587 
   5588 
   5589 fi
   5590 if test -z "$ac_cv_prog_DLLTOOL"; then
   5591   ac_ct_DLLTOOL=$DLLTOOL
   5592   # Extract the first word of "dlltool", so it can be a program name with args.
   5593 set dummy dlltool; ac_word=$2
   5594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5595 $as_echo_n "checking for $ac_word... " >&6; }
   5596 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5597   $as_echo_n "(cached) " >&6
   5598 else
   5599   if test -n "$ac_ct_DLLTOOL"; then
   5600   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5601 else
   5602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5603 for as_dir in $PATH
   5604 do
   5605   IFS=$as_save_IFS
   5606   test -z "$as_dir" && as_dir=.
   5607     for ac_exec_ext in '' $ac_executable_extensions; do
   5608   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5609     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5610     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5611     break 2
   5612   fi
   5613 done
   5614   done
   5615 IFS=$as_save_IFS
   5616 
   5617 fi
   5618 fi
   5619 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5620 if test -n "$ac_ct_DLLTOOL"; then
   5621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5622 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5623 else
   5624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5625 $as_echo "no" >&6; }
   5626 fi
   5627 
   5628   if test "x$ac_ct_DLLTOOL" = x; then
   5629     DLLTOOL="false"
   5630   else
   5631     case $cross_compiling:$ac_tool_warned in
   5632 yes:)
   5633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5634 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5635 ac_tool_warned=yes ;;
   5636 esac
   5637     DLLTOOL=$ac_ct_DLLTOOL
   5638   fi
   5639 else
   5640   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5641 fi
   5642 
   5643 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5644 
   5645 
   5646 
   5647 
   5648 
   5649 
   5650 
   5651 
   5652 
   5653 
   5654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5655 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5656 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5657   $as_echo_n "(cached) " >&6
   5658 else
   5659   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5660 
   5661 case $host_os in
   5662 cygwin* | mingw* | pw32* | cegcc*)
   5663   # two different shell functions defined in ltmain.sh;
   5664   # decide which one to use based on capabilities of $DLLTOOL
   5665   case `$DLLTOOL --help 2>&1` in
   5666   *--identify-strict*)
   5667     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5668     ;;
   5669   *)
   5670     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5671     ;;
   5672   esac
   5673   ;;
   5674 *)
   5675   # fallback: assume linklib IS sharedlib
   5676   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   5677   ;;
   5678 esac
   5679 
   5680 fi
   5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5682 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5683 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5684 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5685 
   5686 
   5687 
   5688 
   5689 
   5690 
   5691 
   5692 
   5693 if test -n "$ac_tool_prefix"; then
   5694   for ac_prog in ar
   5695   do
   5696     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5697 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5699 $as_echo_n "checking for $ac_word... " >&6; }
   5700 if ${ac_cv_prog_AR+:} false; then :
   5701   $as_echo_n "(cached) " >&6
   5702 else
   5703   if test -n "$AR"; then
   5704   ac_cv_prog_AR="$AR" # Let the user override the test.
   5705 else
   5706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5707 for as_dir in $PATH
   5708 do
   5709   IFS=$as_save_IFS
   5710   test -z "$as_dir" && as_dir=.
   5711     for ac_exec_ext in '' $ac_executable_extensions; do
   5712   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5713     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5714     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5715     break 2
   5716   fi
   5717 done
   5718   done
   5719 IFS=$as_save_IFS
   5720 
   5721 fi
   5722 fi
   5723 AR=$ac_cv_prog_AR
   5724 if test -n "$AR"; then
   5725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5726 $as_echo "$AR" >&6; }
   5727 else
   5728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5729 $as_echo "no" >&6; }
   5730 fi
   5731 
   5732 
   5733     test -n "$AR" && break
   5734   done
   5735 fi
   5736 if test -z "$AR"; then
   5737   ac_ct_AR=$AR
   5738   for ac_prog in ar
   5739 do
   5740   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5741 set dummy $ac_prog; ac_word=$2
   5742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5743 $as_echo_n "checking for $ac_word... " >&6; }
   5744 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5745   $as_echo_n "(cached) " >&6
   5746 else
   5747   if test -n "$ac_ct_AR"; then
   5748   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5749 else
   5750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5751 for as_dir in $PATH
   5752 do
   5753   IFS=$as_save_IFS
   5754   test -z "$as_dir" && as_dir=.
   5755     for ac_exec_ext in '' $ac_executable_extensions; do
   5756   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5757     ac_cv_prog_ac_ct_AR="$ac_prog"
   5758     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5759     break 2
   5760   fi
   5761 done
   5762   done
   5763 IFS=$as_save_IFS
   5764 
   5765 fi
   5766 fi
   5767 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5768 if test -n "$ac_ct_AR"; then
   5769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5770 $as_echo "$ac_ct_AR" >&6; }
   5771 else
   5772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5773 $as_echo "no" >&6; }
   5774 fi
   5775 
   5776 
   5777   test -n "$ac_ct_AR" && break
   5778 done
   5779 
   5780   if test "x$ac_ct_AR" = x; then
   5781     AR="false"
   5782   else
   5783     case $cross_compiling:$ac_tool_warned in
   5784 yes:)
   5785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5786 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5787 ac_tool_warned=yes ;;
   5788 esac
   5789     AR=$ac_ct_AR
   5790   fi
   5791 fi
   5792 
   5793 : ${AR=ar}
   5794 : ${AR_FLAGS=cru}
   5795 
   5796 
   5797 
   5798 
   5799 
   5800 
   5801 
   5802 
   5803 
   5804 
   5805 
   5806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   5807 $as_echo_n "checking for archiver @FILE support... " >&6; }
   5808 if ${lt_cv_ar_at_file+:} false; then :
   5809   $as_echo_n "(cached) " >&6
   5810 else
   5811   lt_cv_ar_at_file=no
   5812    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5813 /* end confdefs.h.  */
   5814 
   5815 int
   5816 main ()
   5817 {
   5818 
   5819   ;
   5820   return 0;
   5821 }
   5822 _ACEOF
   5823 if ac_fn_c_try_compile "$LINENO"; then :
   5824   echo conftest.$ac_objext > conftest.lst
   5825       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   5826       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5827   (eval $lt_ar_try) 2>&5
   5828   ac_status=$?
   5829   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5830   test $ac_status = 0; }
   5831       if test 0 -eq "$ac_status"; then
   5832 	# Ensure the archiver fails upon bogus file names.
   5833 	rm -f conftest.$ac_objext libconftest.a
   5834 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5835   (eval $lt_ar_try) 2>&5
   5836   ac_status=$?
   5837   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5838   test $ac_status = 0; }
   5839 	if test 0 -ne "$ac_status"; then
   5840           lt_cv_ar_at_file=@
   5841         fi
   5842       fi
   5843       rm -f conftest.* libconftest.a
   5844 
   5845 fi
   5846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5847 
   5848 fi
   5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   5850 $as_echo "$lt_cv_ar_at_file" >&6; }
   5851 
   5852 if test no = "$lt_cv_ar_at_file"; then
   5853   archiver_list_spec=
   5854 else
   5855   archiver_list_spec=$lt_cv_ar_at_file
   5856 fi
   5857 
   5858 
   5859 
   5860 
   5861 
   5862 
   5863 
   5864 if test -n "$ac_tool_prefix"; then
   5865   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5866 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5868 $as_echo_n "checking for $ac_word... " >&6; }
   5869 if ${ac_cv_prog_STRIP+:} false; then :
   5870   $as_echo_n "(cached) " >&6
   5871 else
   5872   if test -n "$STRIP"; then
   5873   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5874 else
   5875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5876 for as_dir in $PATH
   5877 do
   5878   IFS=$as_save_IFS
   5879   test -z "$as_dir" && as_dir=.
   5880     for ac_exec_ext in '' $ac_executable_extensions; do
   5881   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5882     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5883     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5884     break 2
   5885   fi
   5886 done
   5887   done
   5888 IFS=$as_save_IFS
   5889 
   5890 fi
   5891 fi
   5892 STRIP=$ac_cv_prog_STRIP
   5893 if test -n "$STRIP"; then
   5894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5895 $as_echo "$STRIP" >&6; }
   5896 else
   5897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5898 $as_echo "no" >&6; }
   5899 fi
   5900 
   5901 
   5902 fi
   5903 if test -z "$ac_cv_prog_STRIP"; then
   5904   ac_ct_STRIP=$STRIP
   5905   # Extract the first word of "strip", so it can be a program name with args.
   5906 set dummy strip; ac_word=$2
   5907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5908 $as_echo_n "checking for $ac_word... " >&6; }
   5909 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5910   $as_echo_n "(cached) " >&6
   5911 else
   5912   if test -n "$ac_ct_STRIP"; then
   5913   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5914 else
   5915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5916 for as_dir in $PATH
   5917 do
   5918   IFS=$as_save_IFS
   5919   test -z "$as_dir" && as_dir=.
   5920     for ac_exec_ext in '' $ac_executable_extensions; do
   5921   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5922     ac_cv_prog_ac_ct_STRIP="strip"
   5923     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5924     break 2
   5925   fi
   5926 done
   5927   done
   5928 IFS=$as_save_IFS
   5929 
   5930 fi
   5931 fi
   5932 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5933 if test -n "$ac_ct_STRIP"; then
   5934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5935 $as_echo "$ac_ct_STRIP" >&6; }
   5936 else
   5937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5938 $as_echo "no" >&6; }
   5939 fi
   5940 
   5941   if test "x$ac_ct_STRIP" = x; then
   5942     STRIP=":"
   5943   else
   5944     case $cross_compiling:$ac_tool_warned in
   5945 yes:)
   5946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5947 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5948 ac_tool_warned=yes ;;
   5949 esac
   5950     STRIP=$ac_ct_STRIP
   5951   fi
   5952 else
   5953   STRIP="$ac_cv_prog_STRIP"
   5954 fi
   5955 
   5956 test -z "$STRIP" && STRIP=:
   5957 
   5958 
   5959 
   5960 
   5961 
   5962 
   5963 if test -n "$ac_tool_prefix"; then
   5964   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5965 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5967 $as_echo_n "checking for $ac_word... " >&6; }
   5968 if ${ac_cv_prog_RANLIB+:} false; then :
   5969   $as_echo_n "(cached) " >&6
   5970 else
   5971   if test -n "$RANLIB"; then
   5972   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5973 else
   5974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5975 for as_dir in $PATH
   5976 do
   5977   IFS=$as_save_IFS
   5978   test -z "$as_dir" && as_dir=.
   5979     for ac_exec_ext in '' $ac_executable_extensions; do
   5980   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5981     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5982     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5983     break 2
   5984   fi
   5985 done
   5986   done
   5987 IFS=$as_save_IFS
   5988 
   5989 fi
   5990 fi
   5991 RANLIB=$ac_cv_prog_RANLIB
   5992 if test -n "$RANLIB"; then
   5993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5994 $as_echo "$RANLIB" >&6; }
   5995 else
   5996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5997 $as_echo "no" >&6; }
   5998 fi
   5999 
   6000 
   6001 fi
   6002 if test -z "$ac_cv_prog_RANLIB"; then
   6003   ac_ct_RANLIB=$RANLIB
   6004   # Extract the first word of "ranlib", so it can be a program name with args.
   6005 set dummy ranlib; ac_word=$2
   6006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6007 $as_echo_n "checking for $ac_word... " >&6; }
   6008 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   6009   $as_echo_n "(cached) " >&6
   6010 else
   6011   if test -n "$ac_ct_RANLIB"; then
   6012   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6013 else
   6014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6015 for as_dir in $PATH
   6016 do
   6017   IFS=$as_save_IFS
   6018   test -z "$as_dir" && as_dir=.
   6019     for ac_exec_ext in '' $ac_executable_extensions; do
   6020   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6021     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6022     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6023     break 2
   6024   fi
   6025 done
   6026   done
   6027 IFS=$as_save_IFS
   6028 
   6029 fi
   6030 fi
   6031 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6032 if test -n "$ac_ct_RANLIB"; then
   6033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6034 $as_echo "$ac_ct_RANLIB" >&6; }
   6035 else
   6036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6037 $as_echo "no" >&6; }
   6038 fi
   6039 
   6040   if test "x$ac_ct_RANLIB" = x; then
   6041     RANLIB=":"
   6042   else
   6043     case $cross_compiling:$ac_tool_warned in
   6044 yes:)
   6045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6046 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6047 ac_tool_warned=yes ;;
   6048 esac
   6049     RANLIB=$ac_ct_RANLIB
   6050   fi
   6051 else
   6052   RANLIB="$ac_cv_prog_RANLIB"
   6053 fi
   6054 
   6055 test -z "$RANLIB" && RANLIB=:
   6056 
   6057 
   6058 
   6059 
   6060 
   6061 
   6062 # Determine commands to create old-style static archives.
   6063 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6064 old_postinstall_cmds='chmod 644 $oldlib'
   6065 old_postuninstall_cmds=
   6066 
   6067 if test -n "$RANLIB"; then
   6068   case $host_os in
   6069   bitrig* | openbsd*)
   6070     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   6071     ;;
   6072   *)
   6073     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6074     ;;
   6075   esac
   6076   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   6077 fi
   6078 
   6079 case $host_os in
   6080   darwin*)
   6081     lock_old_archive_extraction=yes ;;
   6082   *)
   6083     lock_old_archive_extraction=no ;;
   6084 esac
   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 
   6113 
   6114 
   6115 
   6116 
   6117 
   6118 
   6119 
   6120 
   6121 
   6122 
   6123 
   6124 # If no C compiler was specified, use CC.
   6125 LTCC=${LTCC-"$CC"}
   6126 
   6127 # If no C compiler flags were specified, use CFLAGS.
   6128 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6129 
   6130 # Allow CC to be a program name with arguments.
   6131 compiler=$CC
   6132 
   6133 
   6134 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6136 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6137 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   6138   $as_echo_n "(cached) " >&6
   6139 else
   6140 
   6141 # These are sane defaults that work on at least a few old systems.
   6142 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6143 
   6144 # Character class describing NM global symbol codes.
   6145 symcode='[BCDEGRST]'
   6146 
   6147 # Regexp to match symbols that can be accessed directly from C.
   6148 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6149 
   6150 # Define system-specific variables.
   6151 case $host_os in
   6152 aix*)
   6153   symcode='[BCDT]'
   6154   ;;
   6155 cygwin* | mingw* | pw32* | cegcc*)
   6156   symcode='[ABCDGISTW]'
   6157   ;;
   6158 hpux*)
   6159   if test ia64 = "$host_cpu"; then
   6160     symcode='[ABCDEGRST]'
   6161   fi
   6162   ;;
   6163 irix* | nonstopux*)
   6164   symcode='[BCDEGRST]'
   6165   ;;
   6166 osf*)
   6167   symcode='[BCDEGQRST]'
   6168   ;;
   6169 solaris*)
   6170   symcode='[BDRT]'
   6171   ;;
   6172 sco3.2v5*)
   6173   symcode='[DT]'
   6174   ;;
   6175 sysv4.2uw2*)
   6176   symcode='[DT]'
   6177   ;;
   6178 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6179   symcode='[ABDT]'
   6180   ;;
   6181 sysv4)
   6182   symcode='[DFNSTU]'
   6183   ;;
   6184 esac
   6185 
   6186 # If we're using GNU nm, then use its standard symbol codes.
   6187 case `$NM -V 2>&1` in
   6188 *GNU* | *'with BFD'*)
   6189   symcode='[ABCDGIRSTW]' ;;
   6190 esac
   6191 
   6192 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6193   # Gets list of data symbols to import.
   6194   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   6195   # Adjust the below global symbol transforms to fixup imported variables.
   6196   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   6197   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   6198   lt_c_name_lib_hook="\
   6199   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   6200   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   6201 else
   6202   # Disable hooks by default.
   6203   lt_cv_sys_global_symbol_to_import=
   6204   lt_cdecl_hook=
   6205   lt_c_name_hook=
   6206   lt_c_name_lib_hook=
   6207 fi
   6208 
   6209 # Transform an extracted symbol line into a proper C declaration.
   6210 # Some systems (esp. on ia64) link data and code symbols differently,
   6211 # so use this general approach.
   6212 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   6213 $lt_cdecl_hook\
   6214 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   6215 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   6216 
   6217 # Transform an extracted symbol line into symbol name and symbol address
   6218 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   6219 $lt_c_name_hook\
   6220 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6221 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   6222 
   6223 # Transform an extracted symbol line into symbol name with lib prefix and
   6224 # symbol address.
   6225 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   6226 $lt_c_name_lib_hook\
   6227 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6228 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   6229 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   6230 
   6231 # Handle CRLF in mingw tool chain
   6232 opt_cr=
   6233 case $build_os in
   6234 mingw*)
   6235   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6236   ;;
   6237 esac
   6238 
   6239 # Try without a prefix underscore, then with it.
   6240 for ac_symprfx in "" "_"; do
   6241 
   6242   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6243   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6244 
   6245   # Write the raw and C identifiers.
   6246   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6247     # Fake it for dumpbin and say T for any non-static function,
   6248     # D for any global variable and I for any imported variable.
   6249     # Also find C++ and __fastcall symbols from MSVC++,
   6250     # which start with @ or ?.
   6251     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6252 "     {last_section=section; section=\$ 3};"\
   6253 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   6254 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6255 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   6256 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   6257 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   6258 "     \$ 0!~/External *\|/{next};"\
   6259 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6260 "     {if(hide[section]) next};"\
   6261 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   6262 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   6263 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   6264 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   6265 "     ' prfx=^$ac_symprfx"
   6266   else
   6267     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6268   fi
   6269   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   6270 
   6271   # Check to see that the pipe works correctly.
   6272   pipe_works=no
   6273 
   6274   rm -f conftest*
   6275   cat > conftest.$ac_ext <<_LT_EOF
   6276 #ifdef __cplusplus
   6277 extern "C" {
   6278 #endif
   6279 char nm_test_var;
   6280 void nm_test_func(void);
   6281 void nm_test_func(void){}
   6282 #ifdef __cplusplus
   6283 }
   6284 #endif
   6285 int main(){nm_test_var='a';nm_test_func();return(0);}
   6286 _LT_EOF
   6287 
   6288   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6289   (eval $ac_compile) 2>&5
   6290   ac_status=$?
   6291   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6292   test $ac_status = 0; }; then
   6293     # Now try to grab the symbols.
   6294     nlist=conftest.nm
   6295     $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
   6296     if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
   6297       # Try sorting and uniquifying the output.
   6298       if sort "$nlist" | uniq > "$nlist"T; then
   6299 	mv -f "$nlist"T "$nlist"
   6300       else
   6301 	rm -f "$nlist"T
   6302       fi
   6303 
   6304       # Make sure that we snagged all the symbols we need.
   6305       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6306 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6307 	  cat <<_LT_EOF > conftest.$ac_ext
   6308 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6309 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   6310 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   6311    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6312 # define LT_DLSYM_CONST
   6313 #elif defined __osf__
   6314 /* This system does not cope well with relocations in const data.  */
   6315 # define LT_DLSYM_CONST
   6316 #else
   6317 # define LT_DLSYM_CONST const
   6318 #endif
   6319 
   6320 #ifdef __cplusplus
   6321 extern "C" {
   6322 #endif
   6323 
   6324 _LT_EOF
   6325 	  # Now generate the symbol file.
   6326 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6327 
   6328 	  cat <<_LT_EOF >> conftest.$ac_ext
   6329 
   6330 /* The mapping between symbol names and symbols.  */
   6331 LT_DLSYM_CONST struct {
   6332   const char *name;
   6333   void       *address;
   6334 }
   6335 lt__PROGRAM__LTX_preloaded_symbols[] =
   6336 {
   6337   { "@PROGRAM@", (void *) 0 },
   6338 _LT_EOF
   6339 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6340 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6341   {0, (void *) 0}
   6342 };
   6343 
   6344 /* This works around a problem in FreeBSD linker */
   6345 #ifdef FREEBSD_WORKAROUND
   6346 static const void *lt_preloaded_setup() {
   6347   return lt__PROGRAM__LTX_preloaded_symbols;
   6348 }
   6349 #endif
   6350 
   6351 #ifdef __cplusplus
   6352 }
   6353 #endif
   6354 _LT_EOF
   6355 	  # Now try linking the two files.
   6356 	  mv conftest.$ac_objext conftstm.$ac_objext
   6357 	  lt_globsym_save_LIBS=$LIBS
   6358 	  lt_globsym_save_CFLAGS=$CFLAGS
   6359 	  LIBS=conftstm.$ac_objext
   6360 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6361 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6362   (eval $ac_link) 2>&5
   6363   ac_status=$?
   6364   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6365   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   6366 	    pipe_works=yes
   6367 	  fi
   6368 	  LIBS=$lt_globsym_save_LIBS
   6369 	  CFLAGS=$lt_globsym_save_CFLAGS
   6370 	else
   6371 	  echo "cannot find nm_test_func in $nlist" >&5
   6372 	fi
   6373       else
   6374 	echo "cannot find nm_test_var in $nlist" >&5
   6375       fi
   6376     else
   6377       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6378     fi
   6379   else
   6380     echo "$progname: failed program was:" >&5
   6381     cat conftest.$ac_ext >&5
   6382   fi
   6383   rm -rf conftest* conftst*
   6384 
   6385   # Do not use the global_symbol_pipe unless it works.
   6386   if test yes = "$pipe_works"; then
   6387     break
   6388   else
   6389     lt_cv_sys_global_symbol_pipe=
   6390   fi
   6391 done
   6392 
   6393 fi
   6394 
   6395 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6396   lt_cv_sys_global_symbol_to_cdecl=
   6397 fi
   6398 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6400 $as_echo "failed" >&6; }
   6401 else
   6402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6403 $as_echo "ok" >&6; }
   6404 fi
   6405 
   6406 # Response file support.
   6407 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6408   nm_file_list_spec='@'
   6409 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6410   nm_file_list_spec='@'
   6411 fi
   6412 
   6413 
   6414 
   6415 
   6416 
   6417 
   6418 
   6419 
   6420 
   6421 
   6422 
   6423 
   6424 
   6425 
   6426 
   6427 
   6428 
   6429 
   6430 
   6431 
   6432 
   6433 
   6434 
   6435 
   6436 
   6437 
   6438 
   6439 
   6440 
   6441 
   6442 
   6443 
   6444 
   6445 
   6446 
   6447 
   6448 
   6449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6450 $as_echo_n "checking for sysroot... " >&6; }
   6451 
   6452 # Check whether --with-sysroot was given.
   6453 if test "${with_sysroot+set}" = set; then :
   6454   withval=$with_sysroot;
   6455 else
   6456   with_sysroot=no
   6457 fi
   6458 
   6459 
   6460 lt_sysroot=
   6461 case $with_sysroot in #(
   6462  yes)
   6463    if test yes = "$GCC"; then
   6464      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6465    fi
   6466    ;; #(
   6467  /*)
   6468    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6469    ;; #(
   6470  no|'')
   6471    ;; #(
   6472  *)
   6473    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   6474 $as_echo "$with_sysroot" >&6; }
   6475    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6476    ;;
   6477 esac
   6478 
   6479  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6480 $as_echo "${lt_sysroot:-no}" >&6; }
   6481 
   6482 
   6483 
   6484 
   6485 
   6486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   6487 $as_echo_n "checking for a working dd... " >&6; }
   6488 if ${ac_cv_path_lt_DD+:} false; then :
   6489   $as_echo_n "(cached) " >&6
   6490 else
   6491   printf 0123456789abcdef0123456789abcdef >conftest.i
   6492 cat conftest.i conftest.i >conftest2.i
   6493 : ${lt_DD:=$DD}
   6494 if test -z "$lt_DD"; then
   6495   ac_path_lt_DD_found=false
   6496   # Loop through the user's path and test for each of PROGNAME-LIST
   6497   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6498 for as_dir in $PATH
   6499 do
   6500   IFS=$as_save_IFS
   6501   test -z "$as_dir" && as_dir=.
   6502     for ac_prog in dd; do
   6503     for ac_exec_ext in '' $ac_executable_extensions; do
   6504       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
   6505       as_fn_executable_p "$ac_path_lt_DD" || continue
   6506 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   6507   cmp -s conftest.i conftest.out \
   6508   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   6509 fi
   6510       $ac_path_lt_DD_found && break 3
   6511     done
   6512   done
   6513   done
   6514 IFS=$as_save_IFS
   6515   if test -z "$ac_cv_path_lt_DD"; then
   6516     :
   6517   fi
   6518 else
   6519   ac_cv_path_lt_DD=$lt_DD
   6520 fi
   6521 
   6522 rm -f conftest.i conftest2.i conftest.out
   6523 fi
   6524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   6525 $as_echo "$ac_cv_path_lt_DD" >&6; }
   6526 
   6527 
   6528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   6529 $as_echo_n "checking how to truncate binary pipes... " >&6; }
   6530 if ${lt_cv_truncate_bin+:} false; then :
   6531   $as_echo_n "(cached) " >&6
   6532 else
   6533   printf 0123456789abcdef0123456789abcdef >conftest.i
   6534 cat conftest.i conftest.i >conftest2.i
   6535 lt_cv_truncate_bin=
   6536 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   6537   cmp -s conftest.i conftest.out \
   6538   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   6539 fi
   6540 rm -f conftest.i conftest2.i conftest.out
   6541 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   6542 fi
   6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   6544 $as_echo "$lt_cv_truncate_bin" >&6; }
   6545 
   6546 
   6547 
   6548 
   6549 
   6550 
   6551 
   6552 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   6553 func_cc_basename ()
   6554 {
   6555     for cc_temp in $*""; do
   6556       case $cc_temp in
   6557         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   6558         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   6559         \-*) ;;
   6560         *) break;;
   6561       esac
   6562     done
   6563     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   6564 }
   6565 
   6566 # Check whether --enable-libtool-lock was given.
   6567 if test "${enable_libtool_lock+set}" = set; then :
   6568   enableval=$enable_libtool_lock;
   6569 fi
   6570 
   6571 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   6572 
   6573 # Some flags need to be propagated to the compiler or linker for good
   6574 # libtool support.
   6575 case $host in
   6576 ia64-*-hpux*)
   6577   # Find out what ABI is being produced by ac_compile, and set mode
   6578   # options accordingly.
   6579   echo 'int i;' > conftest.$ac_ext
   6580   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6581   (eval $ac_compile) 2>&5
   6582   ac_status=$?
   6583   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6584   test $ac_status = 0; }; then
   6585     case `/usr/bin/file conftest.$ac_objext` in
   6586       *ELF-32*)
   6587 	HPUX_IA64_MODE=32
   6588 	;;
   6589       *ELF-64*)
   6590 	HPUX_IA64_MODE=64
   6591 	;;
   6592     esac
   6593   fi
   6594   rm -rf conftest*
   6595   ;;
   6596 *-*-irix6*)
   6597   # Find out what ABI is being produced by ac_compile, and set linker
   6598   # options accordingly.
   6599   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6600   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6601   (eval $ac_compile) 2>&5
   6602   ac_status=$?
   6603   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6604   test $ac_status = 0; }; then
   6605     if test yes = "$lt_cv_prog_gnu_ld"; then
   6606       case `/usr/bin/file conftest.$ac_objext` in
   6607 	*32-bit*)
   6608 	  LD="${LD-ld} -melf32bsmip"
   6609 	  ;;
   6610 	*N32*)
   6611 	  LD="${LD-ld} -melf32bmipn32"
   6612 	  ;;
   6613 	*64-bit*)
   6614 	  LD="${LD-ld} -melf64bmip"
   6615 	;;
   6616       esac
   6617     else
   6618       case `/usr/bin/file conftest.$ac_objext` in
   6619 	*32-bit*)
   6620 	  LD="${LD-ld} -32"
   6621 	  ;;
   6622 	*N32*)
   6623 	  LD="${LD-ld} -n32"
   6624 	  ;;
   6625 	*64-bit*)
   6626 	  LD="${LD-ld} -64"
   6627 	  ;;
   6628       esac
   6629     fi
   6630   fi
   6631   rm -rf conftest*
   6632   ;;
   6633 
   6634 mips64*-*linux*)
   6635   # Find out what ABI is being produced by ac_compile, and set linker
   6636   # options accordingly.
   6637   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6638   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6639   (eval $ac_compile) 2>&5
   6640   ac_status=$?
   6641   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6642   test $ac_status = 0; }; then
   6643     emul=elf
   6644     case `/usr/bin/file conftest.$ac_objext` in
   6645       *32-bit*)
   6646 	emul="${emul}32"
   6647 	;;
   6648       *64-bit*)
   6649 	emul="${emul}64"
   6650 	;;
   6651     esac
   6652     case `/usr/bin/file conftest.$ac_objext` in
   6653       *MSB*)
   6654 	emul="${emul}btsmip"
   6655 	;;
   6656       *LSB*)
   6657 	emul="${emul}ltsmip"
   6658 	;;
   6659     esac
   6660     case `/usr/bin/file conftest.$ac_objext` in
   6661       *N32*)
   6662 	emul="${emul}n32"
   6663 	;;
   6664     esac
   6665     LD="${LD-ld} -m $emul"
   6666   fi
   6667   rm -rf conftest*
   6668   ;;
   6669 
   6670 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   6671 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6672   # Find out what ABI is being produced by ac_compile, and set linker
   6673   # options accordingly.  Note that the listed cases only cover the
   6674   # situations where additional linker options are needed (such as when
   6675   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   6676   # vice versa); the common cases where no linker options are needed do
   6677   # not appear in the list.
   6678   echo 'int i;' > conftest.$ac_ext
   6679   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6680   (eval $ac_compile) 2>&5
   6681   ac_status=$?
   6682   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6683   test $ac_status = 0; }; then
   6684     case `/usr/bin/file conftest.o` in
   6685       *32-bit*)
   6686 	case $host in
   6687 	  x86_64-*kfreebsd*-gnu)
   6688 	    LD="${LD-ld} -m elf_i386_fbsd"
   6689 	    ;;
   6690 	  x86_64-*linux*)
   6691 	    case `/usr/bin/file conftest.o` in
   6692 	      *x86-64*)
   6693 		LD="${LD-ld} -m elf32_x86_64"
   6694 		;;
   6695 	      *)
   6696 		LD="${LD-ld} -m elf_i386"
   6697 		;;
   6698 	    esac
   6699 	    ;;
   6700 	  powerpc64le-*linux*)
   6701 	    LD="${LD-ld} -m elf32lppclinux"
   6702 	    ;;
   6703 	  powerpc64-*linux*)
   6704 	    LD="${LD-ld} -m elf32ppclinux"
   6705 	    ;;
   6706 	  s390x-*linux*)
   6707 	    LD="${LD-ld} -m elf_s390"
   6708 	    ;;
   6709 	  sparc64-*linux*)
   6710 	    LD="${LD-ld} -m elf32_sparc"
   6711 	    ;;
   6712 	esac
   6713 	;;
   6714       *64-bit*)
   6715 	case $host in
   6716 	  x86_64-*kfreebsd*-gnu)
   6717 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6718 	    ;;
   6719 	  x86_64-*linux*)
   6720 	    LD="${LD-ld} -m elf_x86_64"
   6721 	    ;;
   6722 	  powerpcle-*linux*)
   6723 	    LD="${LD-ld} -m elf64lppc"
   6724 	    ;;
   6725 	  powerpc-*linux*)
   6726 	    LD="${LD-ld} -m elf64ppc"
   6727 	    ;;
   6728 	  s390*-*linux*|s390*-*tpf*)
   6729 	    LD="${LD-ld} -m elf64_s390"
   6730 	    ;;
   6731 	  sparc*-*linux*)
   6732 	    LD="${LD-ld} -m elf64_sparc"
   6733 	    ;;
   6734 	esac
   6735 	;;
   6736     esac
   6737   fi
   6738   rm -rf conftest*
   6739   ;;
   6740 
   6741 *-*-sco3.2v5*)
   6742   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6743   SAVE_CFLAGS=$CFLAGS
   6744   CFLAGS="$CFLAGS -belf"
   6745   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6746 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6747 if ${lt_cv_cc_needs_belf+:} false; then :
   6748   $as_echo_n "(cached) " >&6
   6749 else
   6750   ac_ext=c
   6751 ac_cpp='$CPP $CPPFLAGS'
   6752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6755 
   6756      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6757 /* end confdefs.h.  */
   6758 
   6759 int
   6760 main ()
   6761 {
   6762 
   6763   ;
   6764   return 0;
   6765 }
   6766 _ACEOF
   6767 if ac_fn_c_try_link "$LINENO"; then :
   6768   lt_cv_cc_needs_belf=yes
   6769 else
   6770   lt_cv_cc_needs_belf=no
   6771 fi
   6772 rm -f core conftest.err conftest.$ac_objext \
   6773     conftest$ac_exeext conftest.$ac_ext
   6774      ac_ext=c
   6775 ac_cpp='$CPP $CPPFLAGS'
   6776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6779 
   6780 fi
   6781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6782 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6783   if test yes != "$lt_cv_cc_needs_belf"; then
   6784     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6785     CFLAGS=$SAVE_CFLAGS
   6786   fi
   6787   ;;
   6788 *-*solaris*)
   6789   # Find out what ABI is being produced by ac_compile, and set linker
   6790   # options accordingly.
   6791   echo 'int i;' > conftest.$ac_ext
   6792   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6793   (eval $ac_compile) 2>&5
   6794   ac_status=$?
   6795   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6796   test $ac_status = 0; }; then
   6797     case `/usr/bin/file conftest.o` in
   6798     *64-bit*)
   6799       case $lt_cv_prog_gnu_ld in
   6800       yes*)
   6801         case $host in
   6802         i?86-*-solaris*|x86_64-*-solaris*)
   6803           LD="${LD-ld} -m elf_x86_64"
   6804           ;;
   6805         sparc*-*-solaris*)
   6806           LD="${LD-ld} -m elf64_sparc"
   6807           ;;
   6808         esac
   6809         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   6810         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   6811           LD=${LD-ld}_sol2
   6812         fi
   6813         ;;
   6814       *)
   6815 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6816 	  LD="${LD-ld} -64"
   6817 	fi
   6818 	;;
   6819       esac
   6820       ;;
   6821     esac
   6822   fi
   6823   rm -rf conftest*
   6824   ;;
   6825 esac
   6826 
   6827 need_locks=$enable_libtool_lock
   6828 
   6829 if test -n "$ac_tool_prefix"; then
   6830   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6831 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6833 $as_echo_n "checking for $ac_word... " >&6; }
   6834 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6835   $as_echo_n "(cached) " >&6
   6836 else
   6837   if test -n "$MANIFEST_TOOL"; then
   6838   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6839 else
   6840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6841 for as_dir in $PATH
   6842 do
   6843   IFS=$as_save_IFS
   6844   test -z "$as_dir" && as_dir=.
   6845     for ac_exec_ext in '' $ac_executable_extensions; do
   6846   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6847     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6848     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6849     break 2
   6850   fi
   6851 done
   6852   done
   6853 IFS=$as_save_IFS
   6854 
   6855 fi
   6856 fi
   6857 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6858 if test -n "$MANIFEST_TOOL"; then
   6859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6860 $as_echo "$MANIFEST_TOOL" >&6; }
   6861 else
   6862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6863 $as_echo "no" >&6; }
   6864 fi
   6865 
   6866 
   6867 fi
   6868 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6869   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6870   # Extract the first word of "mt", so it can be a program name with args.
   6871 set dummy mt; ac_word=$2
   6872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6873 $as_echo_n "checking for $ac_word... " >&6; }
   6874 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6875   $as_echo_n "(cached) " >&6
   6876 else
   6877   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6878   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6879 else
   6880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6881 for as_dir in $PATH
   6882 do
   6883   IFS=$as_save_IFS
   6884   test -z "$as_dir" && as_dir=.
   6885     for ac_exec_ext in '' $ac_executable_extensions; do
   6886   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6887     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6888     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6889     break 2
   6890   fi
   6891 done
   6892   done
   6893 IFS=$as_save_IFS
   6894 
   6895 fi
   6896 fi
   6897 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6898 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6900 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6901 else
   6902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6903 $as_echo "no" >&6; }
   6904 fi
   6905 
   6906   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6907     MANIFEST_TOOL=":"
   6908   else
   6909     case $cross_compiling:$ac_tool_warned in
   6910 yes:)
   6911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6912 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6913 ac_tool_warned=yes ;;
   6914 esac
   6915     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6916   fi
   6917 else
   6918   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6919 fi
   6920 
   6921 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6923 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6924 if ${lt_cv_path_mainfest_tool+:} false; then :
   6925   $as_echo_n "(cached) " >&6
   6926 else
   6927   lt_cv_path_mainfest_tool=no
   6928   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6929   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6930   cat conftest.err >&5
   6931   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6932     lt_cv_path_mainfest_tool=yes
   6933   fi
   6934   rm -f conftest*
   6935 fi
   6936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6937 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6938 if test yes != "$lt_cv_path_mainfest_tool"; then
   6939   MANIFEST_TOOL=:
   6940 fi
   6941 
   6942 
   6943 
   6944 
   6945 
   6946 
   6947   case $host_os in
   6948     rhapsody* | darwin*)
   6949     if test -n "$ac_tool_prefix"; then
   6950   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6951 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6953 $as_echo_n "checking for $ac_word... " >&6; }
   6954 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   6955   $as_echo_n "(cached) " >&6
   6956 else
   6957   if test -n "$DSYMUTIL"; then
   6958   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6959 else
   6960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6961 for as_dir in $PATH
   6962 do
   6963   IFS=$as_save_IFS
   6964   test -z "$as_dir" && as_dir=.
   6965     for ac_exec_ext in '' $ac_executable_extensions; do
   6966   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6967     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6968     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6969     break 2
   6970   fi
   6971 done
   6972   done
   6973 IFS=$as_save_IFS
   6974 
   6975 fi
   6976 fi
   6977 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6978 if test -n "$DSYMUTIL"; then
   6979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6980 $as_echo "$DSYMUTIL" >&6; }
   6981 else
   6982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6983 $as_echo "no" >&6; }
   6984 fi
   6985 
   6986 
   6987 fi
   6988 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6989   ac_ct_DSYMUTIL=$DSYMUTIL
   6990   # Extract the first word of "dsymutil", so it can be a program name with args.
   6991 set dummy dsymutil; ac_word=$2
   6992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6993 $as_echo_n "checking for $ac_word... " >&6; }
   6994 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6995   $as_echo_n "(cached) " >&6
   6996 else
   6997   if test -n "$ac_ct_DSYMUTIL"; then
   6998   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6999 else
   7000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7001 for as_dir in $PATH
   7002 do
   7003   IFS=$as_save_IFS
   7004   test -z "$as_dir" && as_dir=.
   7005     for ac_exec_ext in '' $ac_executable_extensions; do
   7006   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7007     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7008     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7009     break 2
   7010   fi
   7011 done
   7012   done
   7013 IFS=$as_save_IFS
   7014 
   7015 fi
   7016 fi
   7017 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7018 if test -n "$ac_ct_DSYMUTIL"; then
   7019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7020 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7021 else
   7022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7023 $as_echo "no" >&6; }
   7024 fi
   7025 
   7026   if test "x$ac_ct_DSYMUTIL" = x; then
   7027     DSYMUTIL=":"
   7028   else
   7029     case $cross_compiling:$ac_tool_warned in
   7030 yes:)
   7031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7032 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7033 ac_tool_warned=yes ;;
   7034 esac
   7035     DSYMUTIL=$ac_ct_DSYMUTIL
   7036   fi
   7037 else
   7038   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7039 fi
   7040 
   7041     if test -n "$ac_tool_prefix"; then
   7042   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7043 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7045 $as_echo_n "checking for $ac_word... " >&6; }
   7046 if ${ac_cv_prog_NMEDIT+:} false; then :
   7047   $as_echo_n "(cached) " >&6
   7048 else
   7049   if test -n "$NMEDIT"; then
   7050   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7051 else
   7052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7053 for as_dir in $PATH
   7054 do
   7055   IFS=$as_save_IFS
   7056   test -z "$as_dir" && as_dir=.
   7057     for ac_exec_ext in '' $ac_executable_extensions; do
   7058   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7059     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7060     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7061     break 2
   7062   fi
   7063 done
   7064   done
   7065 IFS=$as_save_IFS
   7066 
   7067 fi
   7068 fi
   7069 NMEDIT=$ac_cv_prog_NMEDIT
   7070 if test -n "$NMEDIT"; then
   7071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7072 $as_echo "$NMEDIT" >&6; }
   7073 else
   7074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7075 $as_echo "no" >&6; }
   7076 fi
   7077 
   7078 
   7079 fi
   7080 if test -z "$ac_cv_prog_NMEDIT"; then
   7081   ac_ct_NMEDIT=$NMEDIT
   7082   # Extract the first word of "nmedit", so it can be a program name with args.
   7083 set dummy nmedit; ac_word=$2
   7084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7085 $as_echo_n "checking for $ac_word... " >&6; }
   7086 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   7087   $as_echo_n "(cached) " >&6
   7088 else
   7089   if test -n "$ac_ct_NMEDIT"; then
   7090   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7091 else
   7092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7093 for as_dir in $PATH
   7094 do
   7095   IFS=$as_save_IFS
   7096   test -z "$as_dir" && as_dir=.
   7097     for ac_exec_ext in '' $ac_executable_extensions; do
   7098   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7099     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7100     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7101     break 2
   7102   fi
   7103 done
   7104   done
   7105 IFS=$as_save_IFS
   7106 
   7107 fi
   7108 fi
   7109 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7110 if test -n "$ac_ct_NMEDIT"; then
   7111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7112 $as_echo "$ac_ct_NMEDIT" >&6; }
   7113 else
   7114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7115 $as_echo "no" >&6; }
   7116 fi
   7117 
   7118   if test "x$ac_ct_NMEDIT" = x; then
   7119     NMEDIT=":"
   7120   else
   7121     case $cross_compiling:$ac_tool_warned in
   7122 yes:)
   7123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7124 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7125 ac_tool_warned=yes ;;
   7126 esac
   7127     NMEDIT=$ac_ct_NMEDIT
   7128   fi
   7129 else
   7130   NMEDIT="$ac_cv_prog_NMEDIT"
   7131 fi
   7132 
   7133     if test -n "$ac_tool_prefix"; then
   7134   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7135 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7137 $as_echo_n "checking for $ac_word... " >&6; }
   7138 if ${ac_cv_prog_LIPO+:} false; then :
   7139   $as_echo_n "(cached) " >&6
   7140 else
   7141   if test -n "$LIPO"; then
   7142   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7143 else
   7144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7145 for as_dir in $PATH
   7146 do
   7147   IFS=$as_save_IFS
   7148   test -z "$as_dir" && as_dir=.
   7149     for ac_exec_ext in '' $ac_executable_extensions; do
   7150   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7151     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7152     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7153     break 2
   7154   fi
   7155 done
   7156   done
   7157 IFS=$as_save_IFS
   7158 
   7159 fi
   7160 fi
   7161 LIPO=$ac_cv_prog_LIPO
   7162 if test -n "$LIPO"; then
   7163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7164 $as_echo "$LIPO" >&6; }
   7165 else
   7166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7167 $as_echo "no" >&6; }
   7168 fi
   7169 
   7170 
   7171 fi
   7172 if test -z "$ac_cv_prog_LIPO"; then
   7173   ac_ct_LIPO=$LIPO
   7174   # Extract the first word of "lipo", so it can be a program name with args.
   7175 set dummy lipo; ac_word=$2
   7176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7177 $as_echo_n "checking for $ac_word... " >&6; }
   7178 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   7179   $as_echo_n "(cached) " >&6
   7180 else
   7181   if test -n "$ac_ct_LIPO"; then
   7182   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7183 else
   7184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7185 for as_dir in $PATH
   7186 do
   7187   IFS=$as_save_IFS
   7188   test -z "$as_dir" && as_dir=.
   7189     for ac_exec_ext in '' $ac_executable_extensions; do
   7190   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7191     ac_cv_prog_ac_ct_LIPO="lipo"
   7192     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7193     break 2
   7194   fi
   7195 done
   7196   done
   7197 IFS=$as_save_IFS
   7198 
   7199 fi
   7200 fi
   7201 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7202 if test -n "$ac_ct_LIPO"; then
   7203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7204 $as_echo "$ac_ct_LIPO" >&6; }
   7205 else
   7206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7207 $as_echo "no" >&6; }
   7208 fi
   7209 
   7210   if test "x$ac_ct_LIPO" = x; then
   7211     LIPO=":"
   7212   else
   7213     case $cross_compiling:$ac_tool_warned in
   7214 yes:)
   7215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7216 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7217 ac_tool_warned=yes ;;
   7218 esac
   7219     LIPO=$ac_ct_LIPO
   7220   fi
   7221 else
   7222   LIPO="$ac_cv_prog_LIPO"
   7223 fi
   7224 
   7225     if test -n "$ac_tool_prefix"; then
   7226   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7227 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7229 $as_echo_n "checking for $ac_word... " >&6; }
   7230 if ${ac_cv_prog_OTOOL+:} false; then :
   7231   $as_echo_n "(cached) " >&6
   7232 else
   7233   if test -n "$OTOOL"; then
   7234   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7235 else
   7236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7237 for as_dir in $PATH
   7238 do
   7239   IFS=$as_save_IFS
   7240   test -z "$as_dir" && as_dir=.
   7241     for ac_exec_ext in '' $ac_executable_extensions; do
   7242   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7243     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7244     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7245     break 2
   7246   fi
   7247 done
   7248   done
   7249 IFS=$as_save_IFS
   7250 
   7251 fi
   7252 fi
   7253 OTOOL=$ac_cv_prog_OTOOL
   7254 if test -n "$OTOOL"; then
   7255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7256 $as_echo "$OTOOL" >&6; }
   7257 else
   7258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7259 $as_echo "no" >&6; }
   7260 fi
   7261 
   7262 
   7263 fi
   7264 if test -z "$ac_cv_prog_OTOOL"; then
   7265   ac_ct_OTOOL=$OTOOL
   7266   # Extract the first word of "otool", so it can be a program name with args.
   7267 set dummy otool; ac_word=$2
   7268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7269 $as_echo_n "checking for $ac_word... " >&6; }
   7270 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7271   $as_echo_n "(cached) " >&6
   7272 else
   7273   if test -n "$ac_ct_OTOOL"; then
   7274   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7275 else
   7276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7277 for as_dir in $PATH
   7278 do
   7279   IFS=$as_save_IFS
   7280   test -z "$as_dir" && as_dir=.
   7281     for ac_exec_ext in '' $ac_executable_extensions; do
   7282   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7283     ac_cv_prog_ac_ct_OTOOL="otool"
   7284     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7285     break 2
   7286   fi
   7287 done
   7288   done
   7289 IFS=$as_save_IFS
   7290 
   7291 fi
   7292 fi
   7293 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7294 if test -n "$ac_ct_OTOOL"; then
   7295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7296 $as_echo "$ac_ct_OTOOL" >&6; }
   7297 else
   7298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7299 $as_echo "no" >&6; }
   7300 fi
   7301 
   7302   if test "x$ac_ct_OTOOL" = x; then
   7303     OTOOL=":"
   7304   else
   7305     case $cross_compiling:$ac_tool_warned in
   7306 yes:)
   7307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7308 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7309 ac_tool_warned=yes ;;
   7310 esac
   7311     OTOOL=$ac_ct_OTOOL
   7312   fi
   7313 else
   7314   OTOOL="$ac_cv_prog_OTOOL"
   7315 fi
   7316 
   7317     if test -n "$ac_tool_prefix"; then
   7318   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7319 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7321 $as_echo_n "checking for $ac_word... " >&6; }
   7322 if ${ac_cv_prog_OTOOL64+:} false; then :
   7323   $as_echo_n "(cached) " >&6
   7324 else
   7325   if test -n "$OTOOL64"; then
   7326   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7327 else
   7328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7329 for as_dir in $PATH
   7330 do
   7331   IFS=$as_save_IFS
   7332   test -z "$as_dir" && as_dir=.
   7333     for ac_exec_ext in '' $ac_executable_extensions; do
   7334   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7335     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7336     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7337     break 2
   7338   fi
   7339 done
   7340   done
   7341 IFS=$as_save_IFS
   7342 
   7343 fi
   7344 fi
   7345 OTOOL64=$ac_cv_prog_OTOOL64
   7346 if test -n "$OTOOL64"; then
   7347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7348 $as_echo "$OTOOL64" >&6; }
   7349 else
   7350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7351 $as_echo "no" >&6; }
   7352 fi
   7353 
   7354 
   7355 fi
   7356 if test -z "$ac_cv_prog_OTOOL64"; then
   7357   ac_ct_OTOOL64=$OTOOL64
   7358   # Extract the first word of "otool64", so it can be a program name with args.
   7359 set dummy otool64; ac_word=$2
   7360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7361 $as_echo_n "checking for $ac_word... " >&6; }
   7362 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   7363   $as_echo_n "(cached) " >&6
   7364 else
   7365   if test -n "$ac_ct_OTOOL64"; then
   7366   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7367 else
   7368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7369 for as_dir in $PATH
   7370 do
   7371   IFS=$as_save_IFS
   7372   test -z "$as_dir" && as_dir=.
   7373     for ac_exec_ext in '' $ac_executable_extensions; do
   7374   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7375     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7376     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7377     break 2
   7378   fi
   7379 done
   7380   done
   7381 IFS=$as_save_IFS
   7382 
   7383 fi
   7384 fi
   7385 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7386 if test -n "$ac_ct_OTOOL64"; then
   7387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7388 $as_echo "$ac_ct_OTOOL64" >&6; }
   7389 else
   7390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7391 $as_echo "no" >&6; }
   7392 fi
   7393 
   7394   if test "x$ac_ct_OTOOL64" = x; then
   7395     OTOOL64=":"
   7396   else
   7397     case $cross_compiling:$ac_tool_warned in
   7398 yes:)
   7399 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7400 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7401 ac_tool_warned=yes ;;
   7402 esac
   7403     OTOOL64=$ac_ct_OTOOL64
   7404   fi
   7405 else
   7406   OTOOL64="$ac_cv_prog_OTOOL64"
   7407 fi
   7408 
   7409 
   7410 
   7411 
   7412 
   7413 
   7414 
   7415 
   7416 
   7417 
   7418 
   7419 
   7420 
   7421 
   7422 
   7423 
   7424 
   7425 
   7426 
   7427 
   7428 
   7429 
   7430 
   7431 
   7432 
   7433 
   7434 
   7435     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7436 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7437 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7438   $as_echo_n "(cached) " >&6
   7439 else
   7440   lt_cv_apple_cc_single_mod=no
   7441       if test -z "$LT_MULTI_MODULE"; then
   7442 	# By default we will add the -single_module flag. You can override
   7443 	# by either setting the environment variable LT_MULTI_MODULE
   7444 	# non-empty at configure time, or by adding -multi_module to the
   7445 	# link flags.
   7446 	rm -rf libconftest.dylib*
   7447 	echo "int foo(void){return 1;}" > conftest.c
   7448 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7449 -dynamiclib -Wl,-single_module conftest.c" >&5
   7450 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7451 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7452         _lt_result=$?
   7453 	# If there is a non-empty error log, and "single_module"
   7454 	# appears in it, assume the flag caused a linker warning
   7455         if test -s conftest.err && $GREP single_module conftest.err; then
   7456 	  cat conftest.err >&5
   7457 	# Otherwise, if the output was created with a 0 exit code from
   7458 	# the compiler, it worked.
   7459 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   7460 	  lt_cv_apple_cc_single_mod=yes
   7461 	else
   7462 	  cat conftest.err >&5
   7463 	fi
   7464 	rm -rf libconftest.dylib*
   7465 	rm -f conftest.*
   7466       fi
   7467 fi
   7468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7469 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7470 
   7471     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7472 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7473 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7474   $as_echo_n "(cached) " >&6
   7475 else
   7476   lt_cv_ld_exported_symbols_list=no
   7477       save_LDFLAGS=$LDFLAGS
   7478       echo "_main" > conftest.sym
   7479       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7480       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7481 /* end confdefs.h.  */
   7482 
   7483 int
   7484 main ()
   7485 {
   7486 
   7487   ;
   7488   return 0;
   7489 }
   7490 _ACEOF
   7491 if ac_fn_c_try_link "$LINENO"; then :
   7492   lt_cv_ld_exported_symbols_list=yes
   7493 else
   7494   lt_cv_ld_exported_symbols_list=no
   7495 fi
   7496 rm -f core conftest.err conftest.$ac_objext \
   7497     conftest$ac_exeext conftest.$ac_ext
   7498 	LDFLAGS=$save_LDFLAGS
   7499 
   7500 fi
   7501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7502 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7503 
   7504     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7505 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7506 if ${lt_cv_ld_force_load+:} false; then :
   7507   $as_echo_n "(cached) " >&6
   7508 else
   7509   lt_cv_ld_force_load=no
   7510       cat > conftest.c << _LT_EOF
   7511 int forced_loaded() { return 2;}
   7512 _LT_EOF
   7513       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7514       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7515       echo "$AR cru libconftest.a conftest.o" >&5
   7516       $AR cru libconftest.a conftest.o 2>&5
   7517       echo "$RANLIB libconftest.a" >&5
   7518       $RANLIB libconftest.a 2>&5
   7519       cat > conftest.c << _LT_EOF
   7520 int main() { return 0;}
   7521 _LT_EOF
   7522       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7523       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7524       _lt_result=$?
   7525       if test -s conftest.err && $GREP force_load conftest.err; then
   7526 	cat conftest.err >&5
   7527       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   7528 	lt_cv_ld_force_load=yes
   7529       else
   7530 	cat conftest.err >&5
   7531       fi
   7532         rm -f conftest.err libconftest.a conftest conftest.c
   7533         rm -rf conftest.dSYM
   7534 
   7535 fi
   7536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7537 $as_echo "$lt_cv_ld_force_load" >&6; }
   7538     case $host_os in
   7539     rhapsody* | darwin1.[012])
   7540       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   7541     darwin1.*)
   7542       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   7543     darwin*) # darwin 5.x on
   7544       # if running on 10.5 or later, the deployment target defaults
   7545       # to the OS version, if on x86, and 10.4, the deployment
   7546       # target defaults to 10.4. Don't you love it?
   7547       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7548 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7549 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   7550 	10.[012][,.]*)
   7551 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   7552 	10.*)
   7553 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   7554       esac
   7555     ;;
   7556   esac
   7557     if test yes = "$lt_cv_apple_cc_single_mod"; then
   7558       _lt_dar_single_mod='$single_module'
   7559     fi
   7560     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   7561       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   7562     else
   7563       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   7564     fi
   7565     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   7566       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7567     else
   7568       _lt_dsymutil=
   7569     fi
   7570     ;;
   7571   esac
   7572 
   7573 # func_munge_path_list VARIABLE PATH
   7574 # -----------------------------------
   7575 # VARIABLE is name of variable containing _space_ separated list of
   7576 # directories to be munged by the contents of PATH, which is string
   7577 # having a format:
   7578 # "DIR[:DIR]:"
   7579 #       string "DIR[ DIR]" will be prepended to VARIABLE
   7580 # ":DIR[:DIR]"
   7581 #       string "DIR[ DIR]" will be appended to VARIABLE
   7582 # "DIRP[:DIRP]::[DIRA:]DIRA"
   7583 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   7584 #       "DIRA[ DIRA]" will be appended to VARIABLE
   7585 # "DIR[:DIR]"
   7586 #       VARIABLE will be replaced by "DIR[ DIR]"
   7587 func_munge_path_list ()
   7588 {
   7589     case x$2 in
   7590     x)
   7591         ;;
   7592     *:)
   7593         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   7594         ;;
   7595     x:*)
   7596         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   7597         ;;
   7598     *::*)
   7599         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   7600         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   7601         ;;
   7602     *)
   7603         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   7604         ;;
   7605     esac
   7606 }
   7607 
   7608 ac_ext=c
   7609 ac_cpp='$CPP $CPPFLAGS'
   7610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7614 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7615 # On Suns, sometimes $CPP names a directory.
   7616 if test -n "$CPP" && test -d "$CPP"; then
   7617   CPP=
   7618 fi
   7619 if test -z "$CPP"; then
   7620   if ${ac_cv_prog_CPP+:} false; then :
   7621   $as_echo_n "(cached) " >&6
   7622 else
   7623       # Double quotes because CPP needs to be expanded
   7624     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7625     do
   7626       ac_preproc_ok=false
   7627 for ac_c_preproc_warn_flag in '' yes
   7628 do
   7629   # Use a header file that comes with gcc, so configuring glibc
   7630   # with a fresh cross-compiler works.
   7631   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7632   # <limits.h> exists even on freestanding compilers.
   7633   # On the NeXT, cc -E runs the code through the compiler's parser,
   7634   # not just through cpp. "Syntax error" is here to catch this case.
   7635   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7636 /* end confdefs.h.  */
   7637 #ifdef __STDC__
   7638 # include <limits.h>
   7639 #else
   7640 # include <assert.h>
   7641 #endif
   7642 		     Syntax error
   7643 _ACEOF
   7644 if ac_fn_c_try_cpp "$LINENO"; then :
   7645 
   7646 else
   7647   # Broken: fails on valid input.
   7648 continue
   7649 fi
   7650 rm -f conftest.err conftest.i conftest.$ac_ext
   7651 
   7652   # OK, works on sane cases.  Now check whether nonexistent headers
   7653   # can be detected and how.
   7654   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7655 /* end confdefs.h.  */
   7656 #include <ac_nonexistent.h>
   7657 _ACEOF
   7658 if ac_fn_c_try_cpp "$LINENO"; then :
   7659   # Broken: success on invalid input.
   7660 continue
   7661 else
   7662   # Passes both tests.
   7663 ac_preproc_ok=:
   7664 break
   7665 fi
   7666 rm -f conftest.err conftest.i conftest.$ac_ext
   7667 
   7668 done
   7669 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7670 rm -f conftest.i conftest.err conftest.$ac_ext
   7671 if $ac_preproc_ok; then :
   7672   break
   7673 fi
   7674 
   7675     done
   7676     ac_cv_prog_CPP=$CPP
   7677 
   7678 fi
   7679   CPP=$ac_cv_prog_CPP
   7680 else
   7681   ac_cv_prog_CPP=$CPP
   7682 fi
   7683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7684 $as_echo "$CPP" >&6; }
   7685 ac_preproc_ok=false
   7686 for ac_c_preproc_warn_flag in '' yes
   7687 do
   7688   # Use a header file that comes with gcc, so configuring glibc
   7689   # with a fresh cross-compiler works.
   7690   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7691   # <limits.h> exists even on freestanding compilers.
   7692   # On the NeXT, cc -E runs the code through the compiler's parser,
   7693   # not just through cpp. "Syntax error" is here to catch this case.
   7694   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7695 /* end confdefs.h.  */
   7696 #ifdef __STDC__
   7697 # include <limits.h>
   7698 #else
   7699 # include <assert.h>
   7700 #endif
   7701 		     Syntax error
   7702 _ACEOF
   7703 if ac_fn_c_try_cpp "$LINENO"; then :
   7704 
   7705 else
   7706   # Broken: fails on valid input.
   7707 continue
   7708 fi
   7709 rm -f conftest.err conftest.i conftest.$ac_ext
   7710 
   7711   # OK, works on sane cases.  Now check whether nonexistent headers
   7712   # can be detected and how.
   7713   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7714 /* end confdefs.h.  */
   7715 #include <ac_nonexistent.h>
   7716 _ACEOF
   7717 if ac_fn_c_try_cpp "$LINENO"; then :
   7718   # Broken: success on invalid input.
   7719 continue
   7720 else
   7721   # Passes both tests.
   7722 ac_preproc_ok=:
   7723 break
   7724 fi
   7725 rm -f conftest.err conftest.i conftest.$ac_ext
   7726 
   7727 done
   7728 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7729 rm -f conftest.i conftest.err conftest.$ac_ext
   7730 if $ac_preproc_ok; then :
   7731 
   7732 else
   7733   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7734 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7735 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7736 See \`config.log' for more details" "$LINENO" 5; }
   7737 fi
   7738 
   7739 ac_ext=c
   7740 ac_cpp='$CPP $CPPFLAGS'
   7741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7744 
   7745 
   7746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7747 $as_echo_n "checking for ANSI C header files... " >&6; }
   7748 if ${ac_cv_header_stdc+:} false; then :
   7749   $as_echo_n "(cached) " >&6
   7750 else
   7751   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7752 /* end confdefs.h.  */
   7753 #include <stdlib.h>
   7754 #include <stdarg.h>
   7755 #include <string.h>
   7756 #include <float.h>
   7757 
   7758 int
   7759 main ()
   7760 {
   7761 
   7762   ;
   7763   return 0;
   7764 }
   7765 _ACEOF
   7766 if ac_fn_c_try_compile "$LINENO"; then :
   7767   ac_cv_header_stdc=yes
   7768 else
   7769   ac_cv_header_stdc=no
   7770 fi
   7771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7772 
   7773 if test $ac_cv_header_stdc = yes; then
   7774   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7776 /* end confdefs.h.  */
   7777 #include <string.h>
   7778 
   7779 _ACEOF
   7780 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7781   $EGREP "memchr" >/dev/null 2>&1; then :
   7782 
   7783 else
   7784   ac_cv_header_stdc=no
   7785 fi
   7786 rm -f conftest*
   7787 
   7788 fi
   7789 
   7790 if test $ac_cv_header_stdc = yes; then
   7791   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7793 /* end confdefs.h.  */
   7794 #include <stdlib.h>
   7795 
   7796 _ACEOF
   7797 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7798   $EGREP "free" >/dev/null 2>&1; then :
   7799 
   7800 else
   7801   ac_cv_header_stdc=no
   7802 fi
   7803 rm -f conftest*
   7804 
   7805 fi
   7806 
   7807 if test $ac_cv_header_stdc = yes; then
   7808   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7809   if test "$cross_compiling" = yes; then :
   7810   :
   7811 else
   7812   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7813 /* end confdefs.h.  */
   7814 #include <ctype.h>
   7815 #include <stdlib.h>
   7816 #if ((' ' & 0x0FF) == 0x020)
   7817 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7818 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7819 #else
   7820 # define ISLOWER(c) \
   7821 		   (('a' <= (c) && (c) <= 'i') \
   7822 		     || ('j' <= (c) && (c) <= 'r') \
   7823 		     || ('s' <= (c) && (c) <= 'z'))
   7824 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7825 #endif
   7826 
   7827 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7828 int
   7829 main ()
   7830 {
   7831   int i;
   7832   for (i = 0; i < 256; i++)
   7833     if (XOR (islower (i), ISLOWER (i))
   7834 	|| toupper (i) != TOUPPER (i))
   7835       return 2;
   7836   return 0;
   7837 }
   7838 _ACEOF
   7839 if ac_fn_c_try_run "$LINENO"; then :
   7840 
   7841 else
   7842   ac_cv_header_stdc=no
   7843 fi
   7844 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7845   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7846 fi
   7847 
   7848 fi
   7849 fi
   7850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7851 $as_echo "$ac_cv_header_stdc" >&6; }
   7852 if test $ac_cv_header_stdc = yes; then
   7853 
   7854 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7855 
   7856 fi
   7857 
   7858 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7859 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7860 		  inttypes.h stdint.h unistd.h
   7861 do :
   7862   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7863 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7864 "
   7865 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7866   cat >>confdefs.h <<_ACEOF
   7867 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7868 _ACEOF
   7869 
   7870 fi
   7871 
   7872 done
   7873 
   7874 
   7875 for ac_header in dlfcn.h
   7876 do :
   7877   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7878 "
   7879 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7880   cat >>confdefs.h <<_ACEOF
   7881 #define HAVE_DLFCN_H 1
   7882 _ACEOF
   7883 
   7884 fi
   7885 
   7886 done
   7887 
   7888 
   7889 
   7890 
   7891 
   7892 # Set options
   7893 
   7894 
   7895 
   7896         enable_dlopen=no
   7897 
   7898 
   7899   enable_win32_dll=no
   7900 
   7901 
   7902             # Check whether --enable-shared was given.
   7903 if test "${enable_shared+set}" = set; then :
   7904   enableval=$enable_shared; p=${PACKAGE-default}
   7905     case $enableval in
   7906     yes) enable_shared=yes ;;
   7907     no) enable_shared=no ;;
   7908     *)
   7909       enable_shared=no
   7910       # Look at the argument we got.  We use all the common list separators.
   7911       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   7912       for pkg in $enableval; do
   7913 	IFS=$lt_save_ifs
   7914 	if test "X$pkg" = "X$p"; then
   7915 	  enable_shared=yes
   7916 	fi
   7917       done
   7918       IFS=$lt_save_ifs
   7919       ;;
   7920     esac
   7921 else
   7922   enable_shared=yes
   7923 fi
   7924 
   7925 
   7926 
   7927 
   7928 
   7929 
   7930 
   7931 
   7932 
   7933   # Check whether --enable-static was given.
   7934 if test "${enable_static+set}" = set; then :
   7935   enableval=$enable_static; p=${PACKAGE-default}
   7936     case $enableval in
   7937     yes) enable_static=yes ;;
   7938     no) enable_static=no ;;
   7939     *)
   7940      enable_static=no
   7941       # Look at the argument we got.  We use all the common list separators.
   7942       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   7943       for pkg in $enableval; do
   7944 	IFS=$lt_save_ifs
   7945 	if test "X$pkg" = "X$p"; then
   7946 	  enable_static=yes
   7947 	fi
   7948       done
   7949       IFS=$lt_save_ifs
   7950       ;;
   7951     esac
   7952 else
   7953   enable_static=yes
   7954 fi
   7955 
   7956 
   7957 
   7958 
   7959 
   7960 
   7961 
   7962 
   7963 
   7964 
   7965 # Check whether --with-pic was given.
   7966 if test "${with_pic+set}" = set; then :
   7967   withval=$with_pic; lt_p=${PACKAGE-default}
   7968     case $withval in
   7969     yes|no) pic_mode=$withval ;;
   7970     *)
   7971       pic_mode=default
   7972       # Look at the argument we got.  We use all the common list separators.
   7973       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   7974       for lt_pkg in $withval; do
   7975 	IFS=$lt_save_ifs
   7976 	if test "X$lt_pkg" = "X$lt_p"; then
   7977 	  pic_mode=yes
   7978 	fi
   7979       done
   7980       IFS=$lt_save_ifs
   7981       ;;
   7982     esac
   7983 else
   7984   pic_mode=default
   7985 fi
   7986 
   7987 
   7988 
   7989 
   7990 
   7991 
   7992 
   7993 
   7994   # Check whether --enable-fast-install was given.
   7995 if test "${enable_fast_install+set}" = set; then :
   7996   enableval=$enable_fast_install; p=${PACKAGE-default}
   7997     case $enableval in
   7998     yes) enable_fast_install=yes ;;
   7999     no) enable_fast_install=no ;;
   8000     *)
   8001       enable_fast_install=no
   8002       # Look at the argument we got.  We use all the common list separators.
   8003       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8004       for pkg in $enableval; do
   8005 	IFS=$lt_save_ifs
   8006 	if test "X$pkg" = "X$p"; then
   8007 	  enable_fast_install=yes
   8008 	fi
   8009       done
   8010       IFS=$lt_save_ifs
   8011       ;;
   8012     esac
   8013 else
   8014   enable_fast_install=yes
   8015 fi
   8016 
   8017 
   8018 
   8019 
   8020 
   8021 
   8022 
   8023 
   8024   shared_archive_member_spec=
   8025 case $host,$enable_shared in
   8026 power*-*-aix[5-9]*,yes)
   8027   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   8028 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
   8029 
   8030 # Check whether --with-aix-soname was given.
   8031 if test "${with_aix_soname+set}" = set; then :
   8032   withval=$with_aix_soname; case $withval in
   8033     aix|svr4|both)
   8034       ;;
   8035     *)
   8036       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   8037       ;;
   8038     esac
   8039     lt_cv_with_aix_soname=$with_aix_soname
   8040 else
   8041   if ${lt_cv_with_aix_soname+:} false; then :
   8042   $as_echo_n "(cached) " >&6
   8043 else
   8044   lt_cv_with_aix_soname=aix
   8045 fi
   8046 
   8047     with_aix_soname=$lt_cv_with_aix_soname
   8048 fi
   8049 
   8050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   8051 $as_echo "$with_aix_soname" >&6; }
   8052   if test aix != "$with_aix_soname"; then
   8053     # For the AIX way of multilib, we name the shared archive member
   8054     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   8055     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   8056     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   8057     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   8058     if test 64 = "${OBJECT_MODE-32}"; then
   8059       shared_archive_member_spec=shr_64
   8060     else
   8061       shared_archive_member_spec=shr
   8062     fi
   8063   fi
   8064   ;;
   8065 *)
   8066   with_aix_soname=aix
   8067   ;;
   8068 esac
   8069 
   8070 
   8071 
   8072 
   8073 
   8074 
   8075 
   8076 
   8077 
   8078 
   8079 # This can be used to rebuild libtool when needed
   8080 LIBTOOL_DEPS=$ltmain
   8081 
   8082 # Always use our own libtool.
   8083 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8084 
   8085 
   8086 
   8087 
   8088 
   8089 
   8090 
   8091 
   8092 
   8093 
   8094 
   8095 
   8096 
   8097 
   8098 
   8099 
   8100 
   8101 
   8102 
   8103 
   8104 
   8105 
   8106 
   8107 
   8108 
   8109 
   8110 
   8111 
   8112 
   8113 
   8114 test -z "$LN_S" && LN_S="ln -s"
   8115 
   8116 
   8117 
   8118 
   8119 
   8120 
   8121 
   8122 
   8123 
   8124 
   8125 
   8126 
   8127 
   8128 
   8129 if test -n "${ZSH_VERSION+set}"; then
   8130    setopt NO_GLOB_SUBST
   8131 fi
   8132 
   8133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8134 $as_echo_n "checking for objdir... " >&6; }
   8135 if ${lt_cv_objdir+:} false; then :
   8136   $as_echo_n "(cached) " >&6
   8137 else
   8138   rm -f .libs 2>/dev/null
   8139 mkdir .libs 2>/dev/null
   8140 if test -d .libs; then
   8141   lt_cv_objdir=.libs
   8142 else
   8143   # MS-DOS does not allow filenames that begin with a dot.
   8144   lt_cv_objdir=_libs
   8145 fi
   8146 rmdir .libs 2>/dev/null
   8147 fi
   8148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8149 $as_echo "$lt_cv_objdir" >&6; }
   8150 objdir=$lt_cv_objdir
   8151 
   8152 
   8153 
   8154 
   8155 
   8156 cat >>confdefs.h <<_ACEOF
   8157 #define LT_OBJDIR "$lt_cv_objdir/"
   8158 _ACEOF
   8159 
   8160 
   8161 
   8162 
   8163 case $host_os in
   8164 aix3*)
   8165   # AIX sometimes has problems with the GCC collect2 program.  For some
   8166   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8167   # vanish in a puff of smoke.
   8168   if test set != "${COLLECT_NAMES+set}"; then
   8169     COLLECT_NAMES=
   8170     export COLLECT_NAMES
   8171   fi
   8172   ;;
   8173 esac
   8174 
   8175 # Global variables:
   8176 ofile=libtool
   8177 can_build_shared=yes
   8178 
   8179 # All known linkers require a '.a' archive for static linking (except MSVC,
   8180 # which needs '.lib').
   8181 libext=a
   8182 
   8183 with_gnu_ld=$lt_cv_prog_gnu_ld
   8184 
   8185 old_CC=$CC
   8186 old_CFLAGS=$CFLAGS
   8187 
   8188 # Set sane defaults for various variables
   8189 test -z "$CC" && CC=cc
   8190 test -z "$LTCC" && LTCC=$CC
   8191 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8192 test -z "$LD" && LD=ld
   8193 test -z "$ac_objext" && ac_objext=o
   8194 
   8195 func_cc_basename $compiler
   8196 cc_basename=$func_cc_basename_result
   8197 
   8198 
   8199 # Only perform the check for file, if the check method requires it
   8200 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8201 case $deplibs_check_method in
   8202 file_magic*)
   8203   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8204     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8205 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   8206 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8207   $as_echo_n "(cached) " >&6
   8208 else
   8209   case $MAGIC_CMD in
   8210 [\\/*] |  ?:[\\/]*)
   8211   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8212   ;;
   8213 *)
   8214   lt_save_MAGIC_CMD=$MAGIC_CMD
   8215   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8216   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8217   for ac_dir in $ac_dummy; do
   8218     IFS=$lt_save_ifs
   8219     test -z "$ac_dir" && ac_dir=.
   8220     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   8221       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   8222       if test -n "$file_magic_test_file"; then
   8223 	case $deplibs_check_method in
   8224 	"file_magic "*)
   8225 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8226 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8227 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8228 	    $EGREP "$file_magic_regex" > /dev/null; then
   8229 	    :
   8230 	  else
   8231 	    cat <<_LT_EOF 1>&2
   8232 
   8233 *** Warning: the command libtool uses to detect shared libraries,
   8234 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8235 *** The result is that libtool may fail to recognize shared libraries
   8236 *** as such.  This will affect the creation of libtool libraries that
   8237 *** depend on shared libraries, but programs linked with such libtool
   8238 *** libraries will work regardless of this problem.  Nevertheless, you
   8239 *** may want to report the problem to your system manager and/or to
   8240 *** bug-libtool (at] gnu.org
   8241 
   8242 _LT_EOF
   8243 	  fi ;;
   8244 	esac
   8245       fi
   8246       break
   8247     fi
   8248   done
   8249   IFS=$lt_save_ifs
   8250   MAGIC_CMD=$lt_save_MAGIC_CMD
   8251   ;;
   8252 esac
   8253 fi
   8254 
   8255 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8256 if test -n "$MAGIC_CMD"; then
   8257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8258 $as_echo "$MAGIC_CMD" >&6; }
   8259 else
   8260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8261 $as_echo "no" >&6; }
   8262 fi
   8263 
   8264 
   8265 
   8266 
   8267 
   8268 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8269   if test -n "$ac_tool_prefix"; then
   8270     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8271 $as_echo_n "checking for file... " >&6; }
   8272 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8273   $as_echo_n "(cached) " >&6
   8274 else
   8275   case $MAGIC_CMD in
   8276 [\\/*] |  ?:[\\/]*)
   8277   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8278   ;;
   8279 *)
   8280   lt_save_MAGIC_CMD=$MAGIC_CMD
   8281   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8282   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8283   for ac_dir in $ac_dummy; do
   8284     IFS=$lt_save_ifs
   8285     test -z "$ac_dir" && ac_dir=.
   8286     if test -f "$ac_dir/file"; then
   8287       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   8288       if test -n "$file_magic_test_file"; then
   8289 	case $deplibs_check_method in
   8290 	"file_magic "*)
   8291 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8292 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8293 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8294 	    $EGREP "$file_magic_regex" > /dev/null; then
   8295 	    :
   8296 	  else
   8297 	    cat <<_LT_EOF 1>&2
   8298 
   8299 *** Warning: the command libtool uses to detect shared libraries,
   8300 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8301 *** The result is that libtool may fail to recognize shared libraries
   8302 *** as such.  This will affect the creation of libtool libraries that
   8303 *** depend on shared libraries, but programs linked with such libtool
   8304 *** libraries will work regardless of this problem.  Nevertheless, you
   8305 *** may want to report the problem to your system manager and/or to
   8306 *** bug-libtool (at] gnu.org
   8307 
   8308 _LT_EOF
   8309 	  fi ;;
   8310 	esac
   8311       fi
   8312       break
   8313     fi
   8314   done
   8315   IFS=$lt_save_ifs
   8316   MAGIC_CMD=$lt_save_MAGIC_CMD
   8317   ;;
   8318 esac
   8319 fi
   8320 
   8321 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8322 if test -n "$MAGIC_CMD"; then
   8323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8324 $as_echo "$MAGIC_CMD" >&6; }
   8325 else
   8326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8327 $as_echo "no" >&6; }
   8328 fi
   8329 
   8330 
   8331   else
   8332     MAGIC_CMD=:
   8333   fi
   8334 fi
   8335 
   8336   fi
   8337   ;;
   8338 esac
   8339 
   8340 # Use C for the default configuration in the libtool script
   8341 
   8342 lt_save_CC=$CC
   8343 ac_ext=c
   8344 ac_cpp='$CPP $CPPFLAGS'
   8345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8348 
   8349 
   8350 # Source file extension for C test sources.
   8351 ac_ext=c
   8352 
   8353 # Object file extension for compiled C test sources.
   8354 objext=o
   8355 objext=$objext
   8356 
   8357 # Code to be used in simple compile tests
   8358 lt_simple_compile_test_code="int some_variable = 0;"
   8359 
   8360 # Code to be used in simple link tests
   8361 lt_simple_link_test_code='int main(){return(0);}'
   8362 
   8363 
   8364 
   8365 
   8366 
   8367 
   8368 
   8369 # If no C compiler was specified, use CC.
   8370 LTCC=${LTCC-"$CC"}
   8371 
   8372 # If no C compiler flags were specified, use CFLAGS.
   8373 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8374 
   8375 # Allow CC to be a program name with arguments.
   8376 compiler=$CC
   8377 
   8378 # Save the default compiler, since it gets overwritten when the other
   8379 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8380 compiler_DEFAULT=$CC
   8381 
   8382 # save warnings/boilerplate of simple test code
   8383 ac_outfile=conftest.$ac_objext
   8384 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8385 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8386 _lt_compiler_boilerplate=`cat conftest.err`
   8387 $RM conftest*
   8388 
   8389 ac_outfile=conftest.$ac_objext
   8390 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8391 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8392 _lt_linker_boilerplate=`cat conftest.err`
   8393 $RM -r conftest*
   8394 
   8395 
   8396 ## CAVEAT EMPTOR:
   8397 ## There is no encapsulation within the following macros, do not change
   8398 ## the running order or otherwise move them around unless you know exactly
   8399 ## what you are doing...
   8400 if test -n "$compiler"; then
   8401 
   8402 lt_prog_compiler_no_builtin_flag=
   8403 
   8404 if test yes = "$GCC"; then
   8405   case $cc_basename in
   8406   nvcc*)
   8407     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8408   *)
   8409     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8410   esac
   8411 
   8412   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8413 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8414 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8415   $as_echo_n "(cached) " >&6
   8416 else
   8417   lt_cv_prog_compiler_rtti_exceptions=no
   8418    ac_outfile=conftest.$ac_objext
   8419    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8420    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   8421    # Insert the option either (1) after the last *FLAGS variable, or
   8422    # (2) before a word containing "conftest.", or (3) at the end.
   8423    # Note that $ac_compile itself does not contain backslashes and begins
   8424    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8425    # The option is referenced via a variable to avoid confusing sed.
   8426    lt_compile=`echo "$ac_compile" | $SED \
   8427    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8428    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8429    -e 's:$: $lt_compiler_flag:'`
   8430    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8431    (eval "$lt_compile" 2>conftest.err)
   8432    ac_status=$?
   8433    cat conftest.err >&5
   8434    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8435    if (exit $ac_status) && test -s "$ac_outfile"; then
   8436      # The compiler can only warn and ignore the option if not recognized
   8437      # So say no if there are warnings other than the usual output.
   8438      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8439      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8440      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8441        lt_cv_prog_compiler_rtti_exceptions=yes
   8442      fi
   8443    fi
   8444    $RM conftest*
   8445 
   8446 fi
   8447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8448 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8449 
   8450 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   8451     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8452 else
   8453     :
   8454 fi
   8455 
   8456 fi
   8457 
   8458 
   8459 
   8460 
   8461 
   8462 
   8463   lt_prog_compiler_wl=
   8464 lt_prog_compiler_pic=
   8465 lt_prog_compiler_static=
   8466 
   8467 
   8468   if test yes = "$GCC"; then
   8469     lt_prog_compiler_wl='-Wl,'
   8470     lt_prog_compiler_static='-static'
   8471 
   8472     case $host_os in
   8473       aix*)
   8474       # All AIX code is PIC.
   8475       if test ia64 = "$host_cpu"; then
   8476 	# AIX 5 now supports IA64 processor
   8477 	lt_prog_compiler_static='-Bstatic'
   8478       fi
   8479       lt_prog_compiler_pic='-fPIC'
   8480       ;;
   8481 
   8482     amigaos*)
   8483       case $host_cpu in
   8484       powerpc)
   8485             # see comment about AmigaOS4 .so support
   8486             lt_prog_compiler_pic='-fPIC'
   8487         ;;
   8488       m68k)
   8489             # FIXME: we need at least 68020 code to build shared libraries, but
   8490             # adding the '-m68020' flag to GCC prevents building anything better,
   8491             # like '-m68040'.
   8492             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8493         ;;
   8494       esac
   8495       ;;
   8496 
   8497     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8498       # PIC is the default for these OSes.
   8499       ;;
   8500 
   8501     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8502       # This hack is so that the source file can tell whether it is being
   8503       # built for inclusion in a dll (and should export symbols for example).
   8504       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8505       # (--disable-auto-import) libraries
   8506       lt_prog_compiler_pic='-DDLL_EXPORT'
   8507       case $host_os in
   8508       os2*)
   8509 	lt_prog_compiler_static='$wl-static'
   8510 	;;
   8511       esac
   8512       ;;
   8513 
   8514     darwin* | rhapsody*)
   8515       # PIC is the default on this platform
   8516       # Common symbols not allowed in MH_DYLIB files
   8517       lt_prog_compiler_pic='-fno-common'
   8518       ;;
   8519 
   8520     haiku*)
   8521       # PIC is the default for Haiku.
   8522       # The "-static" flag exists, but is broken.
   8523       lt_prog_compiler_static=
   8524       ;;
   8525 
   8526     hpux*)
   8527       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8528       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8529       # sets the default TLS model and affects inlining.
   8530       case $host_cpu in
   8531       hppa*64*)
   8532 	# +Z the default
   8533 	;;
   8534       *)
   8535 	lt_prog_compiler_pic='-fPIC'
   8536 	;;
   8537       esac
   8538       ;;
   8539 
   8540     interix[3-9]*)
   8541       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8542       # Instead, we relocate shared libraries at runtime.
   8543       ;;
   8544 
   8545     msdosdjgpp*)
   8546       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8547       # on systems that don't support them.
   8548       lt_prog_compiler_can_build_shared=no
   8549       enable_shared=no
   8550       ;;
   8551 
   8552     *nto* | *qnx*)
   8553       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8554       # it will coredump.
   8555       lt_prog_compiler_pic='-fPIC -shared'
   8556       ;;
   8557 
   8558     sysv4*MP*)
   8559       if test -d /usr/nec; then
   8560 	lt_prog_compiler_pic=-Kconform_pic
   8561       fi
   8562       ;;
   8563 
   8564     *)
   8565       lt_prog_compiler_pic='-fPIC'
   8566       ;;
   8567     esac
   8568 
   8569     case $cc_basename in
   8570     nvcc*) # Cuda Compiler Driver 2.2
   8571       lt_prog_compiler_wl='-Xlinker '
   8572       if test -n "$lt_prog_compiler_pic"; then
   8573         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   8574       fi
   8575       ;;
   8576     esac
   8577   else
   8578     # PORTME Check for flag to pass linker flags through the system compiler.
   8579     case $host_os in
   8580     aix*)
   8581       lt_prog_compiler_wl='-Wl,'
   8582       if test ia64 = "$host_cpu"; then
   8583 	# AIX 5 now supports IA64 processor
   8584 	lt_prog_compiler_static='-Bstatic'
   8585       else
   8586 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8587       fi
   8588       ;;
   8589 
   8590     darwin* | rhapsody*)
   8591       # PIC is the default on this platform
   8592       # Common symbols not allowed in MH_DYLIB files
   8593       lt_prog_compiler_pic='-fno-common'
   8594       case $cc_basename in
   8595       nagfor*)
   8596         # NAG Fortran compiler
   8597         lt_prog_compiler_wl='-Wl,-Wl,,'
   8598         lt_prog_compiler_pic='-PIC'
   8599         lt_prog_compiler_static='-Bstatic'
   8600         ;;
   8601       esac
   8602       ;;
   8603 
   8604     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8605       # This hack is so that the source file can tell whether it is being
   8606       # built for inclusion in a dll (and should export symbols for example).
   8607       lt_prog_compiler_pic='-DDLL_EXPORT'
   8608       case $host_os in
   8609       os2*)
   8610 	lt_prog_compiler_static='$wl-static'
   8611 	;;
   8612       esac
   8613       ;;
   8614 
   8615     hpux9* | hpux10* | hpux11*)
   8616       lt_prog_compiler_wl='-Wl,'
   8617       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8618       # not for PA HP-UX.
   8619       case $host_cpu in
   8620       hppa*64*|ia64*)
   8621 	# +Z the default
   8622 	;;
   8623       *)
   8624 	lt_prog_compiler_pic='+Z'
   8625 	;;
   8626       esac
   8627       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8628       lt_prog_compiler_static='$wl-a ${wl}archive'
   8629       ;;
   8630 
   8631     irix5* | irix6* | nonstopux*)
   8632       lt_prog_compiler_wl='-Wl,'
   8633       # PIC (with -KPIC) is the default.
   8634       lt_prog_compiler_static='-non_shared'
   8635       ;;
   8636 
   8637     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   8638       case $cc_basename in
   8639       # old Intel for x86_64, which still supported -KPIC.
   8640       ecc*)
   8641 	lt_prog_compiler_wl='-Wl,'
   8642 	lt_prog_compiler_pic='-KPIC'
   8643 	lt_prog_compiler_static='-static'
   8644         ;;
   8645       # icc used to be incompatible with GCC.
   8646       # ICC 10 doesn't accept -KPIC any more.
   8647       icc* | ifort*)
   8648 	lt_prog_compiler_wl='-Wl,'
   8649 	lt_prog_compiler_pic='-fPIC'
   8650 	lt_prog_compiler_static='-static'
   8651         ;;
   8652       # Lahey Fortran 8.1.
   8653       lf95*)
   8654 	lt_prog_compiler_wl='-Wl,'
   8655 	lt_prog_compiler_pic='--shared'
   8656 	lt_prog_compiler_static='--static'
   8657 	;;
   8658       nagfor*)
   8659 	# NAG Fortran compiler
   8660 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8661 	lt_prog_compiler_pic='-PIC'
   8662 	lt_prog_compiler_static='-Bstatic'
   8663 	;;
   8664       tcc*)
   8665 	# Fabrice Bellard et al's Tiny C Compiler
   8666 	lt_prog_compiler_wl='-Wl,'
   8667 	lt_prog_compiler_pic='-fPIC'
   8668 	lt_prog_compiler_static='-static'
   8669 	;;
   8670       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8671         # Portland Group compilers (*not* the Pentium gcc compiler,
   8672 	# which looks to be a dead project)
   8673 	lt_prog_compiler_wl='-Wl,'
   8674 	lt_prog_compiler_pic='-fpic'
   8675 	lt_prog_compiler_static='-Bstatic'
   8676         ;;
   8677       ccc*)
   8678         lt_prog_compiler_wl='-Wl,'
   8679         # All Alpha code is PIC.
   8680         lt_prog_compiler_static='-non_shared'
   8681         ;;
   8682       xl* | bgxl* | bgf* | mpixl*)
   8683 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8684 	lt_prog_compiler_wl='-Wl,'
   8685 	lt_prog_compiler_pic='-qpic'
   8686 	lt_prog_compiler_static='-qstaticlink'
   8687 	;;
   8688       *)
   8689 	case `$CC -V 2>&1 | sed 5q` in
   8690 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8691 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8692 	  lt_prog_compiler_pic='-KPIC'
   8693 	  lt_prog_compiler_static='-Bstatic'
   8694 	  lt_prog_compiler_wl=''
   8695 	  ;;
   8696 	*Sun\ F* | *Sun*Fortran*)
   8697 	  lt_prog_compiler_pic='-KPIC'
   8698 	  lt_prog_compiler_static='-Bstatic'
   8699 	  lt_prog_compiler_wl='-Qoption ld '
   8700 	  ;;
   8701 	*Sun\ C*)
   8702 	  # Sun C 5.9
   8703 	  lt_prog_compiler_pic='-KPIC'
   8704 	  lt_prog_compiler_static='-Bstatic'
   8705 	  lt_prog_compiler_wl='-Wl,'
   8706 	  ;;
   8707         *Intel*\ [CF]*Compiler*)
   8708 	  lt_prog_compiler_wl='-Wl,'
   8709 	  lt_prog_compiler_pic='-fPIC'
   8710 	  lt_prog_compiler_static='-static'
   8711 	  ;;
   8712 	*Portland\ Group*)
   8713 	  lt_prog_compiler_wl='-Wl,'
   8714 	  lt_prog_compiler_pic='-fpic'
   8715 	  lt_prog_compiler_static='-Bstatic'
   8716 	  ;;
   8717 	esac
   8718 	;;
   8719       esac
   8720       ;;
   8721 
   8722     newsos6)
   8723       lt_prog_compiler_pic='-KPIC'
   8724       lt_prog_compiler_static='-Bstatic'
   8725       ;;
   8726 
   8727     *nto* | *qnx*)
   8728       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8729       # it will coredump.
   8730       lt_prog_compiler_pic='-fPIC -shared'
   8731       ;;
   8732 
   8733     osf3* | osf4* | osf5*)
   8734       lt_prog_compiler_wl='-Wl,'
   8735       # All OSF/1 code is PIC.
   8736       lt_prog_compiler_static='-non_shared'
   8737       ;;
   8738 
   8739     rdos*)
   8740       lt_prog_compiler_static='-non_shared'
   8741       ;;
   8742 
   8743     solaris*)
   8744       lt_prog_compiler_pic='-KPIC'
   8745       lt_prog_compiler_static='-Bstatic'
   8746       case $cc_basename in
   8747       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8748 	lt_prog_compiler_wl='-Qoption ld ';;
   8749       *)
   8750 	lt_prog_compiler_wl='-Wl,';;
   8751       esac
   8752       ;;
   8753 
   8754     sunos4*)
   8755       lt_prog_compiler_wl='-Qoption ld '
   8756       lt_prog_compiler_pic='-PIC'
   8757       lt_prog_compiler_static='-Bstatic'
   8758       ;;
   8759 
   8760     sysv4 | sysv4.2uw2* | sysv4.3*)
   8761       lt_prog_compiler_wl='-Wl,'
   8762       lt_prog_compiler_pic='-KPIC'
   8763       lt_prog_compiler_static='-Bstatic'
   8764       ;;
   8765 
   8766     sysv4*MP*)
   8767       if test -d /usr/nec; then
   8768 	lt_prog_compiler_pic='-Kconform_pic'
   8769 	lt_prog_compiler_static='-Bstatic'
   8770       fi
   8771       ;;
   8772 
   8773     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8774       lt_prog_compiler_wl='-Wl,'
   8775       lt_prog_compiler_pic='-KPIC'
   8776       lt_prog_compiler_static='-Bstatic'
   8777       ;;
   8778 
   8779     unicos*)
   8780       lt_prog_compiler_wl='-Wl,'
   8781       lt_prog_compiler_can_build_shared=no
   8782       ;;
   8783 
   8784     uts4*)
   8785       lt_prog_compiler_pic='-pic'
   8786       lt_prog_compiler_static='-Bstatic'
   8787       ;;
   8788 
   8789     *)
   8790       lt_prog_compiler_can_build_shared=no
   8791       ;;
   8792     esac
   8793   fi
   8794 
   8795 case $host_os in
   8796   # For platforms that do not support PIC, -DPIC is meaningless:
   8797   *djgpp*)
   8798     lt_prog_compiler_pic=
   8799     ;;
   8800   *)
   8801     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8802     ;;
   8803 esac
   8804 
   8805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8806 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8807 if ${lt_cv_prog_compiler_pic+:} false; then :
   8808   $as_echo_n "(cached) " >&6
   8809 else
   8810   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8811 fi
   8812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8813 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8814 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8815 
   8816 #
   8817 # Check to make sure the PIC flag actually works.
   8818 #
   8819 if test -n "$lt_prog_compiler_pic"; then
   8820   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8821 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8822 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8823   $as_echo_n "(cached) " >&6
   8824 else
   8825   lt_cv_prog_compiler_pic_works=no
   8826    ac_outfile=conftest.$ac_objext
   8827    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8828    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   8829    # Insert the option either (1) after the last *FLAGS variable, or
   8830    # (2) before a word containing "conftest.", or (3) at the end.
   8831    # Note that $ac_compile itself does not contain backslashes and begins
   8832    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8833    # The option is referenced via a variable to avoid confusing sed.
   8834    lt_compile=`echo "$ac_compile" | $SED \
   8835    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8836    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8837    -e 's:$: $lt_compiler_flag:'`
   8838    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8839    (eval "$lt_compile" 2>conftest.err)
   8840    ac_status=$?
   8841    cat conftest.err >&5
   8842    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8843    if (exit $ac_status) && test -s "$ac_outfile"; then
   8844      # The compiler can only warn and ignore the option if not recognized
   8845      # So say no if there are warnings other than the usual output.
   8846      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8847      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8848      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8849        lt_cv_prog_compiler_pic_works=yes
   8850      fi
   8851    fi
   8852    $RM conftest*
   8853 
   8854 fi
   8855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8856 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8857 
   8858 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   8859     case $lt_prog_compiler_pic in
   8860      "" | " "*) ;;
   8861      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8862      esac
   8863 else
   8864     lt_prog_compiler_pic=
   8865      lt_prog_compiler_can_build_shared=no
   8866 fi
   8867 
   8868 fi
   8869 
   8870 
   8871 
   8872 
   8873 
   8874 
   8875 
   8876 
   8877 
   8878 
   8879 
   8880 #
   8881 # Check to make sure the static flag actually works.
   8882 #
   8883 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8885 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8886 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8887   $as_echo_n "(cached) " >&6
   8888 else
   8889   lt_cv_prog_compiler_static_works=no
   8890    save_LDFLAGS=$LDFLAGS
   8891    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8892    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8893    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8894      # The linker can only warn and ignore the option if not recognized
   8895      # So say no if there are warnings
   8896      if test -s conftest.err; then
   8897        # Append any errors to the config.log.
   8898        cat conftest.err 1>&5
   8899        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8900        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8901        if diff conftest.exp conftest.er2 >/dev/null; then
   8902          lt_cv_prog_compiler_static_works=yes
   8903        fi
   8904      else
   8905        lt_cv_prog_compiler_static_works=yes
   8906      fi
   8907    fi
   8908    $RM -r conftest*
   8909    LDFLAGS=$save_LDFLAGS
   8910 
   8911 fi
   8912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8913 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8914 
   8915 if test yes = "$lt_cv_prog_compiler_static_works"; then
   8916     :
   8917 else
   8918     lt_prog_compiler_static=
   8919 fi
   8920 
   8921 
   8922 
   8923 
   8924 
   8925 
   8926 
   8927   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8928 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8929 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8930   $as_echo_n "(cached) " >&6
   8931 else
   8932   lt_cv_prog_compiler_c_o=no
   8933    $RM -r conftest 2>/dev/null
   8934    mkdir conftest
   8935    cd conftest
   8936    mkdir out
   8937    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8938 
   8939    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8940    # Insert the option either (1) after the last *FLAGS variable, or
   8941    # (2) before a word containing "conftest.", or (3) at the end.
   8942    # Note that $ac_compile itself does not contain backslashes and begins
   8943    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8944    lt_compile=`echo "$ac_compile" | $SED \
   8945    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8946    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8947    -e 's:$: $lt_compiler_flag:'`
   8948    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8949    (eval "$lt_compile" 2>out/conftest.err)
   8950    ac_status=$?
   8951    cat out/conftest.err >&5
   8952    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8953    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8954    then
   8955      # The compiler can only warn and ignore the option if not recognized
   8956      # So say no if there are warnings
   8957      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8958      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8959      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8960        lt_cv_prog_compiler_c_o=yes
   8961      fi
   8962    fi
   8963    chmod u+w . 2>&5
   8964    $RM conftest*
   8965    # SGI C++ compiler will create directory out/ii_files/ for
   8966    # template instantiation
   8967    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8968    $RM out/* && rmdir out
   8969    cd ..
   8970    $RM -r conftest
   8971    $RM conftest*
   8972 
   8973 fi
   8974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8975 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8976 
   8977 
   8978 
   8979 
   8980 
   8981 
   8982   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8983 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8984 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8985   $as_echo_n "(cached) " >&6
   8986 else
   8987   lt_cv_prog_compiler_c_o=no
   8988    $RM -r conftest 2>/dev/null
   8989    mkdir conftest
   8990    cd conftest
   8991    mkdir out
   8992    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8993 
   8994    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8995    # Insert the option either (1) after the last *FLAGS variable, or
   8996    # (2) before a word containing "conftest.", or (3) at the end.
   8997    # Note that $ac_compile itself does not contain backslashes and begins
   8998    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8999    lt_compile=`echo "$ac_compile" | $SED \
   9000    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9001    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9002    -e 's:$: $lt_compiler_flag:'`
   9003    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9004    (eval "$lt_compile" 2>out/conftest.err)
   9005    ac_status=$?
   9006    cat out/conftest.err >&5
   9007    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9008    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9009    then
   9010      # The compiler can only warn and ignore the option if not recognized
   9011      # So say no if there are warnings
   9012      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9013      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9014      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9015        lt_cv_prog_compiler_c_o=yes
   9016      fi
   9017    fi
   9018    chmod u+w . 2>&5
   9019    $RM conftest*
   9020    # SGI C++ compiler will create directory out/ii_files/ for
   9021    # template instantiation
   9022    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9023    $RM out/* && rmdir out
   9024    cd ..
   9025    $RM -r conftest
   9026    $RM conftest*
   9027 
   9028 fi
   9029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9030 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9031 
   9032 
   9033 
   9034 
   9035 hard_links=nottested
   9036 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   9037   # do not overwrite the value of need_locks provided by the user
   9038   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9039 $as_echo_n "checking if we can lock with hard links... " >&6; }
   9040   hard_links=yes
   9041   $RM conftest*
   9042   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9043   touch conftest.a
   9044   ln conftest.a conftest.b 2>&5 || hard_links=no
   9045   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9047 $as_echo "$hard_links" >&6; }
   9048   if test no = "$hard_links"; then
   9049     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   9050 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   9051     need_locks=warn
   9052   fi
   9053 else
   9054   need_locks=no
   9055 fi
   9056 
   9057 
   9058 
   9059 
   9060 
   9061 
   9062   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9063 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9064 
   9065   runpath_var=
   9066   allow_undefined_flag=
   9067   always_export_symbols=no
   9068   archive_cmds=
   9069   archive_expsym_cmds=
   9070   compiler_needs_object=no
   9071   enable_shared_with_static_runtimes=no
   9072   export_dynamic_flag_spec=
   9073   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9074   hardcode_automatic=no
   9075   hardcode_direct=no
   9076   hardcode_direct_absolute=no
   9077   hardcode_libdir_flag_spec=
   9078   hardcode_libdir_separator=
   9079   hardcode_minus_L=no
   9080   hardcode_shlibpath_var=unsupported
   9081   inherit_rpath=no
   9082   link_all_deplibs=unknown
   9083   module_cmds=
   9084   module_expsym_cmds=
   9085   old_archive_from_new_cmds=
   9086   old_archive_from_expsyms_cmds=
   9087   thread_safe_flag_spec=
   9088   whole_archive_flag_spec=
   9089   # include_expsyms should be a list of space-separated symbols to be *always*
   9090   # included in the symbol list
   9091   include_expsyms=
   9092   # exclude_expsyms can be an extended regexp of symbols to exclude
   9093   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   9094   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   9095   # as well as any symbol that contains 'd'.
   9096   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9097   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9098   # platforms (ab)use it in PIC code, but their linkers get confused if
   9099   # the symbol is explicitly referenced.  Since portable code cannot
   9100   # rely on this symbol name, it's probably fine to never include it in
   9101   # preloaded symbol tables.
   9102   # Exclude shared library initialization/finalization symbols.
   9103   extract_expsyms_cmds=
   9104 
   9105   case $host_os in
   9106   cygwin* | mingw* | pw32* | cegcc*)
   9107     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   9108     # When not using gcc, we currently assume that we are using
   9109     # Microsoft Visual C++.
   9110     if test yes != "$GCC"; then
   9111       with_gnu_ld=no
   9112     fi
   9113     ;;
   9114   interix*)
   9115     # we just hope/assume this is gcc and not c89 (= MSVC++)
   9116     with_gnu_ld=yes
   9117     ;;
   9118   openbsd* | bitrig*)
   9119     with_gnu_ld=no
   9120     ;;
   9121   linux* | k*bsd*-gnu | gnu*)
   9122     link_all_deplibs=no
   9123     ;;
   9124   esac
   9125 
   9126   ld_shlibs=yes
   9127 
   9128   # On some targets, GNU ld is compatible enough with the native linker
   9129   # that we're better off using the native interface for both.
   9130   lt_use_gnu_ld_interface=no
   9131   if test yes = "$with_gnu_ld"; then
   9132     case $host_os in
   9133       aix*)
   9134 	# The AIX port of GNU ld has always aspired to compatibility
   9135 	# with the native linker.  However, as the warning in the GNU ld
   9136 	# block says, versions before 2.19.5* couldn't really create working
   9137 	# shared libraries, regardless of the interface used.
   9138 	case `$LD -v 2>&1` in
   9139 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9140 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9141 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9142 	  *)
   9143 	    lt_use_gnu_ld_interface=yes
   9144 	    ;;
   9145 	esac
   9146 	;;
   9147       *)
   9148 	lt_use_gnu_ld_interface=yes
   9149 	;;
   9150     esac
   9151   fi
   9152 
   9153   if test yes = "$lt_use_gnu_ld_interface"; then
   9154     # If archive_cmds runs LD, not CC, wlarc should be empty
   9155     wlarc='$wl'
   9156 
   9157     # Set some defaults for GNU ld with shared library support. These
   9158     # are reset later if shared libraries are not supported. Putting them
   9159     # here allows them to be overridden if necessary.
   9160     runpath_var=LD_RUN_PATH
   9161     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9162     export_dynamic_flag_spec='$wl--export-dynamic'
   9163     # ancient GNU ld didn't support --whole-archive et. al.
   9164     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9165       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   9166     else
   9167       whole_archive_flag_spec=
   9168     fi
   9169     supports_anon_versioning=no
   9170     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
   9171       *GNU\ gold*) supports_anon_versioning=yes ;;
   9172       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9173       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9174       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9175       *\ 2.11.*) ;; # other 2.11 versions
   9176       *) supports_anon_versioning=yes ;;
   9177     esac
   9178 
   9179     # See if GNU ld supports shared libraries.
   9180     case $host_os in
   9181     aix[3-9]*)
   9182       # On AIX/PPC, the GNU linker is very broken
   9183       if test ia64 != "$host_cpu"; then
   9184 	ld_shlibs=no
   9185 	cat <<_LT_EOF 1>&2
   9186 
   9187 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9188 *** to be unable to reliably create shared libraries on AIX.
   9189 *** Therefore, libtool is disabling shared libraries support.  If you
   9190 *** really care for shared libraries, you may want to install binutils
   9191 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9192 *** You will then need to restart the configuration process.
   9193 
   9194 _LT_EOF
   9195       fi
   9196       ;;
   9197 
   9198     amigaos*)
   9199       case $host_cpu in
   9200       powerpc)
   9201             # see comment about AmigaOS4 .so support
   9202             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9203             archive_expsym_cmds=''
   9204         ;;
   9205       m68k)
   9206             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)'
   9207             hardcode_libdir_flag_spec='-L$libdir'
   9208             hardcode_minus_L=yes
   9209         ;;
   9210       esac
   9211       ;;
   9212 
   9213     beos*)
   9214       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9215 	allow_undefined_flag=unsupported
   9216 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9217 	# support --undefined.  This deserves some investigation.  FIXME
   9218 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9219       else
   9220 	ld_shlibs=no
   9221       fi
   9222       ;;
   9223 
   9224     cygwin* | mingw* | pw32* | cegcc*)
   9225       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9226       # as there is no search path for DLLs.
   9227       hardcode_libdir_flag_spec='-L$libdir'
   9228       export_dynamic_flag_spec='$wl--export-all-symbols'
   9229       allow_undefined_flag=unsupported
   9230       always_export_symbols=no
   9231       enable_shared_with_static_runtimes=yes
   9232       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'
   9233       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   9234 
   9235       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9236         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9237 	# If the export-symbols file already is a .def file, use it as
   9238 	# is; otherwise, prepend EXPORTS...
   9239 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   9240           cp $export_symbols $output_objdir/$soname.def;
   9241         else
   9242           echo EXPORTS > $output_objdir/$soname.def;
   9243           cat $export_symbols >> $output_objdir/$soname.def;
   9244         fi~
   9245         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9246       else
   9247 	ld_shlibs=no
   9248       fi
   9249       ;;
   9250 
   9251     haiku*)
   9252       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9253       link_all_deplibs=yes
   9254       ;;
   9255 
   9256     os2*)
   9257       hardcode_libdir_flag_spec='-L$libdir'
   9258       hardcode_minus_L=yes
   9259       allow_undefined_flag=unsupported
   9260       shrext_cmds=.dll
   9261       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9262 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9263 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9264 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9265 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   9266 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9267 	emximp -o $lib $output_objdir/$libname.def'
   9268       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9269 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9270 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9271 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9272 	prefix_cmds="$SED"~
   9273 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   9274 	  prefix_cmds="$prefix_cmds -e 1d";
   9275 	fi~
   9276 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   9277 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   9278 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9279 	emximp -o $lib $output_objdir/$libname.def'
   9280       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   9281       enable_shared_with_static_runtimes=yes
   9282       ;;
   9283 
   9284     interix[3-9]*)
   9285       hardcode_direct=no
   9286       hardcode_shlibpath_var=no
   9287       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   9288       export_dynamic_flag_spec='$wl-E'
   9289       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9290       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9291       # default) and relocated if they conflict, which is a slow very memory
   9292       # consuming and fragmenting process.  To avoid this, we pick a random,
   9293       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9294       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9295       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9296       archive_expsym_cmds='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9297       ;;
   9298 
   9299     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9300       tmp_diet=no
   9301       if test linux-dietlibc = "$host_os"; then
   9302 	case $cc_basename in
   9303 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9304 	esac
   9305       fi
   9306       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9307 	 && test no = "$tmp_diet"
   9308       then
   9309 	tmp_addflag=' $pic_flag'
   9310 	tmp_sharedflag='-shared'
   9311 	case $cc_basename,$host_cpu in
   9312         pgcc*)				# Portland Group C compiler
   9313 	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
   9314 	  tmp_addflag=' $pic_flag'
   9315 	  ;;
   9316 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9317 					# Portland Group f77 and f90 compilers
   9318 	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
   9319 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9320 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9321 	  tmp_addflag=' -i_dynamic' ;;
   9322 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9323 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9324 	ifc* | ifort*)			# Intel Fortran compiler
   9325 	  tmp_addflag=' -nofor_main' ;;
   9326 	lf95*)				# Lahey Fortran 8.1
   9327 	  whole_archive_flag_spec=
   9328 	  tmp_sharedflag='--shared' ;;
   9329         nagfor*)                        # NAGFOR 5.3
   9330           tmp_sharedflag='-Wl,-shared' ;;
   9331 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9332 	  tmp_sharedflag='-qmkshrobj'
   9333 	  tmp_addflag= ;;
   9334 	nvcc*)	# Cuda Compiler Driver 2.2
   9335 	  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'
   9336 	  compiler_needs_object=yes
   9337 	  ;;
   9338 	esac
   9339 	case `$CC -V 2>&1 | sed 5q` in
   9340 	*Sun\ C*)			# Sun C 5.9
   9341 	  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'
   9342 	  compiler_needs_object=yes
   9343 	  tmp_sharedflag='-G' ;;
   9344 	*Sun\ F*)			# Sun Fortran 8.3
   9345 	  tmp_sharedflag='-G' ;;
   9346 	esac
   9347 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9348 
   9349         if test yes = "$supports_anon_versioning"; then
   9350           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9351             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9352             echo "local: *; };" >> $output_objdir/$libname.ver~
   9353             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   9354         fi
   9355 
   9356 	case $cc_basename in
   9357 	tcc*)
   9358 	  export_dynamic_flag_spec='-rdynamic'
   9359 	  ;;
   9360 	xlf* | bgf* | bgxlf* | mpixlf*)
   9361 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9362 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9363 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9364 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   9365 	  if test yes = "$supports_anon_versioning"; then
   9366 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9367               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9368               echo "local: *; };" >> $output_objdir/$libname.ver~
   9369               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9370 	  fi
   9371 	  ;;
   9372 	esac
   9373       else
   9374         ld_shlibs=no
   9375       fi
   9376       ;;
   9377 
   9378     netbsd* | netbsdelf*-gnu)
   9379       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9380 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9381 	wlarc=
   9382       else
   9383 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9384 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9385       fi
   9386       ;;
   9387 
   9388     solaris*)
   9389       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9390 	ld_shlibs=no
   9391 	cat <<_LT_EOF 1>&2
   9392 
   9393 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9394 *** create shared libraries on Solaris systems.  Therefore, libtool
   9395 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9396 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9397 *** your PATH or compiler configuration so that the native linker is
   9398 *** used, and then restart.
   9399 
   9400 _LT_EOF
   9401       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9402 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9403 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9404       else
   9405 	ld_shlibs=no
   9406       fi
   9407       ;;
   9408 
   9409     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9410       case `$LD -v 2>&1` in
   9411         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9412 	ld_shlibs=no
   9413 	cat <<_LT_EOF 1>&2
   9414 
   9415 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   9416 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9417 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9418 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9419 *** your PATH or compiler configuration so that the native linker is
   9420 *** used, and then restart.
   9421 
   9422 _LT_EOF
   9423 	;;
   9424 	*)
   9425 	  # For security reasons, it is highly recommended that you always
   9426 	  # use absolute paths for naming shared libraries, and exclude the
   9427 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9428 	  # requires that you compile everything twice, which is a pain.
   9429 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9430 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9431 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9432 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9433 	  else
   9434 	    ld_shlibs=no
   9435 	  fi
   9436 	;;
   9437       esac
   9438       ;;
   9439 
   9440     sunos4*)
   9441       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9442       wlarc=
   9443       hardcode_direct=yes
   9444       hardcode_shlibpath_var=no
   9445       ;;
   9446 
   9447     *)
   9448       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9449 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9450 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9451       else
   9452 	ld_shlibs=no
   9453       fi
   9454       ;;
   9455     esac
   9456 
   9457     if test no = "$ld_shlibs"; then
   9458       runpath_var=
   9459       hardcode_libdir_flag_spec=
   9460       export_dynamic_flag_spec=
   9461       whole_archive_flag_spec=
   9462     fi
   9463   else
   9464     # PORTME fill in a description of your system's linker (not GNU ld)
   9465     case $host_os in
   9466     aix3*)
   9467       allow_undefined_flag=unsupported
   9468       always_export_symbols=yes
   9469       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'
   9470       # Note: this linker hardcodes the directories in LIBPATH if there
   9471       # are no directories specified by -L.
   9472       hardcode_minus_L=yes
   9473       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   9474 	# Neither direct hardcoding nor static linking is supported with a
   9475 	# broken collect2.
   9476 	hardcode_direct=unsupported
   9477       fi
   9478       ;;
   9479 
   9480     aix[4-9]*)
   9481       if test ia64 = "$host_cpu"; then
   9482 	# On IA64, the linker does run time linking by default, so we don't
   9483 	# have to do anything special.
   9484 	aix_use_runtimelinking=no
   9485 	exp_sym_flag='-Bexport'
   9486 	no_entry_flag=
   9487       else
   9488 	# If we're using GNU nm, then we don't want the "-C" option.
   9489 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   9490 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   9491 	# weak defined symbols like other global defined symbols, whereas
   9492 	# GNU nm marks them as "W".
   9493 	# While the 'weak' keyword is ignored in the Export File, we need
   9494 	# it in the Import File for the 'aix-soname' feature, so we have
   9495 	# to replace the "-B" option with "-P" for AIX nm.
   9496 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9497 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
   9498 	else
   9499 	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
   9500 	fi
   9501 	aix_use_runtimelinking=no
   9502 
   9503 	# Test if we are trying to use run time linking or normal
   9504 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9505 	# have runtime linking enabled, and use it for executables.
   9506 	# For shared libraries, we enable/disable runtime linking
   9507 	# depending on the kind of the shared library created -
   9508 	# when "with_aix_soname,aix_use_runtimelinking" is:
   9509 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   9510 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   9511 	#            lib.a           static archive
   9512 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   9513 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   9514 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   9515 	#            lib.a(lib.so.V) shared, rtl:no
   9516 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   9517 	#            lib.a           static archive
   9518 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9519 	  for ld_flag in $LDFLAGS; do
   9520 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   9521 	    aix_use_runtimelinking=yes
   9522 	    break
   9523 	  fi
   9524 	  done
   9525 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   9526 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   9527 	    # so we don't have lib.a shared libs to link our executables.
   9528 	    # We have to force runtime linking in this case.
   9529 	    aix_use_runtimelinking=yes
   9530 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   9531 	  fi
   9532 	  ;;
   9533 	esac
   9534 
   9535 	exp_sym_flag='-bexport'
   9536 	no_entry_flag='-bnoentry'
   9537       fi
   9538 
   9539       # When large executables or shared objects are built, AIX ld can
   9540       # have problems creating the table of contents.  If linking a library
   9541       # or program results in "error TOC overflow" add -mminimal-toc to
   9542       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9543       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9544 
   9545       archive_cmds=''
   9546       hardcode_direct=yes
   9547       hardcode_direct_absolute=yes
   9548       hardcode_libdir_separator=':'
   9549       link_all_deplibs=yes
   9550       file_list_spec='$wl-f,'
   9551       case $with_aix_soname,$aix_use_runtimelinking in
   9552       aix,*) ;; # traditional, no import file
   9553       svr4,* | *,yes) # use import file
   9554 	# The Import File defines what to hardcode.
   9555 	hardcode_direct=no
   9556 	hardcode_direct_absolute=no
   9557 	;;
   9558       esac
   9559 
   9560       if test yes = "$GCC"; then
   9561 	case $host_os in aix4.[012]|aix4.[012].*)
   9562 	# We only want to do this on AIX 4.2 and lower, the check
   9563 	# below for broken collect2 doesn't work under 4.3+
   9564 	  collect2name=`$CC -print-prog-name=collect2`
   9565 	  if test -f "$collect2name" &&
   9566 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9567 	  then
   9568 	  # We have reworked collect2
   9569 	  :
   9570 	  else
   9571 	  # We have old collect2
   9572 	  hardcode_direct=unsupported
   9573 	  # It fails to find uninstalled libraries when the uninstalled
   9574 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9575 	  # to unsupported forces relinking
   9576 	  hardcode_minus_L=yes
   9577 	  hardcode_libdir_flag_spec='-L$libdir'
   9578 	  hardcode_libdir_separator=
   9579 	  fi
   9580 	  ;;
   9581 	esac
   9582 	shared_flag='-shared'
   9583 	if test yes = "$aix_use_runtimelinking"; then
   9584 	  shared_flag="$shared_flag "'$wl-G'
   9585 	fi
   9586 	# Need to ensure runtime linking is disabled for the traditional
   9587 	# shared library, or the linker may eventually find shared libraries
   9588 	# /with/ Import File - we do not want to mix them.
   9589 	shared_flag_aix='-shared'
   9590 	shared_flag_svr4='-shared $wl-G'
   9591       else
   9592 	# not using gcc
   9593 	if test ia64 = "$host_cpu"; then
   9594 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9595 	# chokes on -Wl,-G. The following line is correct:
   9596 	  shared_flag='-G'
   9597 	else
   9598 	  if test yes = "$aix_use_runtimelinking"; then
   9599 	    shared_flag='$wl-G'
   9600 	  else
   9601 	    shared_flag='$wl-bM:SRE'
   9602 	  fi
   9603 	  shared_flag_aix='$wl-bM:SRE'
   9604 	  shared_flag_svr4='$wl-G'
   9605 	fi
   9606       fi
   9607 
   9608       export_dynamic_flag_spec='$wl-bexpall'
   9609       # It seems that -bexpall does not export symbols beginning with
   9610       # underscore (_), so it is better to generate a list of symbols to export.
   9611       always_export_symbols=yes
   9612       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   9613 	# Warning - without using the other runtime loading flags (-brtl),
   9614 	# -berok will link without error, but may produce a broken library.
   9615 	allow_undefined_flag='-berok'
   9616         # Determine the default libpath from the value encoded in an
   9617         # empty executable.
   9618         if test set = "${lt_cv_aix_libpath+set}"; then
   9619   aix_libpath=$lt_cv_aix_libpath
   9620 else
   9621   if ${lt_cv_aix_libpath_+:} false; then :
   9622   $as_echo_n "(cached) " >&6
   9623 else
   9624   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9625 /* end confdefs.h.  */
   9626 
   9627 int
   9628 main ()
   9629 {
   9630 
   9631   ;
   9632   return 0;
   9633 }
   9634 _ACEOF
   9635 if ac_fn_c_try_link "$LINENO"; then :
   9636 
   9637   lt_aix_libpath_sed='
   9638       /Import File Strings/,/^$/ {
   9639 	  /^0/ {
   9640 	      s/^0  *\([^ ]*\) *$/\1/
   9641 	      p
   9642 	  }
   9643       }'
   9644   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9645   # Check for a 64-bit object if we didn't find anything.
   9646   if test -z "$lt_cv_aix_libpath_"; then
   9647     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9648   fi
   9649 fi
   9650 rm -f core conftest.err conftest.$ac_objext \
   9651     conftest$ac_exeext conftest.$ac_ext
   9652   if test -z "$lt_cv_aix_libpath_"; then
   9653     lt_cv_aix_libpath_=/usr/lib:/lib
   9654   fi
   9655 
   9656 fi
   9657 
   9658   aix_libpath=$lt_cv_aix_libpath_
   9659 fi
   9660 
   9661         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   9662         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
   9663       else
   9664 	if test ia64 = "$host_cpu"; then
   9665 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   9666 	  allow_undefined_flag="-z nodefs"
   9667 	  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"
   9668 	else
   9669 	 # Determine the default libpath from the value encoded in an
   9670 	 # empty executable.
   9671 	 if test set = "${lt_cv_aix_libpath+set}"; then
   9672   aix_libpath=$lt_cv_aix_libpath
   9673 else
   9674   if ${lt_cv_aix_libpath_+:} false; then :
   9675   $as_echo_n "(cached) " >&6
   9676 else
   9677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9678 /* end confdefs.h.  */
   9679 
   9680 int
   9681 main ()
   9682 {
   9683 
   9684   ;
   9685   return 0;
   9686 }
   9687 _ACEOF
   9688 if ac_fn_c_try_link "$LINENO"; then :
   9689 
   9690   lt_aix_libpath_sed='
   9691       /Import File Strings/,/^$/ {
   9692 	  /^0/ {
   9693 	      s/^0  *\([^ ]*\) *$/\1/
   9694 	      p
   9695 	  }
   9696       }'
   9697   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9698   # Check for a 64-bit object if we didn't find anything.
   9699   if test -z "$lt_cv_aix_libpath_"; then
   9700     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9701   fi
   9702 fi
   9703 rm -f core conftest.err conftest.$ac_objext \
   9704     conftest$ac_exeext conftest.$ac_ext
   9705   if test -z "$lt_cv_aix_libpath_"; then
   9706     lt_cv_aix_libpath_=/usr/lib:/lib
   9707   fi
   9708 
   9709 fi
   9710 
   9711   aix_libpath=$lt_cv_aix_libpath_
   9712 fi
   9713 
   9714 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   9715 	  # Warning - without using the other run time loading flags,
   9716 	  # -berok will link without error, but may produce a broken library.
   9717 	  no_undefined_flag=' $wl-bernotok'
   9718 	  allow_undefined_flag=' $wl-berok'
   9719 	  if test yes = "$with_gnu_ld"; then
   9720 	    # We only use this code for GNU lds that support --whole-archive.
   9721 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   9722 	  else
   9723 	    # Exported symbols can be pulled into shared objects from archives
   9724 	    whole_archive_flag_spec='$convenience'
   9725 	  fi
   9726 	  archive_cmds_need_lc=yes
   9727 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   9728 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   9729 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   9730 	  if test svr4 != "$with_aix_soname"; then
   9731 	    # This is similar to how AIX traditionally builds its shared libraries.
   9732 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
   9733 	  fi
   9734 	  if test aix != "$with_aix_soname"; then
   9735 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
   9736 	  else
   9737 	    # used by -dlpreopen to get the symbols
   9738 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   9739 	  fi
   9740 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   9741 	fi
   9742       fi
   9743       ;;
   9744 
   9745     amigaos*)
   9746       case $host_cpu in
   9747       powerpc)
   9748             # see comment about AmigaOS4 .so support
   9749             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9750             archive_expsym_cmds=''
   9751         ;;
   9752       m68k)
   9753             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)'
   9754             hardcode_libdir_flag_spec='-L$libdir'
   9755             hardcode_minus_L=yes
   9756         ;;
   9757       esac
   9758       ;;
   9759 
   9760     bsdi[45]*)
   9761       export_dynamic_flag_spec=-rdynamic
   9762       ;;
   9763 
   9764     cygwin* | mingw* | pw32* | cegcc*)
   9765       # When not using gcc, we currently assume that we are using
   9766       # Microsoft Visual C++.
   9767       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9768       # no search path for DLLs.
   9769       case $cc_basename in
   9770       cl*)
   9771 	# Native MSVC
   9772 	hardcode_libdir_flag_spec=' '
   9773 	allow_undefined_flag=unsupported
   9774 	always_export_symbols=yes
   9775 	file_list_spec='@'
   9776 	# Tell ltmain to make .lib files, not .a files.
   9777 	libext=lib
   9778 	# Tell ltmain to make .dll files, not .so files.
   9779 	shrext_cmds=.dll
   9780 	# FIXME: Setting linknames here is a bad hack.
   9781 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   9782 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   9783             cp "$export_symbols" "$output_objdir/$soname.def";
   9784             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   9785           else
   9786             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   9787           fi~
   9788           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9789           linknames='
   9790 	# The linker will not automatically build a static lib if we build a DLL.
   9791 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9792 	enable_shared_with_static_runtimes=yes
   9793 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9794 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9795 	# Don't use ranlib
   9796 	old_postinstall_cmds='chmod 644 $oldlib'
   9797 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9798           lt_tool_outputfile="@TOOL_OUTPUT@"~
   9799           case $lt_outputfile in
   9800             *.exe|*.EXE) ;;
   9801             *)
   9802               lt_outputfile=$lt_outputfile.exe
   9803               lt_tool_outputfile=$lt_tool_outputfile.exe
   9804               ;;
   9805           esac~
   9806           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   9807             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9808             $RM "$lt_outputfile.manifest";
   9809           fi'
   9810 	;;
   9811       *)
   9812 	# Assume MSVC wrapper
   9813 	hardcode_libdir_flag_spec=' '
   9814 	allow_undefined_flag=unsupported
   9815 	# Tell ltmain to make .lib files, not .a files.
   9816 	libext=lib
   9817 	# Tell ltmain to make .dll files, not .so files.
   9818 	shrext_cmds=.dll
   9819 	# FIXME: Setting linknames here is a bad hack.
   9820 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9821 	# The linker will automatically build a .lib file if we build a DLL.
   9822 	old_archive_from_new_cmds='true'
   9823 	# FIXME: Should let the user specify the lib program.
   9824 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9825 	enable_shared_with_static_runtimes=yes
   9826 	;;
   9827       esac
   9828       ;;
   9829 
   9830     darwin* | rhapsody*)
   9831 
   9832 
   9833   archive_cmds_need_lc=no
   9834   hardcode_direct=no
   9835   hardcode_automatic=yes
   9836   hardcode_shlibpath_var=unsupported
   9837   if test yes = "$lt_cv_ld_force_load"; then
   9838     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\"`'
   9839 
   9840   else
   9841     whole_archive_flag_spec=''
   9842   fi
   9843   link_all_deplibs=yes
   9844   allow_undefined_flag=$_lt_dar_allow_undefined
   9845   case $cc_basename in
   9846      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   9847      *) _lt_dar_can_shared=$GCC ;;
   9848   esac
   9849   if test yes = "$_lt_dar_can_shared"; then
   9850     output_verbose_link_cmd=func_echo_all
   9851     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   9852     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   9853     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"
   9854     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"
   9855 
   9856   else
   9857   ld_shlibs=no
   9858   fi
   9859 
   9860       ;;
   9861 
   9862     dgux*)
   9863       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9864       hardcode_libdir_flag_spec='-L$libdir'
   9865       hardcode_shlibpath_var=no
   9866       ;;
   9867 
   9868     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9869     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9870     # does not break anything, and helps significantly (at the cost of a little
   9871     # extra space).
   9872     freebsd2.2*)
   9873       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9874       hardcode_libdir_flag_spec='-R$libdir'
   9875       hardcode_direct=yes
   9876       hardcode_shlibpath_var=no
   9877       ;;
   9878 
   9879     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9880     freebsd2.*)
   9881       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9882       hardcode_direct=yes
   9883       hardcode_minus_L=yes
   9884       hardcode_shlibpath_var=no
   9885       ;;
   9886 
   9887     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9888     freebsd* | dragonfly*)
   9889       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9890       hardcode_libdir_flag_spec='-R$libdir'
   9891       hardcode_direct=yes
   9892       hardcode_shlibpath_var=no
   9893       ;;
   9894 
   9895     hpux9*)
   9896       if test yes = "$GCC"; then
   9897 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   9898       else
   9899 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   9900       fi
   9901       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   9902       hardcode_libdir_separator=:
   9903       hardcode_direct=yes
   9904 
   9905       # hardcode_minus_L: Not really in the search PATH,
   9906       # but as the default location of the library.
   9907       hardcode_minus_L=yes
   9908       export_dynamic_flag_spec='$wl-E'
   9909       ;;
   9910 
   9911     hpux10*)
   9912       if test yes,no = "$GCC,$with_gnu_ld"; then
   9913 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9914       else
   9915 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9916       fi
   9917       if test no = "$with_gnu_ld"; then
   9918 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   9919 	hardcode_libdir_separator=:
   9920 	hardcode_direct=yes
   9921 	hardcode_direct_absolute=yes
   9922 	export_dynamic_flag_spec='$wl-E'
   9923 	# hardcode_minus_L: Not really in the search PATH,
   9924 	# but as the default location of the library.
   9925 	hardcode_minus_L=yes
   9926       fi
   9927       ;;
   9928 
   9929     hpux11*)
   9930       if test yes,no = "$GCC,$with_gnu_ld"; then
   9931 	case $host_cpu in
   9932 	hppa*64*)
   9933 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   9934 	  ;;
   9935 	ia64*)
   9936 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9937 	  ;;
   9938 	*)
   9939 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9940 	  ;;
   9941 	esac
   9942       else
   9943 	case $host_cpu in
   9944 	hppa*64*)
   9945 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   9946 	  ;;
   9947 	ia64*)
   9948 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9949 	  ;;
   9950 	*)
   9951 
   9952 	  # Older versions of the 11.00 compiler do not understand -b yet
   9953 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9954 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9955 $as_echo_n "checking if $CC understands -b... " >&6; }
   9956 if ${lt_cv_prog_compiler__b+:} false; then :
   9957   $as_echo_n "(cached) " >&6
   9958 else
   9959   lt_cv_prog_compiler__b=no
   9960    save_LDFLAGS=$LDFLAGS
   9961    LDFLAGS="$LDFLAGS -b"
   9962    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9963    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9964      # The linker can only warn and ignore the option if not recognized
   9965      # So say no if there are warnings
   9966      if test -s conftest.err; then
   9967        # Append any errors to the config.log.
   9968        cat conftest.err 1>&5
   9969        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9970        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9971        if diff conftest.exp conftest.er2 >/dev/null; then
   9972          lt_cv_prog_compiler__b=yes
   9973        fi
   9974      else
   9975        lt_cv_prog_compiler__b=yes
   9976      fi
   9977    fi
   9978    $RM -r conftest*
   9979    LDFLAGS=$save_LDFLAGS
   9980 
   9981 fi
   9982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9983 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9984 
   9985 if test yes = "$lt_cv_prog_compiler__b"; then
   9986     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9987 else
   9988     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9989 fi
   9990 
   9991 	  ;;
   9992 	esac
   9993       fi
   9994       if test no = "$with_gnu_ld"; then
   9995 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   9996 	hardcode_libdir_separator=:
   9997 
   9998 	case $host_cpu in
   9999 	hppa*64*|ia64*)
   10000 	  hardcode_direct=no
   10001 	  hardcode_shlibpath_var=no
   10002 	  ;;
   10003 	*)
   10004 	  hardcode_direct=yes
   10005 	  hardcode_direct_absolute=yes
   10006 	  export_dynamic_flag_spec='$wl-E'
   10007 
   10008 	  # hardcode_minus_L: Not really in the search PATH,
   10009 	  # but as the default location of the library.
   10010 	  hardcode_minus_L=yes
   10011 	  ;;
   10012 	esac
   10013       fi
   10014       ;;
   10015 
   10016     irix5* | irix6* | nonstopux*)
   10017       if test yes = "$GCC"; then
   10018 	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'
   10019 	# Try to use the -exported_symbol ld option, if it does not
   10020 	# work, assume that -exports_file does not work either and
   10021 	# implicitly export all symbols.
   10022 	# This should be the same for all languages, so no per-tag cache variable.
   10023 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   10024 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   10025 if ${lt_cv_irix_exported_symbol+:} false; then :
   10026   $as_echo_n "(cached) " >&6
   10027 else
   10028   save_LDFLAGS=$LDFLAGS
   10029 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   10030 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10031 /* end confdefs.h.  */
   10032 int foo (void) { return 0; }
   10033 _ACEOF
   10034 if ac_fn_c_try_link "$LINENO"; then :
   10035   lt_cv_irix_exported_symbol=yes
   10036 else
   10037   lt_cv_irix_exported_symbol=no
   10038 fi
   10039 rm -f core conftest.err conftest.$ac_objext \
   10040     conftest$ac_exeext conftest.$ac_ext
   10041            LDFLAGS=$save_LDFLAGS
   10042 fi
   10043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   10044 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   10045 	if test yes = "$lt_cv_irix_exported_symbol"; then
   10046           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'
   10047 	fi
   10048 	link_all_deplibs=no
   10049       else
   10050 	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'
   10051 	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'
   10052       fi
   10053       archive_cmds_need_lc='no'
   10054       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10055       hardcode_libdir_separator=:
   10056       inherit_rpath=yes
   10057       link_all_deplibs=yes
   10058       ;;
   10059 
   10060     linux*)
   10061       case $cc_basename in
   10062       tcc*)
   10063 	# Fabrice Bellard et al's Tiny C Compiler
   10064 	ld_shlibs=yes
   10065 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10066 	;;
   10067       esac
   10068       ;;
   10069 
   10070     netbsd* | netbsdelf*-gnu)
   10071       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10072 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10073       else
   10074 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10075       fi
   10076       hardcode_libdir_flag_spec='-R$libdir'
   10077       hardcode_direct=yes
   10078       hardcode_shlibpath_var=no
   10079       ;;
   10080 
   10081     newsos6)
   10082       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10083       hardcode_direct=yes
   10084       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10085       hardcode_libdir_separator=:
   10086       hardcode_shlibpath_var=no
   10087       ;;
   10088 
   10089     *nto* | *qnx*)
   10090       ;;
   10091 
   10092     openbsd* | bitrig*)
   10093       if test -f /usr/libexec/ld.so; then
   10094 	hardcode_direct=yes
   10095 	hardcode_shlibpath_var=no
   10096 	hardcode_direct_absolute=yes
   10097 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   10098 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10099 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   10100 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10101 	  export_dynamic_flag_spec='$wl-E'
   10102 	else
   10103 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10104 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10105 	fi
   10106       else
   10107 	ld_shlibs=no
   10108       fi
   10109       ;;
   10110 
   10111     os2*)
   10112       hardcode_libdir_flag_spec='-L$libdir'
   10113       hardcode_minus_L=yes
   10114       allow_undefined_flag=unsupported
   10115       shrext_cmds=.dll
   10116       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10117 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10118 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10119 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10120 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10121 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10122 	emximp -o $lib $output_objdir/$libname.def'
   10123       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10124 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10125 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10126 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10127 	prefix_cmds="$SED"~
   10128 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10129 	  prefix_cmds="$prefix_cmds -e 1d";
   10130 	fi~
   10131 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10132 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10133 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10134 	emximp -o $lib $output_objdir/$libname.def'
   10135       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10136       enable_shared_with_static_runtimes=yes
   10137       ;;
   10138 
   10139     osf3*)
   10140       if test yes = "$GCC"; then
   10141 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10142 	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'
   10143       else
   10144 	allow_undefined_flag=' -expect_unresolved \*'
   10145 	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'
   10146       fi
   10147       archive_cmds_need_lc='no'
   10148       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10149       hardcode_libdir_separator=:
   10150       ;;
   10151 
   10152     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10153       if test yes = "$GCC"; then
   10154 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10155 	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'
   10156 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10157       else
   10158 	allow_undefined_flag=' -expect_unresolved \*'
   10159 	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'
   10160 	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~
   10161           $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'
   10162 
   10163 	# Both c and cxx compiler support -rpath directly
   10164 	hardcode_libdir_flag_spec='-rpath $libdir'
   10165       fi
   10166       archive_cmds_need_lc='no'
   10167       hardcode_libdir_separator=:
   10168       ;;
   10169 
   10170     solaris*)
   10171       no_undefined_flag=' -z defs'
   10172       if test yes = "$GCC"; then
   10173 	wlarc='$wl'
   10174 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10175 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10176           $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'
   10177       else
   10178 	case `$CC -V 2>&1` in
   10179 	*"Compilers 5.0"*)
   10180 	  wlarc=''
   10181 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10182 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10183             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10184 	  ;;
   10185 	*)
   10186 	  wlarc='$wl'
   10187 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10188 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10189             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10190 	  ;;
   10191 	esac
   10192       fi
   10193       hardcode_libdir_flag_spec='-R$libdir'
   10194       hardcode_shlibpath_var=no
   10195       case $host_os in
   10196       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10197       *)
   10198 	# The compiler driver will combine and reorder linker options,
   10199 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   10200 	# but is careful enough not to reorder.
   10201 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10202 	if test yes = "$GCC"; then
   10203 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   10204 	else
   10205 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10206 	fi
   10207 	;;
   10208       esac
   10209       link_all_deplibs=yes
   10210       ;;
   10211 
   10212     sunos4*)
   10213       if test sequent = "$host_vendor"; then
   10214 	# Use $CC to link under sequent, because it throws in some extra .o
   10215 	# files that make .init and .fini sections work.
   10216 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10217       else
   10218 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10219       fi
   10220       hardcode_libdir_flag_spec='-L$libdir'
   10221       hardcode_direct=yes
   10222       hardcode_minus_L=yes
   10223       hardcode_shlibpath_var=no
   10224       ;;
   10225 
   10226     sysv4)
   10227       case $host_vendor in
   10228 	sni)
   10229 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10230 	  hardcode_direct=yes # is this really true???
   10231 	;;
   10232 	siemens)
   10233 	  ## LD is ld it makes a PLAMLIB
   10234 	  ## CC just makes a GrossModule.
   10235 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10236 	  reload_cmds='$CC -r -o $output$reload_objs'
   10237 	  hardcode_direct=no
   10238         ;;
   10239 	motorola)
   10240 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10241 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10242 	;;
   10243       esac
   10244       runpath_var='LD_RUN_PATH'
   10245       hardcode_shlibpath_var=no
   10246       ;;
   10247 
   10248     sysv4.3*)
   10249       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10250       hardcode_shlibpath_var=no
   10251       export_dynamic_flag_spec='-Bexport'
   10252       ;;
   10253 
   10254     sysv4*MP*)
   10255       if test -d /usr/nec; then
   10256 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10257 	hardcode_shlibpath_var=no
   10258 	runpath_var=LD_RUN_PATH
   10259 	hardcode_runpath_var=yes
   10260 	ld_shlibs=yes
   10261       fi
   10262       ;;
   10263 
   10264     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10265       no_undefined_flag='$wl-z,text'
   10266       archive_cmds_need_lc=no
   10267       hardcode_shlibpath_var=no
   10268       runpath_var='LD_RUN_PATH'
   10269 
   10270       if test yes = "$GCC"; then
   10271 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10272 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10273       else
   10274 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10275 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10276       fi
   10277       ;;
   10278 
   10279     sysv5* | sco3.2v5* | sco5v6*)
   10280       # Note: We CANNOT use -z defs as we might desire, because we do not
   10281       # link with -lc, and that would cause any symbols used from libc to
   10282       # always be unresolved, which means just about no library would
   10283       # ever link correctly.  If we're not using GNU ld we use -z text
   10284       # though, which does catch some bad symbols but isn't as heavy-handed
   10285       # as -z defs.
   10286       no_undefined_flag='$wl-z,text'
   10287       allow_undefined_flag='$wl-z,nodefs'
   10288       archive_cmds_need_lc=no
   10289       hardcode_shlibpath_var=no
   10290       hardcode_libdir_flag_spec='$wl-R,$libdir'
   10291       hardcode_libdir_separator=':'
   10292       link_all_deplibs=yes
   10293       export_dynamic_flag_spec='$wl-Bexport'
   10294       runpath_var='LD_RUN_PATH'
   10295 
   10296       if test yes = "$GCC"; then
   10297 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10298 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10299       else
   10300 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10301 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10302       fi
   10303       ;;
   10304 
   10305     uts4*)
   10306       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10307       hardcode_libdir_flag_spec='-L$libdir'
   10308       hardcode_shlibpath_var=no
   10309       ;;
   10310 
   10311     *)
   10312       ld_shlibs=no
   10313       ;;
   10314     esac
   10315 
   10316     if test sni = "$host_vendor"; then
   10317       case $host in
   10318       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10319 	export_dynamic_flag_spec='$wl-Blargedynsym'
   10320 	;;
   10321       esac
   10322     fi
   10323   fi
   10324 
   10325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10326 $as_echo "$ld_shlibs" >&6; }
   10327 test no = "$ld_shlibs" && can_build_shared=no
   10328 
   10329 with_gnu_ld=$with_gnu_ld
   10330 
   10331 
   10332 
   10333 
   10334 
   10335 
   10336 
   10337 
   10338 
   10339 
   10340 
   10341 
   10342 
   10343 
   10344 
   10345 #
   10346 # Do we need to explicitly link libc?
   10347 #
   10348 case "x$archive_cmds_need_lc" in
   10349 x|xyes)
   10350   # Assume -lc should be added
   10351   archive_cmds_need_lc=yes
   10352 
   10353   if test yes,yes = "$GCC,$enable_shared"; then
   10354     case $archive_cmds in
   10355     *'~'*)
   10356       # FIXME: we may have to deal with multi-command sequences.
   10357       ;;
   10358     '$CC '*)
   10359       # Test whether the compiler implicitly links with -lc since on some
   10360       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10361       # to ld, don't add -lc before -lgcc.
   10362       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10363 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   10364 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   10365   $as_echo_n "(cached) " >&6
   10366 else
   10367   $RM conftest*
   10368 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10369 
   10370 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10371   (eval $ac_compile) 2>&5
   10372   ac_status=$?
   10373   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10374   test $ac_status = 0; } 2>conftest.err; then
   10375 	  soname=conftest
   10376 	  lib=conftest
   10377 	  libobjs=conftest.$ac_objext
   10378 	  deplibs=
   10379 	  wl=$lt_prog_compiler_wl
   10380 	  pic_flag=$lt_prog_compiler_pic
   10381 	  compiler_flags=-v
   10382 	  linker_flags=-v
   10383 	  verstring=
   10384 	  output_objdir=.
   10385 	  libname=conftest
   10386 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10387 	  allow_undefined_flag=
   10388 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10389   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10390   ac_status=$?
   10391   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10392   test $ac_status = 0; }
   10393 	  then
   10394 	    lt_cv_archive_cmds_need_lc=no
   10395 	  else
   10396 	    lt_cv_archive_cmds_need_lc=yes
   10397 	  fi
   10398 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10399 	else
   10400 	  cat conftest.err 1>&5
   10401 	fi
   10402 	$RM conftest*
   10403 
   10404 fi
   10405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10406 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   10407       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10408       ;;
   10409     esac
   10410   fi
   10411   ;;
   10412 esac
   10413 
   10414 
   10415 
   10416 
   10417 
   10418 
   10419 
   10420 
   10421 
   10422 
   10423 
   10424 
   10425 
   10426 
   10427 
   10428 
   10429 
   10430 
   10431 
   10432 
   10433 
   10434 
   10435 
   10436 
   10437 
   10438 
   10439 
   10440 
   10441 
   10442 
   10443 
   10444 
   10445 
   10446 
   10447 
   10448 
   10449 
   10450 
   10451 
   10452 
   10453 
   10454 
   10455 
   10456 
   10457 
   10458 
   10459 
   10460 
   10461 
   10462 
   10463 
   10464 
   10465 
   10466 
   10467 
   10468 
   10469 
   10470 
   10471 
   10472 
   10473 
   10474 
   10475 
   10476 
   10477 
   10478 
   10479 
   10480 
   10481 
   10482 
   10483 
   10484 
   10485 
   10486 
   10487 
   10488 
   10489 
   10490 
   10491 
   10492 
   10493 
   10494 
   10495 
   10496 
   10497 
   10498 
   10499 
   10500 
   10501 
   10502 
   10503 
   10504 
   10505 
   10506 
   10507 
   10508 
   10509 
   10510 
   10511 
   10512 
   10513 
   10514 
   10515 
   10516 
   10517 
   10518 
   10519 
   10520 
   10521 
   10522 
   10523 
   10524 
   10525 
   10526 
   10527 
   10528 
   10529 
   10530 
   10531 
   10532 
   10533 
   10534 
   10535 
   10536 
   10537 
   10538 
   10539 
   10540 
   10541 
   10542 
   10543 
   10544 
   10545 
   10546 
   10547 
   10548 
   10549 
   10550 
   10551 
   10552 
   10553 
   10554 
   10555 
   10556 
   10557 
   10558 
   10559 
   10560 
   10561 
   10562 
   10563 
   10564 
   10565   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10566 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10567 
   10568 if test yes = "$GCC"; then
   10569   case $host_os in
   10570     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   10571     *) lt_awk_arg='/^libraries:/' ;;
   10572   esac
   10573   case $host_os in
   10574     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   10575     *) lt_sed_strip_eq='s|=/|/|g' ;;
   10576   esac
   10577   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10578   case $lt_search_path_spec in
   10579   *\;*)
   10580     # if the path contains ";" then we assume it to be the separator
   10581     # otherwise default to the standard path separator (i.e. ":") - it is
   10582     # assumed that no part of a normal pathname contains ";" but that should
   10583     # okay in the real world where ";" in dirpaths is itself problematic.
   10584     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10585     ;;
   10586   *)
   10587     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10588     ;;
   10589   esac
   10590   # Ok, now we have the path, separated by spaces, we can step through it
   10591   # and add multilib dir if necessary...
   10592   lt_tmp_lt_search_path_spec=
   10593   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10594   # ...but if some path component already ends with the multilib dir we assume
   10595   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   10596   case "$lt_multi_os_dir; $lt_search_path_spec " in
   10597   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   10598     lt_multi_os_dir=
   10599     ;;
   10600   esac
   10601   for lt_sys_path in $lt_search_path_spec; do
   10602     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   10603       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   10604     elif test -n "$lt_multi_os_dir"; then
   10605       test -d "$lt_sys_path" && \
   10606 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10607     fi
   10608   done
   10609   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10610 BEGIN {RS = " "; FS = "/|\n";} {
   10611   lt_foo = "";
   10612   lt_count = 0;
   10613   for (lt_i = NF; lt_i > 0; lt_i--) {
   10614     if ($lt_i != "" && $lt_i != ".") {
   10615       if ($lt_i == "..") {
   10616         lt_count++;
   10617       } else {
   10618         if (lt_count == 0) {
   10619           lt_foo = "/" $lt_i lt_foo;
   10620         } else {
   10621           lt_count--;
   10622         }
   10623       }
   10624     }
   10625   }
   10626   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10627   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10628 }'`
   10629   # AWK program above erroneously prepends '/' to C:/dos/paths
   10630   # for these hosts.
   10631   case $host_os in
   10632     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10633       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   10634   esac
   10635   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10636 else
   10637   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10638 fi
   10639 library_names_spec=
   10640 libname_spec='lib$name'
   10641 soname_spec=
   10642 shrext_cmds=.so
   10643 postinstall_cmds=
   10644 postuninstall_cmds=
   10645 finish_cmds=
   10646 finish_eval=
   10647 shlibpath_var=
   10648 shlibpath_overrides_runpath=unknown
   10649 version_type=none
   10650 dynamic_linker="$host_os ld.so"
   10651 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10652 need_lib_prefix=unknown
   10653 hardcode_into_libs=no
   10654 
   10655 # when you set need_version to no, make sure it does not cause -set_version
   10656 # flags to be left without arguments
   10657 need_version=unknown
   10658 
   10659 
   10660 
   10661 case $host_os in
   10662 aix3*)
   10663   version_type=linux # correct to gnu/linux during the next big refactor
   10664   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   10665   shlibpath_var=LIBPATH
   10666 
   10667   # AIX 3 has no versioning support, so we append a major version to the name.
   10668   soname_spec='$libname$release$shared_ext$major'
   10669   ;;
   10670 
   10671 aix[4-9]*)
   10672   version_type=linux # correct to gnu/linux during the next big refactor
   10673   need_lib_prefix=no
   10674   need_version=no
   10675   hardcode_into_libs=yes
   10676   if test ia64 = "$host_cpu"; then
   10677     # AIX 5 supports IA64
   10678     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   10679     shlibpath_var=LD_LIBRARY_PATH
   10680   else
   10681     # With GCC up to 2.95.x, collect2 would create an import file
   10682     # for dependence libraries.  The import file would start with
   10683     # the line '#! .'.  This would cause the generated library to
   10684     # depend on '.', always an invalid library.  This was fixed in
   10685     # development snapshots of GCC prior to 3.0.
   10686     case $host_os in
   10687       aix4 | aix4.[01] | aix4.[01].*)
   10688       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10689 	   echo ' yes '
   10690 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   10691 	:
   10692       else
   10693 	can_build_shared=no
   10694       fi
   10695       ;;
   10696     esac
   10697     # Using Import Files as archive members, it is possible to support
   10698     # filename-based versioning of shared library archives on AIX. While
   10699     # this would work for both with and without runtime linking, it will
   10700     # prevent static linking of such archives. So we do filename-based
   10701     # shared library versioning with .so extension only, which is used
   10702     # when both runtime linking and shared linking is enabled.
   10703     # Unfortunately, runtime linking may impact performance, so we do
   10704     # not want this to be the default eventually. Also, we use the
   10705     # versioned .so libs for executables only if there is the -brtl
   10706     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   10707     # To allow for filename-based versioning support, we need to create
   10708     # libNAME.so.V as an archive file, containing:
   10709     # *) an Import File, referring to the versioned filename of the
   10710     #    archive as well as the shared archive member, telling the
   10711     #    bitwidth (32 or 64) of that shared object, and providing the
   10712     #    list of exported symbols of that shared object, eventually
   10713     #    decorated with the 'weak' keyword
   10714     # *) the shared object with the F_LOADONLY flag set, to really avoid
   10715     #    it being seen by the linker.
   10716     # At run time we better use the real file rather than another symlink,
   10717     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   10718 
   10719     case $with_aix_soname,$aix_use_runtimelinking in
   10720     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   10721     # soname into executable. Probably we can add versioning support to
   10722     # collect2, so additional links can be useful in future.
   10723     aix,yes) # traditional libtool
   10724       dynamic_linker='AIX unversionable lib.so'
   10725       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10726       # instead of lib<name>.a to let people know that these are not
   10727       # typical AIX shared libraries.
   10728       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10729       ;;
   10730     aix,no) # traditional AIX only
   10731       dynamic_linker='AIX lib.a(lib.so.V)'
   10732       # We preserve .a as extension for shared libraries through AIX4.2
   10733       # and later when we are not doing run time linking.
   10734       library_names_spec='$libname$release.a $libname.a'
   10735       soname_spec='$libname$release$shared_ext$major'
   10736       ;;
   10737     svr4,*) # full svr4 only
   10738       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   10739       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   10740       # We do not specify a path in Import Files, so LIBPATH fires.
   10741       shlibpath_overrides_runpath=yes
   10742       ;;
   10743     *,yes) # both, prefer svr4
   10744       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   10745       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   10746       # unpreferred sharedlib libNAME.a needs extra handling
   10747       postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
   10748       postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
   10749       # We do not specify a path in Import Files, so LIBPATH fires.
   10750       shlibpath_overrides_runpath=yes
   10751       ;;
   10752     *,no) # both, prefer aix
   10753       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   10754       library_names_spec='$libname$release.a $libname.a'
   10755       soname_spec='$libname$release$shared_ext$major'
   10756       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   10757       postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
   10758       postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
   10759       ;;
   10760     esac
   10761     shlibpath_var=LIBPATH
   10762   fi
   10763   ;;
   10764 
   10765 amigaos*)
   10766   case $host_cpu in
   10767   powerpc)
   10768     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10769     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10770     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10771     ;;
   10772   m68k)
   10773     library_names_spec='$libname.ixlibrary $libname.a'
   10774     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10775     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   10776     ;;
   10777   esac
   10778   ;;
   10779 
   10780 beos*)
   10781   library_names_spec='$libname$shared_ext'
   10782   dynamic_linker="$host_os ld.so"
   10783   shlibpath_var=LIBRARY_PATH
   10784   ;;
   10785 
   10786 bsdi[45]*)
   10787   version_type=linux # correct to gnu/linux during the next big refactor
   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   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10792   shlibpath_var=LD_LIBRARY_PATH
   10793   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10794   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10795   # the default ld.so.conf also contains /usr/contrib/lib and
   10796   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10797   # libtool to hard-code these into programs
   10798   ;;
   10799 
   10800 cygwin* | mingw* | pw32* | cegcc*)
   10801   version_type=windows
   10802   shrext_cmds=.dll
   10803   need_version=no
   10804   need_lib_prefix=no
   10805 
   10806   case $GCC,$cc_basename in
   10807   yes,*)
   10808     # gcc
   10809     library_names_spec='$libname.dll.a'
   10810     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10811     postinstall_cmds='base_file=`basename \$file`~
   10812       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   10813       dldir=$destdir/`dirname \$dlpath`~
   10814       test -d \$dldir || mkdir -p \$dldir~
   10815       $install_prog $dir/$dlname \$dldir/$dlname~
   10816       chmod a+x \$dldir/$dlname~
   10817       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10818         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10819       fi'
   10820     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10821       dlpath=$dir/\$dldll~
   10822        $RM \$dlpath'
   10823     shlibpath_overrides_runpath=yes
   10824 
   10825     case $host_os in
   10826     cygwin*)
   10827       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10828       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   10829 
   10830       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10831       ;;
   10832     mingw* | cegcc*)
   10833       # MinGW DLLs use traditional 'lib' prefix
   10834       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   10835       ;;
   10836     pw32*)
   10837       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10838       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   10839       ;;
   10840     esac
   10841     dynamic_linker='Win32 ld.exe'
   10842     ;;
   10843 
   10844   *,cl*)
   10845     # Native MSVC
   10846     libname_spec='$name'
   10847     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   10848     library_names_spec='$libname.dll.lib'
   10849 
   10850     case $build_os in
   10851     mingw*)
   10852       sys_lib_search_path_spec=
   10853       lt_save_ifs=$IFS
   10854       IFS=';'
   10855       for lt_path in $LIB
   10856       do
   10857         IFS=$lt_save_ifs
   10858         # Let DOS variable expansion print the short 8.3 style file name.
   10859         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10860         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10861       done
   10862       IFS=$lt_save_ifs
   10863       # Convert to MSYS style.
   10864       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10865       ;;
   10866     cygwin*)
   10867       # Convert to unix form, then to dos form, then back to unix form
   10868       # but this time dos style (no spaces!) so that the unix form looks
   10869       # like /cygdrive/c/PROGRA~1:/cygdr...
   10870       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10871       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10872       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10873       ;;
   10874     *)
   10875       sys_lib_search_path_spec=$LIB
   10876       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10877         # It is most probably a Windows format PATH.
   10878         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10879       else
   10880         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10881       fi
   10882       # FIXME: find the short name or the path components, as spaces are
   10883       # common. (e.g. "Program Files" -> "PROGRA~1")
   10884       ;;
   10885     esac
   10886 
   10887     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10888     postinstall_cmds='base_file=`basename \$file`~
   10889       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   10890       dldir=$destdir/`dirname \$dlpath`~
   10891       test -d \$dldir || mkdir -p \$dldir~
   10892       $install_prog $dir/$dlname \$dldir/$dlname'
   10893     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10894       dlpath=$dir/\$dldll~
   10895        $RM \$dlpath'
   10896     shlibpath_overrides_runpath=yes
   10897     dynamic_linker='Win32 link.exe'
   10898     ;;
   10899 
   10900   *)
   10901     # Assume MSVC wrapper
   10902     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   10903     dynamic_linker='Win32 ld.exe'
   10904     ;;
   10905   esac
   10906   # FIXME: first we should search . and the directory the executable is in
   10907   shlibpath_var=PATH
   10908   ;;
   10909 
   10910 darwin* | rhapsody*)
   10911   dynamic_linker="$host_os dyld"
   10912   version_type=darwin
   10913   need_lib_prefix=no
   10914   need_version=no
   10915   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   10916   soname_spec='$libname$release$major$shared_ext'
   10917   shlibpath_overrides_runpath=yes
   10918   shlibpath_var=DYLD_LIBRARY_PATH
   10919   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10920 
   10921   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10922   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10923   ;;
   10924 
   10925 dgux*)
   10926   version_type=linux # correct to gnu/linux during the next big refactor
   10927   need_lib_prefix=no
   10928   need_version=no
   10929   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10930   soname_spec='$libname$release$shared_ext$major'
   10931   shlibpath_var=LD_LIBRARY_PATH
   10932   ;;
   10933 
   10934 freebsd* | dragonfly*)
   10935   # DragonFly does not have aout.  When/if they implement a new
   10936   # versioning mechanism, adjust this.
   10937   if test -x /usr/bin/objformat; then
   10938     objformat=`/usr/bin/objformat`
   10939   else
   10940     case $host_os in
   10941     freebsd[23].*) objformat=aout ;;
   10942     *) objformat=elf ;;
   10943     esac
   10944   fi
   10945   version_type=freebsd-$objformat
   10946   case $version_type in
   10947     freebsd-elf*)
   10948       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10949       soname_spec='$libname$release$shared_ext$major'
   10950       need_version=no
   10951       need_lib_prefix=no
   10952       ;;
   10953     freebsd-*)
   10954       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   10955       need_version=yes
   10956       ;;
   10957   esac
   10958   shlibpath_var=LD_LIBRARY_PATH
   10959   case $host_os in
   10960   freebsd2.*)
   10961     shlibpath_overrides_runpath=yes
   10962     ;;
   10963   freebsd3.[01]* | freebsdelf3.[01]*)
   10964     shlibpath_overrides_runpath=yes
   10965     hardcode_into_libs=yes
   10966     ;;
   10967   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10968   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10969     shlibpath_overrides_runpath=no
   10970     hardcode_into_libs=yes
   10971     ;;
   10972   *) # from 4.6 on, and DragonFly
   10973     shlibpath_overrides_runpath=yes
   10974     hardcode_into_libs=yes
   10975     ;;
   10976   esac
   10977   ;;
   10978 
   10979 haiku*)
   10980   version_type=linux # correct to gnu/linux during the next big refactor
   10981   need_lib_prefix=no
   10982   need_version=no
   10983   dynamic_linker="$host_os runtime_loader"
   10984   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10985   soname_spec='$libname$release$shared_ext$major'
   10986   shlibpath_var=LIBRARY_PATH
   10987   shlibpath_overrides_runpath=no
   10988   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10989   hardcode_into_libs=yes
   10990   ;;
   10991 
   10992 hpux9* | hpux10* | hpux11*)
   10993   # Give a soname corresponding to the major version so that dld.sl refuses to
   10994   # link against other versions.
   10995   version_type=sunos
   10996   need_lib_prefix=no
   10997   need_version=no
   10998   case $host_cpu in
   10999   ia64*)
   11000     shrext_cmds='.so'
   11001     hardcode_into_libs=yes
   11002     dynamic_linker="$host_os dld.so"
   11003     shlibpath_var=LD_LIBRARY_PATH
   11004     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11005     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11006     soname_spec='$libname$release$shared_ext$major'
   11007     if test 32 = "$HPUX_IA64_MODE"; then
   11008       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11009       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   11010     else
   11011       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11012       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   11013     fi
   11014     ;;
   11015   hppa*64*)
   11016     shrext_cmds='.sl'
   11017     hardcode_into_libs=yes
   11018     dynamic_linker="$host_os dld.sl"
   11019     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11020     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11021     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11022     soname_spec='$libname$release$shared_ext$major'
   11023     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11024     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11025     ;;
   11026   *)
   11027     shrext_cmds='.sl'
   11028     dynamic_linker="$host_os dld.sl"
   11029     shlibpath_var=SHLIB_PATH
   11030     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11031     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11032     soname_spec='$libname$release$shared_ext$major'
   11033     ;;
   11034   esac
   11035   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   11036   postinstall_cmds='chmod 555 $lib'
   11037   # or fails outright, so override atomically:
   11038   install_override_mode=555
   11039   ;;
   11040 
   11041 interix[3-9]*)
   11042   version_type=linux # correct to gnu/linux during the next big refactor
   11043   need_lib_prefix=no
   11044   need_version=no
   11045   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11046   soname_spec='$libname$release$shared_ext$major'
   11047   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   11048   shlibpath_var=LD_LIBRARY_PATH
   11049   shlibpath_overrides_runpath=no
   11050   hardcode_into_libs=yes
   11051   ;;
   11052 
   11053 irix5* | irix6* | nonstopux*)
   11054   case $host_os in
   11055     nonstopux*) version_type=nonstopux ;;
   11056     *)
   11057 	if test yes = "$lt_cv_prog_gnu_ld"; then
   11058 		version_type=linux # correct to gnu/linux during the next big refactor
   11059 	else
   11060 		version_type=irix
   11061 	fi ;;
   11062   esac
   11063   need_lib_prefix=no
   11064   need_version=no
   11065   soname_spec='$libname$release$shared_ext$major'
   11066   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   11067   case $host_os in
   11068   irix5* | nonstopux*)
   11069     libsuff= shlibsuff=
   11070     ;;
   11071   *)
   11072     case $LD in # libtool.m4 will add one of these switches to LD
   11073     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11074       libsuff= shlibsuff= libmagic=32-bit;;
   11075     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11076       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11077     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11078       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11079     *) libsuff= shlibsuff= libmagic=never-match;;
   11080     esac
   11081     ;;
   11082   esac
   11083   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   11084   shlibpath_overrides_runpath=no
   11085   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   11086   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   11087   hardcode_into_libs=yes
   11088   ;;
   11089 
   11090 # No shared lib support for Linux oldld, aout, or coff.
   11091 linux*oldld* | linux*aout* | linux*coff*)
   11092   dynamic_linker=no
   11093   ;;
   11094 
   11095 linux*android*)
   11096   version_type=none # Android doesn't support versioned libraries.
   11097   need_lib_prefix=no
   11098   need_version=no
   11099   library_names_spec='$libname$release$shared_ext'
   11100   soname_spec='$libname$release$shared_ext'
   11101   finish_cmds=
   11102   shlibpath_var=LD_LIBRARY_PATH
   11103   shlibpath_overrides_runpath=yes
   11104 
   11105   # This implies no fast_install, which is unacceptable.
   11106   # Some rework will be needed to allow for fast_install
   11107   # before this can be enabled.
   11108   hardcode_into_libs=yes
   11109 
   11110   dynamic_linker='Android linker'
   11111   # Don't embed -rpath directories since the linker doesn't support them.
   11112   hardcode_libdir_flag_spec='-L$libdir'
   11113   ;;
   11114 
   11115 # This must be glibc/ELF.
   11116 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   11117   version_type=linux # correct to gnu/linux during the next big refactor
   11118   need_lib_prefix=no
   11119   need_version=no
   11120   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11121   soname_spec='$libname$release$shared_ext$major'
   11122   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11123   shlibpath_var=LD_LIBRARY_PATH
   11124   shlibpath_overrides_runpath=no
   11125 
   11126   # Some binutils ld are patched to set DT_RUNPATH
   11127   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   11128   $as_echo_n "(cached) " >&6
   11129 else
   11130   lt_cv_shlibpath_overrides_runpath=no
   11131     save_LDFLAGS=$LDFLAGS
   11132     save_libdir=$libdir
   11133     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11134 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11135     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11136 /* end confdefs.h.  */
   11137 
   11138 int
   11139 main ()
   11140 {
   11141 
   11142   ;
   11143   return 0;
   11144 }
   11145 _ACEOF
   11146 if ac_fn_c_try_link "$LINENO"; then :
   11147   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   11148   lt_cv_shlibpath_overrides_runpath=yes
   11149 fi
   11150 fi
   11151 rm -f core conftest.err conftest.$ac_objext \
   11152     conftest$ac_exeext conftest.$ac_ext
   11153     LDFLAGS=$save_LDFLAGS
   11154     libdir=$save_libdir
   11155 
   11156 fi
   11157 
   11158   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   11159 
   11160   # This implies no fast_install, which is unacceptable.
   11161   # Some rework will be needed to allow for fast_install
   11162   # before this can be enabled.
   11163   hardcode_into_libs=yes
   11164 
   11165   # Ideally, we could use ldconfig to report *all* directores which are
   11166   # searched for libraries, however this is still not possible.  Aside from not
   11167   # being certain /sbin/ldconfig is available, command
   11168   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   11169   # even though it is searched at run-time.  Try to do the best guess by
   11170   # appending ld.so.conf contents (and includes) to the search path.
   11171   if test -f /etc/ld.so.conf; then
   11172     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' ' '`
   11173     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   11174   fi
   11175 
   11176   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11177   # powerpc, because MkLinux only supported shared libraries with the
   11178   # GNU dynamic linker.  Since this was broken with cross compilers,
   11179   # most powerpc-linux boxes support dynamic linking these days and
   11180   # people can always --disable-shared, the test was removed, and we
   11181   # assume the GNU/Linux dynamic linker is in use.
   11182   dynamic_linker='GNU/Linux ld.so'
   11183   ;;
   11184 
   11185 netbsdelf*-gnu)
   11186   version_type=linux
   11187   need_lib_prefix=no
   11188   need_version=no
   11189   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   11190   soname_spec='${libname}${release}${shared_ext}$major'
   11191   shlibpath_var=LD_LIBRARY_PATH
   11192   shlibpath_overrides_runpath=no
   11193   hardcode_into_libs=yes
   11194   dynamic_linker='NetBSD ld.elf_so'
   11195   ;;
   11196 
   11197 netbsd*)
   11198   version_type=sunos
   11199   need_lib_prefix=no
   11200   need_version=no
   11201   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11202     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11203     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11204     dynamic_linker='NetBSD (a.out) ld.so'
   11205   else
   11206     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11207     soname_spec='$libname$release$shared_ext$major'
   11208     dynamic_linker='NetBSD ld.elf_so'
   11209   fi
   11210   shlibpath_var=LD_LIBRARY_PATH
   11211   shlibpath_overrides_runpath=yes
   11212   hardcode_into_libs=yes
   11213   ;;
   11214 
   11215 newsos6)
   11216   version_type=linux # correct to gnu/linux during the next big refactor
   11217   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11218   shlibpath_var=LD_LIBRARY_PATH
   11219   shlibpath_overrides_runpath=yes
   11220   ;;
   11221 
   11222 *nto* | *qnx*)
   11223   version_type=qnx
   11224   need_lib_prefix=no
   11225   need_version=no
   11226   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11227   soname_spec='$libname$release$shared_ext$major'
   11228   shlibpath_var=LD_LIBRARY_PATH
   11229   shlibpath_overrides_runpath=no
   11230   hardcode_into_libs=yes
   11231   dynamic_linker='ldqnx.so'
   11232   ;;
   11233 
   11234 openbsd* | bitrig*)
   11235   version_type=sunos
   11236   sys_lib_dlsearch_path_spec=/usr/lib
   11237   need_lib_prefix=no
   11238   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11239     need_version=no
   11240   else
   11241     need_version=yes
   11242   fi
   11243   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11244   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11245   shlibpath_var=LD_LIBRARY_PATH
   11246   shlibpath_overrides_runpath=yes
   11247   ;;
   11248 
   11249 os2*)
   11250   libname_spec='$name'
   11251   version_type=windows
   11252   shrext_cmds=.dll
   11253   need_version=no
   11254   need_lib_prefix=no
   11255   # OS/2 can only load a DLL with a base name of 8 characters or less.
   11256   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   11257     v=$($ECHO $release$versuffix | tr -d .-);
   11258     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   11259     $ECHO $n$v`$shared_ext'
   11260   library_names_spec='${libname}_dll.$libext'
   11261   dynamic_linker='OS/2 ld.exe'
   11262   shlibpath_var=BEGINLIBPATH
   11263   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11264   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11265   postinstall_cmds='base_file=`basename \$file`~
   11266     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   11267     dldir=$destdir/`dirname \$dlpath`~
   11268     test -d \$dldir || mkdir -p \$dldir~
   11269     $install_prog $dir/$dlname \$dldir/$dlname~
   11270     chmod a+x \$dldir/$dlname~
   11271     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11272       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11273     fi'
   11274   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   11275     dlpath=$dir/\$dldll~
   11276     $RM \$dlpath'
   11277   ;;
   11278 
   11279 osf3* | osf4* | osf5*)
   11280   version_type=osf
   11281   need_lib_prefix=no
   11282   need_version=no
   11283   soname_spec='$libname$release$shared_ext$major'
   11284   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11285   shlibpath_var=LD_LIBRARY_PATH
   11286   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11287   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11288   ;;
   11289 
   11290 rdos*)
   11291   dynamic_linker=no
   11292   ;;
   11293 
   11294 solaris*)
   11295   version_type=linux # correct to gnu/linux during the next big refactor
   11296   need_lib_prefix=no
   11297   need_version=no
   11298   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11299   soname_spec='$libname$release$shared_ext$major'
   11300   shlibpath_var=LD_LIBRARY_PATH
   11301   shlibpath_overrides_runpath=yes
   11302   hardcode_into_libs=yes
   11303   # ldd complains unless libraries are executable
   11304   postinstall_cmds='chmod +x $lib'
   11305   ;;
   11306 
   11307 sunos4*)
   11308   version_type=sunos
   11309   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11310   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11311   shlibpath_var=LD_LIBRARY_PATH
   11312   shlibpath_overrides_runpath=yes
   11313   if test yes = "$with_gnu_ld"; then
   11314     need_lib_prefix=no
   11315   fi
   11316   need_version=yes
   11317   ;;
   11318 
   11319 sysv4 | sysv4.3*)
   11320   version_type=linux # correct to gnu/linux during the next big refactor
   11321   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11322   soname_spec='$libname$release$shared_ext$major'
   11323   shlibpath_var=LD_LIBRARY_PATH
   11324   case $host_vendor in
   11325     sni)
   11326       shlibpath_overrides_runpath=no
   11327       need_lib_prefix=no
   11328       runpath_var=LD_RUN_PATH
   11329       ;;
   11330     siemens)
   11331       need_lib_prefix=no
   11332       ;;
   11333     motorola)
   11334       need_lib_prefix=no
   11335       need_version=no
   11336       shlibpath_overrides_runpath=no
   11337       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11338       ;;
   11339   esac
   11340   ;;
   11341 
   11342 sysv4*MP*)
   11343   if test -d /usr/nec; then
   11344     version_type=linux # correct to gnu/linux during the next big refactor
   11345     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   11346     soname_spec='$libname$shared_ext.$major'
   11347     shlibpath_var=LD_LIBRARY_PATH
   11348   fi
   11349   ;;
   11350 
   11351 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11352   version_type=sco
   11353   need_lib_prefix=no
   11354   need_version=no
   11355   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   11356   soname_spec='$libname$release$shared_ext$major'
   11357   shlibpath_var=LD_LIBRARY_PATH
   11358   shlibpath_overrides_runpath=yes
   11359   hardcode_into_libs=yes
   11360   if test yes = "$with_gnu_ld"; then
   11361     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11362   else
   11363     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11364     case $host_os in
   11365       sco3.2v5*)
   11366         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11367 	;;
   11368     esac
   11369   fi
   11370   sys_lib_dlsearch_path_spec='/usr/lib'
   11371   ;;
   11372 
   11373 tpf*)
   11374   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11375   version_type=linux # correct to gnu/linux during the next big refactor
   11376   need_lib_prefix=no
   11377   need_version=no
   11378   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11379   shlibpath_var=LD_LIBRARY_PATH
   11380   shlibpath_overrides_runpath=no
   11381   hardcode_into_libs=yes
   11382   ;;
   11383 
   11384 uts4*)
   11385   version_type=linux # correct to gnu/linux during the next big refactor
   11386   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11387   soname_spec='$libname$release$shared_ext$major'
   11388   shlibpath_var=LD_LIBRARY_PATH
   11389   ;;
   11390 
   11391 *)
   11392   dynamic_linker=no
   11393   ;;
   11394 esac
   11395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11396 $as_echo "$dynamic_linker" >&6; }
   11397 test no = "$dynamic_linker" && can_build_shared=no
   11398 
   11399 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11400 if test yes = "$GCC"; then
   11401   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11402 fi
   11403 
   11404 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   11405   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   11406 fi
   11407 
   11408 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   11409   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   11410 fi
   11411 
   11412 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   11413 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   11414 
   11415 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   11416 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   11417 
   11418 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   11419 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   11420 
   11421 
   11422 
   11423 
   11424 
   11425 
   11426 
   11427 
   11428 
   11429 
   11430 
   11431 
   11432 
   11433 
   11434 
   11435 
   11436 
   11437 
   11438 
   11439 
   11440 
   11441 
   11442 
   11443 
   11444 
   11445 
   11446 
   11447 
   11448 
   11449 
   11450 
   11451 
   11452 
   11453 
   11454 
   11455 
   11456 
   11457 
   11458 
   11459 
   11460 
   11461 
   11462 
   11463 
   11464 
   11465 
   11466 
   11467 
   11468 
   11469 
   11470 
   11471 
   11472 
   11473 
   11474 
   11475 
   11476 
   11477 
   11478 
   11479 
   11480 
   11481 
   11482 
   11483 
   11484 
   11485 
   11486 
   11487 
   11488 
   11489 
   11490 
   11491 
   11492 
   11493 
   11494 
   11495 
   11496 
   11497 
   11498 
   11499 
   11500 
   11501 
   11502 
   11503 
   11504 
   11505 
   11506 
   11507 
   11508 
   11509 
   11510 
   11511 
   11512 
   11513 
   11514 
   11515 
   11516 
   11517   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   11518 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   11519 hardcode_action=
   11520 if test -n "$hardcode_libdir_flag_spec" ||
   11521    test -n "$runpath_var" ||
   11522    test yes = "$hardcode_automatic"; then
   11523 
   11524   # We can hardcode non-existent directories.
   11525   if test no != "$hardcode_direct" &&
   11526      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11527      # have to relink, otherwise we might link with an installed library
   11528      # when we should be linking with a yet-to-be-installed one
   11529      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   11530      test no != "$hardcode_minus_L"; then
   11531     # Linking always hardcodes the temporary library directory.
   11532     hardcode_action=relink
   11533   else
   11534     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   11535     hardcode_action=immediate
   11536   fi
   11537 else
   11538   # We cannot hardcode anything, or else we can only hardcode existing
   11539   # directories.
   11540   hardcode_action=unsupported
   11541 fi
   11542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   11543 $as_echo "$hardcode_action" >&6; }
   11544 
   11545 if test relink = "$hardcode_action" ||
   11546    test yes = "$inherit_rpath"; then
   11547   # Fast installation is not supported
   11548   enable_fast_install=no
   11549 elif test yes = "$shlibpath_overrides_runpath" ||
   11550      test no = "$enable_shared"; then
   11551   # Fast installation is not necessary
   11552   enable_fast_install=needless
   11553 fi
   11554 
   11555 
   11556 
   11557 
   11558 
   11559 
   11560   if test yes != "$enable_dlopen"; then
   11561   enable_dlopen=unknown
   11562   enable_dlopen_self=unknown
   11563   enable_dlopen_self_static=unknown
   11564 else
   11565   lt_cv_dlopen=no
   11566   lt_cv_dlopen_libs=
   11567 
   11568   case $host_os in
   11569   beos*)
   11570     lt_cv_dlopen=load_add_on
   11571     lt_cv_dlopen_libs=
   11572     lt_cv_dlopen_self=yes
   11573     ;;
   11574 
   11575   mingw* | pw32* | cegcc*)
   11576     lt_cv_dlopen=LoadLibrary
   11577     lt_cv_dlopen_libs=
   11578     ;;
   11579 
   11580   cygwin*)
   11581     lt_cv_dlopen=dlopen
   11582     lt_cv_dlopen_libs=
   11583     ;;
   11584 
   11585   darwin*)
   11586     # if libdl is installed we need to link against it
   11587     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11588 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11589 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11590   $as_echo_n "(cached) " >&6
   11591 else
   11592   ac_check_lib_save_LIBS=$LIBS
   11593 LIBS="-ldl  $LIBS"
   11594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11595 /* end confdefs.h.  */
   11596 
   11597 /* Override any GCC internal prototype to avoid an error.
   11598    Use char because int might match the return type of a GCC
   11599    builtin and then its argument prototype would still apply.  */
   11600 #ifdef __cplusplus
   11601 extern "C"
   11602 #endif
   11603 char dlopen ();
   11604 int
   11605 main ()
   11606 {
   11607 return dlopen ();
   11608   ;
   11609   return 0;
   11610 }
   11611 _ACEOF
   11612 if ac_fn_c_try_link "$LINENO"; then :
   11613   ac_cv_lib_dl_dlopen=yes
   11614 else
   11615   ac_cv_lib_dl_dlopen=no
   11616 fi
   11617 rm -f core conftest.err conftest.$ac_objext \
   11618     conftest$ac_exeext conftest.$ac_ext
   11619 LIBS=$ac_check_lib_save_LIBS
   11620 fi
   11621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11622 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11623 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11624   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   11625 else
   11626 
   11627     lt_cv_dlopen=dyld
   11628     lt_cv_dlopen_libs=
   11629     lt_cv_dlopen_self=yes
   11630 
   11631 fi
   11632 
   11633     ;;
   11634 
   11635   tpf*)
   11636     # Don't try to run any link tests for TPF.  We know it's impossible
   11637     # because TPF is a cross-compiler, and we know how we open DSOs.
   11638     lt_cv_dlopen=dlopen
   11639     lt_cv_dlopen_libs=
   11640     lt_cv_dlopen_self=no
   11641     ;;
   11642 
   11643   *)
   11644     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   11645 if test "x$ac_cv_func_shl_load" = xyes; then :
   11646   lt_cv_dlopen=shl_load
   11647 else
   11648   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   11649 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11650 if ${ac_cv_lib_dld_shl_load+:} false; then :
   11651   $as_echo_n "(cached) " >&6
   11652 else
   11653   ac_check_lib_save_LIBS=$LIBS
   11654 LIBS="-ldld  $LIBS"
   11655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11656 /* end confdefs.h.  */
   11657 
   11658 /* Override any GCC internal prototype to avoid an error.
   11659    Use char because int might match the return type of a GCC
   11660    builtin and then its argument prototype would still apply.  */
   11661 #ifdef __cplusplus
   11662 extern "C"
   11663 #endif
   11664 char shl_load ();
   11665 int
   11666 main ()
   11667 {
   11668 return shl_load ();
   11669   ;
   11670   return 0;
   11671 }
   11672 _ACEOF
   11673 if ac_fn_c_try_link "$LINENO"; then :
   11674   ac_cv_lib_dld_shl_load=yes
   11675 else
   11676   ac_cv_lib_dld_shl_load=no
   11677 fi
   11678 rm -f core conftest.err conftest.$ac_objext \
   11679     conftest$ac_exeext conftest.$ac_ext
   11680 LIBS=$ac_check_lib_save_LIBS
   11681 fi
   11682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   11683 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11684 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   11685   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   11686 else
   11687   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   11688 if test "x$ac_cv_func_dlopen" = xyes; then :
   11689   lt_cv_dlopen=dlopen
   11690 else
   11691   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11692 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11693 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11694   $as_echo_n "(cached) " >&6
   11695 else
   11696   ac_check_lib_save_LIBS=$LIBS
   11697 LIBS="-ldl  $LIBS"
   11698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11699 /* end confdefs.h.  */
   11700 
   11701 /* Override any GCC internal prototype to avoid an error.
   11702    Use char because int might match the return type of a GCC
   11703    builtin and then its argument prototype would still apply.  */
   11704 #ifdef __cplusplus
   11705 extern "C"
   11706 #endif
   11707 char dlopen ();
   11708 int
   11709 main ()
   11710 {
   11711 return dlopen ();
   11712   ;
   11713   return 0;
   11714 }
   11715 _ACEOF
   11716 if ac_fn_c_try_link "$LINENO"; then :
   11717   ac_cv_lib_dl_dlopen=yes
   11718 else
   11719   ac_cv_lib_dl_dlopen=no
   11720 fi
   11721 rm -f core conftest.err conftest.$ac_objext \
   11722     conftest$ac_exeext conftest.$ac_ext
   11723 LIBS=$ac_check_lib_save_LIBS
   11724 fi
   11725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11726 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11727 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11728   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   11729 else
   11730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11731 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11732 if ${ac_cv_lib_svld_dlopen+:} false; then :
   11733   $as_echo_n "(cached) " >&6
   11734 else
   11735   ac_check_lib_save_LIBS=$LIBS
   11736 LIBS="-lsvld  $LIBS"
   11737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11738 /* end confdefs.h.  */
   11739 
   11740 /* Override any GCC internal prototype to avoid an error.
   11741    Use char because int might match the return type of a GCC
   11742    builtin and then its argument prototype would still apply.  */
   11743 #ifdef __cplusplus
   11744 extern "C"
   11745 #endif
   11746 char dlopen ();
   11747 int
   11748 main ()
   11749 {
   11750 return dlopen ();
   11751   ;
   11752   return 0;
   11753 }
   11754 _ACEOF
   11755 if ac_fn_c_try_link "$LINENO"; then :
   11756   ac_cv_lib_svld_dlopen=yes
   11757 else
   11758   ac_cv_lib_svld_dlopen=no
   11759 fi
   11760 rm -f core conftest.err conftest.$ac_objext \
   11761     conftest$ac_exeext conftest.$ac_ext
   11762 LIBS=$ac_check_lib_save_LIBS
   11763 fi
   11764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11765 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11766 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11767   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   11768 else
   11769   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11770 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11771 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11772   $as_echo_n "(cached) " >&6
   11773 else
   11774   ac_check_lib_save_LIBS=$LIBS
   11775 LIBS="-ldld  $LIBS"
   11776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11777 /* end confdefs.h.  */
   11778 
   11779 /* Override any GCC internal prototype to avoid an error.
   11780    Use char because int might match the return type of a GCC
   11781    builtin and then its argument prototype would still apply.  */
   11782 #ifdef __cplusplus
   11783 extern "C"
   11784 #endif
   11785 char dld_link ();
   11786 int
   11787 main ()
   11788 {
   11789 return dld_link ();
   11790   ;
   11791   return 0;
   11792 }
   11793 _ACEOF
   11794 if ac_fn_c_try_link "$LINENO"; then :
   11795   ac_cv_lib_dld_dld_link=yes
   11796 else
   11797   ac_cv_lib_dld_dld_link=no
   11798 fi
   11799 rm -f core conftest.err conftest.$ac_objext \
   11800     conftest$ac_exeext conftest.$ac_ext
   11801 LIBS=$ac_check_lib_save_LIBS
   11802 fi
   11803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11804 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11805 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11806   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   11807 fi
   11808 
   11809 
   11810 fi
   11811 
   11812 
   11813 fi
   11814 
   11815 
   11816 fi
   11817 
   11818 
   11819 fi
   11820 
   11821 
   11822 fi
   11823 
   11824     ;;
   11825   esac
   11826 
   11827   if test no = "$lt_cv_dlopen"; then
   11828     enable_dlopen=no
   11829   else
   11830     enable_dlopen=yes
   11831   fi
   11832 
   11833   case $lt_cv_dlopen in
   11834   dlopen)
   11835     save_CPPFLAGS=$CPPFLAGS
   11836     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11837 
   11838     save_LDFLAGS=$LDFLAGS
   11839     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11840 
   11841     save_LIBS=$LIBS
   11842     LIBS="$lt_cv_dlopen_libs $LIBS"
   11843 
   11844     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11845 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11846 if ${lt_cv_dlopen_self+:} false; then :
   11847   $as_echo_n "(cached) " >&6
   11848 else
   11849   	  if test yes = "$cross_compiling"; then :
   11850   lt_cv_dlopen_self=cross
   11851 else
   11852   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11853   lt_status=$lt_dlunknown
   11854   cat > conftest.$ac_ext <<_LT_EOF
   11855 #line $LINENO "configure"
   11856 #include "confdefs.h"
   11857 
   11858 #if HAVE_DLFCN_H
   11859 #include <dlfcn.h>
   11860 #endif
   11861 
   11862 #include <stdio.h>
   11863 
   11864 #ifdef RTLD_GLOBAL
   11865 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11866 #else
   11867 #  ifdef DL_GLOBAL
   11868 #    define LT_DLGLOBAL		DL_GLOBAL
   11869 #  else
   11870 #    define LT_DLGLOBAL		0
   11871 #  endif
   11872 #endif
   11873 
   11874 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11875    find out it does not work in some platform. */
   11876 #ifndef LT_DLLAZY_OR_NOW
   11877 #  ifdef RTLD_LAZY
   11878 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11879 #  else
   11880 #    ifdef DL_LAZY
   11881 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11882 #    else
   11883 #      ifdef RTLD_NOW
   11884 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11885 #      else
   11886 #        ifdef DL_NOW
   11887 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11888 #        else
   11889 #          define LT_DLLAZY_OR_NOW	0
   11890 #        endif
   11891 #      endif
   11892 #    endif
   11893 #  endif
   11894 #endif
   11895 
   11896 /* When -fvisibility=hidden is used, assume the code has been annotated
   11897    correspondingly for the symbols needed.  */
   11898 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11899 int fnord () __attribute__((visibility("default")));
   11900 #endif
   11901 
   11902 int fnord () { return 42; }
   11903 int main ()
   11904 {
   11905   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11906   int status = $lt_dlunknown;
   11907 
   11908   if (self)
   11909     {
   11910       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11911       else
   11912         {
   11913 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11914           else puts (dlerror ());
   11915 	}
   11916       /* dlclose (self); */
   11917     }
   11918   else
   11919     puts (dlerror ());
   11920 
   11921   return status;
   11922 }
   11923 _LT_EOF
   11924   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11925   (eval $ac_link) 2>&5
   11926   ac_status=$?
   11927   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11928   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   11929     (./conftest; exit; ) >&5 2>/dev/null
   11930     lt_status=$?
   11931     case x$lt_status in
   11932       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11933       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11934       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11935     esac
   11936   else :
   11937     # compilation failed
   11938     lt_cv_dlopen_self=no
   11939   fi
   11940 fi
   11941 rm -fr conftest*
   11942 
   11943 
   11944 fi
   11945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11946 $as_echo "$lt_cv_dlopen_self" >&6; }
   11947 
   11948     if test yes = "$lt_cv_dlopen_self"; then
   11949       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11950       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11951 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11952 if ${lt_cv_dlopen_self_static+:} false; then :
   11953   $as_echo_n "(cached) " >&6
   11954 else
   11955   	  if test yes = "$cross_compiling"; then :
   11956   lt_cv_dlopen_self_static=cross
   11957 else
   11958   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11959   lt_status=$lt_dlunknown
   11960   cat > conftest.$ac_ext <<_LT_EOF
   11961 #line $LINENO "configure"
   11962 #include "confdefs.h"
   11963 
   11964 #if HAVE_DLFCN_H
   11965 #include <dlfcn.h>
   11966 #endif
   11967 
   11968 #include <stdio.h>
   11969 
   11970 #ifdef RTLD_GLOBAL
   11971 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11972 #else
   11973 #  ifdef DL_GLOBAL
   11974 #    define LT_DLGLOBAL		DL_GLOBAL
   11975 #  else
   11976 #    define LT_DLGLOBAL		0
   11977 #  endif
   11978 #endif
   11979 
   11980 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11981    find out it does not work in some platform. */
   11982 #ifndef LT_DLLAZY_OR_NOW
   11983 #  ifdef RTLD_LAZY
   11984 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11985 #  else
   11986 #    ifdef DL_LAZY
   11987 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11988 #    else
   11989 #      ifdef RTLD_NOW
   11990 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11991 #      else
   11992 #        ifdef DL_NOW
   11993 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11994 #        else
   11995 #          define LT_DLLAZY_OR_NOW	0
   11996 #        endif
   11997 #      endif
   11998 #    endif
   11999 #  endif
   12000 #endif
   12001 
   12002 /* When -fvisibility=hidden is used, assume the code has been annotated
   12003    correspondingly for the symbols needed.  */
   12004 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12005 int fnord () __attribute__((visibility("default")));
   12006 #endif
   12007 
   12008 int fnord () { return 42; }
   12009 int main ()
   12010 {
   12011   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12012   int status = $lt_dlunknown;
   12013 
   12014   if (self)
   12015     {
   12016       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12017       else
   12018         {
   12019 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12020           else puts (dlerror ());
   12021 	}
   12022       /* dlclose (self); */
   12023     }
   12024   else
   12025     puts (dlerror ());
   12026 
   12027   return status;
   12028 }
   12029 _LT_EOF
   12030   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12031   (eval $ac_link) 2>&5
   12032   ac_status=$?
   12033   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12034   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12035     (./conftest; exit; ) >&5 2>/dev/null
   12036     lt_status=$?
   12037     case x$lt_status in
   12038       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   12039       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   12040       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   12041     esac
   12042   else :
   12043     # compilation failed
   12044     lt_cv_dlopen_self_static=no
   12045   fi
   12046 fi
   12047 rm -fr conftest*
   12048 
   12049 
   12050 fi
   12051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   12052 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   12053     fi
   12054 
   12055     CPPFLAGS=$save_CPPFLAGS
   12056     LDFLAGS=$save_LDFLAGS
   12057     LIBS=$save_LIBS
   12058     ;;
   12059   esac
   12060 
   12061   case $lt_cv_dlopen_self in
   12062   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   12063   *) enable_dlopen_self=unknown ;;
   12064   esac
   12065 
   12066   case $lt_cv_dlopen_self_static in
   12067   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   12068   *) enable_dlopen_self_static=unknown ;;
   12069   esac
   12070 fi
   12071 
   12072 
   12073 
   12074 
   12075 
   12076 
   12077 
   12078 
   12079 
   12080 
   12081 
   12082 
   12083 
   12084 
   12085 
   12086 
   12087 
   12088 striplib=
   12089 old_striplib=
   12090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   12091 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   12092 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   12093   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   12094   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   12095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12096 $as_echo "yes" >&6; }
   12097 else
   12098 # FIXME - insert some real tests, host_os isn't really good enough
   12099   case $host_os in
   12100   darwin*)
   12101     if test -n "$STRIP"; then
   12102       striplib="$STRIP -x"
   12103       old_striplib="$STRIP -S"
   12104       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12105 $as_echo "yes" >&6; }
   12106     else
   12107       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12108 $as_echo "no" >&6; }
   12109     fi
   12110     ;;
   12111   *)
   12112     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12113 $as_echo "no" >&6; }
   12114     ;;
   12115   esac
   12116 fi
   12117 
   12118 
   12119 
   12120 
   12121 
   12122 
   12123 
   12124 
   12125 
   12126 
   12127 
   12128 
   12129   # Report what library types will actually be built
   12130   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   12131 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   12132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   12133 $as_echo "$can_build_shared" >&6; }
   12134 
   12135   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   12136 $as_echo_n "checking whether to build shared libraries... " >&6; }
   12137   test no = "$can_build_shared" && enable_shared=no
   12138 
   12139   # On AIX, shared libraries and static libraries use the same namespace, and
   12140   # are all built from PIC.
   12141   case $host_os in
   12142   aix3*)
   12143     test yes = "$enable_shared" && enable_static=no
   12144     if test -n "$RANLIB"; then
   12145       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12146       postinstall_cmds='$RANLIB $lib'
   12147     fi
   12148     ;;
   12149 
   12150   aix[4-9]*)
   12151     if test ia64 != "$host_cpu"; then
   12152       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   12153       yes,aix,yes) ;;			# shared object as lib.so file only
   12154       yes,svr4,*) ;;			# shared object as lib.so archive member only
   12155       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   12156       esac
   12157     fi
   12158     ;;
   12159   esac
   12160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   12161 $as_echo "$enable_shared" >&6; }
   12162 
   12163   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   12164 $as_echo_n "checking whether to build static libraries... " >&6; }
   12165   # Make sure either enable_shared or enable_static is yes.
   12166   test yes = "$enable_shared" || enable_static=yes
   12167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   12168 $as_echo "$enable_static" >&6; }
   12169 
   12170 
   12171 
   12172 
   12173 fi
   12174 ac_ext=c
   12175 ac_cpp='$CPP $CPPFLAGS'
   12176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12179 
   12180 CC=$lt_save_CC
   12181 
   12182 
   12183 
   12184 
   12185 
   12186 
   12187 
   12188 
   12189 
   12190 
   12191 
   12192 
   12193 
   12194 
   12195 
   12196         ac_config_commands="$ac_config_commands libtool"
   12197 
   12198 
   12199 
   12200 
   12201 # Only expand once:
   12202 
   12203 
   12204 
   12205 # Require X.Org macros 1.13 or later for XORG_ENABLE_UNIT_TESTS
   12206 
   12207 
   12208 
   12209 
   12210 
   12211 
   12212 
   12213 
   12214 
   12215 
   12216 
   12217    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   12218 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   12219 if ${ac_cv_prog_cc_c99+:} false; then :
   12220   $as_echo_n "(cached) " >&6
   12221 else
   12222   ac_cv_prog_cc_c99=no
   12223 ac_save_CC=$CC
   12224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12225 /* end confdefs.h.  */
   12226 #include <stdarg.h>
   12227 #include <stdbool.h>
   12228 #include <stdlib.h>
   12229 #include <wchar.h>
   12230 #include <stdio.h>
   12231 
   12232 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   12233 #define debug(...) fprintf (stderr, __VA_ARGS__)
   12234 #define showlist(...) puts (#__VA_ARGS__)
   12235 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   12236 static void
   12237 test_varargs_macros (void)
   12238 {
   12239   int x = 1234;
   12240   int y = 5678;
   12241   debug ("Flag");
   12242   debug ("X = %d\n", x);
   12243   showlist (The first, second, and third items.);
   12244   report (x>y, "x is %d but y is %d", x, y);
   12245 }
   12246 
   12247 // Check long long types.
   12248 #define BIG64 18446744073709551615ull
   12249 #define BIG32 4294967295ul
   12250 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   12251 #if !BIG_OK
   12252   your preprocessor is broken;
   12253 #endif
   12254 #if BIG_OK
   12255 #else
   12256   your preprocessor is broken;
   12257 #endif
   12258 static long long int bignum = -9223372036854775807LL;
   12259 static unsigned long long int ubignum = BIG64;
   12260 
   12261 struct incomplete_array
   12262 {
   12263   int datasize;
   12264   double data[];
   12265 };
   12266 
   12267 struct named_init {
   12268   int number;
   12269   const wchar_t *name;
   12270   double average;
   12271 };
   12272 
   12273 typedef const char *ccp;
   12274 
   12275 static inline int
   12276 test_restrict (ccp restrict text)
   12277 {
   12278   // See if C++-style comments work.
   12279   // Iterate through items via the restricted pointer.
   12280   // Also check for declarations in for loops.
   12281   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   12282     continue;
   12283   return 0;
   12284 }
   12285 
   12286 // Check varargs and va_copy.
   12287 static void
   12288 test_varargs (const char *format, ...)
   12289 {
   12290   va_list args;
   12291   va_start (args, format);
   12292   va_list args_copy;
   12293   va_copy (args_copy, args);
   12294 
   12295   const char *str;
   12296   int number;
   12297   float fnumber;
   12298 
   12299   while (*format)
   12300     {
   12301       switch (*format++)
   12302 	{
   12303 	case 's': // string
   12304 	  str = va_arg (args_copy, const char *);
   12305 	  break;
   12306 	case 'd': // int
   12307 	  number = va_arg (args_copy, int);
   12308 	  break;
   12309 	case 'f': // float
   12310 	  fnumber = va_arg (args_copy, double);
   12311 	  break;
   12312 	default:
   12313 	  break;
   12314 	}
   12315     }
   12316   va_end (args_copy);
   12317   va_end (args);
   12318 }
   12319 
   12320 int
   12321 main ()
   12322 {
   12323 
   12324   // Check bool.
   12325   _Bool success = false;
   12326 
   12327   // Check restrict.
   12328   if (test_restrict ("String literal") == 0)
   12329     success = true;
   12330   char *restrict newvar = "Another string";
   12331 
   12332   // Check varargs.
   12333   test_varargs ("s, d' f .", "string", 65, 34.234);
   12334   test_varargs_macros ();
   12335 
   12336   // Check flexible array members.
   12337   struct incomplete_array *ia =
   12338     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   12339   ia->datasize = 10;
   12340   for (int i = 0; i < ia->datasize; ++i)
   12341     ia->data[i] = i * 1.234;
   12342 
   12343   // Check named initializers.
   12344   struct named_init ni = {
   12345     .number = 34,
   12346     .name = L"Test wide string",
   12347     .average = 543.34343,
   12348   };
   12349 
   12350   ni.number = 58;
   12351 
   12352   int dynamic_array[ni.number];
   12353   dynamic_array[ni.number - 1] = 543;
   12354 
   12355   // work around unused variable warnings
   12356   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   12357 	  || dynamic_array[ni.number - 1] != 543);
   12358 
   12359   ;
   12360   return 0;
   12361 }
   12362 _ACEOF
   12363 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   12364 do
   12365   CC="$ac_save_CC $ac_arg"
   12366   if ac_fn_c_try_compile "$LINENO"; then :
   12367   ac_cv_prog_cc_c99=$ac_arg
   12368 fi
   12369 rm -f core conftest.err conftest.$ac_objext
   12370   test "x$ac_cv_prog_cc_c99" != "xno" && break
   12371 done
   12372 rm -f conftest.$ac_ext
   12373 CC=$ac_save_CC
   12374 
   12375 fi
   12376 # AC_CACHE_VAL
   12377 case "x$ac_cv_prog_cc_c99" in
   12378   x)
   12379     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   12380 $as_echo "none needed" >&6; } ;;
   12381   xno)
   12382     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   12383 $as_echo "unsupported" >&6; } ;;
   12384   *)
   12385     CC="$CC $ac_cv_prog_cc_c99"
   12386     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   12387 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   12388 esac
   12389 if test "x$ac_cv_prog_cc_c99" != xno; then :
   12390 
   12391 fi
   12392 
   12393 
   12394 
   12395 
   12396 
   12397 
   12398 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   12399 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   12400   CLANGCC="yes"
   12401 else
   12402   CLANGCC="no"
   12403 fi
   12404 
   12405 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   12406 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   12407   INTELCC="yes"
   12408 else
   12409   INTELCC="no"
   12410 fi
   12411 
   12412 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   12413 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   12414   SUNCC="yes"
   12415 else
   12416   SUNCC="no"
   12417 fi
   12418 
   12419 
   12420 
   12421 
   12422 
   12423 
   12424 
   12425 
   12426 
   12427 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   12428 	if test -n "$ac_tool_prefix"; then
   12429   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   12430 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   12431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12432 $as_echo_n "checking for $ac_word... " >&6; }
   12433 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   12434   $as_echo_n "(cached) " >&6
   12435 else
   12436   case $PKG_CONFIG in
   12437   [\\/]* | ?:[\\/]*)
   12438   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   12439   ;;
   12440   *)
   12441   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12442 for as_dir in $PATH
   12443 do
   12444   IFS=$as_save_IFS
   12445   test -z "$as_dir" && as_dir=.
   12446     for ac_exec_ext in '' $ac_executable_extensions; do
   12447   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12448     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12449     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12450     break 2
   12451   fi
   12452 done
   12453   done
   12454 IFS=$as_save_IFS
   12455 
   12456   ;;
   12457 esac
   12458 fi
   12459 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   12460 if test -n "$PKG_CONFIG"; then
   12461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   12462 $as_echo "$PKG_CONFIG" >&6; }
   12463 else
   12464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12465 $as_echo "no" >&6; }
   12466 fi
   12467 
   12468 
   12469 fi
   12470 if test -z "$ac_cv_path_PKG_CONFIG"; then
   12471   ac_pt_PKG_CONFIG=$PKG_CONFIG
   12472   # Extract the first word of "pkg-config", so it can be a program name with args.
   12473 set dummy pkg-config; ac_word=$2
   12474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12475 $as_echo_n "checking for $ac_word... " >&6; }
   12476 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   12477   $as_echo_n "(cached) " >&6
   12478 else
   12479   case $ac_pt_PKG_CONFIG in
   12480   [\\/]* | ?:[\\/]*)
   12481   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   12482   ;;
   12483   *)
   12484   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12485 for as_dir in $PATH
   12486 do
   12487   IFS=$as_save_IFS
   12488   test -z "$as_dir" && as_dir=.
   12489     for ac_exec_ext in '' $ac_executable_extensions; do
   12490   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12491     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12492     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12493     break 2
   12494   fi
   12495 done
   12496   done
   12497 IFS=$as_save_IFS
   12498 
   12499   ;;
   12500 esac
   12501 fi
   12502 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   12503 if test -n "$ac_pt_PKG_CONFIG"; then
   12504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   12505 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   12506 else
   12507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12508 $as_echo "no" >&6; }
   12509 fi
   12510 
   12511   if test "x$ac_pt_PKG_CONFIG" = x; then
   12512     PKG_CONFIG=""
   12513   else
   12514     case $cross_compiling:$ac_tool_warned in
   12515 yes:)
   12516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12517 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12518 ac_tool_warned=yes ;;
   12519 esac
   12520     PKG_CONFIG=$ac_pt_PKG_CONFIG
   12521   fi
   12522 else
   12523   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   12524 fi
   12525 
   12526 fi
   12527 if test -n "$PKG_CONFIG"; then
   12528 	_pkg_min_version=0.9.0
   12529 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   12530 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   12531 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   12532 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12533 $as_echo "yes" >&6; }
   12534 	else
   12535 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12536 $as_echo "no" >&6; }
   12537 		PKG_CONFIG=""
   12538 	fi
   12539 fi
   12540 
   12541 
   12542 
   12543 
   12544 
   12545 # Check whether --enable-selective-werror was given.
   12546 if test "${enable_selective_werror+set}" = set; then :
   12547   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   12548 else
   12549   SELECTIVE_WERROR=yes
   12550 fi
   12551 
   12552 
   12553 
   12554 
   12555 
   12556 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   12557 if test "x$SUNCC" = "xyes"; then
   12558     BASE_CFLAGS="-v"
   12559 else
   12560     BASE_CFLAGS=""
   12561 fi
   12562 
   12563 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   12564 
   12565 
   12566 
   12567 
   12568 
   12569 
   12570 
   12571 
   12572 
   12573 
   12574 
   12575 
   12576 
   12577 xorg_testset_save_CFLAGS="$CFLAGS"
   12578 
   12579 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12580 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12581 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12582 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12583 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12584   $as_echo_n "(cached) " >&6
   12585 else
   12586   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12587 /* end confdefs.h.  */
   12588 int i;
   12589 _ACEOF
   12590 if ac_fn_c_try_compile "$LINENO"; then :
   12591   xorg_cv_cc_flag_unknown_warning_option=yes
   12592 else
   12593   xorg_cv_cc_flag_unknown_warning_option=no
   12594 fi
   12595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12596 fi
   12597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12598 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12599 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12600 	CFLAGS="$xorg_testset_save_CFLAGS"
   12601 fi
   12602 
   12603 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12604 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12605 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12606 	fi
   12607 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12608 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12609 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12610 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12611   $as_echo_n "(cached) " >&6
   12612 else
   12613   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12614 /* end confdefs.h.  */
   12615 int i;
   12616 _ACEOF
   12617 if ac_fn_c_try_compile "$LINENO"; then :
   12618   xorg_cv_cc_flag_unused_command_line_argument=yes
   12619 else
   12620   xorg_cv_cc_flag_unused_command_line_argument=no
   12621 fi
   12622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12623 fi
   12624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12625 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12626 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12627 	CFLAGS="$xorg_testset_save_CFLAGS"
   12628 fi
   12629 
   12630 found="no"
   12631 
   12632 	if test $found = "no" ; then
   12633 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12634 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12635 		fi
   12636 
   12637 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12638 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12639 		fi
   12640 
   12641 		CFLAGS="$CFLAGS -Wall"
   12642 
   12643 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   12644 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   12645 		cacheid=xorg_cv_cc_flag__Wall
   12646 		if eval \${$cacheid+:} false; then :
   12647   $as_echo_n "(cached) " >&6
   12648 else
   12649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12650 /* end confdefs.h.  */
   12651 int i;
   12652 int
   12653 main ()
   12654 {
   12655 
   12656   ;
   12657   return 0;
   12658 }
   12659 _ACEOF
   12660 if ac_fn_c_try_link "$LINENO"; then :
   12661   eval $cacheid=yes
   12662 else
   12663   eval $cacheid=no
   12664 fi
   12665 rm -f core conftest.err conftest.$ac_objext \
   12666     conftest$ac_exeext conftest.$ac_ext
   12667 fi
   12668 
   12669 
   12670 		CFLAGS="$xorg_testset_save_CFLAGS"
   12671 
   12672 		eval supported=\$$cacheid
   12673 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12674 $as_echo "$supported" >&6; }
   12675 		if test "$supported" = "yes" ; then
   12676 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   12677 			found="yes"
   12678 		fi
   12679 	fi
   12680 
   12681 
   12682 
   12683 
   12684 
   12685 
   12686 
   12687 
   12688 
   12689 
   12690 
   12691 
   12692 
   12693 
   12694 
   12695 xorg_testset_save_CFLAGS="$CFLAGS"
   12696 
   12697 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12698 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12699 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12700 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12701 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12702   $as_echo_n "(cached) " >&6
   12703 else
   12704   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12705 /* end confdefs.h.  */
   12706 int i;
   12707 _ACEOF
   12708 if ac_fn_c_try_compile "$LINENO"; then :
   12709   xorg_cv_cc_flag_unknown_warning_option=yes
   12710 else
   12711   xorg_cv_cc_flag_unknown_warning_option=no
   12712 fi
   12713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12714 fi
   12715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12716 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12717 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12718 	CFLAGS="$xorg_testset_save_CFLAGS"
   12719 fi
   12720 
   12721 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12722 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12723 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12724 	fi
   12725 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12726 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12727 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12728 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12729   $as_echo_n "(cached) " >&6
   12730 else
   12731   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12732 /* end confdefs.h.  */
   12733 int i;
   12734 _ACEOF
   12735 if ac_fn_c_try_compile "$LINENO"; then :
   12736   xorg_cv_cc_flag_unused_command_line_argument=yes
   12737 else
   12738   xorg_cv_cc_flag_unused_command_line_argument=no
   12739 fi
   12740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12741 fi
   12742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12743 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12744 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12745 	CFLAGS="$xorg_testset_save_CFLAGS"
   12746 fi
   12747 
   12748 found="no"
   12749 
   12750 	if test $found = "no" ; then
   12751 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12752 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12753 		fi
   12754 
   12755 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12756 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12757 		fi
   12758 
   12759 		CFLAGS="$CFLAGS -Wpointer-arith"
   12760 
   12761 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   12762 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   12763 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   12764 		if eval \${$cacheid+:} false; then :
   12765   $as_echo_n "(cached) " >&6
   12766 else
   12767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12768 /* end confdefs.h.  */
   12769 int i;
   12770 int
   12771 main ()
   12772 {
   12773 
   12774   ;
   12775   return 0;
   12776 }
   12777 _ACEOF
   12778 if ac_fn_c_try_link "$LINENO"; then :
   12779   eval $cacheid=yes
   12780 else
   12781   eval $cacheid=no
   12782 fi
   12783 rm -f core conftest.err conftest.$ac_objext \
   12784     conftest$ac_exeext conftest.$ac_ext
   12785 fi
   12786 
   12787 
   12788 		CFLAGS="$xorg_testset_save_CFLAGS"
   12789 
   12790 		eval supported=\$$cacheid
   12791 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12792 $as_echo "$supported" >&6; }
   12793 		if test "$supported" = "yes" ; then
   12794 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   12795 			found="yes"
   12796 		fi
   12797 	fi
   12798 
   12799 
   12800 
   12801 
   12802 
   12803 
   12804 
   12805 
   12806 
   12807 
   12808 
   12809 
   12810 
   12811 
   12812 
   12813 xorg_testset_save_CFLAGS="$CFLAGS"
   12814 
   12815 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12816 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12817 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12818 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12819 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12820   $as_echo_n "(cached) " >&6
   12821 else
   12822   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12823 /* end confdefs.h.  */
   12824 int i;
   12825 _ACEOF
   12826 if ac_fn_c_try_compile "$LINENO"; then :
   12827   xorg_cv_cc_flag_unknown_warning_option=yes
   12828 else
   12829   xorg_cv_cc_flag_unknown_warning_option=no
   12830 fi
   12831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12832 fi
   12833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12834 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12835 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12836 	CFLAGS="$xorg_testset_save_CFLAGS"
   12837 fi
   12838 
   12839 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12840 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12841 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12842 	fi
   12843 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12844 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12845 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12846 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12847   $as_echo_n "(cached) " >&6
   12848 else
   12849   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12850 /* end confdefs.h.  */
   12851 int i;
   12852 _ACEOF
   12853 if ac_fn_c_try_compile "$LINENO"; then :
   12854   xorg_cv_cc_flag_unused_command_line_argument=yes
   12855 else
   12856   xorg_cv_cc_flag_unused_command_line_argument=no
   12857 fi
   12858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12859 fi
   12860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12861 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12862 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12863 	CFLAGS="$xorg_testset_save_CFLAGS"
   12864 fi
   12865 
   12866 found="no"
   12867 
   12868 	if test $found = "no" ; then
   12869 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12870 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12871 		fi
   12872 
   12873 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12874 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12875 		fi
   12876 
   12877 		CFLAGS="$CFLAGS -Wmissing-declarations"
   12878 
   12879 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   12880 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   12881 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   12882 		if eval \${$cacheid+:} false; then :
   12883   $as_echo_n "(cached) " >&6
   12884 else
   12885   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12886 /* end confdefs.h.  */
   12887 int i;
   12888 int
   12889 main ()
   12890 {
   12891 
   12892   ;
   12893   return 0;
   12894 }
   12895 _ACEOF
   12896 if ac_fn_c_try_link "$LINENO"; then :
   12897   eval $cacheid=yes
   12898 else
   12899   eval $cacheid=no
   12900 fi
   12901 rm -f core conftest.err conftest.$ac_objext \
   12902     conftest$ac_exeext conftest.$ac_ext
   12903 fi
   12904 
   12905 
   12906 		CFLAGS="$xorg_testset_save_CFLAGS"
   12907 
   12908 		eval supported=\$$cacheid
   12909 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12910 $as_echo "$supported" >&6; }
   12911 		if test "$supported" = "yes" ; then
   12912 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   12913 			found="yes"
   12914 		fi
   12915 	fi
   12916 
   12917 
   12918 
   12919 
   12920 
   12921 
   12922 
   12923 
   12924 
   12925 
   12926 
   12927 
   12928 
   12929 
   12930 
   12931 xorg_testset_save_CFLAGS="$CFLAGS"
   12932 
   12933 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12934 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12935 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12936 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12937 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12938   $as_echo_n "(cached) " >&6
   12939 else
   12940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12941 /* end confdefs.h.  */
   12942 int i;
   12943 _ACEOF
   12944 if ac_fn_c_try_compile "$LINENO"; then :
   12945   xorg_cv_cc_flag_unknown_warning_option=yes
   12946 else
   12947   xorg_cv_cc_flag_unknown_warning_option=no
   12948 fi
   12949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12950 fi
   12951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12952 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12953 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12954 	CFLAGS="$xorg_testset_save_CFLAGS"
   12955 fi
   12956 
   12957 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12958 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12959 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12960 	fi
   12961 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12962 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12963 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12964 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12965   $as_echo_n "(cached) " >&6
   12966 else
   12967   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12968 /* end confdefs.h.  */
   12969 int i;
   12970 _ACEOF
   12971 if ac_fn_c_try_compile "$LINENO"; then :
   12972   xorg_cv_cc_flag_unused_command_line_argument=yes
   12973 else
   12974   xorg_cv_cc_flag_unused_command_line_argument=no
   12975 fi
   12976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12977 fi
   12978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12979 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12980 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12981 	CFLAGS="$xorg_testset_save_CFLAGS"
   12982 fi
   12983 
   12984 found="no"
   12985 
   12986 	if test $found = "no" ; then
   12987 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12988 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12989 		fi
   12990 
   12991 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12992 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12993 		fi
   12994 
   12995 		CFLAGS="$CFLAGS -Wformat=2"
   12996 
   12997 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   12998 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   12999 		cacheid=xorg_cv_cc_flag__Wformat_2
   13000 		if eval \${$cacheid+:} false; then :
   13001   $as_echo_n "(cached) " >&6
   13002 else
   13003   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13004 /* end confdefs.h.  */
   13005 int i;
   13006 int
   13007 main ()
   13008 {
   13009 
   13010   ;
   13011   return 0;
   13012 }
   13013 _ACEOF
   13014 if ac_fn_c_try_link "$LINENO"; then :
   13015   eval $cacheid=yes
   13016 else
   13017   eval $cacheid=no
   13018 fi
   13019 rm -f core conftest.err conftest.$ac_objext \
   13020     conftest$ac_exeext conftest.$ac_ext
   13021 fi
   13022 
   13023 
   13024 		CFLAGS="$xorg_testset_save_CFLAGS"
   13025 
   13026 		eval supported=\$$cacheid
   13027 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13028 $as_echo "$supported" >&6; }
   13029 		if test "$supported" = "yes" ; then
   13030 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   13031 			found="yes"
   13032 		fi
   13033 	fi
   13034 
   13035 	if test $found = "no" ; then
   13036 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13037 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13038 		fi
   13039 
   13040 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13041 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13042 		fi
   13043 
   13044 		CFLAGS="$CFLAGS -Wformat"
   13045 
   13046 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   13047 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   13048 		cacheid=xorg_cv_cc_flag__Wformat
   13049 		if eval \${$cacheid+:} false; then :
   13050   $as_echo_n "(cached) " >&6
   13051 else
   13052   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13053 /* end confdefs.h.  */
   13054 int i;
   13055 int
   13056 main ()
   13057 {
   13058 
   13059   ;
   13060   return 0;
   13061 }
   13062 _ACEOF
   13063 if ac_fn_c_try_link "$LINENO"; then :
   13064   eval $cacheid=yes
   13065 else
   13066   eval $cacheid=no
   13067 fi
   13068 rm -f core conftest.err conftest.$ac_objext \
   13069     conftest$ac_exeext conftest.$ac_ext
   13070 fi
   13071 
   13072 
   13073 		CFLAGS="$xorg_testset_save_CFLAGS"
   13074 
   13075 		eval supported=\$$cacheid
   13076 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13077 $as_echo "$supported" >&6; }
   13078 		if test "$supported" = "yes" ; then
   13079 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   13080 			found="yes"
   13081 		fi
   13082 	fi
   13083 
   13084 
   13085 
   13086 
   13087 
   13088 
   13089 
   13090 
   13091 
   13092 
   13093 
   13094 
   13095 
   13096 
   13097 
   13098 
   13099 
   13100 xorg_testset_save_CFLAGS="$CFLAGS"
   13101 
   13102 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13103 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13104 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13105 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13106 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13107   $as_echo_n "(cached) " >&6
   13108 else
   13109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13110 /* end confdefs.h.  */
   13111 int i;
   13112 _ACEOF
   13113 if ac_fn_c_try_compile "$LINENO"; then :
   13114   xorg_cv_cc_flag_unknown_warning_option=yes
   13115 else
   13116   xorg_cv_cc_flag_unknown_warning_option=no
   13117 fi
   13118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13119 fi
   13120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13121 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13122 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13123 	CFLAGS="$xorg_testset_save_CFLAGS"
   13124 fi
   13125 
   13126 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13127 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13128 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13129 	fi
   13130 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13131 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13132 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13133 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13134   $as_echo_n "(cached) " >&6
   13135 else
   13136   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13137 /* end confdefs.h.  */
   13138 int i;
   13139 _ACEOF
   13140 if ac_fn_c_try_compile "$LINENO"; then :
   13141   xorg_cv_cc_flag_unused_command_line_argument=yes
   13142 else
   13143   xorg_cv_cc_flag_unused_command_line_argument=no
   13144 fi
   13145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13146 fi
   13147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13148 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13149 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13150 	CFLAGS="$xorg_testset_save_CFLAGS"
   13151 fi
   13152 
   13153 found="no"
   13154 
   13155 	if test $found = "no" ; then
   13156 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13157 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13158 		fi
   13159 
   13160 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13161 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13162 		fi
   13163 
   13164 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   13165 
   13166 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   13167 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   13168 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   13169 		if eval \${$cacheid+:} false; then :
   13170   $as_echo_n "(cached) " >&6
   13171 else
   13172   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13173 /* end confdefs.h.  */
   13174 int i;
   13175 int
   13176 main ()
   13177 {
   13178 
   13179   ;
   13180   return 0;
   13181 }
   13182 _ACEOF
   13183 if ac_fn_c_try_link "$LINENO"; then :
   13184   eval $cacheid=yes
   13185 else
   13186   eval $cacheid=no
   13187 fi
   13188 rm -f core conftest.err conftest.$ac_objext \
   13189     conftest$ac_exeext conftest.$ac_ext
   13190 fi
   13191 
   13192 
   13193 		CFLAGS="$xorg_testset_save_CFLAGS"
   13194 
   13195 		eval supported=\$$cacheid
   13196 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13197 $as_echo "$supported" >&6; }
   13198 		if test "$supported" = "yes" ; then
   13199 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   13200 			found="yes"
   13201 		fi
   13202 	fi
   13203 
   13204 
   13205 
   13206 
   13207 
   13208 
   13209 
   13210 
   13211 
   13212 
   13213 
   13214 
   13215 
   13216 
   13217 
   13218 xorg_testset_save_CFLAGS="$CFLAGS"
   13219 
   13220 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13221 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13222 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13223 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13224 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13225   $as_echo_n "(cached) " >&6
   13226 else
   13227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13228 /* end confdefs.h.  */
   13229 int i;
   13230 _ACEOF
   13231 if ac_fn_c_try_compile "$LINENO"; then :
   13232   xorg_cv_cc_flag_unknown_warning_option=yes
   13233 else
   13234   xorg_cv_cc_flag_unknown_warning_option=no
   13235 fi
   13236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13237 fi
   13238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13239 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13240 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13241 	CFLAGS="$xorg_testset_save_CFLAGS"
   13242 fi
   13243 
   13244 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13245 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13246 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13247 	fi
   13248 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13249 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13250 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13251 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13252   $as_echo_n "(cached) " >&6
   13253 else
   13254   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13255 /* end confdefs.h.  */
   13256 int i;
   13257 _ACEOF
   13258 if ac_fn_c_try_compile "$LINENO"; then :
   13259   xorg_cv_cc_flag_unused_command_line_argument=yes
   13260 else
   13261   xorg_cv_cc_flag_unused_command_line_argument=no
   13262 fi
   13263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13264 fi
   13265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13266 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13267 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13268 	CFLAGS="$xorg_testset_save_CFLAGS"
   13269 fi
   13270 
   13271 found="no"
   13272 
   13273 	if test $found = "no" ; then
   13274 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13275 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13276 		fi
   13277 
   13278 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13279 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13280 		fi
   13281 
   13282 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   13283 
   13284 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   13285 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   13286 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   13287 		if eval \${$cacheid+:} false; then :
   13288   $as_echo_n "(cached) " >&6
   13289 else
   13290   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13291 /* end confdefs.h.  */
   13292 int i;
   13293 int
   13294 main ()
   13295 {
   13296 
   13297   ;
   13298   return 0;
   13299 }
   13300 _ACEOF
   13301 if ac_fn_c_try_link "$LINENO"; then :
   13302   eval $cacheid=yes
   13303 else
   13304   eval $cacheid=no
   13305 fi
   13306 rm -f core conftest.err conftest.$ac_objext \
   13307     conftest$ac_exeext conftest.$ac_ext
   13308 fi
   13309 
   13310 
   13311 		CFLAGS="$xorg_testset_save_CFLAGS"
   13312 
   13313 		eval supported=\$$cacheid
   13314 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13315 $as_echo "$supported" >&6; }
   13316 		if test "$supported" = "yes" ; then
   13317 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   13318 			found="yes"
   13319 		fi
   13320 	fi
   13321 
   13322 
   13323 
   13324 
   13325 
   13326 
   13327 
   13328 
   13329 
   13330 
   13331 
   13332 
   13333 
   13334 
   13335 
   13336 xorg_testset_save_CFLAGS="$CFLAGS"
   13337 
   13338 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13339 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13340 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13341 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13342 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13343   $as_echo_n "(cached) " >&6
   13344 else
   13345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13346 /* end confdefs.h.  */
   13347 int i;
   13348 _ACEOF
   13349 if ac_fn_c_try_compile "$LINENO"; then :
   13350   xorg_cv_cc_flag_unknown_warning_option=yes
   13351 else
   13352   xorg_cv_cc_flag_unknown_warning_option=no
   13353 fi
   13354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13355 fi
   13356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13357 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13358 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13359 	CFLAGS="$xorg_testset_save_CFLAGS"
   13360 fi
   13361 
   13362 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13363 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13364 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13365 	fi
   13366 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13367 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13368 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13369 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13370   $as_echo_n "(cached) " >&6
   13371 else
   13372   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13373 /* end confdefs.h.  */
   13374 int i;
   13375 _ACEOF
   13376 if ac_fn_c_try_compile "$LINENO"; then :
   13377   xorg_cv_cc_flag_unused_command_line_argument=yes
   13378 else
   13379   xorg_cv_cc_flag_unused_command_line_argument=no
   13380 fi
   13381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13382 fi
   13383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13384 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13385 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13386 	CFLAGS="$xorg_testset_save_CFLAGS"
   13387 fi
   13388 
   13389 found="no"
   13390 
   13391 	if test $found = "no" ; then
   13392 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13393 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13394 		fi
   13395 
   13396 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13397 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13398 		fi
   13399 
   13400 		CFLAGS="$CFLAGS -Wnested-externs"
   13401 
   13402 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   13403 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   13404 		cacheid=xorg_cv_cc_flag__Wnested_externs
   13405 		if eval \${$cacheid+:} false; then :
   13406   $as_echo_n "(cached) " >&6
   13407 else
   13408   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13409 /* end confdefs.h.  */
   13410 int i;
   13411 int
   13412 main ()
   13413 {
   13414 
   13415   ;
   13416   return 0;
   13417 }
   13418 _ACEOF
   13419 if ac_fn_c_try_link "$LINENO"; then :
   13420   eval $cacheid=yes
   13421 else
   13422   eval $cacheid=no
   13423 fi
   13424 rm -f core conftest.err conftest.$ac_objext \
   13425     conftest$ac_exeext conftest.$ac_ext
   13426 fi
   13427 
   13428 
   13429 		CFLAGS="$xorg_testset_save_CFLAGS"
   13430 
   13431 		eval supported=\$$cacheid
   13432 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13433 $as_echo "$supported" >&6; }
   13434 		if test "$supported" = "yes" ; then
   13435 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   13436 			found="yes"
   13437 		fi
   13438 	fi
   13439 
   13440 
   13441 
   13442 
   13443 
   13444 
   13445 
   13446 
   13447 
   13448 
   13449 
   13450 
   13451 
   13452 
   13453 
   13454 xorg_testset_save_CFLAGS="$CFLAGS"
   13455 
   13456 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13457 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13458 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13459 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13460 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13461   $as_echo_n "(cached) " >&6
   13462 else
   13463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13464 /* end confdefs.h.  */
   13465 int i;
   13466 _ACEOF
   13467 if ac_fn_c_try_compile "$LINENO"; then :
   13468   xorg_cv_cc_flag_unknown_warning_option=yes
   13469 else
   13470   xorg_cv_cc_flag_unknown_warning_option=no
   13471 fi
   13472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13473 fi
   13474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13475 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13476 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13477 	CFLAGS="$xorg_testset_save_CFLAGS"
   13478 fi
   13479 
   13480 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13481 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13482 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13483 	fi
   13484 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13485 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13486 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13487 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13488   $as_echo_n "(cached) " >&6
   13489 else
   13490   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13491 /* end confdefs.h.  */
   13492 int i;
   13493 _ACEOF
   13494 if ac_fn_c_try_compile "$LINENO"; then :
   13495   xorg_cv_cc_flag_unused_command_line_argument=yes
   13496 else
   13497   xorg_cv_cc_flag_unused_command_line_argument=no
   13498 fi
   13499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13500 fi
   13501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13502 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13503 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13504 	CFLAGS="$xorg_testset_save_CFLAGS"
   13505 fi
   13506 
   13507 found="no"
   13508 
   13509 	if test $found = "no" ; then
   13510 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13511 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13512 		fi
   13513 
   13514 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13515 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13516 		fi
   13517 
   13518 		CFLAGS="$CFLAGS -Wbad-function-cast"
   13519 
   13520 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   13521 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   13522 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   13523 		if eval \${$cacheid+:} false; then :
   13524   $as_echo_n "(cached) " >&6
   13525 else
   13526   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13527 /* end confdefs.h.  */
   13528 int i;
   13529 int
   13530 main ()
   13531 {
   13532 
   13533   ;
   13534   return 0;
   13535 }
   13536 _ACEOF
   13537 if ac_fn_c_try_link "$LINENO"; then :
   13538   eval $cacheid=yes
   13539 else
   13540   eval $cacheid=no
   13541 fi
   13542 rm -f core conftest.err conftest.$ac_objext \
   13543     conftest$ac_exeext conftest.$ac_ext
   13544 fi
   13545 
   13546 
   13547 		CFLAGS="$xorg_testset_save_CFLAGS"
   13548 
   13549 		eval supported=\$$cacheid
   13550 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13551 $as_echo "$supported" >&6; }
   13552 		if test "$supported" = "yes" ; then
   13553 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   13554 			found="yes"
   13555 		fi
   13556 	fi
   13557 
   13558 
   13559 
   13560 
   13561 
   13562 
   13563 
   13564 
   13565 
   13566 
   13567 
   13568 
   13569 
   13570 
   13571 
   13572 xorg_testset_save_CFLAGS="$CFLAGS"
   13573 
   13574 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13575 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13576 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13577 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13578 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13579   $as_echo_n "(cached) " >&6
   13580 else
   13581   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13582 /* end confdefs.h.  */
   13583 int i;
   13584 _ACEOF
   13585 if ac_fn_c_try_compile "$LINENO"; then :
   13586   xorg_cv_cc_flag_unknown_warning_option=yes
   13587 else
   13588   xorg_cv_cc_flag_unknown_warning_option=no
   13589 fi
   13590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13591 fi
   13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13593 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13594 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13595 	CFLAGS="$xorg_testset_save_CFLAGS"
   13596 fi
   13597 
   13598 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13599 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13600 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13601 	fi
   13602 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13603 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13604 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13605 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13606   $as_echo_n "(cached) " >&6
   13607 else
   13608   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13609 /* end confdefs.h.  */
   13610 int i;
   13611 _ACEOF
   13612 if ac_fn_c_try_compile "$LINENO"; then :
   13613   xorg_cv_cc_flag_unused_command_line_argument=yes
   13614 else
   13615   xorg_cv_cc_flag_unused_command_line_argument=no
   13616 fi
   13617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13618 fi
   13619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13620 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13621 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13622 	CFLAGS="$xorg_testset_save_CFLAGS"
   13623 fi
   13624 
   13625 found="no"
   13626 
   13627 	if test $found = "no" ; then
   13628 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13629 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13630 		fi
   13631 
   13632 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13633 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13634 		fi
   13635 
   13636 		CFLAGS="$CFLAGS -Wold-style-definition"
   13637 
   13638 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   13639 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   13640 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   13641 		if eval \${$cacheid+:} false; then :
   13642   $as_echo_n "(cached) " >&6
   13643 else
   13644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13645 /* end confdefs.h.  */
   13646 int i;
   13647 int
   13648 main ()
   13649 {
   13650 
   13651   ;
   13652   return 0;
   13653 }
   13654 _ACEOF
   13655 if ac_fn_c_try_link "$LINENO"; then :
   13656   eval $cacheid=yes
   13657 else
   13658   eval $cacheid=no
   13659 fi
   13660 rm -f core conftest.err conftest.$ac_objext \
   13661     conftest$ac_exeext conftest.$ac_ext
   13662 fi
   13663 
   13664 
   13665 		CFLAGS="$xorg_testset_save_CFLAGS"
   13666 
   13667 		eval supported=\$$cacheid
   13668 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13669 $as_echo "$supported" >&6; }
   13670 		if test "$supported" = "yes" ; then
   13671 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   13672 			found="yes"
   13673 		fi
   13674 	fi
   13675 
   13676 	if test $found = "no" ; then
   13677 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13678 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13679 		fi
   13680 
   13681 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13682 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13683 		fi
   13684 
   13685 		CFLAGS="$CFLAGS -fd"
   13686 
   13687 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   13688 $as_echo_n "checking if $CC supports -fd... " >&6; }
   13689 		cacheid=xorg_cv_cc_flag__fd
   13690 		if eval \${$cacheid+:} false; then :
   13691   $as_echo_n "(cached) " >&6
   13692 else
   13693   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13694 /* end confdefs.h.  */
   13695 int i;
   13696 int
   13697 main ()
   13698 {
   13699 
   13700   ;
   13701   return 0;
   13702 }
   13703 _ACEOF
   13704 if ac_fn_c_try_link "$LINENO"; then :
   13705   eval $cacheid=yes
   13706 else
   13707   eval $cacheid=no
   13708 fi
   13709 rm -f core conftest.err conftest.$ac_objext \
   13710     conftest$ac_exeext conftest.$ac_ext
   13711 fi
   13712 
   13713 
   13714 		CFLAGS="$xorg_testset_save_CFLAGS"
   13715 
   13716 		eval supported=\$$cacheid
   13717 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13718 $as_echo "$supported" >&6; }
   13719 		if test "$supported" = "yes" ; then
   13720 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   13721 			found="yes"
   13722 		fi
   13723 	fi
   13724 
   13725 
   13726 
   13727 
   13728 
   13729 
   13730 
   13731 
   13732 
   13733 
   13734 
   13735 
   13736 
   13737 
   13738 
   13739 xorg_testset_save_CFLAGS="$CFLAGS"
   13740 
   13741 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13742 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13743 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13744 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13745 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13746   $as_echo_n "(cached) " >&6
   13747 else
   13748   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13749 /* end confdefs.h.  */
   13750 int i;
   13751 _ACEOF
   13752 if ac_fn_c_try_compile "$LINENO"; then :
   13753   xorg_cv_cc_flag_unknown_warning_option=yes
   13754 else
   13755   xorg_cv_cc_flag_unknown_warning_option=no
   13756 fi
   13757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13758 fi
   13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13760 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13761 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13762 	CFLAGS="$xorg_testset_save_CFLAGS"
   13763 fi
   13764 
   13765 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13766 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13767 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13768 	fi
   13769 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13770 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13771 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13772 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13773   $as_echo_n "(cached) " >&6
   13774 else
   13775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13776 /* end confdefs.h.  */
   13777 int i;
   13778 _ACEOF
   13779 if ac_fn_c_try_compile "$LINENO"; then :
   13780   xorg_cv_cc_flag_unused_command_line_argument=yes
   13781 else
   13782   xorg_cv_cc_flag_unused_command_line_argument=no
   13783 fi
   13784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13785 fi
   13786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13787 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13788 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13789 	CFLAGS="$xorg_testset_save_CFLAGS"
   13790 fi
   13791 
   13792 found="no"
   13793 
   13794 	if test $found = "no" ; then
   13795 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13796 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13797 		fi
   13798 
   13799 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13800 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13801 		fi
   13802 
   13803 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   13804 
   13805 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   13806 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   13807 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   13808 		if eval \${$cacheid+:} false; then :
   13809   $as_echo_n "(cached) " >&6
   13810 else
   13811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13812 /* end confdefs.h.  */
   13813 int i;
   13814 int
   13815 main ()
   13816 {
   13817 
   13818   ;
   13819   return 0;
   13820 }
   13821 _ACEOF
   13822 if ac_fn_c_try_link "$LINENO"; then :
   13823   eval $cacheid=yes
   13824 else
   13825   eval $cacheid=no
   13826 fi
   13827 rm -f core conftest.err conftest.$ac_objext \
   13828     conftest$ac_exeext conftest.$ac_ext
   13829 fi
   13830 
   13831 
   13832 		CFLAGS="$xorg_testset_save_CFLAGS"
   13833 
   13834 		eval supported=\$$cacheid
   13835 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13836 $as_echo "$supported" >&6; }
   13837 		if test "$supported" = "yes" ; then
   13838 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   13839 			found="yes"
   13840 		fi
   13841 	fi
   13842 
   13843 
   13844 
   13845 
   13846 
   13847 # This chunk adds additional warnings that could catch undesired effects.
   13848 
   13849 
   13850 
   13851 
   13852 
   13853 
   13854 
   13855 
   13856 
   13857 
   13858 
   13859 
   13860 
   13861 xorg_testset_save_CFLAGS="$CFLAGS"
   13862 
   13863 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13864 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13865 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13866 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13867 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13868   $as_echo_n "(cached) " >&6
   13869 else
   13870   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13871 /* end confdefs.h.  */
   13872 int i;
   13873 _ACEOF
   13874 if ac_fn_c_try_compile "$LINENO"; then :
   13875   xorg_cv_cc_flag_unknown_warning_option=yes
   13876 else
   13877   xorg_cv_cc_flag_unknown_warning_option=no
   13878 fi
   13879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13880 fi
   13881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13882 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13883 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13884 	CFLAGS="$xorg_testset_save_CFLAGS"
   13885 fi
   13886 
   13887 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13888 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13889 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13890 	fi
   13891 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13892 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13893 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13894 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13895   $as_echo_n "(cached) " >&6
   13896 else
   13897   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13898 /* end confdefs.h.  */
   13899 int i;
   13900 _ACEOF
   13901 if ac_fn_c_try_compile "$LINENO"; then :
   13902   xorg_cv_cc_flag_unused_command_line_argument=yes
   13903 else
   13904   xorg_cv_cc_flag_unused_command_line_argument=no
   13905 fi
   13906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13907 fi
   13908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13909 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13910 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13911 	CFLAGS="$xorg_testset_save_CFLAGS"
   13912 fi
   13913 
   13914 found="no"
   13915 
   13916 	if test $found = "no" ; then
   13917 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13918 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13919 		fi
   13920 
   13921 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13922 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13923 		fi
   13924 
   13925 		CFLAGS="$CFLAGS -Wunused"
   13926 
   13927 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   13928 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   13929 		cacheid=xorg_cv_cc_flag__Wunused
   13930 		if eval \${$cacheid+:} false; then :
   13931   $as_echo_n "(cached) " >&6
   13932 else
   13933   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13934 /* end confdefs.h.  */
   13935 int i;
   13936 int
   13937 main ()
   13938 {
   13939 
   13940   ;
   13941   return 0;
   13942 }
   13943 _ACEOF
   13944 if ac_fn_c_try_link "$LINENO"; then :
   13945   eval $cacheid=yes
   13946 else
   13947   eval $cacheid=no
   13948 fi
   13949 rm -f core conftest.err conftest.$ac_objext \
   13950     conftest$ac_exeext conftest.$ac_ext
   13951 fi
   13952 
   13953 
   13954 		CFLAGS="$xorg_testset_save_CFLAGS"
   13955 
   13956 		eval supported=\$$cacheid
   13957 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13958 $as_echo "$supported" >&6; }
   13959 		if test "$supported" = "yes" ; then
   13960 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   13961 			found="yes"
   13962 		fi
   13963 	fi
   13964 
   13965 
   13966 
   13967 
   13968 
   13969 
   13970 
   13971 
   13972 
   13973 
   13974 
   13975 
   13976 
   13977 
   13978 
   13979 xorg_testset_save_CFLAGS="$CFLAGS"
   13980 
   13981 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13982 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13983 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13984 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13985 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13986   $as_echo_n "(cached) " >&6
   13987 else
   13988   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13989 /* end confdefs.h.  */
   13990 int i;
   13991 _ACEOF
   13992 if ac_fn_c_try_compile "$LINENO"; then :
   13993   xorg_cv_cc_flag_unknown_warning_option=yes
   13994 else
   13995   xorg_cv_cc_flag_unknown_warning_option=no
   13996 fi
   13997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13998 fi
   13999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14000 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14001 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14002 	CFLAGS="$xorg_testset_save_CFLAGS"
   14003 fi
   14004 
   14005 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14006 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14007 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14008 	fi
   14009 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14010 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14011 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14012 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14013   $as_echo_n "(cached) " >&6
   14014 else
   14015   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14016 /* end confdefs.h.  */
   14017 int i;
   14018 _ACEOF
   14019 if ac_fn_c_try_compile "$LINENO"; then :
   14020   xorg_cv_cc_flag_unused_command_line_argument=yes
   14021 else
   14022   xorg_cv_cc_flag_unused_command_line_argument=no
   14023 fi
   14024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14025 fi
   14026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14027 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14028 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14029 	CFLAGS="$xorg_testset_save_CFLAGS"
   14030 fi
   14031 
   14032 found="no"
   14033 
   14034 	if test $found = "no" ; then
   14035 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14036 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14037 		fi
   14038 
   14039 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14040 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14041 		fi
   14042 
   14043 		CFLAGS="$CFLAGS -Wuninitialized"
   14044 
   14045 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   14046 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   14047 		cacheid=xorg_cv_cc_flag__Wuninitialized
   14048 		if eval \${$cacheid+:} false; then :
   14049   $as_echo_n "(cached) " >&6
   14050 else
   14051   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14052 /* end confdefs.h.  */
   14053 int i;
   14054 int
   14055 main ()
   14056 {
   14057 
   14058   ;
   14059   return 0;
   14060 }
   14061 _ACEOF
   14062 if ac_fn_c_try_link "$LINENO"; then :
   14063   eval $cacheid=yes
   14064 else
   14065   eval $cacheid=no
   14066 fi
   14067 rm -f core conftest.err conftest.$ac_objext \
   14068     conftest$ac_exeext conftest.$ac_ext
   14069 fi
   14070 
   14071 
   14072 		CFLAGS="$xorg_testset_save_CFLAGS"
   14073 
   14074 		eval supported=\$$cacheid
   14075 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14076 $as_echo "$supported" >&6; }
   14077 		if test "$supported" = "yes" ; then
   14078 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   14079 			found="yes"
   14080 		fi
   14081 	fi
   14082 
   14083 
   14084 
   14085 
   14086 
   14087 
   14088 
   14089 
   14090 
   14091 
   14092 
   14093 
   14094 
   14095 
   14096 
   14097 xorg_testset_save_CFLAGS="$CFLAGS"
   14098 
   14099 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14100 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14101 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14102 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14103 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14104   $as_echo_n "(cached) " >&6
   14105 else
   14106   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14107 /* end confdefs.h.  */
   14108 int i;
   14109 _ACEOF
   14110 if ac_fn_c_try_compile "$LINENO"; then :
   14111   xorg_cv_cc_flag_unknown_warning_option=yes
   14112 else
   14113   xorg_cv_cc_flag_unknown_warning_option=no
   14114 fi
   14115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14116 fi
   14117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14118 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14119 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14120 	CFLAGS="$xorg_testset_save_CFLAGS"
   14121 fi
   14122 
   14123 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14124 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14125 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14126 	fi
   14127 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14128 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14129 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14130 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14131   $as_echo_n "(cached) " >&6
   14132 else
   14133   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14134 /* end confdefs.h.  */
   14135 int i;
   14136 _ACEOF
   14137 if ac_fn_c_try_compile "$LINENO"; then :
   14138   xorg_cv_cc_flag_unused_command_line_argument=yes
   14139 else
   14140   xorg_cv_cc_flag_unused_command_line_argument=no
   14141 fi
   14142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14143 fi
   14144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14145 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14146 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14147 	CFLAGS="$xorg_testset_save_CFLAGS"
   14148 fi
   14149 
   14150 found="no"
   14151 
   14152 	if test $found = "no" ; then
   14153 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14154 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14155 		fi
   14156 
   14157 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14158 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14159 		fi
   14160 
   14161 		CFLAGS="$CFLAGS -Wshadow"
   14162 
   14163 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   14164 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   14165 		cacheid=xorg_cv_cc_flag__Wshadow
   14166 		if eval \${$cacheid+:} false; then :
   14167   $as_echo_n "(cached) " >&6
   14168 else
   14169   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14170 /* end confdefs.h.  */
   14171 int i;
   14172 int
   14173 main ()
   14174 {
   14175 
   14176   ;
   14177   return 0;
   14178 }
   14179 _ACEOF
   14180 if ac_fn_c_try_link "$LINENO"; then :
   14181   eval $cacheid=yes
   14182 else
   14183   eval $cacheid=no
   14184 fi
   14185 rm -f core conftest.err conftest.$ac_objext \
   14186     conftest$ac_exeext conftest.$ac_ext
   14187 fi
   14188 
   14189 
   14190 		CFLAGS="$xorg_testset_save_CFLAGS"
   14191 
   14192 		eval supported=\$$cacheid
   14193 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14194 $as_echo "$supported" >&6; }
   14195 		if test "$supported" = "yes" ; then
   14196 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   14197 			found="yes"
   14198 		fi
   14199 	fi
   14200 
   14201 
   14202 
   14203 
   14204 
   14205 
   14206 
   14207 
   14208 
   14209 
   14210 
   14211 
   14212 
   14213 
   14214 
   14215 xorg_testset_save_CFLAGS="$CFLAGS"
   14216 
   14217 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14218 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14219 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14220 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14221 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14222   $as_echo_n "(cached) " >&6
   14223 else
   14224   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14225 /* end confdefs.h.  */
   14226 int i;
   14227 _ACEOF
   14228 if ac_fn_c_try_compile "$LINENO"; then :
   14229   xorg_cv_cc_flag_unknown_warning_option=yes
   14230 else
   14231   xorg_cv_cc_flag_unknown_warning_option=no
   14232 fi
   14233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14234 fi
   14235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14236 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14237 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14238 	CFLAGS="$xorg_testset_save_CFLAGS"
   14239 fi
   14240 
   14241 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14242 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14243 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14244 	fi
   14245 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14246 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14247 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14248 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14249   $as_echo_n "(cached) " >&6
   14250 else
   14251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14252 /* end confdefs.h.  */
   14253 int i;
   14254 _ACEOF
   14255 if ac_fn_c_try_compile "$LINENO"; then :
   14256   xorg_cv_cc_flag_unused_command_line_argument=yes
   14257 else
   14258   xorg_cv_cc_flag_unused_command_line_argument=no
   14259 fi
   14260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14261 fi
   14262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14263 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14264 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14265 	CFLAGS="$xorg_testset_save_CFLAGS"
   14266 fi
   14267 
   14268 found="no"
   14269 
   14270 	if test $found = "no" ; then
   14271 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14272 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14273 		fi
   14274 
   14275 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14276 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14277 		fi
   14278 
   14279 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   14280 
   14281 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   14282 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   14283 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   14284 		if eval \${$cacheid+:} false; then :
   14285   $as_echo_n "(cached) " >&6
   14286 else
   14287   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14288 /* end confdefs.h.  */
   14289 int i;
   14290 int
   14291 main ()
   14292 {
   14293 
   14294   ;
   14295   return 0;
   14296 }
   14297 _ACEOF
   14298 if ac_fn_c_try_link "$LINENO"; then :
   14299   eval $cacheid=yes
   14300 else
   14301   eval $cacheid=no
   14302 fi
   14303 rm -f core conftest.err conftest.$ac_objext \
   14304     conftest$ac_exeext conftest.$ac_ext
   14305 fi
   14306 
   14307 
   14308 		CFLAGS="$xorg_testset_save_CFLAGS"
   14309 
   14310 		eval supported=\$$cacheid
   14311 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14312 $as_echo "$supported" >&6; }
   14313 		if test "$supported" = "yes" ; then
   14314 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   14315 			found="yes"
   14316 		fi
   14317 	fi
   14318 
   14319 
   14320 
   14321 
   14322 
   14323 
   14324 
   14325 
   14326 
   14327 
   14328 
   14329 
   14330 
   14331 
   14332 
   14333 xorg_testset_save_CFLAGS="$CFLAGS"
   14334 
   14335 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14336 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14337 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14338 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14339 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14340   $as_echo_n "(cached) " >&6
   14341 else
   14342   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14343 /* end confdefs.h.  */
   14344 int i;
   14345 _ACEOF
   14346 if ac_fn_c_try_compile "$LINENO"; then :
   14347   xorg_cv_cc_flag_unknown_warning_option=yes
   14348 else
   14349   xorg_cv_cc_flag_unknown_warning_option=no
   14350 fi
   14351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14352 fi
   14353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14354 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14355 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14356 	CFLAGS="$xorg_testset_save_CFLAGS"
   14357 fi
   14358 
   14359 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14360 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14361 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14362 	fi
   14363 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14364 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14365 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14366 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14367   $as_echo_n "(cached) " >&6
   14368 else
   14369   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14370 /* end confdefs.h.  */
   14371 int i;
   14372 _ACEOF
   14373 if ac_fn_c_try_compile "$LINENO"; then :
   14374   xorg_cv_cc_flag_unused_command_line_argument=yes
   14375 else
   14376   xorg_cv_cc_flag_unused_command_line_argument=no
   14377 fi
   14378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14379 fi
   14380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14381 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14382 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14383 	CFLAGS="$xorg_testset_save_CFLAGS"
   14384 fi
   14385 
   14386 found="no"
   14387 
   14388 	if test $found = "no" ; then
   14389 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14390 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14391 		fi
   14392 
   14393 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14394 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14395 		fi
   14396 
   14397 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   14398 
   14399 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   14400 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   14401 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   14402 		if eval \${$cacheid+:} false; then :
   14403   $as_echo_n "(cached) " >&6
   14404 else
   14405   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14406 /* end confdefs.h.  */
   14407 int i;
   14408 int
   14409 main ()
   14410 {
   14411 
   14412   ;
   14413   return 0;
   14414 }
   14415 _ACEOF
   14416 if ac_fn_c_try_link "$LINENO"; then :
   14417   eval $cacheid=yes
   14418 else
   14419   eval $cacheid=no
   14420 fi
   14421 rm -f core conftest.err conftest.$ac_objext \
   14422     conftest$ac_exeext conftest.$ac_ext
   14423 fi
   14424 
   14425 
   14426 		CFLAGS="$xorg_testset_save_CFLAGS"
   14427 
   14428 		eval supported=\$$cacheid
   14429 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14430 $as_echo "$supported" >&6; }
   14431 		if test "$supported" = "yes" ; then
   14432 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   14433 			found="yes"
   14434 		fi
   14435 	fi
   14436 
   14437 
   14438 
   14439 
   14440 
   14441 
   14442 
   14443 
   14444 
   14445 
   14446 
   14447 
   14448 
   14449 
   14450 
   14451 xorg_testset_save_CFLAGS="$CFLAGS"
   14452 
   14453 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14454 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14455 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14456 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14457 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14458   $as_echo_n "(cached) " >&6
   14459 else
   14460   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14461 /* end confdefs.h.  */
   14462 int i;
   14463 _ACEOF
   14464 if ac_fn_c_try_compile "$LINENO"; then :
   14465   xorg_cv_cc_flag_unknown_warning_option=yes
   14466 else
   14467   xorg_cv_cc_flag_unknown_warning_option=no
   14468 fi
   14469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14470 fi
   14471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14472 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14473 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14474 	CFLAGS="$xorg_testset_save_CFLAGS"
   14475 fi
   14476 
   14477 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14478 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14479 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14480 	fi
   14481 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14482 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14483 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14484 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14485   $as_echo_n "(cached) " >&6
   14486 else
   14487   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14488 /* end confdefs.h.  */
   14489 int i;
   14490 _ACEOF
   14491 if ac_fn_c_try_compile "$LINENO"; then :
   14492   xorg_cv_cc_flag_unused_command_line_argument=yes
   14493 else
   14494   xorg_cv_cc_flag_unused_command_line_argument=no
   14495 fi
   14496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14497 fi
   14498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14499 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14500 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14501 	CFLAGS="$xorg_testset_save_CFLAGS"
   14502 fi
   14503 
   14504 found="no"
   14505 
   14506 	if test $found = "no" ; then
   14507 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14508 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14509 		fi
   14510 
   14511 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14512 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14513 		fi
   14514 
   14515 		CFLAGS="$CFLAGS -Wredundant-decls"
   14516 
   14517 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   14518 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   14519 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   14520 		if eval \${$cacheid+:} false; then :
   14521   $as_echo_n "(cached) " >&6
   14522 else
   14523   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14524 /* end confdefs.h.  */
   14525 int i;
   14526 int
   14527 main ()
   14528 {
   14529 
   14530   ;
   14531   return 0;
   14532 }
   14533 _ACEOF
   14534 if ac_fn_c_try_link "$LINENO"; then :
   14535   eval $cacheid=yes
   14536 else
   14537   eval $cacheid=no
   14538 fi
   14539 rm -f core conftest.err conftest.$ac_objext \
   14540     conftest$ac_exeext conftest.$ac_ext
   14541 fi
   14542 
   14543 
   14544 		CFLAGS="$xorg_testset_save_CFLAGS"
   14545 
   14546 		eval supported=\$$cacheid
   14547 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14548 $as_echo "$supported" >&6; }
   14549 		if test "$supported" = "yes" ; then
   14550 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   14551 			found="yes"
   14552 		fi
   14553 	fi
   14554 
   14555 
   14556 
   14557 
   14558 
   14559 
   14560 
   14561 
   14562 
   14563 
   14564 
   14565 
   14566 
   14567 
   14568 
   14569 xorg_testset_save_CFLAGS="$CFLAGS"
   14570 
   14571 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14572 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14573 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14574 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14575 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14576   $as_echo_n "(cached) " >&6
   14577 else
   14578   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14579 /* end confdefs.h.  */
   14580 int i;
   14581 _ACEOF
   14582 if ac_fn_c_try_compile "$LINENO"; then :
   14583   xorg_cv_cc_flag_unknown_warning_option=yes
   14584 else
   14585   xorg_cv_cc_flag_unknown_warning_option=no
   14586 fi
   14587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14588 fi
   14589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14590 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14591 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14592 	CFLAGS="$xorg_testset_save_CFLAGS"
   14593 fi
   14594 
   14595 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14596 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14597 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14598 	fi
   14599 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14600 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14601 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14602 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14603   $as_echo_n "(cached) " >&6
   14604 else
   14605   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14606 /* end confdefs.h.  */
   14607 int i;
   14608 _ACEOF
   14609 if ac_fn_c_try_compile "$LINENO"; then :
   14610   xorg_cv_cc_flag_unused_command_line_argument=yes
   14611 else
   14612   xorg_cv_cc_flag_unused_command_line_argument=no
   14613 fi
   14614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14615 fi
   14616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14617 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14618 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14619 	CFLAGS="$xorg_testset_save_CFLAGS"
   14620 fi
   14621 
   14622 found="no"
   14623 
   14624 	if test $found = "no" ; then
   14625 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14626 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14627 		fi
   14628 
   14629 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14630 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14631 		fi
   14632 
   14633 		CFLAGS="$CFLAGS -Wlogical-op"
   14634 
   14635 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   14636 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   14637 		cacheid=xorg_cv_cc_flag__Wlogical_op
   14638 		if eval \${$cacheid+:} false; then :
   14639   $as_echo_n "(cached) " >&6
   14640 else
   14641   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14642 /* end confdefs.h.  */
   14643 int i;
   14644 int
   14645 main ()
   14646 {
   14647 
   14648   ;
   14649   return 0;
   14650 }
   14651 _ACEOF
   14652 if ac_fn_c_try_link "$LINENO"; then :
   14653   eval $cacheid=yes
   14654 else
   14655   eval $cacheid=no
   14656 fi
   14657 rm -f core conftest.err conftest.$ac_objext \
   14658     conftest$ac_exeext conftest.$ac_ext
   14659 fi
   14660 
   14661 
   14662 		CFLAGS="$xorg_testset_save_CFLAGS"
   14663 
   14664 		eval supported=\$$cacheid
   14665 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14666 $as_echo "$supported" >&6; }
   14667 		if test "$supported" = "yes" ; then
   14668 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   14669 			found="yes"
   14670 		fi
   14671 	fi
   14672 
   14673 
   14674 
   14675 # These are currently disabled because they are noisy.  They will be enabled
   14676 # in the future once the codebase is sufficiently modernized to silence
   14677 # them.  For now, I don't want them to drown out the other warnings.
   14678 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   14679 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   14680 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   14681 
   14682 # Turn some warnings into errors, so we don't accidently get successful builds
   14683 # when there are problems that should be fixed.
   14684 
   14685 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   14686 
   14687 
   14688 
   14689 
   14690 
   14691 
   14692 
   14693 
   14694 
   14695 
   14696 
   14697 
   14698 
   14699 xorg_testset_save_CFLAGS="$CFLAGS"
   14700 
   14701 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14702 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14703 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14704 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14705 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14706   $as_echo_n "(cached) " >&6
   14707 else
   14708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14709 /* end confdefs.h.  */
   14710 int i;
   14711 _ACEOF
   14712 if ac_fn_c_try_compile "$LINENO"; then :
   14713   xorg_cv_cc_flag_unknown_warning_option=yes
   14714 else
   14715   xorg_cv_cc_flag_unknown_warning_option=no
   14716 fi
   14717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14718 fi
   14719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14720 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14721 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14722 	CFLAGS="$xorg_testset_save_CFLAGS"
   14723 fi
   14724 
   14725 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14726 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14727 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14728 	fi
   14729 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14730 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14731 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14732 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14733   $as_echo_n "(cached) " >&6
   14734 else
   14735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14736 /* end confdefs.h.  */
   14737 int i;
   14738 _ACEOF
   14739 if ac_fn_c_try_compile "$LINENO"; then :
   14740   xorg_cv_cc_flag_unused_command_line_argument=yes
   14741 else
   14742   xorg_cv_cc_flag_unused_command_line_argument=no
   14743 fi
   14744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14745 fi
   14746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14747 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14748 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14749 	CFLAGS="$xorg_testset_save_CFLAGS"
   14750 fi
   14751 
   14752 found="no"
   14753 
   14754 	if test $found = "no" ; then
   14755 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14756 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14757 		fi
   14758 
   14759 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14760 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14761 		fi
   14762 
   14763 		CFLAGS="$CFLAGS -Werror=implicit"
   14764 
   14765 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   14766 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   14767 		cacheid=xorg_cv_cc_flag__Werror_implicit
   14768 		if eval \${$cacheid+:} false; then :
   14769   $as_echo_n "(cached) " >&6
   14770 else
   14771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14772 /* end confdefs.h.  */
   14773 int i;
   14774 int
   14775 main ()
   14776 {
   14777 
   14778   ;
   14779   return 0;
   14780 }
   14781 _ACEOF
   14782 if ac_fn_c_try_link "$LINENO"; then :
   14783   eval $cacheid=yes
   14784 else
   14785   eval $cacheid=no
   14786 fi
   14787 rm -f core conftest.err conftest.$ac_objext \
   14788     conftest$ac_exeext conftest.$ac_ext
   14789 fi
   14790 
   14791 
   14792 		CFLAGS="$xorg_testset_save_CFLAGS"
   14793 
   14794 		eval supported=\$$cacheid
   14795 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14796 $as_echo "$supported" >&6; }
   14797 		if test "$supported" = "yes" ; then
   14798 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   14799 			found="yes"
   14800 		fi
   14801 	fi
   14802 
   14803 	if test $found = "no" ; then
   14804 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14805 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14806 		fi
   14807 
   14808 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14809 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14810 		fi
   14811 
   14812 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14813 
   14814 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   14815 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   14816 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   14817 		if eval \${$cacheid+:} false; then :
   14818   $as_echo_n "(cached) " >&6
   14819 else
   14820   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14821 /* end confdefs.h.  */
   14822 int i;
   14823 int
   14824 main ()
   14825 {
   14826 
   14827   ;
   14828   return 0;
   14829 }
   14830 _ACEOF
   14831 if ac_fn_c_try_link "$LINENO"; then :
   14832   eval $cacheid=yes
   14833 else
   14834   eval $cacheid=no
   14835 fi
   14836 rm -f core conftest.err conftest.$ac_objext \
   14837     conftest$ac_exeext conftest.$ac_ext
   14838 fi
   14839 
   14840 
   14841 		CFLAGS="$xorg_testset_save_CFLAGS"
   14842 
   14843 		eval supported=\$$cacheid
   14844 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14845 $as_echo "$supported" >&6; }
   14846 		if test "$supported" = "yes" ; then
   14847 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14848 			found="yes"
   14849 		fi
   14850 	fi
   14851 
   14852 
   14853 
   14854 
   14855 
   14856 
   14857 
   14858 
   14859 
   14860 
   14861 
   14862 
   14863 
   14864 
   14865 
   14866 xorg_testset_save_CFLAGS="$CFLAGS"
   14867 
   14868 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14869 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14870 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14871 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14872 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14873   $as_echo_n "(cached) " >&6
   14874 else
   14875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14876 /* end confdefs.h.  */
   14877 int i;
   14878 _ACEOF
   14879 if ac_fn_c_try_compile "$LINENO"; then :
   14880   xorg_cv_cc_flag_unknown_warning_option=yes
   14881 else
   14882   xorg_cv_cc_flag_unknown_warning_option=no
   14883 fi
   14884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14885 fi
   14886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14887 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14888 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14889 	CFLAGS="$xorg_testset_save_CFLAGS"
   14890 fi
   14891 
   14892 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14893 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14894 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14895 	fi
   14896 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14897 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14898 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14899 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14900   $as_echo_n "(cached) " >&6
   14901 else
   14902   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14903 /* end confdefs.h.  */
   14904 int i;
   14905 _ACEOF
   14906 if ac_fn_c_try_compile "$LINENO"; then :
   14907   xorg_cv_cc_flag_unused_command_line_argument=yes
   14908 else
   14909   xorg_cv_cc_flag_unused_command_line_argument=no
   14910 fi
   14911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14912 fi
   14913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14914 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14915 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14916 	CFLAGS="$xorg_testset_save_CFLAGS"
   14917 fi
   14918 
   14919 found="no"
   14920 
   14921 	if test $found = "no" ; then
   14922 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14923 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14924 		fi
   14925 
   14926 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14927 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14928 		fi
   14929 
   14930 		CFLAGS="$CFLAGS -Werror=nonnull"
   14931 
   14932 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   14933 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   14934 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   14935 		if eval \${$cacheid+:} false; then :
   14936   $as_echo_n "(cached) " >&6
   14937 else
   14938   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14939 /* end confdefs.h.  */
   14940 int i;
   14941 int
   14942 main ()
   14943 {
   14944 
   14945   ;
   14946   return 0;
   14947 }
   14948 _ACEOF
   14949 if ac_fn_c_try_link "$LINENO"; then :
   14950   eval $cacheid=yes
   14951 else
   14952   eval $cacheid=no
   14953 fi
   14954 rm -f core conftest.err conftest.$ac_objext \
   14955     conftest$ac_exeext conftest.$ac_ext
   14956 fi
   14957 
   14958 
   14959 		CFLAGS="$xorg_testset_save_CFLAGS"
   14960 
   14961 		eval supported=\$$cacheid
   14962 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14963 $as_echo "$supported" >&6; }
   14964 		if test "$supported" = "yes" ; then
   14965 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   14966 			found="yes"
   14967 		fi
   14968 	fi
   14969 
   14970 
   14971 
   14972 
   14973 
   14974 
   14975 
   14976 
   14977 
   14978 
   14979 
   14980 
   14981 
   14982 
   14983 
   14984 xorg_testset_save_CFLAGS="$CFLAGS"
   14985 
   14986 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14987 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14988 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14989 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14990 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14991   $as_echo_n "(cached) " >&6
   14992 else
   14993   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14994 /* end confdefs.h.  */
   14995 int i;
   14996 _ACEOF
   14997 if ac_fn_c_try_compile "$LINENO"; then :
   14998   xorg_cv_cc_flag_unknown_warning_option=yes
   14999 else
   15000   xorg_cv_cc_flag_unknown_warning_option=no
   15001 fi
   15002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15003 fi
   15004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15005 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15006 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15007 	CFLAGS="$xorg_testset_save_CFLAGS"
   15008 fi
   15009 
   15010 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15011 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15012 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15013 	fi
   15014 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15015 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15016 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15017 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15018   $as_echo_n "(cached) " >&6
   15019 else
   15020   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15021 /* end confdefs.h.  */
   15022 int i;
   15023 _ACEOF
   15024 if ac_fn_c_try_compile "$LINENO"; then :
   15025   xorg_cv_cc_flag_unused_command_line_argument=yes
   15026 else
   15027   xorg_cv_cc_flag_unused_command_line_argument=no
   15028 fi
   15029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15030 fi
   15031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15032 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15033 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15034 	CFLAGS="$xorg_testset_save_CFLAGS"
   15035 fi
   15036 
   15037 found="no"
   15038 
   15039 	if test $found = "no" ; then
   15040 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15041 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15042 		fi
   15043 
   15044 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15045 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15046 		fi
   15047 
   15048 		CFLAGS="$CFLAGS -Werror=init-self"
   15049 
   15050 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   15051 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   15052 		cacheid=xorg_cv_cc_flag__Werror_init_self
   15053 		if eval \${$cacheid+:} false; then :
   15054   $as_echo_n "(cached) " >&6
   15055 else
   15056   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15057 /* end confdefs.h.  */
   15058 int i;
   15059 int
   15060 main ()
   15061 {
   15062 
   15063   ;
   15064   return 0;
   15065 }
   15066 _ACEOF
   15067 if ac_fn_c_try_link "$LINENO"; then :
   15068   eval $cacheid=yes
   15069 else
   15070   eval $cacheid=no
   15071 fi
   15072 rm -f core conftest.err conftest.$ac_objext \
   15073     conftest$ac_exeext conftest.$ac_ext
   15074 fi
   15075 
   15076 
   15077 		CFLAGS="$xorg_testset_save_CFLAGS"
   15078 
   15079 		eval supported=\$$cacheid
   15080 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15081 $as_echo "$supported" >&6; }
   15082 		if test "$supported" = "yes" ; then
   15083 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   15084 			found="yes"
   15085 		fi
   15086 	fi
   15087 
   15088 
   15089 
   15090 
   15091 
   15092 
   15093 
   15094 
   15095 
   15096 
   15097 
   15098 
   15099 
   15100 
   15101 
   15102 xorg_testset_save_CFLAGS="$CFLAGS"
   15103 
   15104 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15105 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15106 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15107 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15108 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15109   $as_echo_n "(cached) " >&6
   15110 else
   15111   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15112 /* end confdefs.h.  */
   15113 int i;
   15114 _ACEOF
   15115 if ac_fn_c_try_compile "$LINENO"; then :
   15116   xorg_cv_cc_flag_unknown_warning_option=yes
   15117 else
   15118   xorg_cv_cc_flag_unknown_warning_option=no
   15119 fi
   15120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15121 fi
   15122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15123 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15124 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15125 	CFLAGS="$xorg_testset_save_CFLAGS"
   15126 fi
   15127 
   15128 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15129 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15130 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15131 	fi
   15132 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15133 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15134 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15135 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15136   $as_echo_n "(cached) " >&6
   15137 else
   15138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15139 /* end confdefs.h.  */
   15140 int i;
   15141 _ACEOF
   15142 if ac_fn_c_try_compile "$LINENO"; then :
   15143   xorg_cv_cc_flag_unused_command_line_argument=yes
   15144 else
   15145   xorg_cv_cc_flag_unused_command_line_argument=no
   15146 fi
   15147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15148 fi
   15149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15150 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15151 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15152 	CFLAGS="$xorg_testset_save_CFLAGS"
   15153 fi
   15154 
   15155 found="no"
   15156 
   15157 	if test $found = "no" ; then
   15158 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15159 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15160 		fi
   15161 
   15162 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15163 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15164 		fi
   15165 
   15166 		CFLAGS="$CFLAGS -Werror=main"
   15167 
   15168 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   15169 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   15170 		cacheid=xorg_cv_cc_flag__Werror_main
   15171 		if eval \${$cacheid+:} false; then :
   15172   $as_echo_n "(cached) " >&6
   15173 else
   15174   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15175 /* end confdefs.h.  */
   15176 int i;
   15177 int
   15178 main ()
   15179 {
   15180 
   15181   ;
   15182   return 0;
   15183 }
   15184 _ACEOF
   15185 if ac_fn_c_try_link "$LINENO"; then :
   15186   eval $cacheid=yes
   15187 else
   15188   eval $cacheid=no
   15189 fi
   15190 rm -f core conftest.err conftest.$ac_objext \
   15191     conftest$ac_exeext conftest.$ac_ext
   15192 fi
   15193 
   15194 
   15195 		CFLAGS="$xorg_testset_save_CFLAGS"
   15196 
   15197 		eval supported=\$$cacheid
   15198 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15199 $as_echo "$supported" >&6; }
   15200 		if test "$supported" = "yes" ; then
   15201 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   15202 			found="yes"
   15203 		fi
   15204 	fi
   15205 
   15206 
   15207 
   15208 
   15209 
   15210 
   15211 
   15212 
   15213 
   15214 
   15215 
   15216 
   15217 
   15218 
   15219 
   15220 xorg_testset_save_CFLAGS="$CFLAGS"
   15221 
   15222 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15223 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15224 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15225 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15226 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15227   $as_echo_n "(cached) " >&6
   15228 else
   15229   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15230 /* end confdefs.h.  */
   15231 int i;
   15232 _ACEOF
   15233 if ac_fn_c_try_compile "$LINENO"; then :
   15234   xorg_cv_cc_flag_unknown_warning_option=yes
   15235 else
   15236   xorg_cv_cc_flag_unknown_warning_option=no
   15237 fi
   15238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15239 fi
   15240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15241 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15242 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15243 	CFLAGS="$xorg_testset_save_CFLAGS"
   15244 fi
   15245 
   15246 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15247 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15248 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15249 	fi
   15250 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15251 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15252 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15253 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15254   $as_echo_n "(cached) " >&6
   15255 else
   15256   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15257 /* end confdefs.h.  */
   15258 int i;
   15259 _ACEOF
   15260 if ac_fn_c_try_compile "$LINENO"; then :
   15261   xorg_cv_cc_flag_unused_command_line_argument=yes
   15262 else
   15263   xorg_cv_cc_flag_unused_command_line_argument=no
   15264 fi
   15265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15266 fi
   15267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15268 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15269 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15270 	CFLAGS="$xorg_testset_save_CFLAGS"
   15271 fi
   15272 
   15273 found="no"
   15274 
   15275 	if test $found = "no" ; then
   15276 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15277 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15278 		fi
   15279 
   15280 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15281 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15282 		fi
   15283 
   15284 		CFLAGS="$CFLAGS -Werror=missing-braces"
   15285 
   15286 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   15287 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   15288 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   15289 		if eval \${$cacheid+:} false; then :
   15290   $as_echo_n "(cached) " >&6
   15291 else
   15292   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15293 /* end confdefs.h.  */
   15294 int i;
   15295 int
   15296 main ()
   15297 {
   15298 
   15299   ;
   15300   return 0;
   15301 }
   15302 _ACEOF
   15303 if ac_fn_c_try_link "$LINENO"; then :
   15304   eval $cacheid=yes
   15305 else
   15306   eval $cacheid=no
   15307 fi
   15308 rm -f core conftest.err conftest.$ac_objext \
   15309     conftest$ac_exeext conftest.$ac_ext
   15310 fi
   15311 
   15312 
   15313 		CFLAGS="$xorg_testset_save_CFLAGS"
   15314 
   15315 		eval supported=\$$cacheid
   15316 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15317 $as_echo "$supported" >&6; }
   15318 		if test "$supported" = "yes" ; then
   15319 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   15320 			found="yes"
   15321 		fi
   15322 	fi
   15323 
   15324 
   15325 
   15326 
   15327 
   15328 
   15329 
   15330 
   15331 
   15332 
   15333 
   15334 
   15335 
   15336 
   15337 
   15338 xorg_testset_save_CFLAGS="$CFLAGS"
   15339 
   15340 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15341 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15342 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15343 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15344 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15345   $as_echo_n "(cached) " >&6
   15346 else
   15347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15348 /* end confdefs.h.  */
   15349 int i;
   15350 _ACEOF
   15351 if ac_fn_c_try_compile "$LINENO"; then :
   15352   xorg_cv_cc_flag_unknown_warning_option=yes
   15353 else
   15354   xorg_cv_cc_flag_unknown_warning_option=no
   15355 fi
   15356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15357 fi
   15358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15359 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15360 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15361 	CFLAGS="$xorg_testset_save_CFLAGS"
   15362 fi
   15363 
   15364 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15365 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15366 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15367 	fi
   15368 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15369 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15370 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15371 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15372   $as_echo_n "(cached) " >&6
   15373 else
   15374   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15375 /* end confdefs.h.  */
   15376 int i;
   15377 _ACEOF
   15378 if ac_fn_c_try_compile "$LINENO"; then :
   15379   xorg_cv_cc_flag_unused_command_line_argument=yes
   15380 else
   15381   xorg_cv_cc_flag_unused_command_line_argument=no
   15382 fi
   15383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15384 fi
   15385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15386 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15387 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15388 	CFLAGS="$xorg_testset_save_CFLAGS"
   15389 fi
   15390 
   15391 found="no"
   15392 
   15393 	if test $found = "no" ; then
   15394 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15395 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15396 		fi
   15397 
   15398 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15399 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15400 		fi
   15401 
   15402 		CFLAGS="$CFLAGS -Werror=sequence-point"
   15403 
   15404 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   15405 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   15406 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   15407 		if eval \${$cacheid+:} false; then :
   15408   $as_echo_n "(cached) " >&6
   15409 else
   15410   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15411 /* end confdefs.h.  */
   15412 int i;
   15413 int
   15414 main ()
   15415 {
   15416 
   15417   ;
   15418   return 0;
   15419 }
   15420 _ACEOF
   15421 if ac_fn_c_try_link "$LINENO"; then :
   15422   eval $cacheid=yes
   15423 else
   15424   eval $cacheid=no
   15425 fi
   15426 rm -f core conftest.err conftest.$ac_objext \
   15427     conftest$ac_exeext conftest.$ac_ext
   15428 fi
   15429 
   15430 
   15431 		CFLAGS="$xorg_testset_save_CFLAGS"
   15432 
   15433 		eval supported=\$$cacheid
   15434 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15435 $as_echo "$supported" >&6; }
   15436 		if test "$supported" = "yes" ; then
   15437 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   15438 			found="yes"
   15439 		fi
   15440 	fi
   15441 
   15442 
   15443 
   15444 
   15445 
   15446 
   15447 
   15448 
   15449 
   15450 
   15451 
   15452 
   15453 
   15454 
   15455 
   15456 xorg_testset_save_CFLAGS="$CFLAGS"
   15457 
   15458 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15459 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15460 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15461 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15462 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15463   $as_echo_n "(cached) " >&6
   15464 else
   15465   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15466 /* end confdefs.h.  */
   15467 int i;
   15468 _ACEOF
   15469 if ac_fn_c_try_compile "$LINENO"; then :
   15470   xorg_cv_cc_flag_unknown_warning_option=yes
   15471 else
   15472   xorg_cv_cc_flag_unknown_warning_option=no
   15473 fi
   15474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15475 fi
   15476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15477 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15478 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15479 	CFLAGS="$xorg_testset_save_CFLAGS"
   15480 fi
   15481 
   15482 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15483 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15484 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15485 	fi
   15486 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15487 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15488 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15489 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15490   $as_echo_n "(cached) " >&6
   15491 else
   15492   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15493 /* end confdefs.h.  */
   15494 int i;
   15495 _ACEOF
   15496 if ac_fn_c_try_compile "$LINENO"; then :
   15497   xorg_cv_cc_flag_unused_command_line_argument=yes
   15498 else
   15499   xorg_cv_cc_flag_unused_command_line_argument=no
   15500 fi
   15501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15502 fi
   15503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15504 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15505 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15506 	CFLAGS="$xorg_testset_save_CFLAGS"
   15507 fi
   15508 
   15509 found="no"
   15510 
   15511 	if test $found = "no" ; then
   15512 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15513 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15514 		fi
   15515 
   15516 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15517 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15518 		fi
   15519 
   15520 		CFLAGS="$CFLAGS -Werror=return-type"
   15521 
   15522 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   15523 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   15524 		cacheid=xorg_cv_cc_flag__Werror_return_type
   15525 		if eval \${$cacheid+:} false; then :
   15526   $as_echo_n "(cached) " >&6
   15527 else
   15528   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15529 /* end confdefs.h.  */
   15530 int i;
   15531 int
   15532 main ()
   15533 {
   15534 
   15535   ;
   15536   return 0;
   15537 }
   15538 _ACEOF
   15539 if ac_fn_c_try_link "$LINENO"; then :
   15540   eval $cacheid=yes
   15541 else
   15542   eval $cacheid=no
   15543 fi
   15544 rm -f core conftest.err conftest.$ac_objext \
   15545     conftest$ac_exeext conftest.$ac_ext
   15546 fi
   15547 
   15548 
   15549 		CFLAGS="$xorg_testset_save_CFLAGS"
   15550 
   15551 		eval supported=\$$cacheid
   15552 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15553 $as_echo "$supported" >&6; }
   15554 		if test "$supported" = "yes" ; then
   15555 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   15556 			found="yes"
   15557 		fi
   15558 	fi
   15559 
   15560 	if test $found = "no" ; then
   15561 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15562 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15563 		fi
   15564 
   15565 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15566 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15567 		fi
   15568 
   15569 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   15570 
   15571 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   15572 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   15573 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   15574 		if eval \${$cacheid+:} false; then :
   15575   $as_echo_n "(cached) " >&6
   15576 else
   15577   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15578 /* end confdefs.h.  */
   15579 int i;
   15580 int
   15581 main ()
   15582 {
   15583 
   15584   ;
   15585   return 0;
   15586 }
   15587 _ACEOF
   15588 if ac_fn_c_try_link "$LINENO"; then :
   15589   eval $cacheid=yes
   15590 else
   15591   eval $cacheid=no
   15592 fi
   15593 rm -f core conftest.err conftest.$ac_objext \
   15594     conftest$ac_exeext conftest.$ac_ext
   15595 fi
   15596 
   15597 
   15598 		CFLAGS="$xorg_testset_save_CFLAGS"
   15599 
   15600 		eval supported=\$$cacheid
   15601 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15602 $as_echo "$supported" >&6; }
   15603 		if test "$supported" = "yes" ; then
   15604 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   15605 			found="yes"
   15606 		fi
   15607 	fi
   15608 
   15609 
   15610 
   15611 
   15612 
   15613 
   15614 
   15615 
   15616 
   15617 
   15618 
   15619 
   15620 
   15621 
   15622 
   15623 xorg_testset_save_CFLAGS="$CFLAGS"
   15624 
   15625 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15626 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15627 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15628 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15629 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15630   $as_echo_n "(cached) " >&6
   15631 else
   15632   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15633 /* end confdefs.h.  */
   15634 int i;
   15635 _ACEOF
   15636 if ac_fn_c_try_compile "$LINENO"; then :
   15637   xorg_cv_cc_flag_unknown_warning_option=yes
   15638 else
   15639   xorg_cv_cc_flag_unknown_warning_option=no
   15640 fi
   15641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15642 fi
   15643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15644 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15645 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15646 	CFLAGS="$xorg_testset_save_CFLAGS"
   15647 fi
   15648 
   15649 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15650 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15651 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15652 	fi
   15653 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15654 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15655 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15656 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15657   $as_echo_n "(cached) " >&6
   15658 else
   15659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15660 /* end confdefs.h.  */
   15661 int i;
   15662 _ACEOF
   15663 if ac_fn_c_try_compile "$LINENO"; then :
   15664   xorg_cv_cc_flag_unused_command_line_argument=yes
   15665 else
   15666   xorg_cv_cc_flag_unused_command_line_argument=no
   15667 fi
   15668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15669 fi
   15670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15671 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15672 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15673 	CFLAGS="$xorg_testset_save_CFLAGS"
   15674 fi
   15675 
   15676 found="no"
   15677 
   15678 	if test $found = "no" ; then
   15679 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15680 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15681 		fi
   15682 
   15683 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15684 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15685 		fi
   15686 
   15687 		CFLAGS="$CFLAGS -Werror=trigraphs"
   15688 
   15689 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   15690 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   15691 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   15692 		if eval \${$cacheid+:} false; then :
   15693   $as_echo_n "(cached) " >&6
   15694 else
   15695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15696 /* end confdefs.h.  */
   15697 int i;
   15698 int
   15699 main ()
   15700 {
   15701 
   15702   ;
   15703   return 0;
   15704 }
   15705 _ACEOF
   15706 if ac_fn_c_try_link "$LINENO"; then :
   15707   eval $cacheid=yes
   15708 else
   15709   eval $cacheid=no
   15710 fi
   15711 rm -f core conftest.err conftest.$ac_objext \
   15712     conftest$ac_exeext conftest.$ac_ext
   15713 fi
   15714 
   15715 
   15716 		CFLAGS="$xorg_testset_save_CFLAGS"
   15717 
   15718 		eval supported=\$$cacheid
   15719 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15720 $as_echo "$supported" >&6; }
   15721 		if test "$supported" = "yes" ; then
   15722 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   15723 			found="yes"
   15724 		fi
   15725 	fi
   15726 
   15727 
   15728 
   15729 
   15730 
   15731 
   15732 
   15733 
   15734 
   15735 
   15736 
   15737 
   15738 
   15739 
   15740 
   15741 xorg_testset_save_CFLAGS="$CFLAGS"
   15742 
   15743 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15744 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15745 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15746 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15747 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15748   $as_echo_n "(cached) " >&6
   15749 else
   15750   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15751 /* end confdefs.h.  */
   15752 int i;
   15753 _ACEOF
   15754 if ac_fn_c_try_compile "$LINENO"; then :
   15755   xorg_cv_cc_flag_unknown_warning_option=yes
   15756 else
   15757   xorg_cv_cc_flag_unknown_warning_option=no
   15758 fi
   15759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15760 fi
   15761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15762 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15763 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15764 	CFLAGS="$xorg_testset_save_CFLAGS"
   15765 fi
   15766 
   15767 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15768 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15769 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15770 	fi
   15771 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15772 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15773 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15774 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15775   $as_echo_n "(cached) " >&6
   15776 else
   15777   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15778 /* end confdefs.h.  */
   15779 int i;
   15780 _ACEOF
   15781 if ac_fn_c_try_compile "$LINENO"; then :
   15782   xorg_cv_cc_flag_unused_command_line_argument=yes
   15783 else
   15784   xorg_cv_cc_flag_unused_command_line_argument=no
   15785 fi
   15786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15787 fi
   15788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15789 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15790 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15791 	CFLAGS="$xorg_testset_save_CFLAGS"
   15792 fi
   15793 
   15794 found="no"
   15795 
   15796 	if test $found = "no" ; then
   15797 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15798 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15799 		fi
   15800 
   15801 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15802 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15803 		fi
   15804 
   15805 		CFLAGS="$CFLAGS -Werror=array-bounds"
   15806 
   15807 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   15808 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   15809 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   15810 		if eval \${$cacheid+:} false; then :
   15811   $as_echo_n "(cached) " >&6
   15812 else
   15813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15814 /* end confdefs.h.  */
   15815 int i;
   15816 int
   15817 main ()
   15818 {
   15819 
   15820   ;
   15821   return 0;
   15822 }
   15823 _ACEOF
   15824 if ac_fn_c_try_link "$LINENO"; then :
   15825   eval $cacheid=yes
   15826 else
   15827   eval $cacheid=no
   15828 fi
   15829 rm -f core conftest.err conftest.$ac_objext \
   15830     conftest$ac_exeext conftest.$ac_ext
   15831 fi
   15832 
   15833 
   15834 		CFLAGS="$xorg_testset_save_CFLAGS"
   15835 
   15836 		eval supported=\$$cacheid
   15837 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15838 $as_echo "$supported" >&6; }
   15839 		if test "$supported" = "yes" ; then
   15840 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   15841 			found="yes"
   15842 		fi
   15843 	fi
   15844 
   15845 
   15846 
   15847 
   15848 
   15849 
   15850 
   15851 
   15852 
   15853 
   15854 
   15855 
   15856 
   15857 
   15858 
   15859 xorg_testset_save_CFLAGS="$CFLAGS"
   15860 
   15861 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15862 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15863 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15864 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15865 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15866   $as_echo_n "(cached) " >&6
   15867 else
   15868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15869 /* end confdefs.h.  */
   15870 int i;
   15871 _ACEOF
   15872 if ac_fn_c_try_compile "$LINENO"; then :
   15873   xorg_cv_cc_flag_unknown_warning_option=yes
   15874 else
   15875   xorg_cv_cc_flag_unknown_warning_option=no
   15876 fi
   15877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15878 fi
   15879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15880 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15881 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15882 	CFLAGS="$xorg_testset_save_CFLAGS"
   15883 fi
   15884 
   15885 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15886 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15887 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15888 	fi
   15889 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15890 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15891 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15892 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15893   $as_echo_n "(cached) " >&6
   15894 else
   15895   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15896 /* end confdefs.h.  */
   15897 int i;
   15898 _ACEOF
   15899 if ac_fn_c_try_compile "$LINENO"; then :
   15900   xorg_cv_cc_flag_unused_command_line_argument=yes
   15901 else
   15902   xorg_cv_cc_flag_unused_command_line_argument=no
   15903 fi
   15904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15905 fi
   15906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15907 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15908 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15909 	CFLAGS="$xorg_testset_save_CFLAGS"
   15910 fi
   15911 
   15912 found="no"
   15913 
   15914 	if test $found = "no" ; then
   15915 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15916 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15917 		fi
   15918 
   15919 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15920 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15921 		fi
   15922 
   15923 		CFLAGS="$CFLAGS -Werror=write-strings"
   15924 
   15925 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   15926 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   15927 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   15928 		if eval \${$cacheid+:} false; then :
   15929   $as_echo_n "(cached) " >&6
   15930 else
   15931   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15932 /* end confdefs.h.  */
   15933 int i;
   15934 int
   15935 main ()
   15936 {
   15937 
   15938   ;
   15939   return 0;
   15940 }
   15941 _ACEOF
   15942 if ac_fn_c_try_link "$LINENO"; then :
   15943   eval $cacheid=yes
   15944 else
   15945   eval $cacheid=no
   15946 fi
   15947 rm -f core conftest.err conftest.$ac_objext \
   15948     conftest$ac_exeext conftest.$ac_ext
   15949 fi
   15950 
   15951 
   15952 		CFLAGS="$xorg_testset_save_CFLAGS"
   15953 
   15954 		eval supported=\$$cacheid
   15955 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15956 $as_echo "$supported" >&6; }
   15957 		if test "$supported" = "yes" ; then
   15958 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   15959 			found="yes"
   15960 		fi
   15961 	fi
   15962 
   15963 
   15964 
   15965 
   15966 
   15967 
   15968 
   15969 
   15970 
   15971 
   15972 
   15973 
   15974 
   15975 
   15976 
   15977 xorg_testset_save_CFLAGS="$CFLAGS"
   15978 
   15979 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15980 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15981 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15982 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15983 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15984   $as_echo_n "(cached) " >&6
   15985 else
   15986   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15987 /* end confdefs.h.  */
   15988 int i;
   15989 _ACEOF
   15990 if ac_fn_c_try_compile "$LINENO"; then :
   15991   xorg_cv_cc_flag_unknown_warning_option=yes
   15992 else
   15993   xorg_cv_cc_flag_unknown_warning_option=no
   15994 fi
   15995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15996 fi
   15997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15998 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15999 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16000 	CFLAGS="$xorg_testset_save_CFLAGS"
   16001 fi
   16002 
   16003 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16004 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16005 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16006 	fi
   16007 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16008 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16009 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16010 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16011   $as_echo_n "(cached) " >&6
   16012 else
   16013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16014 /* end confdefs.h.  */
   16015 int i;
   16016 _ACEOF
   16017 if ac_fn_c_try_compile "$LINENO"; then :
   16018   xorg_cv_cc_flag_unused_command_line_argument=yes
   16019 else
   16020   xorg_cv_cc_flag_unused_command_line_argument=no
   16021 fi
   16022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16023 fi
   16024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16025 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16026 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16027 	CFLAGS="$xorg_testset_save_CFLAGS"
   16028 fi
   16029 
   16030 found="no"
   16031 
   16032 	if test $found = "no" ; then
   16033 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16034 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16035 		fi
   16036 
   16037 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16038 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16039 		fi
   16040 
   16041 		CFLAGS="$CFLAGS -Werror=address"
   16042 
   16043 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   16044 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   16045 		cacheid=xorg_cv_cc_flag__Werror_address
   16046 		if eval \${$cacheid+:} false; then :
   16047   $as_echo_n "(cached) " >&6
   16048 else
   16049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16050 /* end confdefs.h.  */
   16051 int i;
   16052 int
   16053 main ()
   16054 {
   16055 
   16056   ;
   16057   return 0;
   16058 }
   16059 _ACEOF
   16060 if ac_fn_c_try_link "$LINENO"; then :
   16061   eval $cacheid=yes
   16062 else
   16063   eval $cacheid=no
   16064 fi
   16065 rm -f core conftest.err conftest.$ac_objext \
   16066     conftest$ac_exeext conftest.$ac_ext
   16067 fi
   16068 
   16069 
   16070 		CFLAGS="$xorg_testset_save_CFLAGS"
   16071 
   16072 		eval supported=\$$cacheid
   16073 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16074 $as_echo "$supported" >&6; }
   16075 		if test "$supported" = "yes" ; then
   16076 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   16077 			found="yes"
   16078 		fi
   16079 	fi
   16080 
   16081 
   16082 
   16083 
   16084 
   16085 
   16086 
   16087 
   16088 
   16089 
   16090 
   16091 
   16092 
   16093 
   16094 
   16095 xorg_testset_save_CFLAGS="$CFLAGS"
   16096 
   16097 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16098 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16099 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16100 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16101 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16102   $as_echo_n "(cached) " >&6
   16103 else
   16104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16105 /* end confdefs.h.  */
   16106 int i;
   16107 _ACEOF
   16108 if ac_fn_c_try_compile "$LINENO"; then :
   16109   xorg_cv_cc_flag_unknown_warning_option=yes
   16110 else
   16111   xorg_cv_cc_flag_unknown_warning_option=no
   16112 fi
   16113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16114 fi
   16115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16116 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16117 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16118 	CFLAGS="$xorg_testset_save_CFLAGS"
   16119 fi
   16120 
   16121 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16122 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16123 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16124 	fi
   16125 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16126 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16127 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16128 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16129   $as_echo_n "(cached) " >&6
   16130 else
   16131   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16132 /* end confdefs.h.  */
   16133 int i;
   16134 _ACEOF
   16135 if ac_fn_c_try_compile "$LINENO"; then :
   16136   xorg_cv_cc_flag_unused_command_line_argument=yes
   16137 else
   16138   xorg_cv_cc_flag_unused_command_line_argument=no
   16139 fi
   16140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16141 fi
   16142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16143 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16144 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16145 	CFLAGS="$xorg_testset_save_CFLAGS"
   16146 fi
   16147 
   16148 found="no"
   16149 
   16150 	if test $found = "no" ; then
   16151 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16152 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16153 		fi
   16154 
   16155 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16156 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16157 		fi
   16158 
   16159 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   16160 
   16161 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   16162 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   16163 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   16164 		if eval \${$cacheid+:} false; then :
   16165   $as_echo_n "(cached) " >&6
   16166 else
   16167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16168 /* end confdefs.h.  */
   16169 int i;
   16170 int
   16171 main ()
   16172 {
   16173 
   16174   ;
   16175   return 0;
   16176 }
   16177 _ACEOF
   16178 if ac_fn_c_try_link "$LINENO"; then :
   16179   eval $cacheid=yes
   16180 else
   16181   eval $cacheid=no
   16182 fi
   16183 rm -f core conftest.err conftest.$ac_objext \
   16184     conftest$ac_exeext conftest.$ac_ext
   16185 fi
   16186 
   16187 
   16188 		CFLAGS="$xorg_testset_save_CFLAGS"
   16189 
   16190 		eval supported=\$$cacheid
   16191 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16192 $as_echo "$supported" >&6; }
   16193 		if test "$supported" = "yes" ; then
   16194 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   16195 			found="yes"
   16196 		fi
   16197 	fi
   16198 
   16199 	if test $found = "no" ; then
   16200 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16201 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16202 		fi
   16203 
   16204 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16205 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16206 		fi
   16207 
   16208 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16209 
   16210 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   16211 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   16212 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   16213 		if eval \${$cacheid+:} false; then :
   16214   $as_echo_n "(cached) " >&6
   16215 else
   16216   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16217 /* end confdefs.h.  */
   16218 int i;
   16219 int
   16220 main ()
   16221 {
   16222 
   16223   ;
   16224   return 0;
   16225 }
   16226 _ACEOF
   16227 if ac_fn_c_try_link "$LINENO"; then :
   16228   eval $cacheid=yes
   16229 else
   16230   eval $cacheid=no
   16231 fi
   16232 rm -f core conftest.err conftest.$ac_objext \
   16233     conftest$ac_exeext conftest.$ac_ext
   16234 fi
   16235 
   16236 
   16237 		CFLAGS="$xorg_testset_save_CFLAGS"
   16238 
   16239 		eval supported=\$$cacheid
   16240 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16241 $as_echo "$supported" >&6; }
   16242 		if test "$supported" = "yes" ; then
   16243 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16244 			found="yes"
   16245 		fi
   16246 	fi
   16247 
   16248 
   16249 
   16250 
   16251 
   16252 
   16253 
   16254 
   16255 
   16256 
   16257 
   16258 
   16259 
   16260 
   16261 
   16262 xorg_testset_save_CFLAGS="$CFLAGS"
   16263 
   16264 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16265 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16266 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16267 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16268 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16269   $as_echo_n "(cached) " >&6
   16270 else
   16271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16272 /* end confdefs.h.  */
   16273 int i;
   16274 _ACEOF
   16275 if ac_fn_c_try_compile "$LINENO"; then :
   16276   xorg_cv_cc_flag_unknown_warning_option=yes
   16277 else
   16278   xorg_cv_cc_flag_unknown_warning_option=no
   16279 fi
   16280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16281 fi
   16282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16283 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16284 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16285 	CFLAGS="$xorg_testset_save_CFLAGS"
   16286 fi
   16287 
   16288 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16289 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16290 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16291 	fi
   16292 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16293 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16294 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16295 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16296   $as_echo_n "(cached) " >&6
   16297 else
   16298   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16299 /* end confdefs.h.  */
   16300 int i;
   16301 _ACEOF
   16302 if ac_fn_c_try_compile "$LINENO"; then :
   16303   xorg_cv_cc_flag_unused_command_line_argument=yes
   16304 else
   16305   xorg_cv_cc_flag_unused_command_line_argument=no
   16306 fi
   16307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16308 fi
   16309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16310 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16311 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16312 	CFLAGS="$xorg_testset_save_CFLAGS"
   16313 fi
   16314 
   16315 found="no"
   16316 
   16317 	if test $found = "no" ; then
   16318 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16319 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16320 		fi
   16321 
   16322 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16323 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16324 		fi
   16325 
   16326 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   16327 
   16328 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   16329 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   16330 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   16331 		if eval \${$cacheid+:} false; then :
   16332   $as_echo_n "(cached) " >&6
   16333 else
   16334   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16335 /* end confdefs.h.  */
   16336 int i;
   16337 int
   16338 main ()
   16339 {
   16340 
   16341   ;
   16342   return 0;
   16343 }
   16344 _ACEOF
   16345 if ac_fn_c_try_link "$LINENO"; then :
   16346   eval $cacheid=yes
   16347 else
   16348   eval $cacheid=no
   16349 fi
   16350 rm -f core conftest.err conftest.$ac_objext \
   16351     conftest$ac_exeext conftest.$ac_ext
   16352 fi
   16353 
   16354 
   16355 		CFLAGS="$xorg_testset_save_CFLAGS"
   16356 
   16357 		eval supported=\$$cacheid
   16358 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16359 $as_echo "$supported" >&6; }
   16360 		if test "$supported" = "yes" ; then
   16361 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   16362 			found="yes"
   16363 		fi
   16364 	fi
   16365 
   16366  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   16367 else
   16368 { $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
   16369 $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;}
   16370 
   16371 
   16372 
   16373 
   16374 
   16375 
   16376 
   16377 
   16378 
   16379 
   16380 
   16381 
   16382 
   16383 xorg_testset_save_CFLAGS="$CFLAGS"
   16384 
   16385 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16386 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16387 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16388 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16389 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16390   $as_echo_n "(cached) " >&6
   16391 else
   16392   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16393 /* end confdefs.h.  */
   16394 int i;
   16395 _ACEOF
   16396 if ac_fn_c_try_compile "$LINENO"; then :
   16397   xorg_cv_cc_flag_unknown_warning_option=yes
   16398 else
   16399   xorg_cv_cc_flag_unknown_warning_option=no
   16400 fi
   16401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16402 fi
   16403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16404 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16405 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16406 	CFLAGS="$xorg_testset_save_CFLAGS"
   16407 fi
   16408 
   16409 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16410 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16411 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16412 	fi
   16413 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16414 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16415 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16416 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16417   $as_echo_n "(cached) " >&6
   16418 else
   16419   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16420 /* end confdefs.h.  */
   16421 int i;
   16422 _ACEOF
   16423 if ac_fn_c_try_compile "$LINENO"; then :
   16424   xorg_cv_cc_flag_unused_command_line_argument=yes
   16425 else
   16426   xorg_cv_cc_flag_unused_command_line_argument=no
   16427 fi
   16428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16429 fi
   16430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16431 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16432 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16433 	CFLAGS="$xorg_testset_save_CFLAGS"
   16434 fi
   16435 
   16436 found="no"
   16437 
   16438 	if test $found = "no" ; then
   16439 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16440 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16441 		fi
   16442 
   16443 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16444 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16445 		fi
   16446 
   16447 		CFLAGS="$CFLAGS -Wimplicit"
   16448 
   16449 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   16450 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   16451 		cacheid=xorg_cv_cc_flag__Wimplicit
   16452 		if eval \${$cacheid+:} false; then :
   16453   $as_echo_n "(cached) " >&6
   16454 else
   16455   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16456 /* end confdefs.h.  */
   16457 int i;
   16458 int
   16459 main ()
   16460 {
   16461 
   16462   ;
   16463   return 0;
   16464 }
   16465 _ACEOF
   16466 if ac_fn_c_try_link "$LINENO"; then :
   16467   eval $cacheid=yes
   16468 else
   16469   eval $cacheid=no
   16470 fi
   16471 rm -f core conftest.err conftest.$ac_objext \
   16472     conftest$ac_exeext conftest.$ac_ext
   16473 fi
   16474 
   16475 
   16476 		CFLAGS="$xorg_testset_save_CFLAGS"
   16477 
   16478 		eval supported=\$$cacheid
   16479 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16480 $as_echo "$supported" >&6; }
   16481 		if test "$supported" = "yes" ; then
   16482 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   16483 			found="yes"
   16484 		fi
   16485 	fi
   16486 
   16487 
   16488 
   16489 
   16490 
   16491 
   16492 
   16493 
   16494 
   16495 
   16496 
   16497 
   16498 
   16499 
   16500 
   16501 xorg_testset_save_CFLAGS="$CFLAGS"
   16502 
   16503 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16504 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16505 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16506 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16507 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16508   $as_echo_n "(cached) " >&6
   16509 else
   16510   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16511 /* end confdefs.h.  */
   16512 int i;
   16513 _ACEOF
   16514 if ac_fn_c_try_compile "$LINENO"; then :
   16515   xorg_cv_cc_flag_unknown_warning_option=yes
   16516 else
   16517   xorg_cv_cc_flag_unknown_warning_option=no
   16518 fi
   16519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16520 fi
   16521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16522 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16523 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16524 	CFLAGS="$xorg_testset_save_CFLAGS"
   16525 fi
   16526 
   16527 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16528 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16529 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16530 	fi
   16531 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16532 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16533 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16534 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16535   $as_echo_n "(cached) " >&6
   16536 else
   16537   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16538 /* end confdefs.h.  */
   16539 int i;
   16540 _ACEOF
   16541 if ac_fn_c_try_compile "$LINENO"; then :
   16542   xorg_cv_cc_flag_unused_command_line_argument=yes
   16543 else
   16544   xorg_cv_cc_flag_unused_command_line_argument=no
   16545 fi
   16546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16547 fi
   16548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16549 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16550 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16551 	CFLAGS="$xorg_testset_save_CFLAGS"
   16552 fi
   16553 
   16554 found="no"
   16555 
   16556 	if test $found = "no" ; then
   16557 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16558 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16559 		fi
   16560 
   16561 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16562 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16563 		fi
   16564 
   16565 		CFLAGS="$CFLAGS -Wnonnull"
   16566 
   16567 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   16568 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   16569 		cacheid=xorg_cv_cc_flag__Wnonnull
   16570 		if eval \${$cacheid+:} false; then :
   16571   $as_echo_n "(cached) " >&6
   16572 else
   16573   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16574 /* end confdefs.h.  */
   16575 int i;
   16576 int
   16577 main ()
   16578 {
   16579 
   16580   ;
   16581   return 0;
   16582 }
   16583 _ACEOF
   16584 if ac_fn_c_try_link "$LINENO"; then :
   16585   eval $cacheid=yes
   16586 else
   16587   eval $cacheid=no
   16588 fi
   16589 rm -f core conftest.err conftest.$ac_objext \
   16590     conftest$ac_exeext conftest.$ac_ext
   16591 fi
   16592 
   16593 
   16594 		CFLAGS="$xorg_testset_save_CFLAGS"
   16595 
   16596 		eval supported=\$$cacheid
   16597 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16598 $as_echo "$supported" >&6; }
   16599 		if test "$supported" = "yes" ; then
   16600 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   16601 			found="yes"
   16602 		fi
   16603 	fi
   16604 
   16605 
   16606 
   16607 
   16608 
   16609 
   16610 
   16611 
   16612 
   16613 
   16614 
   16615 
   16616 
   16617 
   16618 
   16619 xorg_testset_save_CFLAGS="$CFLAGS"
   16620 
   16621 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16622 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16623 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16624 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16625 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16626   $as_echo_n "(cached) " >&6
   16627 else
   16628   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16629 /* end confdefs.h.  */
   16630 int i;
   16631 _ACEOF
   16632 if ac_fn_c_try_compile "$LINENO"; then :
   16633   xorg_cv_cc_flag_unknown_warning_option=yes
   16634 else
   16635   xorg_cv_cc_flag_unknown_warning_option=no
   16636 fi
   16637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16638 fi
   16639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16640 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16641 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16642 	CFLAGS="$xorg_testset_save_CFLAGS"
   16643 fi
   16644 
   16645 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16646 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16647 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16648 	fi
   16649 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16650 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16651 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16652 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16653   $as_echo_n "(cached) " >&6
   16654 else
   16655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16656 /* end confdefs.h.  */
   16657 int i;
   16658 _ACEOF
   16659 if ac_fn_c_try_compile "$LINENO"; then :
   16660   xorg_cv_cc_flag_unused_command_line_argument=yes
   16661 else
   16662   xorg_cv_cc_flag_unused_command_line_argument=no
   16663 fi
   16664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16665 fi
   16666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16667 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16668 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16669 	CFLAGS="$xorg_testset_save_CFLAGS"
   16670 fi
   16671 
   16672 found="no"
   16673 
   16674 	if test $found = "no" ; then
   16675 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16676 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16677 		fi
   16678 
   16679 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16680 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16681 		fi
   16682 
   16683 		CFLAGS="$CFLAGS -Winit-self"
   16684 
   16685 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   16686 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   16687 		cacheid=xorg_cv_cc_flag__Winit_self
   16688 		if eval \${$cacheid+:} false; then :
   16689   $as_echo_n "(cached) " >&6
   16690 else
   16691   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16692 /* end confdefs.h.  */
   16693 int i;
   16694 int
   16695 main ()
   16696 {
   16697 
   16698   ;
   16699   return 0;
   16700 }
   16701 _ACEOF
   16702 if ac_fn_c_try_link "$LINENO"; then :
   16703   eval $cacheid=yes
   16704 else
   16705   eval $cacheid=no
   16706 fi
   16707 rm -f core conftest.err conftest.$ac_objext \
   16708     conftest$ac_exeext conftest.$ac_ext
   16709 fi
   16710 
   16711 
   16712 		CFLAGS="$xorg_testset_save_CFLAGS"
   16713 
   16714 		eval supported=\$$cacheid
   16715 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16716 $as_echo "$supported" >&6; }
   16717 		if test "$supported" = "yes" ; then
   16718 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   16719 			found="yes"
   16720 		fi
   16721 	fi
   16722 
   16723 
   16724 
   16725 
   16726 
   16727 
   16728 
   16729 
   16730 
   16731 
   16732 
   16733 
   16734 
   16735 
   16736 
   16737 xorg_testset_save_CFLAGS="$CFLAGS"
   16738 
   16739 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16740 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16741 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16742 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16743 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16744   $as_echo_n "(cached) " >&6
   16745 else
   16746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16747 /* end confdefs.h.  */
   16748 int i;
   16749 _ACEOF
   16750 if ac_fn_c_try_compile "$LINENO"; then :
   16751   xorg_cv_cc_flag_unknown_warning_option=yes
   16752 else
   16753   xorg_cv_cc_flag_unknown_warning_option=no
   16754 fi
   16755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16756 fi
   16757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16758 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16759 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16760 	CFLAGS="$xorg_testset_save_CFLAGS"
   16761 fi
   16762 
   16763 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16764 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16765 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16766 	fi
   16767 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16768 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16769 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16770 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16771   $as_echo_n "(cached) " >&6
   16772 else
   16773   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16774 /* end confdefs.h.  */
   16775 int i;
   16776 _ACEOF
   16777 if ac_fn_c_try_compile "$LINENO"; then :
   16778   xorg_cv_cc_flag_unused_command_line_argument=yes
   16779 else
   16780   xorg_cv_cc_flag_unused_command_line_argument=no
   16781 fi
   16782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16783 fi
   16784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16785 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16786 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16787 	CFLAGS="$xorg_testset_save_CFLAGS"
   16788 fi
   16789 
   16790 found="no"
   16791 
   16792 	if test $found = "no" ; then
   16793 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16794 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16795 		fi
   16796 
   16797 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16798 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16799 		fi
   16800 
   16801 		CFLAGS="$CFLAGS -Wmain"
   16802 
   16803 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   16804 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   16805 		cacheid=xorg_cv_cc_flag__Wmain
   16806 		if eval \${$cacheid+:} false; then :
   16807   $as_echo_n "(cached) " >&6
   16808 else
   16809   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16810 /* end confdefs.h.  */
   16811 int i;
   16812 int
   16813 main ()
   16814 {
   16815 
   16816   ;
   16817   return 0;
   16818 }
   16819 _ACEOF
   16820 if ac_fn_c_try_link "$LINENO"; then :
   16821   eval $cacheid=yes
   16822 else
   16823   eval $cacheid=no
   16824 fi
   16825 rm -f core conftest.err conftest.$ac_objext \
   16826     conftest$ac_exeext conftest.$ac_ext
   16827 fi
   16828 
   16829 
   16830 		CFLAGS="$xorg_testset_save_CFLAGS"
   16831 
   16832 		eval supported=\$$cacheid
   16833 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16834 $as_echo "$supported" >&6; }
   16835 		if test "$supported" = "yes" ; then
   16836 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   16837 			found="yes"
   16838 		fi
   16839 	fi
   16840 
   16841 
   16842 
   16843 
   16844 
   16845 
   16846 
   16847 
   16848 
   16849 
   16850 
   16851 
   16852 
   16853 
   16854 
   16855 xorg_testset_save_CFLAGS="$CFLAGS"
   16856 
   16857 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16858 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16859 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16860 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16861 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16862   $as_echo_n "(cached) " >&6
   16863 else
   16864   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16865 /* end confdefs.h.  */
   16866 int i;
   16867 _ACEOF
   16868 if ac_fn_c_try_compile "$LINENO"; then :
   16869   xorg_cv_cc_flag_unknown_warning_option=yes
   16870 else
   16871   xorg_cv_cc_flag_unknown_warning_option=no
   16872 fi
   16873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16874 fi
   16875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16876 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16877 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16878 	CFLAGS="$xorg_testset_save_CFLAGS"
   16879 fi
   16880 
   16881 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16882 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16883 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16884 	fi
   16885 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16886 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16887 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16888 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16889   $as_echo_n "(cached) " >&6
   16890 else
   16891   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16892 /* end confdefs.h.  */
   16893 int i;
   16894 _ACEOF
   16895 if ac_fn_c_try_compile "$LINENO"; then :
   16896   xorg_cv_cc_flag_unused_command_line_argument=yes
   16897 else
   16898   xorg_cv_cc_flag_unused_command_line_argument=no
   16899 fi
   16900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16901 fi
   16902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16903 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16904 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16905 	CFLAGS="$xorg_testset_save_CFLAGS"
   16906 fi
   16907 
   16908 found="no"
   16909 
   16910 	if test $found = "no" ; then
   16911 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16912 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16913 		fi
   16914 
   16915 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16916 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16917 		fi
   16918 
   16919 		CFLAGS="$CFLAGS -Wmissing-braces"
   16920 
   16921 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   16922 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   16923 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   16924 		if eval \${$cacheid+:} false; then :
   16925   $as_echo_n "(cached) " >&6
   16926 else
   16927   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16928 /* end confdefs.h.  */
   16929 int i;
   16930 int
   16931 main ()
   16932 {
   16933 
   16934   ;
   16935   return 0;
   16936 }
   16937 _ACEOF
   16938 if ac_fn_c_try_link "$LINENO"; then :
   16939   eval $cacheid=yes
   16940 else
   16941   eval $cacheid=no
   16942 fi
   16943 rm -f core conftest.err conftest.$ac_objext \
   16944     conftest$ac_exeext conftest.$ac_ext
   16945 fi
   16946 
   16947 
   16948 		CFLAGS="$xorg_testset_save_CFLAGS"
   16949 
   16950 		eval supported=\$$cacheid
   16951 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16952 $as_echo "$supported" >&6; }
   16953 		if test "$supported" = "yes" ; then
   16954 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   16955 			found="yes"
   16956 		fi
   16957 	fi
   16958 
   16959 
   16960 
   16961 
   16962 
   16963 
   16964 
   16965 
   16966 
   16967 
   16968 
   16969 
   16970 
   16971 
   16972 
   16973 xorg_testset_save_CFLAGS="$CFLAGS"
   16974 
   16975 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16976 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16977 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16978 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16979 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16980   $as_echo_n "(cached) " >&6
   16981 else
   16982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16983 /* end confdefs.h.  */
   16984 int i;
   16985 _ACEOF
   16986 if ac_fn_c_try_compile "$LINENO"; then :
   16987   xorg_cv_cc_flag_unknown_warning_option=yes
   16988 else
   16989   xorg_cv_cc_flag_unknown_warning_option=no
   16990 fi
   16991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16992 fi
   16993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16994 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16995 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16996 	CFLAGS="$xorg_testset_save_CFLAGS"
   16997 fi
   16998 
   16999 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17000 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17001 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17002 	fi
   17003 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17004 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17005 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17006 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17007   $as_echo_n "(cached) " >&6
   17008 else
   17009   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17010 /* end confdefs.h.  */
   17011 int i;
   17012 _ACEOF
   17013 if ac_fn_c_try_compile "$LINENO"; then :
   17014   xorg_cv_cc_flag_unused_command_line_argument=yes
   17015 else
   17016   xorg_cv_cc_flag_unused_command_line_argument=no
   17017 fi
   17018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17019 fi
   17020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17021 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17022 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17023 	CFLAGS="$xorg_testset_save_CFLAGS"
   17024 fi
   17025 
   17026 found="no"
   17027 
   17028 	if test $found = "no" ; then
   17029 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17030 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17031 		fi
   17032 
   17033 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17034 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17035 		fi
   17036 
   17037 		CFLAGS="$CFLAGS -Wsequence-point"
   17038 
   17039 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   17040 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   17041 		cacheid=xorg_cv_cc_flag__Wsequence_point
   17042 		if eval \${$cacheid+:} false; then :
   17043   $as_echo_n "(cached) " >&6
   17044 else
   17045   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17046 /* end confdefs.h.  */
   17047 int i;
   17048 int
   17049 main ()
   17050 {
   17051 
   17052   ;
   17053   return 0;
   17054 }
   17055 _ACEOF
   17056 if ac_fn_c_try_link "$LINENO"; then :
   17057   eval $cacheid=yes
   17058 else
   17059   eval $cacheid=no
   17060 fi
   17061 rm -f core conftest.err conftest.$ac_objext \
   17062     conftest$ac_exeext conftest.$ac_ext
   17063 fi
   17064 
   17065 
   17066 		CFLAGS="$xorg_testset_save_CFLAGS"
   17067 
   17068 		eval supported=\$$cacheid
   17069 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17070 $as_echo "$supported" >&6; }
   17071 		if test "$supported" = "yes" ; then
   17072 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   17073 			found="yes"
   17074 		fi
   17075 	fi
   17076 
   17077 
   17078 
   17079 
   17080 
   17081 
   17082 
   17083 
   17084 
   17085 
   17086 
   17087 
   17088 
   17089 
   17090 
   17091 xorg_testset_save_CFLAGS="$CFLAGS"
   17092 
   17093 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17094 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17095 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17096 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17097 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17098   $as_echo_n "(cached) " >&6
   17099 else
   17100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17101 /* end confdefs.h.  */
   17102 int i;
   17103 _ACEOF
   17104 if ac_fn_c_try_compile "$LINENO"; then :
   17105   xorg_cv_cc_flag_unknown_warning_option=yes
   17106 else
   17107   xorg_cv_cc_flag_unknown_warning_option=no
   17108 fi
   17109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17110 fi
   17111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17112 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17113 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17114 	CFLAGS="$xorg_testset_save_CFLAGS"
   17115 fi
   17116 
   17117 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17118 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17119 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17120 	fi
   17121 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17122 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17123 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17124 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17125   $as_echo_n "(cached) " >&6
   17126 else
   17127   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17128 /* end confdefs.h.  */
   17129 int i;
   17130 _ACEOF
   17131 if ac_fn_c_try_compile "$LINENO"; then :
   17132   xorg_cv_cc_flag_unused_command_line_argument=yes
   17133 else
   17134   xorg_cv_cc_flag_unused_command_line_argument=no
   17135 fi
   17136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17137 fi
   17138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17139 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17140 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17141 	CFLAGS="$xorg_testset_save_CFLAGS"
   17142 fi
   17143 
   17144 found="no"
   17145 
   17146 	if test $found = "no" ; then
   17147 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17148 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17149 		fi
   17150 
   17151 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17152 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17153 		fi
   17154 
   17155 		CFLAGS="$CFLAGS -Wreturn-type"
   17156 
   17157 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   17158 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   17159 		cacheid=xorg_cv_cc_flag__Wreturn_type
   17160 		if eval \${$cacheid+:} false; then :
   17161   $as_echo_n "(cached) " >&6
   17162 else
   17163   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17164 /* end confdefs.h.  */
   17165 int i;
   17166 int
   17167 main ()
   17168 {
   17169 
   17170   ;
   17171   return 0;
   17172 }
   17173 _ACEOF
   17174 if ac_fn_c_try_link "$LINENO"; then :
   17175   eval $cacheid=yes
   17176 else
   17177   eval $cacheid=no
   17178 fi
   17179 rm -f core conftest.err conftest.$ac_objext \
   17180     conftest$ac_exeext conftest.$ac_ext
   17181 fi
   17182 
   17183 
   17184 		CFLAGS="$xorg_testset_save_CFLAGS"
   17185 
   17186 		eval supported=\$$cacheid
   17187 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17188 $as_echo "$supported" >&6; }
   17189 		if test "$supported" = "yes" ; then
   17190 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   17191 			found="yes"
   17192 		fi
   17193 	fi
   17194 
   17195 
   17196 
   17197 
   17198 
   17199 
   17200 
   17201 
   17202 
   17203 
   17204 
   17205 
   17206 
   17207 
   17208 
   17209 xorg_testset_save_CFLAGS="$CFLAGS"
   17210 
   17211 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17212 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17213 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17214 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17215 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17216   $as_echo_n "(cached) " >&6
   17217 else
   17218   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17219 /* end confdefs.h.  */
   17220 int i;
   17221 _ACEOF
   17222 if ac_fn_c_try_compile "$LINENO"; then :
   17223   xorg_cv_cc_flag_unknown_warning_option=yes
   17224 else
   17225   xorg_cv_cc_flag_unknown_warning_option=no
   17226 fi
   17227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17228 fi
   17229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17230 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17231 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17232 	CFLAGS="$xorg_testset_save_CFLAGS"
   17233 fi
   17234 
   17235 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17236 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17237 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17238 	fi
   17239 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17240 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17241 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17242 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17243   $as_echo_n "(cached) " >&6
   17244 else
   17245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17246 /* end confdefs.h.  */
   17247 int i;
   17248 _ACEOF
   17249 if ac_fn_c_try_compile "$LINENO"; then :
   17250   xorg_cv_cc_flag_unused_command_line_argument=yes
   17251 else
   17252   xorg_cv_cc_flag_unused_command_line_argument=no
   17253 fi
   17254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17255 fi
   17256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17257 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17258 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17259 	CFLAGS="$xorg_testset_save_CFLAGS"
   17260 fi
   17261 
   17262 found="no"
   17263 
   17264 	if test $found = "no" ; then
   17265 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17266 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17267 		fi
   17268 
   17269 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17270 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17271 		fi
   17272 
   17273 		CFLAGS="$CFLAGS -Wtrigraphs"
   17274 
   17275 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   17276 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   17277 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   17278 		if eval \${$cacheid+:} false; then :
   17279   $as_echo_n "(cached) " >&6
   17280 else
   17281   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17282 /* end confdefs.h.  */
   17283 int i;
   17284 int
   17285 main ()
   17286 {
   17287 
   17288   ;
   17289   return 0;
   17290 }
   17291 _ACEOF
   17292 if ac_fn_c_try_link "$LINENO"; then :
   17293   eval $cacheid=yes
   17294 else
   17295   eval $cacheid=no
   17296 fi
   17297 rm -f core conftest.err conftest.$ac_objext \
   17298     conftest$ac_exeext conftest.$ac_ext
   17299 fi
   17300 
   17301 
   17302 		CFLAGS="$xorg_testset_save_CFLAGS"
   17303 
   17304 		eval supported=\$$cacheid
   17305 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17306 $as_echo "$supported" >&6; }
   17307 		if test "$supported" = "yes" ; then
   17308 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   17309 			found="yes"
   17310 		fi
   17311 	fi
   17312 
   17313 
   17314 
   17315 
   17316 
   17317 
   17318 
   17319 
   17320 
   17321 
   17322 
   17323 
   17324 
   17325 
   17326 
   17327 xorg_testset_save_CFLAGS="$CFLAGS"
   17328 
   17329 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17330 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17331 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17332 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17333 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17334   $as_echo_n "(cached) " >&6
   17335 else
   17336   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17337 /* end confdefs.h.  */
   17338 int i;
   17339 _ACEOF
   17340 if ac_fn_c_try_compile "$LINENO"; then :
   17341   xorg_cv_cc_flag_unknown_warning_option=yes
   17342 else
   17343   xorg_cv_cc_flag_unknown_warning_option=no
   17344 fi
   17345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17346 fi
   17347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17348 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17349 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17350 	CFLAGS="$xorg_testset_save_CFLAGS"
   17351 fi
   17352 
   17353 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17354 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17355 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17356 	fi
   17357 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17358 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17359 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17360 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17361   $as_echo_n "(cached) " >&6
   17362 else
   17363   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17364 /* end confdefs.h.  */
   17365 int i;
   17366 _ACEOF
   17367 if ac_fn_c_try_compile "$LINENO"; then :
   17368   xorg_cv_cc_flag_unused_command_line_argument=yes
   17369 else
   17370   xorg_cv_cc_flag_unused_command_line_argument=no
   17371 fi
   17372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17373 fi
   17374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17375 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17376 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17377 	CFLAGS="$xorg_testset_save_CFLAGS"
   17378 fi
   17379 
   17380 found="no"
   17381 
   17382 	if test $found = "no" ; then
   17383 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17384 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17385 		fi
   17386 
   17387 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17388 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17389 		fi
   17390 
   17391 		CFLAGS="$CFLAGS -Warray-bounds"
   17392 
   17393 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   17394 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   17395 		cacheid=xorg_cv_cc_flag__Warray_bounds
   17396 		if eval \${$cacheid+:} false; then :
   17397   $as_echo_n "(cached) " >&6
   17398 else
   17399   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17400 /* end confdefs.h.  */
   17401 int i;
   17402 int
   17403 main ()
   17404 {
   17405 
   17406   ;
   17407   return 0;
   17408 }
   17409 _ACEOF
   17410 if ac_fn_c_try_link "$LINENO"; then :
   17411   eval $cacheid=yes
   17412 else
   17413   eval $cacheid=no
   17414 fi
   17415 rm -f core conftest.err conftest.$ac_objext \
   17416     conftest$ac_exeext conftest.$ac_ext
   17417 fi
   17418 
   17419 
   17420 		CFLAGS="$xorg_testset_save_CFLAGS"
   17421 
   17422 		eval supported=\$$cacheid
   17423 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17424 $as_echo "$supported" >&6; }
   17425 		if test "$supported" = "yes" ; then
   17426 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   17427 			found="yes"
   17428 		fi
   17429 	fi
   17430 
   17431 
   17432 
   17433 
   17434 
   17435 
   17436 
   17437 
   17438 
   17439 
   17440 
   17441 
   17442 
   17443 
   17444 
   17445 xorg_testset_save_CFLAGS="$CFLAGS"
   17446 
   17447 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17448 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17449 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17450 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17451 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17452   $as_echo_n "(cached) " >&6
   17453 else
   17454   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17455 /* end confdefs.h.  */
   17456 int i;
   17457 _ACEOF
   17458 if ac_fn_c_try_compile "$LINENO"; then :
   17459   xorg_cv_cc_flag_unknown_warning_option=yes
   17460 else
   17461   xorg_cv_cc_flag_unknown_warning_option=no
   17462 fi
   17463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17464 fi
   17465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17466 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17467 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17468 	CFLAGS="$xorg_testset_save_CFLAGS"
   17469 fi
   17470 
   17471 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17472 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17473 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17474 	fi
   17475 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17476 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17477 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17478 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17479   $as_echo_n "(cached) " >&6
   17480 else
   17481   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17482 /* end confdefs.h.  */
   17483 int i;
   17484 _ACEOF
   17485 if ac_fn_c_try_compile "$LINENO"; then :
   17486   xorg_cv_cc_flag_unused_command_line_argument=yes
   17487 else
   17488   xorg_cv_cc_flag_unused_command_line_argument=no
   17489 fi
   17490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17491 fi
   17492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17493 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17494 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17495 	CFLAGS="$xorg_testset_save_CFLAGS"
   17496 fi
   17497 
   17498 found="no"
   17499 
   17500 	if test $found = "no" ; then
   17501 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17502 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17503 		fi
   17504 
   17505 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17506 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17507 		fi
   17508 
   17509 		CFLAGS="$CFLAGS -Wwrite-strings"
   17510 
   17511 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   17512 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   17513 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   17514 		if eval \${$cacheid+:} false; then :
   17515   $as_echo_n "(cached) " >&6
   17516 else
   17517   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17518 /* end confdefs.h.  */
   17519 int i;
   17520 int
   17521 main ()
   17522 {
   17523 
   17524   ;
   17525   return 0;
   17526 }
   17527 _ACEOF
   17528 if ac_fn_c_try_link "$LINENO"; then :
   17529   eval $cacheid=yes
   17530 else
   17531   eval $cacheid=no
   17532 fi
   17533 rm -f core conftest.err conftest.$ac_objext \
   17534     conftest$ac_exeext conftest.$ac_ext
   17535 fi
   17536 
   17537 
   17538 		CFLAGS="$xorg_testset_save_CFLAGS"
   17539 
   17540 		eval supported=\$$cacheid
   17541 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17542 $as_echo "$supported" >&6; }
   17543 		if test "$supported" = "yes" ; then
   17544 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   17545 			found="yes"
   17546 		fi
   17547 	fi
   17548 
   17549 
   17550 
   17551 
   17552 
   17553 
   17554 
   17555 
   17556 
   17557 
   17558 
   17559 
   17560 
   17561 
   17562 
   17563 xorg_testset_save_CFLAGS="$CFLAGS"
   17564 
   17565 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17566 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17567 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17568 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17569 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17570   $as_echo_n "(cached) " >&6
   17571 else
   17572   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17573 /* end confdefs.h.  */
   17574 int i;
   17575 _ACEOF
   17576 if ac_fn_c_try_compile "$LINENO"; then :
   17577   xorg_cv_cc_flag_unknown_warning_option=yes
   17578 else
   17579   xorg_cv_cc_flag_unknown_warning_option=no
   17580 fi
   17581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17582 fi
   17583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17584 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17585 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17586 	CFLAGS="$xorg_testset_save_CFLAGS"
   17587 fi
   17588 
   17589 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17590 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17591 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17592 	fi
   17593 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17594 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17595 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17596 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17597   $as_echo_n "(cached) " >&6
   17598 else
   17599   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17600 /* end confdefs.h.  */
   17601 int i;
   17602 _ACEOF
   17603 if ac_fn_c_try_compile "$LINENO"; then :
   17604   xorg_cv_cc_flag_unused_command_line_argument=yes
   17605 else
   17606   xorg_cv_cc_flag_unused_command_line_argument=no
   17607 fi
   17608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17609 fi
   17610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17611 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17612 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17613 	CFLAGS="$xorg_testset_save_CFLAGS"
   17614 fi
   17615 
   17616 found="no"
   17617 
   17618 	if test $found = "no" ; then
   17619 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17620 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17621 		fi
   17622 
   17623 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17624 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17625 		fi
   17626 
   17627 		CFLAGS="$CFLAGS -Waddress"
   17628 
   17629 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   17630 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   17631 		cacheid=xorg_cv_cc_flag__Waddress
   17632 		if eval \${$cacheid+:} false; then :
   17633   $as_echo_n "(cached) " >&6
   17634 else
   17635   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17636 /* end confdefs.h.  */
   17637 int i;
   17638 int
   17639 main ()
   17640 {
   17641 
   17642   ;
   17643   return 0;
   17644 }
   17645 _ACEOF
   17646 if ac_fn_c_try_link "$LINENO"; then :
   17647   eval $cacheid=yes
   17648 else
   17649   eval $cacheid=no
   17650 fi
   17651 rm -f core conftest.err conftest.$ac_objext \
   17652     conftest$ac_exeext conftest.$ac_ext
   17653 fi
   17654 
   17655 
   17656 		CFLAGS="$xorg_testset_save_CFLAGS"
   17657 
   17658 		eval supported=\$$cacheid
   17659 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17660 $as_echo "$supported" >&6; }
   17661 		if test "$supported" = "yes" ; then
   17662 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   17663 			found="yes"
   17664 		fi
   17665 	fi
   17666 
   17667 
   17668 
   17669 
   17670 
   17671 
   17672 
   17673 
   17674 
   17675 
   17676 
   17677 
   17678 
   17679 
   17680 
   17681 xorg_testset_save_CFLAGS="$CFLAGS"
   17682 
   17683 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17684 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17685 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17686 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17687 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17688   $as_echo_n "(cached) " >&6
   17689 else
   17690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17691 /* end confdefs.h.  */
   17692 int i;
   17693 _ACEOF
   17694 if ac_fn_c_try_compile "$LINENO"; then :
   17695   xorg_cv_cc_flag_unknown_warning_option=yes
   17696 else
   17697   xorg_cv_cc_flag_unknown_warning_option=no
   17698 fi
   17699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17700 fi
   17701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17702 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17703 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17704 	CFLAGS="$xorg_testset_save_CFLAGS"
   17705 fi
   17706 
   17707 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17708 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17709 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17710 	fi
   17711 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17712 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17713 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17714 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17715   $as_echo_n "(cached) " >&6
   17716 else
   17717   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17718 /* end confdefs.h.  */
   17719 int i;
   17720 _ACEOF
   17721 if ac_fn_c_try_compile "$LINENO"; then :
   17722   xorg_cv_cc_flag_unused_command_line_argument=yes
   17723 else
   17724   xorg_cv_cc_flag_unused_command_line_argument=no
   17725 fi
   17726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17727 fi
   17728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17729 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17730 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17731 	CFLAGS="$xorg_testset_save_CFLAGS"
   17732 fi
   17733 
   17734 found="no"
   17735 
   17736 	if test $found = "no" ; then
   17737 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17738 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17739 		fi
   17740 
   17741 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17742 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17743 		fi
   17744 
   17745 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   17746 
   17747 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   17748 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   17749 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   17750 		if eval \${$cacheid+:} false; then :
   17751   $as_echo_n "(cached) " >&6
   17752 else
   17753   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17754 /* end confdefs.h.  */
   17755 int i;
   17756 int
   17757 main ()
   17758 {
   17759 
   17760   ;
   17761   return 0;
   17762 }
   17763 _ACEOF
   17764 if ac_fn_c_try_link "$LINENO"; then :
   17765   eval $cacheid=yes
   17766 else
   17767   eval $cacheid=no
   17768 fi
   17769 rm -f core conftest.err conftest.$ac_objext \
   17770     conftest$ac_exeext conftest.$ac_ext
   17771 fi
   17772 
   17773 
   17774 		CFLAGS="$xorg_testset_save_CFLAGS"
   17775 
   17776 		eval supported=\$$cacheid
   17777 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17778 $as_echo "$supported" >&6; }
   17779 		if test "$supported" = "yes" ; then
   17780 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   17781 			found="yes"
   17782 		fi
   17783 	fi
   17784 
   17785 
   17786 
   17787 
   17788 
   17789 
   17790 
   17791 
   17792 
   17793 
   17794 
   17795 
   17796 
   17797 
   17798 
   17799 xorg_testset_save_CFLAGS="$CFLAGS"
   17800 
   17801 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17802 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17803 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17804 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17805 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17806   $as_echo_n "(cached) " >&6
   17807 else
   17808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17809 /* end confdefs.h.  */
   17810 int i;
   17811 _ACEOF
   17812 if ac_fn_c_try_compile "$LINENO"; then :
   17813   xorg_cv_cc_flag_unknown_warning_option=yes
   17814 else
   17815   xorg_cv_cc_flag_unknown_warning_option=no
   17816 fi
   17817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17818 fi
   17819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17820 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17821 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17822 	CFLAGS="$xorg_testset_save_CFLAGS"
   17823 fi
   17824 
   17825 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17826 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17827 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17828 	fi
   17829 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17830 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17831 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17832 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17833   $as_echo_n "(cached) " >&6
   17834 else
   17835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17836 /* end confdefs.h.  */
   17837 int i;
   17838 _ACEOF
   17839 if ac_fn_c_try_compile "$LINENO"; then :
   17840   xorg_cv_cc_flag_unused_command_line_argument=yes
   17841 else
   17842   xorg_cv_cc_flag_unused_command_line_argument=no
   17843 fi
   17844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17845 fi
   17846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17847 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17848 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17849 	CFLAGS="$xorg_testset_save_CFLAGS"
   17850 fi
   17851 
   17852 found="no"
   17853 
   17854 	if test $found = "no" ; then
   17855 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17856 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17857 		fi
   17858 
   17859 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17860 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17861 		fi
   17862 
   17863 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   17864 
   17865 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   17866 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   17867 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   17868 		if eval \${$cacheid+:} false; then :
   17869   $as_echo_n "(cached) " >&6
   17870 else
   17871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17872 /* end confdefs.h.  */
   17873 int i;
   17874 int
   17875 main ()
   17876 {
   17877 
   17878   ;
   17879   return 0;
   17880 }
   17881 _ACEOF
   17882 if ac_fn_c_try_link "$LINENO"; then :
   17883   eval $cacheid=yes
   17884 else
   17885   eval $cacheid=no
   17886 fi
   17887 rm -f core conftest.err conftest.$ac_objext \
   17888     conftest$ac_exeext conftest.$ac_ext
   17889 fi
   17890 
   17891 
   17892 		CFLAGS="$xorg_testset_save_CFLAGS"
   17893 
   17894 		eval supported=\$$cacheid
   17895 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17896 $as_echo "$supported" >&6; }
   17897 		if test "$supported" = "yes" ; then
   17898 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   17899 			found="yes"
   17900 		fi
   17901 	fi
   17902 
   17903 
   17904 fi
   17905 
   17906 
   17907 
   17908 
   17909 
   17910 
   17911 
   17912 		CWARNFLAGS="$BASE_CFLAGS"
   17913 		if  test "x$GCC" = xyes ; then
   17914 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   17915 		fi
   17916 
   17917 
   17918 
   17919 
   17920 
   17921 
   17922 
   17923 
   17924 # Check whether --enable-strict-compilation was given.
   17925 if test "${enable_strict_compilation+set}" = set; then :
   17926   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   17927 else
   17928   STRICT_COMPILE=no
   17929 fi
   17930 
   17931 
   17932 
   17933 
   17934 
   17935 
   17936 STRICT_CFLAGS=""
   17937 
   17938 
   17939 
   17940 
   17941 
   17942 
   17943 
   17944 
   17945 
   17946 
   17947 
   17948 
   17949 
   17950 xorg_testset_save_CFLAGS="$CFLAGS"
   17951 
   17952 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17953 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17954 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17955 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17956 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17957   $as_echo_n "(cached) " >&6
   17958 else
   17959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17960 /* end confdefs.h.  */
   17961 int i;
   17962 _ACEOF
   17963 if ac_fn_c_try_compile "$LINENO"; then :
   17964   xorg_cv_cc_flag_unknown_warning_option=yes
   17965 else
   17966   xorg_cv_cc_flag_unknown_warning_option=no
   17967 fi
   17968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17969 fi
   17970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17971 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17972 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17973 	CFLAGS="$xorg_testset_save_CFLAGS"
   17974 fi
   17975 
   17976 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17977 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17978 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17979 	fi
   17980 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17981 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17982 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17983 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17984   $as_echo_n "(cached) " >&6
   17985 else
   17986   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17987 /* end confdefs.h.  */
   17988 int i;
   17989 _ACEOF
   17990 if ac_fn_c_try_compile "$LINENO"; then :
   17991   xorg_cv_cc_flag_unused_command_line_argument=yes
   17992 else
   17993   xorg_cv_cc_flag_unused_command_line_argument=no
   17994 fi
   17995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17996 fi
   17997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17998 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17999 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18000 	CFLAGS="$xorg_testset_save_CFLAGS"
   18001 fi
   18002 
   18003 found="no"
   18004 
   18005 	if test $found = "no" ; then
   18006 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18007 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18008 		fi
   18009 
   18010 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18011 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18012 		fi
   18013 
   18014 		CFLAGS="$CFLAGS -pedantic"
   18015 
   18016 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   18017 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   18018 		cacheid=xorg_cv_cc_flag__pedantic
   18019 		if eval \${$cacheid+:} false; then :
   18020   $as_echo_n "(cached) " >&6
   18021 else
   18022   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18023 /* end confdefs.h.  */
   18024 int i;
   18025 int
   18026 main ()
   18027 {
   18028 
   18029   ;
   18030   return 0;
   18031 }
   18032 _ACEOF
   18033 if ac_fn_c_try_link "$LINENO"; then :
   18034   eval $cacheid=yes
   18035 else
   18036   eval $cacheid=no
   18037 fi
   18038 rm -f core conftest.err conftest.$ac_objext \
   18039     conftest$ac_exeext conftest.$ac_ext
   18040 fi
   18041 
   18042 
   18043 		CFLAGS="$xorg_testset_save_CFLAGS"
   18044 
   18045 		eval supported=\$$cacheid
   18046 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18047 $as_echo "$supported" >&6; }
   18048 		if test "$supported" = "yes" ; then
   18049 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   18050 			found="yes"
   18051 		fi
   18052 	fi
   18053 
   18054 
   18055 
   18056 
   18057 
   18058 
   18059 
   18060 
   18061 
   18062 
   18063 
   18064 
   18065 
   18066 
   18067 
   18068 xorg_testset_save_CFLAGS="$CFLAGS"
   18069 
   18070 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18071 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18072 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18073 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18074 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   18075   $as_echo_n "(cached) " >&6
   18076 else
   18077   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18078 /* end confdefs.h.  */
   18079 int i;
   18080 _ACEOF
   18081 if ac_fn_c_try_compile "$LINENO"; then :
   18082   xorg_cv_cc_flag_unknown_warning_option=yes
   18083 else
   18084   xorg_cv_cc_flag_unknown_warning_option=no
   18085 fi
   18086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18087 fi
   18088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18089 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18090 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18091 	CFLAGS="$xorg_testset_save_CFLAGS"
   18092 fi
   18093 
   18094 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18095 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18096 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18097 	fi
   18098 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18099 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18100 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18101 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18102   $as_echo_n "(cached) " >&6
   18103 else
   18104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18105 /* end confdefs.h.  */
   18106 int i;
   18107 _ACEOF
   18108 if ac_fn_c_try_compile "$LINENO"; then :
   18109   xorg_cv_cc_flag_unused_command_line_argument=yes
   18110 else
   18111   xorg_cv_cc_flag_unused_command_line_argument=no
   18112 fi
   18113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18114 fi
   18115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18116 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18117 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18118 	CFLAGS="$xorg_testset_save_CFLAGS"
   18119 fi
   18120 
   18121 found="no"
   18122 
   18123 	if test $found = "no" ; then
   18124 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18125 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18126 		fi
   18127 
   18128 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18129 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18130 		fi
   18131 
   18132 		CFLAGS="$CFLAGS -Werror"
   18133 
   18134 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   18135 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   18136 		cacheid=xorg_cv_cc_flag__Werror
   18137 		if eval \${$cacheid+:} false; then :
   18138   $as_echo_n "(cached) " >&6
   18139 else
   18140   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18141 /* end confdefs.h.  */
   18142 int i;
   18143 int
   18144 main ()
   18145 {
   18146 
   18147   ;
   18148   return 0;
   18149 }
   18150 _ACEOF
   18151 if ac_fn_c_try_link "$LINENO"; then :
   18152   eval $cacheid=yes
   18153 else
   18154   eval $cacheid=no
   18155 fi
   18156 rm -f core conftest.err conftest.$ac_objext \
   18157     conftest$ac_exeext conftest.$ac_ext
   18158 fi
   18159 
   18160 
   18161 		CFLAGS="$xorg_testset_save_CFLAGS"
   18162 
   18163 		eval supported=\$$cacheid
   18164 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18165 $as_echo "$supported" >&6; }
   18166 		if test "$supported" = "yes" ; then
   18167 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   18168 			found="yes"
   18169 		fi
   18170 	fi
   18171 
   18172 	if test $found = "no" ; then
   18173 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18174 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18175 		fi
   18176 
   18177 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18178 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18179 		fi
   18180 
   18181 		CFLAGS="$CFLAGS -errwarn"
   18182 
   18183 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   18184 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   18185 		cacheid=xorg_cv_cc_flag__errwarn
   18186 		if eval \${$cacheid+:} false; then :
   18187   $as_echo_n "(cached) " >&6
   18188 else
   18189   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18190 /* end confdefs.h.  */
   18191 int i;
   18192 int
   18193 main ()
   18194 {
   18195 
   18196   ;
   18197   return 0;
   18198 }
   18199 _ACEOF
   18200 if ac_fn_c_try_link "$LINENO"; then :
   18201   eval $cacheid=yes
   18202 else
   18203   eval $cacheid=no
   18204 fi
   18205 rm -f core conftest.err conftest.$ac_objext \
   18206     conftest$ac_exeext conftest.$ac_ext
   18207 fi
   18208 
   18209 
   18210 		CFLAGS="$xorg_testset_save_CFLAGS"
   18211 
   18212 		eval supported=\$$cacheid
   18213 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18214 $as_echo "$supported" >&6; }
   18215 		if test "$supported" = "yes" ; then
   18216 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   18217 			found="yes"
   18218 		fi
   18219 	fi
   18220 
   18221 
   18222 
   18223 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   18224 # activate it with -Werror, so we add it here explicitly.
   18225 
   18226 
   18227 
   18228 
   18229 
   18230 
   18231 
   18232 
   18233 
   18234 
   18235 
   18236 
   18237 
   18238 xorg_testset_save_CFLAGS="$CFLAGS"
   18239 
   18240 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18241 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18242 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18243 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18244 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   18245   $as_echo_n "(cached) " >&6
   18246 else
   18247   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18248 /* end confdefs.h.  */
   18249 int i;
   18250 _ACEOF
   18251 if ac_fn_c_try_compile "$LINENO"; then :
   18252   xorg_cv_cc_flag_unknown_warning_option=yes
   18253 else
   18254   xorg_cv_cc_flag_unknown_warning_option=no
   18255 fi
   18256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18257 fi
   18258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18259 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18260 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18261 	CFLAGS="$xorg_testset_save_CFLAGS"
   18262 fi
   18263 
   18264 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18265 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18266 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18267 	fi
   18268 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18269 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18270 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18271 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18272   $as_echo_n "(cached) " >&6
   18273 else
   18274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18275 /* end confdefs.h.  */
   18276 int i;
   18277 _ACEOF
   18278 if ac_fn_c_try_compile "$LINENO"; then :
   18279   xorg_cv_cc_flag_unused_command_line_argument=yes
   18280 else
   18281   xorg_cv_cc_flag_unused_command_line_argument=no
   18282 fi
   18283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18284 fi
   18285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18286 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18287 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18288 	CFLAGS="$xorg_testset_save_CFLAGS"
   18289 fi
   18290 
   18291 found="no"
   18292 
   18293 	if test $found = "no" ; then
   18294 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18295 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18296 		fi
   18297 
   18298 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18299 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18300 		fi
   18301 
   18302 		CFLAGS="$CFLAGS -Werror=attributes"
   18303 
   18304 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   18305 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   18306 		cacheid=xorg_cv_cc_flag__Werror_attributes
   18307 		if eval \${$cacheid+:} false; then :
   18308   $as_echo_n "(cached) " >&6
   18309 else
   18310   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18311 /* end confdefs.h.  */
   18312 int i;
   18313 int
   18314 main ()
   18315 {
   18316 
   18317   ;
   18318   return 0;
   18319 }
   18320 _ACEOF
   18321 if ac_fn_c_try_link "$LINENO"; then :
   18322   eval $cacheid=yes
   18323 else
   18324   eval $cacheid=no
   18325 fi
   18326 rm -f core conftest.err conftest.$ac_objext \
   18327     conftest$ac_exeext conftest.$ac_ext
   18328 fi
   18329 
   18330 
   18331 		CFLAGS="$xorg_testset_save_CFLAGS"
   18332 
   18333 		eval supported=\$$cacheid
   18334 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18335 $as_echo "$supported" >&6; }
   18336 		if test "$supported" = "yes" ; then
   18337 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   18338 			found="yes"
   18339 		fi
   18340 	fi
   18341 
   18342 
   18343 
   18344 if test "x$STRICT_COMPILE" = "xyes"; then
   18345     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   18346     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   18347 fi
   18348 
   18349 
   18350 
   18351 
   18352 
   18353 
   18354 cat >>confdefs.h <<_ACEOF
   18355 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   18356 _ACEOF
   18357 
   18358 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   18359 	if test "x$PVM" = "x"; then
   18360 		PVM="0"
   18361 	fi
   18362 
   18363 cat >>confdefs.h <<_ACEOF
   18364 #define PACKAGE_VERSION_MINOR $PVM
   18365 _ACEOF
   18366 
   18367 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   18368 	if test "x$PVP" = "x"; then
   18369 		PVP="0"
   18370 	fi
   18371 
   18372 cat >>confdefs.h <<_ACEOF
   18373 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   18374 _ACEOF
   18375 
   18376 
   18377 
   18378 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   18379 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   18380 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   18381 touch \$(top_srcdir)/ChangeLog; \
   18382 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   18383 
   18384 
   18385 
   18386 
   18387 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   18388 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   18389 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   18390 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   18391 touch \$(top_srcdir)/INSTALL; \
   18392 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   18393 
   18394 
   18395 
   18396 
   18397 
   18398 
   18399 case $host_os in
   18400     solaris*)
   18401         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   18402         # check for a man page file found in later versions that use
   18403         # traditional section numbers instead
   18404         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   18405 $as_echo_n "checking for /usr/share/man/man7/attributes.7... " >&6; }
   18406 if ${ac_cv_file__usr_share_man_man7_attributes_7+:} false; then :
   18407   $as_echo_n "(cached) " >&6
   18408 else
   18409   test "$cross_compiling" = yes &&
   18410   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   18411 if test -r "/usr/share/man/man7/attributes.7"; then
   18412   ac_cv_file__usr_share_man_man7_attributes_7=yes
   18413 else
   18414   ac_cv_file__usr_share_man_man7_attributes_7=no
   18415 fi
   18416 fi
   18417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   18418 $as_echo "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   18419 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes; then :
   18420   SYSV_MAN_SECTIONS=false
   18421 else
   18422   SYSV_MAN_SECTIONS=true
   18423 fi
   18424 
   18425         ;;
   18426     *) SYSV_MAN_SECTIONS=false ;;
   18427 esac
   18428 
   18429 if test x$APP_MAN_SUFFIX = x    ; then
   18430     APP_MAN_SUFFIX=1
   18431 fi
   18432 if test x$APP_MAN_DIR = x    ; then
   18433     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   18434 fi
   18435 
   18436 if test x$LIB_MAN_SUFFIX = x    ; then
   18437     LIB_MAN_SUFFIX=3
   18438 fi
   18439 if test x$LIB_MAN_DIR = x    ; then
   18440     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   18441 fi
   18442 
   18443 if test x$FILE_MAN_SUFFIX = x    ; then
   18444     case $SYSV_MAN_SECTIONS in
   18445 	true)				FILE_MAN_SUFFIX=4  ;;
   18446 	*)				FILE_MAN_SUFFIX=5  ;;
   18447     esac
   18448 fi
   18449 if test x$FILE_MAN_DIR = x    ; then
   18450     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   18451 fi
   18452 
   18453 if test x$MISC_MAN_SUFFIX = x    ; then
   18454     case $SYSV_MAN_SECTIONS in
   18455 	true)				MISC_MAN_SUFFIX=5  ;;
   18456 	*)				MISC_MAN_SUFFIX=7  ;;
   18457     esac
   18458 fi
   18459 if test x$MISC_MAN_DIR = x    ; then
   18460     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   18461 fi
   18462 
   18463 if test x$DRIVER_MAN_SUFFIX = x    ; then
   18464     case $SYSV_MAN_SECTIONS in
   18465 	true)				DRIVER_MAN_SUFFIX=7  ;;
   18466 	*)				DRIVER_MAN_SUFFIX=4  ;;
   18467     esac
   18468 fi
   18469 if test x$DRIVER_MAN_DIR = x    ; then
   18470     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   18471 fi
   18472 
   18473 if test x$ADMIN_MAN_SUFFIX = x    ; then
   18474     case $SYSV_MAN_SECTIONS in
   18475 	true)				ADMIN_MAN_SUFFIX=1m ;;
   18476 	*)				ADMIN_MAN_SUFFIX=8  ;;
   18477     esac
   18478 fi
   18479 if test x$ADMIN_MAN_DIR = x    ; then
   18480     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   18481 fi
   18482 
   18483 
   18484 
   18485 
   18486 
   18487 
   18488 
   18489 
   18490 
   18491 
   18492 
   18493 
   18494 
   18495 
   18496 
   18497 XORG_MAN_PAGE="X Version 11"
   18498 
   18499 MAN_SUBSTS="\
   18500 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   18501 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   18502 	-e 's|__xservername__|Xorg|g' \
   18503 	-e 's|__xconfigfile__|xorg.conf|g' \
   18504 	-e 's|__projectroot__|\$(prefix)|g' \
   18505 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   18506 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   18507 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   18508 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   18509 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   18510 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   18511 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   18512 
   18513 
   18514 
   18515 # Check whether --enable-silent-rules was given.
   18516 if test "${enable_silent_rules+set}" = set; then :
   18517   enableval=$enable_silent_rules;
   18518 fi
   18519 
   18520 case $enable_silent_rules in # (((
   18521   yes) AM_DEFAULT_VERBOSITY=0;;
   18522    no) AM_DEFAULT_VERBOSITY=1;;
   18523     *) AM_DEFAULT_VERBOSITY=0;;
   18524 esac
   18525 am_make=${MAKE-make}
   18526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   18527 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   18528 if ${am_cv_make_support_nested_variables+:} false; then :
   18529   $as_echo_n "(cached) " >&6
   18530 else
   18531   if $as_echo 'TRUE=$(BAR$(V))
   18532 BAR0=false
   18533 BAR1=true
   18534 V=1
   18535 am__doit:
   18536 	@$(TRUE)
   18537 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   18538   am_cv_make_support_nested_variables=yes
   18539 else
   18540   am_cv_make_support_nested_variables=no
   18541 fi
   18542 fi
   18543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   18544 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   18545 if test $am_cv_make_support_nested_variables = yes; then
   18546     AM_V='$(V)'
   18547   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   18548 else
   18549   AM_V=$AM_DEFAULT_VERBOSITY
   18550   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   18551 fi
   18552 AM_BACKSLASH='\'
   18553 
   18554 
   18555 
   18556 # Check whether --enable-malloc0returnsnull was given.
   18557 if test "${enable_malloc0returnsnull+set}" = set; then :
   18558   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   18559 else
   18560   MALLOC_ZERO_RETURNS_NULL=auto
   18561 fi
   18562 
   18563 
   18564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc(0) returns NULL" >&5
   18565 $as_echo_n "checking whether malloc(0) returns NULL... " >&6; }
   18566 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   18567 if ${xorg_cv_malloc0_returns_null+:} false; then :
   18568   $as_echo_n "(cached) " >&6
   18569 else
   18570   if test "$cross_compiling" = yes; then :
   18571   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18572 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18573 as_fn_error $? "cannot run test program while cross compiling
   18574 See \`config.log' for more details" "$LINENO" 5; }
   18575 else
   18576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18577 /* end confdefs.h.  */
   18578 
   18579 #include <stdlib.h>
   18580 
   18581 int
   18582 main ()
   18583 {
   18584 
   18585     char *m0, *r0, *c0, *p;
   18586     m0 = malloc(0);
   18587     p = malloc(10);
   18588     r0 = realloc(p,0);
   18589     c0 = calloc(0,10);
   18590     exit((m0 == 0 || r0 == 0 || c0 == 0) ? 0 : 1);
   18591 
   18592   ;
   18593   return 0;
   18594 }
   18595 _ACEOF
   18596 if ac_fn_c_try_run "$LINENO"; then :
   18597   xorg_cv_malloc0_returns_null=yes
   18598 else
   18599   xorg_cv_malloc0_returns_null=no
   18600 fi
   18601 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   18602   conftest.$ac_objext conftest.beam conftest.$ac_ext
   18603 fi
   18604 
   18605 fi
   18606 
   18607 MALLOC_ZERO_RETURNS_NULL=$xorg_cv_malloc0_returns_null
   18608 fi
   18609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   18610 $as_echo "$MALLOC_ZERO_RETURNS_NULL" >&6; }
   18611 
   18612 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   18613 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   18614 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   18615 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   18616 else
   18617 	MALLOC_ZERO_CFLAGS=""
   18618 	XMALLOC_ZERO_CFLAGS=""
   18619 	XTMALLOC_ZERO_CFLAGS=""
   18620 fi
   18621 
   18622 
   18623 
   18624 
   18625 
   18626 
   18627 
   18628 # Check whether --enable-specs was given.
   18629 if test "${enable_specs+set}" = set; then :
   18630   enableval=$enable_specs; build_specs=$enableval
   18631 else
   18632   build_specs=yes
   18633 fi
   18634 
   18635 
   18636  if test x$build_specs = xyes; then
   18637   ENABLE_SPECS_TRUE=
   18638   ENABLE_SPECS_FALSE='#'
   18639 else
   18640   ENABLE_SPECS_TRUE='#'
   18641   ENABLE_SPECS_FALSE=
   18642 fi
   18643 
   18644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build functional specifications" >&5
   18645 $as_echo_n "checking whether to build functional specifications... " >&6; }
   18646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_specs" >&5
   18647 $as_echo "$build_specs" >&6; }
   18648 
   18649 
   18650 
   18651 
   18652 
   18653 # Check whether --with-xmlto was given.
   18654 if test "${with_xmlto+set}" = set; then :
   18655   withval=$with_xmlto; use_xmlto=$withval
   18656 else
   18657   use_xmlto=auto
   18658 fi
   18659 
   18660 
   18661 
   18662 if test "x$use_xmlto" = x"auto"; then
   18663    # Extract the first word of "xmlto", so it can be a program name with args.
   18664 set dummy xmlto; 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_XMLTO+:} false; then :
   18668   $as_echo_n "(cached) " >&6
   18669 else
   18670   case $XMLTO in
   18671   [\\/]* | ?:[\\/]*)
   18672   ac_cv_path_XMLTO="$XMLTO" # 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_XMLTO="$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 XMLTO=$ac_cv_path_XMLTO
   18694 if test -n "$XMLTO"; then
   18695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   18696 $as_echo "$XMLTO" >&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$XMLTO" = "x"; then
   18704         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   18705 $as_echo "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   18706 	have_xmlto=no
   18707    else
   18708         have_xmlto=yes
   18709    fi
   18710 elif test "x$use_xmlto" = x"yes" ; then
   18711    # Extract the first word of "xmlto", so it can be a program name with args.
   18712 set dummy xmlto; 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_XMLTO+:} false; then :
   18716   $as_echo_n "(cached) " >&6
   18717 else
   18718   case $XMLTO in
   18719   [\\/]* | ?:[\\/]*)
   18720   ac_cv_path_XMLTO="$XMLTO" # 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_XMLTO="$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 XMLTO=$ac_cv_path_XMLTO
   18742 if test -n "$XMLTO"; then
   18743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   18744 $as_echo "$XMLTO" >&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$XMLTO" = "x"; then
   18752         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   18753    fi
   18754    have_xmlto=yes
   18755 elif test "x$use_xmlto" = x"no" ; then
   18756    if test "x$XMLTO" != "x"; then
   18757       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   18758 $as_echo "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   18759    fi
   18760    have_xmlto=no
   18761 else
   18762    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   18763 fi
   18764 
   18765 # Test for a minimum version of xmlto, if provided.
   18766 if test "$have_xmlto" = yes; then
   18767     # scrape the xmlto version
   18768     { $as_echo "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   18769 $as_echo_n "checking the xmlto version... " >&6; }
   18770     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   18771     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   18772 $as_echo "$xmlto_version" >&6; }
   18773     as_arg_v1=$xmlto_version
   18774 as_arg_v2=0.0.20
   18775 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   18776 case $? in #(
   18777   1) :
   18778     if test "x$use_xmlto" = xauto; then
   18779             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.20 needed" >&5
   18780 $as_echo "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.20 needed" >&2;}
   18781             have_xmlto=no
   18782         else
   18783             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.20 needed" "$LINENO" 5
   18784         fi ;; #(
   18785   0) :
   18786      ;; #(
   18787   2) :
   18788      ;; #(
   18789   *) :
   18790      ;;
   18791 esac
   18792 fi
   18793 
   18794 # Test for the ability of xmlto to generate a text target
   18795 #
   18796 # NOTE: xmlto 0.0.27 or higher return a non-zero return code in the
   18797 # following test for empty XML docbook files.
   18798 # For compatibility reasons use the following empty XML docbook file and if
   18799 # it fails try it again with a non-empty XML file.
   18800 have_xmlto_text=no
   18801 cat > conftest.xml << "EOF"
   18802 EOF
   18803 if test "$have_xmlto" = yes; then :
   18804   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1; then :
   18805   have_xmlto_text=yes
   18806 else
   18807   # Try it again with a non-empty XML file.
   18808               cat > conftest.xml << "EOF"
   18809 <x></x>
   18810 EOF
   18811               if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1; then :
   18812   have_xmlto_text=yes
   18813 else
   18814   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   18815 $as_echo "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;}
   18816 fi
   18817 fi
   18818 fi
   18819 rm -f conftest.xml
   18820  if test $have_xmlto_text = yes; then
   18821   HAVE_XMLTO_TEXT_TRUE=
   18822   HAVE_XMLTO_TEXT_FALSE='#'
   18823 else
   18824   HAVE_XMLTO_TEXT_TRUE='#'
   18825   HAVE_XMLTO_TEXT_FALSE=
   18826 fi
   18827 
   18828  if test "$have_xmlto" = yes; then
   18829   HAVE_XMLTO_TRUE=
   18830   HAVE_XMLTO_FALSE='#'
   18831 else
   18832   HAVE_XMLTO_TRUE='#'
   18833   HAVE_XMLTO_FALSE=
   18834 fi
   18835 
   18836 
   18837 
   18838 
   18839 
   18840 
   18841 # Check whether --with-fop was given.
   18842 if test "${with_fop+set}" = set; then :
   18843   withval=$with_fop; use_fop=$withval
   18844 else
   18845   use_fop=auto
   18846 fi
   18847 
   18848 
   18849 
   18850 if test "x$use_fop" = x"auto"; then
   18851    # Extract the first word of "fop", so it can be a program name with args.
   18852 set dummy fop; ac_word=$2
   18853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18854 $as_echo_n "checking for $ac_word... " >&6; }
   18855 if ${ac_cv_path_FOP+:} false; then :
   18856   $as_echo_n "(cached) " >&6
   18857 else
   18858   case $FOP in
   18859   [\\/]* | ?:[\\/]*)
   18860   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   18861   ;;
   18862   *)
   18863   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18864 for as_dir in $PATH
   18865 do
   18866   IFS=$as_save_IFS
   18867   test -z "$as_dir" && as_dir=.
   18868     for ac_exec_ext in '' $ac_executable_extensions; do
   18869   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18870     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   18871     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18872     break 2
   18873   fi
   18874 done
   18875   done
   18876 IFS=$as_save_IFS
   18877 
   18878   ;;
   18879 esac
   18880 fi
   18881 FOP=$ac_cv_path_FOP
   18882 if test -n "$FOP"; then
   18883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   18884 $as_echo "$FOP" >&6; }
   18885 else
   18886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18887 $as_echo "no" >&6; }
   18888 fi
   18889 
   18890 
   18891    if test "x$FOP" = "x"; then
   18892         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   18893 $as_echo "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   18894 	have_fop=no
   18895    else
   18896         have_fop=yes
   18897    fi
   18898 elif test "x$use_fop" = x"yes" ; then
   18899    # Extract the first word of "fop", so it can be a program name with args.
   18900 set dummy fop; ac_word=$2
   18901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18902 $as_echo_n "checking for $ac_word... " >&6; }
   18903 if ${ac_cv_path_FOP+:} false; then :
   18904   $as_echo_n "(cached) " >&6
   18905 else
   18906   case $FOP in
   18907   [\\/]* | ?:[\\/]*)
   18908   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   18909   ;;
   18910   *)
   18911   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18912 for as_dir in $PATH
   18913 do
   18914   IFS=$as_save_IFS
   18915   test -z "$as_dir" && as_dir=.
   18916     for ac_exec_ext in '' $ac_executable_extensions; do
   18917   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18918     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   18919     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18920     break 2
   18921   fi
   18922 done
   18923   done
   18924 IFS=$as_save_IFS
   18925 
   18926   ;;
   18927 esac
   18928 fi
   18929 FOP=$ac_cv_path_FOP
   18930 if test -n "$FOP"; then
   18931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   18932 $as_echo "$FOP" >&6; }
   18933 else
   18934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18935 $as_echo "no" >&6; }
   18936 fi
   18937 
   18938 
   18939    if test "x$FOP" = "x"; then
   18940         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   18941    fi
   18942    have_fop=yes
   18943 elif test "x$use_fop" = x"no" ; then
   18944    if test "x$FOP" != "x"; then
   18945       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   18946 $as_echo "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   18947    fi
   18948    have_fop=no
   18949 else
   18950    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   18951 fi
   18952 
   18953 # Test for a minimum version of fop, if provided.
   18954 
   18955  if test "$have_fop" = yes; then
   18956   HAVE_FOP_TRUE=
   18957   HAVE_FOP_FALSE='#'
   18958 else
   18959   HAVE_FOP_TRUE='#'
   18960   HAVE_FOP_FALSE=
   18961 fi
   18962 
   18963 
   18964 
   18965 
   18966 # Preserves the interface, should it be implemented later
   18967 
   18968 
   18969 
   18970 # Check whether --with-xsltproc was given.
   18971 if test "${with_xsltproc+set}" = set; then :
   18972   withval=$with_xsltproc; use_xsltproc=$withval
   18973 else
   18974   use_xsltproc=auto
   18975 fi
   18976 
   18977 
   18978 
   18979 if test "x$use_xsltproc" = x"auto"; then
   18980    # Extract the first word of "xsltproc", so it can be a program name with args.
   18981 set dummy xsltproc; ac_word=$2
   18982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18983 $as_echo_n "checking for $ac_word... " >&6; }
   18984 if ${ac_cv_path_XSLTPROC+:} false; then :
   18985   $as_echo_n "(cached) " >&6
   18986 else
   18987   case $XSLTPROC in
   18988   [\\/]* | ?:[\\/]*)
   18989   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   18990   ;;
   18991   *)
   18992   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18993 for as_dir in $PATH
   18994 do
   18995   IFS=$as_save_IFS
   18996   test -z "$as_dir" && as_dir=.
   18997     for ac_exec_ext in '' $ac_executable_extensions; do
   18998   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18999     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
   19000     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19001     break 2
   19002   fi
   19003 done
   19004   done
   19005 IFS=$as_save_IFS
   19006 
   19007   ;;
   19008 esac
   19009 fi
   19010 XSLTPROC=$ac_cv_path_XSLTPROC
   19011 if test -n "$XSLTPROC"; then
   19012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   19013 $as_echo "$XSLTPROC" >&6; }
   19014 else
   19015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19016 $as_echo "no" >&6; }
   19017 fi
   19018 
   19019 
   19020    if test "x$XSLTPROC" = "x"; then
   19021         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xsltproc not found - cannot transform XML documents" >&5
   19022 $as_echo "$as_me: WARNING: xsltproc not found - cannot transform XML documents" >&2;}
   19023 	have_xsltproc=no
   19024    else
   19025         have_xsltproc=yes
   19026    fi
   19027 elif test "x$use_xsltproc" = x"yes" ; then
   19028    # Extract the first word of "xsltproc", so it can be a program name with args.
   19029 set dummy xsltproc; ac_word=$2
   19030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19031 $as_echo_n "checking for $ac_word... " >&6; }
   19032 if ${ac_cv_path_XSLTPROC+:} false; then :
   19033   $as_echo_n "(cached) " >&6
   19034 else
   19035   case $XSLTPROC in
   19036   [\\/]* | ?:[\\/]*)
   19037   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   19038   ;;
   19039   *)
   19040   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19041 for as_dir in $PATH
   19042 do
   19043   IFS=$as_save_IFS
   19044   test -z "$as_dir" && as_dir=.
   19045     for ac_exec_ext in '' $ac_executable_extensions; do
   19046   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19047     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
   19048     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19049     break 2
   19050   fi
   19051 done
   19052   done
   19053 IFS=$as_save_IFS
   19054 
   19055   ;;
   19056 esac
   19057 fi
   19058 XSLTPROC=$ac_cv_path_XSLTPROC
   19059 if test -n "$XSLTPROC"; then
   19060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   19061 $as_echo "$XSLTPROC" >&6; }
   19062 else
   19063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19064 $as_echo "no" >&6; }
   19065 fi
   19066 
   19067 
   19068    if test "x$XSLTPROC" = "x"; then
   19069         as_fn_error $? "--with-xsltproc=yes specified but xsltproc not found in PATH" "$LINENO" 5
   19070    fi
   19071    have_xsltproc=yes
   19072 elif test "x$use_xsltproc" = x"no" ; then
   19073    if test "x$XSLTPROC" != "x"; then
   19074       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&5
   19075 $as_echo "$as_me: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&2;}
   19076    fi
   19077    have_xsltproc=no
   19078 else
   19079    as_fn_error $? "--with-xsltproc expects 'yes' or 'no'" "$LINENO" 5
   19080 fi
   19081 
   19082  if test "$have_xsltproc" = yes; then
   19083   HAVE_XSLTPROC_TRUE=
   19084   HAVE_XSLTPROC_FALSE='#'
   19085 else
   19086   HAVE_XSLTPROC_TRUE='#'
   19087   HAVE_XSLTPROC_FALSE=
   19088 fi
   19089 
   19090 
   19091 
   19092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.01" >&5
   19093 $as_echo_n "checking for X.Org SGML entities >= 1.01... " >&6; }
   19094 XORG_SGML_PATH=
   19095 if test -n "$PKG_CONFIG" && \
   19096     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.01\""; } >&5
   19097   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.01") 2>&5
   19098   ac_status=$?
   19099   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19100   test $ac_status = 0; }; then
   19101   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   19102 else
   19103   :
   19104 
   19105 fi
   19106 
   19107 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   19108 # the path and the name of the doc stylesheet
   19109 if test "x$XORG_SGML_PATH" != "x" ; then
   19110    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   19111 $as_echo "$XORG_SGML_PATH" >&6; }
   19112    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   19113    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   19114 else
   19115    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19116 $as_echo "no" >&6; }
   19117 fi
   19118 
   19119 
   19120 
   19121 
   19122  if test "x$XSL_STYLESHEET" != "x"; then
   19123   HAVE_STYLESHEETS_TRUE=
   19124   HAVE_STYLESHEETS_FALSE='#'
   19125 else
   19126   HAVE_STYLESHEETS_TRUE='#'
   19127   HAVE_STYLESHEETS_FALSE=
   19128 fi
   19129 
   19130 
   19131 
   19132 
   19133 if test -n "$ac_tool_prefix"; then
   19134   # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
   19135 set dummy ${ac_tool_prefix}cpp; ac_word=$2
   19136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19137 $as_echo_n "checking for $ac_word... " >&6; }
   19138 if ${ac_cv_path_RAWCPP+:} false; then :
   19139   $as_echo_n "(cached) " >&6
   19140 else
   19141   case $RAWCPP in
   19142   [\\/]* | ?:[\\/]*)
   19143   ac_cv_path_RAWCPP="$RAWCPP" # Let the user override the test with a path.
   19144   ;;
   19145   *)
   19146   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19147 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
   19148 for as_dir in $as_dummy
   19149 do
   19150   IFS=$as_save_IFS
   19151   test -z "$as_dir" && as_dir=.
   19152     for ac_exec_ext in '' $ac_executable_extensions; do
   19153   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19154     ac_cv_path_RAWCPP="$as_dir/$ac_word$ac_exec_ext"
   19155     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19156     break 2
   19157   fi
   19158 done
   19159   done
   19160 IFS=$as_save_IFS
   19161 
   19162   ;;
   19163 esac
   19164 fi
   19165 RAWCPP=$ac_cv_path_RAWCPP
   19166 if test -n "$RAWCPP"; then
   19167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RAWCPP" >&5
   19168 $as_echo "$RAWCPP" >&6; }
   19169 else
   19170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19171 $as_echo "no" >&6; }
   19172 fi
   19173 
   19174 
   19175 fi
   19176 if test -z "$ac_cv_path_RAWCPP"; then
   19177   ac_pt_RAWCPP=$RAWCPP
   19178   # Extract the first word of "cpp", so it can be a program name with args.
   19179 set dummy cpp; ac_word=$2
   19180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19181 $as_echo_n "checking for $ac_word... " >&6; }
   19182 if ${ac_cv_path_ac_pt_RAWCPP+:} false; then :
   19183   $as_echo_n "(cached) " >&6
   19184 else
   19185   case $ac_pt_RAWCPP in
   19186   [\\/]* | ?:[\\/]*)
   19187   ac_cv_path_ac_pt_RAWCPP="$ac_pt_RAWCPP" # Let the user override the test with a path.
   19188   ;;
   19189   *)
   19190   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19191 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
   19192 for as_dir in $as_dummy
   19193 do
   19194   IFS=$as_save_IFS
   19195   test -z "$as_dir" && as_dir=.
   19196     for ac_exec_ext in '' $ac_executable_extensions; do
   19197   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19198     ac_cv_path_ac_pt_RAWCPP="$as_dir/$ac_word$ac_exec_ext"
   19199     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19200     break 2
   19201   fi
   19202 done
   19203   done
   19204 IFS=$as_save_IFS
   19205 
   19206   ;;
   19207 esac
   19208 fi
   19209 ac_pt_RAWCPP=$ac_cv_path_ac_pt_RAWCPP
   19210 if test -n "$ac_pt_RAWCPP"; then
   19211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_RAWCPP" >&5
   19212 $as_echo "$ac_pt_RAWCPP" >&6; }
   19213 else
   19214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19215 $as_echo "no" >&6; }
   19216 fi
   19217 
   19218   if test "x$ac_pt_RAWCPP" = x; then
   19219     RAWCPP="${CPP}"
   19220   else
   19221     case $cross_compiling:$ac_tool_warned in
   19222 yes:)
   19223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   19224 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   19225 ac_tool_warned=yes ;;
   19226 esac
   19227     RAWCPP=$ac_pt_RAWCPP
   19228   fi
   19229 else
   19230   RAWCPP="$ac_cv_path_RAWCPP"
   19231 fi
   19232 
   19233 
   19234 # Check for flag to avoid builtin definitions - assumes unix is predefined,
   19235 # which is not the best choice for supporting other OS'es, but covers most
   19236 # of the ones we need for now.
   19237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -undef" >&5
   19238 $as_echo_n "checking if $RAWCPP requires -undef... " >&6; }
   19239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19240 /* end confdefs.h.  */
   19241 Does cpp redefine unix ?
   19242 _ACEOF
   19243 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   19244 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19245 $as_echo "no" >&6; }
   19246 else
   19247 	if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   19248 		RAWCPPFLAGS=-undef
   19249 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19250 $as_echo "yes" >&6; }
   19251 	# under Cygwin unix is still defined even with -undef
   19252 	elif test `${RAWCPP} -undef -ansi < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   19253 		RAWCPPFLAGS="-undef -ansi"
   19254 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, with -ansi" >&5
   19255 $as_echo "yes, with -ansi" >&6; }
   19256 	else
   19257 		as_fn_error $? "${RAWCPP} defines unix with or without -undef.  I don't know what to do." "$LINENO" 5
   19258 	fi
   19259 fi
   19260 rm -f conftest.$ac_ext
   19261 
   19262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -traditional" >&5
   19263 $as_echo_n "checking if $RAWCPP requires -traditional... " >&6; }
   19264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19265 /* end confdefs.h.  */
   19266 Does cpp preserve   "whitespace"?
   19267 _ACEOF
   19268 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
   19269 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19270 $as_echo "no" >&6; }
   19271 else
   19272 	if test `${RAWCPP} -traditional < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
   19273 		TRADITIONALCPPFLAGS="-traditional"
   19274 		RAWCPPFLAGS="${RAWCPPFLAGS} -traditional"
   19275 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19276 $as_echo "yes" >&6; }
   19277 	else
   19278 		as_fn_error $? "${RAWCPP} does not preserve whitespace with or without -traditional.  I don't know what to do." "$LINENO" 5
   19279 	fi
   19280 fi
   19281 rm -f conftest.$ac_ext
   19282 
   19283 
   19284 
   19285 
   19286 
   19287 # Preserves the interface, should it be implemented later
   19288 
   19289 
   19290 
   19291 # Check whether --with-perl was given.
   19292 if test "${with_perl+set}" = set; then :
   19293   withval=$with_perl; use_perl=$withval
   19294 else
   19295   use_perl=auto
   19296 fi
   19297 
   19298 
   19299 
   19300 if test "x$use_perl" = x"auto"; then
   19301    # Extract the first word of "perl", so it can be a program name with args.
   19302 set dummy perl; ac_word=$2
   19303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19304 $as_echo_n "checking for $ac_word... " >&6; }
   19305 if ${ac_cv_path_PERL+:} false; then :
   19306   $as_echo_n "(cached) " >&6
   19307 else
   19308   case $PERL in
   19309   [\\/]* | ?:[\\/]*)
   19310   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
   19311   ;;
   19312   *)
   19313   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19314 for as_dir in $PATH
   19315 do
   19316   IFS=$as_save_IFS
   19317   test -z "$as_dir" && as_dir=.
   19318     for ac_exec_ext in '' $ac_executable_extensions; do
   19319   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19320     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
   19321     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19322     break 2
   19323   fi
   19324 done
   19325   done
   19326 IFS=$as_save_IFS
   19327 
   19328   ;;
   19329 esac
   19330 fi
   19331 PERL=$ac_cv_path_PERL
   19332 if test -n "$PERL"; then
   19333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
   19334 $as_echo "$PERL" >&6; }
   19335 else
   19336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19337 $as_echo "no" >&6; }
   19338 fi
   19339 
   19340 
   19341    if test "x$PERL" = "x"; then
   19342         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - cannot extract information and report" >&5
   19343 $as_echo "$as_me: WARNING: perl not found - cannot extract information and report" >&2;}
   19344 	have_perl=no
   19345    else
   19346         have_perl=yes
   19347    fi
   19348 elif test "x$use_perl" = x"yes" ; then
   19349    # Extract the first word of "perl", so it can be a program name with args.
   19350 set dummy perl; ac_word=$2
   19351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19352 $as_echo_n "checking for $ac_word... " >&6; }
   19353 if ${ac_cv_path_PERL+:} false; then :
   19354   $as_echo_n "(cached) " >&6
   19355 else
   19356   case $PERL in
   19357   [\\/]* | ?:[\\/]*)
   19358   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
   19359   ;;
   19360   *)
   19361   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19362 for as_dir in $PATH
   19363 do
   19364   IFS=$as_save_IFS
   19365   test -z "$as_dir" && as_dir=.
   19366     for ac_exec_ext in '' $ac_executable_extensions; do
   19367   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19368     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
   19369     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19370     break 2
   19371   fi
   19372 done
   19373   done
   19374 IFS=$as_save_IFS
   19375 
   19376   ;;
   19377 esac
   19378 fi
   19379 PERL=$ac_cv_path_PERL
   19380 if test -n "$PERL"; then
   19381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
   19382 $as_echo "$PERL" >&6; }
   19383 else
   19384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19385 $as_echo "no" >&6; }
   19386 fi
   19387 
   19388 
   19389    if test "x$PERL" = "x"; then
   19390         as_fn_error $? "--with-perl=yes specified but perl not found in PATH" "$LINENO" 5
   19391    fi
   19392    have_perl=yes
   19393 elif test "x$use_perl" = x"no" ; then
   19394    if test "x$PERL" != "x"; then
   19395       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring PERL environment variable since --with-perl=no was specified" >&5
   19396 $as_echo "$as_me: WARNING: ignoring PERL environment variable since --with-perl=no was specified" >&2;}
   19397    fi
   19398    have_perl=no
   19399 else
   19400    as_fn_error $? "--with-perl expects 'yes' or 'no'" "$LINENO" 5
   19401 fi
   19402 
   19403  if test "$have_perl" = yes; then
   19404   HAVE_PERL_TRUE=
   19405   HAVE_PERL_FALSE='#'
   19406 else
   19407   HAVE_PERL_TRUE='#'
   19408   HAVE_PERL_FALSE=
   19409 fi
   19410 
   19411 
   19412 
   19413 
   19414 # Checks for header files.
   19415 ac_fn_c_check_header_mongrel "$LINENO" "alloca.h" "ac_cv_header_alloca_h" "$ac_includes_default"
   19416 if test "x$ac_cv_header_alloca_h" = xyes; then :
   19417 
   19418 $as_echo "#define INCLUDE_ALLOCA_H 1" >>confdefs.h
   19419 
   19420 fi
   19421 
   19422 
   19423 
   19424 # Obtain compiler/linker options for depedencies
   19425 
   19426 pkg_failed=no
   19427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XT" >&5
   19428 $as_echo_n "checking for XT... " >&6; }
   19429 
   19430 if test -n "$XT_CFLAGS"; then
   19431     pkg_cv_XT_CFLAGS="$XT_CFLAGS"
   19432  elif test -n "$PKG_CONFIG"; then
   19433     if test -n "$PKG_CONFIG" && \
   19434     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sm ice x11 xproto kbproto\""; } >&5
   19435   ($PKG_CONFIG --exists --print-errors "sm ice x11 xproto kbproto") 2>&5
   19436   ac_status=$?
   19437   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19438   test $ac_status = 0; }; then
   19439   pkg_cv_XT_CFLAGS=`$PKG_CONFIG --cflags "sm ice x11 xproto kbproto" 2>/dev/null`
   19440 		      test "x$?" != "x0" && pkg_failed=yes
   19441 else
   19442   pkg_failed=yes
   19443 fi
   19444  else
   19445     pkg_failed=untried
   19446 fi
   19447 if test -n "$XT_LIBS"; then
   19448     pkg_cv_XT_LIBS="$XT_LIBS"
   19449  elif test -n "$PKG_CONFIG"; then
   19450     if test -n "$PKG_CONFIG" && \
   19451     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sm ice x11 xproto kbproto\""; } >&5
   19452   ($PKG_CONFIG --exists --print-errors "sm ice x11 xproto kbproto") 2>&5
   19453   ac_status=$?
   19454   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19455   test $ac_status = 0; }; then
   19456   pkg_cv_XT_LIBS=`$PKG_CONFIG --libs "sm ice x11 xproto kbproto" 2>/dev/null`
   19457 		      test "x$?" != "x0" && pkg_failed=yes
   19458 else
   19459   pkg_failed=yes
   19460 fi
   19461  else
   19462     pkg_failed=untried
   19463 fi
   19464 
   19465 
   19466 
   19467 if test $pkg_failed = yes; then
   19468    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19469 $as_echo "no" >&6; }
   19470 
   19471 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19472         _pkg_short_errors_supported=yes
   19473 else
   19474         _pkg_short_errors_supported=no
   19475 fi
   19476         if test $_pkg_short_errors_supported = yes; then
   19477 	        XT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sm ice x11 xproto kbproto" 2>&1`
   19478         else
   19479 	        XT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sm ice x11 xproto kbproto" 2>&1`
   19480         fi
   19481 	# Put the nasty error message in config.log where it belongs
   19482 	echo "$XT_PKG_ERRORS" >&5
   19483 
   19484 	as_fn_error $? "Package requirements (sm ice x11 xproto kbproto) were not met:
   19485 
   19486 $XT_PKG_ERRORS
   19487 
   19488 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19489 installed software in a non-standard prefix.
   19490 
   19491 Alternatively, you may set the environment variables XT_CFLAGS
   19492 and XT_LIBS to avoid the need to call pkg-config.
   19493 See the pkg-config man page for more details." "$LINENO" 5
   19494 elif test $pkg_failed = untried; then
   19495      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19496 $as_echo "no" >&6; }
   19497 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19498 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   19499 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19500 is in your PATH or set the PKG_CONFIG environment variable to the full
   19501 path to pkg-config.
   19502 
   19503 Alternatively, you may set the environment variables XT_CFLAGS
   19504 and XT_LIBS to avoid the need to call pkg-config.
   19505 See the pkg-config man page for more details.
   19506 
   19507 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19508 See \`config.log' for more details" "$LINENO" 5; }
   19509 else
   19510 	XT_CFLAGS=$pkg_cv_XT_CFLAGS
   19511 	XT_LIBS=$pkg_cv_XT_LIBS
   19512         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19513 $as_echo "yes" >&6; }
   19514 
   19515 fi
   19516 
   19517 # Set-up variables to use build machine compiler when cross-compiling
   19518 if test x"$CC_FOR_BUILD" = x; then
   19519 	if test x"$cross_compiling" = xyes; then
   19520 		for ac_prog in gcc cc
   19521 do
   19522   # Extract the first word of "$ac_prog", so it can be a program name with args.
   19523 set dummy $ac_prog; ac_word=$2
   19524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19525 $as_echo_n "checking for $ac_word... " >&6; }
   19526 if ${ac_cv_prog_CC_FOR_BUILD+:} false; then :
   19527   $as_echo_n "(cached) " >&6
   19528 else
   19529   if test -n "$CC_FOR_BUILD"; then
   19530   ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
   19531 else
   19532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19533 for as_dir in $PATH
   19534 do
   19535   IFS=$as_save_IFS
   19536   test -z "$as_dir" && as_dir=.
   19537     for ac_exec_ext in '' $ac_executable_extensions; do
   19538   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19539     ac_cv_prog_CC_FOR_BUILD="$ac_prog"
   19540     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19541     break 2
   19542   fi
   19543 done
   19544   done
   19545 IFS=$as_save_IFS
   19546 
   19547 fi
   19548 fi
   19549 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
   19550 if test -n "$CC_FOR_BUILD"; then
   19551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
   19552 $as_echo "$CC_FOR_BUILD" >&6; }
   19553 else
   19554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19555 $as_echo "no" >&6; }
   19556 fi
   19557 
   19558 
   19559   test -n "$CC_FOR_BUILD" && break
   19560 done
   19561 
   19562 	else
   19563 		CC_FOR_BUILD="$CC"
   19564 	fi
   19565 fi
   19566 if test x"$cross_compiling" != xyes; then
   19567        : ${CFLAGS_FOR_BUILD=${CFLAGS}}
   19568        : ${LDFLAGS_FOR_BUILD=${LDFLAGS}}
   19569 fi
   19570 
   19571 DEFAULT_CPPFLAGS_FOR_BUILD="${CPPFLAGS}"
   19572 ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
   19573 if test "x$ac_cv_func_asprintf" = xyes; then :
   19574   DEFAULT_CPPFLAGS_FOR_BUILD="${DEFAULT_CPPFLAGS_FOR_BUILD} -DHAVE_ASPRINTF -D_GNU_SOURCE"
   19575 fi
   19576 
   19577 CPPFLAGS_FOR_BUILD=${CPPFLAGS_FOR_BUILD-${DEFAULT_CPPFLAGS_FOR_BUILD}}
   19578 
   19579 DEFAULT_CFLAGS_FOR_BUILD="${CFLAGS} ${CWARNFLAGS}"
   19580 
   19581 
   19582 
   19583 # Map function checks to old Imake #defines
   19584 case $host_os in
   19585 	# darwin through Snow Leopard has poll() but can't be used to poll character devices.
   19586 	darwin[789]*|darwin10*) ;;
   19587 	darwin*)
   19588 		_ac_xorg_macosx_version_min=""
   19589 		if echo $CPPFLAGS $CFLAGS | grep -q mmacosx-version-min ; then
   19590 			_ac_xorg_macosx_version_min=`echo $CPPFLAGS $CFLAGS | sed 's/^.*-mmacosx-version-min=\([^ ]*\).*$/\1/'`
   19591 		else
   19592 			_ac_xorg_macosx_version_min=$MACOSX_DEPLOYMENT_TARGET
   19593 		fi
   19594 		case $_ac_xorg_macosx_version_min in
   19595 			10.[0123456]|10.[0123456].*) ;;
   19596 			*)
   19597 				ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
   19598 if test "x$ac_cv_func_poll" = xyes; then :
   19599 
   19600 $as_echo "#define USE_POLL 1" >>confdefs.h
   19601 
   19602 fi
   19603 
   19604 			;;
   19605 		esac
   19606 		unset _ac_xorg_macosx_version_min
   19607 		;;
   19608 	*)
   19609 		ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
   19610 if test "x$ac_cv_func_poll" = xyes; then :
   19611 
   19612 $as_echo "#define USE_POLL 1" >>confdefs.h
   19613 
   19614 fi
   19615 
   19616 	;;
   19617 esac
   19618 
   19619 # Link with winsock if mingw target
   19620 case $host_os in
   19621 	*mingw*)
   19622 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   19623 $as_echo_n "checking for main in -lws2_32... " >&6; }
   19624 if ${ac_cv_lib_ws2_32_main+:} false; then :
   19625   $as_echo_n "(cached) " >&6
   19626 else
   19627   ac_check_lib_save_LIBS=$LIBS
   19628 LIBS="-lws2_32  $LIBS"
   19629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19630 /* end confdefs.h.  */
   19631 
   19632 
   19633 int
   19634 main ()
   19635 {
   19636 return main ();
   19637   ;
   19638   return 0;
   19639 }
   19640 _ACEOF
   19641 if ac_fn_c_try_link "$LINENO"; then :
   19642   ac_cv_lib_ws2_32_main=yes
   19643 else
   19644   ac_cv_lib_ws2_32_main=no
   19645 fi
   19646 rm -f core conftest.err conftest.$ac_objext \
   19647     conftest$ac_exeext conftest.$ac_ext
   19648 LIBS=$ac_check_lib_save_LIBS
   19649 fi
   19650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   19651 $as_echo "$ac_cv_lib_ws2_32_main" >&6; }
   19652 if test "x$ac_cv_lib_ws2_32_main" = xyes; then :
   19653   cat >>confdefs.h <<_ACEOF
   19654 #define HAVE_LIBWS2_32 1
   19655 _ACEOF
   19656 
   19657   LIBS="-lws2_32 $LIBS"
   19658 
   19659 fi
   19660 ac_cv_lib_ws2_32=ac_cv_lib_ws2_32_main
   19661 
   19662 	;;
   19663 	*)
   19664 	;;
   19665 esac
   19666 
   19667 # Options
   19668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if XKB support is wanted" >&5
   19669 $as_echo_n "checking if XKB support is wanted... " >&6; }
   19670 # Check whether --enable-xkb was given.
   19671 if test "${enable_xkb+set}" = set; then :
   19672   enableval=$enable_xkb; XKB="$enableval"
   19673 else
   19674   XKB="yes"
   19675 fi
   19676 
   19677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XKB" >&5
   19678 $as_echo "$XKB" >&6; }
   19679 if test "x$XKB" = "xyes" ; then
   19680 
   19681 $as_echo "#define XKB 1" >>confdefs.h
   19682 
   19683 fi
   19684 
   19685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C const-support is wanted" >&5
   19686 $as_echo_n "checking if C const-support is wanted... " >&6; }
   19687 # Check whether --enable-const was given.
   19688 if test "${enable_const+set}" = set; then :
   19689   enableval=$enable_const; USE_CONST="$enableval"
   19690 else
   19691   USE_CONST="yes"
   19692 fi
   19693 
   19694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_CONST" >&5
   19695 $as_echo "$USE_CONST" >&6; }
   19696 if test "x$USE_CONST" = "xyes" ; then
   19697 
   19698 $as_echo "#define _CONST_X_STRING 1" >>confdefs.h
   19699 
   19700 fi
   19701 
   19702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if geo-tattler traces are wanted" >&5
   19703 $as_echo_n "checking if geo-tattler traces are wanted... " >&6; }
   19704 # Check whether --enable-geo-tattler was given.
   19705 if test "${enable_geo_tattler+set}" = set; then :
   19706   enableval=$enable_geo_tattler; GEO_TATTLER="$enableval"
   19707 else
   19708   GEO_TATTLER="no"
   19709 fi
   19710 
   19711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GEO_TATTLER" >&5
   19712 $as_echo "$GEO_TATTLER" >&6; }
   19713 if test "x$GEO_TATTLER" = "xyes" ; then
   19714 
   19715 $as_echo "#define XT_GEO_TATTLER 1" >>confdefs.h
   19716 
   19717 fi
   19718 
   19719 # --enable-unit-tests
   19720 
   19721 
   19722 
   19723 
   19724 
   19725 # Check for different types of support on different platforms
   19726 case $host_os in
   19727     solaris*)
   19728         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for umem_alloc in -lumem" >&5
   19729 $as_echo_n "checking for umem_alloc in -lumem... " >&6; }
   19730 if ${ac_cv_lib_umem_umem_alloc+:} false; then :
   19731   $as_echo_n "(cached) " >&6
   19732 else
   19733   ac_check_lib_save_LIBS=$LIBS
   19734 LIBS="-lumem  $LIBS"
   19735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19736 /* end confdefs.h.  */
   19737 
   19738 /* Override any GCC internal prototype to avoid an error.
   19739    Use char because int might match the return type of a GCC
   19740    builtin and then its argument prototype would still apply.  */
   19741 #ifdef __cplusplus
   19742 extern "C"
   19743 #endif
   19744 char umem_alloc ();
   19745 int
   19746 main ()
   19747 {
   19748 return umem_alloc ();
   19749   ;
   19750   return 0;
   19751 }
   19752 _ACEOF
   19753 if ac_fn_c_try_link "$LINENO"; then :
   19754   ac_cv_lib_umem_umem_alloc=yes
   19755 else
   19756   ac_cv_lib_umem_umem_alloc=no
   19757 fi
   19758 rm -f core conftest.err conftest.$ac_objext \
   19759     conftest$ac_exeext conftest.$ac_ext
   19760 LIBS=$ac_check_lib_save_LIBS
   19761 fi
   19762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_umem_umem_alloc" >&5
   19763 $as_echo "$ac_cv_lib_umem_umem_alloc" >&6; }
   19764 if test "x$ac_cv_lib_umem_umem_alloc" = xyes; then :
   19765   malloc_debug_env='LD_PRELOAD=libumem.so UMEM_DEBUG=default'
   19766 fi
   19767 
   19768         ;;
   19769     *-gnu*) # GNU libc - Value is used as a single byte bit pattern,
   19770         # both directly and inverted, so should not be 0 or 255.
   19771         malloc_debug_env='MALLOC_PERTURB_=15'
   19772         ;;
   19773     darwin*)
   19774         malloc_debug_env='MallocPreScribble=1 MallocScribble=1 DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib'
   19775         ;;
   19776     *bsd*)
   19777         malloc_debug_env='MallocPreScribble=1 MallocScribble=1'
   19778         ;;
   19779 esac
   19780 
   19781 # User supplied flags override default flags
   19782 if test "x$XORG_MALLOC_DEBUG_ENV" != "x"; then
   19783     malloc_debug_env="$XORG_MALLOC_DEBUG_ENV"
   19784 fi
   19785 
   19786 XORG_MALLOC_DEBUG_ENV=$malloc_debug_env
   19787 
   19788 
   19789 
   19790 
   19791 
   19792 
   19793 
   19794 # Check whether --enable-unit-tests was given.
   19795 if test "${enable_unit_tests+set}" = set; then :
   19796   enableval=$enable_unit_tests; enable_unit_tests=$enableval
   19797 else
   19798   enable_unit_tests=auto
   19799 fi
   19800 
   19801 
   19802  if test "x$enable_unit_tests" != xno; then
   19803   ENABLE_UNIT_TESTS_TRUE=
   19804   ENABLE_UNIT_TESTS_FALSE='#'
   19805 else
   19806   ENABLE_UNIT_TESTS_TRUE='#'
   19807   ENABLE_UNIT_TESTS_FALSE=
   19808 fi
   19809 
   19810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build unit test cases" >&5
   19811 $as_echo_n "checking whether to build unit test cases... " >&6; }
   19812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_unit_tests" >&5
   19813 $as_echo "$enable_unit_tests" >&6; }
   19814 
   19815 
   19816 
   19817 
   19818 
   19819 # Check whether --with-glib was given.
   19820 if test "${with_glib+set}" = set; then :
   19821   withval=$with_glib; with_glib=$withval
   19822 else
   19823   with_glib=auto
   19824 fi
   19825 
   19826 
   19827 
   19828 have_glib=no
   19829 # Do not probe GLib if user explicitly disabled unit testing
   19830 if test "x$enable_unit_tests" != x"no"; then
   19831   # Do not probe GLib if user explicitly disabled it
   19832   if test "x$with_glib" != x"no"; then
   19833 
   19834 pkg_failed=no
   19835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
   19836 $as_echo_n "checking for GLIB... " >&6; }
   19837 
   19838 if test -n "$GLIB_CFLAGS"; then
   19839     pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
   19840  elif test -n "$PKG_CONFIG"; then
   19841     if test -n "$PKG_CONFIG" && \
   19842     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.16\""; } >&5
   19843   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.16") 2>&5
   19844   ac_status=$?
   19845   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19846   test $ac_status = 0; }; then
   19847   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.16" 2>/dev/null`
   19848 		      test "x$?" != "x0" && pkg_failed=yes
   19849 else
   19850   pkg_failed=yes
   19851 fi
   19852  else
   19853     pkg_failed=untried
   19854 fi
   19855 if test -n "$GLIB_LIBS"; then
   19856     pkg_cv_GLIB_LIBS="$GLIB_LIBS"
   19857  elif test -n "$PKG_CONFIG"; then
   19858     if test -n "$PKG_CONFIG" && \
   19859     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.16\""; } >&5
   19860   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.16") 2>&5
   19861   ac_status=$?
   19862   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19863   test $ac_status = 0; }; then
   19864   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.16" 2>/dev/null`
   19865 		      test "x$?" != "x0" && pkg_failed=yes
   19866 else
   19867   pkg_failed=yes
   19868 fi
   19869  else
   19870     pkg_failed=untried
   19871 fi
   19872 
   19873 
   19874 
   19875 if test $pkg_failed = yes; then
   19876    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19877 $as_echo "no" >&6; }
   19878 
   19879 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19880         _pkg_short_errors_supported=yes
   19881 else
   19882         _pkg_short_errors_supported=no
   19883 fi
   19884         if test $_pkg_short_errors_supported = yes; then
   19885 	        GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.16" 2>&1`
   19886         else
   19887 	        GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.16" 2>&1`
   19888         fi
   19889 	# Put the nasty error message in config.log where it belongs
   19890 	echo "$GLIB_PKG_ERRORS" >&5
   19891 
   19892 	have_glib=no
   19893 elif test $pkg_failed = untried; then
   19894      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19895 $as_echo "no" >&6; }
   19896 	have_glib=no
   19897 else
   19898 	GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
   19899 	GLIB_LIBS=$pkg_cv_GLIB_LIBS
   19900         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19901 $as_echo "yes" >&6; }
   19902 	have_glib=yes
   19903 fi
   19904   fi
   19905 fi
   19906 
   19907 # Not having GLib when unit testing has been explicitly requested is an error
   19908 if test "x$enable_unit_tests" = x"yes"; then
   19909   if test "x$have_glib" = x"no"; then
   19910     as_fn_error $? "--enable-unit-tests=yes specified but glib-2.0 not found" "$LINENO" 5
   19911   fi
   19912 fi
   19913 
   19914 # Having unit testing disabled when GLib has been explicitly requested is an error
   19915 if test "x$enable_unit_tests" = x"no"; then
   19916   if test "x$with_glib" = x"yes"; then
   19917     as_fn_error $? "--enable-unit-tests=yes specified but glib-2.0 not found" "$LINENO" 5
   19918   fi
   19919 fi
   19920 
   19921 # Not having GLib when it has been explicitly requested is an error
   19922 if test "x$with_glib" = x"yes"; then
   19923   if test "x$have_glib" = x"no"; then
   19924     as_fn_error $? "--with-glib=yes specified but glib-2.0 not found" "$LINENO" 5
   19925   fi
   19926 fi
   19927 
   19928  if test "$have_glib" = yes; then
   19929   HAVE_GLIB_TRUE=
   19930   HAVE_GLIB_FALSE='#'
   19931 else
   19932   HAVE_GLIB_TRUE='#'
   19933   HAVE_GLIB_FALSE=
   19934 fi
   19935 
   19936 
   19937 
   19938 # Memory checking support
   19939 case $host_os in
   19940 	solaris*)
   19941 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for umem_alloc in -lumem" >&5
   19942 $as_echo_n "checking for umem_alloc in -lumem... " >&6; }
   19943 if ${ac_cv_lib_umem_umem_alloc+:} false; then :
   19944   $as_echo_n "(cached) " >&6
   19945 else
   19946   ac_check_lib_save_LIBS=$LIBS
   19947 LIBS="-lumem  $LIBS"
   19948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19949 /* end confdefs.h.  */
   19950 
   19951 /* Override any GCC internal prototype to avoid an error.
   19952    Use char because int might match the return type of a GCC
   19953    builtin and then its argument prototype would still apply.  */
   19954 #ifdef __cplusplus
   19955 extern "C"
   19956 #endif
   19957 char umem_alloc ();
   19958 int
   19959 main ()
   19960 {
   19961 return umem_alloc ();
   19962   ;
   19963   return 0;
   19964 }
   19965 _ACEOF
   19966 if ac_fn_c_try_link "$LINENO"; then :
   19967   ac_cv_lib_umem_umem_alloc=yes
   19968 else
   19969   ac_cv_lib_umem_umem_alloc=no
   19970 fi
   19971 rm -f core conftest.err conftest.$ac_objext \
   19972     conftest$ac_exeext conftest.$ac_ext
   19973 LIBS=$ac_check_lib_save_LIBS
   19974 fi
   19975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_umem_umem_alloc" >&5
   19976 $as_echo "$ac_cv_lib_umem_umem_alloc" >&6; }
   19977 if test "x$ac_cv_lib_umem_umem_alloc" = xyes; then :
   19978   MALLOC_DEBUG_ENV='LD_PRELOAD=libumem.so UMEM_DEBUG=default'
   19979 fi
   19980 
   19981 	;;
   19982 	*-gnu*) # GNU libc - Value is used as a single byte bit pattern,
   19983 		# both directly and inverted, so should not be 0 or 255.
   19984 		MALLOC_DEBUG_ENV='MALLOC_PERTURB_=15'
   19985 	;;
   19986 	*bsd*|darwin*)
   19987 		MALLOC_DEBUG_ENV='MallocPreScribble=1 MallocScribble=1'
   19988 	;;
   19989 esac
   19990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for definitions to enable memory-checking support" >&5
   19991 $as_echo_n "checking for definitions to enable memory-checking support... " >&6; }
   19992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${MALLOC_DEBUG_ENV:-none}" >&5
   19993 $as_echo "${MALLOC_DEBUG_ENV:-none}" >&6; }
   19994 
   19995 
   19996 # Replaces XFileSearchPathDefault from Imake configs
   19997 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'
   19998 
   19999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X files search path" >&5
   20000 $as_echo_n "checking for X files search path... " >&6; }
   20001 
   20002 # Check whether --with-xfile-search-path was given.
   20003 if test "${with_xfile_search_path+set}" = set; then :
   20004   withval=$with_xfile_search_path; XFILESEARCHPATHDEFAULT="$withval"
   20005 fi
   20006 
   20007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${XFILESEARCHPATHDEFAULT:-none}" >&5
   20008 $as_echo "${XFILESEARCHPATHDEFAULT:-none}" >&6; }
   20009 
   20010 
   20011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X app-defaults directory" >&5
   20012 $as_echo_n "checking for X app-defaults directory... " >&6; }
   20013 
   20014 # Check whether --with-appdefaultdir was given.
   20015 if test "${with_appdefaultdir+set}" = set; then :
   20016   withval=$with_appdefaultdir; appdefaultdir="$withval"
   20017 else
   20018   appdefaultdir=${datadir}/X11/app-defaults
   20019 fi
   20020 
   20021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $appdefaultdir" >&5
   20022 $as_echo "$appdefaultdir" >&6; }
   20023 
   20024   prefix_NONE=
   20025   exec_prefix_NONE=
   20026   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   20027   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   20028   eval ax_define_dir="\"$appdefaultdir\""
   20029   eval ax_define_dir="\"$ax_define_dir\""
   20030   appdefaultdir="$ax_define_dir"
   20031 
   20032 
   20033 cat >>confdefs.h <<_ACEOF
   20034 #define appdefaultdir "$ax_define_dir"
   20035 _ACEOF
   20036 
   20037   test "$prefix_NONE" && prefix=NONE
   20038   test "$exec_prefix_NONE" && exec_prefix=NONE
   20039 
   20040 
   20041 # Replacement for Imake ToolkitStringsABIOptions, controls string tables
   20042 # generated by util/string.list in StringDefs.h & Shell.h
   20043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ABI options" >&5
   20044 $as_echo_n "checking for ABI options... " >&6; }
   20045 case $host_os in
   20046 	solaris*)
   20047 		# Solaris uses -intelabi even on SPARC
   20048 		STRINGSABIOPTIONS="-intelabi -solarisabinames"
   20049 		;;
   20050 	sco* | svr4*)
   20051 		case $host_cpu in
   20052 		    i*86) STRINGSABIOPTIONS="-intelabi" ;;
   20053 		       *) STRINGSABIOPTIONS="" ;;
   20054 		esac
   20055 		;;
   20056 esac
   20057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${STRINGSABIOPTIONS:-none}" >&5
   20058 $as_echo "${STRINGSABIOPTIONS:-none}" >&6; }
   20059 
   20060 
   20061 ERRORDBDIR=${datadir}/X11
   20062 
   20063 
   20064 ac_config_files="$ac_config_files Makefile src/Makefile util/Makefile include/Makefile man/Makefile specs/Makefile specs/libXt.ent test/Makefile xt.pc"
   20065 
   20066 cat >confcache <<\_ACEOF
   20067 # This file is a shell script that caches the results of configure
   20068 # tests run on this system so they can be shared between configure
   20069 # scripts and configure runs, see configure's option --config-cache.
   20070 # It is not useful on other systems.  If it contains results you don't
   20071 # want to keep, you may remove or edit it.
   20072 #
   20073 # config.status only pays attention to the cache file if you give it
   20074 # the --recheck option to rerun configure.
   20075 #
   20076 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   20077 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   20078 # following values.
   20079 
   20080 _ACEOF
   20081 
   20082 # The following way of writing the cache mishandles newlines in values,
   20083 # but we know of no workaround that is simple, portable, and efficient.
   20084 # So, we kill variables containing newlines.
   20085 # Ultrix sh set writes to stderr and can't be redirected directly,
   20086 # and sets the high bit in the cache file unless we assign to the vars.
   20087 (
   20088   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   20089     eval ac_val=\$$ac_var
   20090     case $ac_val in #(
   20091     *${as_nl}*)
   20092       case $ac_var in #(
   20093       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   20094 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   20095       esac
   20096       case $ac_var in #(
   20097       _ | IFS | as_nl) ;; #(
   20098       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   20099       *) { eval $ac_var=; unset $ac_var;} ;;
   20100       esac ;;
   20101     esac
   20102   done
   20103 
   20104   (set) 2>&1 |
   20105     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   20106     *${as_nl}ac_space=\ *)
   20107       # `set' does not quote correctly, so add quotes: double-quote
   20108       # substitution turns \\\\ into \\, and sed turns \\ into \.
   20109       sed -n \
   20110 	"s/'/'\\\\''/g;
   20111 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   20112       ;; #(
   20113     *)
   20114       # `set' quotes correctly as required by POSIX, so do not add quotes.
   20115       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   20116       ;;
   20117     esac |
   20118     sort
   20119 ) |
   20120   sed '
   20121      /^ac_cv_env_/b end
   20122      t clear
   20123      :clear
   20124      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   20125      t end
   20126      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   20127      :end' >>confcache
   20128 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   20129   if test -w "$cache_file"; then
   20130     if test "x$cache_file" != "x/dev/null"; then
   20131       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   20132 $as_echo "$as_me: updating cache $cache_file" >&6;}
   20133       if test ! -f "$cache_file" || test -h "$cache_file"; then
   20134 	cat confcache >"$cache_file"
   20135       else
   20136         case $cache_file in #(
   20137         */* | ?:*)
   20138 	  mv -f confcache "$cache_file"$$ &&
   20139 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   20140         *)
   20141 	  mv -f confcache "$cache_file" ;;
   20142 	esac
   20143       fi
   20144     fi
   20145   else
   20146     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   20147 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   20148   fi
   20149 fi
   20150 rm -f confcache
   20151 
   20152 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   20153 # Let make expand exec_prefix.
   20154 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   20155 
   20156 DEFS=-DHAVE_CONFIG_H
   20157 
   20158 ac_libobjs=
   20159 ac_ltlibobjs=
   20160 U=
   20161 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   20162   # 1. Remove the extension, and $U if already installed.
   20163   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   20164   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   20165   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   20166   #    will be set to the directory where LIBOBJS objects are built.
   20167   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   20168   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   20169 done
   20170 LIBOBJS=$ac_libobjs
   20171 
   20172 LTLIBOBJS=$ac_ltlibobjs
   20173 
   20174 
   20175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   20176 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   20177    if test -n "$am_sleep_pid"; then
   20178      # Hide warnings about reused PIDs.
   20179      wait $am_sleep_pid 2>/dev/null
   20180    fi
   20181    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   20182 $as_echo "done" >&6; }
   20183  if test -n "$EXEEXT"; then
   20184   am__EXEEXT_TRUE=
   20185   am__EXEEXT_FALSE='#'
   20186 else
   20187   am__EXEEXT_TRUE='#'
   20188   am__EXEEXT_FALSE=
   20189 fi
   20190 
   20191 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   20192   as_fn_error $? "conditional \"AMDEP\" was never defined.
   20193 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20194 fi
   20195 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   20196   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   20197 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20198 fi
   20199 if test -z "${ENABLE_SPECS_TRUE}" && test -z "${ENABLE_SPECS_FALSE}"; then
   20200   as_fn_error $? "conditional \"ENABLE_SPECS\" was never defined.
   20201 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20202 fi
   20203 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   20204   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   20205 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20206 fi
   20207 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   20208   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   20209 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20210 fi
   20211 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   20212   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   20213 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20214 fi
   20215 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
   20216   as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
   20217 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20218 fi
   20219 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   20220   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   20221 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20222 fi
   20223 if test -z "${HAVE_PERL_TRUE}" && test -z "${HAVE_PERL_FALSE}"; then
   20224   as_fn_error $? "conditional \"HAVE_PERL\" was never defined.
   20225 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20226 fi
   20227 if test -z "${ENABLE_UNIT_TESTS_TRUE}" && test -z "${ENABLE_UNIT_TESTS_FALSE}"; then
   20228   as_fn_error $? "conditional \"ENABLE_UNIT_TESTS\" was never defined.
   20229 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20230 fi
   20231 if test -z "${HAVE_GLIB_TRUE}" && test -z "${HAVE_GLIB_FALSE}"; then
   20232   as_fn_error $? "conditional \"HAVE_GLIB\" was never defined.
   20233 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20234 fi
   20235 
   20236 : "${CONFIG_STATUS=./config.status}"
   20237 ac_write_fail=0
   20238 ac_clean_files_save=$ac_clean_files
   20239 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   20240 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   20241 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   20242 as_write_fail=0
   20243 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   20244 #! $SHELL
   20245 # Generated by $as_me.
   20246 # Run this file to recreate the current configuration.
   20247 # Compiler output produced by configure, useful for debugging
   20248 # configure, is in config.log if it exists.
   20249 
   20250 debug=false
   20251 ac_cs_recheck=false
   20252 ac_cs_silent=false
   20253 
   20254 SHELL=\${CONFIG_SHELL-$SHELL}
   20255 export SHELL
   20256 _ASEOF
   20257 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   20258 ## -------------------- ##
   20259 ## M4sh Initialization. ##
   20260 ## -------------------- ##
   20261 
   20262 # Be more Bourne compatible
   20263 DUALCASE=1; export DUALCASE # for MKS sh
   20264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   20265   emulate sh
   20266   NULLCMD=:
   20267   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   20268   # is contrary to our usage.  Disable this feature.
   20269   alias -g '${1+"$@"}'='"$@"'
   20270   setopt NO_GLOB_SUBST
   20271 else
   20272   case `(set -o) 2>/dev/null` in #(
   20273   *posix*) :
   20274     set -o posix ;; #(
   20275   *) :
   20276      ;;
   20277 esac
   20278 fi
   20279 
   20280 
   20281 as_nl='
   20282 '
   20283 export as_nl
   20284 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   20285 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   20286 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   20287 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   20288 # Prefer a ksh shell builtin over an external printf program on Solaris,
   20289 # but without wasting forks for bash or zsh.
   20290 if test -z "$BASH_VERSION$ZSH_VERSION" \
   20291     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   20292   as_echo='print -r --'
   20293   as_echo_n='print -rn --'
   20294 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   20295   as_echo='printf %s\n'
   20296   as_echo_n='printf %s'
   20297 else
   20298   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   20299     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   20300     as_echo_n='/usr/ucb/echo -n'
   20301   else
   20302     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   20303     as_echo_n_body='eval
   20304       arg=$1;
   20305       case $arg in #(
   20306       *"$as_nl"*)
   20307 	expr "X$arg" : "X\\(.*\\)$as_nl";
   20308 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   20309       esac;
   20310       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   20311     '
   20312     export as_echo_n_body
   20313     as_echo_n='sh -c $as_echo_n_body as_echo'
   20314   fi
   20315   export as_echo_body
   20316   as_echo='sh -c $as_echo_body as_echo'
   20317 fi
   20318 
   20319 # The user is always right.
   20320 if test "${PATH_SEPARATOR+set}" != set; then
   20321   PATH_SEPARATOR=:
   20322   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   20323     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   20324       PATH_SEPARATOR=';'
   20325   }
   20326 fi
   20327 
   20328 
   20329 # IFS
   20330 # We need space, tab and new line, in precisely that order.  Quoting is
   20331 # there to prevent editors from complaining about space-tab.
   20332 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   20333 # splitting by setting IFS to empty value.)
   20334 IFS=" ""	$as_nl"
   20335 
   20336 # Find who we are.  Look in the path if we contain no directory separator.
   20337 as_myself=
   20338 case $0 in #((
   20339   *[\\/]* ) as_myself=$0 ;;
   20340   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20341 for as_dir in $PATH
   20342 do
   20343   IFS=$as_save_IFS
   20344   test -z "$as_dir" && as_dir=.
   20345     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   20346   done
   20347 IFS=$as_save_IFS
   20348 
   20349      ;;
   20350 esac
   20351 # We did not find ourselves, most probably we were run as `sh COMMAND'
   20352 # in which case we are not to be found in the path.
   20353 if test "x$as_myself" = x; then
   20354   as_myself=$0
   20355 fi
   20356 if test ! -f "$as_myself"; then
   20357   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   20358   exit 1
   20359 fi
   20360 
   20361 # Unset variables that we do not need and which cause bugs (e.g. in
   20362 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   20363 # suppresses any "Segmentation fault" message there.  '((' could
   20364 # trigger a bug in pdksh 5.2.14.
   20365 for as_var in BASH_ENV ENV MAIL MAILPATH
   20366 do eval test x\${$as_var+set} = xset \
   20367   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   20368 done
   20369 PS1='$ '
   20370 PS2='> '
   20371 PS4='+ '
   20372 
   20373 # NLS nuisances.
   20374 LC_ALL=C
   20375 export LC_ALL
   20376 LANGUAGE=C
   20377 export LANGUAGE
   20378 
   20379 # CDPATH.
   20380 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   20381 
   20382 
   20383 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   20384 # ----------------------------------------
   20385 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   20386 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   20387 # script with STATUS, using 1 if that was 0.
   20388 as_fn_error ()
   20389 {
   20390   as_status=$1; test $as_status -eq 0 && as_status=1
   20391   if test "$4"; then
   20392     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   20393     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   20394   fi
   20395   $as_echo "$as_me: error: $2" >&2
   20396   as_fn_exit $as_status
   20397 } # as_fn_error
   20398 
   20399 
   20400 # as_fn_set_status STATUS
   20401 # -----------------------
   20402 # Set $? to STATUS, without forking.
   20403 as_fn_set_status ()
   20404 {
   20405   return $1
   20406 } # as_fn_set_status
   20407 
   20408 # as_fn_exit STATUS
   20409 # -----------------
   20410 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   20411 as_fn_exit ()
   20412 {
   20413   set +e
   20414   as_fn_set_status $1
   20415   exit $1
   20416 } # as_fn_exit
   20417 
   20418 # as_fn_unset VAR
   20419 # ---------------
   20420 # Portably unset VAR.
   20421 as_fn_unset ()
   20422 {
   20423   { eval $1=; unset $1;}
   20424 }
   20425 as_unset=as_fn_unset
   20426 # as_fn_append VAR VALUE
   20427 # ----------------------
   20428 # Append the text in VALUE to the end of the definition contained in VAR. Take
   20429 # advantage of any shell optimizations that allow amortized linear growth over
   20430 # repeated appends, instead of the typical quadratic growth present in naive
   20431 # implementations.
   20432 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   20433   eval 'as_fn_append ()
   20434   {
   20435     eval $1+=\$2
   20436   }'
   20437 else
   20438   as_fn_append ()
   20439   {
   20440     eval $1=\$$1\$2
   20441   }
   20442 fi # as_fn_append
   20443 
   20444 # as_fn_arith ARG...
   20445 # ------------------
   20446 # Perform arithmetic evaluation on the ARGs, and store the result in the
   20447 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   20448 # must be portable across $(()) and expr.
   20449 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   20450   eval 'as_fn_arith ()
   20451   {
   20452     as_val=$(( $* ))
   20453   }'
   20454 else
   20455   as_fn_arith ()
   20456   {
   20457     as_val=`expr "$@" || test $? -eq 1`
   20458   }
   20459 fi # as_fn_arith
   20460 
   20461 
   20462 if expr a : '\(a\)' >/dev/null 2>&1 &&
   20463    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   20464   as_expr=expr
   20465 else
   20466   as_expr=false
   20467 fi
   20468 
   20469 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   20470   as_basename=basename
   20471 else
   20472   as_basename=false
   20473 fi
   20474 
   20475 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   20476   as_dirname=dirname
   20477 else
   20478   as_dirname=false
   20479 fi
   20480 
   20481 as_me=`$as_basename -- "$0" ||
   20482 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   20483 	 X"$0" : 'X\(//\)$' \| \
   20484 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   20485 $as_echo X/"$0" |
   20486     sed '/^.*\/\([^/][^/]*\)\/*$/{
   20487 	    s//\1/
   20488 	    q
   20489 	  }
   20490 	  /^X\/\(\/\/\)$/{
   20491 	    s//\1/
   20492 	    q
   20493 	  }
   20494 	  /^X\/\(\/\).*/{
   20495 	    s//\1/
   20496 	    q
   20497 	  }
   20498 	  s/.*/./; q'`
   20499 
   20500 # Avoid depending upon Character Ranges.
   20501 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   20502 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   20503 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   20504 as_cr_digits='0123456789'
   20505 as_cr_alnum=$as_cr_Letters$as_cr_digits
   20506 
   20507 ECHO_C= ECHO_N= ECHO_T=
   20508 case `echo -n x` in #(((((
   20509 -n*)
   20510   case `echo 'xy\c'` in
   20511   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   20512   xy)  ECHO_C='\c';;
   20513   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   20514        ECHO_T='	';;
   20515   esac;;
   20516 *)
   20517   ECHO_N='-n';;
   20518 esac
   20519 
   20520 rm -f conf$$ conf$$.exe conf$$.file
   20521 if test -d conf$$.dir; then
   20522   rm -f conf$$.dir/conf$$.file
   20523 else
   20524   rm -f conf$$.dir
   20525   mkdir conf$$.dir 2>/dev/null
   20526 fi
   20527 if (echo >conf$$.file) 2>/dev/null; then
   20528   if ln -s conf$$.file conf$$ 2>/dev/null; then
   20529     as_ln_s='ln -s'
   20530     # ... but there are two gotchas:
   20531     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   20532     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   20533     # In both cases, we have to default to `cp -pR'.
   20534     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   20535       as_ln_s='cp -pR'
   20536   elif ln conf$$.file conf$$ 2>/dev/null; then
   20537     as_ln_s=ln
   20538   else
   20539     as_ln_s='cp -pR'
   20540   fi
   20541 else
   20542   as_ln_s='cp -pR'
   20543 fi
   20544 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   20545 rmdir conf$$.dir 2>/dev/null
   20546 
   20547 
   20548 # as_fn_mkdir_p
   20549 # -------------
   20550 # Create "$as_dir" as a directory, including parents if necessary.
   20551 as_fn_mkdir_p ()
   20552 {
   20553 
   20554   case $as_dir in #(
   20555   -*) as_dir=./$as_dir;;
   20556   esac
   20557   test -d "$as_dir" || eval $as_mkdir_p || {
   20558     as_dirs=
   20559     while :; do
   20560       case $as_dir in #(
   20561       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   20562       *) as_qdir=$as_dir;;
   20563       esac
   20564       as_dirs="'$as_qdir' $as_dirs"
   20565       as_dir=`$as_dirname -- "$as_dir" ||
   20566 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20567 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   20568 	 X"$as_dir" : 'X\(//\)$' \| \
   20569 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   20570 $as_echo X"$as_dir" |
   20571     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20572 	    s//\1/
   20573 	    q
   20574 	  }
   20575 	  /^X\(\/\/\)[^/].*/{
   20576 	    s//\1/
   20577 	    q
   20578 	  }
   20579 	  /^X\(\/\/\)$/{
   20580 	    s//\1/
   20581 	    q
   20582 	  }
   20583 	  /^X\(\/\).*/{
   20584 	    s//\1/
   20585 	    q
   20586 	  }
   20587 	  s/.*/./; q'`
   20588       test -d "$as_dir" && break
   20589     done
   20590     test -z "$as_dirs" || eval "mkdir $as_dirs"
   20591   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   20592 
   20593 
   20594 } # as_fn_mkdir_p
   20595 if mkdir -p . 2>/dev/null; then
   20596   as_mkdir_p='mkdir -p "$as_dir"'
   20597 else
   20598   test -d ./-p && rmdir ./-p
   20599   as_mkdir_p=false
   20600 fi
   20601 
   20602 
   20603 # as_fn_executable_p FILE
   20604 # -----------------------
   20605 # Test if FILE is an executable regular file.
   20606 as_fn_executable_p ()
   20607 {
   20608   test -f "$1" && test -x "$1"
   20609 } # as_fn_executable_p
   20610 as_test_x='test -x'
   20611 as_executable_p=as_fn_executable_p
   20612 
   20613 # Sed expression to map a string onto a valid CPP name.
   20614 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   20615 
   20616 # Sed expression to map a string onto a valid variable name.
   20617 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   20618 
   20619 
   20620 exec 6>&1
   20621 ## ----------------------------------- ##
   20622 ## Main body of $CONFIG_STATUS script. ##
   20623 ## ----------------------------------- ##
   20624 _ASEOF
   20625 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   20626 
   20627 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20628 # Save the log message, to keep $0 and so on meaningful, and to
   20629 # report actual input values of CONFIG_FILES etc. instead of their
   20630 # values after options handling.
   20631 ac_log="
   20632 This file was extended by libXt $as_me 1.2.0, which was
   20633 generated by GNU Autoconf 2.69.  Invocation command line was
   20634 
   20635   CONFIG_FILES    = $CONFIG_FILES
   20636   CONFIG_HEADERS  = $CONFIG_HEADERS
   20637   CONFIG_LINKS    = $CONFIG_LINKS
   20638   CONFIG_COMMANDS = $CONFIG_COMMANDS
   20639   $ $0 $@
   20640 
   20641 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   20642 "
   20643 
   20644 _ACEOF
   20645 
   20646 case $ac_config_files in *"
   20647 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   20648 esac
   20649 
   20650 case $ac_config_headers in *"
   20651 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   20652 esac
   20653 
   20654 
   20655 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20656 # Files that config.status was made for.
   20657 config_files="$ac_config_files"
   20658 config_headers="$ac_config_headers"
   20659 config_commands="$ac_config_commands"
   20660 
   20661 _ACEOF
   20662 
   20663 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20664 ac_cs_usage="\
   20665 \`$as_me' instantiates files and other configuration actions
   20666 from templates according to the current configuration.  Unless the files
   20667 and actions are specified as TAGs, all are instantiated by default.
   20668 
   20669 Usage: $0 [OPTION]... [TAG]...
   20670 
   20671   -h, --help       print this help, then exit
   20672   -V, --version    print version number and configuration settings, then exit
   20673       --config     print configuration, then exit
   20674   -q, --quiet, --silent
   20675                    do not print progress messages
   20676   -d, --debug      don't remove temporary files
   20677       --recheck    update $as_me by reconfiguring in the same conditions
   20678       --file=FILE[:TEMPLATE]
   20679                    instantiate the configuration file FILE
   20680       --header=FILE[:TEMPLATE]
   20681                    instantiate the configuration header FILE
   20682 
   20683 Configuration files:
   20684 $config_files
   20685 
   20686 Configuration headers:
   20687 $config_headers
   20688 
   20689 Configuration commands:
   20690 $config_commands
   20691 
   20692 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libXt/issues>."
   20693 
   20694 _ACEOF
   20695 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20696 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   20697 ac_cs_version="\\
   20698 libXt config.status 1.2.0
   20699 configured by $0, generated by GNU Autoconf 2.69,
   20700   with options \\"\$ac_cs_config\\"
   20701 
   20702 Copyright (C) 2012 Free Software Foundation, Inc.
   20703 This config.status script is free software; the Free Software Foundation
   20704 gives unlimited permission to copy, distribute and modify it."
   20705 
   20706 ac_pwd='$ac_pwd'
   20707 srcdir='$srcdir'
   20708 INSTALL='$INSTALL'
   20709 MKDIR_P='$MKDIR_P'
   20710 AWK='$AWK'
   20711 test -n "\$AWK" || AWK=awk
   20712 _ACEOF
   20713 
   20714 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20715 # The default lists apply if the user does not specify any file.
   20716 ac_need_defaults=:
   20717 while test $# != 0
   20718 do
   20719   case $1 in
   20720   --*=?*)
   20721     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20722     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   20723     ac_shift=:
   20724     ;;
   20725   --*=)
   20726     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20727     ac_optarg=
   20728     ac_shift=:
   20729     ;;
   20730   *)
   20731     ac_option=$1
   20732     ac_optarg=$2
   20733     ac_shift=shift
   20734     ;;
   20735   esac
   20736 
   20737   case $ac_option in
   20738   # Handling of the options.
   20739   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   20740     ac_cs_recheck=: ;;
   20741   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   20742     $as_echo "$ac_cs_version"; exit ;;
   20743   --config | --confi | --conf | --con | --co | --c )
   20744     $as_echo "$ac_cs_config"; exit ;;
   20745   --debug | --debu | --deb | --de | --d | -d )
   20746     debug=: ;;
   20747   --file | --fil | --fi | --f )
   20748     $ac_shift
   20749     case $ac_optarg in
   20750     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20751     '') as_fn_error $? "missing file argument" ;;
   20752     esac
   20753     as_fn_append CONFIG_FILES " '$ac_optarg'"
   20754     ac_need_defaults=false;;
   20755   --header | --heade | --head | --hea )
   20756     $ac_shift
   20757     case $ac_optarg in
   20758     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20759     esac
   20760     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   20761     ac_need_defaults=false;;
   20762   --he | --h)
   20763     # Conflict between --help and --header
   20764     as_fn_error $? "ambiguous option: \`$1'
   20765 Try \`$0 --help' for more information.";;
   20766   --help | --hel | -h )
   20767     $as_echo "$ac_cs_usage"; exit ;;
   20768   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   20769   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   20770     ac_cs_silent=: ;;
   20771 
   20772   # This is an error.
   20773   -*) as_fn_error $? "unrecognized option: \`$1'
   20774 Try \`$0 --help' for more information." ;;
   20775 
   20776   *) as_fn_append ac_config_targets " $1"
   20777      ac_need_defaults=false ;;
   20778 
   20779   esac
   20780   shift
   20781 done
   20782 
   20783 ac_configure_extra_args=
   20784 
   20785 if $ac_cs_silent; then
   20786   exec 6>/dev/null
   20787   ac_configure_extra_args="$ac_configure_extra_args --silent"
   20788 fi
   20789 
   20790 _ACEOF
   20791 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20792 if \$ac_cs_recheck; then
   20793   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   20794   shift
   20795   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   20796   CONFIG_SHELL='$SHELL'
   20797   export CONFIG_SHELL
   20798   exec "\$@"
   20799 fi
   20800 
   20801 _ACEOF
   20802 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20803 exec 5>>config.log
   20804 {
   20805   echo
   20806   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   20807 ## Running $as_me. ##
   20808 _ASBOX
   20809   $as_echo "$ac_log"
   20810 } >&5
   20811 
   20812 _ACEOF
   20813 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20814 #
   20815 # INIT-COMMANDS
   20816 #
   20817 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   20818 
   20819 
   20820 # The HP-UX ksh and POSIX shell print the target directory to stdout
   20821 # if CDPATH is set.
   20822 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   20823 
   20824 sed_quote_subst='$sed_quote_subst'
   20825 double_quote_subst='$double_quote_subst'
   20826 delay_variable_subst='$delay_variable_subst'
   20827 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   20828 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   20829 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   20830 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   20831 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   20832 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   20833 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   20834 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   20835 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   20836 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   20837 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   20838 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   20839 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   20840 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   20841 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   20842 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   20843 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   20844 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   20845 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   20846 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   20847 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   20848 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   20849 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   20850 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   20851 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   20852 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   20853 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   20854 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   20855 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   20856 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   20857 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   20858 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   20859 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   20860 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   20861 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   20862 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   20863 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   20864 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   20865 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   20866 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   20867 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   20868 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   20869 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   20870 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   20871 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   20872 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   20873 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20874 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20875 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   20876 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   20877 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   20878 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   20879 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   20880 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   20881 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   20882 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   20883 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   20884 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   20885 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"`'
   20886 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   20887 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   20888 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   20889 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   20890 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   20891 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   20892 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   20893 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   20894 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   20895 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   20896 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   20897 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   20898 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   20899 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   20900 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   20901 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   20902 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   20903 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   20904 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   20905 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   20906 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20907 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   20908 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   20909 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   20910 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   20911 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   20912 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   20913 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20914 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   20915 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20916 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   20917 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20918 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   20919 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20920 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20921 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   20922 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   20923 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   20924 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   20925 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   20926 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20927 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   20928 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   20929 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   20930 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   20931 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   20932 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   20933 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   20934 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   20935 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   20936 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   20937 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   20938 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   20939 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   20940 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   20941 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   20942 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20943 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   20944 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   20945 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   20946 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   20947 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   20948 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20949 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20950 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   20951 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   20952 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   20953 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   20954 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   20955 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   20956 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   20957 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   20958 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   20959 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   20960 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   20961 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   20962 
   20963 LTCC='$LTCC'
   20964 LTCFLAGS='$LTCFLAGS'
   20965 compiler='$compiler_DEFAULT'
   20966 
   20967 # A function that is used when there is no print builtin or printf.
   20968 func_fallback_echo ()
   20969 {
   20970   eval 'cat <<_LTECHO_EOF
   20971 \$1
   20972 _LTECHO_EOF'
   20973 }
   20974 
   20975 # Quote evaled strings.
   20976 for var in SHELL \
   20977 ECHO \
   20978 PATH_SEPARATOR \
   20979 SED \
   20980 GREP \
   20981 EGREP \
   20982 FGREP \
   20983 LD \
   20984 NM \
   20985 LN_S \
   20986 lt_SP2NL \
   20987 lt_NL2SP \
   20988 reload_flag \
   20989 OBJDUMP \
   20990 deplibs_check_method \
   20991 file_magic_cmd \
   20992 file_magic_glob \
   20993 want_nocaseglob \
   20994 DLLTOOL \
   20995 sharedlib_from_linklib_cmd \
   20996 AR \
   20997 AR_FLAGS \
   20998 archiver_list_spec \
   20999 STRIP \
   21000 RANLIB \
   21001 CC \
   21002 CFLAGS \
   21003 compiler \
   21004 lt_cv_sys_global_symbol_pipe \
   21005 lt_cv_sys_global_symbol_to_cdecl \
   21006 lt_cv_sys_global_symbol_to_import \
   21007 lt_cv_sys_global_symbol_to_c_name_address \
   21008 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   21009 lt_cv_nm_interface \
   21010 nm_file_list_spec \
   21011 lt_cv_truncate_bin \
   21012 lt_prog_compiler_no_builtin_flag \
   21013 lt_prog_compiler_pic \
   21014 lt_prog_compiler_wl \
   21015 lt_prog_compiler_static \
   21016 lt_cv_prog_compiler_c_o \
   21017 need_locks \
   21018 MANIFEST_TOOL \
   21019 DSYMUTIL \
   21020 NMEDIT \
   21021 LIPO \
   21022 OTOOL \
   21023 OTOOL64 \
   21024 shrext_cmds \
   21025 export_dynamic_flag_spec \
   21026 whole_archive_flag_spec \
   21027 compiler_needs_object \
   21028 with_gnu_ld \
   21029 allow_undefined_flag \
   21030 no_undefined_flag \
   21031 hardcode_libdir_flag_spec \
   21032 hardcode_libdir_separator \
   21033 exclude_expsyms \
   21034 include_expsyms \
   21035 file_list_spec \
   21036 variables_saved_for_relink \
   21037 libname_spec \
   21038 library_names_spec \
   21039 soname_spec \
   21040 install_override_mode \
   21041 finish_eval \
   21042 old_striplib \
   21043 striplib; do
   21044     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21045     *[\\\\\\\`\\"\\\$]*)
   21046       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21047       ;;
   21048     *)
   21049       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21050       ;;
   21051     esac
   21052 done
   21053 
   21054 # Double-quote double-evaled strings.
   21055 for var in reload_cmds \
   21056 old_postinstall_cmds \
   21057 old_postuninstall_cmds \
   21058 old_archive_cmds \
   21059 extract_expsyms_cmds \
   21060 old_archive_from_new_cmds \
   21061 old_archive_from_expsyms_cmds \
   21062 archive_cmds \
   21063 archive_expsym_cmds \
   21064 module_cmds \
   21065 module_expsym_cmds \
   21066 export_symbols_cmds \
   21067 prelink_cmds \
   21068 postlink_cmds \
   21069 postinstall_cmds \
   21070 postuninstall_cmds \
   21071 finish_cmds \
   21072 sys_lib_search_path_spec \
   21073 configure_time_dlsearch_path \
   21074 configure_time_lt_sys_library_path; do
   21075     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21076     *[\\\\\\\`\\"\\\$]*)
   21077       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21078       ;;
   21079     *)
   21080       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21081       ;;
   21082     esac
   21083 done
   21084 
   21085 ac_aux_dir='$ac_aux_dir'
   21086 
   21087 # See if we are running on zsh, and set the options that allow our
   21088 # commands through without removal of \ escapes INIT.
   21089 if test -n "\${ZSH_VERSION+set}"; then
   21090    setopt NO_GLOB_SUBST
   21091 fi
   21092 
   21093 
   21094     PACKAGE='$PACKAGE'
   21095     VERSION='$VERSION'
   21096     RM='$RM'
   21097     ofile='$ofile'
   21098 
   21099 
   21100 
   21101 
   21102 _ACEOF
   21103 
   21104 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21105 
   21106 # Handling of arguments.
   21107 for ac_config_target in $ac_config_targets
   21108 do
   21109   case $ac_config_target in
   21110     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   21111     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   21112     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   21113     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   21114     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   21115     "util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
   21116     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   21117     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   21118     "specs/Makefile") CONFIG_FILES="$CONFIG_FILES specs/Makefile" ;;
   21119     "specs/libXt.ent") CONFIG_FILES="$CONFIG_FILES specs/libXt.ent" ;;
   21120     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
   21121     "xt.pc") CONFIG_FILES="$CONFIG_FILES xt.pc" ;;
   21122 
   21123   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   21124   esac
   21125 done
   21126 
   21127 
   21128 # If the user did not use the arguments to specify the items to instantiate,
   21129 # then the envvar interface is used.  Set only those that are not.
   21130 # We use the long form for the default assignment because of an extremely
   21131 # bizarre bug on SunOS 4.1.3.
   21132 if $ac_need_defaults; then
   21133   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   21134   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   21135   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   21136 fi
   21137 
   21138 # Have a temporary directory for convenience.  Make it in the build tree
   21139 # simply because there is no reason against having it here, and in addition,
   21140 # creating and moving files from /tmp can sometimes cause problems.
   21141 # Hook for its removal unless debugging.
   21142 # Note that there is a small window in which the directory will not be cleaned:
   21143 # after its creation but before its name has been assigned to `$tmp'.
   21144 $debug ||
   21145 {
   21146   tmp= ac_tmp=
   21147   trap 'exit_status=$?
   21148   : "${ac_tmp:=$tmp}"
   21149   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   21150 ' 0
   21151   trap 'as_fn_exit 1' 1 2 13 15
   21152 }
   21153 # Create a (secure) tmp directory for tmp files.
   21154 
   21155 {
   21156   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   21157   test -d "$tmp"
   21158 }  ||
   21159 {
   21160   tmp=./conf$$-$RANDOM
   21161   (umask 077 && mkdir "$tmp")
   21162 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   21163 ac_tmp=$tmp
   21164 
   21165 # Set up the scripts for CONFIG_FILES section.
   21166 # No need to generate them if there are no CONFIG_FILES.
   21167 # This happens for instance with `./config.status config.h'.
   21168 if test -n "$CONFIG_FILES"; then
   21169 
   21170 
   21171 ac_cr=`echo X | tr X '\015'`
   21172 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   21173 # But we know of no other shell where ac_cr would be empty at this
   21174 # point, so we can use a bashism as a fallback.
   21175 if test "x$ac_cr" = x; then
   21176   eval ac_cr=\$\'\\r\'
   21177 fi
   21178 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   21179 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   21180   ac_cs_awk_cr='\\r'
   21181 else
   21182   ac_cs_awk_cr=$ac_cr
   21183 fi
   21184 
   21185 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   21186 _ACEOF
   21187 
   21188 
   21189 {
   21190   echo "cat >conf$$subs.awk <<_ACEOF" &&
   21191   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   21192   echo "_ACEOF"
   21193 } >conf$$subs.sh ||
   21194   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21195 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   21196 ac_delim='%!_!# '
   21197 for ac_last_try in false false false false false :; do
   21198   . ./conf$$subs.sh ||
   21199     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21200 
   21201   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   21202   if test $ac_delim_n = $ac_delim_num; then
   21203     break
   21204   elif $ac_last_try; then
   21205     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21206   else
   21207     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21208   fi
   21209 done
   21210 rm -f conf$$subs.sh
   21211 
   21212 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21213 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   21214 _ACEOF
   21215 sed -n '
   21216 h
   21217 s/^/S["/; s/!.*/"]=/
   21218 p
   21219 g
   21220 s/^[^!]*!//
   21221 :repl
   21222 t repl
   21223 s/'"$ac_delim"'$//
   21224 t delim
   21225 :nl
   21226 h
   21227 s/\(.\{148\}\)..*/\1/
   21228 t more1
   21229 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   21230 p
   21231 n
   21232 b repl
   21233 :more1
   21234 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21235 p
   21236 g
   21237 s/.\{148\}//
   21238 t nl
   21239 :delim
   21240 h
   21241 s/\(.\{148\}\)..*/\1/
   21242 t more2
   21243 s/["\\]/\\&/g; s/^/"/; s/$/"/
   21244 p
   21245 b
   21246 :more2
   21247 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21248 p
   21249 g
   21250 s/.\{148\}//
   21251 t delim
   21252 ' <conf$$subs.awk | sed '
   21253 /^[^""]/{
   21254   N
   21255   s/\n//
   21256 }
   21257 ' >>$CONFIG_STATUS || ac_write_fail=1
   21258 rm -f conf$$subs.awk
   21259 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21260 _ACAWK
   21261 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   21262   for (key in S) S_is_set[key] = 1
   21263   FS = ""
   21264 
   21265 }
   21266 {
   21267   line = $ 0
   21268   nfields = split(line, field, "@")
   21269   substed = 0
   21270   len = length(field[1])
   21271   for (i = 2; i < nfields; i++) {
   21272     key = field[i]
   21273     keylen = length(key)
   21274     if (S_is_set[key]) {
   21275       value = S[key]
   21276       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   21277       len += length(value) + length(field[++i])
   21278       substed = 1
   21279     } else
   21280       len += 1 + keylen
   21281   }
   21282 
   21283   print line
   21284 }
   21285 
   21286 _ACAWK
   21287 _ACEOF
   21288 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21289 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   21290   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   21291 else
   21292   cat
   21293 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   21294   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   21295 _ACEOF
   21296 
   21297 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   21298 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   21299 # trailing colons and then remove the whole line if VPATH becomes empty
   21300 # (actually we leave an empty line to preserve line numbers).
   21301 if test "x$srcdir" = x.; then
   21302   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   21303 h
   21304 s///
   21305 s/^/:/
   21306 s/[	 ]*$/:/
   21307 s/:\$(srcdir):/:/g
   21308 s/:\${srcdir}:/:/g
   21309 s/:@srcdir@:/:/g
   21310 s/^:*//
   21311 s/:*$//
   21312 x
   21313 s/\(=[	 ]*\).*/\1/
   21314 G
   21315 s/\n//
   21316 s/^[^=]*=[	 ]*$//
   21317 }'
   21318 fi
   21319 
   21320 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21321 fi # test -n "$CONFIG_FILES"
   21322 
   21323 # Set up the scripts for CONFIG_HEADERS section.
   21324 # No need to generate them if there are no CONFIG_HEADERS.
   21325 # This happens for instance with `./config.status Makefile'.
   21326 if test -n "$CONFIG_HEADERS"; then
   21327 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   21328 BEGIN {
   21329 _ACEOF
   21330 
   21331 # Transform confdefs.h into an awk script `defines.awk', embedded as
   21332 # here-document in config.status, that substitutes the proper values into
   21333 # config.h.in to produce config.h.
   21334 
   21335 # Create a delimiter string that does not exist in confdefs.h, to ease
   21336 # handling of long lines.
   21337 ac_delim='%!_!# '
   21338 for ac_last_try in false false :; do
   21339   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   21340   if test -z "$ac_tt"; then
   21341     break
   21342   elif $ac_last_try; then
   21343     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   21344   else
   21345     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21346   fi
   21347 done
   21348 
   21349 # For the awk script, D is an array of macro values keyed by name,
   21350 # likewise P contains macro parameters if any.  Preserve backslash
   21351 # newline sequences.
   21352 
   21353 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   21354 sed -n '
   21355 s/.\{148\}/&'"$ac_delim"'/g
   21356 t rset
   21357 :rset
   21358 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   21359 t def
   21360 d
   21361 :def
   21362 s/\\$//
   21363 t bsnl
   21364 s/["\\]/\\&/g
   21365 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21366 D["\1"]=" \3"/p
   21367 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   21368 d
   21369 :bsnl
   21370 s/["\\]/\\&/g
   21371 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21372 D["\1"]=" \3\\\\\\n"\\/p
   21373 t cont
   21374 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   21375 t cont
   21376 d
   21377 :cont
   21378 n
   21379 s/.\{148\}/&'"$ac_delim"'/g
   21380 t clear
   21381 :clear
   21382 s/\\$//
   21383 t bsnlc
   21384 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   21385 d
   21386 :bsnlc
   21387 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   21388 b cont
   21389 ' <confdefs.h | sed '
   21390 s/'"$ac_delim"'/"\\\
   21391 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   21392 
   21393 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21394   for (key in D) D_is_set[key] = 1
   21395   FS = ""
   21396 }
   21397 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   21398   line = \$ 0
   21399   split(line, arg, " ")
   21400   if (arg[1] == "#") {
   21401     defundef = arg[2]
   21402     mac1 = arg[3]
   21403   } else {
   21404     defundef = substr(arg[1], 2)
   21405     mac1 = arg[2]
   21406   }
   21407   split(mac1, mac2, "(") #)
   21408   macro = mac2[1]
   21409   prefix = substr(line, 1, index(line, defundef) - 1)
   21410   if (D_is_set[macro]) {
   21411     # Preserve the white space surrounding the "#".
   21412     print prefix "define", macro P[macro] D[macro]
   21413     next
   21414   } else {
   21415     # Replace #undef with comments.  This is necessary, for example,
   21416     # in the case of _POSIX_SOURCE, which is predefined and required
   21417     # on some systems where configure will not decide to define it.
   21418     if (defundef == "undef") {
   21419       print "/*", prefix defundef, macro, "*/"
   21420       next
   21421     }
   21422   }
   21423 }
   21424 { print }
   21425 _ACAWK
   21426 _ACEOF
   21427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21428   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   21429 fi # test -n "$CONFIG_HEADERS"
   21430 
   21431 
   21432 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   21433 shift
   21434 for ac_tag
   21435 do
   21436   case $ac_tag in
   21437   :[FHLC]) ac_mode=$ac_tag; continue;;
   21438   esac
   21439   case $ac_mode$ac_tag in
   21440   :[FHL]*:*);;
   21441   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   21442   :[FH]-) ac_tag=-:-;;
   21443   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   21444   esac
   21445   ac_save_IFS=$IFS
   21446   IFS=:
   21447   set x $ac_tag
   21448   IFS=$ac_save_IFS
   21449   shift
   21450   ac_file=$1
   21451   shift
   21452 
   21453   case $ac_mode in
   21454   :L) ac_source=$1;;
   21455   :[FH])
   21456     ac_file_inputs=
   21457     for ac_f
   21458     do
   21459       case $ac_f in
   21460       -) ac_f="$ac_tmp/stdin";;
   21461       *) # Look for the file first in the build tree, then in the source tree
   21462 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   21463 	 # because $ac_f cannot contain `:'.
   21464 	 test -f "$ac_f" ||
   21465 	   case $ac_f in
   21466 	   [\\/$]*) false;;
   21467 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   21468 	   esac ||
   21469 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   21470       esac
   21471       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   21472       as_fn_append ac_file_inputs " '$ac_f'"
   21473     done
   21474 
   21475     # Let's still pretend it is `configure' which instantiates (i.e., don't
   21476     # use $as_me), people would be surprised to read:
   21477     #    /* config.h.  Generated by config.status.  */
   21478     configure_input='Generated from '`
   21479 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   21480 	`' by configure.'
   21481     if test x"$ac_file" != x-; then
   21482       configure_input="$ac_file.  $configure_input"
   21483       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   21484 $as_echo "$as_me: creating $ac_file" >&6;}
   21485     fi
   21486     # Neutralize special characters interpreted by sed in replacement strings.
   21487     case $configure_input in #(
   21488     *\&* | *\|* | *\\* )
   21489        ac_sed_conf_input=`$as_echo "$configure_input" |
   21490        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   21491     *) ac_sed_conf_input=$configure_input;;
   21492     esac
   21493 
   21494     case $ac_tag in
   21495     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   21496       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   21497     esac
   21498     ;;
   21499   esac
   21500 
   21501   ac_dir=`$as_dirname -- "$ac_file" ||
   21502 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21503 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   21504 	 X"$ac_file" : 'X\(//\)$' \| \
   21505 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   21506 $as_echo X"$ac_file" |
   21507     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21508 	    s//\1/
   21509 	    q
   21510 	  }
   21511 	  /^X\(\/\/\)[^/].*/{
   21512 	    s//\1/
   21513 	    q
   21514 	  }
   21515 	  /^X\(\/\/\)$/{
   21516 	    s//\1/
   21517 	    q
   21518 	  }
   21519 	  /^X\(\/\).*/{
   21520 	    s//\1/
   21521 	    q
   21522 	  }
   21523 	  s/.*/./; q'`
   21524   as_dir="$ac_dir"; as_fn_mkdir_p
   21525   ac_builddir=.
   21526 
   21527 case "$ac_dir" in
   21528 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21529 *)
   21530   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   21531   # A ".." for each directory in $ac_dir_suffix.
   21532   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   21533   case $ac_top_builddir_sub in
   21534   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21535   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   21536   esac ;;
   21537 esac
   21538 ac_abs_top_builddir=$ac_pwd
   21539 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   21540 # for backward compatibility:
   21541 ac_top_builddir=$ac_top_build_prefix
   21542 
   21543 case $srcdir in
   21544   .)  # We are building in place.
   21545     ac_srcdir=.
   21546     ac_top_srcdir=$ac_top_builddir_sub
   21547     ac_abs_top_srcdir=$ac_pwd ;;
   21548   [\\/]* | ?:[\\/]* )  # Absolute name.
   21549     ac_srcdir=$srcdir$ac_dir_suffix;
   21550     ac_top_srcdir=$srcdir
   21551     ac_abs_top_srcdir=$srcdir ;;
   21552   *) # Relative name.
   21553     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   21554     ac_top_srcdir=$ac_top_build_prefix$srcdir
   21555     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   21556 esac
   21557 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   21558 
   21559 
   21560   case $ac_mode in
   21561   :F)
   21562   #
   21563   # CONFIG_FILE
   21564   #
   21565 
   21566   case $INSTALL in
   21567   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   21568   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   21569   esac
   21570   ac_MKDIR_P=$MKDIR_P
   21571   case $MKDIR_P in
   21572   [\\/$]* | ?:[\\/]* ) ;;
   21573   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   21574   esac
   21575 _ACEOF
   21576 
   21577 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21578 # If the template does not know about datarootdir, expand it.
   21579 # FIXME: This hack should be removed a few years after 2.60.
   21580 ac_datarootdir_hack=; ac_datarootdir_seen=
   21581 ac_sed_dataroot='
   21582 /datarootdir/ {
   21583   p
   21584   q
   21585 }
   21586 /@datadir@/p
   21587 /@docdir@/p
   21588 /@infodir@/p
   21589 /@localedir@/p
   21590 /@mandir@/p'
   21591 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   21592 *datarootdir*) ac_datarootdir_seen=yes;;
   21593 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   21594   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   21595 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   21596 _ACEOF
   21597 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21598   ac_datarootdir_hack='
   21599   s&@datadir@&$datadir&g
   21600   s&@docdir@&$docdir&g
   21601   s&@infodir@&$infodir&g
   21602   s&@localedir@&$localedir&g
   21603   s&@mandir@&$mandir&g
   21604   s&\\\${datarootdir}&$datarootdir&g' ;;
   21605 esac
   21606 _ACEOF
   21607 
   21608 # Neutralize VPATH when `$srcdir' = `.'.
   21609 # Shell code in configure.ac might set extrasub.
   21610 # FIXME: do we really want to maintain this feature?
   21611 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21612 ac_sed_extra="$ac_vpsub
   21613 $extrasub
   21614 _ACEOF
   21615 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21616 :t
   21617 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   21618 s|@configure_input@|$ac_sed_conf_input|;t t
   21619 s&@top_builddir@&$ac_top_builddir_sub&;t t
   21620 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   21621 s&@srcdir@&$ac_srcdir&;t t
   21622 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   21623 s&@top_srcdir@&$ac_top_srcdir&;t t
   21624 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   21625 s&@builddir@&$ac_builddir&;t t
   21626 s&@abs_builddir@&$ac_abs_builddir&;t t
   21627 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   21628 s&@INSTALL@&$ac_INSTALL&;t t
   21629 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   21630 $ac_datarootdir_hack
   21631 "
   21632 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   21633   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21634 
   21635 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   21636   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   21637   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   21638       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   21639   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21640 which seems to be undefined.  Please make sure it is defined" >&5
   21641 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21642 which seems to be undefined.  Please make sure it is defined" >&2;}
   21643 
   21644   rm -f "$ac_tmp/stdin"
   21645   case $ac_file in
   21646   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   21647   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   21648   esac \
   21649   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21650  ;;
   21651   :H)
   21652   #
   21653   # CONFIG_HEADER
   21654   #
   21655   if test x"$ac_file" != x-; then
   21656     {
   21657       $as_echo "/* $configure_input  */" \
   21658       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   21659     } >"$ac_tmp/config.h" \
   21660       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21661     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   21662       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   21663 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   21664     else
   21665       rm -f "$ac_file"
   21666       mv "$ac_tmp/config.h" "$ac_file" \
   21667 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21668     fi
   21669   else
   21670     $as_echo "/* $configure_input  */" \
   21671       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   21672       || as_fn_error $? "could not create -" "$LINENO" 5
   21673   fi
   21674 # Compute "$ac_file"'s index in $config_headers.
   21675 _am_arg="$ac_file"
   21676 _am_stamp_count=1
   21677 for _am_header in $config_headers :; do
   21678   case $_am_header in
   21679     $_am_arg | $_am_arg:* )
   21680       break ;;
   21681     * )
   21682       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   21683   esac
   21684 done
   21685 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   21686 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21687 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   21688 	 X"$_am_arg" : 'X\(//\)$' \| \
   21689 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   21690 $as_echo X"$_am_arg" |
   21691     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21692 	    s//\1/
   21693 	    q
   21694 	  }
   21695 	  /^X\(\/\/\)[^/].*/{
   21696 	    s//\1/
   21697 	    q
   21698 	  }
   21699 	  /^X\(\/\/\)$/{
   21700 	    s//\1/
   21701 	    q
   21702 	  }
   21703 	  /^X\(\/\).*/{
   21704 	    s//\1/
   21705 	    q
   21706 	  }
   21707 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   21708  ;;
   21709 
   21710   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   21711 $as_echo "$as_me: executing $ac_file commands" >&6;}
   21712  ;;
   21713   esac
   21714 
   21715 
   21716   case $ac_file$ac_mode in
   21717     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   21718   # Older Autoconf quotes --file arguments for eval, but not when files
   21719   # are listed without --file.  Let's play safe and only enable the eval
   21720   # if we detect the quoting.
   21721   # TODO: see whether this extra hack can be removed once we start
   21722   # requiring Autoconf 2.70 or later.
   21723   case $CONFIG_FILES in #(
   21724   *\'*) :
   21725     eval set x "$CONFIG_FILES" ;; #(
   21726   *) :
   21727     set x $CONFIG_FILES ;; #(
   21728   *) :
   21729      ;;
   21730 esac
   21731   shift
   21732   # Used to flag and report bootstrapping failures.
   21733   am_rc=0
   21734   for am_mf
   21735   do
   21736     # Strip MF so we end up with the name of the file.
   21737     am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
   21738     # Check whether this is an Automake generated Makefile which includes
   21739     # dependency-tracking related rules and includes.
   21740     # Grep'ing the whole file directly is not great: AIX grep has a line
   21741     # limit of 2048, but all sed's we know have understand at least 4000.
   21742     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   21743       || continue
   21744     am_dirpart=`$as_dirname -- "$am_mf" ||
   21745 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21746 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   21747 	 X"$am_mf" : 'X\(//\)$' \| \
   21748 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   21749 $as_echo X"$am_mf" |
   21750     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21751 	    s//\1/
   21752 	    q
   21753 	  }
   21754 	  /^X\(\/\/\)[^/].*/{
   21755 	    s//\1/
   21756 	    q
   21757 	  }
   21758 	  /^X\(\/\/\)$/{
   21759 	    s//\1/
   21760 	    q
   21761 	  }
   21762 	  /^X\(\/\).*/{
   21763 	    s//\1/
   21764 	    q
   21765 	  }
   21766 	  s/.*/./; q'`
   21767     am_filepart=`$as_basename -- "$am_mf" ||
   21768 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   21769 	 X"$am_mf" : 'X\(//\)$' \| \
   21770 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   21771 $as_echo X/"$am_mf" |
   21772     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21773 	    s//\1/
   21774 	    q
   21775 	  }
   21776 	  /^X\/\(\/\/\)$/{
   21777 	    s//\1/
   21778 	    q
   21779 	  }
   21780 	  /^X\/\(\/\).*/{
   21781 	    s//\1/
   21782 	    q
   21783 	  }
   21784 	  s/.*/./; q'`
   21785     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   21786       && sed -e '/# am--include-marker/d' "$am_filepart" \
   21787         | $MAKE -f - am--depfiles" >&5
   21788    (cd "$am_dirpart" \
   21789       && sed -e '/# am--include-marker/d' "$am_filepart" \
   21790         | $MAKE -f - am--depfiles) >&5 2>&5
   21791    ac_status=$?
   21792    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21793    (exit $ac_status); } || am_rc=$?
   21794   done
   21795   if test $am_rc -ne 0; then
   21796     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   21797 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   21798 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   21799     for automatic dependency tracking.  Try re-running configure with the
   21800     '--disable-dependency-tracking' option to at least be able to build
   21801     the package (albeit without support for automatic dependency tracking).
   21802 See \`config.log' for more details" "$LINENO" 5; }
   21803   fi
   21804   { am_dirpart=; unset am_dirpart;}
   21805   { am_filepart=; unset am_filepart;}
   21806   { am_mf=; unset am_mf;}
   21807   { am_rc=; unset am_rc;}
   21808   rm -f conftest-deps.mk
   21809 }
   21810  ;;
   21811     "libtool":C)
   21812 
   21813     # See if we are running on zsh, and set the options that allow our
   21814     # commands through without removal of \ escapes.
   21815     if test -n "${ZSH_VERSION+set}"; then
   21816       setopt NO_GLOB_SUBST
   21817     fi
   21818 
   21819     cfgfile=${ofile}T
   21820     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   21821     $RM "$cfgfile"
   21822 
   21823     cat <<_LT_EOF >> "$cfgfile"
   21824 #! $SHELL
   21825 # Generated automatically by $as_me ($PACKAGE) $VERSION
   21826 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   21827 
   21828 # Provide generalized library-building support services.
   21829 # Written by Gordon Matzigkeit, 1996
   21830 
   21831 # Copyright (C) 2014 Free Software Foundation, Inc.
   21832 # This is free software; see the source for copying conditions.  There is NO
   21833 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   21834 
   21835 # GNU Libtool is free software; you can redistribute it and/or modify
   21836 # it under the terms of the GNU General Public License as published by
   21837 # the Free Software Foundation; either version 2 of of the License, or
   21838 # (at your option) any later version.
   21839 #
   21840 # As a special exception to the GNU General Public License, if you
   21841 # distribute this file as part of a program or library that is built
   21842 # using GNU Libtool, you may include this file under the  same
   21843 # distribution terms that you use for the rest of that program.
   21844 #
   21845 # GNU Libtool is distributed in the hope that it will be useful, but
   21846 # WITHOUT ANY WARRANTY; without even the implied warranty of
   21847 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   21848 # GNU General Public License for more details.
   21849 #
   21850 # You should have received a copy of the GNU General Public License
   21851 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   21852 
   21853 
   21854 # The names of the tagged configurations supported by this script.
   21855 available_tags=''
   21856 
   21857 # Configured defaults for sys_lib_dlsearch_path munging.
   21858 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   21859 
   21860 # ### BEGIN LIBTOOL CONFIG
   21861 
   21862 # Which release of libtool.m4 was used?
   21863 macro_version=$macro_version
   21864 macro_revision=$macro_revision
   21865 
   21866 # Whether or not to build shared libraries.
   21867 build_libtool_libs=$enable_shared
   21868 
   21869 # Whether or not to build static libraries.
   21870 build_old_libs=$enable_static
   21871 
   21872 # What type of objects to build.
   21873 pic_mode=$pic_mode
   21874 
   21875 # Whether or not to optimize for fast installation.
   21876 fast_install=$enable_fast_install
   21877 
   21878 # Shared archive member basename,for filename based shared library versioning on AIX.
   21879 shared_archive_member_spec=$shared_archive_member_spec
   21880 
   21881 # Shell to use when invoking shell scripts.
   21882 SHELL=$lt_SHELL
   21883 
   21884 # An echo program that protects backslashes.
   21885 ECHO=$lt_ECHO
   21886 
   21887 # The PATH separator for the build system.
   21888 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   21889 
   21890 # The host system.
   21891 host_alias=$host_alias
   21892 host=$host
   21893 host_os=$host_os
   21894 
   21895 # The build system.
   21896 build_alias=$build_alias
   21897 build=$build
   21898 build_os=$build_os
   21899 
   21900 # A sed program that does not truncate output.
   21901 SED=$lt_SED
   21902 
   21903 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   21904 Xsed="\$SED -e 1s/^X//"
   21905 
   21906 # A grep program that handles long lines.
   21907 GREP=$lt_GREP
   21908 
   21909 # An ERE matcher.
   21910 EGREP=$lt_EGREP
   21911 
   21912 # A literal string matcher.
   21913 FGREP=$lt_FGREP
   21914 
   21915 # A BSD- or MS-compatible name lister.
   21916 NM=$lt_NM
   21917 
   21918 # Whether we need soft or hard links.
   21919 LN_S=$lt_LN_S
   21920 
   21921 # What is the maximum length of a command?
   21922 max_cmd_len=$max_cmd_len
   21923 
   21924 # Object file suffix (normally "o").
   21925 objext=$ac_objext
   21926 
   21927 # Executable file suffix (normally "").
   21928 exeext=$exeext
   21929 
   21930 # whether the shell understands "unset".
   21931 lt_unset=$lt_unset
   21932 
   21933 # turn spaces into newlines.
   21934 SP2NL=$lt_lt_SP2NL
   21935 
   21936 # turn newlines into spaces.
   21937 NL2SP=$lt_lt_NL2SP
   21938 
   21939 # convert \$build file names to \$host format.
   21940 to_host_file_cmd=$lt_cv_to_host_file_cmd
   21941 
   21942 # convert \$build files to toolchain format.
   21943 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   21944 
   21945 # An object symbol dumper.
   21946 OBJDUMP=$lt_OBJDUMP
   21947 
   21948 # Method to check whether dependent libraries are shared objects.
   21949 deplibs_check_method=$lt_deplibs_check_method
   21950 
   21951 # Command to use when deplibs_check_method = "file_magic".
   21952 file_magic_cmd=$lt_file_magic_cmd
   21953 
   21954 # How to find potential files when deplibs_check_method = "file_magic".
   21955 file_magic_glob=$lt_file_magic_glob
   21956 
   21957 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   21958 want_nocaseglob=$lt_want_nocaseglob
   21959 
   21960 # DLL creation program.
   21961 DLLTOOL=$lt_DLLTOOL
   21962 
   21963 # Command to associate shared and link libraries.
   21964 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   21965 
   21966 # The archiver.
   21967 AR=$lt_AR
   21968 
   21969 # Flags to create an archive.
   21970 AR_FLAGS=$lt_AR_FLAGS
   21971 
   21972 # How to feed a file listing to the archiver.
   21973 archiver_list_spec=$lt_archiver_list_spec
   21974 
   21975 # A symbol stripping program.
   21976 STRIP=$lt_STRIP
   21977 
   21978 # Commands used to install an old-style archive.
   21979 RANLIB=$lt_RANLIB
   21980 old_postinstall_cmds=$lt_old_postinstall_cmds
   21981 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   21982 
   21983 # Whether to use a lock for old archive extraction.
   21984 lock_old_archive_extraction=$lock_old_archive_extraction
   21985 
   21986 # A C compiler.
   21987 LTCC=$lt_CC
   21988 
   21989 # LTCC compiler flags.
   21990 LTCFLAGS=$lt_CFLAGS
   21991 
   21992 # Take the output of nm and produce a listing of raw symbols and C names.
   21993 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   21994 
   21995 # Transform the output of nm in a proper C declaration.
   21996 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   21997 
   21998 # Transform the output of nm into a list of symbols to manually relocate.
   21999 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   22000 
   22001 # Transform the output of nm in a C name address pair.
   22002 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   22003 
   22004 # Transform the output of nm in a C name address pair when lib prefix is needed.
   22005 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   22006 
   22007 # The name lister interface.
   22008 nm_interface=$lt_lt_cv_nm_interface
   22009 
   22010 # Specify filename containing input files for \$NM.
   22011 nm_file_list_spec=$lt_nm_file_list_spec
   22012 
   22013 # The root where to search for dependent libraries,and where our libraries should be installed.
   22014 lt_sysroot=$lt_sysroot
   22015 
   22016 # Command to truncate a binary pipe.
   22017 lt_truncate_bin=$lt_lt_cv_truncate_bin
   22018 
   22019 # The name of the directory that contains temporary libtool files.
   22020 objdir=$objdir
   22021 
   22022 # Used to examine libraries when file_magic_cmd begins with "file".
   22023 MAGIC_CMD=$MAGIC_CMD
   22024 
   22025 # Must we lock files when doing compilation?
   22026 need_locks=$lt_need_locks
   22027 
   22028 # Manifest tool.
   22029 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   22030 
   22031 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   22032 DSYMUTIL=$lt_DSYMUTIL
   22033 
   22034 # Tool to change global to local symbols on Mac OS X.
   22035 NMEDIT=$lt_NMEDIT
   22036 
   22037 # Tool to manipulate fat objects and archives on Mac OS X.
   22038 LIPO=$lt_LIPO
   22039 
   22040 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   22041 OTOOL=$lt_OTOOL
   22042 
   22043 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   22044 OTOOL64=$lt_OTOOL64
   22045 
   22046 # Old archive suffix (normally "a").
   22047 libext=$libext
   22048 
   22049 # Shared library suffix (normally ".so").
   22050 shrext_cmds=$lt_shrext_cmds
   22051 
   22052 # The commands to extract the exported symbol list from a shared archive.
   22053 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   22054 
   22055 # Variables whose values should be saved in libtool wrapper scripts and
   22056 # restored at link time.
   22057 variables_saved_for_relink=$lt_variables_saved_for_relink
   22058 
   22059 # Do we need the "lib" prefix for modules?
   22060 need_lib_prefix=$need_lib_prefix
   22061 
   22062 # Do we need a version for libraries?
   22063 need_version=$need_version
   22064 
   22065 # Library versioning type.
   22066 version_type=$version_type
   22067 
   22068 # Shared library runtime path variable.
   22069 runpath_var=$runpath_var
   22070 
   22071 # Shared library path variable.
   22072 shlibpath_var=$shlibpath_var
   22073 
   22074 # Is shlibpath searched before the hard-coded library search path?
   22075 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   22076 
   22077 # Format of library name prefix.
   22078 libname_spec=$lt_libname_spec
   22079 
   22080 # List of archive names.  First name is the real one, the rest are links.
   22081 # The last name is the one that the linker finds with -lNAME
   22082 library_names_spec=$lt_library_names_spec
   22083 
   22084 # The coded name of the library, if different from the real name.
   22085 soname_spec=$lt_soname_spec
   22086 
   22087 # Permission mode override for installation of shared libraries.
   22088 install_override_mode=$lt_install_override_mode
   22089 
   22090 # Command to use after installation of a shared archive.
   22091 postinstall_cmds=$lt_postinstall_cmds
   22092 
   22093 # Command to use after uninstallation of a shared archive.
   22094 postuninstall_cmds=$lt_postuninstall_cmds
   22095 
   22096 # Commands used to finish a libtool library installation in a directory.
   22097 finish_cmds=$lt_finish_cmds
   22098 
   22099 # As "finish_cmds", except a single script fragment to be evaled but
   22100 # not shown.
   22101 finish_eval=$lt_finish_eval
   22102 
   22103 # Whether we should hardcode library paths into libraries.
   22104 hardcode_into_libs=$hardcode_into_libs
   22105 
   22106 # Compile-time system search path for libraries.
   22107 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   22108 
   22109 # Detected run-time system search path for libraries.
   22110 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   22111 
   22112 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   22113 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   22114 
   22115 # Whether dlopen is supported.
   22116 dlopen_support=$enable_dlopen
   22117 
   22118 # Whether dlopen of programs is supported.
   22119 dlopen_self=$enable_dlopen_self
   22120 
   22121 # Whether dlopen of statically linked programs is supported.
   22122 dlopen_self_static=$enable_dlopen_self_static
   22123 
   22124 # Commands to strip libraries.
   22125 old_striplib=$lt_old_striplib
   22126 striplib=$lt_striplib
   22127 
   22128 
   22129 # The linker used to build libraries.
   22130 LD=$lt_LD
   22131 
   22132 # How to create reloadable object files.
   22133 reload_flag=$lt_reload_flag
   22134 reload_cmds=$lt_reload_cmds
   22135 
   22136 # Commands used to build an old-style archive.
   22137 old_archive_cmds=$lt_old_archive_cmds
   22138 
   22139 # A language specific compiler.
   22140 CC=$lt_compiler
   22141 
   22142 # Is the compiler the GNU compiler?
   22143 with_gcc=$GCC
   22144 
   22145 # Compiler flag to turn off builtin functions.
   22146 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   22147 
   22148 # Additional compiler flags for building library objects.
   22149 pic_flag=$lt_lt_prog_compiler_pic
   22150 
   22151 # How to pass a linker flag through the compiler.
   22152 wl=$lt_lt_prog_compiler_wl
   22153 
   22154 # Compiler flag to prevent dynamic linking.
   22155 link_static_flag=$lt_lt_prog_compiler_static
   22156 
   22157 # Does compiler simultaneously support -c and -o options?
   22158 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   22159 
   22160 # Whether or not to add -lc for building shared libraries.
   22161 build_libtool_need_lc=$archive_cmds_need_lc
   22162 
   22163 # Whether or not to disallow shared libs when runtime libs are static.
   22164 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   22165 
   22166 # Compiler flag to allow reflexive dlopens.
   22167 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   22168 
   22169 # Compiler flag to generate shared objects directly from archives.
   22170 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   22171 
   22172 # Whether the compiler copes with passing no objects directly.
   22173 compiler_needs_object=$lt_compiler_needs_object
   22174 
   22175 # Create an old-style archive from a shared archive.
   22176 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   22177 
   22178 # Create a temporary old-style archive to link instead of a shared archive.
   22179 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   22180 
   22181 # Commands used to build a shared archive.
   22182 archive_cmds=$lt_archive_cmds
   22183 archive_expsym_cmds=$lt_archive_expsym_cmds
   22184 
   22185 # Commands used to build a loadable module if different from building
   22186 # a shared archive.
   22187 module_cmds=$lt_module_cmds
   22188 module_expsym_cmds=$lt_module_expsym_cmds
   22189 
   22190 # Whether we are building with GNU ld or not.
   22191 with_gnu_ld=$lt_with_gnu_ld
   22192 
   22193 # Flag that allows shared libraries with undefined symbols to be built.
   22194 allow_undefined_flag=$lt_allow_undefined_flag
   22195 
   22196 # Flag that enforces no undefined symbols.
   22197 no_undefined_flag=$lt_no_undefined_flag
   22198 
   22199 # Flag to hardcode \$libdir into a binary during linking.
   22200 # This must work even if \$libdir does not exist
   22201 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   22202 
   22203 # Whether we need a single "-rpath" flag with a separated argument.
   22204 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   22205 
   22206 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22207 # DIR into the resulting binary.
   22208 hardcode_direct=$hardcode_direct
   22209 
   22210 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22211 # DIR into the resulting binary and the resulting library dependency is
   22212 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   22213 # library is relocated.
   22214 hardcode_direct_absolute=$hardcode_direct_absolute
   22215 
   22216 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   22217 # into the resulting binary.
   22218 hardcode_minus_L=$hardcode_minus_L
   22219 
   22220 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   22221 # into the resulting binary.
   22222 hardcode_shlibpath_var=$hardcode_shlibpath_var
   22223 
   22224 # Set to "yes" if building a shared library automatically hardcodes DIR
   22225 # into the library and all subsequent libraries and executables linked
   22226 # against it.
   22227 hardcode_automatic=$hardcode_automatic
   22228 
   22229 # Set to yes if linker adds runtime paths of dependent libraries
   22230 # to runtime path list.
   22231 inherit_rpath=$inherit_rpath
   22232 
   22233 # Whether libtool must link a program against all its dependency libraries.
   22234 link_all_deplibs=$link_all_deplibs
   22235 
   22236 # Set to "yes" if exported symbols are required.
   22237 always_export_symbols=$always_export_symbols
   22238 
   22239 # The commands to list exported symbols.
   22240 export_symbols_cmds=$lt_export_symbols_cmds
   22241 
   22242 # Symbols that should not be listed in the preloaded symbols.
   22243 exclude_expsyms=$lt_exclude_expsyms
   22244 
   22245 # Symbols that must always be exported.
   22246 include_expsyms=$lt_include_expsyms
   22247 
   22248 # Commands necessary for linking programs (against libraries) with templates.
   22249 prelink_cmds=$lt_prelink_cmds
   22250 
   22251 # Commands necessary for finishing linking programs.
   22252 postlink_cmds=$lt_postlink_cmds
   22253 
   22254 # Specify filename containing input files.
   22255 file_list_spec=$lt_file_list_spec
   22256 
   22257 # How to hardcode a shared library path into an executable.
   22258 hardcode_action=$hardcode_action
   22259 
   22260 # ### END LIBTOOL CONFIG
   22261 
   22262 _LT_EOF
   22263 
   22264     cat <<'_LT_EOF' >> "$cfgfile"
   22265 
   22266 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   22267 
   22268 # func_munge_path_list VARIABLE PATH
   22269 # -----------------------------------
   22270 # VARIABLE is name of variable containing _space_ separated list of
   22271 # directories to be munged by the contents of PATH, which is string
   22272 # having a format:
   22273 # "DIR[:DIR]:"
   22274 #       string "DIR[ DIR]" will be prepended to VARIABLE
   22275 # ":DIR[:DIR]"
   22276 #       string "DIR[ DIR]" will be appended to VARIABLE
   22277 # "DIRP[:DIRP]::[DIRA:]DIRA"
   22278 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   22279 #       "DIRA[ DIRA]" will be appended to VARIABLE
   22280 # "DIR[:DIR]"
   22281 #       VARIABLE will be replaced by "DIR[ DIR]"
   22282 func_munge_path_list ()
   22283 {
   22284     case x$2 in
   22285     x)
   22286         ;;
   22287     *:)
   22288         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   22289         ;;
   22290     x:*)
   22291         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   22292         ;;
   22293     *::*)
   22294         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   22295         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   22296         ;;
   22297     *)
   22298         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   22299         ;;
   22300     esac
   22301 }
   22302 
   22303 
   22304 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   22305 func_cc_basename ()
   22306 {
   22307     for cc_temp in $*""; do
   22308       case $cc_temp in
   22309         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   22310         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   22311         \-*) ;;
   22312         *) break;;
   22313       esac
   22314     done
   22315     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   22316 }
   22317 
   22318 
   22319 # ### END FUNCTIONS SHARED WITH CONFIGURE
   22320 
   22321 _LT_EOF
   22322 
   22323   case $host_os in
   22324   aix3*)
   22325     cat <<\_LT_EOF >> "$cfgfile"
   22326 # AIX sometimes has problems with the GCC collect2 program.  For some
   22327 # reason, if we set the COLLECT_NAMES environment variable, the problems
   22328 # vanish in a puff of smoke.
   22329 if test set != "${COLLECT_NAMES+set}"; then
   22330   COLLECT_NAMES=
   22331   export COLLECT_NAMES
   22332 fi
   22333 _LT_EOF
   22334     ;;
   22335   esac
   22336 
   22337 
   22338 ltmain=$ac_aux_dir/ltmain.sh
   22339 
   22340 
   22341   # We use sed instead of cat because bash on DJGPP gets confused if
   22342   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   22343   # text mode, it properly converts lines to CR/LF.  This bash problem
   22344   # is reportedly fixed, but why not run on old versions too?
   22345   sed '$q' "$ltmain" >> "$cfgfile" \
   22346      || (rm -f "$cfgfile"; exit 1)
   22347 
   22348    mv -f "$cfgfile" "$ofile" ||
   22349     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   22350   chmod +x "$ofile"
   22351 
   22352  ;;
   22353 
   22354   esac
   22355 done # for ac_tag
   22356 
   22357 
   22358 as_fn_exit 0
   22359 _ACEOF
   22360 ac_clean_files=$ac_clean_files_save
   22361 
   22362 test $ac_write_fail = 0 ||
   22363   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   22364 
   22365 
   22366 # configure is writing to config.log, and then calls config.status.
   22367 # config.status does its own redirection, appending to config.log.
   22368 # Unfortunately, on DOS this fails, as config.log is still kept open
   22369 # by configure, so config.status won't be able to write to it; its
   22370 # output is simply discarded.  So we exec the FD to /dev/null,
   22371 # effectively closing config.log, so it can be properly (re)opened and
   22372 # appended to by config.status.  When coming back to configure, we
   22373 # need to make the FD available again.
   22374 if test "$no_create" != yes; then
   22375   ac_cs_success=:
   22376   ac_config_status_args=
   22377   test "$silent" = yes &&
   22378     ac_config_status_args="$ac_config_status_args --quiet"
   22379   exec 5>/dev/null
   22380   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   22381   exec 5>>config.log
   22382   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   22383   # would make configure fail if this is the last instruction.
   22384   $ac_cs_success || as_fn_exit 1
   22385 fi
   22386 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   22387   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   22388 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   22389 fi
   22390 
   22391