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 libXaw 1.0.13.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 
    202   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    203     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    206     PATH=/empty FPATH=/empty; export PATH FPATH
    207     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    208       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    209 test \$(( 1 + 1 )) = 2 || exit 1"
    210   if (eval "$as_required") 2>/dev/null; then :
    211   as_have_required=yes
    212 else
    213   as_have_required=no
    214 fi
    215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    216 
    217 else
    218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    219 as_found=false
    220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    221 do
    222   IFS=$as_save_IFS
    223   test -z "$as_dir" && as_dir=.
    224   as_found=:
    225   case $as_dir in #(
    226 	 /*)
    227 	   for as_base in sh bash ksh sh5; do
    228 	     # Try only shells that exist, to save several forks.
    229 	     as_shell=$as_dir/$as_base
    230 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    231 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   CONFIG_SHELL=$as_shell as_have_required=yes
    233 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    234   break 2
    235 fi
    236 fi
    237 	   done;;
    238        esac
    239   as_found=false
    240 done
    241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    243   CONFIG_SHELL=$SHELL as_have_required=yes
    244 fi; }
    245 IFS=$as_save_IFS
    246 
    247 
    248       if test "x$CONFIG_SHELL" != x; then :
    249   export CONFIG_SHELL
    250              # We cannot yet assume a decent shell, so we have to provide a
    251 # neutralization value for shells without unset; and this also
    252 # works around shells that cannot unset nonexistent variables.
    253 # Preserve -v and -x to the replacement shell.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in # ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264 # Admittedly, this is quite paranoid, since all the known shells bail
    265 # out after a failed `exec'.
    266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno; then :
    271   $as_echo "$0: This script requires a shell more modern than all"
    272   $as_echo "$0: the shells that I found on your system."
    273   if test x${ZSH_VERSION+set} = xset ; then
    274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    276   else
    277     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    278 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    279 $0: about your system, including any error possibly output
    280 $0: before this message. Then install a modern shell, or
    281 $0: manually run the script under such a shell if you do
    282 $0: have one."
    283   fi
    284   exit 1
    285 fi
    286 fi
    287 fi
    288 SHELL=${CONFIG_SHELL-/bin/sh}
    289 export SHELL
    290 # Unset more variables known to interfere with behavior of common tools.
    291 CLICOLOR_FORCE= GREP_OPTIONS=
    292 unset CLICOLOR_FORCE GREP_OPTIONS
    293 
    294 ## --------------------- ##
    295 ## M4sh Shell Functions. ##
    296 ## --------------------- ##
    297 # as_fn_unset VAR
    298 # ---------------
    299 # Portably unset VAR.
    300 as_fn_unset ()
    301 {
    302   { eval $1=; unset $1;}
    303 }
    304 as_unset=as_fn_unset
    305 
    306 # as_fn_set_status STATUS
    307 # -----------------------
    308 # Set $? to STATUS, without forking.
    309 as_fn_set_status ()
    310 {
    311   return $1
    312 } # as_fn_set_status
    313 
    314 # as_fn_exit STATUS
    315 # -----------------
    316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    317 as_fn_exit ()
    318 {
    319   set +e
    320   as_fn_set_status $1
    321   exit $1
    322 } # as_fn_exit
    323 
    324 # as_fn_mkdir_p
    325 # -------------
    326 # Create "$as_dir" as a directory, including parents if necessary.
    327 as_fn_mkdir_p ()
    328 {
    329 
    330   case $as_dir in #(
    331   -*) as_dir=./$as_dir;;
    332   esac
    333   test -d "$as_dir" || eval $as_mkdir_p || {
    334     as_dirs=
    335     while :; do
    336       case $as_dir in #(
    337       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    338       *) as_qdir=$as_dir;;
    339       esac
    340       as_dirs="'$as_qdir' $as_dirs"
    341       as_dir=`$as_dirname -- "$as_dir" ||
    342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    343 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    344 	 X"$as_dir" : 'X\(//\)$' \| \
    345 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    346 $as_echo X"$as_dir" |
    347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\/\)[^/].*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  /^X\(\/\/\)$/{
    356 	    s//\1/
    357 	    q
    358 	  }
    359 	  /^X\(\/\).*/{
    360 	    s//\1/
    361 	    q
    362 	  }
    363 	  s/.*/./; q'`
    364       test -d "$as_dir" && break
    365     done
    366     test -z "$as_dirs" || eval "mkdir $as_dirs"
    367   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    368 
    369 
    370 } # as_fn_mkdir_p
    371 
    372 # as_fn_executable_p FILE
    373 # -----------------------
    374 # Test if FILE is an executable regular file.
    375 as_fn_executable_p ()
    376 {
    377   test -f "$1" && test -x "$1"
    378 } # as_fn_executable_p
    379 # as_fn_append VAR VALUE
    380 # ----------------------
    381 # Append the text in VALUE to the end of the definition contained in VAR. Take
    382 # advantage of any shell optimizations that allow amortized linear growth over
    383 # repeated appends, instead of the typical quadratic growth present in naive
    384 # implementations.
    385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    386   eval 'as_fn_append ()
    387   {
    388     eval $1+=\$2
    389   }'
    390 else
    391   as_fn_append ()
    392   {
    393     eval $1=\$$1\$2
    394   }
    395 fi # as_fn_append
    396 
    397 # as_fn_arith ARG...
    398 # ------------------
    399 # Perform arithmetic evaluation on the ARGs, and store the result in the
    400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    401 # must be portable across $(()) and expr.
    402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    403   eval 'as_fn_arith ()
    404   {
    405     as_val=$(( $* ))
    406   }'
    407 else
    408   as_fn_arith ()
    409   {
    410     as_val=`expr "$@" || test $? -eq 1`
    411   }
    412 fi # as_fn_arith
    413 
    414 
    415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    416 # ----------------------------------------
    417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    419 # script with STATUS, using 1 if that was 0.
    420 as_fn_error ()
    421 {
    422   as_status=$1; test $as_status -eq 0 && as_status=1
    423   if test "$4"; then
    424     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    425     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    426   fi
    427   $as_echo "$as_me: error: $2" >&2
    428   as_fn_exit $as_status
    429 } # as_fn_error
    430 
    431 if expr a : '\(a\)' >/dev/null 2>&1 &&
    432    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    433   as_expr=expr
    434 else
    435   as_expr=false
    436 fi
    437 
    438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    439   as_basename=basename
    440 else
    441   as_basename=false
    442 fi
    443 
    444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    445   as_dirname=dirname
    446 else
    447   as_dirname=false
    448 fi
    449 
    450 as_me=`$as_basename -- "$0" ||
    451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    452 	 X"$0" : 'X\(//\)$' \| \
    453 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    454 $as_echo X/"$0" |
    455     sed '/^.*\/\([^/][^/]*\)\/*$/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  /^X\/\(\/\/\)$/{
    460 	    s//\1/
    461 	    q
    462 	  }
    463 	  /^X\/\(\/\).*/{
    464 	    s//\1/
    465 	    q
    466 	  }
    467 	  s/.*/./; q'`
    468 
    469 # Avoid depending upon Character Ranges.
    470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    473 as_cr_digits='0123456789'
    474 as_cr_alnum=$as_cr_Letters$as_cr_digits
    475 
    476 
    477   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    478   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    479   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    480   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    481   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    482   sed -n '
    483     p
    484     /[$]LINENO/=
    485   ' <$as_myself |
    486     sed '
    487       s/[$]LINENO.*/&-/
    488       t lineno
    489       b
    490       :lineno
    491       N
    492       :loop
    493       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    494       t loop
    495       s/-\n.*//
    496     ' >$as_me.lineno &&
    497   chmod +x "$as_me.lineno" ||
    498     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    499 
    500   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    501   # already done that, so ensure we don't try to do so again and fall
    502   # in an infinite loop.  This has already happened in practice.
    503   _as_can_reexec=no; export _as_can_reexec
    504   # Don't try to exec as it changes $[0], causing all sort of problems
    505   # (the dirname of $[0] is not the place where we might find the
    506   # original and so on.  Autoconf is especially sensitive to this).
    507   . "./$as_me.lineno"
    508   # Exit status is that of the last command.
    509   exit
    510 }
    511 
    512 ECHO_C= ECHO_N= ECHO_T=
    513 case `echo -n x` in #(((((
    514 -n*)
    515   case `echo 'xy\c'` in
    516   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    517   xy)  ECHO_C='\c';;
    518   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    519        ECHO_T='	';;
    520   esac;;
    521 *)
    522   ECHO_N='-n';;
    523 esac
    524 
    525 rm -f conf$$ conf$$.exe conf$$.file
    526 if test -d conf$$.dir; then
    527   rm -f conf$$.dir/conf$$.file
    528 else
    529   rm -f conf$$.dir
    530   mkdir conf$$.dir 2>/dev/null
    531 fi
    532 if (echo >conf$$.file) 2>/dev/null; then
    533   if ln -s conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s='ln -s'
    535     # ... but there are two gotchas:
    536     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    537     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    538     # In both cases, we have to default to `cp -pR'.
    539     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    540       as_ln_s='cp -pR'
    541   elif ln conf$$.file conf$$ 2>/dev/null; then
    542     as_ln_s=ln
    543   else
    544     as_ln_s='cp -pR'
    545   fi
    546 else
    547   as_ln_s='cp -pR'
    548 fi
    549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    550 rmdir conf$$.dir 2>/dev/null
    551 
    552 if mkdir -p . 2>/dev/null; then
    553   as_mkdir_p='mkdir -p "$as_dir"'
    554 else
    555   test -d ./-p && rmdir ./-p
    556   as_mkdir_p=false
    557 fi
    558 
    559 as_test_x='test -x'
    560 as_executable_p=as_fn_executable_p
    561 
    562 # Sed expression to map a string onto a valid CPP name.
    563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    564 
    565 # Sed expression to map a string onto a valid variable name.
    566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    567 
    568 SHELL=${CONFIG_SHELL-/bin/sh}
    569 
    570 as_awk_strverscmp='
    571   # Use only awk features that work with 7th edition Unix awk (1978).
    572   # My, what an old awk you have, Mr. Solaris!
    573   END {
    574     while (length(v1) && length(v2)) {
    575       # Set d1 to be the next thing to compare from v1, and likewise for d2.
    576       # Normally this is a single character, but if v1 and v2 contain digits,
    577       # compare them as integers and fractions as strverscmp does.
    578       if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
    579 	# Split v1 and v2 into their leading digit string components d1 and d2,
    580 	# and advance v1 and v2 past the leading digit strings.
    581 	for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
    582 	for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
    583 	d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
    584 	d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
    585 	if (d1 ~ /^0/) {
    586 	  if (d2 ~ /^0/) {
    587 	    # Compare two fractions.
    588 	    while (d1 ~ /^0/ && d2 ~ /^0/) {
    589 	      d1 = substr(d1, 2); len1--
    590 	      d2 = substr(d2, 2); len2--
    591 	    }
    592 	    if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
    593 	      # The two components differ in length, and the common prefix
    594 	      # contains only leading zeros.  Consider the longer to be less.
    595 	      d1 = -len1
    596 	      d2 = -len2
    597 	    } else {
    598 	      # Otherwise, compare as strings.
    599 	      d1 = "x" d1
    600 	      d2 = "x" d2
    601 	    }
    602 	  } else {
    603 	    # A fraction is less than an integer.
    604 	    exit 1
    605 	  }
    606 	} else {
    607 	  if (d2 ~ /^0/) {
    608 	    # An integer is greater than a fraction.
    609 	    exit 2
    610 	  } else {
    611 	    # Compare two integers.
    612 	    d1 += 0
    613 	    d2 += 0
    614 	  }
    615 	}
    616       } else {
    617 	# The normal case, without worrying about digits.
    618 	d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
    619 	d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
    620       }
    621       if (d1 < d2) exit 1
    622       if (d1 > d2) exit 2
    623     }
    624     # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
    625     # which mishandles some comparisons of empty strings to integers.
    626     if (length(v2)) exit 1
    627     if (length(v1)) exit 2
    628   }
    629 '
    630 
    631 test -n "$DJDIR" || exec 7<&0 </dev/null
    632 exec 6>&1
    633 
    634 # Name of the host.
    635 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    636 # so uname gets run too.
    637 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    638 
    639 #
    640 # Initializations.
    641 #
    642 ac_default_prefix=/usr/local
    643 ac_clean_files=
    644 ac_config_libobj_dir=.
    645 LIBOBJS=
    646 cross_compiling=no
    647 subdirs=
    648 MFLAGS=
    649 MAKEFLAGS=
    650 
    651 # Identity of this package.
    652 PACKAGE_NAME='libXaw'
    653 PACKAGE_TARNAME='libXaw'
    654 PACKAGE_VERSION='1.0.13'
    655 PACKAGE_STRING='libXaw 1.0.13'
    656 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    657 PACKAGE_URL=''
    658 
    659 ac_unique_file="Makefile.am"
    660 # Factoring default headers for most tests.
    661 ac_includes_default="\
    662 #include <stdio.h>
    663 #ifdef HAVE_SYS_TYPES_H
    664 # include <sys/types.h>
    665 #endif
    666 #ifdef HAVE_SYS_STAT_H
    667 # include <sys/stat.h>
    668 #endif
    669 #ifdef STDC_HEADERS
    670 # include <stdlib.h>
    671 # include <stddef.h>
    672 #else
    673 # ifdef HAVE_STDLIB_H
    674 #  include <stdlib.h>
    675 # endif
    676 #endif
    677 #ifdef HAVE_STRING_H
    678 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    679 #  include <memory.h>
    680 # endif
    681 # include <string.h>
    682 #endif
    683 #ifdef HAVE_STRINGS_H
    684 # include <strings.h>
    685 #endif
    686 #ifdef HAVE_INTTYPES_H
    687 # include <inttypes.h>
    688 #endif
    689 #ifdef HAVE_STDINT_H
    690 # include <stdint.h>
    691 #endif
    692 #ifdef HAVE_UNISTD_H
    693 # include <unistd.h>
    694 #endif"
    695 
    696 ac_subst_vars='am__EXEEXT_FALSE
    697 am__EXEEXT_TRUE
    698 LTLIBOBJS
    699 LIBOBJS
    700 BUILD_XAW7_FALSE
    701 BUILD_XAW7_TRUE
    702 BUILD_XAW6_FALSE
    703 BUILD_XAW6_TRUE
    704 XAW7_LIBS
    705 XAW7_CFLAGS
    706 XAW6_LIBS
    707 XAW6_CFLAGS
    708 PLATFORM_DARWIN_FALSE
    709 PLATFORM_DARWIN_TRUE
    710 PLATFORM_WIN32_FALSE
    711 PLATFORM_WIN32_TRUE
    712 LIBEXT
    713 HAVE_STYLESHEETS_FALSE
    714 HAVE_STYLESHEETS_TRUE
    715 XSL_STYLESHEET
    716 STYLESHEET_SRCDIR
    717 XORG_SGML_PATH
    718 HAVE_XSLTPROC_FALSE
    719 HAVE_XSLTPROC_TRUE
    720 XSLTPROC
    721 HAVE_FOP_FALSE
    722 HAVE_FOP_TRUE
    723 FOP
    724 HAVE_XMLTO_FALSE
    725 HAVE_XMLTO_TRUE
    726 HAVE_XMLTO_TEXT_FALSE
    727 HAVE_XMLTO_TEXT_TRUE
    728 XMLTO
    729 ENABLE_SPECS_FALSE
    730 ENABLE_SPECS_TRUE
    731 MAN_SUBSTS
    732 XORG_MAN_PAGE
    733 ADMIN_MAN_DIR
    734 DRIVER_MAN_DIR
    735 MISC_MAN_DIR
    736 FILE_MAN_DIR
    737 LIB_MAN_DIR
    738 APP_MAN_DIR
    739 ADMIN_MAN_SUFFIX
    740 DRIVER_MAN_SUFFIX
    741 MISC_MAN_SUFFIX
    742 FILE_MAN_SUFFIX
    743 LIB_MAN_SUFFIX
    744 APP_MAN_SUFFIX
    745 INSTALL_CMD
    746 PKG_CONFIG
    747 CHANGELOG_CMD
    748 STRICT_CFLAGS
    749 CWARNFLAGS
    750 BASE_CFLAGS
    751 CPP
    752 OTOOL64
    753 OTOOL
    754 LIPO
    755 NMEDIT
    756 DSYMUTIL
    757 MANIFEST_TOOL
    758 RANLIB
    759 ac_ct_AR
    760 AR
    761 DLLTOOL
    762 OBJDUMP
    763 LN_S
    764 NM
    765 ac_ct_DUMPBIN
    766 DUMPBIN
    767 LD
    768 FGREP
    769 EGREP
    770 GREP
    771 SED
    772 am__fastdepCC_FALSE
    773 am__fastdepCC_TRUE
    774 CCDEPMODE
    775 am__nodep
    776 AMDEPBACKSLASH
    777 AMDEP_FALSE
    778 AMDEP_TRUE
    779 am__quote
    780 am__include
    781 DEPDIR
    782 OBJEXT
    783 EXEEXT
    784 ac_ct_CC
    785 CPPFLAGS
    786 LDFLAGS
    787 CFLAGS
    788 CC
    789 host_os
    790 host_vendor
    791 host_cpu
    792 host
    793 build_os
    794 build_vendor
    795 build_cpu
    796 build
    797 LIBTOOL
    798 AM_BACKSLASH
    799 AM_DEFAULT_VERBOSITY
    800 AM_DEFAULT_V
    801 AM_V
    802 am__untar
    803 am__tar
    804 AMTAR
    805 am__leading_dot
    806 SET_MAKE
    807 AWK
    808 mkdir_p
    809 MKDIR_P
    810 INSTALL_STRIP_PROGRAM
    811 STRIP
    812 install_sh
    813 MAKEINFO
    814 AUTOHEADER
    815 AUTOMAKE
    816 AUTOCONF
    817 ACLOCAL
    818 VERSION
    819 PACKAGE
    820 CYGPATH_W
    821 am__isrc
    822 INSTALL_DATA
    823 INSTALL_SCRIPT
    824 INSTALL_PROGRAM
    825 target_alias
    826 host_alias
    827 build_alias
    828 LIBS
    829 ECHO_T
    830 ECHO_N
    831 ECHO_C
    832 DEFS
    833 mandir
    834 localedir
    835 libdir
    836 psdir
    837 pdfdir
    838 dvidir
    839 htmldir
    840 infodir
    841 docdir
    842 oldincludedir
    843 includedir
    844 localstatedir
    845 sharedstatedir
    846 sysconfdir
    847 datadir
    848 datarootdir
    849 libexecdir
    850 sbindir
    851 bindir
    852 program_transform_name
    853 prefix
    854 exec_prefix
    855 PACKAGE_URL
    856 PACKAGE_BUGREPORT
    857 PACKAGE_STRING
    858 PACKAGE_VERSION
    859 PACKAGE_TARNAME
    860 PACKAGE_NAME
    861 PATH_SEPARATOR
    862 SHELL'
    863 ac_subst_files=''
    864 ac_user_opts='
    865 enable_option_checking
    866 enable_silent_rules
    867 enable_shared
    868 enable_static
    869 with_pic
    870 enable_fast_install
    871 enable_dependency_tracking
    872 with_gnu_ld
    873 with_sysroot
    874 enable_libtool_lock
    875 enable_selective_werror
    876 enable_strict_compilation
    877 enable_specs
    878 with_xmlto
    879 with_fop
    880 with_xsltproc
    881 enable_xaw6
    882 enable_xaw7
    883 '
    884       ac_precious_vars='build_alias
    885 host_alias
    886 target_alias
    887 CC
    888 CFLAGS
    889 LDFLAGS
    890 LIBS
    891 CPPFLAGS
    892 CPP
    893 PKG_CONFIG
    894 XMLTO
    895 FOP
    896 XSLTPROC
    897 XAW6_CFLAGS
    898 XAW6_LIBS
    899 XAW7_CFLAGS
    900 XAW7_LIBS'
    901 
    902 
    903 # Initialize some variables set by options.
    904 ac_init_help=
    905 ac_init_version=false
    906 ac_unrecognized_opts=
    907 ac_unrecognized_sep=
    908 # The variables have the same names as the options, with
    909 # dashes changed to underlines.
    910 cache_file=/dev/null
    911 exec_prefix=NONE
    912 no_create=
    913 no_recursion=
    914 prefix=NONE
    915 program_prefix=NONE
    916 program_suffix=NONE
    917 program_transform_name=s,x,x,
    918 silent=
    919 site=
    920 srcdir=
    921 verbose=
    922 x_includes=NONE
    923 x_libraries=NONE
    924 
    925 # Installation directory options.
    926 # These are left unexpanded so users can "make install exec_prefix=/foo"
    927 # and all the variables that are supposed to be based on exec_prefix
    928 # by default will actually change.
    929 # Use braces instead of parens because sh, perl, etc. also accept them.
    930 # (The list follows the same order as the GNU Coding Standards.)
    931 bindir='${exec_prefix}/bin'
    932 sbindir='${exec_prefix}/sbin'
    933 libexecdir='${exec_prefix}/libexec'
    934 datarootdir='${prefix}/share'
    935 datadir='${datarootdir}'
    936 sysconfdir='${prefix}/etc'
    937 sharedstatedir='${prefix}/com'
    938 localstatedir='${prefix}/var'
    939 includedir='${prefix}/include'
    940 oldincludedir='/usr/include'
    941 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    942 infodir='${datarootdir}/info'
    943 htmldir='${docdir}'
    944 dvidir='${docdir}'
    945 pdfdir='${docdir}'
    946 psdir='${docdir}'
    947 libdir='${exec_prefix}/lib'
    948 localedir='${datarootdir}/locale'
    949 mandir='${datarootdir}/man'
    950 
    951 ac_prev=
    952 ac_dashdash=
    953 for ac_option
    954 do
    955   # If the previous option needs an argument, assign it.
    956   if test -n "$ac_prev"; then
    957     eval $ac_prev=\$ac_option
    958     ac_prev=
    959     continue
    960   fi
    961 
    962   case $ac_option in
    963   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    964   *=)   ac_optarg= ;;
    965   *)    ac_optarg=yes ;;
    966   esac
    967 
    968   # Accept the important Cygnus configure options, so we can diagnose typos.
    969 
    970   case $ac_dashdash$ac_option in
    971   --)
    972     ac_dashdash=yes ;;
    973 
    974   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    975     ac_prev=bindir ;;
    976   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    977     bindir=$ac_optarg ;;
    978 
    979   -build | --build | --buil | --bui | --bu)
    980     ac_prev=build_alias ;;
    981   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    982     build_alias=$ac_optarg ;;
    983 
    984   -cache-file | --cache-file | --cache-fil | --cache-fi \
    985   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    986     ac_prev=cache_file ;;
    987   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    988   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    989     cache_file=$ac_optarg ;;
    990 
    991   --config-cache | -C)
    992     cache_file=config.cache ;;
    993 
    994   -datadir | --datadir | --datadi | --datad)
    995     ac_prev=datadir ;;
    996   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    997     datadir=$ac_optarg ;;
    998 
    999   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1000   | --dataroo | --dataro | --datar)
   1001     ac_prev=datarootdir ;;
   1002   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1003   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1004     datarootdir=$ac_optarg ;;
   1005 
   1006   -disable-* | --disable-*)
   1007     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1008     # Reject names that are not valid shell variable names.
   1009     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1010       as_fn_error $? "invalid feature name: $ac_useropt"
   1011     ac_useropt_orig=$ac_useropt
   1012     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1013     case $ac_user_opts in
   1014       *"
   1015 "enable_$ac_useropt"
   1016 "*) ;;
   1017       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1018 	 ac_unrecognized_sep=', ';;
   1019     esac
   1020     eval enable_$ac_useropt=no ;;
   1021 
   1022   -docdir | --docdir | --docdi | --doc | --do)
   1023     ac_prev=docdir ;;
   1024   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1025     docdir=$ac_optarg ;;
   1026 
   1027   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1028     ac_prev=dvidir ;;
   1029   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1030     dvidir=$ac_optarg ;;
   1031 
   1032   -enable-* | --enable-*)
   1033     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1034     # Reject names that are not valid shell variable names.
   1035     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1036       as_fn_error $? "invalid feature name: $ac_useropt"
   1037     ac_useropt_orig=$ac_useropt
   1038     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1039     case $ac_user_opts in
   1040       *"
   1041 "enable_$ac_useropt"
   1042 "*) ;;
   1043       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1044 	 ac_unrecognized_sep=', ';;
   1045     esac
   1046     eval enable_$ac_useropt=\$ac_optarg ;;
   1047 
   1048   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1049   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1050   | --exec | --exe | --ex)
   1051     ac_prev=exec_prefix ;;
   1052   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1053   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1054   | --exec=* | --exe=* | --ex=*)
   1055     exec_prefix=$ac_optarg ;;
   1056 
   1057   -gas | --gas | --ga | --g)
   1058     # Obsolete; use --with-gas.
   1059     with_gas=yes ;;
   1060 
   1061   -help | --help | --hel | --he | -h)
   1062     ac_init_help=long ;;
   1063   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1064     ac_init_help=recursive ;;
   1065   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1066     ac_init_help=short ;;
   1067 
   1068   -host | --host | --hos | --ho)
   1069     ac_prev=host_alias ;;
   1070   -host=* | --host=* | --hos=* | --ho=*)
   1071     host_alias=$ac_optarg ;;
   1072 
   1073   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1074     ac_prev=htmldir ;;
   1075   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1076   | --ht=*)
   1077     htmldir=$ac_optarg ;;
   1078 
   1079   -includedir | --includedir | --includedi | --included | --include \
   1080   | --includ | --inclu | --incl | --inc)
   1081     ac_prev=includedir ;;
   1082   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1083   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1084     includedir=$ac_optarg ;;
   1085 
   1086   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1087     ac_prev=infodir ;;
   1088   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1089     infodir=$ac_optarg ;;
   1090 
   1091   -libdir | --libdir | --libdi | --libd)
   1092     ac_prev=libdir ;;
   1093   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1094     libdir=$ac_optarg ;;
   1095 
   1096   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1097   | --libexe | --libex | --libe)
   1098     ac_prev=libexecdir ;;
   1099   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1100   | --libexe=* | --libex=* | --libe=*)
   1101     libexecdir=$ac_optarg ;;
   1102 
   1103   -localedir | --localedir | --localedi | --localed | --locale)
   1104     ac_prev=localedir ;;
   1105   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1106     localedir=$ac_optarg ;;
   1107 
   1108   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1109   | --localstate | --localstat | --localsta | --localst | --locals)
   1110     ac_prev=localstatedir ;;
   1111   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1112   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1113     localstatedir=$ac_optarg ;;
   1114 
   1115   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1116     ac_prev=mandir ;;
   1117   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1118     mandir=$ac_optarg ;;
   1119 
   1120   -nfp | --nfp | --nf)
   1121     # Obsolete; use --without-fp.
   1122     with_fp=no ;;
   1123 
   1124   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1125   | --no-cr | --no-c | -n)
   1126     no_create=yes ;;
   1127 
   1128   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1129   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1130     no_recursion=yes ;;
   1131 
   1132   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1133   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1134   | --oldin | --oldi | --old | --ol | --o)
   1135     ac_prev=oldincludedir ;;
   1136   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1137   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1138   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1139     oldincludedir=$ac_optarg ;;
   1140 
   1141   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1142     ac_prev=prefix ;;
   1143   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1144     prefix=$ac_optarg ;;
   1145 
   1146   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1147   | --program-pre | --program-pr | --program-p)
   1148     ac_prev=program_prefix ;;
   1149   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1150   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1151     program_prefix=$ac_optarg ;;
   1152 
   1153   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1154   | --program-suf | --program-su | --program-s)
   1155     ac_prev=program_suffix ;;
   1156   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1157   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1158     program_suffix=$ac_optarg ;;
   1159 
   1160   -program-transform-name | --program-transform-name \
   1161   | --program-transform-nam | --program-transform-na \
   1162   | --program-transform-n | --program-transform- \
   1163   | --program-transform | --program-transfor \
   1164   | --program-transfo | --program-transf \
   1165   | --program-trans | --program-tran \
   1166   | --progr-tra | --program-tr | --program-t)
   1167     ac_prev=program_transform_name ;;
   1168   -program-transform-name=* | --program-transform-name=* \
   1169   | --program-transform-nam=* | --program-transform-na=* \
   1170   | --program-transform-n=* | --program-transform-=* \
   1171   | --program-transform=* | --program-transfor=* \
   1172   | --program-transfo=* | --program-transf=* \
   1173   | --program-trans=* | --program-tran=* \
   1174   | --progr-tra=* | --program-tr=* | --program-t=*)
   1175     program_transform_name=$ac_optarg ;;
   1176 
   1177   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1178     ac_prev=pdfdir ;;
   1179   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1180     pdfdir=$ac_optarg ;;
   1181 
   1182   -psdir | --psdir | --psdi | --psd | --ps)
   1183     ac_prev=psdir ;;
   1184   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1185     psdir=$ac_optarg ;;
   1186 
   1187   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1188   | -silent | --silent | --silen | --sile | --sil)
   1189     silent=yes ;;
   1190 
   1191   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1192     ac_prev=sbindir ;;
   1193   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1194   | --sbi=* | --sb=*)
   1195     sbindir=$ac_optarg ;;
   1196 
   1197   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1198   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1199   | --sharedst | --shareds | --shared | --share | --shar \
   1200   | --sha | --sh)
   1201     ac_prev=sharedstatedir ;;
   1202   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1203   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1204   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1205   | --sha=* | --sh=*)
   1206     sharedstatedir=$ac_optarg ;;
   1207 
   1208   -site | --site | --sit)
   1209     ac_prev=site ;;
   1210   -site=* | --site=* | --sit=*)
   1211     site=$ac_optarg ;;
   1212 
   1213   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1214     ac_prev=srcdir ;;
   1215   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1216     srcdir=$ac_optarg ;;
   1217 
   1218   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1219   | --syscon | --sysco | --sysc | --sys | --sy)
   1220     ac_prev=sysconfdir ;;
   1221   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1222   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1223     sysconfdir=$ac_optarg ;;
   1224 
   1225   -target | --target | --targe | --targ | --tar | --ta | --t)
   1226     ac_prev=target_alias ;;
   1227   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1228     target_alias=$ac_optarg ;;
   1229 
   1230   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1231     verbose=yes ;;
   1232 
   1233   -version | --version | --versio | --versi | --vers | -V)
   1234     ac_init_version=: ;;
   1235 
   1236   -with-* | --with-*)
   1237     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1238     # Reject names that are not valid shell variable names.
   1239     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1240       as_fn_error $? "invalid package name: $ac_useropt"
   1241     ac_useropt_orig=$ac_useropt
   1242     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1243     case $ac_user_opts in
   1244       *"
   1245 "with_$ac_useropt"
   1246 "*) ;;
   1247       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1248 	 ac_unrecognized_sep=', ';;
   1249     esac
   1250     eval with_$ac_useropt=\$ac_optarg ;;
   1251 
   1252   -without-* | --without-*)
   1253     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1254     # Reject names that are not valid shell variable names.
   1255     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1256       as_fn_error $? "invalid package name: $ac_useropt"
   1257     ac_useropt_orig=$ac_useropt
   1258     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1259     case $ac_user_opts in
   1260       *"
   1261 "with_$ac_useropt"
   1262 "*) ;;
   1263       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1264 	 ac_unrecognized_sep=', ';;
   1265     esac
   1266     eval with_$ac_useropt=no ;;
   1267 
   1268   --x)
   1269     # Obsolete; use --with-x.
   1270     with_x=yes ;;
   1271 
   1272   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1273   | --x-incl | --x-inc | --x-in | --x-i)
   1274     ac_prev=x_includes ;;
   1275   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1276   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1277     x_includes=$ac_optarg ;;
   1278 
   1279   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1280   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1281     ac_prev=x_libraries ;;
   1282   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1283   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1284     x_libraries=$ac_optarg ;;
   1285 
   1286   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1287 Try \`$0 --help' for more information"
   1288     ;;
   1289 
   1290   *=*)
   1291     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1292     # Reject names that are not valid shell variable names.
   1293     case $ac_envvar in #(
   1294       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1295       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1296     esac
   1297     eval $ac_envvar=\$ac_optarg
   1298     export $ac_envvar ;;
   1299 
   1300   *)
   1301     # FIXME: should be removed in autoconf 3.0.
   1302     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1303     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1304       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1305     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1306     ;;
   1307 
   1308   esac
   1309 done
   1310 
   1311 if test -n "$ac_prev"; then
   1312   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1313   as_fn_error $? "missing argument to $ac_option"
   1314 fi
   1315 
   1316 if test -n "$ac_unrecognized_opts"; then
   1317   case $enable_option_checking in
   1318     no) ;;
   1319     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1320     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1321   esac
   1322 fi
   1323 
   1324 # Check all directory arguments for consistency.
   1325 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1326 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1327 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1328 		libdir localedir mandir
   1329 do
   1330   eval ac_val=\$$ac_var
   1331   # Remove trailing slashes.
   1332   case $ac_val in
   1333     */ )
   1334       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1335       eval $ac_var=\$ac_val;;
   1336   esac
   1337   # Be sure to have absolute directory names.
   1338   case $ac_val in
   1339     [\\/$]* | ?:[\\/]* )  continue;;
   1340     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1341   esac
   1342   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1343 done
   1344 
   1345 # There might be people who depend on the old broken behavior: `$host'
   1346 # used to hold the argument of --host etc.
   1347 # FIXME: To remove some day.
   1348 build=$build_alias
   1349 host=$host_alias
   1350 target=$target_alias
   1351 
   1352 # FIXME: To remove some day.
   1353 if test "x$host_alias" != x; then
   1354   if test "x$build_alias" = x; then
   1355     cross_compiling=maybe
   1356   elif test "x$build_alias" != "x$host_alias"; then
   1357     cross_compiling=yes
   1358   fi
   1359 fi
   1360 
   1361 ac_tool_prefix=
   1362 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1363 
   1364 test "$silent" = yes && exec 6>/dev/null
   1365 
   1366 
   1367 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1368 ac_ls_di=`ls -di .` &&
   1369 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1370   as_fn_error $? "working directory cannot be determined"
   1371 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1372   as_fn_error $? "pwd does not report name of working directory"
   1373 
   1374 
   1375 # Find the source files, if location was not specified.
   1376 if test -z "$srcdir"; then
   1377   ac_srcdir_defaulted=yes
   1378   # Try the directory containing this script, then the parent directory.
   1379   ac_confdir=`$as_dirname -- "$as_myself" ||
   1380 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1381 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1382 	 X"$as_myself" : 'X\(//\)$' \| \
   1383 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1384 $as_echo X"$as_myself" |
   1385     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1386 	    s//\1/
   1387 	    q
   1388 	  }
   1389 	  /^X\(\/\/\)[^/].*/{
   1390 	    s//\1/
   1391 	    q
   1392 	  }
   1393 	  /^X\(\/\/\)$/{
   1394 	    s//\1/
   1395 	    q
   1396 	  }
   1397 	  /^X\(\/\).*/{
   1398 	    s//\1/
   1399 	    q
   1400 	  }
   1401 	  s/.*/./; q'`
   1402   srcdir=$ac_confdir
   1403   if test ! -r "$srcdir/$ac_unique_file"; then
   1404     srcdir=..
   1405   fi
   1406 else
   1407   ac_srcdir_defaulted=no
   1408 fi
   1409 if test ! -r "$srcdir/$ac_unique_file"; then
   1410   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1411   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1412 fi
   1413 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1414 ac_abs_confdir=`(
   1415 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1416 	pwd)`
   1417 # When building in place, set srcdir=.
   1418 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1419   srcdir=.
   1420 fi
   1421 # Remove unnecessary trailing slashes from srcdir.
   1422 # Double slashes in file names in object file debugging info
   1423 # mess up M-x gdb in Emacs.
   1424 case $srcdir in
   1425 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1426 esac
   1427 for ac_var in $ac_precious_vars; do
   1428   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1429   eval ac_env_${ac_var}_value=\$${ac_var}
   1430   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1431   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1432 done
   1433 
   1434 #
   1435 # Report the --help message.
   1436 #
   1437 if test "$ac_init_help" = "long"; then
   1438   # Omit some internal or obsolete options to make the list less imposing.
   1439   # This message is too long to be a string in the A/UX 3.1 sh.
   1440   cat <<_ACEOF
   1441 \`configure' configures libXaw 1.0.13 to adapt to many kinds of systems.
   1442 
   1443 Usage: $0 [OPTION]... [VAR=VALUE]...
   1444 
   1445 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1446 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1447 
   1448 Defaults for the options are specified in brackets.
   1449 
   1450 Configuration:
   1451   -h, --help              display this help and exit
   1452       --help=short        display options specific to this package
   1453       --help=recursive    display the short help of all the included packages
   1454   -V, --version           display version information and exit
   1455   -q, --quiet, --silent   do not print \`checking ...' messages
   1456       --cache-file=FILE   cache test results in FILE [disabled]
   1457   -C, --config-cache      alias for \`--cache-file=config.cache'
   1458   -n, --no-create         do not create output files
   1459       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1460 
   1461 Installation directories:
   1462   --prefix=PREFIX         install architecture-independent files in PREFIX
   1463                           [$ac_default_prefix]
   1464   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1465                           [PREFIX]
   1466 
   1467 By default, \`make install' will install all the files in
   1468 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1469 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1470 for instance \`--prefix=\$HOME'.
   1471 
   1472 For better control, use the options below.
   1473 
   1474 Fine tuning of the installation directories:
   1475   --bindir=DIR            user executables [EPREFIX/bin]
   1476   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1477   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1478   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1479   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1480   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1481   --libdir=DIR            object code libraries [EPREFIX/lib]
   1482   --includedir=DIR        C header files [PREFIX/include]
   1483   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1484   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1485   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1486   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1487   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1488   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1489   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXaw]
   1490   --htmldir=DIR           html documentation [DOCDIR]
   1491   --dvidir=DIR            dvi documentation [DOCDIR]
   1492   --pdfdir=DIR            pdf documentation [DOCDIR]
   1493   --psdir=DIR             ps documentation [DOCDIR]
   1494 _ACEOF
   1495 
   1496   cat <<\_ACEOF
   1497 
   1498 Program names:
   1499   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1500   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1501   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1502 
   1503 System types:
   1504   --build=BUILD     configure for building on BUILD [guessed]
   1505   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1506 _ACEOF
   1507 fi
   1508 
   1509 if test -n "$ac_init_help"; then
   1510   case $ac_init_help in
   1511      short | recursive ) echo "Configuration of libXaw 1.0.13:";;
   1512    esac
   1513   cat <<\_ACEOF
   1514 
   1515 Optional Features:
   1516   --disable-option-checking  ignore unrecognized --enable/--with options
   1517   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1518   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1519   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1520   --disable-silent-rules  verbose build output (undo: "make V=0")
   1521   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1522   --enable-static[=PKGS]  build static libraries [default=yes]
   1523   --enable-fast-install[=PKGS]
   1524                           optimize for fast installation [default=yes]
   1525   --enable-dependency-tracking
   1526                           do not reject slow dependency extractors
   1527   --disable-dependency-tracking
   1528                           speeds up one-time build
   1529   --disable-libtool-lock  avoid locking (might break parallel builds)
   1530   --disable-selective-werror
   1531                           Turn off selective compiler errors. (default:
   1532                           enabled)
   1533   --enable-strict-compilation
   1534                           Enable all warnings from compiler and make them
   1535                           errors (default: disabled)
   1536   --enable-specs          Enable building the specs (default: yes)
   1537   --disable-xaw6          Disable building of libXaw.so.6
   1538   --disable-xaw7          Disable building of libXaw.so.7
   1539 
   1540 Optional Packages:
   1541   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1542   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1543   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1544                           both]
   1545   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1546   --with-sysroot=DIR Search for dependent libraries within DIR
   1547                         (or the compiler's sysroot if not specified).
   1548   --with-xmlto            Use xmlto to regenerate documentation (default:
   1549                           auto)
   1550   --with-fop              Use fop to regenerate documentation (default: auto)
   1551   --with-xsltproc         Use xsltproc for the transformation of XML documents
   1552                           (default: auto)
   1553 
   1554 Some influential environment variables:
   1555   CC          C compiler command
   1556   CFLAGS      C compiler flags
   1557   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1558               nonstandard directory <lib dir>
   1559   LIBS        libraries to pass to the linker, e.g. -l<library>
   1560   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1561               you have headers in a nonstandard directory <include dir>
   1562   CPP         C preprocessor
   1563   PKG_CONFIG  path to pkg-config utility
   1564   XMLTO       Path to xmlto command
   1565   FOP         Path to fop command
   1566   XSLTPROC    Path to xsltproc command
   1567   XAW6_CFLAGS C compiler flags for XAW6, overriding pkg-config
   1568   XAW6_LIBS   linker flags for XAW6, overriding pkg-config
   1569   XAW7_CFLAGS C compiler flags for XAW7, overriding pkg-config
   1570   XAW7_LIBS   linker flags for XAW7, overriding pkg-config
   1571 
   1572 Use these variables to override the choices made by `configure' or to help
   1573 it to find libraries and programs with nonstandard names/locations.
   1574 
   1575 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1576 _ACEOF
   1577 ac_status=$?
   1578 fi
   1579 
   1580 if test "$ac_init_help" = "recursive"; then
   1581   # If there are subdirs, report their specific --help.
   1582   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1583     test -d "$ac_dir" ||
   1584       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1585       continue
   1586     ac_builddir=.
   1587 
   1588 case "$ac_dir" in
   1589 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1590 *)
   1591   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1592   # A ".." for each directory in $ac_dir_suffix.
   1593   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1594   case $ac_top_builddir_sub in
   1595   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1596   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1597   esac ;;
   1598 esac
   1599 ac_abs_top_builddir=$ac_pwd
   1600 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1601 # for backward compatibility:
   1602 ac_top_builddir=$ac_top_build_prefix
   1603 
   1604 case $srcdir in
   1605   .)  # We are building in place.
   1606     ac_srcdir=.
   1607     ac_top_srcdir=$ac_top_builddir_sub
   1608     ac_abs_top_srcdir=$ac_pwd ;;
   1609   [\\/]* | ?:[\\/]* )  # Absolute name.
   1610     ac_srcdir=$srcdir$ac_dir_suffix;
   1611     ac_top_srcdir=$srcdir
   1612     ac_abs_top_srcdir=$srcdir ;;
   1613   *) # Relative name.
   1614     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1615     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1616     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1617 esac
   1618 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1619 
   1620     cd "$ac_dir" || { ac_status=$?; continue; }
   1621     # Check for guested configure.
   1622     if test -f "$ac_srcdir/configure.gnu"; then
   1623       echo &&
   1624       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1625     elif test -f "$ac_srcdir/configure"; then
   1626       echo &&
   1627       $SHELL "$ac_srcdir/configure" --help=recursive
   1628     else
   1629       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1630     fi || ac_status=$?
   1631     cd "$ac_pwd" || { ac_status=$?; break; }
   1632   done
   1633 fi
   1634 
   1635 test -n "$ac_init_help" && exit $ac_status
   1636 if $ac_init_version; then
   1637   cat <<\_ACEOF
   1638 libXaw configure 1.0.13
   1639 generated by GNU Autoconf 2.69
   1640 
   1641 Copyright (C) 2012 Free Software Foundation, Inc.
   1642 This configure script is free software; the Free Software Foundation
   1643 gives unlimited permission to copy, distribute and modify it.
   1644 _ACEOF
   1645   exit
   1646 fi
   1647 
   1648 ## ------------------------ ##
   1649 ## Autoconf initialization. ##
   1650 ## ------------------------ ##
   1651 
   1652 # ac_fn_c_try_compile LINENO
   1653 # --------------------------
   1654 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1655 ac_fn_c_try_compile ()
   1656 {
   1657   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1658   rm -f conftest.$ac_objext
   1659   if { { ac_try="$ac_compile"
   1660 case "(($ac_try" in
   1661   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1662   *) ac_try_echo=$ac_try;;
   1663 esac
   1664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1665 $as_echo "$ac_try_echo"; } >&5
   1666   (eval "$ac_compile") 2>conftest.err
   1667   ac_status=$?
   1668   if test -s conftest.err; then
   1669     grep -v '^ *+' conftest.err >conftest.er1
   1670     cat conftest.er1 >&5
   1671     mv -f conftest.er1 conftest.err
   1672   fi
   1673   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1674   test $ac_status = 0; } && {
   1675 	 test -z "$ac_c_werror_flag" ||
   1676 	 test ! -s conftest.err
   1677        } && test -s conftest.$ac_objext; then :
   1678   ac_retval=0
   1679 else
   1680   $as_echo "$as_me: failed program was:" >&5
   1681 sed 's/^/| /' conftest.$ac_ext >&5
   1682 
   1683 	ac_retval=1
   1684 fi
   1685   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1686   as_fn_set_status $ac_retval
   1687 
   1688 } # ac_fn_c_try_compile
   1689 
   1690 # ac_fn_c_try_link LINENO
   1691 # -----------------------
   1692 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1693 ac_fn_c_try_link ()
   1694 {
   1695   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1696   rm -f conftest.$ac_objext conftest$ac_exeext
   1697   if { { ac_try="$ac_link"
   1698 case "(($ac_try" in
   1699   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1700   *) ac_try_echo=$ac_try;;
   1701 esac
   1702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1703 $as_echo "$ac_try_echo"; } >&5
   1704   (eval "$ac_link") 2>conftest.err
   1705   ac_status=$?
   1706   if test -s conftest.err; then
   1707     grep -v '^ *+' conftest.err >conftest.er1
   1708     cat conftest.er1 >&5
   1709     mv -f conftest.er1 conftest.err
   1710   fi
   1711   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1712   test $ac_status = 0; } && {
   1713 	 test -z "$ac_c_werror_flag" ||
   1714 	 test ! -s conftest.err
   1715        } && test -s conftest$ac_exeext && {
   1716 	 test "$cross_compiling" = yes ||
   1717 	 test -x conftest$ac_exeext
   1718        }; then :
   1719   ac_retval=0
   1720 else
   1721   $as_echo "$as_me: failed program was:" >&5
   1722 sed 's/^/| /' conftest.$ac_ext >&5
   1723 
   1724 	ac_retval=1
   1725 fi
   1726   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1727   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1728   # interfere with the next link command; also delete a directory that is
   1729   # left behind by Apple's compiler.  We do this before executing the actions.
   1730   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1731   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1732   as_fn_set_status $ac_retval
   1733 
   1734 } # ac_fn_c_try_link
   1735 
   1736 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1737 # -------------------------------------------------------
   1738 # Tests whether HEADER exists and can be compiled using the include files in
   1739 # INCLUDES, setting the cache variable VAR accordingly.
   1740 ac_fn_c_check_header_compile ()
   1741 {
   1742   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1743   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1744 $as_echo_n "checking for $2... " >&6; }
   1745 if eval \${$3+:} false; then :
   1746   $as_echo_n "(cached) " >&6
   1747 else
   1748   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1749 /* end confdefs.h.  */
   1750 $4
   1751 #include <$2>
   1752 _ACEOF
   1753 if ac_fn_c_try_compile "$LINENO"; then :
   1754   eval "$3=yes"
   1755 else
   1756   eval "$3=no"
   1757 fi
   1758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1759 fi
   1760 eval ac_res=\$$3
   1761 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1762 $as_echo "$ac_res" >&6; }
   1763   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1764 
   1765 } # ac_fn_c_check_header_compile
   1766 
   1767 # ac_fn_c_try_cpp LINENO
   1768 # ----------------------
   1769 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1770 ac_fn_c_try_cpp ()
   1771 {
   1772   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1773   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1774 case "(($ac_try" in
   1775   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1776   *) ac_try_echo=$ac_try;;
   1777 esac
   1778 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1779 $as_echo "$ac_try_echo"; } >&5
   1780   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1781   ac_status=$?
   1782   if test -s conftest.err; then
   1783     grep -v '^ *+' conftest.err >conftest.er1
   1784     cat conftest.er1 >&5
   1785     mv -f conftest.er1 conftest.err
   1786   fi
   1787   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1788   test $ac_status = 0; } > conftest.i && {
   1789 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1790 	 test ! -s conftest.err
   1791        }; then :
   1792   ac_retval=0
   1793 else
   1794   $as_echo "$as_me: failed program was:" >&5
   1795 sed 's/^/| /' conftest.$ac_ext >&5
   1796 
   1797     ac_retval=1
   1798 fi
   1799   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1800   as_fn_set_status $ac_retval
   1801 
   1802 } # ac_fn_c_try_cpp
   1803 
   1804 # ac_fn_c_try_run LINENO
   1805 # ----------------------
   1806 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1807 # that executables *can* be run.
   1808 ac_fn_c_try_run ()
   1809 {
   1810   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1811   if { { ac_try="$ac_link"
   1812 case "(($ac_try" in
   1813   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1814   *) ac_try_echo=$ac_try;;
   1815 esac
   1816 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1817 $as_echo "$ac_try_echo"; } >&5
   1818   (eval "$ac_link") 2>&5
   1819   ac_status=$?
   1820   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1821   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1822   { { case "(($ac_try" in
   1823   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1824   *) ac_try_echo=$ac_try;;
   1825 esac
   1826 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1827 $as_echo "$ac_try_echo"; } >&5
   1828   (eval "$ac_try") 2>&5
   1829   ac_status=$?
   1830   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1831   test $ac_status = 0; }; }; then :
   1832   ac_retval=0
   1833 else
   1834   $as_echo "$as_me: program exited with status $ac_status" >&5
   1835        $as_echo "$as_me: failed program was:" >&5
   1836 sed 's/^/| /' conftest.$ac_ext >&5
   1837 
   1838        ac_retval=$ac_status
   1839 fi
   1840   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1841   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1842   as_fn_set_status $ac_retval
   1843 
   1844 } # ac_fn_c_try_run
   1845 
   1846 # ac_fn_c_check_func LINENO FUNC VAR
   1847 # ----------------------------------
   1848 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1849 ac_fn_c_check_func ()
   1850 {
   1851   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1853 $as_echo_n "checking for $2... " >&6; }
   1854 if eval \${$3+:} false; then :
   1855   $as_echo_n "(cached) " >&6
   1856 else
   1857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1858 /* end confdefs.h.  */
   1859 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1860    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1861 #define $2 innocuous_$2
   1862 
   1863 /* System header to define __stub macros and hopefully few prototypes,
   1864     which can conflict with char $2 (); below.
   1865     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1866     <limits.h> exists even on freestanding compilers.  */
   1867 
   1868 #ifdef __STDC__
   1869 # include <limits.h>
   1870 #else
   1871 # include <assert.h>
   1872 #endif
   1873 
   1874 #undef $2
   1875 
   1876 /* Override any GCC internal prototype to avoid an error.
   1877    Use char because int might match the return type of a GCC
   1878    builtin and then its argument prototype would still apply.  */
   1879 #ifdef __cplusplus
   1880 extern "C"
   1881 #endif
   1882 char $2 ();
   1883 /* The GNU C library defines this for functions which it implements
   1884     to always fail with ENOSYS.  Some functions are actually named
   1885     something starting with __ and the normal name is an alias.  */
   1886 #if defined __stub_$2 || defined __stub___$2
   1887 choke me
   1888 #endif
   1889 
   1890 int
   1891 main ()
   1892 {
   1893 return $2 ();
   1894   ;
   1895   return 0;
   1896 }
   1897 _ACEOF
   1898 if ac_fn_c_try_link "$LINENO"; then :
   1899   eval "$3=yes"
   1900 else
   1901   eval "$3=no"
   1902 fi
   1903 rm -f core conftest.err conftest.$ac_objext \
   1904     conftest$ac_exeext conftest.$ac_ext
   1905 fi
   1906 eval ac_res=\$$3
   1907 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1908 $as_echo "$ac_res" >&6; }
   1909   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1910 
   1911 } # ac_fn_c_check_func
   1912 
   1913 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1914 # ---------------------------------------------
   1915 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1916 # accordingly.
   1917 ac_fn_c_check_decl ()
   1918 {
   1919   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1920   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1921   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1922   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1923 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1924 if eval \${$3+:} false; then :
   1925   $as_echo_n "(cached) " >&6
   1926 else
   1927   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1928 /* end confdefs.h.  */
   1929 $4
   1930 int
   1931 main ()
   1932 {
   1933 #ifndef $as_decl_name
   1934 #ifdef __cplusplus
   1935   (void) $as_decl_use;
   1936 #else
   1937   (void) $as_decl_name;
   1938 #endif
   1939 #endif
   1940 
   1941   ;
   1942   return 0;
   1943 }
   1944 _ACEOF
   1945 if ac_fn_c_try_compile "$LINENO"; then :
   1946   eval "$3=yes"
   1947 else
   1948   eval "$3=no"
   1949 fi
   1950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1951 fi
   1952 eval ac_res=\$$3
   1953 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1954 $as_echo "$ac_res" >&6; }
   1955   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1956 
   1957 } # ac_fn_c_check_decl
   1958 
   1959 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1960 # -------------------------------------------------------
   1961 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1962 # the include files in INCLUDES and setting the cache variable VAR
   1963 # accordingly.
   1964 ac_fn_c_check_header_mongrel ()
   1965 {
   1966   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1967   if eval \${$3+:} false; then :
   1968   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1969 $as_echo_n "checking for $2... " >&6; }
   1970 if eval \${$3+:} false; then :
   1971   $as_echo_n "(cached) " >&6
   1972 fi
   1973 eval ac_res=\$$3
   1974 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1975 $as_echo "$ac_res" >&6; }
   1976 else
   1977   # Is the header compilable?
   1978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1979 $as_echo_n "checking $2 usability... " >&6; }
   1980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1981 /* end confdefs.h.  */
   1982 $4
   1983 #include <$2>
   1984 _ACEOF
   1985 if ac_fn_c_try_compile "$LINENO"; then :
   1986   ac_header_compiler=yes
   1987 else
   1988   ac_header_compiler=no
   1989 fi
   1990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1992 $as_echo "$ac_header_compiler" >&6; }
   1993 
   1994 # Is the header present?
   1995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1996 $as_echo_n "checking $2 presence... " >&6; }
   1997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1998 /* end confdefs.h.  */
   1999 #include <$2>
   2000 _ACEOF
   2001 if ac_fn_c_try_cpp "$LINENO"; then :
   2002   ac_header_preproc=yes
   2003 else
   2004   ac_header_preproc=no
   2005 fi
   2006 rm -f conftest.err conftest.i conftest.$ac_ext
   2007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   2008 $as_echo "$ac_header_preproc" >&6; }
   2009 
   2010 # So?  What about this header?
   2011 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   2012   yes:no: )
   2013     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   2014 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   2015     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   2016 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   2017     ;;
   2018   no:yes:* )
   2019     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   2020 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   2021     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   2022 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   2023     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   2024 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   2025     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   2026 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   2027     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   2028 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   2029 ( $as_echo "## ---------------------------------------------------------------------- ##
   2030 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   2031 ## ---------------------------------------------------------------------- ##"
   2032      ) | sed "s/^/$as_me: WARNING:     /" >&2
   2033     ;;
   2034 esac
   2035   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2036 $as_echo_n "checking for $2... " >&6; }
   2037 if eval \${$3+:} false; then :
   2038   $as_echo_n "(cached) " >&6
   2039 else
   2040   eval "$3=\$ac_header_compiler"
   2041 fi
   2042 eval ac_res=\$$3
   2043 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2044 $as_echo "$ac_res" >&6; }
   2045 fi
   2046   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2047 
   2048 } # ac_fn_c_check_header_mongrel
   2049 cat >config.log <<_ACEOF
   2050 This file contains any messages produced by compilers while
   2051 running configure, to aid debugging if configure makes a mistake.
   2052 
   2053 It was created by libXaw $as_me 1.0.13, which was
   2054 generated by GNU Autoconf 2.69.  Invocation command line was
   2055 
   2056   $ $0 $@
   2057 
   2058 _ACEOF
   2059 exec 5>>config.log
   2060 {
   2061 cat <<_ASUNAME
   2062 ## --------- ##
   2063 ## Platform. ##
   2064 ## --------- ##
   2065 
   2066 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2067 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2068 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2069 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2070 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2071 
   2072 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2073 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2074 
   2075 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2076 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2077 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2078 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2079 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2080 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2081 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2082 
   2083 _ASUNAME
   2084 
   2085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2086 for as_dir in $PATH
   2087 do
   2088   IFS=$as_save_IFS
   2089   test -z "$as_dir" && as_dir=.
   2090     $as_echo "PATH: $as_dir"
   2091   done
   2092 IFS=$as_save_IFS
   2093 
   2094 } >&5
   2095 
   2096 cat >&5 <<_ACEOF
   2097 
   2098 
   2099 ## ----------- ##
   2100 ## Core tests. ##
   2101 ## ----------- ##
   2102 
   2103 _ACEOF
   2104 
   2105 
   2106 # Keep a trace of the command line.
   2107 # Strip out --no-create and --no-recursion so they do not pile up.
   2108 # Strip out --silent because we don't want to record it for future runs.
   2109 # Also quote any args containing shell meta-characters.
   2110 # Make two passes to allow for proper duplicate-argument suppression.
   2111 ac_configure_args=
   2112 ac_configure_args0=
   2113 ac_configure_args1=
   2114 ac_must_keep_next=false
   2115 for ac_pass in 1 2
   2116 do
   2117   for ac_arg
   2118   do
   2119     case $ac_arg in
   2120     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2121     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2122     | -silent | --silent | --silen | --sile | --sil)
   2123       continue ;;
   2124     *\'*)
   2125       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2126     esac
   2127     case $ac_pass in
   2128     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2129     2)
   2130       as_fn_append ac_configure_args1 " '$ac_arg'"
   2131       if test $ac_must_keep_next = true; then
   2132 	ac_must_keep_next=false # Got value, back to normal.
   2133       else
   2134 	case $ac_arg in
   2135 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2136 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2137 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2138 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2139 	    case "$ac_configure_args0 " in
   2140 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2141 	    esac
   2142 	    ;;
   2143 	  -* ) ac_must_keep_next=true ;;
   2144 	esac
   2145       fi
   2146       as_fn_append ac_configure_args " '$ac_arg'"
   2147       ;;
   2148     esac
   2149   done
   2150 done
   2151 { ac_configure_args0=; unset ac_configure_args0;}
   2152 { ac_configure_args1=; unset ac_configure_args1;}
   2153 
   2154 # When interrupted or exit'd, cleanup temporary files, and complete
   2155 # config.log.  We remove comments because anyway the quotes in there
   2156 # would cause problems or look ugly.
   2157 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2158 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2159 trap 'exit_status=$?
   2160   # Save into config.log some information that might help in debugging.
   2161   {
   2162     echo
   2163 
   2164     $as_echo "## ---------------- ##
   2165 ## Cache variables. ##
   2166 ## ---------------- ##"
   2167     echo
   2168     # The following way of writing the cache mishandles newlines in values,
   2169 (
   2170   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2171     eval ac_val=\$$ac_var
   2172     case $ac_val in #(
   2173     *${as_nl}*)
   2174       case $ac_var in #(
   2175       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2176 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2177       esac
   2178       case $ac_var in #(
   2179       _ | IFS | as_nl) ;; #(
   2180       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2181       *) { eval $ac_var=; unset $ac_var;} ;;
   2182       esac ;;
   2183     esac
   2184   done
   2185   (set) 2>&1 |
   2186     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2187     *${as_nl}ac_space=\ *)
   2188       sed -n \
   2189 	"s/'\''/'\''\\\\'\'''\''/g;
   2190 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2191       ;; #(
   2192     *)
   2193       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2194       ;;
   2195     esac |
   2196     sort
   2197 )
   2198     echo
   2199 
   2200     $as_echo "## ----------------- ##
   2201 ## Output variables. ##
   2202 ## ----------------- ##"
   2203     echo
   2204     for ac_var in $ac_subst_vars
   2205     do
   2206       eval ac_val=\$$ac_var
   2207       case $ac_val in
   2208       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2209       esac
   2210       $as_echo "$ac_var='\''$ac_val'\''"
   2211     done | sort
   2212     echo
   2213 
   2214     if test -n "$ac_subst_files"; then
   2215       $as_echo "## ------------------- ##
   2216 ## File substitutions. ##
   2217 ## ------------------- ##"
   2218       echo
   2219       for ac_var in $ac_subst_files
   2220       do
   2221 	eval ac_val=\$$ac_var
   2222 	case $ac_val in
   2223 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2224 	esac
   2225 	$as_echo "$ac_var='\''$ac_val'\''"
   2226       done | sort
   2227       echo
   2228     fi
   2229 
   2230     if test -s confdefs.h; then
   2231       $as_echo "## ----------- ##
   2232 ## confdefs.h. ##
   2233 ## ----------- ##"
   2234       echo
   2235       cat confdefs.h
   2236       echo
   2237     fi
   2238     test "$ac_signal" != 0 &&
   2239       $as_echo "$as_me: caught signal $ac_signal"
   2240     $as_echo "$as_me: exit $exit_status"
   2241   } >&5
   2242   rm -f core *.core core.conftest.* &&
   2243     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2244     exit $exit_status
   2245 ' 0
   2246 for ac_signal in 1 2 13 15; do
   2247   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2248 done
   2249 ac_signal=0
   2250 
   2251 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2252 rm -f -r conftest* confdefs.h
   2253 
   2254 $as_echo "/* confdefs.h */" > confdefs.h
   2255 
   2256 # Predefined preprocessor variables.
   2257 
   2258 cat >>confdefs.h <<_ACEOF
   2259 #define PACKAGE_NAME "$PACKAGE_NAME"
   2260 _ACEOF
   2261 
   2262 cat >>confdefs.h <<_ACEOF
   2263 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2264 _ACEOF
   2265 
   2266 cat >>confdefs.h <<_ACEOF
   2267 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2268 _ACEOF
   2269 
   2270 cat >>confdefs.h <<_ACEOF
   2271 #define PACKAGE_STRING "$PACKAGE_STRING"
   2272 _ACEOF
   2273 
   2274 cat >>confdefs.h <<_ACEOF
   2275 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2276 _ACEOF
   2277 
   2278 cat >>confdefs.h <<_ACEOF
   2279 #define PACKAGE_URL "$PACKAGE_URL"
   2280 _ACEOF
   2281 
   2282 
   2283 # Let the site file select an alternate cache file if it wants to.
   2284 # Prefer an explicitly selected file to automatically selected ones.
   2285 ac_site_file1=NONE
   2286 ac_site_file2=NONE
   2287 if test -n "$CONFIG_SITE"; then
   2288   # We do not want a PATH search for config.site.
   2289   case $CONFIG_SITE in #((
   2290     -*)  ac_site_file1=./$CONFIG_SITE;;
   2291     */*) ac_site_file1=$CONFIG_SITE;;
   2292     *)   ac_site_file1=./$CONFIG_SITE;;
   2293   esac
   2294 elif test "x$prefix" != xNONE; then
   2295   ac_site_file1=$prefix/share/config.site
   2296   ac_site_file2=$prefix/etc/config.site
   2297 else
   2298   ac_site_file1=$ac_default_prefix/share/config.site
   2299   ac_site_file2=$ac_default_prefix/etc/config.site
   2300 fi
   2301 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2302 do
   2303   test "x$ac_site_file" = xNONE && continue
   2304   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2305     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2306 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2307     sed 's/^/| /' "$ac_site_file" >&5
   2308     . "$ac_site_file" \
   2309       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2310 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2311 as_fn_error $? "failed to load site script $ac_site_file
   2312 See \`config.log' for more details" "$LINENO" 5; }
   2313   fi
   2314 done
   2315 
   2316 if test -r "$cache_file"; then
   2317   # Some versions of bash will fail to source /dev/null (special files
   2318   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2319   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2320     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2321 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2322     case $cache_file in
   2323       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2324       *)                      . "./$cache_file";;
   2325     esac
   2326   fi
   2327 else
   2328   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2329 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2330   >$cache_file
   2331 fi
   2332 
   2333 # Check that the precious variables saved in the cache have kept the same
   2334 # value.
   2335 ac_cache_corrupted=false
   2336 for ac_var in $ac_precious_vars; do
   2337   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2338   eval ac_new_set=\$ac_env_${ac_var}_set
   2339   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2340   eval ac_new_val=\$ac_env_${ac_var}_value
   2341   case $ac_old_set,$ac_new_set in
   2342     set,)
   2343       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2344 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2345       ac_cache_corrupted=: ;;
   2346     ,set)
   2347       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2348 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2349       ac_cache_corrupted=: ;;
   2350     ,);;
   2351     *)
   2352       if test "x$ac_old_val" != "x$ac_new_val"; then
   2353 	# differences in whitespace do not lead to failure.
   2354 	ac_old_val_w=`echo x $ac_old_val`
   2355 	ac_new_val_w=`echo x $ac_new_val`
   2356 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2357 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2358 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2359 	  ac_cache_corrupted=:
   2360 	else
   2361 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2362 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2363 	  eval $ac_var=\$ac_old_val
   2364 	fi
   2365 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2366 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2367 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2368 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2369       fi;;
   2370   esac
   2371   # Pass precious variables to config.status.
   2372   if test "$ac_new_set" = set; then
   2373     case $ac_new_val in
   2374     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2375     *) ac_arg=$ac_var=$ac_new_val ;;
   2376     esac
   2377     case " $ac_configure_args " in
   2378       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2379       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2380     esac
   2381   fi
   2382 done
   2383 if $ac_cache_corrupted; then
   2384   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2385 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2386   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2387 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2388   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2389 fi
   2390 ## -------------------- ##
   2391 ## Main body of script. ##
   2392 ## -------------------- ##
   2393 
   2394 ac_ext=c
   2395 ac_cpp='$CPP $CPPFLAGS'
   2396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2399 
   2400 
   2401 
   2402 ac_config_headers="$ac_config_headers config.h"
   2403 
   2404 
   2405 # Initialize Automake
   2406 am__api_version='1.15'
   2407 
   2408 ac_aux_dir=
   2409 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2410   if test -f "$ac_dir/install-sh"; then
   2411     ac_aux_dir=$ac_dir
   2412     ac_install_sh="$ac_aux_dir/install-sh -c"
   2413     break
   2414   elif test -f "$ac_dir/install.sh"; then
   2415     ac_aux_dir=$ac_dir
   2416     ac_install_sh="$ac_aux_dir/install.sh -c"
   2417     break
   2418   elif test -f "$ac_dir/shtool"; then
   2419     ac_aux_dir=$ac_dir
   2420     ac_install_sh="$ac_aux_dir/shtool install -c"
   2421     break
   2422   fi
   2423 done
   2424 if test -z "$ac_aux_dir"; then
   2425   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2426 fi
   2427 
   2428 # These three variables are undocumented and unsupported,
   2429 # and are intended to be withdrawn in a future Autoconf release.
   2430 # They can cause serious problems if a builder's source tree is in a directory
   2431 # whose full name contains unusual characters.
   2432 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2433 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2434 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2435 
   2436 
   2437 # Find a good install program.  We prefer a C program (faster),
   2438 # so one script is as good as another.  But avoid the broken or
   2439 # incompatible versions:
   2440 # SysV /etc/install, /usr/sbin/install
   2441 # SunOS /usr/etc/install
   2442 # IRIX /sbin/install
   2443 # AIX /bin/install
   2444 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2445 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2446 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2447 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2448 # OS/2's system install, which has a completely different semantic
   2449 # ./install, which can be erroneously created by make from ./install.sh.
   2450 # Reject install programs that cannot install multiple files.
   2451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2452 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2453 if test -z "$INSTALL"; then
   2454 if ${ac_cv_path_install+:} false; then :
   2455   $as_echo_n "(cached) " >&6
   2456 else
   2457   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2458 for as_dir in $PATH
   2459 do
   2460   IFS=$as_save_IFS
   2461   test -z "$as_dir" && as_dir=.
   2462     # Account for people who put trailing slashes in PATH elements.
   2463 case $as_dir/ in #((
   2464   ./ | .// | /[cC]/* | \
   2465   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2466   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2467   /usr/ucb/* ) ;;
   2468   *)
   2469     # OSF1 and SCO ODT 3.0 have their own names for install.
   2470     # Don't use installbsd from OSF since it installs stuff as root
   2471     # by default.
   2472     for ac_prog in ginstall scoinst install; do
   2473       for ac_exec_ext in '' $ac_executable_extensions; do
   2474 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2475 	  if test $ac_prog = install &&
   2476 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2477 	    # AIX install.  It has an incompatible calling convention.
   2478 	    :
   2479 	  elif test $ac_prog = install &&
   2480 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2481 	    # program-specific install script used by HP pwplus--don't use.
   2482 	    :
   2483 	  else
   2484 	    rm -rf conftest.one conftest.two conftest.dir
   2485 	    echo one > conftest.one
   2486 	    echo two > conftest.two
   2487 	    mkdir conftest.dir
   2488 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2489 	      test -s conftest.one && test -s conftest.two &&
   2490 	      test -s conftest.dir/conftest.one &&
   2491 	      test -s conftest.dir/conftest.two
   2492 	    then
   2493 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2494 	      break 3
   2495 	    fi
   2496 	  fi
   2497 	fi
   2498       done
   2499     done
   2500     ;;
   2501 esac
   2502 
   2503   done
   2504 IFS=$as_save_IFS
   2505 
   2506 rm -rf conftest.one conftest.two conftest.dir
   2507 
   2508 fi
   2509   if test "${ac_cv_path_install+set}" = set; then
   2510     INSTALL=$ac_cv_path_install
   2511   else
   2512     # As a last resort, use the slow shell script.  Don't cache a
   2513     # value for INSTALL within a source directory, because that will
   2514     # break other packages using the cache if that directory is
   2515     # removed, or if the value is a relative name.
   2516     INSTALL=$ac_install_sh
   2517   fi
   2518 fi
   2519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2520 $as_echo "$INSTALL" >&6; }
   2521 
   2522 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2523 # It thinks the first close brace ends the variable substitution.
   2524 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2525 
   2526 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2527 
   2528 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2529 
   2530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2531 $as_echo_n "checking whether build environment is sane... " >&6; }
   2532 # Reject unsafe characters in $srcdir or the absolute working directory
   2533 # name.  Accept space and tab only in the latter.
   2534 am_lf='
   2535 '
   2536 case `pwd` in
   2537   *[\\\"\#\$\&\'\`$am_lf]*)
   2538     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2539 esac
   2540 case $srcdir in
   2541   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2542     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2543 esac
   2544 
   2545 # Do 'set' in a subshell so we don't clobber the current shell's
   2546 # arguments.  Must try -L first in case configure is actually a
   2547 # symlink; some systems play weird games with the mod time of symlinks
   2548 # (eg FreeBSD returns the mod time of the symlink's containing
   2549 # directory).
   2550 if (
   2551    am_has_slept=no
   2552    for am_try in 1 2; do
   2553      echo "timestamp, slept: $am_has_slept" > conftest.file
   2554      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2555      if test "$*" = "X"; then
   2556 	# -L didn't work.
   2557 	set X `ls -t "$srcdir/configure" conftest.file`
   2558      fi
   2559      if test "$*" != "X $srcdir/configure conftest.file" \
   2560 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2561 
   2562 	# If neither matched, then we have a broken ls.  This can happen
   2563 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2564 	# broken ls alias from the environment.  This has actually
   2565 	# happened.  Such a system could not be considered "sane".
   2566 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2567   alias in your environment" "$LINENO" 5
   2568      fi
   2569      if test "$2" = conftest.file || test $am_try -eq 2; then
   2570        break
   2571      fi
   2572      # Just in case.
   2573      sleep 1
   2574      am_has_slept=yes
   2575    done
   2576    test "$2" = conftest.file
   2577    )
   2578 then
   2579    # Ok.
   2580    :
   2581 else
   2582    as_fn_error $? "newly created file is older than distributed files!
   2583 Check your system clock" "$LINENO" 5
   2584 fi
   2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2586 $as_echo "yes" >&6; }
   2587 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2588 # generated files are strictly newer.
   2589 am_sleep_pid=
   2590 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2591   ( sleep 1 ) &
   2592   am_sleep_pid=$!
   2593 fi
   2594 
   2595 rm -f conftest.file
   2596 
   2597 test "$program_prefix" != NONE &&
   2598   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2599 # Use a double $ so make ignores it.
   2600 test "$program_suffix" != NONE &&
   2601   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2602 # Double any \ or $.
   2603 # By default was `s,x,x', remove it if useless.
   2604 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2605 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2606 
   2607 # Expand $ac_aux_dir to an absolute path.
   2608 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2609 
   2610 if test x"${MISSING+set}" != xset; then
   2611   case $am_aux_dir in
   2612   *\ * | *\	*)
   2613     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2614   *)
   2615     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2616   esac
   2617 fi
   2618 # Use eval to expand $SHELL
   2619 if eval "$MISSING --is-lightweight"; then
   2620   am_missing_run="$MISSING "
   2621 else
   2622   am_missing_run=
   2623   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2624 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2625 fi
   2626 
   2627 if test x"${install_sh+set}" != xset; then
   2628   case $am_aux_dir in
   2629   *\ * | *\	*)
   2630     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2631   *)
   2632     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2633   esac
   2634 fi
   2635 
   2636 # Installed binaries are usually stripped using 'strip' when the user
   2637 # run "make install-strip".  However 'strip' might not be the right
   2638 # tool to use in cross-compilation environments, therefore Automake
   2639 # will honor the 'STRIP' environment variable to overrule this program.
   2640 if test "$cross_compiling" != no; then
   2641   if test -n "$ac_tool_prefix"; then
   2642   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2643 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2645 $as_echo_n "checking for $ac_word... " >&6; }
   2646 if ${ac_cv_prog_STRIP+:} false; then :
   2647   $as_echo_n "(cached) " >&6
   2648 else
   2649   if test -n "$STRIP"; then
   2650   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2651 else
   2652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2653 for as_dir in $PATH
   2654 do
   2655   IFS=$as_save_IFS
   2656   test -z "$as_dir" && as_dir=.
   2657     for ac_exec_ext in '' $ac_executable_extensions; do
   2658   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2659     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2660     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2661     break 2
   2662   fi
   2663 done
   2664   done
   2665 IFS=$as_save_IFS
   2666 
   2667 fi
   2668 fi
   2669 STRIP=$ac_cv_prog_STRIP
   2670 if test -n "$STRIP"; then
   2671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2672 $as_echo "$STRIP" >&6; }
   2673 else
   2674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2675 $as_echo "no" >&6; }
   2676 fi
   2677 
   2678 
   2679 fi
   2680 if test -z "$ac_cv_prog_STRIP"; then
   2681   ac_ct_STRIP=$STRIP
   2682   # Extract the first word of "strip", so it can be a program name with args.
   2683 set dummy strip; ac_word=$2
   2684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2685 $as_echo_n "checking for $ac_word... " >&6; }
   2686 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2687   $as_echo_n "(cached) " >&6
   2688 else
   2689   if test -n "$ac_ct_STRIP"; then
   2690   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2691 else
   2692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2693 for as_dir in $PATH
   2694 do
   2695   IFS=$as_save_IFS
   2696   test -z "$as_dir" && as_dir=.
   2697     for ac_exec_ext in '' $ac_executable_extensions; do
   2698   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2699     ac_cv_prog_ac_ct_STRIP="strip"
   2700     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2701     break 2
   2702   fi
   2703 done
   2704   done
   2705 IFS=$as_save_IFS
   2706 
   2707 fi
   2708 fi
   2709 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2710 if test -n "$ac_ct_STRIP"; then
   2711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2712 $as_echo "$ac_ct_STRIP" >&6; }
   2713 else
   2714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2715 $as_echo "no" >&6; }
   2716 fi
   2717 
   2718   if test "x$ac_ct_STRIP" = x; then
   2719     STRIP=":"
   2720   else
   2721     case $cross_compiling:$ac_tool_warned in
   2722 yes:)
   2723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2724 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2725 ac_tool_warned=yes ;;
   2726 esac
   2727     STRIP=$ac_ct_STRIP
   2728   fi
   2729 else
   2730   STRIP="$ac_cv_prog_STRIP"
   2731 fi
   2732 
   2733 fi
   2734 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2735 
   2736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2737 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2738 if test -z "$MKDIR_P"; then
   2739   if ${ac_cv_path_mkdir+:} false; then :
   2740   $as_echo_n "(cached) " >&6
   2741 else
   2742   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2743 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2744 do
   2745   IFS=$as_save_IFS
   2746   test -z "$as_dir" && as_dir=.
   2747     for ac_prog in mkdir gmkdir; do
   2748 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2749 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2750 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2751 	     'mkdir (GNU coreutils) '* | \
   2752 	     'mkdir (coreutils) '* | \
   2753 	     'mkdir (fileutils) '4.1*)
   2754 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2755 	       break 3;;
   2756 	   esac
   2757 	 done
   2758        done
   2759   done
   2760 IFS=$as_save_IFS
   2761 
   2762 fi
   2763 
   2764   test -d ./--version && rmdir ./--version
   2765   if test "${ac_cv_path_mkdir+set}" = set; then
   2766     MKDIR_P="$ac_cv_path_mkdir -p"
   2767   else
   2768     # As a last resort, use the slow shell script.  Don't cache a
   2769     # value for MKDIR_P within a source directory, because that will
   2770     # break other packages using the cache if that directory is
   2771     # removed, or if the value is a relative name.
   2772     MKDIR_P="$ac_install_sh -d"
   2773   fi
   2774 fi
   2775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2776 $as_echo "$MKDIR_P" >&6; }
   2777 
   2778 for ac_prog in gawk mawk nawk awk
   2779 do
   2780   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2781 set dummy $ac_prog; ac_word=$2
   2782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2783 $as_echo_n "checking for $ac_word... " >&6; }
   2784 if ${ac_cv_prog_AWK+:} false; then :
   2785   $as_echo_n "(cached) " >&6
   2786 else
   2787   if test -n "$AWK"; then
   2788   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2789 else
   2790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2791 for as_dir in $PATH
   2792 do
   2793   IFS=$as_save_IFS
   2794   test -z "$as_dir" && as_dir=.
   2795     for ac_exec_ext in '' $ac_executable_extensions; do
   2796   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2797     ac_cv_prog_AWK="$ac_prog"
   2798     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2799     break 2
   2800   fi
   2801 done
   2802   done
   2803 IFS=$as_save_IFS
   2804 
   2805 fi
   2806 fi
   2807 AWK=$ac_cv_prog_AWK
   2808 if test -n "$AWK"; then
   2809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2810 $as_echo "$AWK" >&6; }
   2811 else
   2812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2813 $as_echo "no" >&6; }
   2814 fi
   2815 
   2816 
   2817   test -n "$AWK" && break
   2818 done
   2819 
   2820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2821 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2822 set x ${MAKE-make}
   2823 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2824 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2825   $as_echo_n "(cached) " >&6
   2826 else
   2827   cat >conftest.make <<\_ACEOF
   2828 SHELL = /bin/sh
   2829 all:
   2830 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2831 _ACEOF
   2832 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2833 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2834   *@@@%%%=?*=@@@%%%*)
   2835     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2836   *)
   2837     eval ac_cv_prog_make_${ac_make}_set=no;;
   2838 esac
   2839 rm -f conftest.make
   2840 fi
   2841 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2843 $as_echo "yes" >&6; }
   2844   SET_MAKE=
   2845 else
   2846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2847 $as_echo "no" >&6; }
   2848   SET_MAKE="MAKE=${MAKE-make}"
   2849 fi
   2850 
   2851 rm -rf .tst 2>/dev/null
   2852 mkdir .tst 2>/dev/null
   2853 if test -d .tst; then
   2854   am__leading_dot=.
   2855 else
   2856   am__leading_dot=_
   2857 fi
   2858 rmdir .tst 2>/dev/null
   2859 
   2860 # Check whether --enable-silent-rules was given.
   2861 if test "${enable_silent_rules+set}" = set; then :
   2862   enableval=$enable_silent_rules;
   2863 fi
   2864 
   2865 case $enable_silent_rules in # (((
   2866   yes) AM_DEFAULT_VERBOSITY=0;;
   2867    no) AM_DEFAULT_VERBOSITY=1;;
   2868     *) AM_DEFAULT_VERBOSITY=1;;
   2869 esac
   2870 am_make=${MAKE-make}
   2871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2872 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2873 if ${am_cv_make_support_nested_variables+:} false; then :
   2874   $as_echo_n "(cached) " >&6
   2875 else
   2876   if $as_echo 'TRUE=$(BAR$(V))
   2877 BAR0=false
   2878 BAR1=true
   2879 V=1
   2880 am__doit:
   2881 	@$(TRUE)
   2882 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2883   am_cv_make_support_nested_variables=yes
   2884 else
   2885   am_cv_make_support_nested_variables=no
   2886 fi
   2887 fi
   2888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2889 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2890 if test $am_cv_make_support_nested_variables = yes; then
   2891     AM_V='$(V)'
   2892   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2893 else
   2894   AM_V=$AM_DEFAULT_VERBOSITY
   2895   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2896 fi
   2897 AM_BACKSLASH='\'
   2898 
   2899 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2900   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2901   # is not polluted with repeated "-I."
   2902   am__isrc=' -I$(srcdir)'
   2903   # test to see if srcdir already configured
   2904   if test -f $srcdir/config.status; then
   2905     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2906   fi
   2907 fi
   2908 
   2909 # test whether we have cygpath
   2910 if test -z "$CYGPATH_W"; then
   2911   if (cygpath --version) >/dev/null 2>/dev/null; then
   2912     CYGPATH_W='cygpath -w'
   2913   else
   2914     CYGPATH_W=echo
   2915   fi
   2916 fi
   2917 
   2918 
   2919 # Define the identity of the package.
   2920  PACKAGE='libXaw'
   2921  VERSION='1.0.13'
   2922 
   2923 
   2924 cat >>confdefs.h <<_ACEOF
   2925 #define PACKAGE "$PACKAGE"
   2926 _ACEOF
   2927 
   2928 
   2929 cat >>confdefs.h <<_ACEOF
   2930 #define VERSION "$VERSION"
   2931 _ACEOF
   2932 
   2933 # Some tools Automake needs.
   2934 
   2935 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2936 
   2937 
   2938 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2939 
   2940 
   2941 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2942 
   2943 
   2944 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2945 
   2946 
   2947 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2948 
   2949 # For better backward compatibility.  To be removed once Automake 1.9.x
   2950 # dies out for good.  For more background, see:
   2951 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2952 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2953 mkdir_p='$(MKDIR_P)'
   2954 
   2955 # We need awk for the "check" target (and possibly the TAP driver).  The
   2956 # system "awk" is bad on some platforms.
   2957 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2958 # in the wild :-(  We should find a proper way to deprecate it ...
   2959 AMTAR='$${TAR-tar}'
   2960 
   2961 
   2962 # We'll loop over all known methods to create a tar archive until one works.
   2963 _am_tools='gnutar  pax cpio none'
   2964 
   2965 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2966 
   2967 
   2968 
   2969 
   2970 
   2971 
   2972 # POSIX will say in a future version that running "rm -f" with no argument
   2973 # is OK; and we want to be able to make that assumption in our Makefile
   2974 # recipes.  So use an aggressive probe to check that the usage we want is
   2975 # actually supported "in the wild" to an acceptable degree.
   2976 # See automake bug#10828.
   2977 # To make any issue more visible, cause the running configure to be aborted
   2978 # by default if the 'rm' program in use doesn't match our expectations; the
   2979 # user can still override this though.
   2980 if rm -f && rm -fr && rm -rf; then : OK; else
   2981   cat >&2 <<'END'
   2982 Oops!
   2983 
   2984 Your 'rm' program seems unable to run without file operands specified
   2985 on the command line, even when the '-f' option is present.  This is contrary
   2986 to the behaviour of most rm programs out there, and not conforming with
   2987 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2988 
   2989 Please tell bug-automake@gnu.org about your system, including the value
   2990 of your $PATH and any error possibly output before this message.  This
   2991 can help us improve future automake versions.
   2992 
   2993 END
   2994   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2995     echo 'Configuration will proceed anyway, since you have set the' >&2
   2996     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2997     echo >&2
   2998   else
   2999     cat >&2 <<'END'
   3000 Aborting the configuration process, to ensure you take notice of the issue.
   3001 
   3002 You can download and install GNU coreutils to get an 'rm' implementation
   3003 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   3004 
   3005 If you want to complete the configuration process using your problematic
   3006 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3007 to "yes", and re-run configure.
   3008 
   3009 END
   3010     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3011   fi
   3012 fi
   3013 
   3014 
   3015 # Initialize libtool
   3016 case `pwd` in
   3017   *\ * | *\	*)
   3018     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   3019 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   3020 esac
   3021 
   3022 
   3023 
   3024 macro_version='2.4.2'
   3025 macro_revision='1.3337'
   3026 
   3027 
   3028 
   3029 
   3030 
   3031 
   3032 
   3033 
   3034 
   3035 
   3036 
   3037 
   3038 
   3039 ltmain="$ac_aux_dir/ltmain.sh"
   3040 
   3041 # Make sure we can run config.sub.
   3042 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3043   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   3044 
   3045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3046 $as_echo_n "checking build system type... " >&6; }
   3047 if ${ac_cv_build+:} false; then :
   3048   $as_echo_n "(cached) " >&6
   3049 else
   3050   ac_build_alias=$build_alias
   3051 test "x$ac_build_alias" = x &&
   3052   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3053 test "x$ac_build_alias" = x &&
   3054   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3055 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3056   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   3057 
   3058 fi
   3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3060 $as_echo "$ac_cv_build" >&6; }
   3061 case $ac_cv_build in
   3062 *-*-*) ;;
   3063 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3064 esac
   3065 build=$ac_cv_build
   3066 ac_save_IFS=$IFS; IFS='-'
   3067 set x $ac_cv_build
   3068 shift
   3069 build_cpu=$1
   3070 build_vendor=$2
   3071 shift; shift
   3072 # Remember, the first character of IFS is used to create $*,
   3073 # except with old shells:
   3074 build_os=$*
   3075 IFS=$ac_save_IFS
   3076 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3077 
   3078 
   3079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3080 $as_echo_n "checking host system type... " >&6; }
   3081 if ${ac_cv_host+:} false; then :
   3082   $as_echo_n "(cached) " >&6
   3083 else
   3084   if test "x$host_alias" = x; then
   3085   ac_cv_host=$ac_cv_build
   3086 else
   3087   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3088     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   3089 fi
   3090 
   3091 fi
   3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3093 $as_echo "$ac_cv_host" >&6; }
   3094 case $ac_cv_host in
   3095 *-*-*) ;;
   3096 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3097 esac
   3098 host=$ac_cv_host
   3099 ac_save_IFS=$IFS; IFS='-'
   3100 set x $ac_cv_host
   3101 shift
   3102 host_cpu=$1
   3103 host_vendor=$2
   3104 shift; shift
   3105 # Remember, the first character of IFS is used to create $*,
   3106 # except with old shells:
   3107 host_os=$*
   3108 IFS=$ac_save_IFS
   3109 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3110 
   3111 
   3112 # Backslashify metacharacters that are still active within
   3113 # double-quoted strings.
   3114 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   3115 
   3116 # Same as above, but do not quote variable references.
   3117 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   3118 
   3119 # Sed substitution to delay expansion of an escaped shell variable in a
   3120 # double_quote_subst'ed string.
   3121 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   3122 
   3123 # Sed substitution to delay expansion of an escaped single quote.
   3124 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   3125 
   3126 # Sed substitution to avoid accidental globbing in evaled expressions
   3127 no_glob_subst='s/\*/\\\*/g'
   3128 
   3129 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   3130 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   3131 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   3132 
   3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   3134 $as_echo_n "checking how to print strings... " >&6; }
   3135 # Test print first, because it will be a builtin if present.
   3136 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   3137    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   3138   ECHO='print -r --'
   3139 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   3140   ECHO='printf %s\n'
   3141 else
   3142   # Use this function as a fallback that always works.
   3143   func_fallback_echo ()
   3144   {
   3145     eval 'cat <<_LTECHO_EOF
   3146 $1
   3147 _LTECHO_EOF'
   3148   }
   3149   ECHO='func_fallback_echo'
   3150 fi
   3151 
   3152 # func_echo_all arg...
   3153 # Invoke $ECHO with all args, space-separated.
   3154 func_echo_all ()
   3155 {
   3156     $ECHO ""
   3157 }
   3158 
   3159 case "$ECHO" in
   3160   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   3161 $as_echo "printf" >&6; } ;;
   3162   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   3163 $as_echo "print -r" >&6; } ;;
   3164   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   3165 $as_echo "cat" >&6; } ;;
   3166 esac
   3167 
   3168 
   3169 
   3170 
   3171 
   3172 
   3173 
   3174 
   3175 
   3176 
   3177 
   3178 
   3179 
   3180 
   3181 DEPDIR="${am__leading_dot}deps"
   3182 
   3183 ac_config_commands="$ac_config_commands depfiles"
   3184 
   3185 
   3186 am_make=${MAKE-make}
   3187 cat > confinc << 'END'
   3188 am__doit:
   3189 	@echo this is the am__doit target
   3190 .PHONY: am__doit
   3191 END
   3192 # If we don't find an include directive, just comment out the code.
   3193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3194 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3195 am__include="#"
   3196 am__quote=
   3197 _am_result=none
   3198 # First try GNU make style include.
   3199 echo "include confinc" > confmf
   3200 # Ignore all kinds of additional output from 'make'.
   3201 case `$am_make -s -f confmf 2> /dev/null` in #(
   3202 *the\ am__doit\ target*)
   3203   am__include=include
   3204   am__quote=
   3205   _am_result=GNU
   3206   ;;
   3207 esac
   3208 # Now try BSD make style include.
   3209 if test "$am__include" = "#"; then
   3210    echo '.include "confinc"' > confmf
   3211    case `$am_make -s -f confmf 2> /dev/null` in #(
   3212    *the\ am__doit\ target*)
   3213      am__include=.include
   3214      am__quote="\""
   3215      _am_result=BSD
   3216      ;;
   3217    esac
   3218 fi
   3219 
   3220 
   3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3222 $as_echo "$_am_result" >&6; }
   3223 rm -f confinc confmf
   3224 
   3225 # Check whether --enable-dependency-tracking was given.
   3226 if test "${enable_dependency_tracking+set}" = set; then :
   3227   enableval=$enable_dependency_tracking;
   3228 fi
   3229 
   3230 if test "x$enable_dependency_tracking" != xno; then
   3231   am_depcomp="$ac_aux_dir/depcomp"
   3232   AMDEPBACKSLASH='\'
   3233   am__nodep='_no'
   3234 fi
   3235  if test "x$enable_dependency_tracking" != xno; then
   3236   AMDEP_TRUE=
   3237   AMDEP_FALSE='#'
   3238 else
   3239   AMDEP_TRUE='#'
   3240   AMDEP_FALSE=
   3241 fi
   3242 
   3243 
   3244 ac_ext=c
   3245 ac_cpp='$CPP $CPPFLAGS'
   3246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3249 if test -n "$ac_tool_prefix"; then
   3250   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3251 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3253 $as_echo_n "checking for $ac_word... " >&6; }
   3254 if ${ac_cv_prog_CC+:} false; then :
   3255   $as_echo_n "(cached) " >&6
   3256 else
   3257   if test -n "$CC"; then
   3258   ac_cv_prog_CC="$CC" # Let the user override the test.
   3259 else
   3260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3261 for as_dir in $PATH
   3262 do
   3263   IFS=$as_save_IFS
   3264   test -z "$as_dir" && as_dir=.
   3265     for ac_exec_ext in '' $ac_executable_extensions; do
   3266   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3267     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3268     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3269     break 2
   3270   fi
   3271 done
   3272   done
   3273 IFS=$as_save_IFS
   3274 
   3275 fi
   3276 fi
   3277 CC=$ac_cv_prog_CC
   3278 if test -n "$CC"; then
   3279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3280 $as_echo "$CC" >&6; }
   3281 else
   3282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3283 $as_echo "no" >&6; }
   3284 fi
   3285 
   3286 
   3287 fi
   3288 if test -z "$ac_cv_prog_CC"; then
   3289   ac_ct_CC=$CC
   3290   # Extract the first word of "gcc", so it can be a program name with args.
   3291 set dummy gcc; ac_word=$2
   3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3293 $as_echo_n "checking for $ac_word... " >&6; }
   3294 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3295   $as_echo_n "(cached) " >&6
   3296 else
   3297   if test -n "$ac_ct_CC"; then
   3298   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3299 else
   3300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3301 for as_dir in $PATH
   3302 do
   3303   IFS=$as_save_IFS
   3304   test -z "$as_dir" && as_dir=.
   3305     for ac_exec_ext in '' $ac_executable_extensions; do
   3306   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3307     ac_cv_prog_ac_ct_CC="gcc"
   3308     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3309     break 2
   3310   fi
   3311 done
   3312   done
   3313 IFS=$as_save_IFS
   3314 
   3315 fi
   3316 fi
   3317 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3318 if test -n "$ac_ct_CC"; then
   3319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3320 $as_echo "$ac_ct_CC" >&6; }
   3321 else
   3322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3323 $as_echo "no" >&6; }
   3324 fi
   3325 
   3326   if test "x$ac_ct_CC" = x; then
   3327     CC=""
   3328   else
   3329     case $cross_compiling:$ac_tool_warned in
   3330 yes:)
   3331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3332 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3333 ac_tool_warned=yes ;;
   3334 esac
   3335     CC=$ac_ct_CC
   3336   fi
   3337 else
   3338   CC="$ac_cv_prog_CC"
   3339 fi
   3340 
   3341 if test -z "$CC"; then
   3342           if test -n "$ac_tool_prefix"; then
   3343     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3344 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3346 $as_echo_n "checking for $ac_word... " >&6; }
   3347 if ${ac_cv_prog_CC+:} false; then :
   3348   $as_echo_n "(cached) " >&6
   3349 else
   3350   if test -n "$CC"; then
   3351   ac_cv_prog_CC="$CC" # Let the user override the test.
   3352 else
   3353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3354 for as_dir in $PATH
   3355 do
   3356   IFS=$as_save_IFS
   3357   test -z "$as_dir" && as_dir=.
   3358     for ac_exec_ext in '' $ac_executable_extensions; do
   3359   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3360     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3361     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3362     break 2
   3363   fi
   3364 done
   3365   done
   3366 IFS=$as_save_IFS
   3367 
   3368 fi
   3369 fi
   3370 CC=$ac_cv_prog_CC
   3371 if test -n "$CC"; then
   3372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3373 $as_echo "$CC" >&6; }
   3374 else
   3375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3376 $as_echo "no" >&6; }
   3377 fi
   3378 
   3379 
   3380   fi
   3381 fi
   3382 if test -z "$CC"; then
   3383   # Extract the first word of "cc", so it can be a program name with args.
   3384 set dummy cc; ac_word=$2
   3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3386 $as_echo_n "checking for $ac_word... " >&6; }
   3387 if ${ac_cv_prog_CC+:} false; then :
   3388   $as_echo_n "(cached) " >&6
   3389 else
   3390   if test -n "$CC"; then
   3391   ac_cv_prog_CC="$CC" # Let the user override the test.
   3392 else
   3393   ac_prog_rejected=no
   3394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3395 for as_dir in $PATH
   3396 do
   3397   IFS=$as_save_IFS
   3398   test -z "$as_dir" && as_dir=.
   3399     for ac_exec_ext in '' $ac_executable_extensions; do
   3400   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3401     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3402        ac_prog_rejected=yes
   3403        continue
   3404      fi
   3405     ac_cv_prog_CC="cc"
   3406     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3407     break 2
   3408   fi
   3409 done
   3410   done
   3411 IFS=$as_save_IFS
   3412 
   3413 if test $ac_prog_rejected = yes; then
   3414   # We found a bogon in the path, so make sure we never use it.
   3415   set dummy $ac_cv_prog_CC
   3416   shift
   3417   if test $# != 0; then
   3418     # We chose a different compiler from the bogus one.
   3419     # However, it has the same basename, so the bogon will be chosen
   3420     # first if we set CC to just the basename; use the full file name.
   3421     shift
   3422     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3423   fi
   3424 fi
   3425 fi
   3426 fi
   3427 CC=$ac_cv_prog_CC
   3428 if test -n "$CC"; then
   3429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3430 $as_echo "$CC" >&6; }
   3431 else
   3432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3433 $as_echo "no" >&6; }
   3434 fi
   3435 
   3436 
   3437 fi
   3438 if test -z "$CC"; then
   3439   if test -n "$ac_tool_prefix"; then
   3440   for ac_prog in cl.exe
   3441   do
   3442     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3443 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3445 $as_echo_n "checking for $ac_word... " >&6; }
   3446 if ${ac_cv_prog_CC+:} false; then :
   3447   $as_echo_n "(cached) " >&6
   3448 else
   3449   if test -n "$CC"; then
   3450   ac_cv_prog_CC="$CC" # Let the user override the test.
   3451 else
   3452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3453 for as_dir in $PATH
   3454 do
   3455   IFS=$as_save_IFS
   3456   test -z "$as_dir" && as_dir=.
   3457     for ac_exec_ext in '' $ac_executable_extensions; do
   3458   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3459     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3460     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3461     break 2
   3462   fi
   3463 done
   3464   done
   3465 IFS=$as_save_IFS
   3466 
   3467 fi
   3468 fi
   3469 CC=$ac_cv_prog_CC
   3470 if test -n "$CC"; then
   3471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3472 $as_echo "$CC" >&6; }
   3473 else
   3474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3475 $as_echo "no" >&6; }
   3476 fi
   3477 
   3478 
   3479     test -n "$CC" && break
   3480   done
   3481 fi
   3482 if test -z "$CC"; then
   3483   ac_ct_CC=$CC
   3484   for ac_prog in cl.exe
   3485 do
   3486   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3487 set dummy $ac_prog; ac_word=$2
   3488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3489 $as_echo_n "checking for $ac_word... " >&6; }
   3490 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3491   $as_echo_n "(cached) " >&6
   3492 else
   3493   if test -n "$ac_ct_CC"; then
   3494   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3495 else
   3496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3497 for as_dir in $PATH
   3498 do
   3499   IFS=$as_save_IFS
   3500   test -z "$as_dir" && as_dir=.
   3501     for ac_exec_ext in '' $ac_executable_extensions; do
   3502   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3503     ac_cv_prog_ac_ct_CC="$ac_prog"
   3504     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3505     break 2
   3506   fi
   3507 done
   3508   done
   3509 IFS=$as_save_IFS
   3510 
   3511 fi
   3512 fi
   3513 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3514 if test -n "$ac_ct_CC"; then
   3515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3516 $as_echo "$ac_ct_CC" >&6; }
   3517 else
   3518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3519 $as_echo "no" >&6; }
   3520 fi
   3521 
   3522 
   3523   test -n "$ac_ct_CC" && break
   3524 done
   3525 
   3526   if test "x$ac_ct_CC" = x; then
   3527     CC=""
   3528   else
   3529     case $cross_compiling:$ac_tool_warned in
   3530 yes:)
   3531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3532 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3533 ac_tool_warned=yes ;;
   3534 esac
   3535     CC=$ac_ct_CC
   3536   fi
   3537 fi
   3538 
   3539 fi
   3540 
   3541 
   3542 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3543 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3544 as_fn_error $? "no acceptable C compiler found in \$PATH
   3545 See \`config.log' for more details" "$LINENO" 5; }
   3546 
   3547 # Provide some information about the compiler.
   3548 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3549 set X $ac_compile
   3550 ac_compiler=$2
   3551 for ac_option in --version -v -V -qversion; do
   3552   { { ac_try="$ac_compiler $ac_option >&5"
   3553 case "(($ac_try" in
   3554   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3555   *) ac_try_echo=$ac_try;;
   3556 esac
   3557 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3558 $as_echo "$ac_try_echo"; } >&5
   3559   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3560   ac_status=$?
   3561   if test -s conftest.err; then
   3562     sed '10a\
   3563 ... rest of stderr output deleted ...
   3564          10q' conftest.err >conftest.er1
   3565     cat conftest.er1 >&5
   3566   fi
   3567   rm -f conftest.er1 conftest.err
   3568   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3569   test $ac_status = 0; }
   3570 done
   3571 
   3572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3573 /* end confdefs.h.  */
   3574 
   3575 int
   3576 main ()
   3577 {
   3578 
   3579   ;
   3580   return 0;
   3581 }
   3582 _ACEOF
   3583 ac_clean_files_save=$ac_clean_files
   3584 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3585 # Try to create an executable without -o first, disregard a.out.
   3586 # It will help us diagnose broken compilers, and finding out an intuition
   3587 # of exeext.
   3588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3589 $as_echo_n "checking whether the C compiler works... " >&6; }
   3590 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3591 
   3592 # The possible output files:
   3593 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3594 
   3595 ac_rmfiles=
   3596 for ac_file in $ac_files
   3597 do
   3598   case $ac_file in
   3599     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3600     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3601   esac
   3602 done
   3603 rm -f $ac_rmfiles
   3604 
   3605 if { { ac_try="$ac_link_default"
   3606 case "(($ac_try" in
   3607   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3608   *) ac_try_echo=$ac_try;;
   3609 esac
   3610 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3611 $as_echo "$ac_try_echo"; } >&5
   3612   (eval "$ac_link_default") 2>&5
   3613   ac_status=$?
   3614   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3615   test $ac_status = 0; }; then :
   3616   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3617 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3618 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3619 # so that the user can short-circuit this test for compilers unknown to
   3620 # Autoconf.
   3621 for ac_file in $ac_files ''
   3622 do
   3623   test -f "$ac_file" || continue
   3624   case $ac_file in
   3625     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3626 	;;
   3627     [ab].out )
   3628 	# We found the default executable, but exeext='' is most
   3629 	# certainly right.
   3630 	break;;
   3631     *.* )
   3632 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3633 	then :; else
   3634 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3635 	fi
   3636 	# We set ac_cv_exeext here because the later test for it is not
   3637 	# safe: cross compilers may not add the suffix if given an `-o'
   3638 	# argument, so we may need to know it at that point already.
   3639 	# Even if this section looks crufty: it has the advantage of
   3640 	# actually working.
   3641 	break;;
   3642     * )
   3643 	break;;
   3644   esac
   3645 done
   3646 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3647 
   3648 else
   3649   ac_file=''
   3650 fi
   3651 if test -z "$ac_file"; then :
   3652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3653 $as_echo "no" >&6; }
   3654 $as_echo "$as_me: failed program was:" >&5
   3655 sed 's/^/| /' conftest.$ac_ext >&5
   3656 
   3657 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3658 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3659 as_fn_error 77 "C compiler cannot create executables
   3660 See \`config.log' for more details" "$LINENO" 5; }
   3661 else
   3662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3663 $as_echo "yes" >&6; }
   3664 fi
   3665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3666 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3668 $as_echo "$ac_file" >&6; }
   3669 ac_exeext=$ac_cv_exeext
   3670 
   3671 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3672 ac_clean_files=$ac_clean_files_save
   3673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3674 $as_echo_n "checking for suffix of executables... " >&6; }
   3675 if { { ac_try="$ac_link"
   3676 case "(($ac_try" in
   3677   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3678   *) ac_try_echo=$ac_try;;
   3679 esac
   3680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3681 $as_echo "$ac_try_echo"; } >&5
   3682   (eval "$ac_link") 2>&5
   3683   ac_status=$?
   3684   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3685   test $ac_status = 0; }; then :
   3686   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3687 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3688 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3689 # `rm'.
   3690 for ac_file in conftest.exe conftest conftest.*; do
   3691   test -f "$ac_file" || continue
   3692   case $ac_file in
   3693     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3694     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3695 	  break;;
   3696     * ) break;;
   3697   esac
   3698 done
   3699 else
   3700   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3701 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3702 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3703 See \`config.log' for more details" "$LINENO" 5; }
   3704 fi
   3705 rm -f conftest conftest$ac_cv_exeext
   3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3707 $as_echo "$ac_cv_exeext" >&6; }
   3708 
   3709 rm -f conftest.$ac_ext
   3710 EXEEXT=$ac_cv_exeext
   3711 ac_exeext=$EXEEXT
   3712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3713 /* end confdefs.h.  */
   3714 #include <stdio.h>
   3715 int
   3716 main ()
   3717 {
   3718 FILE *f = fopen ("conftest.out", "w");
   3719  return ferror (f) || fclose (f) != 0;
   3720 
   3721   ;
   3722   return 0;
   3723 }
   3724 _ACEOF
   3725 ac_clean_files="$ac_clean_files conftest.out"
   3726 # Check that the compiler produces executables we can run.  If not, either
   3727 # the compiler is broken, or we cross compile.
   3728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3729 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3730 if test "$cross_compiling" != yes; then
   3731   { { ac_try="$ac_link"
   3732 case "(($ac_try" in
   3733   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3734   *) ac_try_echo=$ac_try;;
   3735 esac
   3736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3737 $as_echo "$ac_try_echo"; } >&5
   3738   (eval "$ac_link") 2>&5
   3739   ac_status=$?
   3740   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3741   test $ac_status = 0; }
   3742   if { ac_try='./conftest$ac_cv_exeext'
   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_try") 2>&5
   3750   ac_status=$?
   3751   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3752   test $ac_status = 0; }; }; then
   3753     cross_compiling=no
   3754   else
   3755     if test "$cross_compiling" = maybe; then
   3756 	cross_compiling=yes
   3757     else
   3758 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3759 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3760 as_fn_error $? "cannot run C compiled programs.
   3761 If you meant to cross compile, use \`--host'.
   3762 See \`config.log' for more details" "$LINENO" 5; }
   3763     fi
   3764   fi
   3765 fi
   3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3767 $as_echo "$cross_compiling" >&6; }
   3768 
   3769 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3770 ac_clean_files=$ac_clean_files_save
   3771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3772 $as_echo_n "checking for suffix of object files... " >&6; }
   3773 if ${ac_cv_objext+:} false; then :
   3774   $as_echo_n "(cached) " >&6
   3775 else
   3776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3777 /* end confdefs.h.  */
   3778 
   3779 int
   3780 main ()
   3781 {
   3782 
   3783   ;
   3784   return 0;
   3785 }
   3786 _ACEOF
   3787 rm -f conftest.o conftest.obj
   3788 if { { ac_try="$ac_compile"
   3789 case "(($ac_try" in
   3790   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3791   *) ac_try_echo=$ac_try;;
   3792 esac
   3793 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3794 $as_echo "$ac_try_echo"; } >&5
   3795   (eval "$ac_compile") 2>&5
   3796   ac_status=$?
   3797   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3798   test $ac_status = 0; }; then :
   3799   for ac_file in conftest.o conftest.obj conftest.*; do
   3800   test -f "$ac_file" || continue;
   3801   case $ac_file in
   3802     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3803     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3804        break;;
   3805   esac
   3806 done
   3807 else
   3808   $as_echo "$as_me: failed program was:" >&5
   3809 sed 's/^/| /' conftest.$ac_ext >&5
   3810 
   3811 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3812 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3813 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3814 See \`config.log' for more details" "$LINENO" 5; }
   3815 fi
   3816 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3817 fi
   3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3819 $as_echo "$ac_cv_objext" >&6; }
   3820 OBJEXT=$ac_cv_objext
   3821 ac_objext=$OBJEXT
   3822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3823 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3824 if ${ac_cv_c_compiler_gnu+:} false; then :
   3825   $as_echo_n "(cached) " >&6
   3826 else
   3827   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3828 /* end confdefs.h.  */
   3829 
   3830 int
   3831 main ()
   3832 {
   3833 #ifndef __GNUC__
   3834        choke me
   3835 #endif
   3836 
   3837   ;
   3838   return 0;
   3839 }
   3840 _ACEOF
   3841 if ac_fn_c_try_compile "$LINENO"; then :
   3842   ac_compiler_gnu=yes
   3843 else
   3844   ac_compiler_gnu=no
   3845 fi
   3846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3847 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3848 
   3849 fi
   3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3851 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3852 if test $ac_compiler_gnu = yes; then
   3853   GCC=yes
   3854 else
   3855   GCC=
   3856 fi
   3857 ac_test_CFLAGS=${CFLAGS+set}
   3858 ac_save_CFLAGS=$CFLAGS
   3859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3860 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3861 if ${ac_cv_prog_cc_g+:} false; then :
   3862   $as_echo_n "(cached) " >&6
   3863 else
   3864   ac_save_c_werror_flag=$ac_c_werror_flag
   3865    ac_c_werror_flag=yes
   3866    ac_cv_prog_cc_g=no
   3867    CFLAGS="-g"
   3868    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3869 /* end confdefs.h.  */
   3870 
   3871 int
   3872 main ()
   3873 {
   3874 
   3875   ;
   3876   return 0;
   3877 }
   3878 _ACEOF
   3879 if ac_fn_c_try_compile "$LINENO"; then :
   3880   ac_cv_prog_cc_g=yes
   3881 else
   3882   CFLAGS=""
   3883       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3884 /* end confdefs.h.  */
   3885 
   3886 int
   3887 main ()
   3888 {
   3889 
   3890   ;
   3891   return 0;
   3892 }
   3893 _ACEOF
   3894 if ac_fn_c_try_compile "$LINENO"; then :
   3895 
   3896 else
   3897   ac_c_werror_flag=$ac_save_c_werror_flag
   3898 	 CFLAGS="-g"
   3899 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3900 /* end confdefs.h.  */
   3901 
   3902 int
   3903 main ()
   3904 {
   3905 
   3906   ;
   3907   return 0;
   3908 }
   3909 _ACEOF
   3910 if ac_fn_c_try_compile "$LINENO"; then :
   3911   ac_cv_prog_cc_g=yes
   3912 fi
   3913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3914 fi
   3915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3916 fi
   3917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3918    ac_c_werror_flag=$ac_save_c_werror_flag
   3919 fi
   3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3921 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3922 if test "$ac_test_CFLAGS" = set; then
   3923   CFLAGS=$ac_save_CFLAGS
   3924 elif test $ac_cv_prog_cc_g = yes; then
   3925   if test "$GCC" = yes; then
   3926     CFLAGS="-g -O2"
   3927   else
   3928     CFLAGS="-g"
   3929   fi
   3930 else
   3931   if test "$GCC" = yes; then
   3932     CFLAGS="-O2"
   3933   else
   3934     CFLAGS=
   3935   fi
   3936 fi
   3937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3938 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3939 if ${ac_cv_prog_cc_c89+:} false; then :
   3940   $as_echo_n "(cached) " >&6
   3941 else
   3942   ac_cv_prog_cc_c89=no
   3943 ac_save_CC=$CC
   3944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3945 /* end confdefs.h.  */
   3946 #include <stdarg.h>
   3947 #include <stdio.h>
   3948 struct stat;
   3949 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3950 struct buf { int x; };
   3951 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3952 static char *e (p, i)
   3953      char **p;
   3954      int i;
   3955 {
   3956   return p[i];
   3957 }
   3958 static char *f (char * (*g) (char **, int), char **p, ...)
   3959 {
   3960   char *s;
   3961   va_list v;
   3962   va_start (v,p);
   3963   s = g (p, va_arg (v,int));
   3964   va_end (v);
   3965   return s;
   3966 }
   3967 
   3968 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3969    function prototypes and stuff, but not '\xHH' hex character constants.
   3970    These don't provoke an error unfortunately, instead are silently treated
   3971    as 'x'.  The following induces an error, until -std is added to get
   3972    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3973    array size at least.  It's necessary to write '\x00'==0 to get something
   3974    that's true only with -std.  */
   3975 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3976 
   3977 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3978    inside strings and character constants.  */
   3979 #define FOO(x) 'x'
   3980 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3981 
   3982 int test (int i, double x);
   3983 struct s1 {int (*f) (int a);};
   3984 struct s2 {int (*f) (double a);};
   3985 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3986 int argc;
   3987 char **argv;
   3988 int
   3989 main ()
   3990 {
   3991 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3992   ;
   3993   return 0;
   3994 }
   3995 _ACEOF
   3996 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3997 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3998 do
   3999   CC="$ac_save_CC $ac_arg"
   4000   if ac_fn_c_try_compile "$LINENO"; then :
   4001   ac_cv_prog_cc_c89=$ac_arg
   4002 fi
   4003 rm -f core conftest.err conftest.$ac_objext
   4004   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4005 done
   4006 rm -f conftest.$ac_ext
   4007 CC=$ac_save_CC
   4008 
   4009 fi
   4010 # AC_CACHE_VAL
   4011 case "x$ac_cv_prog_cc_c89" in
   4012   x)
   4013     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4014 $as_echo "none needed" >&6; } ;;
   4015   xno)
   4016     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4017 $as_echo "unsupported" >&6; } ;;
   4018   *)
   4019     CC="$CC $ac_cv_prog_cc_c89"
   4020     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4021 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4022 esac
   4023 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4024 
   4025 fi
   4026 
   4027 ac_ext=c
   4028 ac_cpp='$CPP $CPPFLAGS'
   4029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4032 
   4033 ac_ext=c
   4034 ac_cpp='$CPP $CPPFLAGS'
   4035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4039 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   4040 if ${am_cv_prog_cc_c_o+:} false; then :
   4041   $as_echo_n "(cached) " >&6
   4042 else
   4043   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4044 /* end confdefs.h.  */
   4045 
   4046 int
   4047 main ()
   4048 {
   4049 
   4050   ;
   4051   return 0;
   4052 }
   4053 _ACEOF
   4054   # Make sure it works both with $CC and with simple cc.
   4055   # Following AC_PROG_CC_C_O, we do the test twice because some
   4056   # compilers refuse to overwrite an existing .o file with -o,
   4057   # though they will create one.
   4058   am_cv_prog_cc_c_o=yes
   4059   for am_i in 1 2; do
   4060     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4061    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4062    ac_status=$?
   4063    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4064    (exit $ac_status); } \
   4065          && test -f conftest2.$ac_objext; then
   4066       : OK
   4067     else
   4068       am_cv_prog_cc_c_o=no
   4069       break
   4070     fi
   4071   done
   4072   rm -f core conftest*
   4073   unset am_i
   4074 fi
   4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4076 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   4077 if test "$am_cv_prog_cc_c_o" != yes; then
   4078    # Losing compiler, so override with the script.
   4079    # FIXME: It is wrong to rewrite CC.
   4080    # But if we don't then we get into trouble of one sort or another.
   4081    # A longer-term fix would be to have automake use am__CC in this case,
   4082    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4083    CC="$am_aux_dir/compile $CC"
   4084 fi
   4085 ac_ext=c
   4086 ac_cpp='$CPP $CPPFLAGS'
   4087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4090 
   4091 
   4092 depcc="$CC"   am_compiler_list=
   4093 
   4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4095 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4096 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4097   $as_echo_n "(cached) " >&6
   4098 else
   4099   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4100   # We make a subdir and do the tests there.  Otherwise we can end up
   4101   # making bogus files that we don't know about and never remove.  For
   4102   # instance it was reported that on HP-UX the gcc test will end up
   4103   # making a dummy file named 'D' -- because '-MD' means "put the output
   4104   # in D".
   4105   rm -rf conftest.dir
   4106   mkdir conftest.dir
   4107   # Copy depcomp to subdir because otherwise we won't find it if we're
   4108   # using a relative directory.
   4109   cp "$am_depcomp" conftest.dir
   4110   cd conftest.dir
   4111   # We will build objects and dependencies in a subdirectory because
   4112   # it helps to detect inapplicable dependency modes.  For instance
   4113   # both Tru64's cc and ICC support -MD to output dependencies as a
   4114   # side effect of compilation, but ICC will put the dependencies in
   4115   # the current directory while Tru64 will put them in the object
   4116   # directory.
   4117   mkdir sub
   4118 
   4119   am_cv_CC_dependencies_compiler_type=none
   4120   if test "$am_compiler_list" = ""; then
   4121      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4122   fi
   4123   am__universal=false
   4124   case " $depcc " in #(
   4125      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4126      esac
   4127 
   4128   for depmode in $am_compiler_list; do
   4129     # Setup a source with many dependencies, because some compilers
   4130     # like to wrap large dependency lists on column 80 (with \), and
   4131     # we should not choose a depcomp mode which is confused by this.
   4132     #
   4133     # We need to recreate these files for each test, as the compiler may
   4134     # overwrite some of them when testing with obscure command lines.
   4135     # This happens at least with the AIX C compiler.
   4136     : > sub/conftest.c
   4137     for i in 1 2 3 4 5 6; do
   4138       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4139       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4140       # Solaris 10 /bin/sh.
   4141       echo '/* dummy */' > sub/conftst$i.h
   4142     done
   4143     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4144 
   4145     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4146     # mode.  It turns out that the SunPro C++ compiler does not properly
   4147     # handle '-M -o', and we need to detect this.  Also, some Intel
   4148     # versions had trouble with output in subdirs.
   4149     am__obj=sub/conftest.${OBJEXT-o}
   4150     am__minus_obj="-o $am__obj"
   4151     case $depmode in
   4152     gcc)
   4153       # This depmode causes a compiler race in universal mode.
   4154       test "$am__universal" = false || continue
   4155       ;;
   4156     nosideeffect)
   4157       # After this tag, mechanisms are not by side-effect, so they'll
   4158       # only be used when explicitly requested.
   4159       if test "x$enable_dependency_tracking" = xyes; then
   4160 	continue
   4161       else
   4162 	break
   4163       fi
   4164       ;;
   4165     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4166       # This compiler won't grok '-c -o', but also, the minuso test has
   4167       # not run yet.  These depmodes are late enough in the game, and
   4168       # so weak that their functioning should not be impacted.
   4169       am__obj=conftest.${OBJEXT-o}
   4170       am__minus_obj=
   4171       ;;
   4172     none) break ;;
   4173     esac
   4174     if depmode=$depmode \
   4175        source=sub/conftest.c object=$am__obj \
   4176        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4177        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4178          >/dev/null 2>conftest.err &&
   4179        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4180        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4181        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4182        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4183       # icc doesn't choke on unknown options, it will just issue warnings
   4184       # or remarks (even with -Werror).  So we grep stderr for any message
   4185       # that says an option was ignored or not supported.
   4186       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4187       #   icc: Command line warning: ignoring option '-M'; no argument required
   4188       # The diagnosis changed in icc 8.0:
   4189       #   icc: Command line remark: option '-MP' not supported
   4190       if (grep 'ignoring option' conftest.err ||
   4191           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4192         am_cv_CC_dependencies_compiler_type=$depmode
   4193         break
   4194       fi
   4195     fi
   4196   done
   4197 
   4198   cd ..
   4199   rm -rf conftest.dir
   4200 else
   4201   am_cv_CC_dependencies_compiler_type=none
   4202 fi
   4203 
   4204 fi
   4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4206 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4207 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4208 
   4209  if
   4210   test "x$enable_dependency_tracking" != xno \
   4211   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4212   am__fastdepCC_TRUE=
   4213   am__fastdepCC_FALSE='#'
   4214 else
   4215   am__fastdepCC_TRUE='#'
   4216   am__fastdepCC_FALSE=
   4217 fi
   4218 
   4219 
   4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4221 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4222 if ${ac_cv_path_SED+:} false; then :
   4223   $as_echo_n "(cached) " >&6
   4224 else
   4225             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4226      for ac_i in 1 2 3 4 5 6 7; do
   4227        ac_script="$ac_script$as_nl$ac_script"
   4228      done
   4229      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4230      { ac_script=; unset ac_script;}
   4231      if test -z "$SED"; then
   4232   ac_path_SED_found=false
   4233   # Loop through the user's path and test for each of PROGNAME-LIST
   4234   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4235 for as_dir in $PATH
   4236 do
   4237   IFS=$as_save_IFS
   4238   test -z "$as_dir" && as_dir=.
   4239     for ac_prog in sed gsed; do
   4240     for ac_exec_ext in '' $ac_executable_extensions; do
   4241       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4242       as_fn_executable_p "$ac_path_SED" || continue
   4243 # Check for GNU ac_path_SED and select it if it is found.
   4244   # Check for GNU $ac_path_SED
   4245 case `"$ac_path_SED" --version 2>&1` in
   4246 *GNU*)
   4247   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4248 *)
   4249   ac_count=0
   4250   $as_echo_n 0123456789 >"conftest.in"
   4251   while :
   4252   do
   4253     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4254     mv "conftest.tmp" "conftest.in"
   4255     cp "conftest.in" "conftest.nl"
   4256     $as_echo '' >> "conftest.nl"
   4257     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4258     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4259     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4260     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4261       # Best one so far, save it but keep looking for a better one
   4262       ac_cv_path_SED="$ac_path_SED"
   4263       ac_path_SED_max=$ac_count
   4264     fi
   4265     # 10*(2^10) chars as input seems more than enough
   4266     test $ac_count -gt 10 && break
   4267   done
   4268   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4269 esac
   4270 
   4271       $ac_path_SED_found && break 3
   4272     done
   4273   done
   4274   done
   4275 IFS=$as_save_IFS
   4276   if test -z "$ac_cv_path_SED"; then
   4277     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4278   fi
   4279 else
   4280   ac_cv_path_SED=$SED
   4281 fi
   4282 
   4283 fi
   4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4285 $as_echo "$ac_cv_path_SED" >&6; }
   4286  SED="$ac_cv_path_SED"
   4287   rm -f conftest.sed
   4288 
   4289 test -z "$SED" && SED=sed
   4290 Xsed="$SED -e 1s/^X//"
   4291 
   4292 
   4293 
   4294 
   4295 
   4296 
   4297 
   4298 
   4299 
   4300 
   4301 
   4302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4303 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4304 if ${ac_cv_path_GREP+:} false; then :
   4305   $as_echo_n "(cached) " >&6
   4306 else
   4307   if test -z "$GREP"; then
   4308   ac_path_GREP_found=false
   4309   # Loop through the user's path and test for each of PROGNAME-LIST
   4310   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4311 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4312 do
   4313   IFS=$as_save_IFS
   4314   test -z "$as_dir" && as_dir=.
   4315     for ac_prog in grep ggrep; do
   4316     for ac_exec_ext in '' $ac_executable_extensions; do
   4317       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4318       as_fn_executable_p "$ac_path_GREP" || continue
   4319 # Check for GNU ac_path_GREP and select it if it is found.
   4320   # Check for GNU $ac_path_GREP
   4321 case `"$ac_path_GREP" --version 2>&1` in
   4322 *GNU*)
   4323   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4324 *)
   4325   ac_count=0
   4326   $as_echo_n 0123456789 >"conftest.in"
   4327   while :
   4328   do
   4329     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4330     mv "conftest.tmp" "conftest.in"
   4331     cp "conftest.in" "conftest.nl"
   4332     $as_echo 'GREP' >> "conftest.nl"
   4333     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4334     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4335     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4336     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4337       # Best one so far, save it but keep looking for a better one
   4338       ac_cv_path_GREP="$ac_path_GREP"
   4339       ac_path_GREP_max=$ac_count
   4340     fi
   4341     # 10*(2^10) chars as input seems more than enough
   4342     test $ac_count -gt 10 && break
   4343   done
   4344   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4345 esac
   4346 
   4347       $ac_path_GREP_found && break 3
   4348     done
   4349   done
   4350   done
   4351 IFS=$as_save_IFS
   4352   if test -z "$ac_cv_path_GREP"; then
   4353     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4354   fi
   4355 else
   4356   ac_cv_path_GREP=$GREP
   4357 fi
   4358 
   4359 fi
   4360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4361 $as_echo "$ac_cv_path_GREP" >&6; }
   4362  GREP="$ac_cv_path_GREP"
   4363 
   4364 
   4365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4366 $as_echo_n "checking for egrep... " >&6; }
   4367 if ${ac_cv_path_EGREP+:} false; then :
   4368   $as_echo_n "(cached) " >&6
   4369 else
   4370   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4371    then ac_cv_path_EGREP="$GREP -E"
   4372    else
   4373      if test -z "$EGREP"; then
   4374   ac_path_EGREP_found=false
   4375   # Loop through the user's path and test for each of PROGNAME-LIST
   4376   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4377 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4378 do
   4379   IFS=$as_save_IFS
   4380   test -z "$as_dir" && as_dir=.
   4381     for ac_prog in egrep; do
   4382     for ac_exec_ext in '' $ac_executable_extensions; do
   4383       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4384       as_fn_executable_p "$ac_path_EGREP" || continue
   4385 # Check for GNU ac_path_EGREP and select it if it is found.
   4386   # Check for GNU $ac_path_EGREP
   4387 case `"$ac_path_EGREP" --version 2>&1` in
   4388 *GNU*)
   4389   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4390 *)
   4391   ac_count=0
   4392   $as_echo_n 0123456789 >"conftest.in"
   4393   while :
   4394   do
   4395     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4396     mv "conftest.tmp" "conftest.in"
   4397     cp "conftest.in" "conftest.nl"
   4398     $as_echo 'EGREP' >> "conftest.nl"
   4399     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4400     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4401     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4402     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4403       # Best one so far, save it but keep looking for a better one
   4404       ac_cv_path_EGREP="$ac_path_EGREP"
   4405       ac_path_EGREP_max=$ac_count
   4406     fi
   4407     # 10*(2^10) chars as input seems more than enough
   4408     test $ac_count -gt 10 && break
   4409   done
   4410   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4411 esac
   4412 
   4413       $ac_path_EGREP_found && break 3
   4414     done
   4415   done
   4416   done
   4417 IFS=$as_save_IFS
   4418   if test -z "$ac_cv_path_EGREP"; then
   4419     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4420   fi
   4421 else
   4422   ac_cv_path_EGREP=$EGREP
   4423 fi
   4424 
   4425    fi
   4426 fi
   4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4428 $as_echo "$ac_cv_path_EGREP" >&6; }
   4429  EGREP="$ac_cv_path_EGREP"
   4430 
   4431 
   4432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4433 $as_echo_n "checking for fgrep... " >&6; }
   4434 if ${ac_cv_path_FGREP+:} false; then :
   4435   $as_echo_n "(cached) " >&6
   4436 else
   4437   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4438    then ac_cv_path_FGREP="$GREP -F"
   4439    else
   4440      if test -z "$FGREP"; then
   4441   ac_path_FGREP_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 fgrep; do
   4449     for ac_exec_ext in '' $ac_executable_extensions; do
   4450       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4451       as_fn_executable_p "$ac_path_FGREP" || continue
   4452 # Check for GNU ac_path_FGREP and select it if it is found.
   4453   # Check for GNU $ac_path_FGREP
   4454 case `"$ac_path_FGREP" --version 2>&1` in
   4455 *GNU*)
   4456   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_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 'FGREP' >> "conftest.nl"
   4466     "$ac_path_FGREP" FGREP < "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_FGREP_max-0}; then
   4470       # Best one so far, save it but keep looking for a better one
   4471       ac_cv_path_FGREP="$ac_path_FGREP"
   4472       ac_path_FGREP_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_FGREP_found && break 3
   4481     done
   4482   done
   4483   done
   4484 IFS=$as_save_IFS
   4485   if test -z "$ac_cv_path_FGREP"; then
   4486     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4487   fi
   4488 else
   4489   ac_cv_path_FGREP=$FGREP
   4490 fi
   4491 
   4492    fi
   4493 fi
   4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4495 $as_echo "$ac_cv_path_FGREP" >&6; }
   4496  FGREP="$ac_cv_path_FGREP"
   4497 
   4498 
   4499 test -z "$GREP" && GREP=grep
   4500 
   4501 
   4502 
   4503 
   4504 
   4505 
   4506 
   4507 
   4508 
   4509 
   4510 
   4511 
   4512 
   4513 
   4514 
   4515 
   4516 
   4517 
   4518 
   4519 # Check whether --with-gnu-ld was given.
   4520 if test "${with_gnu_ld+set}" = set; then :
   4521   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4522 else
   4523   with_gnu_ld=no
   4524 fi
   4525 
   4526 ac_prog=ld
   4527 if test "$GCC" = yes; then
   4528   # Check if gcc -print-prog-name=ld gives a path.
   4529   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4530 $as_echo_n "checking for ld used by $CC... " >&6; }
   4531   case $host in
   4532   *-*-mingw*)
   4533     # gcc leaves a trailing carriage return which upsets mingw
   4534     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4535   *)
   4536     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4537   esac
   4538   case $ac_prog in
   4539     # Accept absolute paths.
   4540     [\\/]* | ?:[\\/]*)
   4541       re_direlt='/[^/][^/]*/\.\./'
   4542       # Canonicalize the pathname of ld
   4543       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4544       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4545 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4546       done
   4547       test -z "$LD" && LD="$ac_prog"
   4548       ;;
   4549   "")
   4550     # If it fails, then pretend we aren't using GCC.
   4551     ac_prog=ld
   4552     ;;
   4553   *)
   4554     # If it is relative, then search for the first ld in PATH.
   4555     with_gnu_ld=unknown
   4556     ;;
   4557   esac
   4558 elif test "$with_gnu_ld" = yes; then
   4559   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4560 $as_echo_n "checking for GNU ld... " >&6; }
   4561 else
   4562   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4563 $as_echo_n "checking for non-GNU ld... " >&6; }
   4564 fi
   4565 if ${lt_cv_path_LD+:} false; then :
   4566   $as_echo_n "(cached) " >&6
   4567 else
   4568   if test -z "$LD"; then
   4569   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4570   for ac_dir in $PATH; do
   4571     IFS="$lt_save_ifs"
   4572     test -z "$ac_dir" && ac_dir=.
   4573     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4574       lt_cv_path_LD="$ac_dir/$ac_prog"
   4575       # Check to see if the program is GNU ld.  I'd rather use --version,
   4576       # but apparently some variants of GNU ld only accept -v.
   4577       # Break only if it was the GNU/non-GNU ld that we prefer.
   4578       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4579       *GNU* | *'with BFD'*)
   4580 	test "$with_gnu_ld" != no && break
   4581 	;;
   4582       *)
   4583 	test "$with_gnu_ld" != yes && break
   4584 	;;
   4585       esac
   4586     fi
   4587   done
   4588   IFS="$lt_save_ifs"
   4589 else
   4590   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4591 fi
   4592 fi
   4593 
   4594 LD="$lt_cv_path_LD"
   4595 if test -n "$LD"; then
   4596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4597 $as_echo "$LD" >&6; }
   4598 else
   4599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4600 $as_echo "no" >&6; }
   4601 fi
   4602 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4604 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4605 if ${lt_cv_prog_gnu_ld+:} false; then :
   4606   $as_echo_n "(cached) " >&6
   4607 else
   4608   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4609 case `$LD -v 2>&1 </dev/null` in
   4610 *GNU* | *'with BFD'*)
   4611   lt_cv_prog_gnu_ld=yes
   4612   ;;
   4613 *)
   4614   lt_cv_prog_gnu_ld=no
   4615   ;;
   4616 esac
   4617 fi
   4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4619 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4620 with_gnu_ld=$lt_cv_prog_gnu_ld
   4621 
   4622 
   4623 
   4624 
   4625 
   4626 
   4627 
   4628 
   4629 
   4630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4631 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4632 if ${lt_cv_path_NM+:} false; then :
   4633   $as_echo_n "(cached) " >&6
   4634 else
   4635   if test -n "$NM"; then
   4636   # Let the user override the test.
   4637   lt_cv_path_NM="$NM"
   4638 else
   4639   lt_nm_to_check="${ac_tool_prefix}nm"
   4640   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4641     lt_nm_to_check="$lt_nm_to_check nm"
   4642   fi
   4643   for lt_tmp_nm in $lt_nm_to_check; do
   4644     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4645     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4646       IFS="$lt_save_ifs"
   4647       test -z "$ac_dir" && ac_dir=.
   4648       tmp_nm="$ac_dir/$lt_tmp_nm"
   4649       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4650 	# Check to see if the nm accepts a BSD-compat flag.
   4651 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4652 	#   nm: unknown option "B" ignored
   4653 	# Tru64's nm complains that /dev/null is an invalid object file
   4654 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4655 	*/dev/null* | *'Invalid file or object type'*)
   4656 	  lt_cv_path_NM="$tmp_nm -B"
   4657 	  break
   4658 	  ;;
   4659 	*)
   4660 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4661 	  */dev/null*)
   4662 	    lt_cv_path_NM="$tmp_nm -p"
   4663 	    break
   4664 	    ;;
   4665 	  *)
   4666 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4667 	    continue # so that we can try to find one that supports BSD flags
   4668 	    ;;
   4669 	  esac
   4670 	  ;;
   4671 	esac
   4672       fi
   4673     done
   4674     IFS="$lt_save_ifs"
   4675   done
   4676   : ${lt_cv_path_NM=no}
   4677 fi
   4678 fi
   4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4680 $as_echo "$lt_cv_path_NM" >&6; }
   4681 if test "$lt_cv_path_NM" != "no"; then
   4682   NM="$lt_cv_path_NM"
   4683 else
   4684   # Didn't find any BSD compatible name lister, look for dumpbin.
   4685   if test -n "$DUMPBIN"; then :
   4686     # Let the user override the test.
   4687   else
   4688     if test -n "$ac_tool_prefix"; then
   4689   for ac_prog in dumpbin "link -dump"
   4690   do
   4691     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4692 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4694 $as_echo_n "checking for $ac_word... " >&6; }
   4695 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4696   $as_echo_n "(cached) " >&6
   4697 else
   4698   if test -n "$DUMPBIN"; then
   4699   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4700 else
   4701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4702 for as_dir in $PATH
   4703 do
   4704   IFS=$as_save_IFS
   4705   test -z "$as_dir" && as_dir=.
   4706     for ac_exec_ext in '' $ac_executable_extensions; do
   4707   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4708     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4709     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4710     break 2
   4711   fi
   4712 done
   4713   done
   4714 IFS=$as_save_IFS
   4715 
   4716 fi
   4717 fi
   4718 DUMPBIN=$ac_cv_prog_DUMPBIN
   4719 if test -n "$DUMPBIN"; then
   4720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4721 $as_echo "$DUMPBIN" >&6; }
   4722 else
   4723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4724 $as_echo "no" >&6; }
   4725 fi
   4726 
   4727 
   4728     test -n "$DUMPBIN" && break
   4729   done
   4730 fi
   4731 if test -z "$DUMPBIN"; then
   4732   ac_ct_DUMPBIN=$DUMPBIN
   4733   for ac_prog in dumpbin "link -dump"
   4734 do
   4735   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4736 set dummy $ac_prog; ac_word=$2
   4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4738 $as_echo_n "checking for $ac_word... " >&6; }
   4739 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4740   $as_echo_n "(cached) " >&6
   4741 else
   4742   if test -n "$ac_ct_DUMPBIN"; then
   4743   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4744 else
   4745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4746 for as_dir in $PATH
   4747 do
   4748   IFS=$as_save_IFS
   4749   test -z "$as_dir" && as_dir=.
   4750     for ac_exec_ext in '' $ac_executable_extensions; do
   4751   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4752     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4753     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4754     break 2
   4755   fi
   4756 done
   4757   done
   4758 IFS=$as_save_IFS
   4759 
   4760 fi
   4761 fi
   4762 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4763 if test -n "$ac_ct_DUMPBIN"; then
   4764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4765 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4766 else
   4767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4768 $as_echo "no" >&6; }
   4769 fi
   4770 
   4771 
   4772   test -n "$ac_ct_DUMPBIN" && break
   4773 done
   4774 
   4775   if test "x$ac_ct_DUMPBIN" = x; then
   4776     DUMPBIN=":"
   4777   else
   4778     case $cross_compiling:$ac_tool_warned in
   4779 yes:)
   4780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4781 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4782 ac_tool_warned=yes ;;
   4783 esac
   4784     DUMPBIN=$ac_ct_DUMPBIN
   4785   fi
   4786 fi
   4787 
   4788     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   4789     *COFF*)
   4790       DUMPBIN="$DUMPBIN -symbols"
   4791       ;;
   4792     *)
   4793       DUMPBIN=:
   4794       ;;
   4795     esac
   4796   fi
   4797 
   4798   if test "$DUMPBIN" != ":"; then
   4799     NM="$DUMPBIN"
   4800   fi
   4801 fi
   4802 test -z "$NM" && NM=nm
   4803 
   4804 
   4805 
   4806 
   4807 
   4808 
   4809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4810 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4811 if ${lt_cv_nm_interface+:} false; then :
   4812   $as_echo_n "(cached) " >&6
   4813 else
   4814   lt_cv_nm_interface="BSD nm"
   4815   echo "int some_variable = 0;" > conftest.$ac_ext
   4816   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4817   (eval "$ac_compile" 2>conftest.err)
   4818   cat conftest.err >&5
   4819   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4820   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4821   cat conftest.err >&5
   4822   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4823   cat conftest.out >&5
   4824   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4825     lt_cv_nm_interface="MS dumpbin"
   4826   fi
   4827   rm -f conftest*
   4828 fi
   4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4830 $as_echo "$lt_cv_nm_interface" >&6; }
   4831 
   4832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4833 $as_echo_n "checking whether ln -s works... " >&6; }
   4834 LN_S=$as_ln_s
   4835 if test "$LN_S" = "ln -s"; then
   4836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4837 $as_echo "yes" >&6; }
   4838 else
   4839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4840 $as_echo "no, using $LN_S" >&6; }
   4841 fi
   4842 
   4843 # find the maximum length of command line arguments
   4844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4845 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4846 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4847   $as_echo_n "(cached) " >&6
   4848 else
   4849     i=0
   4850   teststring="ABCD"
   4851 
   4852   case $build_os in
   4853   msdosdjgpp*)
   4854     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4855     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4856     # during glob expansion).  Even if it were fixed, the result of this
   4857     # check would be larger than it should be.
   4858     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4859     ;;
   4860 
   4861   gnu*)
   4862     # Under GNU Hurd, this test is not required because there is
   4863     # no limit to the length of command line arguments.
   4864     # Libtool will interpret -1 as no limit whatsoever
   4865     lt_cv_sys_max_cmd_len=-1;
   4866     ;;
   4867 
   4868   cygwin* | mingw* | cegcc*)
   4869     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4870     # about 5 minutes as the teststring grows exponentially.
   4871     # Worse, since 9x/ME are not pre-emptively multitasking,
   4872     # you end up with a "frozen" computer, even though with patience
   4873     # the test eventually succeeds (with a max line length of 256k).
   4874     # Instead, let's just punt: use the minimum linelength reported by
   4875     # all of the supported platforms: 8192 (on NT/2K/XP).
   4876     lt_cv_sys_max_cmd_len=8192;
   4877     ;;
   4878 
   4879   mint*)
   4880     # On MiNT this can take a long time and run out of memory.
   4881     lt_cv_sys_max_cmd_len=8192;
   4882     ;;
   4883 
   4884   amigaos*)
   4885     # On AmigaOS with pdksh, this test takes hours, literally.
   4886     # So we just punt and use a minimum line length of 8192.
   4887     lt_cv_sys_max_cmd_len=8192;
   4888     ;;
   4889 
   4890   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4891     # This has been around since 386BSD, at least.  Likely further.
   4892     if test -x /sbin/sysctl; then
   4893       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4894     elif test -x /usr/sbin/sysctl; then
   4895       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4896     else
   4897       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4898     fi
   4899     # And add a safety zone
   4900     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4901     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4902     ;;
   4903 
   4904   interix*)
   4905     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4906     lt_cv_sys_max_cmd_len=196608
   4907     ;;
   4908 
   4909   os2*)
   4910     # The test takes a long time on OS/2.
   4911     lt_cv_sys_max_cmd_len=8192
   4912     ;;
   4913 
   4914   osf*)
   4915     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4916     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4917     # nice to cause kernel panics so lets avoid the loop below.
   4918     # First set a reasonable default.
   4919     lt_cv_sys_max_cmd_len=16384
   4920     #
   4921     if test -x /sbin/sysconfig; then
   4922       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4923         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4924       esac
   4925     fi
   4926     ;;
   4927   sco3.2v5*)
   4928     lt_cv_sys_max_cmd_len=102400
   4929     ;;
   4930   sysv5* | sco5v6* | sysv4.2uw2*)
   4931     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4932     if test -n "$kargmax"; then
   4933       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4934     else
   4935       lt_cv_sys_max_cmd_len=32768
   4936     fi
   4937     ;;
   4938   *)
   4939     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4940     if test -n "$lt_cv_sys_max_cmd_len"; then
   4941       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4942       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4943     else
   4944       # Make teststring a little bigger before we do anything with it.
   4945       # a 1K string should be a reasonable start.
   4946       for i in 1 2 3 4 5 6 7 8 ; do
   4947         teststring=$teststring$teststring
   4948       done
   4949       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4950       # If test is not a shell built-in, we'll probably end up computing a
   4951       # maximum length that is only half of the actual maximum length, but
   4952       # we can't tell.
   4953       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   4954 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   4955 	      test $i != 17 # 1/2 MB should be enough
   4956       do
   4957         i=`expr $i + 1`
   4958         teststring=$teststring$teststring
   4959       done
   4960       # Only check the string length outside the loop.
   4961       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4962       teststring=
   4963       # Add a significant safety factor because C++ compilers can tack on
   4964       # massive amounts of additional arguments before passing them to the
   4965       # linker.  It appears as though 1/2 is a usable value.
   4966       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4967     fi
   4968     ;;
   4969   esac
   4970 
   4971 fi
   4972 
   4973 if test -n $lt_cv_sys_max_cmd_len ; then
   4974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4975 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4976 else
   4977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4978 $as_echo "none" >&6; }
   4979 fi
   4980 max_cmd_len=$lt_cv_sys_max_cmd_len
   4981 
   4982 
   4983 
   4984 
   4985 
   4986 
   4987 : ${CP="cp -f"}
   4988 : ${MV="mv -f"}
   4989 : ${RM="rm -f"}
   4990 
   4991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   4992 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4993 # Try some XSI features
   4994 xsi_shell=no
   4995 ( _lt_dummy="a/b/c"
   4996   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   4997       = c,a/b,b/c, \
   4998     && eval 'test $(( 1 + 1 )) -eq 2 \
   4999     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   5000   && xsi_shell=yes
   5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   5002 $as_echo "$xsi_shell" >&6; }
   5003 
   5004 
   5005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   5006 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   5007 lt_shell_append=no
   5008 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   5009     >/dev/null 2>&1 \
   5010   && lt_shell_append=yes
   5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   5012 $as_echo "$lt_shell_append" >&6; }
   5013 
   5014 
   5015 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5016   lt_unset=unset
   5017 else
   5018   lt_unset=false
   5019 fi
   5020 
   5021 
   5022 
   5023 
   5024 
   5025 # test EBCDIC or ASCII
   5026 case `echo X|tr X '\101'` in
   5027  A) # ASCII based system
   5028     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5029   lt_SP2NL='tr \040 \012'
   5030   lt_NL2SP='tr \015\012 \040\040'
   5031   ;;
   5032  *) # EBCDIC based system
   5033   lt_SP2NL='tr \100 \n'
   5034   lt_NL2SP='tr \r\n \100\100'
   5035   ;;
   5036 esac
   5037 
   5038 
   5039 
   5040 
   5041 
   5042 
   5043 
   5044 
   5045 
   5046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5047 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   5048 if ${lt_cv_to_host_file_cmd+:} false; then :
   5049   $as_echo_n "(cached) " >&6
   5050 else
   5051   case $host in
   5052   *-*-mingw* )
   5053     case $build in
   5054       *-*-mingw* ) # actually msys
   5055         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5056         ;;
   5057       *-*-cygwin* )
   5058         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5059         ;;
   5060       * ) # otherwise, assume *nix
   5061         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5062         ;;
   5063     esac
   5064     ;;
   5065   *-*-cygwin* )
   5066     case $build in
   5067       *-*-mingw* ) # actually msys
   5068         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5069         ;;
   5070       *-*-cygwin* )
   5071         lt_cv_to_host_file_cmd=func_convert_file_noop
   5072         ;;
   5073       * ) # otherwise, assume *nix
   5074         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5075         ;;
   5076     esac
   5077     ;;
   5078   * ) # unhandled hosts (and "normal" native builds)
   5079     lt_cv_to_host_file_cmd=func_convert_file_noop
   5080     ;;
   5081 esac
   5082 
   5083 fi
   5084 
   5085 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5087 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   5088 
   5089 
   5090 
   5091 
   5092 
   5093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5094 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   5095 if ${lt_cv_to_tool_file_cmd+:} false; then :
   5096   $as_echo_n "(cached) " >&6
   5097 else
   5098   #assume ordinary cross tools, or native build.
   5099 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5100 case $host in
   5101   *-*-mingw* )
   5102     case $build in
   5103       *-*-mingw* ) # actually msys
   5104         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5105         ;;
   5106     esac
   5107     ;;
   5108 esac
   5109 
   5110 fi
   5111 
   5112 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5114 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   5115 
   5116 
   5117 
   5118 
   5119 
   5120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5121 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5122 if ${lt_cv_ld_reload_flag+:} false; then :
   5123   $as_echo_n "(cached) " >&6
   5124 else
   5125   lt_cv_ld_reload_flag='-r'
   5126 fi
   5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5128 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5129 reload_flag=$lt_cv_ld_reload_flag
   5130 case $reload_flag in
   5131 "" | " "*) ;;
   5132 *) reload_flag=" $reload_flag" ;;
   5133 esac
   5134 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5135 case $host_os in
   5136   cygwin* | mingw* | pw32* | cegcc*)
   5137     if test "$GCC" != yes; then
   5138       reload_cmds=false
   5139     fi
   5140     ;;
   5141   darwin*)
   5142     if test "$GCC" = yes; then
   5143       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   5144     else
   5145       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5146     fi
   5147     ;;
   5148 esac
   5149 
   5150 
   5151 
   5152 
   5153 
   5154 
   5155 
   5156 
   5157 
   5158 if test -n "$ac_tool_prefix"; then
   5159   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5160 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5162 $as_echo_n "checking for $ac_word... " >&6; }
   5163 if ${ac_cv_prog_OBJDUMP+:} false; then :
   5164   $as_echo_n "(cached) " >&6
   5165 else
   5166   if test -n "$OBJDUMP"; then
   5167   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5168 else
   5169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5170 for as_dir in $PATH
   5171 do
   5172   IFS=$as_save_IFS
   5173   test -z "$as_dir" && as_dir=.
   5174     for ac_exec_ext in '' $ac_executable_extensions; do
   5175   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5176     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5177     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5178     break 2
   5179   fi
   5180 done
   5181   done
   5182 IFS=$as_save_IFS
   5183 
   5184 fi
   5185 fi
   5186 OBJDUMP=$ac_cv_prog_OBJDUMP
   5187 if test -n "$OBJDUMP"; then
   5188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5189 $as_echo "$OBJDUMP" >&6; }
   5190 else
   5191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5192 $as_echo "no" >&6; }
   5193 fi
   5194 
   5195 
   5196 fi
   5197 if test -z "$ac_cv_prog_OBJDUMP"; then
   5198   ac_ct_OBJDUMP=$OBJDUMP
   5199   # Extract the first word of "objdump", so it can be a program name with args.
   5200 set dummy objdump; ac_word=$2
   5201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5202 $as_echo_n "checking for $ac_word... " >&6; }
   5203 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5204   $as_echo_n "(cached) " >&6
   5205 else
   5206   if test -n "$ac_ct_OBJDUMP"; then
   5207   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5208 else
   5209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5210 for as_dir in $PATH
   5211 do
   5212   IFS=$as_save_IFS
   5213   test -z "$as_dir" && as_dir=.
   5214     for ac_exec_ext in '' $ac_executable_extensions; do
   5215   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5216     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5217     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5218     break 2
   5219   fi
   5220 done
   5221   done
   5222 IFS=$as_save_IFS
   5223 
   5224 fi
   5225 fi
   5226 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5227 if test -n "$ac_ct_OBJDUMP"; then
   5228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5229 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5230 else
   5231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5232 $as_echo "no" >&6; }
   5233 fi
   5234 
   5235   if test "x$ac_ct_OBJDUMP" = x; then
   5236     OBJDUMP="false"
   5237   else
   5238     case $cross_compiling:$ac_tool_warned in
   5239 yes:)
   5240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5241 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5242 ac_tool_warned=yes ;;
   5243 esac
   5244     OBJDUMP=$ac_ct_OBJDUMP
   5245   fi
   5246 else
   5247   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5248 fi
   5249 
   5250 test -z "$OBJDUMP" && OBJDUMP=objdump
   5251 
   5252 
   5253 
   5254 
   5255 
   5256 
   5257 
   5258 
   5259 
   5260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5261 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5262 if ${lt_cv_deplibs_check_method+:} false; then :
   5263   $as_echo_n "(cached) " >&6
   5264 else
   5265   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5266 lt_cv_file_magic_test_file=
   5267 lt_cv_deplibs_check_method='unknown'
   5268 # Need to set the preceding variable on all platforms that support
   5269 # interlibrary dependencies.
   5270 # 'none' -- dependencies not supported.
   5271 # `unknown' -- same as none, but documents that we really don't know.
   5272 # 'pass_all' -- all dependencies passed with no checks.
   5273 # 'test_compile' -- check by making test program.
   5274 # 'file_magic [[regex]]' -- check by looking for files in library path
   5275 # which responds to the $file_magic_cmd with a given extended regex.
   5276 # If you have `file' or equivalent on your system and you're not sure
   5277 # whether `pass_all' will *always* work, you probably want this one.
   5278 
   5279 case $host_os in
   5280 aix[4-9]*)
   5281   lt_cv_deplibs_check_method=pass_all
   5282   ;;
   5283 
   5284 beos*)
   5285   lt_cv_deplibs_check_method=pass_all
   5286   ;;
   5287 
   5288 bsdi[45]*)
   5289   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5290   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5291   lt_cv_file_magic_test_file=/shlib/libc.so
   5292   ;;
   5293 
   5294 cygwin*)
   5295   # func_win32_libid is a shell function defined in ltmain.sh
   5296   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5297   lt_cv_file_magic_cmd='func_win32_libid'
   5298   ;;
   5299 
   5300 mingw* | pw32*)
   5301   # Base MSYS/MinGW do not provide the 'file' command needed by
   5302   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5303   # unless we find 'file', for example because we are cross-compiling.
   5304   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5305   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5306     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5307     lt_cv_file_magic_cmd='func_win32_libid'
   5308   else
   5309     # Keep this pattern in sync with the one in func_win32_libid.
   5310     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5311     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5312   fi
   5313   ;;
   5314 
   5315 cegcc*)
   5316   # use the weaker test based on 'objdump'. See mingw*.
   5317   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5318   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5319   ;;
   5320 
   5321 darwin* | rhapsody*)
   5322   lt_cv_deplibs_check_method=pass_all
   5323   ;;
   5324 
   5325 freebsd* | dragonfly*)
   5326   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5327     case $host_cpu in
   5328     i*86 )
   5329       # Not sure whether the presence of OpenBSD here was a mistake.
   5330       # Let's accept both of them until this is cleared up.
   5331       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5332       lt_cv_file_magic_cmd=/usr/bin/file
   5333       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5334       ;;
   5335     esac
   5336   else
   5337     lt_cv_deplibs_check_method=pass_all
   5338   fi
   5339   ;;
   5340 
   5341 gnu*)
   5342   lt_cv_deplibs_check_method=pass_all
   5343   ;;
   5344 
   5345 haiku*)
   5346   lt_cv_deplibs_check_method=pass_all
   5347   ;;
   5348 
   5349 hpux10.20* | hpux11*)
   5350   lt_cv_file_magic_cmd=/usr/bin/file
   5351   case $host_cpu in
   5352   ia64*)
   5353     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5354     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5355     ;;
   5356   hppa*64*)
   5357     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]'
   5358     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5359     ;;
   5360   *)
   5361     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5362     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5363     ;;
   5364   esac
   5365   ;;
   5366 
   5367 interix[3-9]*)
   5368   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5369   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5370   ;;
   5371 
   5372 irix5* | irix6* | nonstopux*)
   5373   case $LD in
   5374   *-32|*"-32 ") libmagic=32-bit;;
   5375   *-n32|*"-n32 ") libmagic=N32;;
   5376   *-64|*"-64 ") libmagic=64-bit;;
   5377   *) libmagic=never-match;;
   5378   esac
   5379   lt_cv_deplibs_check_method=pass_all
   5380   ;;
   5381 
   5382 # This must be glibc/ELF.
   5383 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   5384   lt_cv_deplibs_check_method=pass_all
   5385   ;;
   5386 
   5387 netbsd*)
   5388   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5389     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5390   else
   5391     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5392   fi
   5393   ;;
   5394 
   5395 newos6*)
   5396   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5397   lt_cv_file_magic_cmd=/usr/bin/file
   5398   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5399   ;;
   5400 
   5401 *nto* | *qnx*)
   5402   lt_cv_deplibs_check_method=pass_all
   5403   ;;
   5404 
   5405 openbsd*)
   5406   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5407     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5408   else
   5409     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5410   fi
   5411   ;;
   5412 
   5413 osf3* | osf4* | osf5*)
   5414   lt_cv_deplibs_check_method=pass_all
   5415   ;;
   5416 
   5417 rdos*)
   5418   lt_cv_deplibs_check_method=pass_all
   5419   ;;
   5420 
   5421 solaris*)
   5422   lt_cv_deplibs_check_method=pass_all
   5423   ;;
   5424 
   5425 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5426   lt_cv_deplibs_check_method=pass_all
   5427   ;;
   5428 
   5429 sysv4 | sysv4.3*)
   5430   case $host_vendor in
   5431   motorola)
   5432     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]'
   5433     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5434     ;;
   5435   ncr)
   5436     lt_cv_deplibs_check_method=pass_all
   5437     ;;
   5438   sequent)
   5439     lt_cv_file_magic_cmd='/bin/file'
   5440     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5441     ;;
   5442   sni)
   5443     lt_cv_file_magic_cmd='/bin/file'
   5444     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5445     lt_cv_file_magic_test_file=/lib/libc.so
   5446     ;;
   5447   siemens)
   5448     lt_cv_deplibs_check_method=pass_all
   5449     ;;
   5450   pc)
   5451     lt_cv_deplibs_check_method=pass_all
   5452     ;;
   5453   esac
   5454   ;;
   5455 
   5456 tpf*)
   5457   lt_cv_deplibs_check_method=pass_all
   5458   ;;
   5459 esac
   5460 
   5461 fi
   5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5463 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5464 
   5465 file_magic_glob=
   5466 want_nocaseglob=no
   5467 if test "$build" = "$host"; then
   5468   case $host_os in
   5469   mingw* | pw32*)
   5470     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5471       want_nocaseglob=yes
   5472     else
   5473       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5474     fi
   5475     ;;
   5476   esac
   5477 fi
   5478 
   5479 file_magic_cmd=$lt_cv_file_magic_cmd
   5480 deplibs_check_method=$lt_cv_deplibs_check_method
   5481 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5482 
   5483 
   5484 
   5485 
   5486 
   5487 
   5488 
   5489 
   5490 
   5491 
   5492 
   5493 
   5494 
   5495 
   5496 
   5497 
   5498 
   5499 
   5500 
   5501 
   5502 
   5503 
   5504 if test -n "$ac_tool_prefix"; then
   5505   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5506 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5508 $as_echo_n "checking for $ac_word... " >&6; }
   5509 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5510   $as_echo_n "(cached) " >&6
   5511 else
   5512   if test -n "$DLLTOOL"; then
   5513   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5514 else
   5515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5516 for as_dir in $PATH
   5517 do
   5518   IFS=$as_save_IFS
   5519   test -z "$as_dir" && as_dir=.
   5520     for ac_exec_ext in '' $ac_executable_extensions; do
   5521   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5522     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5523     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5524     break 2
   5525   fi
   5526 done
   5527   done
   5528 IFS=$as_save_IFS
   5529 
   5530 fi
   5531 fi
   5532 DLLTOOL=$ac_cv_prog_DLLTOOL
   5533 if test -n "$DLLTOOL"; then
   5534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5535 $as_echo "$DLLTOOL" >&6; }
   5536 else
   5537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5538 $as_echo "no" >&6; }
   5539 fi
   5540 
   5541 
   5542 fi
   5543 if test -z "$ac_cv_prog_DLLTOOL"; then
   5544   ac_ct_DLLTOOL=$DLLTOOL
   5545   # Extract the first word of "dlltool", so it can be a program name with args.
   5546 set dummy dlltool; ac_word=$2
   5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5548 $as_echo_n "checking for $ac_word... " >&6; }
   5549 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5550   $as_echo_n "(cached) " >&6
   5551 else
   5552   if test -n "$ac_ct_DLLTOOL"; then
   5553   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5554 else
   5555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5556 for as_dir in $PATH
   5557 do
   5558   IFS=$as_save_IFS
   5559   test -z "$as_dir" && as_dir=.
   5560     for ac_exec_ext in '' $ac_executable_extensions; do
   5561   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5562     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5563     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5564     break 2
   5565   fi
   5566 done
   5567   done
   5568 IFS=$as_save_IFS
   5569 
   5570 fi
   5571 fi
   5572 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5573 if test -n "$ac_ct_DLLTOOL"; then
   5574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5575 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5576 else
   5577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5578 $as_echo "no" >&6; }
   5579 fi
   5580 
   5581   if test "x$ac_ct_DLLTOOL" = x; then
   5582     DLLTOOL="false"
   5583   else
   5584     case $cross_compiling:$ac_tool_warned in
   5585 yes:)
   5586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5587 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5588 ac_tool_warned=yes ;;
   5589 esac
   5590     DLLTOOL=$ac_ct_DLLTOOL
   5591   fi
   5592 else
   5593   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5594 fi
   5595 
   5596 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5597 
   5598 
   5599 
   5600 
   5601 
   5602 
   5603 
   5604 
   5605 
   5606 
   5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5608 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5609 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5610   $as_echo_n "(cached) " >&6
   5611 else
   5612   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5613 
   5614 case $host_os in
   5615 cygwin* | mingw* | pw32* | cegcc*)
   5616   # two different shell functions defined in ltmain.sh
   5617   # decide which to use based on capabilities of $DLLTOOL
   5618   case `$DLLTOOL --help 2>&1` in
   5619   *--identify-strict*)
   5620     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5621     ;;
   5622   *)
   5623     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5624     ;;
   5625   esac
   5626   ;;
   5627 *)
   5628   # fallback: assume linklib IS sharedlib
   5629   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   5630   ;;
   5631 esac
   5632 
   5633 fi
   5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5635 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5636 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5637 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5638 
   5639 
   5640 
   5641 
   5642 
   5643 
   5644 
   5645 
   5646 if test -n "$ac_tool_prefix"; then
   5647   for ac_prog in ar
   5648   do
   5649     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5650 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5652 $as_echo_n "checking for $ac_word... " >&6; }
   5653 if ${ac_cv_prog_AR+:} false; then :
   5654   $as_echo_n "(cached) " >&6
   5655 else
   5656   if test -n "$AR"; then
   5657   ac_cv_prog_AR="$AR" # Let the user override the test.
   5658 else
   5659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5660 for as_dir in $PATH
   5661 do
   5662   IFS=$as_save_IFS
   5663   test -z "$as_dir" && as_dir=.
   5664     for ac_exec_ext in '' $ac_executable_extensions; do
   5665   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5666     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5667     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5668     break 2
   5669   fi
   5670 done
   5671   done
   5672 IFS=$as_save_IFS
   5673 
   5674 fi
   5675 fi
   5676 AR=$ac_cv_prog_AR
   5677 if test -n "$AR"; then
   5678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5679 $as_echo "$AR" >&6; }
   5680 else
   5681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5682 $as_echo "no" >&6; }
   5683 fi
   5684 
   5685 
   5686     test -n "$AR" && break
   5687   done
   5688 fi
   5689 if test -z "$AR"; then
   5690   ac_ct_AR=$AR
   5691   for ac_prog in ar
   5692 do
   5693   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5694 set dummy $ac_prog; ac_word=$2
   5695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5696 $as_echo_n "checking for $ac_word... " >&6; }
   5697 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5698   $as_echo_n "(cached) " >&6
   5699 else
   5700   if test -n "$ac_ct_AR"; then
   5701   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5702 else
   5703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5704 for as_dir in $PATH
   5705 do
   5706   IFS=$as_save_IFS
   5707   test -z "$as_dir" && as_dir=.
   5708     for ac_exec_ext in '' $ac_executable_extensions; do
   5709   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5710     ac_cv_prog_ac_ct_AR="$ac_prog"
   5711     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5712     break 2
   5713   fi
   5714 done
   5715   done
   5716 IFS=$as_save_IFS
   5717 
   5718 fi
   5719 fi
   5720 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5721 if test -n "$ac_ct_AR"; then
   5722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5723 $as_echo "$ac_ct_AR" >&6; }
   5724 else
   5725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5726 $as_echo "no" >&6; }
   5727 fi
   5728 
   5729 
   5730   test -n "$ac_ct_AR" && break
   5731 done
   5732 
   5733   if test "x$ac_ct_AR" = x; then
   5734     AR="false"
   5735   else
   5736     case $cross_compiling:$ac_tool_warned in
   5737 yes:)
   5738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5739 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5740 ac_tool_warned=yes ;;
   5741 esac
   5742     AR=$ac_ct_AR
   5743   fi
   5744 fi
   5745 
   5746 : ${AR=ar}
   5747 : ${AR_FLAGS=cru}
   5748 
   5749 
   5750 
   5751 
   5752 
   5753 
   5754 
   5755 
   5756 
   5757 
   5758 
   5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   5760 $as_echo_n "checking for archiver @FILE support... " >&6; }
   5761 if ${lt_cv_ar_at_file+:} false; then :
   5762   $as_echo_n "(cached) " >&6
   5763 else
   5764   lt_cv_ar_at_file=no
   5765    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5766 /* end confdefs.h.  */
   5767 
   5768 int
   5769 main ()
   5770 {
   5771 
   5772   ;
   5773   return 0;
   5774 }
   5775 _ACEOF
   5776 if ac_fn_c_try_compile "$LINENO"; then :
   5777   echo conftest.$ac_objext > conftest.lst
   5778       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   5779       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5780   (eval $lt_ar_try) 2>&5
   5781   ac_status=$?
   5782   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5783   test $ac_status = 0; }
   5784       if test "$ac_status" -eq 0; then
   5785 	# Ensure the archiver fails upon bogus file names.
   5786 	rm -f conftest.$ac_objext libconftest.a
   5787 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5788   (eval $lt_ar_try) 2>&5
   5789   ac_status=$?
   5790   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5791   test $ac_status = 0; }
   5792 	if test "$ac_status" -ne 0; then
   5793           lt_cv_ar_at_file=@
   5794         fi
   5795       fi
   5796       rm -f conftest.* libconftest.a
   5797 
   5798 fi
   5799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5800 
   5801 fi
   5802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   5803 $as_echo "$lt_cv_ar_at_file" >&6; }
   5804 
   5805 if test "x$lt_cv_ar_at_file" = xno; then
   5806   archiver_list_spec=
   5807 else
   5808   archiver_list_spec=$lt_cv_ar_at_file
   5809 fi
   5810 
   5811 
   5812 
   5813 
   5814 
   5815 
   5816 
   5817 if test -n "$ac_tool_prefix"; then
   5818   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5819 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5821 $as_echo_n "checking for $ac_word... " >&6; }
   5822 if ${ac_cv_prog_STRIP+:} false; then :
   5823   $as_echo_n "(cached) " >&6
   5824 else
   5825   if test -n "$STRIP"; then
   5826   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5827 else
   5828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5829 for as_dir in $PATH
   5830 do
   5831   IFS=$as_save_IFS
   5832   test -z "$as_dir" && as_dir=.
   5833     for ac_exec_ext in '' $ac_executable_extensions; do
   5834   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5835     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5836     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5837     break 2
   5838   fi
   5839 done
   5840   done
   5841 IFS=$as_save_IFS
   5842 
   5843 fi
   5844 fi
   5845 STRIP=$ac_cv_prog_STRIP
   5846 if test -n "$STRIP"; then
   5847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5848 $as_echo "$STRIP" >&6; }
   5849 else
   5850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5851 $as_echo "no" >&6; }
   5852 fi
   5853 
   5854 
   5855 fi
   5856 if test -z "$ac_cv_prog_STRIP"; then
   5857   ac_ct_STRIP=$STRIP
   5858   # Extract the first word of "strip", so it can be a program name with args.
   5859 set dummy strip; ac_word=$2
   5860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5861 $as_echo_n "checking for $ac_word... " >&6; }
   5862 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5863   $as_echo_n "(cached) " >&6
   5864 else
   5865   if test -n "$ac_ct_STRIP"; then
   5866   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5867 else
   5868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5869 for as_dir in $PATH
   5870 do
   5871   IFS=$as_save_IFS
   5872   test -z "$as_dir" && as_dir=.
   5873     for ac_exec_ext in '' $ac_executable_extensions; do
   5874   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5875     ac_cv_prog_ac_ct_STRIP="strip"
   5876     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5877     break 2
   5878   fi
   5879 done
   5880   done
   5881 IFS=$as_save_IFS
   5882 
   5883 fi
   5884 fi
   5885 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5886 if test -n "$ac_ct_STRIP"; then
   5887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5888 $as_echo "$ac_ct_STRIP" >&6; }
   5889 else
   5890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5891 $as_echo "no" >&6; }
   5892 fi
   5893 
   5894   if test "x$ac_ct_STRIP" = x; then
   5895     STRIP=":"
   5896   else
   5897     case $cross_compiling:$ac_tool_warned in
   5898 yes:)
   5899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5900 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5901 ac_tool_warned=yes ;;
   5902 esac
   5903     STRIP=$ac_ct_STRIP
   5904   fi
   5905 else
   5906   STRIP="$ac_cv_prog_STRIP"
   5907 fi
   5908 
   5909 test -z "$STRIP" && STRIP=:
   5910 
   5911 
   5912 
   5913 
   5914 
   5915 
   5916 if test -n "$ac_tool_prefix"; then
   5917   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5918 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5920 $as_echo_n "checking for $ac_word... " >&6; }
   5921 if ${ac_cv_prog_RANLIB+:} false; then :
   5922   $as_echo_n "(cached) " >&6
   5923 else
   5924   if test -n "$RANLIB"; then
   5925   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5926 else
   5927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5928 for as_dir in $PATH
   5929 do
   5930   IFS=$as_save_IFS
   5931   test -z "$as_dir" && as_dir=.
   5932     for ac_exec_ext in '' $ac_executable_extensions; do
   5933   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5934     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5935     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5936     break 2
   5937   fi
   5938 done
   5939   done
   5940 IFS=$as_save_IFS
   5941 
   5942 fi
   5943 fi
   5944 RANLIB=$ac_cv_prog_RANLIB
   5945 if test -n "$RANLIB"; then
   5946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5947 $as_echo "$RANLIB" >&6; }
   5948 else
   5949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5950 $as_echo "no" >&6; }
   5951 fi
   5952 
   5953 
   5954 fi
   5955 if test -z "$ac_cv_prog_RANLIB"; then
   5956   ac_ct_RANLIB=$RANLIB
   5957   # Extract the first word of "ranlib", so it can be a program name with args.
   5958 set dummy ranlib; ac_word=$2
   5959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5960 $as_echo_n "checking for $ac_word... " >&6; }
   5961 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5962   $as_echo_n "(cached) " >&6
   5963 else
   5964   if test -n "$ac_ct_RANLIB"; then
   5965   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5966 else
   5967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5968 for as_dir in $PATH
   5969 do
   5970   IFS=$as_save_IFS
   5971   test -z "$as_dir" && as_dir=.
   5972     for ac_exec_ext in '' $ac_executable_extensions; do
   5973   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5974     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5975     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5976     break 2
   5977   fi
   5978 done
   5979   done
   5980 IFS=$as_save_IFS
   5981 
   5982 fi
   5983 fi
   5984 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5985 if test -n "$ac_ct_RANLIB"; then
   5986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5987 $as_echo "$ac_ct_RANLIB" >&6; }
   5988 else
   5989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5990 $as_echo "no" >&6; }
   5991 fi
   5992 
   5993   if test "x$ac_ct_RANLIB" = x; then
   5994     RANLIB=":"
   5995   else
   5996     case $cross_compiling:$ac_tool_warned in
   5997 yes:)
   5998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5999 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6000 ac_tool_warned=yes ;;
   6001 esac
   6002     RANLIB=$ac_ct_RANLIB
   6003   fi
   6004 else
   6005   RANLIB="$ac_cv_prog_RANLIB"
   6006 fi
   6007 
   6008 test -z "$RANLIB" && RANLIB=:
   6009 
   6010 
   6011 
   6012 
   6013 
   6014 
   6015 # Determine commands to create old-style static archives.
   6016 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6017 old_postinstall_cmds='chmod 644 $oldlib'
   6018 old_postuninstall_cmds=
   6019 
   6020 if test -n "$RANLIB"; then
   6021   case $host_os in
   6022   openbsd*)
   6023     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   6024     ;;
   6025   *)
   6026     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6027     ;;
   6028   esac
   6029   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   6030 fi
   6031 
   6032 case $host_os in
   6033   darwin*)
   6034     lock_old_archive_extraction=yes ;;
   6035   *)
   6036     lock_old_archive_extraction=no ;;
   6037 esac
   6038 
   6039 
   6040 
   6041 
   6042 
   6043 
   6044 
   6045 
   6046 
   6047 
   6048 
   6049 
   6050 
   6051 
   6052 
   6053 
   6054 
   6055 
   6056 
   6057 
   6058 
   6059 
   6060 
   6061 
   6062 
   6063 
   6064 
   6065 
   6066 
   6067 
   6068 
   6069 
   6070 
   6071 
   6072 
   6073 
   6074 
   6075 
   6076 
   6077 # If no C compiler was specified, use CC.
   6078 LTCC=${LTCC-"$CC"}
   6079 
   6080 # If no C compiler flags were specified, use CFLAGS.
   6081 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6082 
   6083 # Allow CC to be a program name with arguments.
   6084 compiler=$CC
   6085 
   6086 
   6087 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6089 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6090 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   6091   $as_echo_n "(cached) " >&6
   6092 else
   6093 
   6094 # These are sane defaults that work on at least a few old systems.
   6095 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6096 
   6097 # Character class describing NM global symbol codes.
   6098 symcode='[BCDEGRST]'
   6099 
   6100 # Regexp to match symbols that can be accessed directly from C.
   6101 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6102 
   6103 # Define system-specific variables.
   6104 case $host_os in
   6105 aix*)
   6106   symcode='[BCDT]'
   6107   ;;
   6108 cygwin* | mingw* | pw32* | cegcc*)
   6109   symcode='[ABCDGISTW]'
   6110   ;;
   6111 hpux*)
   6112   if test "$host_cpu" = ia64; then
   6113     symcode='[ABCDEGRST]'
   6114   fi
   6115   ;;
   6116 irix* | nonstopux*)
   6117   symcode='[BCDEGRST]'
   6118   ;;
   6119 osf*)
   6120   symcode='[BCDEGQRST]'
   6121   ;;
   6122 solaris*)
   6123   symcode='[BDRT]'
   6124   ;;
   6125 sco3.2v5*)
   6126   symcode='[DT]'
   6127   ;;
   6128 sysv4.2uw2*)
   6129   symcode='[DT]'
   6130   ;;
   6131 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6132   symcode='[ABDT]'
   6133   ;;
   6134 sysv4)
   6135   symcode='[DFNSTU]'
   6136   ;;
   6137 esac
   6138 
   6139 # If we're using GNU nm, then use its standard symbol codes.
   6140 case `$NM -V 2>&1` in
   6141 *GNU* | *'with BFD'*)
   6142   symcode='[ABCDGIRSTW]' ;;
   6143 esac
   6144 
   6145 # Transform an extracted symbol line into a proper C declaration.
   6146 # Some systems (esp. on ia64) link data and code symbols differently,
   6147 # so use this general approach.
   6148 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6149 
   6150 # Transform an extracted symbol line into symbol name and symbol address
   6151 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   6152 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
   6153 
   6154 # Handle CRLF in mingw tool chain
   6155 opt_cr=
   6156 case $build_os in
   6157 mingw*)
   6158   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6159   ;;
   6160 esac
   6161 
   6162 # Try without a prefix underscore, then with it.
   6163 for ac_symprfx in "" "_"; do
   6164 
   6165   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6166   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6167 
   6168   # Write the raw and C identifiers.
   6169   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6170     # Fake it for dumpbin and say T for any non-static function
   6171     # and D for any global variable.
   6172     # Also find C++ and __fastcall symbols from MSVC++,
   6173     # which start with @ or ?.
   6174     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6175 "     {last_section=section; section=\$ 3};"\
   6176 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   6177 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6178 "     \$ 0!~/External *\|/{next};"\
   6179 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6180 "     {if(hide[section]) next};"\
   6181 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6182 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6183 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6184 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6185 "     ' prfx=^$ac_symprfx"
   6186   else
   6187     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6188   fi
   6189   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   6190 
   6191   # Check to see that the pipe works correctly.
   6192   pipe_works=no
   6193 
   6194   rm -f conftest*
   6195   cat > conftest.$ac_ext <<_LT_EOF
   6196 #ifdef __cplusplus
   6197 extern "C" {
   6198 #endif
   6199 char nm_test_var;
   6200 void nm_test_func(void);
   6201 void nm_test_func(void){}
   6202 #ifdef __cplusplus
   6203 }
   6204 #endif
   6205 int main(){nm_test_var='a';nm_test_func();return(0);}
   6206 _LT_EOF
   6207 
   6208   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6209   (eval $ac_compile) 2>&5
   6210   ac_status=$?
   6211   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6212   test $ac_status = 0; }; then
   6213     # Now try to grab the symbols.
   6214     nlist=conftest.nm
   6215     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6216   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6217   ac_status=$?
   6218   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6219   test $ac_status = 0; } && test -s "$nlist"; then
   6220       # Try sorting and uniquifying the output.
   6221       if sort "$nlist" | uniq > "$nlist"T; then
   6222 	mv -f "$nlist"T "$nlist"
   6223       else
   6224 	rm -f "$nlist"T
   6225       fi
   6226 
   6227       # Make sure that we snagged all the symbols we need.
   6228       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6229 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6230 	  cat <<_LT_EOF > conftest.$ac_ext
   6231 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6232 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   6233 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   6234    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6235 # define LT_DLSYM_CONST
   6236 #elif defined(__osf__)
   6237 /* This system does not cope well with relocations in const data.  */
   6238 # define LT_DLSYM_CONST
   6239 #else
   6240 # define LT_DLSYM_CONST const
   6241 #endif
   6242 
   6243 #ifdef __cplusplus
   6244 extern "C" {
   6245 #endif
   6246 
   6247 _LT_EOF
   6248 	  # Now generate the symbol file.
   6249 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6250 
   6251 	  cat <<_LT_EOF >> conftest.$ac_ext
   6252 
   6253 /* The mapping between symbol names and symbols.  */
   6254 LT_DLSYM_CONST struct {
   6255   const char *name;
   6256   void       *address;
   6257 }
   6258 lt__PROGRAM__LTX_preloaded_symbols[] =
   6259 {
   6260   { "@PROGRAM@", (void *) 0 },
   6261 _LT_EOF
   6262 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6263 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6264   {0, (void *) 0}
   6265 };
   6266 
   6267 /* This works around a problem in FreeBSD linker */
   6268 #ifdef FREEBSD_WORKAROUND
   6269 static const void *lt_preloaded_setup() {
   6270   return lt__PROGRAM__LTX_preloaded_symbols;
   6271 }
   6272 #endif
   6273 
   6274 #ifdef __cplusplus
   6275 }
   6276 #endif
   6277 _LT_EOF
   6278 	  # Now try linking the two files.
   6279 	  mv conftest.$ac_objext conftstm.$ac_objext
   6280 	  lt_globsym_save_LIBS=$LIBS
   6281 	  lt_globsym_save_CFLAGS=$CFLAGS
   6282 	  LIBS="conftstm.$ac_objext"
   6283 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6284 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6285   (eval $ac_link) 2>&5
   6286   ac_status=$?
   6287   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6288   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6289 	    pipe_works=yes
   6290 	  fi
   6291 	  LIBS=$lt_globsym_save_LIBS
   6292 	  CFLAGS=$lt_globsym_save_CFLAGS
   6293 	else
   6294 	  echo "cannot find nm_test_func in $nlist" >&5
   6295 	fi
   6296       else
   6297 	echo "cannot find nm_test_var in $nlist" >&5
   6298       fi
   6299     else
   6300       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6301     fi
   6302   else
   6303     echo "$progname: failed program was:" >&5
   6304     cat conftest.$ac_ext >&5
   6305   fi
   6306   rm -rf conftest* conftst*
   6307 
   6308   # Do not use the global_symbol_pipe unless it works.
   6309   if test "$pipe_works" = yes; then
   6310     break
   6311   else
   6312     lt_cv_sys_global_symbol_pipe=
   6313   fi
   6314 done
   6315 
   6316 fi
   6317 
   6318 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6319   lt_cv_sys_global_symbol_to_cdecl=
   6320 fi
   6321 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6323 $as_echo "failed" >&6; }
   6324 else
   6325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6326 $as_echo "ok" >&6; }
   6327 fi
   6328 
   6329 # Response file support.
   6330 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6331   nm_file_list_spec='@'
   6332 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6333   nm_file_list_spec='@'
   6334 fi
   6335 
   6336 
   6337 
   6338 
   6339 
   6340 
   6341 
   6342 
   6343 
   6344 
   6345 
   6346 
   6347 
   6348 
   6349 
   6350 
   6351 
   6352 
   6353 
   6354 
   6355 
   6356 
   6357 
   6358 
   6359 
   6360 
   6361 
   6362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6363 $as_echo_n "checking for sysroot... " >&6; }
   6364 
   6365 # Check whether --with-sysroot was given.
   6366 if test "${with_sysroot+set}" = set; then :
   6367   withval=$with_sysroot;
   6368 else
   6369   with_sysroot=no
   6370 fi
   6371 
   6372 
   6373 lt_sysroot=
   6374 case ${with_sysroot} in #(
   6375  yes)
   6376    if test "$GCC" = yes; then
   6377      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6378    fi
   6379    ;; #(
   6380  /*)
   6381    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6382    ;; #(
   6383  no|'')
   6384    ;; #(
   6385  *)
   6386    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6387 $as_echo "${with_sysroot}" >&6; }
   6388    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6389    ;;
   6390 esac
   6391 
   6392  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6393 $as_echo "${lt_sysroot:-no}" >&6; }
   6394 
   6395 
   6396 
   6397 
   6398 
   6399 # Check whether --enable-libtool-lock was given.
   6400 if test "${enable_libtool_lock+set}" = set; then :
   6401   enableval=$enable_libtool_lock;
   6402 fi
   6403 
   6404 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6405 
   6406 # Some flags need to be propagated to the compiler or linker for good
   6407 # libtool support.
   6408 case $host in
   6409 ia64-*-hpux*)
   6410   # Find out which ABI we are using.
   6411   echo 'int i;' > conftest.$ac_ext
   6412   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6413   (eval $ac_compile) 2>&5
   6414   ac_status=$?
   6415   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6416   test $ac_status = 0; }; then
   6417     case `/usr/bin/file conftest.$ac_objext` in
   6418       *ELF-32*)
   6419 	HPUX_IA64_MODE="32"
   6420 	;;
   6421       *ELF-64*)
   6422 	HPUX_IA64_MODE="64"
   6423 	;;
   6424     esac
   6425   fi
   6426   rm -rf conftest*
   6427   ;;
   6428 *-*-irix6*)
   6429   # Find out which ABI we are using.
   6430   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6431   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6432   (eval $ac_compile) 2>&5
   6433   ac_status=$?
   6434   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6435   test $ac_status = 0; }; then
   6436     if test "$lt_cv_prog_gnu_ld" = yes; then
   6437       case `/usr/bin/file conftest.$ac_objext` in
   6438 	*32-bit*)
   6439 	  LD="${LD-ld} -melf32bsmip"
   6440 	  ;;
   6441 	*N32*)
   6442 	  LD="${LD-ld} -melf32bmipn32"
   6443 	  ;;
   6444 	*64-bit*)
   6445 	  LD="${LD-ld} -melf64bmip"
   6446 	;;
   6447       esac
   6448     else
   6449       case `/usr/bin/file conftest.$ac_objext` in
   6450 	*32-bit*)
   6451 	  LD="${LD-ld} -32"
   6452 	  ;;
   6453 	*N32*)
   6454 	  LD="${LD-ld} -n32"
   6455 	  ;;
   6456 	*64-bit*)
   6457 	  LD="${LD-ld} -64"
   6458 	  ;;
   6459       esac
   6460     fi
   6461   fi
   6462   rm -rf conftest*
   6463   ;;
   6464 
   6465 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6466 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6467   # Find out which ABI we are using.
   6468   echo 'int i;' > conftest.$ac_ext
   6469   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6470   (eval $ac_compile) 2>&5
   6471   ac_status=$?
   6472   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6473   test $ac_status = 0; }; then
   6474     case `/usr/bin/file conftest.o` in
   6475       *32-bit*)
   6476 	case $host in
   6477 	  x86_64-*kfreebsd*-gnu)
   6478 	    LD="${LD-ld} -m elf_i386_fbsd"
   6479 	    ;;
   6480 	  x86_64-*linux*)
   6481 	    LD="${LD-ld} -m elf_i386"
   6482 	    ;;
   6483 	  ppc64-*linux*|powerpc64-*linux*)
   6484 	    LD="${LD-ld} -m elf32ppclinux"
   6485 	    ;;
   6486 	  s390x-*linux*)
   6487 	    LD="${LD-ld} -m elf_s390"
   6488 	    ;;
   6489 	  sparc64-*linux*)
   6490 	    LD="${LD-ld} -m elf32_sparc"
   6491 	    ;;
   6492 	esac
   6493 	;;
   6494       *64-bit*)
   6495 	case $host in
   6496 	  x86_64-*kfreebsd*-gnu)
   6497 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6498 	    ;;
   6499 	  x86_64-*linux*)
   6500 	    LD="${LD-ld} -m elf_x86_64"
   6501 	    ;;
   6502 	  ppc*-*linux*|powerpc*-*linux*)
   6503 	    LD="${LD-ld} -m elf64ppc"
   6504 	    ;;
   6505 	  s390*-*linux*|s390*-*tpf*)
   6506 	    LD="${LD-ld} -m elf64_s390"
   6507 	    ;;
   6508 	  sparc*-*linux*)
   6509 	    LD="${LD-ld} -m elf64_sparc"
   6510 	    ;;
   6511 	esac
   6512 	;;
   6513     esac
   6514   fi
   6515   rm -rf conftest*
   6516   ;;
   6517 
   6518 *-*-sco3.2v5*)
   6519   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6520   SAVE_CFLAGS="$CFLAGS"
   6521   CFLAGS="$CFLAGS -belf"
   6522   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6523 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6524 if ${lt_cv_cc_needs_belf+:} false; then :
   6525   $as_echo_n "(cached) " >&6
   6526 else
   6527   ac_ext=c
   6528 ac_cpp='$CPP $CPPFLAGS'
   6529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6532 
   6533      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6534 /* end confdefs.h.  */
   6535 
   6536 int
   6537 main ()
   6538 {
   6539 
   6540   ;
   6541   return 0;
   6542 }
   6543 _ACEOF
   6544 if ac_fn_c_try_link "$LINENO"; then :
   6545   lt_cv_cc_needs_belf=yes
   6546 else
   6547   lt_cv_cc_needs_belf=no
   6548 fi
   6549 rm -f core conftest.err conftest.$ac_objext \
   6550     conftest$ac_exeext conftest.$ac_ext
   6551      ac_ext=c
   6552 ac_cpp='$CPP $CPPFLAGS'
   6553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6556 
   6557 fi
   6558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6559 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6560   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6561     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6562     CFLAGS="$SAVE_CFLAGS"
   6563   fi
   6564   ;;
   6565 *-*solaris*)
   6566   # Find out which ABI we are using.
   6567   echo 'int i;' > conftest.$ac_ext
   6568   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6569   (eval $ac_compile) 2>&5
   6570   ac_status=$?
   6571   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6572   test $ac_status = 0; }; then
   6573     case `/usr/bin/file conftest.o` in
   6574     *64-bit*)
   6575       case $lt_cv_prog_gnu_ld in
   6576       yes*)
   6577         case $host in
   6578         i?86-*-solaris*)
   6579           LD="${LD-ld} -m elf_x86_64"
   6580           ;;
   6581         sparc*-*-solaris*)
   6582           LD="${LD-ld} -m elf64_sparc"
   6583           ;;
   6584         esac
   6585         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   6586         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   6587           LD="${LD-ld}_sol2"
   6588         fi
   6589         ;;
   6590       *)
   6591 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6592 	  LD="${LD-ld} -64"
   6593 	fi
   6594 	;;
   6595       esac
   6596       ;;
   6597     esac
   6598   fi
   6599   rm -rf conftest*
   6600   ;;
   6601 esac
   6602 
   6603 need_locks="$enable_libtool_lock"
   6604 
   6605 if test -n "$ac_tool_prefix"; then
   6606   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6607 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6609 $as_echo_n "checking for $ac_word... " >&6; }
   6610 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6611   $as_echo_n "(cached) " >&6
   6612 else
   6613   if test -n "$MANIFEST_TOOL"; then
   6614   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6615 else
   6616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6617 for as_dir in $PATH
   6618 do
   6619   IFS=$as_save_IFS
   6620   test -z "$as_dir" && as_dir=.
   6621     for ac_exec_ext in '' $ac_executable_extensions; do
   6622   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6623     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6624     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6625     break 2
   6626   fi
   6627 done
   6628   done
   6629 IFS=$as_save_IFS
   6630 
   6631 fi
   6632 fi
   6633 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6634 if test -n "$MANIFEST_TOOL"; then
   6635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6636 $as_echo "$MANIFEST_TOOL" >&6; }
   6637 else
   6638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6639 $as_echo "no" >&6; }
   6640 fi
   6641 
   6642 
   6643 fi
   6644 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6645   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6646   # Extract the first word of "mt", so it can be a program name with args.
   6647 set dummy mt; ac_word=$2
   6648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6649 $as_echo_n "checking for $ac_word... " >&6; }
   6650 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6651   $as_echo_n "(cached) " >&6
   6652 else
   6653   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6654   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6655 else
   6656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6657 for as_dir in $PATH
   6658 do
   6659   IFS=$as_save_IFS
   6660   test -z "$as_dir" && as_dir=.
   6661     for ac_exec_ext in '' $ac_executable_extensions; do
   6662   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6663     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6664     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6665     break 2
   6666   fi
   6667 done
   6668   done
   6669 IFS=$as_save_IFS
   6670 
   6671 fi
   6672 fi
   6673 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6674 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6676 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6677 else
   6678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6679 $as_echo "no" >&6; }
   6680 fi
   6681 
   6682   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6683     MANIFEST_TOOL=":"
   6684   else
   6685     case $cross_compiling:$ac_tool_warned in
   6686 yes:)
   6687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6688 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6689 ac_tool_warned=yes ;;
   6690 esac
   6691     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6692   fi
   6693 else
   6694   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6695 fi
   6696 
   6697 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6699 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6700 if ${lt_cv_path_mainfest_tool+:} false; then :
   6701   $as_echo_n "(cached) " >&6
   6702 else
   6703   lt_cv_path_mainfest_tool=no
   6704   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6705   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6706   cat conftest.err >&5
   6707   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6708     lt_cv_path_mainfest_tool=yes
   6709   fi
   6710   rm -f conftest*
   6711 fi
   6712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6713 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6714 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   6715   MANIFEST_TOOL=:
   6716 fi
   6717 
   6718 
   6719 
   6720 
   6721 
   6722 
   6723   case $host_os in
   6724     rhapsody* | darwin*)
   6725     if test -n "$ac_tool_prefix"; then
   6726   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6727 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6729 $as_echo_n "checking for $ac_word... " >&6; }
   6730 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   6731   $as_echo_n "(cached) " >&6
   6732 else
   6733   if test -n "$DSYMUTIL"; then
   6734   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6735 else
   6736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6737 for as_dir in $PATH
   6738 do
   6739   IFS=$as_save_IFS
   6740   test -z "$as_dir" && as_dir=.
   6741     for ac_exec_ext in '' $ac_executable_extensions; do
   6742   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6743     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6744     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6745     break 2
   6746   fi
   6747 done
   6748   done
   6749 IFS=$as_save_IFS
   6750 
   6751 fi
   6752 fi
   6753 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6754 if test -n "$DSYMUTIL"; then
   6755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6756 $as_echo "$DSYMUTIL" >&6; }
   6757 else
   6758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6759 $as_echo "no" >&6; }
   6760 fi
   6761 
   6762 
   6763 fi
   6764 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6765   ac_ct_DSYMUTIL=$DSYMUTIL
   6766   # Extract the first word of "dsymutil", so it can be a program name with args.
   6767 set dummy dsymutil; ac_word=$2
   6768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6769 $as_echo_n "checking for $ac_word... " >&6; }
   6770 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6771   $as_echo_n "(cached) " >&6
   6772 else
   6773   if test -n "$ac_ct_DSYMUTIL"; then
   6774   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6775 else
   6776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6777 for as_dir in $PATH
   6778 do
   6779   IFS=$as_save_IFS
   6780   test -z "$as_dir" && as_dir=.
   6781     for ac_exec_ext in '' $ac_executable_extensions; do
   6782   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6783     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6784     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6785     break 2
   6786   fi
   6787 done
   6788   done
   6789 IFS=$as_save_IFS
   6790 
   6791 fi
   6792 fi
   6793 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6794 if test -n "$ac_ct_DSYMUTIL"; then
   6795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6796 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6797 else
   6798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6799 $as_echo "no" >&6; }
   6800 fi
   6801 
   6802   if test "x$ac_ct_DSYMUTIL" = x; then
   6803     DSYMUTIL=":"
   6804   else
   6805     case $cross_compiling:$ac_tool_warned in
   6806 yes:)
   6807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6808 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6809 ac_tool_warned=yes ;;
   6810 esac
   6811     DSYMUTIL=$ac_ct_DSYMUTIL
   6812   fi
   6813 else
   6814   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6815 fi
   6816 
   6817     if test -n "$ac_tool_prefix"; then
   6818   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6819 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6821 $as_echo_n "checking for $ac_word... " >&6; }
   6822 if ${ac_cv_prog_NMEDIT+:} false; then :
   6823   $as_echo_n "(cached) " >&6
   6824 else
   6825   if test -n "$NMEDIT"; then
   6826   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6827 else
   6828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6829 for as_dir in $PATH
   6830 do
   6831   IFS=$as_save_IFS
   6832   test -z "$as_dir" && as_dir=.
   6833     for ac_exec_ext in '' $ac_executable_extensions; do
   6834   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6835     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6836     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6837     break 2
   6838   fi
   6839 done
   6840   done
   6841 IFS=$as_save_IFS
   6842 
   6843 fi
   6844 fi
   6845 NMEDIT=$ac_cv_prog_NMEDIT
   6846 if test -n "$NMEDIT"; then
   6847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6848 $as_echo "$NMEDIT" >&6; }
   6849 else
   6850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6851 $as_echo "no" >&6; }
   6852 fi
   6853 
   6854 
   6855 fi
   6856 if test -z "$ac_cv_prog_NMEDIT"; then
   6857   ac_ct_NMEDIT=$NMEDIT
   6858   # Extract the first word of "nmedit", so it can be a program name with args.
   6859 set dummy nmedit; ac_word=$2
   6860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6861 $as_echo_n "checking for $ac_word... " >&6; }
   6862 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   6863   $as_echo_n "(cached) " >&6
   6864 else
   6865   if test -n "$ac_ct_NMEDIT"; then
   6866   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6867 else
   6868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6869 for as_dir in $PATH
   6870 do
   6871   IFS=$as_save_IFS
   6872   test -z "$as_dir" && as_dir=.
   6873     for ac_exec_ext in '' $ac_executable_extensions; do
   6874   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6875     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6876     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6877     break 2
   6878   fi
   6879 done
   6880   done
   6881 IFS=$as_save_IFS
   6882 
   6883 fi
   6884 fi
   6885 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6886 if test -n "$ac_ct_NMEDIT"; then
   6887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6888 $as_echo "$ac_ct_NMEDIT" >&6; }
   6889 else
   6890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6891 $as_echo "no" >&6; }
   6892 fi
   6893 
   6894   if test "x$ac_ct_NMEDIT" = x; then
   6895     NMEDIT=":"
   6896   else
   6897     case $cross_compiling:$ac_tool_warned in
   6898 yes:)
   6899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6900 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6901 ac_tool_warned=yes ;;
   6902 esac
   6903     NMEDIT=$ac_ct_NMEDIT
   6904   fi
   6905 else
   6906   NMEDIT="$ac_cv_prog_NMEDIT"
   6907 fi
   6908 
   6909     if test -n "$ac_tool_prefix"; then
   6910   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6911 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6913 $as_echo_n "checking for $ac_word... " >&6; }
   6914 if ${ac_cv_prog_LIPO+:} false; then :
   6915   $as_echo_n "(cached) " >&6
   6916 else
   6917   if test -n "$LIPO"; then
   6918   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6919 else
   6920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6921 for as_dir in $PATH
   6922 do
   6923   IFS=$as_save_IFS
   6924   test -z "$as_dir" && as_dir=.
   6925     for ac_exec_ext in '' $ac_executable_extensions; do
   6926   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6927     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6928     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6929     break 2
   6930   fi
   6931 done
   6932   done
   6933 IFS=$as_save_IFS
   6934 
   6935 fi
   6936 fi
   6937 LIPO=$ac_cv_prog_LIPO
   6938 if test -n "$LIPO"; then
   6939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6940 $as_echo "$LIPO" >&6; }
   6941 else
   6942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6943 $as_echo "no" >&6; }
   6944 fi
   6945 
   6946 
   6947 fi
   6948 if test -z "$ac_cv_prog_LIPO"; then
   6949   ac_ct_LIPO=$LIPO
   6950   # Extract the first word of "lipo", so it can be a program name with args.
   6951 set dummy lipo; 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_ac_ct_LIPO+:} false; then :
   6955   $as_echo_n "(cached) " >&6
   6956 else
   6957   if test -n "$ac_ct_LIPO"; then
   6958   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # 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_ac_ct_LIPO="lipo"
   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 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6978 if test -n "$ac_ct_LIPO"; then
   6979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6980 $as_echo "$ac_ct_LIPO" >&6; }
   6981 else
   6982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6983 $as_echo "no" >&6; }
   6984 fi
   6985 
   6986   if test "x$ac_ct_LIPO" = x; then
   6987     LIPO=":"
   6988   else
   6989     case $cross_compiling:$ac_tool_warned in
   6990 yes:)
   6991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6992 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6993 ac_tool_warned=yes ;;
   6994 esac
   6995     LIPO=$ac_ct_LIPO
   6996   fi
   6997 else
   6998   LIPO="$ac_cv_prog_LIPO"
   6999 fi
   7000 
   7001     if test -n "$ac_tool_prefix"; then
   7002   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7003 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7005 $as_echo_n "checking for $ac_word... " >&6; }
   7006 if ${ac_cv_prog_OTOOL+:} false; then :
   7007   $as_echo_n "(cached) " >&6
   7008 else
   7009   if test -n "$OTOOL"; then
   7010   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7011 else
   7012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7013 for as_dir in $PATH
   7014 do
   7015   IFS=$as_save_IFS
   7016   test -z "$as_dir" && as_dir=.
   7017     for ac_exec_ext in '' $ac_executable_extensions; do
   7018   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7019     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7020     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7021     break 2
   7022   fi
   7023 done
   7024   done
   7025 IFS=$as_save_IFS
   7026 
   7027 fi
   7028 fi
   7029 OTOOL=$ac_cv_prog_OTOOL
   7030 if test -n "$OTOOL"; then
   7031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7032 $as_echo "$OTOOL" >&6; }
   7033 else
   7034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7035 $as_echo "no" >&6; }
   7036 fi
   7037 
   7038 
   7039 fi
   7040 if test -z "$ac_cv_prog_OTOOL"; then
   7041   ac_ct_OTOOL=$OTOOL
   7042   # Extract the first word of "otool", so it can be a program name with args.
   7043 set dummy otool; 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_ac_ct_OTOOL+:} false; then :
   7047   $as_echo_n "(cached) " >&6
   7048 else
   7049   if test -n "$ac_ct_OTOOL"; then
   7050   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # 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_ac_ct_OTOOL="otool"
   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 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7070 if test -n "$ac_ct_OTOOL"; then
   7071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7072 $as_echo "$ac_ct_OTOOL" >&6; }
   7073 else
   7074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7075 $as_echo "no" >&6; }
   7076 fi
   7077 
   7078   if test "x$ac_ct_OTOOL" = x; then
   7079     OTOOL=":"
   7080   else
   7081     case $cross_compiling:$ac_tool_warned in
   7082 yes:)
   7083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7084 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7085 ac_tool_warned=yes ;;
   7086 esac
   7087     OTOOL=$ac_ct_OTOOL
   7088   fi
   7089 else
   7090   OTOOL="$ac_cv_prog_OTOOL"
   7091 fi
   7092 
   7093     if test -n "$ac_tool_prefix"; then
   7094   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7095 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7097 $as_echo_n "checking for $ac_word... " >&6; }
   7098 if ${ac_cv_prog_OTOOL64+:} false; then :
   7099   $as_echo_n "(cached) " >&6
   7100 else
   7101   if test -n "$OTOOL64"; then
   7102   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7103 else
   7104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7105 for as_dir in $PATH
   7106 do
   7107   IFS=$as_save_IFS
   7108   test -z "$as_dir" && as_dir=.
   7109     for ac_exec_ext in '' $ac_executable_extensions; do
   7110   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7111     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7112     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7113     break 2
   7114   fi
   7115 done
   7116   done
   7117 IFS=$as_save_IFS
   7118 
   7119 fi
   7120 fi
   7121 OTOOL64=$ac_cv_prog_OTOOL64
   7122 if test -n "$OTOOL64"; then
   7123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7124 $as_echo "$OTOOL64" >&6; }
   7125 else
   7126   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7127 $as_echo "no" >&6; }
   7128 fi
   7129 
   7130 
   7131 fi
   7132 if test -z "$ac_cv_prog_OTOOL64"; then
   7133   ac_ct_OTOOL64=$OTOOL64
   7134   # Extract the first word of "otool64", so it can be a program name with args.
   7135 set dummy otool64; 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_ac_ct_OTOOL64+:} false; then :
   7139   $as_echo_n "(cached) " >&6
   7140 else
   7141   if test -n "$ac_ct_OTOOL64"; then
   7142   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # 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_ac_ct_OTOOL64="otool64"
   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 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7162 if test -n "$ac_ct_OTOOL64"; then
   7163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7164 $as_echo "$ac_ct_OTOOL64" >&6; }
   7165 else
   7166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7167 $as_echo "no" >&6; }
   7168 fi
   7169 
   7170   if test "x$ac_ct_OTOOL64" = x; then
   7171     OTOOL64=":"
   7172   else
   7173     case $cross_compiling:$ac_tool_warned in
   7174 yes:)
   7175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7176 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7177 ac_tool_warned=yes ;;
   7178 esac
   7179     OTOOL64=$ac_ct_OTOOL64
   7180   fi
   7181 else
   7182   OTOOL64="$ac_cv_prog_OTOOL64"
   7183 fi
   7184 
   7185 
   7186 
   7187 
   7188 
   7189 
   7190 
   7191 
   7192 
   7193 
   7194 
   7195 
   7196 
   7197 
   7198 
   7199 
   7200 
   7201 
   7202 
   7203 
   7204 
   7205 
   7206 
   7207 
   7208 
   7209 
   7210 
   7211     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7212 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7213 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7214   $as_echo_n "(cached) " >&6
   7215 else
   7216   lt_cv_apple_cc_single_mod=no
   7217       if test -z "${LT_MULTI_MODULE}"; then
   7218 	# By default we will add the -single_module flag. You can override
   7219 	# by either setting the environment variable LT_MULTI_MODULE
   7220 	# non-empty at configure time, or by adding -multi_module to the
   7221 	# link flags.
   7222 	rm -rf libconftest.dylib*
   7223 	echo "int foo(void){return 1;}" > conftest.c
   7224 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7225 -dynamiclib -Wl,-single_module conftest.c" >&5
   7226 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7227 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7228         _lt_result=$?
   7229 	# If there is a non-empty error log, and "single_module"
   7230 	# appears in it, assume the flag caused a linker warning
   7231         if test -s conftest.err && $GREP single_module conftest.err; then
   7232 	  cat conftest.err >&5
   7233 	# Otherwise, if the output was created with a 0 exit code from
   7234 	# the compiler, it worked.
   7235 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   7236 	  lt_cv_apple_cc_single_mod=yes
   7237 	else
   7238 	  cat conftest.err >&5
   7239 	fi
   7240 	rm -rf libconftest.dylib*
   7241 	rm -f conftest.*
   7242       fi
   7243 fi
   7244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7245 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7246 
   7247     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7248 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7249 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7250   $as_echo_n "(cached) " >&6
   7251 else
   7252   lt_cv_ld_exported_symbols_list=no
   7253       save_LDFLAGS=$LDFLAGS
   7254       echo "_main" > conftest.sym
   7255       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7256       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7257 /* end confdefs.h.  */
   7258 
   7259 int
   7260 main ()
   7261 {
   7262 
   7263   ;
   7264   return 0;
   7265 }
   7266 _ACEOF
   7267 if ac_fn_c_try_link "$LINENO"; then :
   7268   lt_cv_ld_exported_symbols_list=yes
   7269 else
   7270   lt_cv_ld_exported_symbols_list=no
   7271 fi
   7272 rm -f core conftest.err conftest.$ac_objext \
   7273     conftest$ac_exeext conftest.$ac_ext
   7274 	LDFLAGS="$save_LDFLAGS"
   7275 
   7276 fi
   7277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7278 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7279 
   7280     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7281 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7282 if ${lt_cv_ld_force_load+:} false; then :
   7283   $as_echo_n "(cached) " >&6
   7284 else
   7285   lt_cv_ld_force_load=no
   7286       cat > conftest.c << _LT_EOF
   7287 int forced_loaded() { return 2;}
   7288 _LT_EOF
   7289       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7290       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7291       echo "$AR cru libconftest.a conftest.o" >&5
   7292       $AR cru libconftest.a conftest.o 2>&5
   7293       echo "$RANLIB libconftest.a" >&5
   7294       $RANLIB libconftest.a 2>&5
   7295       cat > conftest.c << _LT_EOF
   7296 int main() { return 0;}
   7297 _LT_EOF
   7298       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7299       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7300       _lt_result=$?
   7301       if test -s conftest.err && $GREP force_load conftest.err; then
   7302 	cat conftest.err >&5
   7303       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   7304 	lt_cv_ld_force_load=yes
   7305       else
   7306 	cat conftest.err >&5
   7307       fi
   7308         rm -f conftest.err libconftest.a conftest conftest.c
   7309         rm -rf conftest.dSYM
   7310 
   7311 fi
   7312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7313 $as_echo "$lt_cv_ld_force_load" >&6; }
   7314     case $host_os in
   7315     rhapsody* | darwin1.[012])
   7316       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7317     darwin1.*)
   7318       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7319     darwin*) # darwin 5.x on
   7320       # if running on 10.5 or later, the deployment target defaults
   7321       # to the OS version, if on x86, and 10.4, the deployment
   7322       # target defaults to 10.4. Don't you love it?
   7323       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7324 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7325 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7326 	10.[012]*)
   7327 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7328 	10.*)
   7329 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7330       esac
   7331     ;;
   7332   esac
   7333     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7334       _lt_dar_single_mod='$single_module'
   7335     fi
   7336     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7337       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7338     else
   7339       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7340     fi
   7341     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7342       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7343     else
   7344       _lt_dsymutil=
   7345     fi
   7346     ;;
   7347   esac
   7348 
   7349 ac_ext=c
   7350 ac_cpp='$CPP $CPPFLAGS'
   7351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7355 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7356 # On Suns, sometimes $CPP names a directory.
   7357 if test -n "$CPP" && test -d "$CPP"; then
   7358   CPP=
   7359 fi
   7360 if test -z "$CPP"; then
   7361   if ${ac_cv_prog_CPP+:} false; then :
   7362   $as_echo_n "(cached) " >&6
   7363 else
   7364       # Double quotes because CPP needs to be expanded
   7365     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7366     do
   7367       ac_preproc_ok=false
   7368 for ac_c_preproc_warn_flag in '' yes
   7369 do
   7370   # Use a header file that comes with gcc, so configuring glibc
   7371   # with a fresh cross-compiler works.
   7372   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7373   # <limits.h> exists even on freestanding compilers.
   7374   # On the NeXT, cc -E runs the code through the compiler's parser,
   7375   # not just through cpp. "Syntax error" is here to catch this case.
   7376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7377 /* end confdefs.h.  */
   7378 #ifdef __STDC__
   7379 # include <limits.h>
   7380 #else
   7381 # include <assert.h>
   7382 #endif
   7383 		     Syntax error
   7384 _ACEOF
   7385 if ac_fn_c_try_cpp "$LINENO"; then :
   7386 
   7387 else
   7388   # Broken: fails on valid input.
   7389 continue
   7390 fi
   7391 rm -f conftest.err conftest.i conftest.$ac_ext
   7392 
   7393   # OK, works on sane cases.  Now check whether nonexistent headers
   7394   # can be detected and how.
   7395   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7396 /* end confdefs.h.  */
   7397 #include <ac_nonexistent.h>
   7398 _ACEOF
   7399 if ac_fn_c_try_cpp "$LINENO"; then :
   7400   # Broken: success on invalid input.
   7401 continue
   7402 else
   7403   # Passes both tests.
   7404 ac_preproc_ok=:
   7405 break
   7406 fi
   7407 rm -f conftest.err conftest.i conftest.$ac_ext
   7408 
   7409 done
   7410 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7411 rm -f conftest.i conftest.err conftest.$ac_ext
   7412 if $ac_preproc_ok; then :
   7413   break
   7414 fi
   7415 
   7416     done
   7417     ac_cv_prog_CPP=$CPP
   7418 
   7419 fi
   7420   CPP=$ac_cv_prog_CPP
   7421 else
   7422   ac_cv_prog_CPP=$CPP
   7423 fi
   7424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7425 $as_echo "$CPP" >&6; }
   7426 ac_preproc_ok=false
   7427 for ac_c_preproc_warn_flag in '' yes
   7428 do
   7429   # Use a header file that comes with gcc, so configuring glibc
   7430   # with a fresh cross-compiler works.
   7431   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7432   # <limits.h> exists even on freestanding compilers.
   7433   # On the NeXT, cc -E runs the code through the compiler's parser,
   7434   # not just through cpp. "Syntax error" is here to catch this case.
   7435   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7436 /* end confdefs.h.  */
   7437 #ifdef __STDC__
   7438 # include <limits.h>
   7439 #else
   7440 # include <assert.h>
   7441 #endif
   7442 		     Syntax error
   7443 _ACEOF
   7444 if ac_fn_c_try_cpp "$LINENO"; then :
   7445 
   7446 else
   7447   # Broken: fails on valid input.
   7448 continue
   7449 fi
   7450 rm -f conftest.err conftest.i conftest.$ac_ext
   7451 
   7452   # OK, works on sane cases.  Now check whether nonexistent headers
   7453   # can be detected and how.
   7454   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7455 /* end confdefs.h.  */
   7456 #include <ac_nonexistent.h>
   7457 _ACEOF
   7458 if ac_fn_c_try_cpp "$LINENO"; then :
   7459   # Broken: success on invalid input.
   7460 continue
   7461 else
   7462   # Passes both tests.
   7463 ac_preproc_ok=:
   7464 break
   7465 fi
   7466 rm -f conftest.err conftest.i conftest.$ac_ext
   7467 
   7468 done
   7469 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7470 rm -f conftest.i conftest.err conftest.$ac_ext
   7471 if $ac_preproc_ok; then :
   7472 
   7473 else
   7474   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7475 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7476 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7477 See \`config.log' for more details" "$LINENO" 5; }
   7478 fi
   7479 
   7480 ac_ext=c
   7481 ac_cpp='$CPP $CPPFLAGS'
   7482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7485 
   7486 
   7487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7488 $as_echo_n "checking for ANSI C header files... " >&6; }
   7489 if ${ac_cv_header_stdc+:} false; then :
   7490   $as_echo_n "(cached) " >&6
   7491 else
   7492   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7493 /* end confdefs.h.  */
   7494 #include <stdlib.h>
   7495 #include <stdarg.h>
   7496 #include <string.h>
   7497 #include <float.h>
   7498 
   7499 int
   7500 main ()
   7501 {
   7502 
   7503   ;
   7504   return 0;
   7505 }
   7506 _ACEOF
   7507 if ac_fn_c_try_compile "$LINENO"; then :
   7508   ac_cv_header_stdc=yes
   7509 else
   7510   ac_cv_header_stdc=no
   7511 fi
   7512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7513 
   7514 if test $ac_cv_header_stdc = yes; then
   7515   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7517 /* end confdefs.h.  */
   7518 #include <string.h>
   7519 
   7520 _ACEOF
   7521 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7522   $EGREP "memchr" >/dev/null 2>&1; then :
   7523 
   7524 else
   7525   ac_cv_header_stdc=no
   7526 fi
   7527 rm -f conftest*
   7528 
   7529 fi
   7530 
   7531 if test $ac_cv_header_stdc = yes; then
   7532   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7534 /* end confdefs.h.  */
   7535 #include <stdlib.h>
   7536 
   7537 _ACEOF
   7538 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7539   $EGREP "free" >/dev/null 2>&1; then :
   7540 
   7541 else
   7542   ac_cv_header_stdc=no
   7543 fi
   7544 rm -f conftest*
   7545 
   7546 fi
   7547 
   7548 if test $ac_cv_header_stdc = yes; then
   7549   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7550   if test "$cross_compiling" = yes; then :
   7551   :
   7552 else
   7553   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7554 /* end confdefs.h.  */
   7555 #include <ctype.h>
   7556 #include <stdlib.h>
   7557 #if ((' ' & 0x0FF) == 0x020)
   7558 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7559 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7560 #else
   7561 # define ISLOWER(c) \
   7562 		   (('a' <= (c) && (c) <= 'i') \
   7563 		     || ('j' <= (c) && (c) <= 'r') \
   7564 		     || ('s' <= (c) && (c) <= 'z'))
   7565 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7566 #endif
   7567 
   7568 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7569 int
   7570 main ()
   7571 {
   7572   int i;
   7573   for (i = 0; i < 256; i++)
   7574     if (XOR (islower (i), ISLOWER (i))
   7575 	|| toupper (i) != TOUPPER (i))
   7576       return 2;
   7577   return 0;
   7578 }
   7579 _ACEOF
   7580 if ac_fn_c_try_run "$LINENO"; then :
   7581 
   7582 else
   7583   ac_cv_header_stdc=no
   7584 fi
   7585 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7586   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7587 fi
   7588 
   7589 fi
   7590 fi
   7591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7592 $as_echo "$ac_cv_header_stdc" >&6; }
   7593 if test $ac_cv_header_stdc = yes; then
   7594 
   7595 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7596 
   7597 fi
   7598 
   7599 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7600 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7601 		  inttypes.h stdint.h unistd.h
   7602 do :
   7603   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7604 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7605 "
   7606 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7607   cat >>confdefs.h <<_ACEOF
   7608 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7609 _ACEOF
   7610 
   7611 fi
   7612 
   7613 done
   7614 
   7615 
   7616 for ac_header in dlfcn.h
   7617 do :
   7618   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7619 "
   7620 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7621   cat >>confdefs.h <<_ACEOF
   7622 #define HAVE_DLFCN_H 1
   7623 _ACEOF
   7624 
   7625 fi
   7626 
   7627 done
   7628 
   7629 
   7630 
   7631 
   7632 
   7633 # Set options
   7634 
   7635 
   7636 
   7637         enable_dlopen=no
   7638 
   7639 
   7640   enable_win32_dll=no
   7641 
   7642 
   7643             # Check whether --enable-shared was given.
   7644 if test "${enable_shared+set}" = set; then :
   7645   enableval=$enable_shared; p=${PACKAGE-default}
   7646     case $enableval in
   7647     yes) enable_shared=yes ;;
   7648     no) enable_shared=no ;;
   7649     *)
   7650       enable_shared=no
   7651       # Look at the argument we got.  We use all the common list separators.
   7652       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7653       for pkg in $enableval; do
   7654 	IFS="$lt_save_ifs"
   7655 	if test "X$pkg" = "X$p"; then
   7656 	  enable_shared=yes
   7657 	fi
   7658       done
   7659       IFS="$lt_save_ifs"
   7660       ;;
   7661     esac
   7662 else
   7663   enable_shared=yes
   7664 fi
   7665 
   7666 
   7667 
   7668 
   7669 
   7670 
   7671 
   7672 
   7673 
   7674   # Check whether --enable-static was given.
   7675 if test "${enable_static+set}" = set; then :
   7676   enableval=$enable_static; p=${PACKAGE-default}
   7677     case $enableval in
   7678     yes) enable_static=yes ;;
   7679     no) enable_static=no ;;
   7680     *)
   7681      enable_static=no
   7682       # Look at the argument we got.  We use all the common list separators.
   7683       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7684       for pkg in $enableval; do
   7685 	IFS="$lt_save_ifs"
   7686 	if test "X$pkg" = "X$p"; then
   7687 	  enable_static=yes
   7688 	fi
   7689       done
   7690       IFS="$lt_save_ifs"
   7691       ;;
   7692     esac
   7693 else
   7694   enable_static=yes
   7695 fi
   7696 
   7697 
   7698 
   7699 
   7700 
   7701 
   7702 
   7703 
   7704 
   7705 
   7706 # Check whether --with-pic was given.
   7707 if test "${with_pic+set}" = set; then :
   7708   withval=$with_pic; lt_p=${PACKAGE-default}
   7709     case $withval in
   7710     yes|no) pic_mode=$withval ;;
   7711     *)
   7712       pic_mode=default
   7713       # Look at the argument we got.  We use all the common list separators.
   7714       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7715       for lt_pkg in $withval; do
   7716 	IFS="$lt_save_ifs"
   7717 	if test "X$lt_pkg" = "X$lt_p"; then
   7718 	  pic_mode=yes
   7719 	fi
   7720       done
   7721       IFS="$lt_save_ifs"
   7722       ;;
   7723     esac
   7724 else
   7725   pic_mode=default
   7726 fi
   7727 
   7728 
   7729 test -z "$pic_mode" && pic_mode=default
   7730 
   7731 
   7732 
   7733 
   7734 
   7735 
   7736 
   7737   # Check whether --enable-fast-install was given.
   7738 if test "${enable_fast_install+set}" = set; then :
   7739   enableval=$enable_fast_install; p=${PACKAGE-default}
   7740     case $enableval in
   7741     yes) enable_fast_install=yes ;;
   7742     no) enable_fast_install=no ;;
   7743     *)
   7744       enable_fast_install=no
   7745       # Look at the argument we got.  We use all the common list separators.
   7746       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7747       for pkg in $enableval; do
   7748 	IFS="$lt_save_ifs"
   7749 	if test "X$pkg" = "X$p"; then
   7750 	  enable_fast_install=yes
   7751 	fi
   7752       done
   7753       IFS="$lt_save_ifs"
   7754       ;;
   7755     esac
   7756 else
   7757   enable_fast_install=yes
   7758 fi
   7759 
   7760 
   7761 
   7762 
   7763 
   7764 
   7765 
   7766 
   7767 
   7768 
   7769 
   7770 # This can be used to rebuild libtool when needed
   7771 LIBTOOL_DEPS="$ltmain"
   7772 
   7773 # Always use our own libtool.
   7774 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7775 
   7776 
   7777 
   7778 
   7779 
   7780 
   7781 
   7782 
   7783 
   7784 
   7785 
   7786 
   7787 
   7788 
   7789 
   7790 
   7791 
   7792 
   7793 
   7794 
   7795 
   7796 
   7797 
   7798 
   7799 
   7800 
   7801 
   7802 
   7803 
   7804 
   7805 test -z "$LN_S" && LN_S="ln -s"
   7806 
   7807 
   7808 
   7809 
   7810 
   7811 
   7812 
   7813 
   7814 
   7815 
   7816 
   7817 
   7818 
   7819 
   7820 if test -n "${ZSH_VERSION+set}" ; then
   7821    setopt NO_GLOB_SUBST
   7822 fi
   7823 
   7824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7825 $as_echo_n "checking for objdir... " >&6; }
   7826 if ${lt_cv_objdir+:} false; then :
   7827   $as_echo_n "(cached) " >&6
   7828 else
   7829   rm -f .libs 2>/dev/null
   7830 mkdir .libs 2>/dev/null
   7831 if test -d .libs; then
   7832   lt_cv_objdir=.libs
   7833 else
   7834   # MS-DOS does not allow filenames that begin with a dot.
   7835   lt_cv_objdir=_libs
   7836 fi
   7837 rmdir .libs 2>/dev/null
   7838 fi
   7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7840 $as_echo "$lt_cv_objdir" >&6; }
   7841 objdir=$lt_cv_objdir
   7842 
   7843 
   7844 
   7845 
   7846 
   7847 cat >>confdefs.h <<_ACEOF
   7848 #define LT_OBJDIR "$lt_cv_objdir/"
   7849 _ACEOF
   7850 
   7851 
   7852 
   7853 
   7854 case $host_os in
   7855 aix3*)
   7856   # AIX sometimes has problems with the GCC collect2 program.  For some
   7857   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7858   # vanish in a puff of smoke.
   7859   if test "X${COLLECT_NAMES+set}" != Xset; then
   7860     COLLECT_NAMES=
   7861     export COLLECT_NAMES
   7862   fi
   7863   ;;
   7864 esac
   7865 
   7866 # Global variables:
   7867 ofile=libtool
   7868 can_build_shared=yes
   7869 
   7870 # All known linkers require a `.a' archive for static linking (except MSVC,
   7871 # which needs '.lib').
   7872 libext=a
   7873 
   7874 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7875 
   7876 old_CC="$CC"
   7877 old_CFLAGS="$CFLAGS"
   7878 
   7879 # Set sane defaults for various variables
   7880 test -z "$CC" && CC=cc
   7881 test -z "$LTCC" && LTCC=$CC
   7882 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7883 test -z "$LD" && LD=ld
   7884 test -z "$ac_objext" && ac_objext=o
   7885 
   7886 for cc_temp in $compiler""; do
   7887   case $cc_temp in
   7888     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7889     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7890     \-*) ;;
   7891     *) break;;
   7892   esac
   7893 done
   7894 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7895 
   7896 
   7897 # Only perform the check for file, if the check method requires it
   7898 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7899 case $deplibs_check_method in
   7900 file_magic*)
   7901   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7902     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7903 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7904 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7905   $as_echo_n "(cached) " >&6
   7906 else
   7907   case $MAGIC_CMD in
   7908 [\\/*] |  ?:[\\/]*)
   7909   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7910   ;;
   7911 *)
   7912   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7913   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7914   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7915   for ac_dir in $ac_dummy; do
   7916     IFS="$lt_save_ifs"
   7917     test -z "$ac_dir" && ac_dir=.
   7918     if test -f $ac_dir/${ac_tool_prefix}file; then
   7919       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7920       if test -n "$file_magic_test_file"; then
   7921 	case $deplibs_check_method in
   7922 	"file_magic "*)
   7923 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7924 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7925 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7926 	    $EGREP "$file_magic_regex" > /dev/null; then
   7927 	    :
   7928 	  else
   7929 	    cat <<_LT_EOF 1>&2
   7930 
   7931 *** Warning: the command libtool uses to detect shared libraries,
   7932 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7933 *** The result is that libtool may fail to recognize shared libraries
   7934 *** as such.  This will affect the creation of libtool libraries that
   7935 *** depend on shared libraries, but programs linked with such libtool
   7936 *** libraries will work regardless of this problem.  Nevertheless, you
   7937 *** may want to report the problem to your system manager and/or to
   7938 *** bug-libtool@gnu.org
   7939 
   7940 _LT_EOF
   7941 	  fi ;;
   7942 	esac
   7943       fi
   7944       break
   7945     fi
   7946   done
   7947   IFS="$lt_save_ifs"
   7948   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7949   ;;
   7950 esac
   7951 fi
   7952 
   7953 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7954 if test -n "$MAGIC_CMD"; then
   7955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7956 $as_echo "$MAGIC_CMD" >&6; }
   7957 else
   7958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7959 $as_echo "no" >&6; }
   7960 fi
   7961 
   7962 
   7963 
   7964 
   7965 
   7966 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7967   if test -n "$ac_tool_prefix"; then
   7968     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7969 $as_echo_n "checking for file... " >&6; }
   7970 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7971   $as_echo_n "(cached) " >&6
   7972 else
   7973   case $MAGIC_CMD in
   7974 [\\/*] |  ?:[\\/]*)
   7975   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7976   ;;
   7977 *)
   7978   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7979   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7980   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7981   for ac_dir in $ac_dummy; do
   7982     IFS="$lt_save_ifs"
   7983     test -z "$ac_dir" && ac_dir=.
   7984     if test -f $ac_dir/file; then
   7985       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7986       if test -n "$file_magic_test_file"; then
   7987 	case $deplibs_check_method in
   7988 	"file_magic "*)
   7989 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7990 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7991 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7992 	    $EGREP "$file_magic_regex" > /dev/null; then
   7993 	    :
   7994 	  else
   7995 	    cat <<_LT_EOF 1>&2
   7996 
   7997 *** Warning: the command libtool uses to detect shared libraries,
   7998 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7999 *** The result is that libtool may fail to recognize shared libraries
   8000 *** as such.  This will affect the creation of libtool libraries that
   8001 *** depend on shared libraries, but programs linked with such libtool
   8002 *** libraries will work regardless of this problem.  Nevertheless, you
   8003 *** may want to report the problem to your system manager and/or to
   8004 *** bug-libtool@gnu.org
   8005 
   8006 _LT_EOF
   8007 	  fi ;;
   8008 	esac
   8009       fi
   8010       break
   8011     fi
   8012   done
   8013   IFS="$lt_save_ifs"
   8014   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8015   ;;
   8016 esac
   8017 fi
   8018 
   8019 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8020 if test -n "$MAGIC_CMD"; then
   8021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8022 $as_echo "$MAGIC_CMD" >&6; }
   8023 else
   8024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8025 $as_echo "no" >&6; }
   8026 fi
   8027 
   8028 
   8029   else
   8030     MAGIC_CMD=:
   8031   fi
   8032 fi
   8033 
   8034   fi
   8035   ;;
   8036 esac
   8037 
   8038 # Use C for the default configuration in the libtool script
   8039 
   8040 lt_save_CC="$CC"
   8041 ac_ext=c
   8042 ac_cpp='$CPP $CPPFLAGS'
   8043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8046 
   8047 
   8048 # Source file extension for C test sources.
   8049 ac_ext=c
   8050 
   8051 # Object file extension for compiled C test sources.
   8052 objext=o
   8053 objext=$objext
   8054 
   8055 # Code to be used in simple compile tests
   8056 lt_simple_compile_test_code="int some_variable = 0;"
   8057 
   8058 # Code to be used in simple link tests
   8059 lt_simple_link_test_code='int main(){return(0);}'
   8060 
   8061 
   8062 
   8063 
   8064 
   8065 
   8066 
   8067 # If no C compiler was specified, use CC.
   8068 LTCC=${LTCC-"$CC"}
   8069 
   8070 # If no C compiler flags were specified, use CFLAGS.
   8071 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8072 
   8073 # Allow CC to be a program name with arguments.
   8074 compiler=$CC
   8075 
   8076 # Save the default compiler, since it gets overwritten when the other
   8077 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8078 compiler_DEFAULT=$CC
   8079 
   8080 # save warnings/boilerplate of simple test code
   8081 ac_outfile=conftest.$ac_objext
   8082 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8083 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8084 _lt_compiler_boilerplate=`cat conftest.err`
   8085 $RM conftest*
   8086 
   8087 ac_outfile=conftest.$ac_objext
   8088 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8089 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8090 _lt_linker_boilerplate=`cat conftest.err`
   8091 $RM -r conftest*
   8092 
   8093 
   8094 if test -n "$compiler"; then
   8095 
   8096 lt_prog_compiler_no_builtin_flag=
   8097 
   8098 if test "$GCC" = yes; then
   8099   case $cc_basename in
   8100   nvcc*)
   8101     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8102   *)
   8103     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8104   esac
   8105 
   8106   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8107 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8108 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8109   $as_echo_n "(cached) " >&6
   8110 else
   8111   lt_cv_prog_compiler_rtti_exceptions=no
   8112    ac_outfile=conftest.$ac_objext
   8113    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8114    lt_compiler_flag="-fno-rtti -fno-exceptions"
   8115    # Insert the option either (1) after the last *FLAGS variable, or
   8116    # (2) before a word containing "conftest.", or (3) at the end.
   8117    # Note that $ac_compile itself does not contain backslashes and begins
   8118    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8119    # The option is referenced via a variable to avoid confusing sed.
   8120    lt_compile=`echo "$ac_compile" | $SED \
   8121    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8122    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8123    -e 's:$: $lt_compiler_flag:'`
   8124    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8125    (eval "$lt_compile" 2>conftest.err)
   8126    ac_status=$?
   8127    cat conftest.err >&5
   8128    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8129    if (exit $ac_status) && test -s "$ac_outfile"; then
   8130      # The compiler can only warn and ignore the option if not recognized
   8131      # So say no if there are warnings other than the usual output.
   8132      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8133      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8134      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8135        lt_cv_prog_compiler_rtti_exceptions=yes
   8136      fi
   8137    fi
   8138    $RM conftest*
   8139 
   8140 fi
   8141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8142 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8143 
   8144 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   8145     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8146 else
   8147     :
   8148 fi
   8149 
   8150 fi
   8151 
   8152 
   8153 
   8154 
   8155 
   8156 
   8157   lt_prog_compiler_wl=
   8158 lt_prog_compiler_pic=
   8159 lt_prog_compiler_static=
   8160 
   8161 
   8162   if test "$GCC" = yes; then
   8163     lt_prog_compiler_wl='-Wl,'
   8164     lt_prog_compiler_static='-static'
   8165 
   8166     case $host_os in
   8167       aix*)
   8168       # All AIX code is PIC.
   8169       if test "$host_cpu" = ia64; then
   8170 	# AIX 5 now supports IA64 processor
   8171 	lt_prog_compiler_static='-Bstatic'
   8172       fi
   8173       ;;
   8174 
   8175     amigaos*)
   8176       case $host_cpu in
   8177       powerpc)
   8178             # see comment about AmigaOS4 .so support
   8179             lt_prog_compiler_pic='-fPIC'
   8180         ;;
   8181       m68k)
   8182             # FIXME: we need at least 68020 code to build shared libraries, but
   8183             # adding the `-m68020' flag to GCC prevents building anything better,
   8184             # like `-m68040'.
   8185             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8186         ;;
   8187       esac
   8188       ;;
   8189 
   8190     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8191       # PIC is the default for these OSes.
   8192       ;;
   8193 
   8194     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8195       # This hack is so that the source file can tell whether it is being
   8196       # built for inclusion in a dll (and should export symbols for example).
   8197       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8198       # (--disable-auto-import) libraries
   8199       lt_prog_compiler_pic='-DDLL_EXPORT'
   8200       ;;
   8201 
   8202     darwin* | rhapsody*)
   8203       # PIC is the default on this platform
   8204       # Common symbols not allowed in MH_DYLIB files
   8205       lt_prog_compiler_pic='-fno-common'
   8206       ;;
   8207 
   8208     haiku*)
   8209       # PIC is the default for Haiku.
   8210       # The "-static" flag exists, but is broken.
   8211       lt_prog_compiler_static=
   8212       ;;
   8213 
   8214     hpux*)
   8215       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8216       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8217       # sets the default TLS model and affects inlining.
   8218       case $host_cpu in
   8219       hppa*64*)
   8220 	# +Z the default
   8221 	;;
   8222       *)
   8223 	lt_prog_compiler_pic='-fPIC'
   8224 	;;
   8225       esac
   8226       ;;
   8227 
   8228     interix[3-9]*)
   8229       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8230       # Instead, we relocate shared libraries at runtime.
   8231       ;;
   8232 
   8233     msdosdjgpp*)
   8234       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8235       # on systems that don't support them.
   8236       lt_prog_compiler_can_build_shared=no
   8237       enable_shared=no
   8238       ;;
   8239 
   8240     *nto* | *qnx*)
   8241       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8242       # it will coredump.
   8243       lt_prog_compiler_pic='-fPIC -shared'
   8244       ;;
   8245 
   8246     sysv4*MP*)
   8247       if test -d /usr/nec; then
   8248 	lt_prog_compiler_pic=-Kconform_pic
   8249       fi
   8250       ;;
   8251 
   8252     *)
   8253       lt_prog_compiler_pic='-fPIC'
   8254       ;;
   8255     esac
   8256 
   8257     case $cc_basename in
   8258     nvcc*) # Cuda Compiler Driver 2.2
   8259       lt_prog_compiler_wl='-Xlinker '
   8260       if test -n "$lt_prog_compiler_pic"; then
   8261         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   8262       fi
   8263       ;;
   8264     esac
   8265   else
   8266     # PORTME Check for flag to pass linker flags through the system compiler.
   8267     case $host_os in
   8268     aix*)
   8269       lt_prog_compiler_wl='-Wl,'
   8270       if test "$host_cpu" = ia64; then
   8271 	# AIX 5 now supports IA64 processor
   8272 	lt_prog_compiler_static='-Bstatic'
   8273       else
   8274 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8275       fi
   8276       ;;
   8277 
   8278     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8279       # This hack is so that the source file can tell whether it is being
   8280       # built for inclusion in a dll (and should export symbols for example).
   8281       lt_prog_compiler_pic='-DDLL_EXPORT'
   8282       ;;
   8283 
   8284     hpux9* | hpux10* | hpux11*)
   8285       lt_prog_compiler_wl='-Wl,'
   8286       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8287       # not for PA HP-UX.
   8288       case $host_cpu in
   8289       hppa*64*|ia64*)
   8290 	# +Z the default
   8291 	;;
   8292       *)
   8293 	lt_prog_compiler_pic='+Z'
   8294 	;;
   8295       esac
   8296       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8297       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8298       ;;
   8299 
   8300     irix5* | irix6* | nonstopux*)
   8301       lt_prog_compiler_wl='-Wl,'
   8302       # PIC (with -KPIC) is the default.
   8303       lt_prog_compiler_static='-non_shared'
   8304       ;;
   8305 
   8306     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8307       case $cc_basename in
   8308       # old Intel for x86_64 which still supported -KPIC.
   8309       ecc*)
   8310 	lt_prog_compiler_wl='-Wl,'
   8311 	lt_prog_compiler_pic='-KPIC'
   8312 	lt_prog_compiler_static='-static'
   8313         ;;
   8314       # icc used to be incompatible with GCC.
   8315       # ICC 10 doesn't accept -KPIC any more.
   8316       icc* | ifort*)
   8317 	lt_prog_compiler_wl='-Wl,'
   8318 	lt_prog_compiler_pic='-fPIC'
   8319 	lt_prog_compiler_static='-static'
   8320         ;;
   8321       # Lahey Fortran 8.1.
   8322       lf95*)
   8323 	lt_prog_compiler_wl='-Wl,'
   8324 	lt_prog_compiler_pic='--shared'
   8325 	lt_prog_compiler_static='--static'
   8326 	;;
   8327       nagfor*)
   8328 	# NAG Fortran compiler
   8329 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8330 	lt_prog_compiler_pic='-PIC'
   8331 	lt_prog_compiler_static='-Bstatic'
   8332 	;;
   8333       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8334         # Portland Group compilers (*not* the Pentium gcc compiler,
   8335 	# which looks to be a dead project)
   8336 	lt_prog_compiler_wl='-Wl,'
   8337 	lt_prog_compiler_pic='-fpic'
   8338 	lt_prog_compiler_static='-Bstatic'
   8339         ;;
   8340       ccc*)
   8341         lt_prog_compiler_wl='-Wl,'
   8342         # All Alpha code is PIC.
   8343         lt_prog_compiler_static='-non_shared'
   8344         ;;
   8345       xl* | bgxl* | bgf* | mpixl*)
   8346 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8347 	lt_prog_compiler_wl='-Wl,'
   8348 	lt_prog_compiler_pic='-qpic'
   8349 	lt_prog_compiler_static='-qstaticlink'
   8350 	;;
   8351       *)
   8352 	case `$CC -V 2>&1 | sed 5q` in
   8353 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8354 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8355 	  lt_prog_compiler_pic='-KPIC'
   8356 	  lt_prog_compiler_static='-Bstatic'
   8357 	  lt_prog_compiler_wl=''
   8358 	  ;;
   8359 	*Sun\ F* | *Sun*Fortran*)
   8360 	  lt_prog_compiler_pic='-KPIC'
   8361 	  lt_prog_compiler_static='-Bstatic'
   8362 	  lt_prog_compiler_wl='-Qoption ld '
   8363 	  ;;
   8364 	*Sun\ C*)
   8365 	  # Sun C 5.9
   8366 	  lt_prog_compiler_pic='-KPIC'
   8367 	  lt_prog_compiler_static='-Bstatic'
   8368 	  lt_prog_compiler_wl='-Wl,'
   8369 	  ;;
   8370         *Intel*\ [CF]*Compiler*)
   8371 	  lt_prog_compiler_wl='-Wl,'
   8372 	  lt_prog_compiler_pic='-fPIC'
   8373 	  lt_prog_compiler_static='-static'
   8374 	  ;;
   8375 	*Portland\ Group*)
   8376 	  lt_prog_compiler_wl='-Wl,'
   8377 	  lt_prog_compiler_pic='-fpic'
   8378 	  lt_prog_compiler_static='-Bstatic'
   8379 	  ;;
   8380 	esac
   8381 	;;
   8382       esac
   8383       ;;
   8384 
   8385     newsos6)
   8386       lt_prog_compiler_pic='-KPIC'
   8387       lt_prog_compiler_static='-Bstatic'
   8388       ;;
   8389 
   8390     *nto* | *qnx*)
   8391       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8392       # it will coredump.
   8393       lt_prog_compiler_pic='-fPIC -shared'
   8394       ;;
   8395 
   8396     osf3* | osf4* | osf5*)
   8397       lt_prog_compiler_wl='-Wl,'
   8398       # All OSF/1 code is PIC.
   8399       lt_prog_compiler_static='-non_shared'
   8400       ;;
   8401 
   8402     rdos*)
   8403       lt_prog_compiler_static='-non_shared'
   8404       ;;
   8405 
   8406     solaris*)
   8407       lt_prog_compiler_pic='-KPIC'
   8408       lt_prog_compiler_static='-Bstatic'
   8409       case $cc_basename in
   8410       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8411 	lt_prog_compiler_wl='-Qoption ld ';;
   8412       *)
   8413 	lt_prog_compiler_wl='-Wl,';;
   8414       esac
   8415       ;;
   8416 
   8417     sunos4*)
   8418       lt_prog_compiler_wl='-Qoption ld '
   8419       lt_prog_compiler_pic='-PIC'
   8420       lt_prog_compiler_static='-Bstatic'
   8421       ;;
   8422 
   8423     sysv4 | sysv4.2uw2* | sysv4.3*)
   8424       lt_prog_compiler_wl='-Wl,'
   8425       lt_prog_compiler_pic='-KPIC'
   8426       lt_prog_compiler_static='-Bstatic'
   8427       ;;
   8428 
   8429     sysv4*MP*)
   8430       if test -d /usr/nec ;then
   8431 	lt_prog_compiler_pic='-Kconform_pic'
   8432 	lt_prog_compiler_static='-Bstatic'
   8433       fi
   8434       ;;
   8435 
   8436     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8437       lt_prog_compiler_wl='-Wl,'
   8438       lt_prog_compiler_pic='-KPIC'
   8439       lt_prog_compiler_static='-Bstatic'
   8440       ;;
   8441 
   8442     unicos*)
   8443       lt_prog_compiler_wl='-Wl,'
   8444       lt_prog_compiler_can_build_shared=no
   8445       ;;
   8446 
   8447     uts4*)
   8448       lt_prog_compiler_pic='-pic'
   8449       lt_prog_compiler_static='-Bstatic'
   8450       ;;
   8451 
   8452     *)
   8453       lt_prog_compiler_can_build_shared=no
   8454       ;;
   8455     esac
   8456   fi
   8457 
   8458 case $host_os in
   8459   # For platforms which do not support PIC, -DPIC is meaningless:
   8460   *djgpp*)
   8461     lt_prog_compiler_pic=
   8462     ;;
   8463   *)
   8464     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8465     ;;
   8466 esac
   8467 
   8468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8469 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8470 if ${lt_cv_prog_compiler_pic+:} false; then :
   8471   $as_echo_n "(cached) " >&6
   8472 else
   8473   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8474 fi
   8475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8476 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8477 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8478 
   8479 #
   8480 # Check to make sure the PIC flag actually works.
   8481 #
   8482 if test -n "$lt_prog_compiler_pic"; then
   8483   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8484 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8485 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8486   $as_echo_n "(cached) " >&6
   8487 else
   8488   lt_cv_prog_compiler_pic_works=no
   8489    ac_outfile=conftest.$ac_objext
   8490    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8491    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8492    # Insert the option either (1) after the last *FLAGS variable, or
   8493    # (2) before a word containing "conftest.", or (3) at the end.
   8494    # Note that $ac_compile itself does not contain backslashes and begins
   8495    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8496    # The option is referenced via a variable to avoid confusing sed.
   8497    lt_compile=`echo "$ac_compile" | $SED \
   8498    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8499    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8500    -e 's:$: $lt_compiler_flag:'`
   8501    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8502    (eval "$lt_compile" 2>conftest.err)
   8503    ac_status=$?
   8504    cat conftest.err >&5
   8505    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8506    if (exit $ac_status) && test -s "$ac_outfile"; then
   8507      # The compiler can only warn and ignore the option if not recognized
   8508      # So say no if there are warnings other than the usual output.
   8509      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8510      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8511      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8512        lt_cv_prog_compiler_pic_works=yes
   8513      fi
   8514    fi
   8515    $RM conftest*
   8516 
   8517 fi
   8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8519 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8520 
   8521 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8522     case $lt_prog_compiler_pic in
   8523      "" | " "*) ;;
   8524      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8525      esac
   8526 else
   8527     lt_prog_compiler_pic=
   8528      lt_prog_compiler_can_build_shared=no
   8529 fi
   8530 
   8531 fi
   8532 
   8533 
   8534 
   8535 
   8536 
   8537 
   8538 
   8539 
   8540 
   8541 
   8542 
   8543 #
   8544 # Check to make sure the static flag actually works.
   8545 #
   8546 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8548 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8549 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8550   $as_echo_n "(cached) " >&6
   8551 else
   8552   lt_cv_prog_compiler_static_works=no
   8553    save_LDFLAGS="$LDFLAGS"
   8554    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8555    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8556    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8557      # The linker can only warn and ignore the option if not recognized
   8558      # So say no if there are warnings
   8559      if test -s conftest.err; then
   8560        # Append any errors to the config.log.
   8561        cat conftest.err 1>&5
   8562        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8563        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8564        if diff conftest.exp conftest.er2 >/dev/null; then
   8565          lt_cv_prog_compiler_static_works=yes
   8566        fi
   8567      else
   8568        lt_cv_prog_compiler_static_works=yes
   8569      fi
   8570    fi
   8571    $RM -r conftest*
   8572    LDFLAGS="$save_LDFLAGS"
   8573 
   8574 fi
   8575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8576 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8577 
   8578 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8579     :
   8580 else
   8581     lt_prog_compiler_static=
   8582 fi
   8583 
   8584 
   8585 
   8586 
   8587 
   8588 
   8589 
   8590   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8591 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8592 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8593   $as_echo_n "(cached) " >&6
   8594 else
   8595   lt_cv_prog_compiler_c_o=no
   8596    $RM -r conftest 2>/dev/null
   8597    mkdir conftest
   8598    cd conftest
   8599    mkdir out
   8600    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8601 
   8602    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8603    # Insert the option either (1) after the last *FLAGS variable, or
   8604    # (2) before a word containing "conftest.", or (3) at the end.
   8605    # Note that $ac_compile itself does not contain backslashes and begins
   8606    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8607    lt_compile=`echo "$ac_compile" | $SED \
   8608    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8609    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8610    -e 's:$: $lt_compiler_flag:'`
   8611    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8612    (eval "$lt_compile" 2>out/conftest.err)
   8613    ac_status=$?
   8614    cat out/conftest.err >&5
   8615    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8616    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8617    then
   8618      # The compiler can only warn and ignore the option if not recognized
   8619      # So say no if there are warnings
   8620      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8621      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8622      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8623        lt_cv_prog_compiler_c_o=yes
   8624      fi
   8625    fi
   8626    chmod u+w . 2>&5
   8627    $RM conftest*
   8628    # SGI C++ compiler will create directory out/ii_files/ for
   8629    # template instantiation
   8630    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8631    $RM out/* && rmdir out
   8632    cd ..
   8633    $RM -r conftest
   8634    $RM conftest*
   8635 
   8636 fi
   8637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8638 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8639 
   8640 
   8641 
   8642 
   8643 
   8644 
   8645   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8646 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8647 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8648   $as_echo_n "(cached) " >&6
   8649 else
   8650   lt_cv_prog_compiler_c_o=no
   8651    $RM -r conftest 2>/dev/null
   8652    mkdir conftest
   8653    cd conftest
   8654    mkdir out
   8655    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8656 
   8657    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8658    # Insert the option either (1) after the last *FLAGS variable, or
   8659    # (2) before a word containing "conftest.", or (3) at the end.
   8660    # Note that $ac_compile itself does not contain backslashes and begins
   8661    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8662    lt_compile=`echo "$ac_compile" | $SED \
   8663    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8664    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8665    -e 's:$: $lt_compiler_flag:'`
   8666    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8667    (eval "$lt_compile" 2>out/conftest.err)
   8668    ac_status=$?
   8669    cat out/conftest.err >&5
   8670    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8671    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8672    then
   8673      # The compiler can only warn and ignore the option if not recognized
   8674      # So say no if there are warnings
   8675      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8676      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8677      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8678        lt_cv_prog_compiler_c_o=yes
   8679      fi
   8680    fi
   8681    chmod u+w . 2>&5
   8682    $RM conftest*
   8683    # SGI C++ compiler will create directory out/ii_files/ for
   8684    # template instantiation
   8685    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8686    $RM out/* && rmdir out
   8687    cd ..
   8688    $RM -r conftest
   8689    $RM conftest*
   8690 
   8691 fi
   8692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8693 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8694 
   8695 
   8696 
   8697 
   8698 hard_links="nottested"
   8699 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8700   # do not overwrite the value of need_locks provided by the user
   8701   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8702 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8703   hard_links=yes
   8704   $RM conftest*
   8705   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8706   touch conftest.a
   8707   ln conftest.a conftest.b 2>&5 || hard_links=no
   8708   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8710 $as_echo "$hard_links" >&6; }
   8711   if test "$hard_links" = no; then
   8712     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8713 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8714     need_locks=warn
   8715   fi
   8716 else
   8717   need_locks=no
   8718 fi
   8719 
   8720 
   8721 
   8722 
   8723 
   8724 
   8725   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8726 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8727 
   8728   runpath_var=
   8729   allow_undefined_flag=
   8730   always_export_symbols=no
   8731   archive_cmds=
   8732   archive_expsym_cmds=
   8733   compiler_needs_object=no
   8734   enable_shared_with_static_runtimes=no
   8735   export_dynamic_flag_spec=
   8736   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8737   hardcode_automatic=no
   8738   hardcode_direct=no
   8739   hardcode_direct_absolute=no
   8740   hardcode_libdir_flag_spec=
   8741   hardcode_libdir_separator=
   8742   hardcode_minus_L=no
   8743   hardcode_shlibpath_var=unsupported
   8744   inherit_rpath=no
   8745   link_all_deplibs=unknown
   8746   module_cmds=
   8747   module_expsym_cmds=
   8748   old_archive_from_new_cmds=
   8749   old_archive_from_expsyms_cmds=
   8750   thread_safe_flag_spec=
   8751   whole_archive_flag_spec=
   8752   # include_expsyms should be a list of space-separated symbols to be *always*
   8753   # included in the symbol list
   8754   include_expsyms=
   8755   # exclude_expsyms can be an extended regexp of symbols to exclude
   8756   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8757   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8758   # as well as any symbol that contains `d'.
   8759   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8760   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8761   # platforms (ab)use it in PIC code, but their linkers get confused if
   8762   # the symbol is explicitly referenced.  Since portable code cannot
   8763   # rely on this symbol name, it's probably fine to never include it in
   8764   # preloaded symbol tables.
   8765   # Exclude shared library initialization/finalization symbols.
   8766   extract_expsyms_cmds=
   8767 
   8768   case $host_os in
   8769   cygwin* | mingw* | pw32* | cegcc*)
   8770     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8771     # When not using gcc, we currently assume that we are using
   8772     # Microsoft Visual C++.
   8773     if test "$GCC" != yes; then
   8774       with_gnu_ld=no
   8775     fi
   8776     ;;
   8777   interix*)
   8778     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8779     with_gnu_ld=yes
   8780     ;;
   8781   openbsd*)
   8782     with_gnu_ld=no
   8783     ;;
   8784   esac
   8785 
   8786   ld_shlibs=yes
   8787 
   8788   # On some targets, GNU ld is compatible enough with the native linker
   8789   # that we're better off using the native interface for both.
   8790   lt_use_gnu_ld_interface=no
   8791   if test "$with_gnu_ld" = yes; then
   8792     case $host_os in
   8793       aix*)
   8794 	# The AIX port of GNU ld has always aspired to compatibility
   8795 	# with the native linker.  However, as the warning in the GNU ld
   8796 	# block says, versions before 2.19.5* couldn't really create working
   8797 	# shared libraries, regardless of the interface used.
   8798 	case `$LD -v 2>&1` in
   8799 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8800 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8801 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8802 	  *)
   8803 	    lt_use_gnu_ld_interface=yes
   8804 	    ;;
   8805 	esac
   8806 	;;
   8807       *)
   8808 	lt_use_gnu_ld_interface=yes
   8809 	;;
   8810     esac
   8811   fi
   8812 
   8813   if test "$lt_use_gnu_ld_interface" = yes; then
   8814     # If archive_cmds runs LD, not CC, wlarc should be empty
   8815     wlarc='${wl}'
   8816 
   8817     # Set some defaults for GNU ld with shared library support. These
   8818     # are reset later if shared libraries are not supported. Putting them
   8819     # here allows them to be overridden if necessary.
   8820     runpath_var=LD_RUN_PATH
   8821     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8822     export_dynamic_flag_spec='${wl}--export-dynamic'
   8823     # ancient GNU ld didn't support --whole-archive et. al.
   8824     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8825       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8826     else
   8827       whole_archive_flag_spec=
   8828     fi
   8829     supports_anon_versioning=no
   8830     case `$LD -v 2>&1` in
   8831       *GNU\ gold*) supports_anon_versioning=yes ;;
   8832       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8833       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8834       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8835       *\ 2.11.*) ;; # other 2.11 versions
   8836       *) supports_anon_versioning=yes ;;
   8837     esac
   8838 
   8839     # See if GNU ld supports shared libraries.
   8840     case $host_os in
   8841     aix[3-9]*)
   8842       # On AIX/PPC, the GNU linker is very broken
   8843       if test "$host_cpu" != ia64; then
   8844 	ld_shlibs=no
   8845 	cat <<_LT_EOF 1>&2
   8846 
   8847 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8848 *** to be unable to reliably create shared libraries on AIX.
   8849 *** Therefore, libtool is disabling shared libraries support.  If you
   8850 *** really care for shared libraries, you may want to install binutils
   8851 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8852 *** You will then need to restart the configuration process.
   8853 
   8854 _LT_EOF
   8855       fi
   8856       ;;
   8857 
   8858     amigaos*)
   8859       case $host_cpu in
   8860       powerpc)
   8861             # see comment about AmigaOS4 .so support
   8862             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8863             archive_expsym_cmds=''
   8864         ;;
   8865       m68k)
   8866             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)'
   8867             hardcode_libdir_flag_spec='-L$libdir'
   8868             hardcode_minus_L=yes
   8869         ;;
   8870       esac
   8871       ;;
   8872 
   8873     beos*)
   8874       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8875 	allow_undefined_flag=unsupported
   8876 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8877 	# support --undefined.  This deserves some investigation.  FIXME
   8878 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8879       else
   8880 	ld_shlibs=no
   8881       fi
   8882       ;;
   8883 
   8884     cygwin* | mingw* | pw32* | cegcc*)
   8885       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8886       # as there is no search path for DLLs.
   8887       hardcode_libdir_flag_spec='-L$libdir'
   8888       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8889       allow_undefined_flag=unsupported
   8890       always_export_symbols=no
   8891       enable_shared_with_static_runtimes=yes
   8892       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'
   8893       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   8894 
   8895       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8896         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8897 	# If the export-symbols file already is a .def file (1st line
   8898 	# is EXPORTS), use it as is; otherwise, prepend...
   8899 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8900 	  cp $export_symbols $output_objdir/$soname.def;
   8901 	else
   8902 	  echo EXPORTS > $output_objdir/$soname.def;
   8903 	  cat $export_symbols >> $output_objdir/$soname.def;
   8904 	fi~
   8905 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8906       else
   8907 	ld_shlibs=no
   8908       fi
   8909       ;;
   8910 
   8911     haiku*)
   8912       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8913       link_all_deplibs=yes
   8914       ;;
   8915 
   8916     interix[3-9]*)
   8917       hardcode_direct=no
   8918       hardcode_shlibpath_var=no
   8919       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8920       export_dynamic_flag_spec='${wl}-E'
   8921       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8922       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8923       # default) and relocated if they conflict, which is a slow very memory
   8924       # consuming and fragmenting process.  To avoid this, we pick a random,
   8925       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8926       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8927       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8928       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'
   8929       ;;
   8930 
   8931     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8932       tmp_diet=no
   8933       if test "$host_os" = linux-dietlibc; then
   8934 	case $cc_basename in
   8935 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8936 	esac
   8937       fi
   8938       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8939 	 && test "$tmp_diet" = no
   8940       then
   8941 	tmp_addflag=' $pic_flag'
   8942 	tmp_sharedflag='-shared'
   8943 	case $cc_basename,$host_cpu in
   8944         pgcc*)				# Portland Group C compiler
   8945 	  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'
   8946 	  tmp_addflag=' $pic_flag'
   8947 	  ;;
   8948 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8949 					# Portland Group f77 and f90 compilers
   8950 	  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'
   8951 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8952 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8953 	  tmp_addflag=' -i_dynamic' ;;
   8954 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8955 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8956 	ifc* | ifort*)			# Intel Fortran compiler
   8957 	  tmp_addflag=' -nofor_main' ;;
   8958 	lf95*)				# Lahey Fortran 8.1
   8959 	  whole_archive_flag_spec=
   8960 	  tmp_sharedflag='--shared' ;;
   8961 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8962 	  tmp_sharedflag='-qmkshrobj'
   8963 	  tmp_addflag= ;;
   8964 	nvcc*)	# Cuda Compiler Driver 2.2
   8965 	  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'
   8966 	  compiler_needs_object=yes
   8967 	  ;;
   8968 	esac
   8969 	case `$CC -V 2>&1 | sed 5q` in
   8970 	*Sun\ C*)			# Sun C 5.9
   8971 	  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'
   8972 	  compiler_needs_object=yes
   8973 	  tmp_sharedflag='-G' ;;
   8974 	*Sun\ F*)			# Sun Fortran 8.3
   8975 	  tmp_sharedflag='-G' ;;
   8976 	esac
   8977 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8978 
   8979         if test "x$supports_anon_versioning" = xyes; then
   8980           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8981 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8982 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8983 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8984         fi
   8985 
   8986 	case $cc_basename in
   8987 	xlf* | bgf* | bgxlf* | mpixlf*)
   8988 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8989 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8990 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8991 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   8992 	  if test "x$supports_anon_versioning" = xyes; then
   8993 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8994 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8995 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8996 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8997 	  fi
   8998 	  ;;
   8999 	esac
   9000       else
   9001         ld_shlibs=no
   9002       fi
   9003       ;;
   9004 
   9005     netbsd*)
   9006       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9007 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9008 	wlarc=
   9009       else
   9010 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9011 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9012       fi
   9013       ;;
   9014 
   9015     solaris*)
   9016       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9017 	ld_shlibs=no
   9018 	cat <<_LT_EOF 1>&2
   9019 
   9020 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9021 *** create shared libraries on Solaris systems.  Therefore, libtool
   9022 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9023 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9024 *** your PATH or compiler configuration so that the native linker is
   9025 *** used, and then restart.
   9026 
   9027 _LT_EOF
   9028       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9029 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9030 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9031       else
   9032 	ld_shlibs=no
   9033       fi
   9034       ;;
   9035 
   9036     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9037       case `$LD -v 2>&1` in
   9038         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9039 	ld_shlibs=no
   9040 	cat <<_LT_EOF 1>&2
   9041 
   9042 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   9043 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9044 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9045 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9046 *** your PATH or compiler configuration so that the native linker is
   9047 *** used, and then restart.
   9048 
   9049 _LT_EOF
   9050 	;;
   9051 	*)
   9052 	  # For security reasons, it is highly recommended that you always
   9053 	  # use absolute paths for naming shared libraries, and exclude the
   9054 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9055 	  # requires that you compile everything twice, which is a pain.
   9056 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9057 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9058 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9059 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9060 	  else
   9061 	    ld_shlibs=no
   9062 	  fi
   9063 	;;
   9064       esac
   9065       ;;
   9066 
   9067     sunos4*)
   9068       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9069       wlarc=
   9070       hardcode_direct=yes
   9071       hardcode_shlibpath_var=no
   9072       ;;
   9073 
   9074     *)
   9075       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9076 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9077 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9078       else
   9079 	ld_shlibs=no
   9080       fi
   9081       ;;
   9082     esac
   9083 
   9084     if test "$ld_shlibs" = no; then
   9085       runpath_var=
   9086       hardcode_libdir_flag_spec=
   9087       export_dynamic_flag_spec=
   9088       whole_archive_flag_spec=
   9089     fi
   9090   else
   9091     # PORTME fill in a description of your system's linker (not GNU ld)
   9092     case $host_os in
   9093     aix3*)
   9094       allow_undefined_flag=unsupported
   9095       always_export_symbols=yes
   9096       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'
   9097       # Note: this linker hardcodes the directories in LIBPATH if there
   9098       # are no directories specified by -L.
   9099       hardcode_minus_L=yes
   9100       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   9101 	# Neither direct hardcoding nor static linking is supported with a
   9102 	# broken collect2.
   9103 	hardcode_direct=unsupported
   9104       fi
   9105       ;;
   9106 
   9107     aix[4-9]*)
   9108       if test "$host_cpu" = ia64; then
   9109 	# On IA64, the linker does run time linking by default, so we don't
   9110 	# have to do anything special.
   9111 	aix_use_runtimelinking=no
   9112 	exp_sym_flag='-Bexport'
   9113 	no_entry_flag=""
   9114       else
   9115 	# If we're using GNU nm, then we don't want the "-C" option.
   9116 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   9117 	# Also, AIX nm treats weak defined symbols like other global
   9118 	# defined symbols, whereas GNU nm marks them as "W".
   9119 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9120 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   9121 	else
   9122 	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   9123 	fi
   9124 	aix_use_runtimelinking=no
   9125 
   9126 	# Test if we are trying to use run time linking or normal
   9127 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9128 	# need to do runtime linking.
   9129 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9130 	  for ld_flag in $LDFLAGS; do
   9131 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   9132 	    aix_use_runtimelinking=yes
   9133 	    break
   9134 	  fi
   9135 	  done
   9136 	  ;;
   9137 	esac
   9138 
   9139 	exp_sym_flag='-bexport'
   9140 	no_entry_flag='-bnoentry'
   9141       fi
   9142 
   9143       # When large executables or shared objects are built, AIX ld can
   9144       # have problems creating the table of contents.  If linking a library
   9145       # or program results in "error TOC overflow" add -mminimal-toc to
   9146       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9147       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9148 
   9149       archive_cmds=''
   9150       hardcode_direct=yes
   9151       hardcode_direct_absolute=yes
   9152       hardcode_libdir_separator=':'
   9153       link_all_deplibs=yes
   9154       file_list_spec='${wl}-f,'
   9155 
   9156       if test "$GCC" = yes; then
   9157 	case $host_os in aix4.[012]|aix4.[012].*)
   9158 	# We only want to do this on AIX 4.2 and lower, the check
   9159 	# below for broken collect2 doesn't work under 4.3+
   9160 	  collect2name=`${CC} -print-prog-name=collect2`
   9161 	  if test -f "$collect2name" &&
   9162 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9163 	  then
   9164 	  # We have reworked collect2
   9165 	  :
   9166 	  else
   9167 	  # We have old collect2
   9168 	  hardcode_direct=unsupported
   9169 	  # It fails to find uninstalled libraries when the uninstalled
   9170 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9171 	  # to unsupported forces relinking
   9172 	  hardcode_minus_L=yes
   9173 	  hardcode_libdir_flag_spec='-L$libdir'
   9174 	  hardcode_libdir_separator=
   9175 	  fi
   9176 	  ;;
   9177 	esac
   9178 	shared_flag='-shared'
   9179 	if test "$aix_use_runtimelinking" = yes; then
   9180 	  shared_flag="$shared_flag "'${wl}-G'
   9181 	fi
   9182       else
   9183 	# not using gcc
   9184 	if test "$host_cpu" = ia64; then
   9185 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9186 	# chokes on -Wl,-G. The following line is correct:
   9187 	  shared_flag='-G'
   9188 	else
   9189 	  if test "$aix_use_runtimelinking" = yes; then
   9190 	    shared_flag='${wl}-G'
   9191 	  else
   9192 	    shared_flag='${wl}-bM:SRE'
   9193 	  fi
   9194 	fi
   9195       fi
   9196 
   9197       export_dynamic_flag_spec='${wl}-bexpall'
   9198       # It seems that -bexpall does not export symbols beginning with
   9199       # underscore (_), so it is better to generate a list of symbols to export.
   9200       always_export_symbols=yes
   9201       if test "$aix_use_runtimelinking" = yes; then
   9202 	# Warning - without using the other runtime loading flags (-brtl),
   9203 	# -berok will link without error, but may produce a broken library.
   9204 	allow_undefined_flag='-berok'
   9205         # Determine the default libpath from the value encoded in an
   9206         # empty executable.
   9207         if test "${lt_cv_aix_libpath+set}" = set; then
   9208   aix_libpath=$lt_cv_aix_libpath
   9209 else
   9210   if ${lt_cv_aix_libpath_+:} false; then :
   9211   $as_echo_n "(cached) " >&6
   9212 else
   9213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9214 /* end confdefs.h.  */
   9215 
   9216 int
   9217 main ()
   9218 {
   9219 
   9220   ;
   9221   return 0;
   9222 }
   9223 _ACEOF
   9224 if ac_fn_c_try_link "$LINENO"; then :
   9225 
   9226   lt_aix_libpath_sed='
   9227       /Import File Strings/,/^$/ {
   9228 	  /^0/ {
   9229 	      s/^0  *\([^ ]*\) *$/\1/
   9230 	      p
   9231 	  }
   9232       }'
   9233   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9234   # Check for a 64-bit object if we didn't find anything.
   9235   if test -z "$lt_cv_aix_libpath_"; then
   9236     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9237   fi
   9238 fi
   9239 rm -f core conftest.err conftest.$ac_objext \
   9240     conftest$ac_exeext conftest.$ac_ext
   9241   if test -z "$lt_cv_aix_libpath_"; then
   9242     lt_cv_aix_libpath_="/usr/lib:/lib"
   9243   fi
   9244 
   9245 fi
   9246 
   9247   aix_libpath=$lt_cv_aix_libpath_
   9248 fi
   9249 
   9250         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9251         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   9252       else
   9253 	if test "$host_cpu" = ia64; then
   9254 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9255 	  allow_undefined_flag="-z nodefs"
   9256 	  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"
   9257 	else
   9258 	 # Determine the default libpath from the value encoded in an
   9259 	 # empty executable.
   9260 	 if test "${lt_cv_aix_libpath+set}" = set; then
   9261   aix_libpath=$lt_cv_aix_libpath
   9262 else
   9263   if ${lt_cv_aix_libpath_+:} false; then :
   9264   $as_echo_n "(cached) " >&6
   9265 else
   9266   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9267 /* end confdefs.h.  */
   9268 
   9269 int
   9270 main ()
   9271 {
   9272 
   9273   ;
   9274   return 0;
   9275 }
   9276 _ACEOF
   9277 if ac_fn_c_try_link "$LINENO"; then :
   9278 
   9279   lt_aix_libpath_sed='
   9280       /Import File Strings/,/^$/ {
   9281 	  /^0/ {
   9282 	      s/^0  *\([^ ]*\) *$/\1/
   9283 	      p
   9284 	  }
   9285       }'
   9286   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9287   # Check for a 64-bit object if we didn't find anything.
   9288   if test -z "$lt_cv_aix_libpath_"; then
   9289     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9290   fi
   9291 fi
   9292 rm -f core conftest.err conftest.$ac_objext \
   9293     conftest$ac_exeext conftest.$ac_ext
   9294   if test -z "$lt_cv_aix_libpath_"; then
   9295     lt_cv_aix_libpath_="/usr/lib:/lib"
   9296   fi
   9297 
   9298 fi
   9299 
   9300   aix_libpath=$lt_cv_aix_libpath_
   9301 fi
   9302 
   9303 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9304 	  # Warning - without using the other run time loading flags,
   9305 	  # -berok will link without error, but may produce a broken library.
   9306 	  no_undefined_flag=' ${wl}-bernotok'
   9307 	  allow_undefined_flag=' ${wl}-berok'
   9308 	  if test "$with_gnu_ld" = yes; then
   9309 	    # We only use this code for GNU lds that support --whole-archive.
   9310 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9311 	  else
   9312 	    # Exported symbols can be pulled into shared objects from archives
   9313 	    whole_archive_flag_spec='$convenience'
   9314 	  fi
   9315 	  archive_cmds_need_lc=yes
   9316 	  # This is similar to how AIX traditionally builds its shared libraries.
   9317 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
   9318 	fi
   9319       fi
   9320       ;;
   9321 
   9322     amigaos*)
   9323       case $host_cpu in
   9324       powerpc)
   9325             # see comment about AmigaOS4 .so support
   9326             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9327             archive_expsym_cmds=''
   9328         ;;
   9329       m68k)
   9330             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)'
   9331             hardcode_libdir_flag_spec='-L$libdir'
   9332             hardcode_minus_L=yes
   9333         ;;
   9334       esac
   9335       ;;
   9336 
   9337     bsdi[45]*)
   9338       export_dynamic_flag_spec=-rdynamic
   9339       ;;
   9340 
   9341     cygwin* | mingw* | pw32* | cegcc*)
   9342       # When not using gcc, we currently assume that we are using
   9343       # Microsoft Visual C++.
   9344       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9345       # no search path for DLLs.
   9346       case $cc_basename in
   9347       cl*)
   9348 	# Native MSVC
   9349 	hardcode_libdir_flag_spec=' '
   9350 	allow_undefined_flag=unsupported
   9351 	always_export_symbols=yes
   9352 	file_list_spec='@'
   9353 	# Tell ltmain to make .lib files, not .a files.
   9354 	libext=lib
   9355 	# Tell ltmain to make .dll files, not .so files.
   9356 	shrext_cmds=".dll"
   9357 	# FIXME: Setting linknames here is a bad hack.
   9358 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   9359 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9360 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   9361 	  else
   9362 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   9363 	  fi~
   9364 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9365 	  linknames='
   9366 	# The linker will not automatically build a static lib if we build a DLL.
   9367 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9368 	enable_shared_with_static_runtimes=yes
   9369 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9370 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9371 	# Don't use ranlib
   9372 	old_postinstall_cmds='chmod 644 $oldlib'
   9373 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9374 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   9375 	  case $lt_outputfile in
   9376 	    *.exe|*.EXE) ;;
   9377 	    *)
   9378 	      lt_outputfile="$lt_outputfile.exe"
   9379 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   9380 	      ;;
   9381 	  esac~
   9382 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   9383 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9384 	    $RM "$lt_outputfile.manifest";
   9385 	  fi'
   9386 	;;
   9387       *)
   9388 	# Assume MSVC wrapper
   9389 	hardcode_libdir_flag_spec=' '
   9390 	allow_undefined_flag=unsupported
   9391 	# Tell ltmain to make .lib files, not .a files.
   9392 	libext=lib
   9393 	# Tell ltmain to make .dll files, not .so files.
   9394 	shrext_cmds=".dll"
   9395 	# FIXME: Setting linknames here is a bad hack.
   9396 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9397 	# The linker will automatically build a .lib file if we build a DLL.
   9398 	old_archive_from_new_cmds='true'
   9399 	# FIXME: Should let the user specify the lib program.
   9400 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9401 	enable_shared_with_static_runtimes=yes
   9402 	;;
   9403       esac
   9404       ;;
   9405 
   9406     darwin* | rhapsody*)
   9407 
   9408 
   9409   archive_cmds_need_lc=no
   9410   hardcode_direct=no
   9411   hardcode_automatic=yes
   9412   hardcode_shlibpath_var=unsupported
   9413   if test "$lt_cv_ld_force_load" = "yes"; then
   9414     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\"`'
   9415 
   9416   else
   9417     whole_archive_flag_spec=''
   9418   fi
   9419   link_all_deplibs=yes
   9420   allow_undefined_flag="$_lt_dar_allow_undefined"
   9421   case $cc_basename in
   9422      ifort*) _lt_dar_can_shared=yes ;;
   9423      *) _lt_dar_can_shared=$GCC ;;
   9424   esac
   9425   if test "$_lt_dar_can_shared" = "yes"; then
   9426     output_verbose_link_cmd=func_echo_all
   9427     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9428     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9429     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}"
   9430     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}"
   9431 
   9432   else
   9433   ld_shlibs=no
   9434   fi
   9435 
   9436       ;;
   9437 
   9438     dgux*)
   9439       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9440       hardcode_libdir_flag_spec='-L$libdir'
   9441       hardcode_shlibpath_var=no
   9442       ;;
   9443 
   9444     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9445     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9446     # does not break anything, and helps significantly (at the cost of a little
   9447     # extra space).
   9448     freebsd2.2*)
   9449       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9450       hardcode_libdir_flag_spec='-R$libdir'
   9451       hardcode_direct=yes
   9452       hardcode_shlibpath_var=no
   9453       ;;
   9454 
   9455     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9456     freebsd2.*)
   9457       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9458       hardcode_direct=yes
   9459       hardcode_minus_L=yes
   9460       hardcode_shlibpath_var=no
   9461       ;;
   9462 
   9463     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9464     freebsd* | dragonfly*)
   9465       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9466       hardcode_libdir_flag_spec='-R$libdir'
   9467       hardcode_direct=yes
   9468       hardcode_shlibpath_var=no
   9469       ;;
   9470 
   9471     hpux9*)
   9472       if test "$GCC" = yes; then
   9473 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   9474       else
   9475 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   9476       fi
   9477       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9478       hardcode_libdir_separator=:
   9479       hardcode_direct=yes
   9480 
   9481       # hardcode_minus_L: Not really in the search PATH,
   9482       # but as the default location of the library.
   9483       hardcode_minus_L=yes
   9484       export_dynamic_flag_spec='${wl}-E'
   9485       ;;
   9486 
   9487     hpux10*)
   9488       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9489 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9490       else
   9491 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9492       fi
   9493       if test "$with_gnu_ld" = no; then
   9494 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9495 	hardcode_libdir_separator=:
   9496 	hardcode_direct=yes
   9497 	hardcode_direct_absolute=yes
   9498 	export_dynamic_flag_spec='${wl}-E'
   9499 	# hardcode_minus_L: Not really in the search PATH,
   9500 	# but as the default location of the library.
   9501 	hardcode_minus_L=yes
   9502       fi
   9503       ;;
   9504 
   9505     hpux11*)
   9506       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9507 	case $host_cpu in
   9508 	hppa*64*)
   9509 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9510 	  ;;
   9511 	ia64*)
   9512 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9513 	  ;;
   9514 	*)
   9515 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9516 	  ;;
   9517 	esac
   9518       else
   9519 	case $host_cpu in
   9520 	hppa*64*)
   9521 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9522 	  ;;
   9523 	ia64*)
   9524 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9525 	  ;;
   9526 	*)
   9527 
   9528 	  # Older versions of the 11.00 compiler do not understand -b yet
   9529 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9530 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9531 $as_echo_n "checking if $CC understands -b... " >&6; }
   9532 if ${lt_cv_prog_compiler__b+:} false; then :
   9533   $as_echo_n "(cached) " >&6
   9534 else
   9535   lt_cv_prog_compiler__b=no
   9536    save_LDFLAGS="$LDFLAGS"
   9537    LDFLAGS="$LDFLAGS -b"
   9538    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9539    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9540      # The linker can only warn and ignore the option if not recognized
   9541      # So say no if there are warnings
   9542      if test -s conftest.err; then
   9543        # Append any errors to the config.log.
   9544        cat conftest.err 1>&5
   9545        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9546        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9547        if diff conftest.exp conftest.er2 >/dev/null; then
   9548          lt_cv_prog_compiler__b=yes
   9549        fi
   9550      else
   9551        lt_cv_prog_compiler__b=yes
   9552      fi
   9553    fi
   9554    $RM -r conftest*
   9555    LDFLAGS="$save_LDFLAGS"
   9556 
   9557 fi
   9558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9559 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9560 
   9561 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9562     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9563 else
   9564     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9565 fi
   9566 
   9567 	  ;;
   9568 	esac
   9569       fi
   9570       if test "$with_gnu_ld" = no; then
   9571 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9572 	hardcode_libdir_separator=:
   9573 
   9574 	case $host_cpu in
   9575 	hppa*64*|ia64*)
   9576 	  hardcode_direct=no
   9577 	  hardcode_shlibpath_var=no
   9578 	  ;;
   9579 	*)
   9580 	  hardcode_direct=yes
   9581 	  hardcode_direct_absolute=yes
   9582 	  export_dynamic_flag_spec='${wl}-E'
   9583 
   9584 	  # hardcode_minus_L: Not really in the search PATH,
   9585 	  # but as the default location of the library.
   9586 	  hardcode_minus_L=yes
   9587 	  ;;
   9588 	esac
   9589       fi
   9590       ;;
   9591 
   9592     irix5* | irix6* | nonstopux*)
   9593       if test "$GCC" = yes; then
   9594 	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'
   9595 	# Try to use the -exported_symbol ld option, if it does not
   9596 	# work, assume that -exports_file does not work either and
   9597 	# implicitly export all symbols.
   9598 	# This should be the same for all languages, so no per-tag cache variable.
   9599 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9600 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9601 if ${lt_cv_irix_exported_symbol+:} false; then :
   9602   $as_echo_n "(cached) " >&6
   9603 else
   9604   save_LDFLAGS="$LDFLAGS"
   9605 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9606 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9607 /* end confdefs.h.  */
   9608 int foo (void) { return 0; }
   9609 _ACEOF
   9610 if ac_fn_c_try_link "$LINENO"; then :
   9611   lt_cv_irix_exported_symbol=yes
   9612 else
   9613   lt_cv_irix_exported_symbol=no
   9614 fi
   9615 rm -f core conftest.err conftest.$ac_objext \
   9616     conftest$ac_exeext conftest.$ac_ext
   9617            LDFLAGS="$save_LDFLAGS"
   9618 fi
   9619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9620 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9621 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9622           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'
   9623 	fi
   9624       else
   9625 	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'
   9626 	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'
   9627       fi
   9628       archive_cmds_need_lc='no'
   9629       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9630       hardcode_libdir_separator=:
   9631       inherit_rpath=yes
   9632       link_all_deplibs=yes
   9633       ;;
   9634 
   9635     netbsd*)
   9636       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9637 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9638       else
   9639 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9640       fi
   9641       hardcode_libdir_flag_spec='-R$libdir'
   9642       hardcode_direct=yes
   9643       hardcode_shlibpath_var=no
   9644       ;;
   9645 
   9646     newsos6)
   9647       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9648       hardcode_direct=yes
   9649       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9650       hardcode_libdir_separator=:
   9651       hardcode_shlibpath_var=no
   9652       ;;
   9653 
   9654     *nto* | *qnx*)
   9655       ;;
   9656 
   9657     openbsd*)
   9658       if test -f /usr/libexec/ld.so; then
   9659 	hardcode_direct=yes
   9660 	hardcode_shlibpath_var=no
   9661 	hardcode_direct_absolute=yes
   9662 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9663 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9664 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9665 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9666 	  export_dynamic_flag_spec='${wl}-E'
   9667 	else
   9668 	  case $host_os in
   9669 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9670 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9671 	     hardcode_libdir_flag_spec='-R$libdir'
   9672 	     ;;
   9673 	   *)
   9674 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9675 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9676 	     ;;
   9677 	  esac
   9678 	fi
   9679       else
   9680 	ld_shlibs=no
   9681       fi
   9682       ;;
   9683 
   9684     os2*)
   9685       hardcode_libdir_flag_spec='-L$libdir'
   9686       hardcode_minus_L=yes
   9687       allow_undefined_flag=unsupported
   9688       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
   9689       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9690       ;;
   9691 
   9692     osf3*)
   9693       if test "$GCC" = yes; then
   9694 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9695 	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'
   9696       else
   9697 	allow_undefined_flag=' -expect_unresolved \*'
   9698 	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'
   9699       fi
   9700       archive_cmds_need_lc='no'
   9701       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9702       hardcode_libdir_separator=:
   9703       ;;
   9704 
   9705     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9706       if test "$GCC" = yes; then
   9707 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9708 	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'
   9709 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9710       else
   9711 	allow_undefined_flag=' -expect_unresolved \*'
   9712 	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'
   9713 	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~
   9714 	$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'
   9715 
   9716 	# Both c and cxx compiler support -rpath directly
   9717 	hardcode_libdir_flag_spec='-rpath $libdir'
   9718       fi
   9719       archive_cmds_need_lc='no'
   9720       hardcode_libdir_separator=:
   9721       ;;
   9722 
   9723     solaris*)
   9724       no_undefined_flag=' -z defs'
   9725       if test "$GCC" = yes; then
   9726 	wlarc='${wl}'
   9727 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9728 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9729 	  $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'
   9730       else
   9731 	case `$CC -V 2>&1` in
   9732 	*"Compilers 5.0"*)
   9733 	  wlarc=''
   9734 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9735 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9736 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9737 	  ;;
   9738 	*)
   9739 	  wlarc='${wl}'
   9740 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9741 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9742 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9743 	  ;;
   9744 	esac
   9745       fi
   9746       hardcode_libdir_flag_spec='-R$libdir'
   9747       hardcode_shlibpath_var=no
   9748       case $host_os in
   9749       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9750       *)
   9751 	# The compiler driver will combine and reorder linker options,
   9752 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9753 	# but is careful enough not to reorder.
   9754 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9755 	if test "$GCC" = yes; then
   9756 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9757 	else
   9758 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9759 	fi
   9760 	;;
   9761       esac
   9762       link_all_deplibs=yes
   9763       ;;
   9764 
   9765     sunos4*)
   9766       if test "x$host_vendor" = xsequent; then
   9767 	# Use $CC to link under sequent, because it throws in some extra .o
   9768 	# files that make .init and .fini sections work.
   9769 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9770       else
   9771 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9772       fi
   9773       hardcode_libdir_flag_spec='-L$libdir'
   9774       hardcode_direct=yes
   9775       hardcode_minus_L=yes
   9776       hardcode_shlibpath_var=no
   9777       ;;
   9778 
   9779     sysv4)
   9780       case $host_vendor in
   9781 	sni)
   9782 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9783 	  hardcode_direct=yes # is this really true???
   9784 	;;
   9785 	siemens)
   9786 	  ## LD is ld it makes a PLAMLIB
   9787 	  ## CC just makes a GrossModule.
   9788 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9789 	  reload_cmds='$CC -r -o $output$reload_objs'
   9790 	  hardcode_direct=no
   9791         ;;
   9792 	motorola)
   9793 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9794 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9795 	;;
   9796       esac
   9797       runpath_var='LD_RUN_PATH'
   9798       hardcode_shlibpath_var=no
   9799       ;;
   9800 
   9801     sysv4.3*)
   9802       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9803       hardcode_shlibpath_var=no
   9804       export_dynamic_flag_spec='-Bexport'
   9805       ;;
   9806 
   9807     sysv4*MP*)
   9808       if test -d /usr/nec; then
   9809 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9810 	hardcode_shlibpath_var=no
   9811 	runpath_var=LD_RUN_PATH
   9812 	hardcode_runpath_var=yes
   9813 	ld_shlibs=yes
   9814       fi
   9815       ;;
   9816 
   9817     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9818       no_undefined_flag='${wl}-z,text'
   9819       archive_cmds_need_lc=no
   9820       hardcode_shlibpath_var=no
   9821       runpath_var='LD_RUN_PATH'
   9822 
   9823       if test "$GCC" = yes; then
   9824 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9825 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9826       else
   9827 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9828 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9829       fi
   9830       ;;
   9831 
   9832     sysv5* | sco3.2v5* | sco5v6*)
   9833       # Note: We can NOT use -z defs as we might desire, because we do not
   9834       # link with -lc, and that would cause any symbols used from libc to
   9835       # always be unresolved, which means just about no library would
   9836       # ever link correctly.  If we're not using GNU ld we use -z text
   9837       # though, which does catch some bad symbols but isn't as heavy-handed
   9838       # as -z defs.
   9839       no_undefined_flag='${wl}-z,text'
   9840       allow_undefined_flag='${wl}-z,nodefs'
   9841       archive_cmds_need_lc=no
   9842       hardcode_shlibpath_var=no
   9843       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9844       hardcode_libdir_separator=':'
   9845       link_all_deplibs=yes
   9846       export_dynamic_flag_spec='${wl}-Bexport'
   9847       runpath_var='LD_RUN_PATH'
   9848 
   9849       if test "$GCC" = yes; then
   9850 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9851 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9852       else
   9853 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9854 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9855       fi
   9856       ;;
   9857 
   9858     uts4*)
   9859       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9860       hardcode_libdir_flag_spec='-L$libdir'
   9861       hardcode_shlibpath_var=no
   9862       ;;
   9863 
   9864     *)
   9865       ld_shlibs=no
   9866       ;;
   9867     esac
   9868 
   9869     if test x$host_vendor = xsni; then
   9870       case $host in
   9871       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9872 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9873 	;;
   9874       esac
   9875     fi
   9876   fi
   9877 
   9878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9879 $as_echo "$ld_shlibs" >&6; }
   9880 test "$ld_shlibs" = no && can_build_shared=no
   9881 
   9882 with_gnu_ld=$with_gnu_ld
   9883 
   9884 
   9885 
   9886 
   9887 
   9888 
   9889 
   9890 
   9891 
   9892 
   9893 
   9894 
   9895 
   9896 
   9897 
   9898 #
   9899 # Do we need to explicitly link libc?
   9900 #
   9901 case "x$archive_cmds_need_lc" in
   9902 x|xyes)
   9903   # Assume -lc should be added
   9904   archive_cmds_need_lc=yes
   9905 
   9906   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9907     case $archive_cmds in
   9908     *'~'*)
   9909       # FIXME: we may have to deal with multi-command sequences.
   9910       ;;
   9911     '$CC '*)
   9912       # Test whether the compiler implicitly links with -lc since on some
   9913       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9914       # to ld, don't add -lc before -lgcc.
   9915       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9916 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9917 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9918   $as_echo_n "(cached) " >&6
   9919 else
   9920   $RM conftest*
   9921 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9922 
   9923 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9924   (eval $ac_compile) 2>&5
   9925   ac_status=$?
   9926   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9927   test $ac_status = 0; } 2>conftest.err; then
   9928 	  soname=conftest
   9929 	  lib=conftest
   9930 	  libobjs=conftest.$ac_objext
   9931 	  deplibs=
   9932 	  wl=$lt_prog_compiler_wl
   9933 	  pic_flag=$lt_prog_compiler_pic
   9934 	  compiler_flags=-v
   9935 	  linker_flags=-v
   9936 	  verstring=
   9937 	  output_objdir=.
   9938 	  libname=conftest
   9939 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9940 	  allow_undefined_flag=
   9941 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9942   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9943   ac_status=$?
   9944   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9945   test $ac_status = 0; }
   9946 	  then
   9947 	    lt_cv_archive_cmds_need_lc=no
   9948 	  else
   9949 	    lt_cv_archive_cmds_need_lc=yes
   9950 	  fi
   9951 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9952 	else
   9953 	  cat conftest.err 1>&5
   9954 	fi
   9955 	$RM conftest*
   9956 
   9957 fi
   9958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9959 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9960       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9961       ;;
   9962     esac
   9963   fi
   9964   ;;
   9965 esac
   9966 
   9967 
   9968 
   9969 
   9970 
   9971 
   9972 
   9973 
   9974 
   9975 
   9976 
   9977 
   9978 
   9979 
   9980 
   9981 
   9982 
   9983 
   9984 
   9985 
   9986 
   9987 
   9988 
   9989 
   9990 
   9991 
   9992 
   9993 
   9994 
   9995 
   9996 
   9997 
   9998 
   9999 
   10000 
   10001 
   10002 
   10003 
   10004 
   10005 
   10006 
   10007 
   10008 
   10009 
   10010 
   10011 
   10012 
   10013 
   10014 
   10015 
   10016 
   10017 
   10018 
   10019 
   10020 
   10021 
   10022 
   10023 
   10024 
   10025 
   10026 
   10027 
   10028 
   10029 
   10030 
   10031 
   10032 
   10033 
   10034 
   10035 
   10036 
   10037 
   10038 
   10039 
   10040 
   10041 
   10042 
   10043 
   10044 
   10045 
   10046 
   10047 
   10048 
   10049 
   10050 
   10051 
   10052 
   10053 
   10054 
   10055 
   10056 
   10057 
   10058 
   10059 
   10060 
   10061 
   10062 
   10063 
   10064 
   10065 
   10066 
   10067 
   10068 
   10069 
   10070 
   10071 
   10072 
   10073 
   10074 
   10075 
   10076 
   10077 
   10078 
   10079 
   10080 
   10081 
   10082 
   10083 
   10084 
   10085 
   10086 
   10087 
   10088 
   10089 
   10090 
   10091 
   10092 
   10093 
   10094 
   10095 
   10096 
   10097 
   10098 
   10099 
   10100 
   10101 
   10102 
   10103 
   10104 
   10105 
   10106 
   10107 
   10108 
   10109 
   10110 
   10111 
   10112 
   10113 
   10114 
   10115 
   10116 
   10117 
   10118   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10119 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10120 
   10121 if test "$GCC" = yes; then
   10122   case $host_os in
   10123     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   10124     *) lt_awk_arg="/^libraries:/" ;;
   10125   esac
   10126   case $host_os in
   10127     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   10128     *) lt_sed_strip_eq="s,=/,/,g" ;;
   10129   esac
   10130   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10131   case $lt_search_path_spec in
   10132   *\;*)
   10133     # if the path contains ";" then we assume it to be the separator
   10134     # otherwise default to the standard path separator (i.e. ":") - it is
   10135     # assumed that no part of a normal pathname contains ";" but that should
   10136     # okay in the real world where ";" in dirpaths is itself problematic.
   10137     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10138     ;;
   10139   *)
   10140     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10141     ;;
   10142   esac
   10143   # Ok, now we have the path, separated by spaces, we can step through it
   10144   # and add multilib dir if necessary.
   10145   lt_tmp_lt_search_path_spec=
   10146   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10147   for lt_sys_path in $lt_search_path_spec; do
   10148     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   10149       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   10150     else
   10151       test -d "$lt_sys_path" && \
   10152 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10153     fi
   10154   done
   10155   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10156 BEGIN {RS=" "; FS="/|\n";} {
   10157   lt_foo="";
   10158   lt_count=0;
   10159   for (lt_i = NF; lt_i > 0; lt_i--) {
   10160     if ($lt_i != "" && $lt_i != ".") {
   10161       if ($lt_i == "..") {
   10162         lt_count++;
   10163       } else {
   10164         if (lt_count == 0) {
   10165           lt_foo="/" $lt_i lt_foo;
   10166         } else {
   10167           lt_count--;
   10168         }
   10169       }
   10170     }
   10171   }
   10172   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10173   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10174 }'`
   10175   # AWK program above erroneously prepends '/' to C:/dos/paths
   10176   # for these hosts.
   10177   case $host_os in
   10178     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10179       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   10180   esac
   10181   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10182 else
   10183   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10184 fi
   10185 library_names_spec=
   10186 libname_spec='lib$name'
   10187 soname_spec=
   10188 shrext_cmds=".so"
   10189 postinstall_cmds=
   10190 postuninstall_cmds=
   10191 finish_cmds=
   10192 finish_eval=
   10193 shlibpath_var=
   10194 shlibpath_overrides_runpath=unknown
   10195 version_type=none
   10196 dynamic_linker="$host_os ld.so"
   10197 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10198 need_lib_prefix=unknown
   10199 hardcode_into_libs=no
   10200 
   10201 # when you set need_version to no, make sure it does not cause -set_version
   10202 # flags to be left without arguments
   10203 need_version=unknown
   10204 
   10205 case $host_os in
   10206 aix3*)
   10207   version_type=linux # correct to gnu/linux during the next big refactor
   10208   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10209   shlibpath_var=LIBPATH
   10210 
   10211   # AIX 3 has no versioning support, so we append a major version to the name.
   10212   soname_spec='${libname}${release}${shared_ext}$major'
   10213   ;;
   10214 
   10215 aix[4-9]*)
   10216   version_type=linux # correct to gnu/linux during the next big refactor
   10217   need_lib_prefix=no
   10218   need_version=no
   10219   hardcode_into_libs=yes
   10220   if test "$host_cpu" = ia64; then
   10221     # AIX 5 supports IA64
   10222     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10223     shlibpath_var=LD_LIBRARY_PATH
   10224   else
   10225     # With GCC up to 2.95.x, collect2 would create an import file
   10226     # for dependence libraries.  The import file would start with
   10227     # the line `#! .'.  This would cause the generated library to
   10228     # depend on `.', always an invalid library.  This was fixed in
   10229     # development snapshots of GCC prior to 3.0.
   10230     case $host_os in
   10231       aix4 | aix4.[01] | aix4.[01].*)
   10232       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10233 	   echo ' yes '
   10234 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10235 	:
   10236       else
   10237 	can_build_shared=no
   10238       fi
   10239       ;;
   10240     esac
   10241     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10242     # soname into executable. Probably we can add versioning support to
   10243     # collect2, so additional links can be useful in future.
   10244     if test "$aix_use_runtimelinking" = yes; then
   10245       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10246       # instead of lib<name>.a to let people know that these are not
   10247       # typical AIX shared libraries.
   10248       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10249     else
   10250       # We preserve .a as extension for shared libraries through AIX4.2
   10251       # and later when we are not doing run time linking.
   10252       library_names_spec='${libname}${release}.a $libname.a'
   10253       soname_spec='${libname}${release}${shared_ext}$major'
   10254     fi
   10255     shlibpath_var=LIBPATH
   10256   fi
   10257   ;;
   10258 
   10259 amigaos*)
   10260   case $host_cpu in
   10261   powerpc)
   10262     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10263     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10264     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10265     ;;
   10266   m68k)
   10267     library_names_spec='$libname.ixlibrary $libname.a'
   10268     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10269     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   10270     ;;
   10271   esac
   10272   ;;
   10273 
   10274 beos*)
   10275   library_names_spec='${libname}${shared_ext}'
   10276   dynamic_linker="$host_os ld.so"
   10277   shlibpath_var=LIBRARY_PATH
   10278   ;;
   10279 
   10280 bsdi[45]*)
   10281   version_type=linux # correct to gnu/linux during the next big refactor
   10282   need_version=no
   10283   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10284   soname_spec='${libname}${release}${shared_ext}$major'
   10285   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10286   shlibpath_var=LD_LIBRARY_PATH
   10287   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10288   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10289   # the default ld.so.conf also contains /usr/contrib/lib and
   10290   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10291   # libtool to hard-code these into programs
   10292   ;;
   10293 
   10294 cygwin* | mingw* | pw32* | cegcc*)
   10295   version_type=windows
   10296   shrext_cmds=".dll"
   10297   need_version=no
   10298   need_lib_prefix=no
   10299 
   10300   case $GCC,$cc_basename in
   10301   yes,*)
   10302     # gcc
   10303     library_names_spec='$libname.dll.a'
   10304     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10305     postinstall_cmds='base_file=`basename \${file}`~
   10306       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10307       dldir=$destdir/`dirname \$dlpath`~
   10308       test -d \$dldir || mkdir -p \$dldir~
   10309       $install_prog $dir/$dlname \$dldir/$dlname~
   10310       chmod a+x \$dldir/$dlname~
   10311       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10312         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10313       fi'
   10314     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10315       dlpath=$dir/\$dldll~
   10316        $RM \$dlpath'
   10317     shlibpath_overrides_runpath=yes
   10318 
   10319     case $host_os in
   10320     cygwin*)
   10321       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10322       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10323 
   10324       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10325       ;;
   10326     mingw* | cegcc*)
   10327       # MinGW DLLs use traditional 'lib' prefix
   10328       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10329       ;;
   10330     pw32*)
   10331       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10332       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10333       ;;
   10334     esac
   10335     dynamic_linker='Win32 ld.exe'
   10336     ;;
   10337 
   10338   *,cl*)
   10339     # Native MSVC
   10340     libname_spec='$name'
   10341     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10342     library_names_spec='${libname}.dll.lib'
   10343 
   10344     case $build_os in
   10345     mingw*)
   10346       sys_lib_search_path_spec=
   10347       lt_save_ifs=$IFS
   10348       IFS=';'
   10349       for lt_path in $LIB
   10350       do
   10351         IFS=$lt_save_ifs
   10352         # Let DOS variable expansion print the short 8.3 style file name.
   10353         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10354         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10355       done
   10356       IFS=$lt_save_ifs
   10357       # Convert to MSYS style.
   10358       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10359       ;;
   10360     cygwin*)
   10361       # Convert to unix form, then to dos form, then back to unix form
   10362       # but this time dos style (no spaces!) so that the unix form looks
   10363       # like /cygdrive/c/PROGRA~1:/cygdr...
   10364       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10365       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10366       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10367       ;;
   10368     *)
   10369       sys_lib_search_path_spec="$LIB"
   10370       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10371         # It is most probably a Windows format PATH.
   10372         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10373       else
   10374         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10375       fi
   10376       # FIXME: find the short name or the path components, as spaces are
   10377       # common. (e.g. "Program Files" -> "PROGRA~1")
   10378       ;;
   10379     esac
   10380 
   10381     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10382     postinstall_cmds='base_file=`basename \${file}`~
   10383       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10384       dldir=$destdir/`dirname \$dlpath`~
   10385       test -d \$dldir || mkdir -p \$dldir~
   10386       $install_prog $dir/$dlname \$dldir/$dlname'
   10387     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10388       dlpath=$dir/\$dldll~
   10389        $RM \$dlpath'
   10390     shlibpath_overrides_runpath=yes
   10391     dynamic_linker='Win32 link.exe'
   10392     ;;
   10393 
   10394   *)
   10395     # Assume MSVC wrapper
   10396     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10397     dynamic_linker='Win32 ld.exe'
   10398     ;;
   10399   esac
   10400   # FIXME: first we should search . and the directory the executable is in
   10401   shlibpath_var=PATH
   10402   ;;
   10403 
   10404 darwin* | rhapsody*)
   10405   dynamic_linker="$host_os dyld"
   10406   version_type=darwin
   10407   need_lib_prefix=no
   10408   need_version=no
   10409   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10410   soname_spec='${libname}${release}${major}$shared_ext'
   10411   shlibpath_overrides_runpath=yes
   10412   shlibpath_var=DYLD_LIBRARY_PATH
   10413   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10414 
   10415   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10416   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10417   ;;
   10418 
   10419 dgux*)
   10420   version_type=linux # correct to gnu/linux during the next big refactor
   10421   need_lib_prefix=no
   10422   need_version=no
   10423   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10424   soname_spec='${libname}${release}${shared_ext}$major'
   10425   shlibpath_var=LD_LIBRARY_PATH
   10426   ;;
   10427 
   10428 freebsd* | dragonfly*)
   10429   # DragonFly does not have aout.  When/if they implement a new
   10430   # versioning mechanism, adjust this.
   10431   if test -x /usr/bin/objformat; then
   10432     objformat=`/usr/bin/objformat`
   10433   else
   10434     case $host_os in
   10435     freebsd[23].*) objformat=aout ;;
   10436     *) objformat=elf ;;
   10437     esac
   10438   fi
   10439   version_type=freebsd-$objformat
   10440   case $version_type in
   10441     freebsd-elf*)
   10442       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10443       need_version=no
   10444       need_lib_prefix=no
   10445       ;;
   10446     freebsd-*)
   10447       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10448       need_version=yes
   10449       ;;
   10450   esac
   10451   shlibpath_var=LD_LIBRARY_PATH
   10452   case $host_os in
   10453   freebsd2.*)
   10454     shlibpath_overrides_runpath=yes
   10455     ;;
   10456   freebsd3.[01]* | freebsdelf3.[01]*)
   10457     shlibpath_overrides_runpath=yes
   10458     hardcode_into_libs=yes
   10459     ;;
   10460   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10461   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10462     shlibpath_overrides_runpath=no
   10463     hardcode_into_libs=yes
   10464     ;;
   10465   *) # from 4.6 on, and DragonFly
   10466     shlibpath_overrides_runpath=yes
   10467     hardcode_into_libs=yes
   10468     ;;
   10469   esac
   10470   ;;
   10471 
   10472 gnu*)
   10473   version_type=linux # correct to gnu/linux during the next big refactor
   10474   need_lib_prefix=no
   10475   need_version=no
   10476   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10477   soname_spec='${libname}${release}${shared_ext}$major'
   10478   shlibpath_var=LD_LIBRARY_PATH
   10479   shlibpath_overrides_runpath=no
   10480   hardcode_into_libs=yes
   10481   ;;
   10482 
   10483 haiku*)
   10484   version_type=linux # correct to gnu/linux during the next big refactor
   10485   need_lib_prefix=no
   10486   need_version=no
   10487   dynamic_linker="$host_os runtime_loader"
   10488   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10489   soname_spec='${libname}${release}${shared_ext}$major'
   10490   shlibpath_var=LIBRARY_PATH
   10491   shlibpath_overrides_runpath=yes
   10492   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10493   hardcode_into_libs=yes
   10494   ;;
   10495 
   10496 hpux9* | hpux10* | hpux11*)
   10497   # Give a soname corresponding to the major version so that dld.sl refuses to
   10498   # link against other versions.
   10499   version_type=sunos
   10500   need_lib_prefix=no
   10501   need_version=no
   10502   case $host_cpu in
   10503   ia64*)
   10504     shrext_cmds='.so'
   10505     hardcode_into_libs=yes
   10506     dynamic_linker="$host_os dld.so"
   10507     shlibpath_var=LD_LIBRARY_PATH
   10508     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10509     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10510     soname_spec='${libname}${release}${shared_ext}$major'
   10511     if test "X$HPUX_IA64_MODE" = X32; then
   10512       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10513     else
   10514       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10515     fi
   10516     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10517     ;;
   10518   hppa*64*)
   10519     shrext_cmds='.sl'
   10520     hardcode_into_libs=yes
   10521     dynamic_linker="$host_os dld.sl"
   10522     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10523     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10524     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10525     soname_spec='${libname}${release}${shared_ext}$major'
   10526     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10527     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10528     ;;
   10529   *)
   10530     shrext_cmds='.sl'
   10531     dynamic_linker="$host_os dld.sl"
   10532     shlibpath_var=SHLIB_PATH
   10533     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10534     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10535     soname_spec='${libname}${release}${shared_ext}$major'
   10536     ;;
   10537   esac
   10538   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10539   postinstall_cmds='chmod 555 $lib'
   10540   # or fails outright, so override atomically:
   10541   install_override_mode=555
   10542   ;;
   10543 
   10544 interix[3-9]*)
   10545   version_type=linux # correct to gnu/linux during the next big refactor
   10546   need_lib_prefix=no
   10547   need_version=no
   10548   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10549   soname_spec='${libname}${release}${shared_ext}$major'
   10550   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10551   shlibpath_var=LD_LIBRARY_PATH
   10552   shlibpath_overrides_runpath=no
   10553   hardcode_into_libs=yes
   10554   ;;
   10555 
   10556 irix5* | irix6* | nonstopux*)
   10557   case $host_os in
   10558     nonstopux*) version_type=nonstopux ;;
   10559     *)
   10560 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10561 		version_type=linux # correct to gnu/linux during the next big refactor
   10562 	else
   10563 		version_type=irix
   10564 	fi ;;
   10565   esac
   10566   need_lib_prefix=no
   10567   need_version=no
   10568   soname_spec='${libname}${release}${shared_ext}$major'
   10569   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10570   case $host_os in
   10571   irix5* | nonstopux*)
   10572     libsuff= shlibsuff=
   10573     ;;
   10574   *)
   10575     case $LD in # libtool.m4 will add one of these switches to LD
   10576     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10577       libsuff= shlibsuff= libmagic=32-bit;;
   10578     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10579       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10580     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10581       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10582     *) libsuff= shlibsuff= libmagic=never-match;;
   10583     esac
   10584     ;;
   10585   esac
   10586   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10587   shlibpath_overrides_runpath=no
   10588   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10589   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10590   hardcode_into_libs=yes
   10591   ;;
   10592 
   10593 # No shared lib support for Linux oldld, aout, or coff.
   10594 linux*oldld* | linux*aout* | linux*coff*)
   10595   dynamic_linker=no
   10596   ;;
   10597 
   10598 # This must be glibc/ELF.
   10599 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10600   version_type=linux # correct to gnu/linux during the next big refactor
   10601   need_lib_prefix=no
   10602   need_version=no
   10603   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10604   soname_spec='${libname}${release}${shared_ext}$major'
   10605   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10606   shlibpath_var=LD_LIBRARY_PATH
   10607   shlibpath_overrides_runpath=no
   10608 
   10609   # Some binutils ld are patched to set DT_RUNPATH
   10610   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10611   $as_echo_n "(cached) " >&6
   10612 else
   10613   lt_cv_shlibpath_overrides_runpath=no
   10614     save_LDFLAGS=$LDFLAGS
   10615     save_libdir=$libdir
   10616     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10617 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10618     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10619 /* end confdefs.h.  */
   10620 
   10621 int
   10622 main ()
   10623 {
   10624 
   10625   ;
   10626   return 0;
   10627 }
   10628 _ACEOF
   10629 if ac_fn_c_try_link "$LINENO"; then :
   10630   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10631   lt_cv_shlibpath_overrides_runpath=yes
   10632 fi
   10633 fi
   10634 rm -f core conftest.err conftest.$ac_objext \
   10635     conftest$ac_exeext conftest.$ac_ext
   10636     LDFLAGS=$save_LDFLAGS
   10637     libdir=$save_libdir
   10638 
   10639 fi
   10640 
   10641   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10642 
   10643   # This implies no fast_install, which is unacceptable.
   10644   # Some rework will be needed to allow for fast_install
   10645   # before this can be enabled.
   10646   hardcode_into_libs=yes
   10647 
   10648   # Append ld.so.conf contents to the search path
   10649   if test -f /etc/ld.so.conf; then
   10650     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' ' '`
   10651     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10652   fi
   10653 
   10654   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10655   # powerpc, because MkLinux only supported shared libraries with the
   10656   # GNU dynamic linker.  Since this was broken with cross compilers,
   10657   # most powerpc-linux boxes support dynamic linking these days and
   10658   # people can always --disable-shared, the test was removed, and we
   10659   # assume the GNU/Linux dynamic linker is in use.
   10660   dynamic_linker='GNU/Linux ld.so'
   10661   ;;
   10662 
   10663 netbsd*)
   10664   version_type=sunos
   10665   need_lib_prefix=no
   10666   need_version=no
   10667   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10668     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10669     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10670     dynamic_linker='NetBSD (a.out) ld.so'
   10671   else
   10672     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10673     soname_spec='${libname}${release}${shared_ext}$major'
   10674     dynamic_linker='NetBSD ld.elf_so'
   10675   fi
   10676   shlibpath_var=LD_LIBRARY_PATH
   10677   shlibpath_overrides_runpath=yes
   10678   hardcode_into_libs=yes
   10679   ;;
   10680 
   10681 newsos6)
   10682   version_type=linux # correct to gnu/linux during the next big refactor
   10683   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10684   shlibpath_var=LD_LIBRARY_PATH
   10685   shlibpath_overrides_runpath=yes
   10686   ;;
   10687 
   10688 *nto* | *qnx*)
   10689   version_type=qnx
   10690   need_lib_prefix=no
   10691   need_version=no
   10692   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10693   soname_spec='${libname}${release}${shared_ext}$major'
   10694   shlibpath_var=LD_LIBRARY_PATH
   10695   shlibpath_overrides_runpath=no
   10696   hardcode_into_libs=yes
   10697   dynamic_linker='ldqnx.so'
   10698   ;;
   10699 
   10700 openbsd*)
   10701   version_type=sunos
   10702   sys_lib_dlsearch_path_spec="/usr/lib"
   10703   need_lib_prefix=no
   10704   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10705   case $host_os in
   10706     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10707     *)				need_version=no  ;;
   10708   esac
   10709   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10710   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10711   shlibpath_var=LD_LIBRARY_PATH
   10712   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10713     case $host_os in
   10714       openbsd2.[89] | openbsd2.[89].*)
   10715 	shlibpath_overrides_runpath=no
   10716 	;;
   10717       *)
   10718 	shlibpath_overrides_runpath=yes
   10719 	;;
   10720       esac
   10721   else
   10722     shlibpath_overrides_runpath=yes
   10723   fi
   10724   ;;
   10725 
   10726 os2*)
   10727   libname_spec='$name'
   10728   shrext_cmds=".dll"
   10729   need_lib_prefix=no
   10730   library_names_spec='$libname${shared_ext} $libname.a'
   10731   dynamic_linker='OS/2 ld.exe'
   10732   shlibpath_var=LIBPATH
   10733   ;;
   10734 
   10735 osf3* | osf4* | osf5*)
   10736   version_type=osf
   10737   need_lib_prefix=no
   10738   need_version=no
   10739   soname_spec='${libname}${release}${shared_ext}$major'
   10740   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10741   shlibpath_var=LD_LIBRARY_PATH
   10742   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10743   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10744   ;;
   10745 
   10746 rdos*)
   10747   dynamic_linker=no
   10748   ;;
   10749 
   10750 solaris*)
   10751   version_type=linux # correct to gnu/linux during the next big refactor
   10752   need_lib_prefix=no
   10753   need_version=no
   10754   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10755   soname_spec='${libname}${release}${shared_ext}$major'
   10756   shlibpath_var=LD_LIBRARY_PATH
   10757   shlibpath_overrides_runpath=yes
   10758   hardcode_into_libs=yes
   10759   # ldd complains unless libraries are executable
   10760   postinstall_cmds='chmod +x $lib'
   10761   ;;
   10762 
   10763 sunos4*)
   10764   version_type=sunos
   10765   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10766   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10767   shlibpath_var=LD_LIBRARY_PATH
   10768   shlibpath_overrides_runpath=yes
   10769   if test "$with_gnu_ld" = yes; then
   10770     need_lib_prefix=no
   10771   fi
   10772   need_version=yes
   10773   ;;
   10774 
   10775 sysv4 | sysv4.3*)
   10776   version_type=linux # correct to gnu/linux during the next big refactor
   10777   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10778   soname_spec='${libname}${release}${shared_ext}$major'
   10779   shlibpath_var=LD_LIBRARY_PATH
   10780   case $host_vendor in
   10781     sni)
   10782       shlibpath_overrides_runpath=no
   10783       need_lib_prefix=no
   10784       runpath_var=LD_RUN_PATH
   10785       ;;
   10786     siemens)
   10787       need_lib_prefix=no
   10788       ;;
   10789     motorola)
   10790       need_lib_prefix=no
   10791       need_version=no
   10792       shlibpath_overrides_runpath=no
   10793       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10794       ;;
   10795   esac
   10796   ;;
   10797 
   10798 sysv4*MP*)
   10799   if test -d /usr/nec ;then
   10800     version_type=linux # correct to gnu/linux during the next big refactor
   10801     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10802     soname_spec='$libname${shared_ext}.$major'
   10803     shlibpath_var=LD_LIBRARY_PATH
   10804   fi
   10805   ;;
   10806 
   10807 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10808   version_type=freebsd-elf
   10809   need_lib_prefix=no
   10810   need_version=no
   10811   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10812   soname_spec='${libname}${release}${shared_ext}$major'
   10813   shlibpath_var=LD_LIBRARY_PATH
   10814   shlibpath_overrides_runpath=yes
   10815   hardcode_into_libs=yes
   10816   if test "$with_gnu_ld" = yes; then
   10817     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10818   else
   10819     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10820     case $host_os in
   10821       sco3.2v5*)
   10822         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10823 	;;
   10824     esac
   10825   fi
   10826   sys_lib_dlsearch_path_spec='/usr/lib'
   10827   ;;
   10828 
   10829 tpf*)
   10830   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10831   version_type=linux # correct to gnu/linux during the next big refactor
   10832   need_lib_prefix=no
   10833   need_version=no
   10834   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10835   shlibpath_var=LD_LIBRARY_PATH
   10836   shlibpath_overrides_runpath=no
   10837   hardcode_into_libs=yes
   10838   ;;
   10839 
   10840 uts4*)
   10841   version_type=linux # correct to gnu/linux during the next big refactor
   10842   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10843   soname_spec='${libname}${release}${shared_ext}$major'
   10844   shlibpath_var=LD_LIBRARY_PATH
   10845   ;;
   10846 
   10847 *)
   10848   dynamic_linker=no
   10849   ;;
   10850 esac
   10851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10852 $as_echo "$dynamic_linker" >&6; }
   10853 test "$dynamic_linker" = no && can_build_shared=no
   10854 
   10855 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10856 if test "$GCC" = yes; then
   10857   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10858 fi
   10859 
   10860 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10861   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10862 fi
   10863 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10864   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10865 fi
   10866 
   10867 
   10868 
   10869 
   10870 
   10871 
   10872 
   10873 
   10874 
   10875 
   10876 
   10877 
   10878 
   10879 
   10880 
   10881 
   10882 
   10883 
   10884 
   10885 
   10886 
   10887 
   10888 
   10889 
   10890 
   10891 
   10892 
   10893 
   10894 
   10895 
   10896 
   10897 
   10898 
   10899 
   10900 
   10901 
   10902 
   10903 
   10904 
   10905 
   10906 
   10907 
   10908 
   10909 
   10910 
   10911 
   10912 
   10913 
   10914 
   10915 
   10916 
   10917 
   10918 
   10919 
   10920 
   10921 
   10922 
   10923 
   10924 
   10925 
   10926 
   10927 
   10928 
   10929 
   10930 
   10931 
   10932 
   10933 
   10934 
   10935 
   10936 
   10937 
   10938 
   10939 
   10940 
   10941 
   10942 
   10943 
   10944 
   10945 
   10946 
   10947 
   10948 
   10949 
   10950 
   10951 
   10952 
   10953 
   10954 
   10955 
   10956 
   10957 
   10958   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10959 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10960 hardcode_action=
   10961 if test -n "$hardcode_libdir_flag_spec" ||
   10962    test -n "$runpath_var" ||
   10963    test "X$hardcode_automatic" = "Xyes" ; then
   10964 
   10965   # We can hardcode non-existent directories.
   10966   if test "$hardcode_direct" != no &&
   10967      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10968      # have to relink, otherwise we might link with an installed library
   10969      # when we should be linking with a yet-to-be-installed one
   10970      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10971      test "$hardcode_minus_L" != no; then
   10972     # Linking always hardcodes the temporary library directory.
   10973     hardcode_action=relink
   10974   else
   10975     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10976     hardcode_action=immediate
   10977   fi
   10978 else
   10979   # We cannot hardcode anything, or else we can only hardcode existing
   10980   # directories.
   10981   hardcode_action=unsupported
   10982 fi
   10983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10984 $as_echo "$hardcode_action" >&6; }
   10985 
   10986 if test "$hardcode_action" = relink ||
   10987    test "$inherit_rpath" = yes; then
   10988   # Fast installation is not supported
   10989   enable_fast_install=no
   10990 elif test "$shlibpath_overrides_runpath" = yes ||
   10991      test "$enable_shared" = no; then
   10992   # Fast installation is not necessary
   10993   enable_fast_install=needless
   10994 fi
   10995 
   10996 
   10997 
   10998 
   10999 
   11000 
   11001   if test "x$enable_dlopen" != xyes; then
   11002   enable_dlopen=unknown
   11003   enable_dlopen_self=unknown
   11004   enable_dlopen_self_static=unknown
   11005 else
   11006   lt_cv_dlopen=no
   11007   lt_cv_dlopen_libs=
   11008 
   11009   case $host_os in
   11010   beos*)
   11011     lt_cv_dlopen="load_add_on"
   11012     lt_cv_dlopen_libs=
   11013     lt_cv_dlopen_self=yes
   11014     ;;
   11015 
   11016   mingw* | pw32* | cegcc*)
   11017     lt_cv_dlopen="LoadLibrary"
   11018     lt_cv_dlopen_libs=
   11019     ;;
   11020 
   11021   cygwin*)
   11022     lt_cv_dlopen="dlopen"
   11023     lt_cv_dlopen_libs=
   11024     ;;
   11025 
   11026   darwin*)
   11027   # if libdl is installed we need to link against it
   11028     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11029 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11030 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11031   $as_echo_n "(cached) " >&6
   11032 else
   11033   ac_check_lib_save_LIBS=$LIBS
   11034 LIBS="-ldl  $LIBS"
   11035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11036 /* end confdefs.h.  */
   11037 
   11038 /* Override any GCC internal prototype to avoid an error.
   11039    Use char because int might match the return type of a GCC
   11040    builtin and then its argument prototype would still apply.  */
   11041 #ifdef __cplusplus
   11042 extern "C"
   11043 #endif
   11044 char dlopen ();
   11045 int
   11046 main ()
   11047 {
   11048 return dlopen ();
   11049   ;
   11050   return 0;
   11051 }
   11052 _ACEOF
   11053 if ac_fn_c_try_link "$LINENO"; then :
   11054   ac_cv_lib_dl_dlopen=yes
   11055 else
   11056   ac_cv_lib_dl_dlopen=no
   11057 fi
   11058 rm -f core conftest.err conftest.$ac_objext \
   11059     conftest$ac_exeext conftest.$ac_ext
   11060 LIBS=$ac_check_lib_save_LIBS
   11061 fi
   11062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11063 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11064 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11065   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11066 else
   11067 
   11068     lt_cv_dlopen="dyld"
   11069     lt_cv_dlopen_libs=
   11070     lt_cv_dlopen_self=yes
   11071 
   11072 fi
   11073 
   11074     ;;
   11075 
   11076   *)
   11077     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   11078 if test "x$ac_cv_func_shl_load" = xyes; then :
   11079   lt_cv_dlopen="shl_load"
   11080 else
   11081   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   11082 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11083 if ${ac_cv_lib_dld_shl_load+:} false; then :
   11084   $as_echo_n "(cached) " >&6
   11085 else
   11086   ac_check_lib_save_LIBS=$LIBS
   11087 LIBS="-ldld  $LIBS"
   11088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11089 /* end confdefs.h.  */
   11090 
   11091 /* Override any GCC internal prototype to avoid an error.
   11092    Use char because int might match the return type of a GCC
   11093    builtin and then its argument prototype would still apply.  */
   11094 #ifdef __cplusplus
   11095 extern "C"
   11096 #endif
   11097 char shl_load ();
   11098 int
   11099 main ()
   11100 {
   11101 return shl_load ();
   11102   ;
   11103   return 0;
   11104 }
   11105 _ACEOF
   11106 if ac_fn_c_try_link "$LINENO"; then :
   11107   ac_cv_lib_dld_shl_load=yes
   11108 else
   11109   ac_cv_lib_dld_shl_load=no
   11110 fi
   11111 rm -f core conftest.err conftest.$ac_objext \
   11112     conftest$ac_exeext conftest.$ac_ext
   11113 LIBS=$ac_check_lib_save_LIBS
   11114 fi
   11115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   11116 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11117 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   11118   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   11119 else
   11120   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   11121 if test "x$ac_cv_func_dlopen" = xyes; then :
   11122   lt_cv_dlopen="dlopen"
   11123 else
   11124   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11125 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11126 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11127   $as_echo_n "(cached) " >&6
   11128 else
   11129   ac_check_lib_save_LIBS=$LIBS
   11130 LIBS="-ldl  $LIBS"
   11131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11132 /* end confdefs.h.  */
   11133 
   11134 /* Override any GCC internal prototype to avoid an error.
   11135    Use char because int might match the return type of a GCC
   11136    builtin and then its argument prototype would still apply.  */
   11137 #ifdef __cplusplus
   11138 extern "C"
   11139 #endif
   11140 char dlopen ();
   11141 int
   11142 main ()
   11143 {
   11144 return dlopen ();
   11145   ;
   11146   return 0;
   11147 }
   11148 _ACEOF
   11149 if ac_fn_c_try_link "$LINENO"; then :
   11150   ac_cv_lib_dl_dlopen=yes
   11151 else
   11152   ac_cv_lib_dl_dlopen=no
   11153 fi
   11154 rm -f core conftest.err conftest.$ac_objext \
   11155     conftest$ac_exeext conftest.$ac_ext
   11156 LIBS=$ac_check_lib_save_LIBS
   11157 fi
   11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11159 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11160 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11161   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11162 else
   11163   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11164 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11165 if ${ac_cv_lib_svld_dlopen+:} false; then :
   11166   $as_echo_n "(cached) " >&6
   11167 else
   11168   ac_check_lib_save_LIBS=$LIBS
   11169 LIBS="-lsvld  $LIBS"
   11170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11171 /* end confdefs.h.  */
   11172 
   11173 /* Override any GCC internal prototype to avoid an error.
   11174    Use char because int might match the return type of a GCC
   11175    builtin and then its argument prototype would still apply.  */
   11176 #ifdef __cplusplus
   11177 extern "C"
   11178 #endif
   11179 char dlopen ();
   11180 int
   11181 main ()
   11182 {
   11183 return dlopen ();
   11184   ;
   11185   return 0;
   11186 }
   11187 _ACEOF
   11188 if ac_fn_c_try_link "$LINENO"; then :
   11189   ac_cv_lib_svld_dlopen=yes
   11190 else
   11191   ac_cv_lib_svld_dlopen=no
   11192 fi
   11193 rm -f core conftest.err conftest.$ac_objext \
   11194     conftest$ac_exeext conftest.$ac_ext
   11195 LIBS=$ac_check_lib_save_LIBS
   11196 fi
   11197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11198 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11199 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11200   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11201 else
   11202   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11203 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11204 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11205   $as_echo_n "(cached) " >&6
   11206 else
   11207   ac_check_lib_save_LIBS=$LIBS
   11208 LIBS="-ldld  $LIBS"
   11209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11210 /* end confdefs.h.  */
   11211 
   11212 /* Override any GCC internal prototype to avoid an error.
   11213    Use char because int might match the return type of a GCC
   11214    builtin and then its argument prototype would still apply.  */
   11215 #ifdef __cplusplus
   11216 extern "C"
   11217 #endif
   11218 char dld_link ();
   11219 int
   11220 main ()
   11221 {
   11222 return dld_link ();
   11223   ;
   11224   return 0;
   11225 }
   11226 _ACEOF
   11227 if ac_fn_c_try_link "$LINENO"; then :
   11228   ac_cv_lib_dld_dld_link=yes
   11229 else
   11230   ac_cv_lib_dld_dld_link=no
   11231 fi
   11232 rm -f core conftest.err conftest.$ac_objext \
   11233     conftest$ac_exeext conftest.$ac_ext
   11234 LIBS=$ac_check_lib_save_LIBS
   11235 fi
   11236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11237 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11238 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11239   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11240 fi
   11241 
   11242 
   11243 fi
   11244 
   11245 
   11246 fi
   11247 
   11248 
   11249 fi
   11250 
   11251 
   11252 fi
   11253 
   11254 
   11255 fi
   11256 
   11257     ;;
   11258   esac
   11259 
   11260   if test "x$lt_cv_dlopen" != xno; then
   11261     enable_dlopen=yes
   11262   else
   11263     enable_dlopen=no
   11264   fi
   11265 
   11266   case $lt_cv_dlopen in
   11267   dlopen)
   11268     save_CPPFLAGS="$CPPFLAGS"
   11269     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11270 
   11271     save_LDFLAGS="$LDFLAGS"
   11272     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11273 
   11274     save_LIBS="$LIBS"
   11275     LIBS="$lt_cv_dlopen_libs $LIBS"
   11276 
   11277     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11278 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11279 if ${lt_cv_dlopen_self+:} false; then :
   11280   $as_echo_n "(cached) " >&6
   11281 else
   11282   	  if test "$cross_compiling" = yes; then :
   11283   lt_cv_dlopen_self=cross
   11284 else
   11285   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11286   lt_status=$lt_dlunknown
   11287   cat > conftest.$ac_ext <<_LT_EOF
   11288 #line $LINENO "configure"
   11289 #include "confdefs.h"
   11290 
   11291 #if HAVE_DLFCN_H
   11292 #include <dlfcn.h>
   11293 #endif
   11294 
   11295 #include <stdio.h>
   11296 
   11297 #ifdef RTLD_GLOBAL
   11298 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11299 #else
   11300 #  ifdef DL_GLOBAL
   11301 #    define LT_DLGLOBAL		DL_GLOBAL
   11302 #  else
   11303 #    define LT_DLGLOBAL		0
   11304 #  endif
   11305 #endif
   11306 
   11307 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11308    find out it does not work in some platform. */
   11309 #ifndef LT_DLLAZY_OR_NOW
   11310 #  ifdef RTLD_LAZY
   11311 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11312 #  else
   11313 #    ifdef DL_LAZY
   11314 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11315 #    else
   11316 #      ifdef RTLD_NOW
   11317 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11318 #      else
   11319 #        ifdef DL_NOW
   11320 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11321 #        else
   11322 #          define LT_DLLAZY_OR_NOW	0
   11323 #        endif
   11324 #      endif
   11325 #    endif
   11326 #  endif
   11327 #endif
   11328 
   11329 /* When -fvisbility=hidden is used, assume the code has been annotated
   11330    correspondingly for the symbols needed.  */
   11331 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11332 int fnord () __attribute__((visibility("default")));
   11333 #endif
   11334 
   11335 int fnord () { return 42; }
   11336 int main ()
   11337 {
   11338   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11339   int status = $lt_dlunknown;
   11340 
   11341   if (self)
   11342     {
   11343       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11344       else
   11345         {
   11346 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11347           else puts (dlerror ());
   11348 	}
   11349       /* dlclose (self); */
   11350     }
   11351   else
   11352     puts (dlerror ());
   11353 
   11354   return status;
   11355 }
   11356 _LT_EOF
   11357   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11358   (eval $ac_link) 2>&5
   11359   ac_status=$?
   11360   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11361   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11362     (./conftest; exit; ) >&5 2>/dev/null
   11363     lt_status=$?
   11364     case x$lt_status in
   11365       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11366       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11367       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11368     esac
   11369   else :
   11370     # compilation failed
   11371     lt_cv_dlopen_self=no
   11372   fi
   11373 fi
   11374 rm -fr conftest*
   11375 
   11376 
   11377 fi
   11378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11379 $as_echo "$lt_cv_dlopen_self" >&6; }
   11380 
   11381     if test "x$lt_cv_dlopen_self" = xyes; then
   11382       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11383       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11384 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11385 if ${lt_cv_dlopen_self_static+:} false; then :
   11386   $as_echo_n "(cached) " >&6
   11387 else
   11388   	  if test "$cross_compiling" = yes; then :
   11389   lt_cv_dlopen_self_static=cross
   11390 else
   11391   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11392   lt_status=$lt_dlunknown
   11393   cat > conftest.$ac_ext <<_LT_EOF
   11394 #line $LINENO "configure"
   11395 #include "confdefs.h"
   11396 
   11397 #if HAVE_DLFCN_H
   11398 #include <dlfcn.h>
   11399 #endif
   11400 
   11401 #include <stdio.h>
   11402 
   11403 #ifdef RTLD_GLOBAL
   11404 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11405 #else
   11406 #  ifdef DL_GLOBAL
   11407 #    define LT_DLGLOBAL		DL_GLOBAL
   11408 #  else
   11409 #    define LT_DLGLOBAL		0
   11410 #  endif
   11411 #endif
   11412 
   11413 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11414    find out it does not work in some platform. */
   11415 #ifndef LT_DLLAZY_OR_NOW
   11416 #  ifdef RTLD_LAZY
   11417 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11418 #  else
   11419 #    ifdef DL_LAZY
   11420 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11421 #    else
   11422 #      ifdef RTLD_NOW
   11423 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11424 #      else
   11425 #        ifdef DL_NOW
   11426 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11427 #        else
   11428 #          define LT_DLLAZY_OR_NOW	0
   11429 #        endif
   11430 #      endif
   11431 #    endif
   11432 #  endif
   11433 #endif
   11434 
   11435 /* When -fvisbility=hidden is used, assume the code has been annotated
   11436    correspondingly for the symbols needed.  */
   11437 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11438 int fnord () __attribute__((visibility("default")));
   11439 #endif
   11440 
   11441 int fnord () { return 42; }
   11442 int main ()
   11443 {
   11444   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11445   int status = $lt_dlunknown;
   11446 
   11447   if (self)
   11448     {
   11449       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11450       else
   11451         {
   11452 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11453           else puts (dlerror ());
   11454 	}
   11455       /* dlclose (self); */
   11456     }
   11457   else
   11458     puts (dlerror ());
   11459 
   11460   return status;
   11461 }
   11462 _LT_EOF
   11463   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11464   (eval $ac_link) 2>&5
   11465   ac_status=$?
   11466   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11467   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11468     (./conftest; exit; ) >&5 2>/dev/null
   11469     lt_status=$?
   11470     case x$lt_status in
   11471       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11472       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11473       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11474     esac
   11475   else :
   11476     # compilation failed
   11477     lt_cv_dlopen_self_static=no
   11478   fi
   11479 fi
   11480 rm -fr conftest*
   11481 
   11482 
   11483 fi
   11484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11485 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11486     fi
   11487 
   11488     CPPFLAGS="$save_CPPFLAGS"
   11489     LDFLAGS="$save_LDFLAGS"
   11490     LIBS="$save_LIBS"
   11491     ;;
   11492   esac
   11493 
   11494   case $lt_cv_dlopen_self in
   11495   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11496   *) enable_dlopen_self=unknown ;;
   11497   esac
   11498 
   11499   case $lt_cv_dlopen_self_static in
   11500   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11501   *) enable_dlopen_self_static=unknown ;;
   11502   esac
   11503 fi
   11504 
   11505 
   11506 
   11507 
   11508 
   11509 
   11510 
   11511 
   11512 
   11513 
   11514 
   11515 
   11516 
   11517 
   11518 
   11519 
   11520 
   11521 striplib=
   11522 old_striplib=
   11523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11524 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11525 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11526   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11527   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11529 $as_echo "yes" >&6; }
   11530 else
   11531 # FIXME - insert some real tests, host_os isn't really good enough
   11532   case $host_os in
   11533   darwin*)
   11534     if test -n "$STRIP" ; then
   11535       striplib="$STRIP -x"
   11536       old_striplib="$STRIP -S"
   11537       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11538 $as_echo "yes" >&6; }
   11539     else
   11540       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11541 $as_echo "no" >&6; }
   11542     fi
   11543     ;;
   11544   *)
   11545     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11546 $as_echo "no" >&6; }
   11547     ;;
   11548   esac
   11549 fi
   11550 
   11551 
   11552 
   11553 
   11554 
   11555 
   11556 
   11557 
   11558 
   11559 
   11560 
   11561 
   11562   # Report which library types will actually be built
   11563   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11564 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11566 $as_echo "$can_build_shared" >&6; }
   11567 
   11568   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11569 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11570   test "$can_build_shared" = "no" && enable_shared=no
   11571 
   11572   # On AIX, shared libraries and static libraries use the same namespace, and
   11573   # are all built from PIC.
   11574   case $host_os in
   11575   aix3*)
   11576     test "$enable_shared" = yes && enable_static=no
   11577     if test -n "$RANLIB"; then
   11578       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11579       postinstall_cmds='$RANLIB $lib'
   11580     fi
   11581     ;;
   11582 
   11583   aix[4-9]*)
   11584     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11585       test "$enable_shared" = yes && enable_static=no
   11586     fi
   11587     ;;
   11588   esac
   11589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11590 $as_echo "$enable_shared" >&6; }
   11591 
   11592   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11593 $as_echo_n "checking whether to build static libraries... " >&6; }
   11594   # Make sure either enable_shared or enable_static is yes.
   11595   test "$enable_shared" = yes || enable_static=yes
   11596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11597 $as_echo "$enable_static" >&6; }
   11598 
   11599 
   11600 
   11601 
   11602 fi
   11603 ac_ext=c
   11604 ac_cpp='$CPP $CPPFLAGS'
   11605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11608 
   11609 CC="$lt_save_CC"
   11610 
   11611 
   11612 
   11613 
   11614 
   11615 
   11616 
   11617 
   11618 
   11619 
   11620 
   11621 
   11622 
   11623 
   11624 
   11625         ac_config_commands="$ac_config_commands libtool"
   11626 
   11627 
   11628 
   11629 
   11630 # Only expand once:
   11631 
   11632 
   11633 
   11634 # Require xorg-macros minimum of 1.12 for DocBook external references
   11635 
   11636 
   11637 
   11638 
   11639 
   11640 
   11641 
   11642 
   11643 
   11644 
   11645 
   11646    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   11647 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11648 if ${ac_cv_prog_cc_c99+:} false; then :
   11649   $as_echo_n "(cached) " >&6
   11650 else
   11651   ac_cv_prog_cc_c99=no
   11652 ac_save_CC=$CC
   11653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11654 /* end confdefs.h.  */
   11655 #include <stdarg.h>
   11656 #include <stdbool.h>
   11657 #include <stdlib.h>
   11658 #include <wchar.h>
   11659 #include <stdio.h>
   11660 
   11661 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   11662 #define debug(...) fprintf (stderr, __VA_ARGS__)
   11663 #define showlist(...) puts (#__VA_ARGS__)
   11664 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   11665 static void
   11666 test_varargs_macros (void)
   11667 {
   11668   int x = 1234;
   11669   int y = 5678;
   11670   debug ("Flag");
   11671   debug ("X = %d\n", x);
   11672   showlist (The first, second, and third items.);
   11673   report (x>y, "x is %d but y is %d", x, y);
   11674 }
   11675 
   11676 // Check long long types.
   11677 #define BIG64 18446744073709551615ull
   11678 #define BIG32 4294967295ul
   11679 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   11680 #if !BIG_OK
   11681   your preprocessor is broken;
   11682 #endif
   11683 #if BIG_OK
   11684 #else
   11685   your preprocessor is broken;
   11686 #endif
   11687 static long long int bignum = -9223372036854775807LL;
   11688 static unsigned long long int ubignum = BIG64;
   11689 
   11690 struct incomplete_array
   11691 {
   11692   int datasize;
   11693   double data[];
   11694 };
   11695 
   11696 struct named_init {
   11697   int number;
   11698   const wchar_t *name;
   11699   double average;
   11700 };
   11701 
   11702 typedef const char *ccp;
   11703 
   11704 static inline int
   11705 test_restrict (ccp restrict text)
   11706 {
   11707   // See if C++-style comments work.
   11708   // Iterate through items via the restricted pointer.
   11709   // Also check for declarations in for loops.
   11710   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   11711     continue;
   11712   return 0;
   11713 }
   11714 
   11715 // Check varargs and va_copy.
   11716 static void
   11717 test_varargs (const char *format, ...)
   11718 {
   11719   va_list args;
   11720   va_start (args, format);
   11721   va_list args_copy;
   11722   va_copy (args_copy, args);
   11723 
   11724   const char *str;
   11725   int number;
   11726   float fnumber;
   11727 
   11728   while (*format)
   11729     {
   11730       switch (*format++)
   11731 	{
   11732 	case 's': // string
   11733 	  str = va_arg (args_copy, const char *);
   11734 	  break;
   11735 	case 'd': // int
   11736 	  number = va_arg (args_copy, int);
   11737 	  break;
   11738 	case 'f': // float
   11739 	  fnumber = va_arg (args_copy, double);
   11740 	  break;
   11741 	default:
   11742 	  break;
   11743 	}
   11744     }
   11745   va_end (args_copy);
   11746   va_end (args);
   11747 }
   11748 
   11749 int
   11750 main ()
   11751 {
   11752 
   11753   // Check bool.
   11754   _Bool success = false;
   11755 
   11756   // Check restrict.
   11757   if (test_restrict ("String literal") == 0)
   11758     success = true;
   11759   char *restrict newvar = "Another string";
   11760 
   11761   // Check varargs.
   11762   test_varargs ("s, d' f .", "string", 65, 34.234);
   11763   test_varargs_macros ();
   11764 
   11765   // Check flexible array members.
   11766   struct incomplete_array *ia =
   11767     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   11768   ia->datasize = 10;
   11769   for (int i = 0; i < ia->datasize; ++i)
   11770     ia->data[i] = i * 1.234;
   11771 
   11772   // Check named initializers.
   11773   struct named_init ni = {
   11774     .number = 34,
   11775     .name = L"Test wide string",
   11776     .average = 543.34343,
   11777   };
   11778 
   11779   ni.number = 58;
   11780 
   11781   int dynamic_array[ni.number];
   11782   dynamic_array[ni.number - 1] = 543;
   11783 
   11784   // work around unused variable warnings
   11785   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   11786 	  || dynamic_array[ni.number - 1] != 543);
   11787 
   11788   ;
   11789   return 0;
   11790 }
   11791 _ACEOF
   11792 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   11793 do
   11794   CC="$ac_save_CC $ac_arg"
   11795   if ac_fn_c_try_compile "$LINENO"; then :
   11796   ac_cv_prog_cc_c99=$ac_arg
   11797 fi
   11798 rm -f core conftest.err conftest.$ac_objext
   11799   test "x$ac_cv_prog_cc_c99" != "xno" && break
   11800 done
   11801 rm -f conftest.$ac_ext
   11802 CC=$ac_save_CC
   11803 
   11804 fi
   11805 # AC_CACHE_VAL
   11806 case "x$ac_cv_prog_cc_c99" in
   11807   x)
   11808     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   11809 $as_echo "none needed" >&6; } ;;
   11810   xno)
   11811     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   11812 $as_echo "unsupported" >&6; } ;;
   11813   *)
   11814     CC="$CC $ac_cv_prog_cc_c99"
   11815     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   11816 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   11817 esac
   11818 if test "x$ac_cv_prog_cc_c99" != xno; then :
   11819 
   11820 fi
   11821 
   11822 
   11823 
   11824 
   11825 
   11826 
   11827 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   11828 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   11829   CLANGCC="yes"
   11830 else
   11831   CLANGCC="no"
   11832 fi
   11833 
   11834 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   11835 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   11836   INTELCC="yes"
   11837 else
   11838   INTELCC="no"
   11839 fi
   11840 
   11841 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   11842 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   11843   SUNCC="yes"
   11844 else
   11845   SUNCC="no"
   11846 fi
   11847 
   11848 
   11849 
   11850 
   11851 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   11852 	if test -n "$ac_tool_prefix"; then
   11853   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   11854 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   11855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11856 $as_echo_n "checking for $ac_word... " >&6; }
   11857 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   11858   $as_echo_n "(cached) " >&6
   11859 else
   11860   case $PKG_CONFIG in
   11861   [\\/]* | ?:[\\/]*)
   11862   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   11863   ;;
   11864   *)
   11865   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11866 for as_dir in $PATH
   11867 do
   11868   IFS=$as_save_IFS
   11869   test -z "$as_dir" && as_dir=.
   11870     for ac_exec_ext in '' $ac_executable_extensions; do
   11871   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11872     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11873     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11874     break 2
   11875   fi
   11876 done
   11877   done
   11878 IFS=$as_save_IFS
   11879 
   11880   ;;
   11881 esac
   11882 fi
   11883 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   11884 if test -n "$PKG_CONFIG"; then
   11885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   11886 $as_echo "$PKG_CONFIG" >&6; }
   11887 else
   11888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11889 $as_echo "no" >&6; }
   11890 fi
   11891 
   11892 
   11893 fi
   11894 if test -z "$ac_cv_path_PKG_CONFIG"; then
   11895   ac_pt_PKG_CONFIG=$PKG_CONFIG
   11896   # Extract the first word of "pkg-config", so it can be a program name with args.
   11897 set dummy pkg-config; ac_word=$2
   11898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11899 $as_echo_n "checking for $ac_word... " >&6; }
   11900 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   11901   $as_echo_n "(cached) " >&6
   11902 else
   11903   case $ac_pt_PKG_CONFIG in
   11904   [\\/]* | ?:[\\/]*)
   11905   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   11906   ;;
   11907   *)
   11908   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11909 for as_dir in $PATH
   11910 do
   11911   IFS=$as_save_IFS
   11912   test -z "$as_dir" && as_dir=.
   11913     for ac_exec_ext in '' $ac_executable_extensions; do
   11914   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11915     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11916     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11917     break 2
   11918   fi
   11919 done
   11920   done
   11921 IFS=$as_save_IFS
   11922 
   11923   ;;
   11924 esac
   11925 fi
   11926 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   11927 if test -n "$ac_pt_PKG_CONFIG"; then
   11928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   11929 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   11930 else
   11931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11932 $as_echo "no" >&6; }
   11933 fi
   11934 
   11935   if test "x$ac_pt_PKG_CONFIG" = x; then
   11936     PKG_CONFIG=""
   11937   else
   11938     case $cross_compiling:$ac_tool_warned in
   11939 yes:)
   11940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11941 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11942 ac_tool_warned=yes ;;
   11943 esac
   11944     PKG_CONFIG=$ac_pt_PKG_CONFIG
   11945   fi
   11946 else
   11947   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   11948 fi
   11949 
   11950 fi
   11951 if test -n "$PKG_CONFIG"; then
   11952 	_pkg_min_version=0.9.0
   11953 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   11954 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   11955 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   11956 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11957 $as_echo "yes" >&6; }
   11958 	else
   11959 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11960 $as_echo "no" >&6; }
   11961 		PKG_CONFIG=""
   11962 	fi
   11963 
   11964 fi
   11965 
   11966 
   11967 
   11968 
   11969 
   11970 # Check whether --enable-selective-werror was given.
   11971 if test "${enable_selective_werror+set}" = set; then :
   11972   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   11973 else
   11974   SELECTIVE_WERROR=yes
   11975 fi
   11976 
   11977 
   11978 
   11979 
   11980 
   11981 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   11982 if test "x$SUNCC" = "xyes"; then
   11983     BASE_CFLAGS="-v"
   11984 else
   11985     BASE_CFLAGS=""
   11986 fi
   11987 
   11988 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   11989 
   11990 
   11991 
   11992 
   11993 
   11994 
   11995 
   11996 
   11997 
   11998 
   11999 
   12000 
   12001 
   12002 xorg_testset_save_CFLAGS="$CFLAGS"
   12003 
   12004 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12005 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12006 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12007 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12008 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12009   $as_echo_n "(cached) " >&6
   12010 else
   12011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12012 /* end confdefs.h.  */
   12013 int i;
   12014 _ACEOF
   12015 if ac_fn_c_try_compile "$LINENO"; then :
   12016   xorg_cv_cc_flag_unknown_warning_option=yes
   12017 else
   12018   xorg_cv_cc_flag_unknown_warning_option=no
   12019 fi
   12020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12021 fi
   12022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12023 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12024 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12025 	CFLAGS="$xorg_testset_save_CFLAGS"
   12026 fi
   12027 
   12028 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12029 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12030 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12031 	fi
   12032 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12033 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12034 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12035 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12036   $as_echo_n "(cached) " >&6
   12037 else
   12038   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12039 /* end confdefs.h.  */
   12040 int i;
   12041 _ACEOF
   12042 if ac_fn_c_try_compile "$LINENO"; then :
   12043   xorg_cv_cc_flag_unused_command_line_argument=yes
   12044 else
   12045   xorg_cv_cc_flag_unused_command_line_argument=no
   12046 fi
   12047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12048 fi
   12049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12050 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12051 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12052 	CFLAGS="$xorg_testset_save_CFLAGS"
   12053 fi
   12054 
   12055 found="no"
   12056 
   12057 	if test $found = "no" ; then
   12058 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12059 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12060 		fi
   12061 
   12062 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12063 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12064 		fi
   12065 
   12066 		CFLAGS="$CFLAGS -Wall"
   12067 
   12068 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   12069 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   12070 		cacheid=xorg_cv_cc_flag__Wall
   12071 		if eval \${$cacheid+:} false; then :
   12072   $as_echo_n "(cached) " >&6
   12073 else
   12074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12075 /* end confdefs.h.  */
   12076 int i;
   12077 int
   12078 main ()
   12079 {
   12080 
   12081   ;
   12082   return 0;
   12083 }
   12084 _ACEOF
   12085 if ac_fn_c_try_link "$LINENO"; then :
   12086   eval $cacheid=yes
   12087 else
   12088   eval $cacheid=no
   12089 fi
   12090 rm -f core conftest.err conftest.$ac_objext \
   12091     conftest$ac_exeext conftest.$ac_ext
   12092 fi
   12093 
   12094 
   12095 		CFLAGS="$xorg_testset_save_CFLAGS"
   12096 
   12097 		eval supported=\$$cacheid
   12098 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12099 $as_echo "$supported" >&6; }
   12100 		if test "$supported" = "yes" ; then
   12101 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   12102 			found="yes"
   12103 		fi
   12104 	fi
   12105 
   12106 
   12107 
   12108 
   12109 
   12110 
   12111 
   12112 
   12113 
   12114 
   12115 
   12116 
   12117 
   12118 
   12119 
   12120 xorg_testset_save_CFLAGS="$CFLAGS"
   12121 
   12122 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12123 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12124 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12125 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12126 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12127   $as_echo_n "(cached) " >&6
   12128 else
   12129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12130 /* end confdefs.h.  */
   12131 int i;
   12132 _ACEOF
   12133 if ac_fn_c_try_compile "$LINENO"; then :
   12134   xorg_cv_cc_flag_unknown_warning_option=yes
   12135 else
   12136   xorg_cv_cc_flag_unknown_warning_option=no
   12137 fi
   12138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12139 fi
   12140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12141 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12142 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12143 	CFLAGS="$xorg_testset_save_CFLAGS"
   12144 fi
   12145 
   12146 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12147 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12148 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12149 	fi
   12150 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12151 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12152 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12153 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12154   $as_echo_n "(cached) " >&6
   12155 else
   12156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12157 /* end confdefs.h.  */
   12158 int i;
   12159 _ACEOF
   12160 if ac_fn_c_try_compile "$LINENO"; then :
   12161   xorg_cv_cc_flag_unused_command_line_argument=yes
   12162 else
   12163   xorg_cv_cc_flag_unused_command_line_argument=no
   12164 fi
   12165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12166 fi
   12167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12168 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12169 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12170 	CFLAGS="$xorg_testset_save_CFLAGS"
   12171 fi
   12172 
   12173 found="no"
   12174 
   12175 	if test $found = "no" ; then
   12176 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12177 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12178 		fi
   12179 
   12180 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12181 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12182 		fi
   12183 
   12184 		CFLAGS="$CFLAGS -Wpointer-arith"
   12185 
   12186 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   12187 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   12188 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   12189 		if eval \${$cacheid+:} false; then :
   12190   $as_echo_n "(cached) " >&6
   12191 else
   12192   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12193 /* end confdefs.h.  */
   12194 int i;
   12195 int
   12196 main ()
   12197 {
   12198 
   12199   ;
   12200   return 0;
   12201 }
   12202 _ACEOF
   12203 if ac_fn_c_try_link "$LINENO"; then :
   12204   eval $cacheid=yes
   12205 else
   12206   eval $cacheid=no
   12207 fi
   12208 rm -f core conftest.err conftest.$ac_objext \
   12209     conftest$ac_exeext conftest.$ac_ext
   12210 fi
   12211 
   12212 
   12213 		CFLAGS="$xorg_testset_save_CFLAGS"
   12214 
   12215 		eval supported=\$$cacheid
   12216 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12217 $as_echo "$supported" >&6; }
   12218 		if test "$supported" = "yes" ; then
   12219 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   12220 			found="yes"
   12221 		fi
   12222 	fi
   12223 
   12224 
   12225 
   12226 
   12227 
   12228 
   12229 
   12230 
   12231 
   12232 
   12233 
   12234 
   12235 
   12236 
   12237 
   12238 xorg_testset_save_CFLAGS="$CFLAGS"
   12239 
   12240 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12241 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12242 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12243 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12244 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12245   $as_echo_n "(cached) " >&6
   12246 else
   12247   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12248 /* end confdefs.h.  */
   12249 int i;
   12250 _ACEOF
   12251 if ac_fn_c_try_compile "$LINENO"; then :
   12252   xorg_cv_cc_flag_unknown_warning_option=yes
   12253 else
   12254   xorg_cv_cc_flag_unknown_warning_option=no
   12255 fi
   12256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12257 fi
   12258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12259 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12260 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12261 	CFLAGS="$xorg_testset_save_CFLAGS"
   12262 fi
   12263 
   12264 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12265 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12266 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12267 	fi
   12268 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12269 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12270 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12271 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12272   $as_echo_n "(cached) " >&6
   12273 else
   12274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12275 /* end confdefs.h.  */
   12276 int i;
   12277 _ACEOF
   12278 if ac_fn_c_try_compile "$LINENO"; then :
   12279   xorg_cv_cc_flag_unused_command_line_argument=yes
   12280 else
   12281   xorg_cv_cc_flag_unused_command_line_argument=no
   12282 fi
   12283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12284 fi
   12285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12286 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12287 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12288 	CFLAGS="$xorg_testset_save_CFLAGS"
   12289 fi
   12290 
   12291 found="no"
   12292 
   12293 	if test $found = "no" ; then
   12294 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12295 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12296 		fi
   12297 
   12298 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12299 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12300 		fi
   12301 
   12302 		CFLAGS="$CFLAGS -Wmissing-declarations"
   12303 
   12304 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   12305 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   12306 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   12307 		if eval \${$cacheid+:} false; then :
   12308   $as_echo_n "(cached) " >&6
   12309 else
   12310   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12311 /* end confdefs.h.  */
   12312 int i;
   12313 int
   12314 main ()
   12315 {
   12316 
   12317   ;
   12318   return 0;
   12319 }
   12320 _ACEOF
   12321 if ac_fn_c_try_link "$LINENO"; then :
   12322   eval $cacheid=yes
   12323 else
   12324   eval $cacheid=no
   12325 fi
   12326 rm -f core conftest.err conftest.$ac_objext \
   12327     conftest$ac_exeext conftest.$ac_ext
   12328 fi
   12329 
   12330 
   12331 		CFLAGS="$xorg_testset_save_CFLAGS"
   12332 
   12333 		eval supported=\$$cacheid
   12334 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12335 $as_echo "$supported" >&6; }
   12336 		if test "$supported" = "yes" ; then
   12337 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   12338 			found="yes"
   12339 		fi
   12340 	fi
   12341 
   12342 
   12343 
   12344 
   12345 
   12346 
   12347 
   12348 
   12349 
   12350 
   12351 
   12352 
   12353 
   12354 
   12355 
   12356 xorg_testset_save_CFLAGS="$CFLAGS"
   12357 
   12358 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12359 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12360 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12361 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12362 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12363   $as_echo_n "(cached) " >&6
   12364 else
   12365   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12366 /* end confdefs.h.  */
   12367 int i;
   12368 _ACEOF
   12369 if ac_fn_c_try_compile "$LINENO"; then :
   12370   xorg_cv_cc_flag_unknown_warning_option=yes
   12371 else
   12372   xorg_cv_cc_flag_unknown_warning_option=no
   12373 fi
   12374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12375 fi
   12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12377 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12378 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12379 	CFLAGS="$xorg_testset_save_CFLAGS"
   12380 fi
   12381 
   12382 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12383 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12384 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12385 	fi
   12386 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12387 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12388 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12389 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12390   $as_echo_n "(cached) " >&6
   12391 else
   12392   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12393 /* end confdefs.h.  */
   12394 int i;
   12395 _ACEOF
   12396 if ac_fn_c_try_compile "$LINENO"; then :
   12397   xorg_cv_cc_flag_unused_command_line_argument=yes
   12398 else
   12399   xorg_cv_cc_flag_unused_command_line_argument=no
   12400 fi
   12401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12402 fi
   12403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12404 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12405 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12406 	CFLAGS="$xorg_testset_save_CFLAGS"
   12407 fi
   12408 
   12409 found="no"
   12410 
   12411 	if test $found = "no" ; then
   12412 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12413 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12414 		fi
   12415 
   12416 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12417 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12418 		fi
   12419 
   12420 		CFLAGS="$CFLAGS -Wformat=2"
   12421 
   12422 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   12423 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   12424 		cacheid=xorg_cv_cc_flag__Wformat_2
   12425 		if eval \${$cacheid+:} false; then :
   12426   $as_echo_n "(cached) " >&6
   12427 else
   12428   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12429 /* end confdefs.h.  */
   12430 int i;
   12431 int
   12432 main ()
   12433 {
   12434 
   12435   ;
   12436   return 0;
   12437 }
   12438 _ACEOF
   12439 if ac_fn_c_try_link "$LINENO"; then :
   12440   eval $cacheid=yes
   12441 else
   12442   eval $cacheid=no
   12443 fi
   12444 rm -f core conftest.err conftest.$ac_objext \
   12445     conftest$ac_exeext conftest.$ac_ext
   12446 fi
   12447 
   12448 
   12449 		CFLAGS="$xorg_testset_save_CFLAGS"
   12450 
   12451 		eval supported=\$$cacheid
   12452 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12453 $as_echo "$supported" >&6; }
   12454 		if test "$supported" = "yes" ; then
   12455 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   12456 			found="yes"
   12457 		fi
   12458 	fi
   12459 
   12460 	if test $found = "no" ; then
   12461 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12462 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12463 		fi
   12464 
   12465 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12466 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12467 		fi
   12468 
   12469 		CFLAGS="$CFLAGS -Wformat"
   12470 
   12471 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   12472 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   12473 		cacheid=xorg_cv_cc_flag__Wformat
   12474 		if eval \${$cacheid+:} false; then :
   12475   $as_echo_n "(cached) " >&6
   12476 else
   12477   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12478 /* end confdefs.h.  */
   12479 int i;
   12480 int
   12481 main ()
   12482 {
   12483 
   12484   ;
   12485   return 0;
   12486 }
   12487 _ACEOF
   12488 if ac_fn_c_try_link "$LINENO"; then :
   12489   eval $cacheid=yes
   12490 else
   12491   eval $cacheid=no
   12492 fi
   12493 rm -f core conftest.err conftest.$ac_objext \
   12494     conftest$ac_exeext conftest.$ac_ext
   12495 fi
   12496 
   12497 
   12498 		CFLAGS="$xorg_testset_save_CFLAGS"
   12499 
   12500 		eval supported=\$$cacheid
   12501 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12502 $as_echo "$supported" >&6; }
   12503 		if test "$supported" = "yes" ; then
   12504 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   12505 			found="yes"
   12506 		fi
   12507 	fi
   12508 
   12509 
   12510 
   12511 
   12512 
   12513 
   12514 
   12515 
   12516 
   12517 
   12518 
   12519 
   12520 
   12521 
   12522 
   12523 
   12524 
   12525 xorg_testset_save_CFLAGS="$CFLAGS"
   12526 
   12527 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12528 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12529 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12530 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12531 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12532   $as_echo_n "(cached) " >&6
   12533 else
   12534   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12535 /* end confdefs.h.  */
   12536 int i;
   12537 _ACEOF
   12538 if ac_fn_c_try_compile "$LINENO"; then :
   12539   xorg_cv_cc_flag_unknown_warning_option=yes
   12540 else
   12541   xorg_cv_cc_flag_unknown_warning_option=no
   12542 fi
   12543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12544 fi
   12545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12546 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12547 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12548 	CFLAGS="$xorg_testset_save_CFLAGS"
   12549 fi
   12550 
   12551 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12552 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12553 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12554 	fi
   12555 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12556 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12557 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12558 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12559   $as_echo_n "(cached) " >&6
   12560 else
   12561   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12562 /* end confdefs.h.  */
   12563 int i;
   12564 _ACEOF
   12565 if ac_fn_c_try_compile "$LINENO"; then :
   12566   xorg_cv_cc_flag_unused_command_line_argument=yes
   12567 else
   12568   xorg_cv_cc_flag_unused_command_line_argument=no
   12569 fi
   12570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12571 fi
   12572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12573 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12574 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12575 	CFLAGS="$xorg_testset_save_CFLAGS"
   12576 fi
   12577 
   12578 found="no"
   12579 
   12580 	if test $found = "no" ; then
   12581 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12582 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12583 		fi
   12584 
   12585 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12586 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12587 		fi
   12588 
   12589 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   12590 
   12591 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   12592 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   12593 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   12594 		if eval \${$cacheid+:} false; then :
   12595   $as_echo_n "(cached) " >&6
   12596 else
   12597   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12598 /* end confdefs.h.  */
   12599 int i;
   12600 int
   12601 main ()
   12602 {
   12603 
   12604   ;
   12605   return 0;
   12606 }
   12607 _ACEOF
   12608 if ac_fn_c_try_link "$LINENO"; then :
   12609   eval $cacheid=yes
   12610 else
   12611   eval $cacheid=no
   12612 fi
   12613 rm -f core conftest.err conftest.$ac_objext \
   12614     conftest$ac_exeext conftest.$ac_ext
   12615 fi
   12616 
   12617 
   12618 		CFLAGS="$xorg_testset_save_CFLAGS"
   12619 
   12620 		eval supported=\$$cacheid
   12621 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12622 $as_echo "$supported" >&6; }
   12623 		if test "$supported" = "yes" ; then
   12624 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   12625 			found="yes"
   12626 		fi
   12627 	fi
   12628 
   12629 
   12630 
   12631 
   12632 
   12633 
   12634 
   12635 
   12636 
   12637 
   12638 
   12639 
   12640 
   12641 
   12642 
   12643 xorg_testset_save_CFLAGS="$CFLAGS"
   12644 
   12645 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12646 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12647 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12648 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12649 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12650   $as_echo_n "(cached) " >&6
   12651 else
   12652   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12653 /* end confdefs.h.  */
   12654 int i;
   12655 _ACEOF
   12656 if ac_fn_c_try_compile "$LINENO"; then :
   12657   xorg_cv_cc_flag_unknown_warning_option=yes
   12658 else
   12659   xorg_cv_cc_flag_unknown_warning_option=no
   12660 fi
   12661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12662 fi
   12663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12664 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12665 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12666 	CFLAGS="$xorg_testset_save_CFLAGS"
   12667 fi
   12668 
   12669 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12670 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12671 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12672 	fi
   12673 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12674 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12675 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12676 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12677   $as_echo_n "(cached) " >&6
   12678 else
   12679   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12680 /* end confdefs.h.  */
   12681 int i;
   12682 _ACEOF
   12683 if ac_fn_c_try_compile "$LINENO"; then :
   12684   xorg_cv_cc_flag_unused_command_line_argument=yes
   12685 else
   12686   xorg_cv_cc_flag_unused_command_line_argument=no
   12687 fi
   12688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12689 fi
   12690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12691 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12692 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12693 	CFLAGS="$xorg_testset_save_CFLAGS"
   12694 fi
   12695 
   12696 found="no"
   12697 
   12698 	if test $found = "no" ; then
   12699 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12700 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12701 		fi
   12702 
   12703 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12704 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12705 		fi
   12706 
   12707 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   12708 
   12709 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   12710 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   12711 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   12712 		if eval \${$cacheid+:} false; then :
   12713   $as_echo_n "(cached) " >&6
   12714 else
   12715   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12716 /* end confdefs.h.  */
   12717 int i;
   12718 int
   12719 main ()
   12720 {
   12721 
   12722   ;
   12723   return 0;
   12724 }
   12725 _ACEOF
   12726 if ac_fn_c_try_link "$LINENO"; then :
   12727   eval $cacheid=yes
   12728 else
   12729   eval $cacheid=no
   12730 fi
   12731 rm -f core conftest.err conftest.$ac_objext \
   12732     conftest$ac_exeext conftest.$ac_ext
   12733 fi
   12734 
   12735 
   12736 		CFLAGS="$xorg_testset_save_CFLAGS"
   12737 
   12738 		eval supported=\$$cacheid
   12739 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12740 $as_echo "$supported" >&6; }
   12741 		if test "$supported" = "yes" ; then
   12742 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   12743 			found="yes"
   12744 		fi
   12745 	fi
   12746 
   12747 
   12748 
   12749 
   12750 
   12751 
   12752 
   12753 
   12754 
   12755 
   12756 
   12757 
   12758 
   12759 
   12760 
   12761 xorg_testset_save_CFLAGS="$CFLAGS"
   12762 
   12763 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12764 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12765 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12766 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12767 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12768   $as_echo_n "(cached) " >&6
   12769 else
   12770   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12771 /* end confdefs.h.  */
   12772 int i;
   12773 _ACEOF
   12774 if ac_fn_c_try_compile "$LINENO"; then :
   12775   xorg_cv_cc_flag_unknown_warning_option=yes
   12776 else
   12777   xorg_cv_cc_flag_unknown_warning_option=no
   12778 fi
   12779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12780 fi
   12781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12782 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12783 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12784 	CFLAGS="$xorg_testset_save_CFLAGS"
   12785 fi
   12786 
   12787 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12788 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12789 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12790 	fi
   12791 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12792 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12793 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12794 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12795   $as_echo_n "(cached) " >&6
   12796 else
   12797   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12798 /* end confdefs.h.  */
   12799 int i;
   12800 _ACEOF
   12801 if ac_fn_c_try_compile "$LINENO"; then :
   12802   xorg_cv_cc_flag_unused_command_line_argument=yes
   12803 else
   12804   xorg_cv_cc_flag_unused_command_line_argument=no
   12805 fi
   12806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12807 fi
   12808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12809 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12810 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12811 	CFLAGS="$xorg_testset_save_CFLAGS"
   12812 fi
   12813 
   12814 found="no"
   12815 
   12816 	if test $found = "no" ; then
   12817 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12818 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12819 		fi
   12820 
   12821 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12822 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12823 		fi
   12824 
   12825 		CFLAGS="$CFLAGS -Wnested-externs"
   12826 
   12827 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   12828 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   12829 		cacheid=xorg_cv_cc_flag__Wnested_externs
   12830 		if eval \${$cacheid+:} false; then :
   12831   $as_echo_n "(cached) " >&6
   12832 else
   12833   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12834 /* end confdefs.h.  */
   12835 int i;
   12836 int
   12837 main ()
   12838 {
   12839 
   12840   ;
   12841   return 0;
   12842 }
   12843 _ACEOF
   12844 if ac_fn_c_try_link "$LINENO"; then :
   12845   eval $cacheid=yes
   12846 else
   12847   eval $cacheid=no
   12848 fi
   12849 rm -f core conftest.err conftest.$ac_objext \
   12850     conftest$ac_exeext conftest.$ac_ext
   12851 fi
   12852 
   12853 
   12854 		CFLAGS="$xorg_testset_save_CFLAGS"
   12855 
   12856 		eval supported=\$$cacheid
   12857 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12858 $as_echo "$supported" >&6; }
   12859 		if test "$supported" = "yes" ; then
   12860 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   12861 			found="yes"
   12862 		fi
   12863 	fi
   12864 
   12865 
   12866 
   12867 
   12868 
   12869 
   12870 
   12871 
   12872 
   12873 
   12874 
   12875 
   12876 
   12877 
   12878 
   12879 xorg_testset_save_CFLAGS="$CFLAGS"
   12880 
   12881 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12882 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12883 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12884 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12885 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12886   $as_echo_n "(cached) " >&6
   12887 else
   12888   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12889 /* end confdefs.h.  */
   12890 int i;
   12891 _ACEOF
   12892 if ac_fn_c_try_compile "$LINENO"; then :
   12893   xorg_cv_cc_flag_unknown_warning_option=yes
   12894 else
   12895   xorg_cv_cc_flag_unknown_warning_option=no
   12896 fi
   12897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12898 fi
   12899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12900 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12901 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12902 	CFLAGS="$xorg_testset_save_CFLAGS"
   12903 fi
   12904 
   12905 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12906 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12907 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12908 	fi
   12909 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12910 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12911 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12912 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12913   $as_echo_n "(cached) " >&6
   12914 else
   12915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12916 /* end confdefs.h.  */
   12917 int i;
   12918 _ACEOF
   12919 if ac_fn_c_try_compile "$LINENO"; then :
   12920   xorg_cv_cc_flag_unused_command_line_argument=yes
   12921 else
   12922   xorg_cv_cc_flag_unused_command_line_argument=no
   12923 fi
   12924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12925 fi
   12926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12927 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12928 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12929 	CFLAGS="$xorg_testset_save_CFLAGS"
   12930 fi
   12931 
   12932 found="no"
   12933 
   12934 	if test $found = "no" ; then
   12935 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12936 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12937 		fi
   12938 
   12939 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12940 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12941 		fi
   12942 
   12943 		CFLAGS="$CFLAGS -Wbad-function-cast"
   12944 
   12945 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   12946 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   12947 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   12948 		if eval \${$cacheid+:} false; then :
   12949   $as_echo_n "(cached) " >&6
   12950 else
   12951   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12952 /* end confdefs.h.  */
   12953 int i;
   12954 int
   12955 main ()
   12956 {
   12957 
   12958   ;
   12959   return 0;
   12960 }
   12961 _ACEOF
   12962 if ac_fn_c_try_link "$LINENO"; then :
   12963   eval $cacheid=yes
   12964 else
   12965   eval $cacheid=no
   12966 fi
   12967 rm -f core conftest.err conftest.$ac_objext \
   12968     conftest$ac_exeext conftest.$ac_ext
   12969 fi
   12970 
   12971 
   12972 		CFLAGS="$xorg_testset_save_CFLAGS"
   12973 
   12974 		eval supported=\$$cacheid
   12975 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12976 $as_echo "$supported" >&6; }
   12977 		if test "$supported" = "yes" ; then
   12978 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   12979 			found="yes"
   12980 		fi
   12981 	fi
   12982 
   12983 
   12984 
   12985 
   12986 
   12987 
   12988 
   12989 
   12990 
   12991 
   12992 
   12993 
   12994 
   12995 
   12996 
   12997 xorg_testset_save_CFLAGS="$CFLAGS"
   12998 
   12999 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13000 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13001 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13002 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13003 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13004   $as_echo_n "(cached) " >&6
   13005 else
   13006   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13007 /* end confdefs.h.  */
   13008 int i;
   13009 _ACEOF
   13010 if ac_fn_c_try_compile "$LINENO"; then :
   13011   xorg_cv_cc_flag_unknown_warning_option=yes
   13012 else
   13013   xorg_cv_cc_flag_unknown_warning_option=no
   13014 fi
   13015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13016 fi
   13017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13018 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13019 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13020 	CFLAGS="$xorg_testset_save_CFLAGS"
   13021 fi
   13022 
   13023 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13024 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13025 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13026 	fi
   13027 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13028 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13029 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13030 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13031   $as_echo_n "(cached) " >&6
   13032 else
   13033   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13034 /* end confdefs.h.  */
   13035 int i;
   13036 _ACEOF
   13037 if ac_fn_c_try_compile "$LINENO"; then :
   13038   xorg_cv_cc_flag_unused_command_line_argument=yes
   13039 else
   13040   xorg_cv_cc_flag_unused_command_line_argument=no
   13041 fi
   13042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13043 fi
   13044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13045 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13046 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13047 	CFLAGS="$xorg_testset_save_CFLAGS"
   13048 fi
   13049 
   13050 found="no"
   13051 
   13052 	if test $found = "no" ; then
   13053 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13054 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13055 		fi
   13056 
   13057 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13058 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13059 		fi
   13060 
   13061 		CFLAGS="$CFLAGS -Wold-style-definition"
   13062 
   13063 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   13064 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   13065 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   13066 		if eval \${$cacheid+:} false; then :
   13067   $as_echo_n "(cached) " >&6
   13068 else
   13069   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13070 /* end confdefs.h.  */
   13071 int i;
   13072 int
   13073 main ()
   13074 {
   13075 
   13076   ;
   13077   return 0;
   13078 }
   13079 _ACEOF
   13080 if ac_fn_c_try_link "$LINENO"; then :
   13081   eval $cacheid=yes
   13082 else
   13083   eval $cacheid=no
   13084 fi
   13085 rm -f core conftest.err conftest.$ac_objext \
   13086     conftest$ac_exeext conftest.$ac_ext
   13087 fi
   13088 
   13089 
   13090 		CFLAGS="$xorg_testset_save_CFLAGS"
   13091 
   13092 		eval supported=\$$cacheid
   13093 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13094 $as_echo "$supported" >&6; }
   13095 		if test "$supported" = "yes" ; then
   13096 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   13097 			found="yes"
   13098 		fi
   13099 	fi
   13100 
   13101 	if test $found = "no" ; then
   13102 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13103 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13104 		fi
   13105 
   13106 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13107 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13108 		fi
   13109 
   13110 		CFLAGS="$CFLAGS -fd"
   13111 
   13112 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   13113 $as_echo_n "checking if $CC supports -fd... " >&6; }
   13114 		cacheid=xorg_cv_cc_flag__fd
   13115 		if eval \${$cacheid+:} false; then :
   13116   $as_echo_n "(cached) " >&6
   13117 else
   13118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13119 /* end confdefs.h.  */
   13120 int i;
   13121 int
   13122 main ()
   13123 {
   13124 
   13125   ;
   13126   return 0;
   13127 }
   13128 _ACEOF
   13129 if ac_fn_c_try_link "$LINENO"; then :
   13130   eval $cacheid=yes
   13131 else
   13132   eval $cacheid=no
   13133 fi
   13134 rm -f core conftest.err conftest.$ac_objext \
   13135     conftest$ac_exeext conftest.$ac_ext
   13136 fi
   13137 
   13138 
   13139 		CFLAGS="$xorg_testset_save_CFLAGS"
   13140 
   13141 		eval supported=\$$cacheid
   13142 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13143 $as_echo "$supported" >&6; }
   13144 		if test "$supported" = "yes" ; then
   13145 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   13146 			found="yes"
   13147 		fi
   13148 	fi
   13149 
   13150 
   13151 
   13152 
   13153 
   13154 
   13155 
   13156 
   13157 
   13158 
   13159 
   13160 
   13161 
   13162 
   13163 
   13164 xorg_testset_save_CFLAGS="$CFLAGS"
   13165 
   13166 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13167 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13168 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13169 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13170 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13171   $as_echo_n "(cached) " >&6
   13172 else
   13173   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13174 /* end confdefs.h.  */
   13175 int i;
   13176 _ACEOF
   13177 if ac_fn_c_try_compile "$LINENO"; then :
   13178   xorg_cv_cc_flag_unknown_warning_option=yes
   13179 else
   13180   xorg_cv_cc_flag_unknown_warning_option=no
   13181 fi
   13182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13183 fi
   13184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13185 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13186 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13187 	CFLAGS="$xorg_testset_save_CFLAGS"
   13188 fi
   13189 
   13190 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13191 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13192 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13193 	fi
   13194 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13195 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13196 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13197 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13198   $as_echo_n "(cached) " >&6
   13199 else
   13200   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13201 /* end confdefs.h.  */
   13202 int i;
   13203 _ACEOF
   13204 if ac_fn_c_try_compile "$LINENO"; then :
   13205   xorg_cv_cc_flag_unused_command_line_argument=yes
   13206 else
   13207   xorg_cv_cc_flag_unused_command_line_argument=no
   13208 fi
   13209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13210 fi
   13211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13212 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13213 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13214 	CFLAGS="$xorg_testset_save_CFLAGS"
   13215 fi
   13216 
   13217 found="no"
   13218 
   13219 	if test $found = "no" ; then
   13220 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13221 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13222 		fi
   13223 
   13224 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13225 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13226 		fi
   13227 
   13228 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   13229 
   13230 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   13231 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   13232 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   13233 		if eval \${$cacheid+:} false; then :
   13234   $as_echo_n "(cached) " >&6
   13235 else
   13236   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13237 /* end confdefs.h.  */
   13238 int i;
   13239 int
   13240 main ()
   13241 {
   13242 
   13243   ;
   13244   return 0;
   13245 }
   13246 _ACEOF
   13247 if ac_fn_c_try_link "$LINENO"; then :
   13248   eval $cacheid=yes
   13249 else
   13250   eval $cacheid=no
   13251 fi
   13252 rm -f core conftest.err conftest.$ac_objext \
   13253     conftest$ac_exeext conftest.$ac_ext
   13254 fi
   13255 
   13256 
   13257 		CFLAGS="$xorg_testset_save_CFLAGS"
   13258 
   13259 		eval supported=\$$cacheid
   13260 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13261 $as_echo "$supported" >&6; }
   13262 		if test "$supported" = "yes" ; then
   13263 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   13264 			found="yes"
   13265 		fi
   13266 	fi
   13267 
   13268 
   13269 
   13270 
   13271 
   13272 # This chunk adds additional warnings that could catch undesired effects.
   13273 
   13274 
   13275 
   13276 
   13277 
   13278 
   13279 
   13280 
   13281 
   13282 
   13283 
   13284 
   13285 
   13286 xorg_testset_save_CFLAGS="$CFLAGS"
   13287 
   13288 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13289 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13290 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13291 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13292 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13293   $as_echo_n "(cached) " >&6
   13294 else
   13295   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13296 /* end confdefs.h.  */
   13297 int i;
   13298 _ACEOF
   13299 if ac_fn_c_try_compile "$LINENO"; then :
   13300   xorg_cv_cc_flag_unknown_warning_option=yes
   13301 else
   13302   xorg_cv_cc_flag_unknown_warning_option=no
   13303 fi
   13304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13305 fi
   13306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13307 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13308 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13309 	CFLAGS="$xorg_testset_save_CFLAGS"
   13310 fi
   13311 
   13312 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13313 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13314 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13315 	fi
   13316 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13317 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13318 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13319 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13320   $as_echo_n "(cached) " >&6
   13321 else
   13322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13323 /* end confdefs.h.  */
   13324 int i;
   13325 _ACEOF
   13326 if ac_fn_c_try_compile "$LINENO"; then :
   13327   xorg_cv_cc_flag_unused_command_line_argument=yes
   13328 else
   13329   xorg_cv_cc_flag_unused_command_line_argument=no
   13330 fi
   13331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13332 fi
   13333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13334 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13335 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13336 	CFLAGS="$xorg_testset_save_CFLAGS"
   13337 fi
   13338 
   13339 found="no"
   13340 
   13341 	if test $found = "no" ; then
   13342 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13343 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13344 		fi
   13345 
   13346 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13347 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13348 		fi
   13349 
   13350 		CFLAGS="$CFLAGS -Wunused"
   13351 
   13352 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   13353 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   13354 		cacheid=xorg_cv_cc_flag__Wunused
   13355 		if eval \${$cacheid+:} false; then :
   13356   $as_echo_n "(cached) " >&6
   13357 else
   13358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13359 /* end confdefs.h.  */
   13360 int i;
   13361 int
   13362 main ()
   13363 {
   13364 
   13365   ;
   13366   return 0;
   13367 }
   13368 _ACEOF
   13369 if ac_fn_c_try_link "$LINENO"; then :
   13370   eval $cacheid=yes
   13371 else
   13372   eval $cacheid=no
   13373 fi
   13374 rm -f core conftest.err conftest.$ac_objext \
   13375     conftest$ac_exeext conftest.$ac_ext
   13376 fi
   13377 
   13378 
   13379 		CFLAGS="$xorg_testset_save_CFLAGS"
   13380 
   13381 		eval supported=\$$cacheid
   13382 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13383 $as_echo "$supported" >&6; }
   13384 		if test "$supported" = "yes" ; then
   13385 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   13386 			found="yes"
   13387 		fi
   13388 	fi
   13389 
   13390 
   13391 
   13392 
   13393 
   13394 
   13395 
   13396 
   13397 
   13398 
   13399 
   13400 
   13401 
   13402 
   13403 
   13404 xorg_testset_save_CFLAGS="$CFLAGS"
   13405 
   13406 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13407 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13408 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13409 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13410 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13411   $as_echo_n "(cached) " >&6
   13412 else
   13413   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13414 /* end confdefs.h.  */
   13415 int i;
   13416 _ACEOF
   13417 if ac_fn_c_try_compile "$LINENO"; then :
   13418   xorg_cv_cc_flag_unknown_warning_option=yes
   13419 else
   13420   xorg_cv_cc_flag_unknown_warning_option=no
   13421 fi
   13422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13423 fi
   13424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13425 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13426 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13427 	CFLAGS="$xorg_testset_save_CFLAGS"
   13428 fi
   13429 
   13430 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13431 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13432 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13433 	fi
   13434 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13435 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13436 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13437 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13438   $as_echo_n "(cached) " >&6
   13439 else
   13440   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13441 /* end confdefs.h.  */
   13442 int i;
   13443 _ACEOF
   13444 if ac_fn_c_try_compile "$LINENO"; then :
   13445   xorg_cv_cc_flag_unused_command_line_argument=yes
   13446 else
   13447   xorg_cv_cc_flag_unused_command_line_argument=no
   13448 fi
   13449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13450 fi
   13451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13452 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13453 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13454 	CFLAGS="$xorg_testset_save_CFLAGS"
   13455 fi
   13456 
   13457 found="no"
   13458 
   13459 	if test $found = "no" ; then
   13460 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13461 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13462 		fi
   13463 
   13464 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13465 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13466 		fi
   13467 
   13468 		CFLAGS="$CFLAGS -Wuninitialized"
   13469 
   13470 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   13471 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   13472 		cacheid=xorg_cv_cc_flag__Wuninitialized
   13473 		if eval \${$cacheid+:} false; then :
   13474   $as_echo_n "(cached) " >&6
   13475 else
   13476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13477 /* end confdefs.h.  */
   13478 int i;
   13479 int
   13480 main ()
   13481 {
   13482 
   13483   ;
   13484   return 0;
   13485 }
   13486 _ACEOF
   13487 if ac_fn_c_try_link "$LINENO"; then :
   13488   eval $cacheid=yes
   13489 else
   13490   eval $cacheid=no
   13491 fi
   13492 rm -f core conftest.err conftest.$ac_objext \
   13493     conftest$ac_exeext conftest.$ac_ext
   13494 fi
   13495 
   13496 
   13497 		CFLAGS="$xorg_testset_save_CFLAGS"
   13498 
   13499 		eval supported=\$$cacheid
   13500 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13501 $as_echo "$supported" >&6; }
   13502 		if test "$supported" = "yes" ; then
   13503 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   13504 			found="yes"
   13505 		fi
   13506 	fi
   13507 
   13508 
   13509 
   13510 
   13511 
   13512 
   13513 
   13514 
   13515 
   13516 
   13517 
   13518 
   13519 
   13520 
   13521 
   13522 xorg_testset_save_CFLAGS="$CFLAGS"
   13523 
   13524 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13525 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13526 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13527 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13528 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13529   $as_echo_n "(cached) " >&6
   13530 else
   13531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13532 /* end confdefs.h.  */
   13533 int i;
   13534 _ACEOF
   13535 if ac_fn_c_try_compile "$LINENO"; then :
   13536   xorg_cv_cc_flag_unknown_warning_option=yes
   13537 else
   13538   xorg_cv_cc_flag_unknown_warning_option=no
   13539 fi
   13540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13541 fi
   13542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13543 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13544 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13545 	CFLAGS="$xorg_testset_save_CFLAGS"
   13546 fi
   13547 
   13548 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13549 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13550 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13551 	fi
   13552 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13553 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13554 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13555 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13556   $as_echo_n "(cached) " >&6
   13557 else
   13558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13559 /* end confdefs.h.  */
   13560 int i;
   13561 _ACEOF
   13562 if ac_fn_c_try_compile "$LINENO"; then :
   13563   xorg_cv_cc_flag_unused_command_line_argument=yes
   13564 else
   13565   xorg_cv_cc_flag_unused_command_line_argument=no
   13566 fi
   13567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13568 fi
   13569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13570 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13571 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13572 	CFLAGS="$xorg_testset_save_CFLAGS"
   13573 fi
   13574 
   13575 found="no"
   13576 
   13577 	if test $found = "no" ; then
   13578 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13579 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13580 		fi
   13581 
   13582 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13583 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13584 		fi
   13585 
   13586 		CFLAGS="$CFLAGS -Wshadow"
   13587 
   13588 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   13589 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   13590 		cacheid=xorg_cv_cc_flag__Wshadow
   13591 		if eval \${$cacheid+:} false; then :
   13592   $as_echo_n "(cached) " >&6
   13593 else
   13594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13595 /* end confdefs.h.  */
   13596 int i;
   13597 int
   13598 main ()
   13599 {
   13600 
   13601   ;
   13602   return 0;
   13603 }
   13604 _ACEOF
   13605 if ac_fn_c_try_link "$LINENO"; then :
   13606   eval $cacheid=yes
   13607 else
   13608   eval $cacheid=no
   13609 fi
   13610 rm -f core conftest.err conftest.$ac_objext \
   13611     conftest$ac_exeext conftest.$ac_ext
   13612 fi
   13613 
   13614 
   13615 		CFLAGS="$xorg_testset_save_CFLAGS"
   13616 
   13617 		eval supported=\$$cacheid
   13618 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13619 $as_echo "$supported" >&6; }
   13620 		if test "$supported" = "yes" ; then
   13621 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   13622 			found="yes"
   13623 		fi
   13624 	fi
   13625 
   13626 
   13627 
   13628 
   13629 
   13630 
   13631 
   13632 
   13633 
   13634 
   13635 
   13636 
   13637 
   13638 
   13639 
   13640 xorg_testset_save_CFLAGS="$CFLAGS"
   13641 
   13642 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13643 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13644 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13645 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13646 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13647   $as_echo_n "(cached) " >&6
   13648 else
   13649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13650 /* end confdefs.h.  */
   13651 int i;
   13652 _ACEOF
   13653 if ac_fn_c_try_compile "$LINENO"; then :
   13654   xorg_cv_cc_flag_unknown_warning_option=yes
   13655 else
   13656   xorg_cv_cc_flag_unknown_warning_option=no
   13657 fi
   13658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13659 fi
   13660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13661 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13662 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13663 	CFLAGS="$xorg_testset_save_CFLAGS"
   13664 fi
   13665 
   13666 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13667 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13668 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13669 	fi
   13670 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13671 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13672 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13673 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13674   $as_echo_n "(cached) " >&6
   13675 else
   13676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13677 /* end confdefs.h.  */
   13678 int i;
   13679 _ACEOF
   13680 if ac_fn_c_try_compile "$LINENO"; then :
   13681   xorg_cv_cc_flag_unused_command_line_argument=yes
   13682 else
   13683   xorg_cv_cc_flag_unused_command_line_argument=no
   13684 fi
   13685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13686 fi
   13687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13688 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13689 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13690 	CFLAGS="$xorg_testset_save_CFLAGS"
   13691 fi
   13692 
   13693 found="no"
   13694 
   13695 	if test $found = "no" ; then
   13696 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13697 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13698 		fi
   13699 
   13700 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13701 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13702 		fi
   13703 
   13704 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   13705 
   13706 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   13707 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   13708 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   13709 		if eval \${$cacheid+:} false; then :
   13710   $as_echo_n "(cached) " >&6
   13711 else
   13712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13713 /* end confdefs.h.  */
   13714 int i;
   13715 int
   13716 main ()
   13717 {
   13718 
   13719   ;
   13720   return 0;
   13721 }
   13722 _ACEOF
   13723 if ac_fn_c_try_link "$LINENO"; then :
   13724   eval $cacheid=yes
   13725 else
   13726   eval $cacheid=no
   13727 fi
   13728 rm -f core conftest.err conftest.$ac_objext \
   13729     conftest$ac_exeext conftest.$ac_ext
   13730 fi
   13731 
   13732 
   13733 		CFLAGS="$xorg_testset_save_CFLAGS"
   13734 
   13735 		eval supported=\$$cacheid
   13736 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13737 $as_echo "$supported" >&6; }
   13738 		if test "$supported" = "yes" ; then
   13739 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   13740 			found="yes"
   13741 		fi
   13742 	fi
   13743 
   13744 
   13745 
   13746 
   13747 
   13748 
   13749 
   13750 
   13751 
   13752 
   13753 
   13754 
   13755 
   13756 
   13757 
   13758 xorg_testset_save_CFLAGS="$CFLAGS"
   13759 
   13760 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13761 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13762 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13763 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13764 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13765   $as_echo_n "(cached) " >&6
   13766 else
   13767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13768 /* end confdefs.h.  */
   13769 int i;
   13770 _ACEOF
   13771 if ac_fn_c_try_compile "$LINENO"; then :
   13772   xorg_cv_cc_flag_unknown_warning_option=yes
   13773 else
   13774   xorg_cv_cc_flag_unknown_warning_option=no
   13775 fi
   13776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13777 fi
   13778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13779 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13780 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13781 	CFLAGS="$xorg_testset_save_CFLAGS"
   13782 fi
   13783 
   13784 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13785 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13786 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13787 	fi
   13788 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13789 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13790 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13791 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13792   $as_echo_n "(cached) " >&6
   13793 else
   13794   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13795 /* end confdefs.h.  */
   13796 int i;
   13797 _ACEOF
   13798 if ac_fn_c_try_compile "$LINENO"; then :
   13799   xorg_cv_cc_flag_unused_command_line_argument=yes
   13800 else
   13801   xorg_cv_cc_flag_unused_command_line_argument=no
   13802 fi
   13803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13804 fi
   13805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13806 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13807 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13808 	CFLAGS="$xorg_testset_save_CFLAGS"
   13809 fi
   13810 
   13811 found="no"
   13812 
   13813 	if test $found = "no" ; then
   13814 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13815 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13816 		fi
   13817 
   13818 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13819 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13820 		fi
   13821 
   13822 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   13823 
   13824 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   13825 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   13826 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   13827 		if eval \${$cacheid+:} false; then :
   13828   $as_echo_n "(cached) " >&6
   13829 else
   13830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13831 /* end confdefs.h.  */
   13832 int i;
   13833 int
   13834 main ()
   13835 {
   13836 
   13837   ;
   13838   return 0;
   13839 }
   13840 _ACEOF
   13841 if ac_fn_c_try_link "$LINENO"; then :
   13842   eval $cacheid=yes
   13843 else
   13844   eval $cacheid=no
   13845 fi
   13846 rm -f core conftest.err conftest.$ac_objext \
   13847     conftest$ac_exeext conftest.$ac_ext
   13848 fi
   13849 
   13850 
   13851 		CFLAGS="$xorg_testset_save_CFLAGS"
   13852 
   13853 		eval supported=\$$cacheid
   13854 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13855 $as_echo "$supported" >&6; }
   13856 		if test "$supported" = "yes" ; then
   13857 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   13858 			found="yes"
   13859 		fi
   13860 	fi
   13861 
   13862 
   13863 
   13864 
   13865 
   13866 
   13867 
   13868 
   13869 
   13870 
   13871 
   13872 
   13873 
   13874 
   13875 
   13876 xorg_testset_save_CFLAGS="$CFLAGS"
   13877 
   13878 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13879 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13880 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13881 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13882 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13883   $as_echo_n "(cached) " >&6
   13884 else
   13885   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13886 /* end confdefs.h.  */
   13887 int i;
   13888 _ACEOF
   13889 if ac_fn_c_try_compile "$LINENO"; then :
   13890   xorg_cv_cc_flag_unknown_warning_option=yes
   13891 else
   13892   xorg_cv_cc_flag_unknown_warning_option=no
   13893 fi
   13894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13895 fi
   13896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13897 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13898 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13899 	CFLAGS="$xorg_testset_save_CFLAGS"
   13900 fi
   13901 
   13902 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13903 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13904 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13905 	fi
   13906 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13907 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13908 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13909 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13910   $as_echo_n "(cached) " >&6
   13911 else
   13912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13913 /* end confdefs.h.  */
   13914 int i;
   13915 _ACEOF
   13916 if ac_fn_c_try_compile "$LINENO"; then :
   13917   xorg_cv_cc_flag_unused_command_line_argument=yes
   13918 else
   13919   xorg_cv_cc_flag_unused_command_line_argument=no
   13920 fi
   13921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13922 fi
   13923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13924 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13925 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13926 	CFLAGS="$xorg_testset_save_CFLAGS"
   13927 fi
   13928 
   13929 found="no"
   13930 
   13931 	if test $found = "no" ; then
   13932 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13933 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13934 		fi
   13935 
   13936 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13937 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13938 		fi
   13939 
   13940 		CFLAGS="$CFLAGS -Wredundant-decls"
   13941 
   13942 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   13943 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   13944 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   13945 		if eval \${$cacheid+:} false; then :
   13946   $as_echo_n "(cached) " >&6
   13947 else
   13948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13949 /* end confdefs.h.  */
   13950 int i;
   13951 int
   13952 main ()
   13953 {
   13954 
   13955   ;
   13956   return 0;
   13957 }
   13958 _ACEOF
   13959 if ac_fn_c_try_link "$LINENO"; then :
   13960   eval $cacheid=yes
   13961 else
   13962   eval $cacheid=no
   13963 fi
   13964 rm -f core conftest.err conftest.$ac_objext \
   13965     conftest$ac_exeext conftest.$ac_ext
   13966 fi
   13967 
   13968 
   13969 		CFLAGS="$xorg_testset_save_CFLAGS"
   13970 
   13971 		eval supported=\$$cacheid
   13972 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13973 $as_echo "$supported" >&6; }
   13974 		if test "$supported" = "yes" ; then
   13975 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   13976 			found="yes"
   13977 		fi
   13978 	fi
   13979 
   13980 
   13981 
   13982 
   13983 
   13984 
   13985 
   13986 
   13987 
   13988 
   13989 
   13990 
   13991 
   13992 
   13993 
   13994 xorg_testset_save_CFLAGS="$CFLAGS"
   13995 
   13996 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13997 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13998 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13999 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14000 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14001   $as_echo_n "(cached) " >&6
   14002 else
   14003   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14004 /* end confdefs.h.  */
   14005 int i;
   14006 _ACEOF
   14007 if ac_fn_c_try_compile "$LINENO"; then :
   14008   xorg_cv_cc_flag_unknown_warning_option=yes
   14009 else
   14010   xorg_cv_cc_flag_unknown_warning_option=no
   14011 fi
   14012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14013 fi
   14014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14015 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14016 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14017 	CFLAGS="$xorg_testset_save_CFLAGS"
   14018 fi
   14019 
   14020 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14021 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14022 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14023 	fi
   14024 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14025 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14026 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14027 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14028   $as_echo_n "(cached) " >&6
   14029 else
   14030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14031 /* end confdefs.h.  */
   14032 int i;
   14033 _ACEOF
   14034 if ac_fn_c_try_compile "$LINENO"; then :
   14035   xorg_cv_cc_flag_unused_command_line_argument=yes
   14036 else
   14037   xorg_cv_cc_flag_unused_command_line_argument=no
   14038 fi
   14039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14040 fi
   14041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14042 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14043 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14044 	CFLAGS="$xorg_testset_save_CFLAGS"
   14045 fi
   14046 
   14047 found="no"
   14048 
   14049 	if test $found = "no" ; then
   14050 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14051 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14052 		fi
   14053 
   14054 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14055 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14056 		fi
   14057 
   14058 		CFLAGS="$CFLAGS -Wlogical-op"
   14059 
   14060 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   14061 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   14062 		cacheid=xorg_cv_cc_flag__Wlogical_op
   14063 		if eval \${$cacheid+:} false; then :
   14064   $as_echo_n "(cached) " >&6
   14065 else
   14066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14067 /* end confdefs.h.  */
   14068 int i;
   14069 int
   14070 main ()
   14071 {
   14072 
   14073   ;
   14074   return 0;
   14075 }
   14076 _ACEOF
   14077 if ac_fn_c_try_link "$LINENO"; then :
   14078   eval $cacheid=yes
   14079 else
   14080   eval $cacheid=no
   14081 fi
   14082 rm -f core conftest.err conftest.$ac_objext \
   14083     conftest$ac_exeext conftest.$ac_ext
   14084 fi
   14085 
   14086 
   14087 		CFLAGS="$xorg_testset_save_CFLAGS"
   14088 
   14089 		eval supported=\$$cacheid
   14090 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14091 $as_echo "$supported" >&6; }
   14092 		if test "$supported" = "yes" ; then
   14093 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   14094 			found="yes"
   14095 		fi
   14096 	fi
   14097 
   14098 
   14099 
   14100 # These are currently disabled because they are noisy.  They will be enabled
   14101 # in the future once the codebase is sufficiently modernized to silence
   14102 # them.  For now, I don't want them to drown out the other warnings.
   14103 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   14104 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   14105 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   14106 
   14107 # Turn some warnings into errors, so we don't accidently get successful builds
   14108 # when there are problems that should be fixed.
   14109 
   14110 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   14111 
   14112 
   14113 
   14114 
   14115 
   14116 
   14117 
   14118 
   14119 
   14120 
   14121 
   14122 
   14123 
   14124 xorg_testset_save_CFLAGS="$CFLAGS"
   14125 
   14126 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14127 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14128 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14129 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14130 if ${xorg_cv_cc_flag_unknown_warning_option+:} 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_unknown_warning_option=yes
   14139 else
   14140   xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   14145 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14146 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14147 	CFLAGS="$xorg_testset_save_CFLAGS"
   14148 fi
   14149 
   14150 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14151 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14152 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14153 	fi
   14154 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14155 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14156 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14157 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14158   $as_echo_n "(cached) " >&6
   14159 else
   14160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14161 /* end confdefs.h.  */
   14162 int i;
   14163 _ACEOF
   14164 if ac_fn_c_try_compile "$LINENO"; then :
   14165   xorg_cv_cc_flag_unused_command_line_argument=yes
   14166 else
   14167   xorg_cv_cc_flag_unused_command_line_argument=no
   14168 fi
   14169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14170 fi
   14171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14172 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14173 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14174 	CFLAGS="$xorg_testset_save_CFLAGS"
   14175 fi
   14176 
   14177 found="no"
   14178 
   14179 	if test $found = "no" ; then
   14180 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14181 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14182 		fi
   14183 
   14184 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14185 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14186 		fi
   14187 
   14188 		CFLAGS="$CFLAGS -Werror=implicit"
   14189 
   14190 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   14191 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   14192 		cacheid=xorg_cv_cc_flag__Werror_implicit
   14193 		if eval \${$cacheid+:} false; then :
   14194   $as_echo_n "(cached) " >&6
   14195 else
   14196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14197 /* end confdefs.h.  */
   14198 int i;
   14199 int
   14200 main ()
   14201 {
   14202 
   14203   ;
   14204   return 0;
   14205 }
   14206 _ACEOF
   14207 if ac_fn_c_try_link "$LINENO"; then :
   14208   eval $cacheid=yes
   14209 else
   14210   eval $cacheid=no
   14211 fi
   14212 rm -f core conftest.err conftest.$ac_objext \
   14213     conftest$ac_exeext conftest.$ac_ext
   14214 fi
   14215 
   14216 
   14217 		CFLAGS="$xorg_testset_save_CFLAGS"
   14218 
   14219 		eval supported=\$$cacheid
   14220 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14221 $as_echo "$supported" >&6; }
   14222 		if test "$supported" = "yes" ; then
   14223 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   14224 			found="yes"
   14225 		fi
   14226 	fi
   14227 
   14228 	if test $found = "no" ; then
   14229 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14230 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14231 		fi
   14232 
   14233 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14234 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14235 		fi
   14236 
   14237 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14238 
   14239 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   14240 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   14241 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   14242 		if eval \${$cacheid+:} false; then :
   14243   $as_echo_n "(cached) " >&6
   14244 else
   14245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14246 /* end confdefs.h.  */
   14247 int i;
   14248 int
   14249 main ()
   14250 {
   14251 
   14252   ;
   14253   return 0;
   14254 }
   14255 _ACEOF
   14256 if ac_fn_c_try_link "$LINENO"; then :
   14257   eval $cacheid=yes
   14258 else
   14259   eval $cacheid=no
   14260 fi
   14261 rm -f core conftest.err conftest.$ac_objext \
   14262     conftest$ac_exeext conftest.$ac_ext
   14263 fi
   14264 
   14265 
   14266 		CFLAGS="$xorg_testset_save_CFLAGS"
   14267 
   14268 		eval supported=\$$cacheid
   14269 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14270 $as_echo "$supported" >&6; }
   14271 		if test "$supported" = "yes" ; then
   14272 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14273 			found="yes"
   14274 		fi
   14275 	fi
   14276 
   14277 
   14278 
   14279 
   14280 
   14281 
   14282 
   14283 
   14284 
   14285 
   14286 
   14287 
   14288 
   14289 
   14290 
   14291 xorg_testset_save_CFLAGS="$CFLAGS"
   14292 
   14293 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14294 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14295 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14296 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14297 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14298   $as_echo_n "(cached) " >&6
   14299 else
   14300   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14301 /* end confdefs.h.  */
   14302 int i;
   14303 _ACEOF
   14304 if ac_fn_c_try_compile "$LINENO"; then :
   14305   xorg_cv_cc_flag_unknown_warning_option=yes
   14306 else
   14307   xorg_cv_cc_flag_unknown_warning_option=no
   14308 fi
   14309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14310 fi
   14311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14312 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14313 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14314 	CFLAGS="$xorg_testset_save_CFLAGS"
   14315 fi
   14316 
   14317 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14318 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14319 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14320 	fi
   14321 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14322 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14323 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14324 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14325   $as_echo_n "(cached) " >&6
   14326 else
   14327   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14328 /* end confdefs.h.  */
   14329 int i;
   14330 _ACEOF
   14331 if ac_fn_c_try_compile "$LINENO"; then :
   14332   xorg_cv_cc_flag_unused_command_line_argument=yes
   14333 else
   14334   xorg_cv_cc_flag_unused_command_line_argument=no
   14335 fi
   14336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14337 fi
   14338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14339 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14340 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14341 	CFLAGS="$xorg_testset_save_CFLAGS"
   14342 fi
   14343 
   14344 found="no"
   14345 
   14346 	if test $found = "no" ; then
   14347 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14348 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14349 		fi
   14350 
   14351 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14352 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14353 		fi
   14354 
   14355 		CFLAGS="$CFLAGS -Werror=nonnull"
   14356 
   14357 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   14358 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   14359 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   14360 		if eval \${$cacheid+:} false; then :
   14361   $as_echo_n "(cached) " >&6
   14362 else
   14363   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14364 /* end confdefs.h.  */
   14365 int i;
   14366 int
   14367 main ()
   14368 {
   14369 
   14370   ;
   14371   return 0;
   14372 }
   14373 _ACEOF
   14374 if ac_fn_c_try_link "$LINENO"; then :
   14375   eval $cacheid=yes
   14376 else
   14377   eval $cacheid=no
   14378 fi
   14379 rm -f core conftest.err conftest.$ac_objext \
   14380     conftest$ac_exeext conftest.$ac_ext
   14381 fi
   14382 
   14383 
   14384 		CFLAGS="$xorg_testset_save_CFLAGS"
   14385 
   14386 		eval supported=\$$cacheid
   14387 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14388 $as_echo "$supported" >&6; }
   14389 		if test "$supported" = "yes" ; then
   14390 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   14391 			found="yes"
   14392 		fi
   14393 	fi
   14394 
   14395 
   14396 
   14397 
   14398 
   14399 
   14400 
   14401 
   14402 
   14403 
   14404 
   14405 
   14406 
   14407 
   14408 
   14409 xorg_testset_save_CFLAGS="$CFLAGS"
   14410 
   14411 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14412 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14413 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14414 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14415 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14416   $as_echo_n "(cached) " >&6
   14417 else
   14418   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14419 /* end confdefs.h.  */
   14420 int i;
   14421 _ACEOF
   14422 if ac_fn_c_try_compile "$LINENO"; then :
   14423   xorg_cv_cc_flag_unknown_warning_option=yes
   14424 else
   14425   xorg_cv_cc_flag_unknown_warning_option=no
   14426 fi
   14427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14428 fi
   14429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14430 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14431 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14432 	CFLAGS="$xorg_testset_save_CFLAGS"
   14433 fi
   14434 
   14435 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14436 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14437 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14438 	fi
   14439 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14440 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14441 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14442 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14443   $as_echo_n "(cached) " >&6
   14444 else
   14445   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14446 /* end confdefs.h.  */
   14447 int i;
   14448 _ACEOF
   14449 if ac_fn_c_try_compile "$LINENO"; then :
   14450   xorg_cv_cc_flag_unused_command_line_argument=yes
   14451 else
   14452   xorg_cv_cc_flag_unused_command_line_argument=no
   14453 fi
   14454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14455 fi
   14456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14457 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14458 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14459 	CFLAGS="$xorg_testset_save_CFLAGS"
   14460 fi
   14461 
   14462 found="no"
   14463 
   14464 	if test $found = "no" ; then
   14465 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14466 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14467 		fi
   14468 
   14469 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14470 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14471 		fi
   14472 
   14473 		CFLAGS="$CFLAGS -Werror=init-self"
   14474 
   14475 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   14476 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   14477 		cacheid=xorg_cv_cc_flag__Werror_init_self
   14478 		if eval \${$cacheid+:} false; then :
   14479   $as_echo_n "(cached) " >&6
   14480 else
   14481   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14482 /* end confdefs.h.  */
   14483 int i;
   14484 int
   14485 main ()
   14486 {
   14487 
   14488   ;
   14489   return 0;
   14490 }
   14491 _ACEOF
   14492 if ac_fn_c_try_link "$LINENO"; then :
   14493   eval $cacheid=yes
   14494 else
   14495   eval $cacheid=no
   14496 fi
   14497 rm -f core conftest.err conftest.$ac_objext \
   14498     conftest$ac_exeext conftest.$ac_ext
   14499 fi
   14500 
   14501 
   14502 		CFLAGS="$xorg_testset_save_CFLAGS"
   14503 
   14504 		eval supported=\$$cacheid
   14505 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14506 $as_echo "$supported" >&6; }
   14507 		if test "$supported" = "yes" ; then
   14508 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   14509 			found="yes"
   14510 		fi
   14511 	fi
   14512 
   14513 
   14514 
   14515 
   14516 
   14517 
   14518 
   14519 
   14520 
   14521 
   14522 
   14523 
   14524 
   14525 
   14526 
   14527 xorg_testset_save_CFLAGS="$CFLAGS"
   14528 
   14529 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14530 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14531 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14532 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14533 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14534   $as_echo_n "(cached) " >&6
   14535 else
   14536   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14537 /* end confdefs.h.  */
   14538 int i;
   14539 _ACEOF
   14540 if ac_fn_c_try_compile "$LINENO"; then :
   14541   xorg_cv_cc_flag_unknown_warning_option=yes
   14542 else
   14543   xorg_cv_cc_flag_unknown_warning_option=no
   14544 fi
   14545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14546 fi
   14547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14548 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14549 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14550 	CFLAGS="$xorg_testset_save_CFLAGS"
   14551 fi
   14552 
   14553 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14554 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14555 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14556 	fi
   14557 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14558 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14559 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14560 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14561   $as_echo_n "(cached) " >&6
   14562 else
   14563   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14564 /* end confdefs.h.  */
   14565 int i;
   14566 _ACEOF
   14567 if ac_fn_c_try_compile "$LINENO"; then :
   14568   xorg_cv_cc_flag_unused_command_line_argument=yes
   14569 else
   14570   xorg_cv_cc_flag_unused_command_line_argument=no
   14571 fi
   14572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14573 fi
   14574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14575 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14576 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14577 	CFLAGS="$xorg_testset_save_CFLAGS"
   14578 fi
   14579 
   14580 found="no"
   14581 
   14582 	if test $found = "no" ; then
   14583 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14584 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14585 		fi
   14586 
   14587 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14588 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14589 		fi
   14590 
   14591 		CFLAGS="$CFLAGS -Werror=main"
   14592 
   14593 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   14594 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   14595 		cacheid=xorg_cv_cc_flag__Werror_main
   14596 		if eval \${$cacheid+:} false; then :
   14597   $as_echo_n "(cached) " >&6
   14598 else
   14599   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14600 /* end confdefs.h.  */
   14601 int i;
   14602 int
   14603 main ()
   14604 {
   14605 
   14606   ;
   14607   return 0;
   14608 }
   14609 _ACEOF
   14610 if ac_fn_c_try_link "$LINENO"; then :
   14611   eval $cacheid=yes
   14612 else
   14613   eval $cacheid=no
   14614 fi
   14615 rm -f core conftest.err conftest.$ac_objext \
   14616     conftest$ac_exeext conftest.$ac_ext
   14617 fi
   14618 
   14619 
   14620 		CFLAGS="$xorg_testset_save_CFLAGS"
   14621 
   14622 		eval supported=\$$cacheid
   14623 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14624 $as_echo "$supported" >&6; }
   14625 		if test "$supported" = "yes" ; then
   14626 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   14627 			found="yes"
   14628 		fi
   14629 	fi
   14630 
   14631 
   14632 
   14633 
   14634 
   14635 
   14636 
   14637 
   14638 
   14639 
   14640 
   14641 
   14642 
   14643 
   14644 
   14645 xorg_testset_save_CFLAGS="$CFLAGS"
   14646 
   14647 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14648 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14649 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14650 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14651 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14652   $as_echo_n "(cached) " >&6
   14653 else
   14654   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14655 /* end confdefs.h.  */
   14656 int i;
   14657 _ACEOF
   14658 if ac_fn_c_try_compile "$LINENO"; then :
   14659   xorg_cv_cc_flag_unknown_warning_option=yes
   14660 else
   14661   xorg_cv_cc_flag_unknown_warning_option=no
   14662 fi
   14663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14664 fi
   14665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14666 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14667 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14668 	CFLAGS="$xorg_testset_save_CFLAGS"
   14669 fi
   14670 
   14671 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14672 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14673 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14674 	fi
   14675 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14676 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14677 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14678 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14679   $as_echo_n "(cached) " >&6
   14680 else
   14681   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14682 /* end confdefs.h.  */
   14683 int i;
   14684 _ACEOF
   14685 if ac_fn_c_try_compile "$LINENO"; then :
   14686   xorg_cv_cc_flag_unused_command_line_argument=yes
   14687 else
   14688   xorg_cv_cc_flag_unused_command_line_argument=no
   14689 fi
   14690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14691 fi
   14692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14693 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14694 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14695 	CFLAGS="$xorg_testset_save_CFLAGS"
   14696 fi
   14697 
   14698 found="no"
   14699 
   14700 	if test $found = "no" ; then
   14701 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14702 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14703 		fi
   14704 
   14705 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14706 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14707 		fi
   14708 
   14709 		CFLAGS="$CFLAGS -Werror=missing-braces"
   14710 
   14711 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   14712 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   14713 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   14714 		if eval \${$cacheid+:} false; then :
   14715   $as_echo_n "(cached) " >&6
   14716 else
   14717   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14718 /* end confdefs.h.  */
   14719 int i;
   14720 int
   14721 main ()
   14722 {
   14723 
   14724   ;
   14725   return 0;
   14726 }
   14727 _ACEOF
   14728 if ac_fn_c_try_link "$LINENO"; then :
   14729   eval $cacheid=yes
   14730 else
   14731   eval $cacheid=no
   14732 fi
   14733 rm -f core conftest.err conftest.$ac_objext \
   14734     conftest$ac_exeext conftest.$ac_ext
   14735 fi
   14736 
   14737 
   14738 		CFLAGS="$xorg_testset_save_CFLAGS"
   14739 
   14740 		eval supported=\$$cacheid
   14741 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14742 $as_echo "$supported" >&6; }
   14743 		if test "$supported" = "yes" ; then
   14744 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   14745 			found="yes"
   14746 		fi
   14747 	fi
   14748 
   14749 
   14750 
   14751 
   14752 
   14753 
   14754 
   14755 
   14756 
   14757 
   14758 
   14759 
   14760 
   14761 
   14762 
   14763 xorg_testset_save_CFLAGS="$CFLAGS"
   14764 
   14765 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14766 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14767 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14768 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14769 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14770   $as_echo_n "(cached) " >&6
   14771 else
   14772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14773 /* end confdefs.h.  */
   14774 int i;
   14775 _ACEOF
   14776 if ac_fn_c_try_compile "$LINENO"; then :
   14777   xorg_cv_cc_flag_unknown_warning_option=yes
   14778 else
   14779   xorg_cv_cc_flag_unknown_warning_option=no
   14780 fi
   14781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14782 fi
   14783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14784 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14785 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14786 	CFLAGS="$xorg_testset_save_CFLAGS"
   14787 fi
   14788 
   14789 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14790 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14791 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14792 	fi
   14793 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14794 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14795 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14796 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14797   $as_echo_n "(cached) " >&6
   14798 else
   14799   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14800 /* end confdefs.h.  */
   14801 int i;
   14802 _ACEOF
   14803 if ac_fn_c_try_compile "$LINENO"; then :
   14804   xorg_cv_cc_flag_unused_command_line_argument=yes
   14805 else
   14806   xorg_cv_cc_flag_unused_command_line_argument=no
   14807 fi
   14808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14809 fi
   14810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14811 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14812 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14813 	CFLAGS="$xorg_testset_save_CFLAGS"
   14814 fi
   14815 
   14816 found="no"
   14817 
   14818 	if test $found = "no" ; then
   14819 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14820 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14821 		fi
   14822 
   14823 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14824 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14825 		fi
   14826 
   14827 		CFLAGS="$CFLAGS -Werror=sequence-point"
   14828 
   14829 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   14830 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   14831 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   14832 		if eval \${$cacheid+:} false; then :
   14833   $as_echo_n "(cached) " >&6
   14834 else
   14835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14836 /* end confdefs.h.  */
   14837 int i;
   14838 int
   14839 main ()
   14840 {
   14841 
   14842   ;
   14843   return 0;
   14844 }
   14845 _ACEOF
   14846 if ac_fn_c_try_link "$LINENO"; then :
   14847   eval $cacheid=yes
   14848 else
   14849   eval $cacheid=no
   14850 fi
   14851 rm -f core conftest.err conftest.$ac_objext \
   14852     conftest$ac_exeext conftest.$ac_ext
   14853 fi
   14854 
   14855 
   14856 		CFLAGS="$xorg_testset_save_CFLAGS"
   14857 
   14858 		eval supported=\$$cacheid
   14859 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14860 $as_echo "$supported" >&6; }
   14861 		if test "$supported" = "yes" ; then
   14862 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   14863 			found="yes"
   14864 		fi
   14865 	fi
   14866 
   14867 
   14868 
   14869 
   14870 
   14871 
   14872 
   14873 
   14874 
   14875 
   14876 
   14877 
   14878 
   14879 
   14880 
   14881 xorg_testset_save_CFLAGS="$CFLAGS"
   14882 
   14883 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14884 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14885 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14886 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14887 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14888   $as_echo_n "(cached) " >&6
   14889 else
   14890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14891 /* end confdefs.h.  */
   14892 int i;
   14893 _ACEOF
   14894 if ac_fn_c_try_compile "$LINENO"; then :
   14895   xorg_cv_cc_flag_unknown_warning_option=yes
   14896 else
   14897   xorg_cv_cc_flag_unknown_warning_option=no
   14898 fi
   14899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14900 fi
   14901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14902 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14903 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14904 	CFLAGS="$xorg_testset_save_CFLAGS"
   14905 fi
   14906 
   14907 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14908 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14909 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14910 	fi
   14911 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14912 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14913 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14914 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14915   $as_echo_n "(cached) " >&6
   14916 else
   14917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14918 /* end confdefs.h.  */
   14919 int i;
   14920 _ACEOF
   14921 if ac_fn_c_try_compile "$LINENO"; then :
   14922   xorg_cv_cc_flag_unused_command_line_argument=yes
   14923 else
   14924   xorg_cv_cc_flag_unused_command_line_argument=no
   14925 fi
   14926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14927 fi
   14928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14929 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14930 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14931 	CFLAGS="$xorg_testset_save_CFLAGS"
   14932 fi
   14933 
   14934 found="no"
   14935 
   14936 	if test $found = "no" ; then
   14937 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14938 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14939 		fi
   14940 
   14941 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14942 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14943 		fi
   14944 
   14945 		CFLAGS="$CFLAGS -Werror=return-type"
   14946 
   14947 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   14948 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   14949 		cacheid=xorg_cv_cc_flag__Werror_return_type
   14950 		if eval \${$cacheid+:} false; then :
   14951   $as_echo_n "(cached) " >&6
   14952 else
   14953   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14954 /* end confdefs.h.  */
   14955 int i;
   14956 int
   14957 main ()
   14958 {
   14959 
   14960   ;
   14961   return 0;
   14962 }
   14963 _ACEOF
   14964 if ac_fn_c_try_link "$LINENO"; then :
   14965   eval $cacheid=yes
   14966 else
   14967   eval $cacheid=no
   14968 fi
   14969 rm -f core conftest.err conftest.$ac_objext \
   14970     conftest$ac_exeext conftest.$ac_ext
   14971 fi
   14972 
   14973 
   14974 		CFLAGS="$xorg_testset_save_CFLAGS"
   14975 
   14976 		eval supported=\$$cacheid
   14977 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14978 $as_echo "$supported" >&6; }
   14979 		if test "$supported" = "yes" ; then
   14980 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   14981 			found="yes"
   14982 		fi
   14983 	fi
   14984 
   14985 	if test $found = "no" ; then
   14986 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14987 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14988 		fi
   14989 
   14990 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14991 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14992 		fi
   14993 
   14994 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14995 
   14996 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   14997 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   14998 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   14999 		if eval \${$cacheid+:} false; then :
   15000   $as_echo_n "(cached) " >&6
   15001 else
   15002   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15003 /* end confdefs.h.  */
   15004 int i;
   15005 int
   15006 main ()
   15007 {
   15008 
   15009   ;
   15010   return 0;
   15011 }
   15012 _ACEOF
   15013 if ac_fn_c_try_link "$LINENO"; then :
   15014   eval $cacheid=yes
   15015 else
   15016   eval $cacheid=no
   15017 fi
   15018 rm -f core conftest.err conftest.$ac_objext \
   15019     conftest$ac_exeext conftest.$ac_ext
   15020 fi
   15021 
   15022 
   15023 		CFLAGS="$xorg_testset_save_CFLAGS"
   15024 
   15025 		eval supported=\$$cacheid
   15026 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15027 $as_echo "$supported" >&6; }
   15028 		if test "$supported" = "yes" ; then
   15029 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   15030 			found="yes"
   15031 		fi
   15032 	fi
   15033 
   15034 
   15035 
   15036 
   15037 
   15038 
   15039 
   15040 
   15041 
   15042 
   15043 
   15044 
   15045 
   15046 
   15047 
   15048 xorg_testset_save_CFLAGS="$CFLAGS"
   15049 
   15050 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15051 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15052 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15053 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15054 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15055   $as_echo_n "(cached) " >&6
   15056 else
   15057   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15058 /* end confdefs.h.  */
   15059 int i;
   15060 _ACEOF
   15061 if ac_fn_c_try_compile "$LINENO"; then :
   15062   xorg_cv_cc_flag_unknown_warning_option=yes
   15063 else
   15064   xorg_cv_cc_flag_unknown_warning_option=no
   15065 fi
   15066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15067 fi
   15068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15069 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15070 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15071 	CFLAGS="$xorg_testset_save_CFLAGS"
   15072 fi
   15073 
   15074 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15075 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15076 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15077 	fi
   15078 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15079 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15080 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15081 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15082   $as_echo_n "(cached) " >&6
   15083 else
   15084   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15085 /* end confdefs.h.  */
   15086 int i;
   15087 _ACEOF
   15088 if ac_fn_c_try_compile "$LINENO"; then :
   15089   xorg_cv_cc_flag_unused_command_line_argument=yes
   15090 else
   15091   xorg_cv_cc_flag_unused_command_line_argument=no
   15092 fi
   15093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15094 fi
   15095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15096 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15097 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15098 	CFLAGS="$xorg_testset_save_CFLAGS"
   15099 fi
   15100 
   15101 found="no"
   15102 
   15103 	if test $found = "no" ; then
   15104 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15105 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15106 		fi
   15107 
   15108 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15109 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15110 		fi
   15111 
   15112 		CFLAGS="$CFLAGS -Werror=trigraphs"
   15113 
   15114 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   15115 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   15116 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   15117 		if eval \${$cacheid+:} false; then :
   15118   $as_echo_n "(cached) " >&6
   15119 else
   15120   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15121 /* end confdefs.h.  */
   15122 int i;
   15123 int
   15124 main ()
   15125 {
   15126 
   15127   ;
   15128   return 0;
   15129 }
   15130 _ACEOF
   15131 if ac_fn_c_try_link "$LINENO"; then :
   15132   eval $cacheid=yes
   15133 else
   15134   eval $cacheid=no
   15135 fi
   15136 rm -f core conftest.err conftest.$ac_objext \
   15137     conftest$ac_exeext conftest.$ac_ext
   15138 fi
   15139 
   15140 
   15141 		CFLAGS="$xorg_testset_save_CFLAGS"
   15142 
   15143 		eval supported=\$$cacheid
   15144 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15145 $as_echo "$supported" >&6; }
   15146 		if test "$supported" = "yes" ; then
   15147 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   15148 			found="yes"
   15149 		fi
   15150 	fi
   15151 
   15152 
   15153 
   15154 
   15155 
   15156 
   15157 
   15158 
   15159 
   15160 
   15161 
   15162 
   15163 
   15164 
   15165 
   15166 xorg_testset_save_CFLAGS="$CFLAGS"
   15167 
   15168 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15169 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15170 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15171 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15172 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15173   $as_echo_n "(cached) " >&6
   15174 else
   15175   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15176 /* end confdefs.h.  */
   15177 int i;
   15178 _ACEOF
   15179 if ac_fn_c_try_compile "$LINENO"; then :
   15180   xorg_cv_cc_flag_unknown_warning_option=yes
   15181 else
   15182   xorg_cv_cc_flag_unknown_warning_option=no
   15183 fi
   15184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15185 fi
   15186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15187 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15188 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15189 	CFLAGS="$xorg_testset_save_CFLAGS"
   15190 fi
   15191 
   15192 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15193 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15194 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15195 	fi
   15196 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15197 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15198 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15199 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15200   $as_echo_n "(cached) " >&6
   15201 else
   15202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15203 /* end confdefs.h.  */
   15204 int i;
   15205 _ACEOF
   15206 if ac_fn_c_try_compile "$LINENO"; then :
   15207   xorg_cv_cc_flag_unused_command_line_argument=yes
   15208 else
   15209   xorg_cv_cc_flag_unused_command_line_argument=no
   15210 fi
   15211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15212 fi
   15213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15214 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15215 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15216 	CFLAGS="$xorg_testset_save_CFLAGS"
   15217 fi
   15218 
   15219 found="no"
   15220 
   15221 	if test $found = "no" ; then
   15222 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15223 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15224 		fi
   15225 
   15226 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15227 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15228 		fi
   15229 
   15230 		CFLAGS="$CFLAGS -Werror=array-bounds"
   15231 
   15232 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   15233 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   15234 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   15235 		if eval \${$cacheid+:} false; then :
   15236   $as_echo_n "(cached) " >&6
   15237 else
   15238   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15239 /* end confdefs.h.  */
   15240 int i;
   15241 int
   15242 main ()
   15243 {
   15244 
   15245   ;
   15246   return 0;
   15247 }
   15248 _ACEOF
   15249 if ac_fn_c_try_link "$LINENO"; then :
   15250   eval $cacheid=yes
   15251 else
   15252   eval $cacheid=no
   15253 fi
   15254 rm -f core conftest.err conftest.$ac_objext \
   15255     conftest$ac_exeext conftest.$ac_ext
   15256 fi
   15257 
   15258 
   15259 		CFLAGS="$xorg_testset_save_CFLAGS"
   15260 
   15261 		eval supported=\$$cacheid
   15262 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15263 $as_echo "$supported" >&6; }
   15264 		if test "$supported" = "yes" ; then
   15265 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   15266 			found="yes"
   15267 		fi
   15268 	fi
   15269 
   15270 
   15271 
   15272 
   15273 
   15274 
   15275 
   15276 
   15277 
   15278 
   15279 
   15280 
   15281 
   15282 
   15283 
   15284 xorg_testset_save_CFLAGS="$CFLAGS"
   15285 
   15286 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15287 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15288 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15289 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15290 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15291   $as_echo_n "(cached) " >&6
   15292 else
   15293   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15294 /* end confdefs.h.  */
   15295 int i;
   15296 _ACEOF
   15297 if ac_fn_c_try_compile "$LINENO"; then :
   15298   xorg_cv_cc_flag_unknown_warning_option=yes
   15299 else
   15300   xorg_cv_cc_flag_unknown_warning_option=no
   15301 fi
   15302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15303 fi
   15304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15305 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15306 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15307 	CFLAGS="$xorg_testset_save_CFLAGS"
   15308 fi
   15309 
   15310 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15311 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15312 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15313 	fi
   15314 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15315 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15316 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15317 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15318   $as_echo_n "(cached) " >&6
   15319 else
   15320   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15321 /* end confdefs.h.  */
   15322 int i;
   15323 _ACEOF
   15324 if ac_fn_c_try_compile "$LINENO"; then :
   15325   xorg_cv_cc_flag_unused_command_line_argument=yes
   15326 else
   15327   xorg_cv_cc_flag_unused_command_line_argument=no
   15328 fi
   15329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15330 fi
   15331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15332 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15333 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15334 	CFLAGS="$xorg_testset_save_CFLAGS"
   15335 fi
   15336 
   15337 found="no"
   15338 
   15339 	if test $found = "no" ; then
   15340 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15341 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15342 		fi
   15343 
   15344 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15345 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15346 		fi
   15347 
   15348 		CFLAGS="$CFLAGS -Werror=write-strings"
   15349 
   15350 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   15351 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   15352 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   15353 		if eval \${$cacheid+:} false; then :
   15354   $as_echo_n "(cached) " >&6
   15355 else
   15356   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15357 /* end confdefs.h.  */
   15358 int i;
   15359 int
   15360 main ()
   15361 {
   15362 
   15363   ;
   15364   return 0;
   15365 }
   15366 _ACEOF
   15367 if ac_fn_c_try_link "$LINENO"; then :
   15368   eval $cacheid=yes
   15369 else
   15370   eval $cacheid=no
   15371 fi
   15372 rm -f core conftest.err conftest.$ac_objext \
   15373     conftest$ac_exeext conftest.$ac_ext
   15374 fi
   15375 
   15376 
   15377 		CFLAGS="$xorg_testset_save_CFLAGS"
   15378 
   15379 		eval supported=\$$cacheid
   15380 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15381 $as_echo "$supported" >&6; }
   15382 		if test "$supported" = "yes" ; then
   15383 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   15384 			found="yes"
   15385 		fi
   15386 	fi
   15387 
   15388 
   15389 
   15390 
   15391 
   15392 
   15393 
   15394 
   15395 
   15396 
   15397 
   15398 
   15399 
   15400 
   15401 
   15402 xorg_testset_save_CFLAGS="$CFLAGS"
   15403 
   15404 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15405 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15406 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15407 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15408 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15409   $as_echo_n "(cached) " >&6
   15410 else
   15411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15412 /* end confdefs.h.  */
   15413 int i;
   15414 _ACEOF
   15415 if ac_fn_c_try_compile "$LINENO"; then :
   15416   xorg_cv_cc_flag_unknown_warning_option=yes
   15417 else
   15418   xorg_cv_cc_flag_unknown_warning_option=no
   15419 fi
   15420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15421 fi
   15422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15423 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15424 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15425 	CFLAGS="$xorg_testset_save_CFLAGS"
   15426 fi
   15427 
   15428 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15429 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15430 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15431 	fi
   15432 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15433 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15434 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15435 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15436   $as_echo_n "(cached) " >&6
   15437 else
   15438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15439 /* end confdefs.h.  */
   15440 int i;
   15441 _ACEOF
   15442 if ac_fn_c_try_compile "$LINENO"; then :
   15443   xorg_cv_cc_flag_unused_command_line_argument=yes
   15444 else
   15445   xorg_cv_cc_flag_unused_command_line_argument=no
   15446 fi
   15447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15448 fi
   15449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15450 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15451 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15452 	CFLAGS="$xorg_testset_save_CFLAGS"
   15453 fi
   15454 
   15455 found="no"
   15456 
   15457 	if test $found = "no" ; then
   15458 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15459 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15460 		fi
   15461 
   15462 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15463 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15464 		fi
   15465 
   15466 		CFLAGS="$CFLAGS -Werror=address"
   15467 
   15468 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   15469 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   15470 		cacheid=xorg_cv_cc_flag__Werror_address
   15471 		if eval \${$cacheid+:} false; then :
   15472   $as_echo_n "(cached) " >&6
   15473 else
   15474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15475 /* end confdefs.h.  */
   15476 int i;
   15477 int
   15478 main ()
   15479 {
   15480 
   15481   ;
   15482   return 0;
   15483 }
   15484 _ACEOF
   15485 if ac_fn_c_try_link "$LINENO"; then :
   15486   eval $cacheid=yes
   15487 else
   15488   eval $cacheid=no
   15489 fi
   15490 rm -f core conftest.err conftest.$ac_objext \
   15491     conftest$ac_exeext conftest.$ac_ext
   15492 fi
   15493 
   15494 
   15495 		CFLAGS="$xorg_testset_save_CFLAGS"
   15496 
   15497 		eval supported=\$$cacheid
   15498 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15499 $as_echo "$supported" >&6; }
   15500 		if test "$supported" = "yes" ; then
   15501 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   15502 			found="yes"
   15503 		fi
   15504 	fi
   15505 
   15506 
   15507 
   15508 
   15509 
   15510 
   15511 
   15512 
   15513 
   15514 
   15515 
   15516 
   15517 
   15518 
   15519 
   15520 xorg_testset_save_CFLAGS="$CFLAGS"
   15521 
   15522 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15523 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15524 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15525 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15526 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15527   $as_echo_n "(cached) " >&6
   15528 else
   15529   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15530 /* end confdefs.h.  */
   15531 int i;
   15532 _ACEOF
   15533 if ac_fn_c_try_compile "$LINENO"; then :
   15534   xorg_cv_cc_flag_unknown_warning_option=yes
   15535 else
   15536   xorg_cv_cc_flag_unknown_warning_option=no
   15537 fi
   15538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15539 fi
   15540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15541 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15542 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15543 	CFLAGS="$xorg_testset_save_CFLAGS"
   15544 fi
   15545 
   15546 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15547 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15548 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15549 	fi
   15550 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15551 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15552 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15553 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15554   $as_echo_n "(cached) " >&6
   15555 else
   15556   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15557 /* end confdefs.h.  */
   15558 int i;
   15559 _ACEOF
   15560 if ac_fn_c_try_compile "$LINENO"; then :
   15561   xorg_cv_cc_flag_unused_command_line_argument=yes
   15562 else
   15563   xorg_cv_cc_flag_unused_command_line_argument=no
   15564 fi
   15565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15566 fi
   15567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15568 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15569 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15570 	CFLAGS="$xorg_testset_save_CFLAGS"
   15571 fi
   15572 
   15573 found="no"
   15574 
   15575 	if test $found = "no" ; then
   15576 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15577 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15578 		fi
   15579 
   15580 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15581 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15582 		fi
   15583 
   15584 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   15585 
   15586 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   15587 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   15588 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   15589 		if eval \${$cacheid+:} false; then :
   15590   $as_echo_n "(cached) " >&6
   15591 else
   15592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15593 /* end confdefs.h.  */
   15594 int i;
   15595 int
   15596 main ()
   15597 {
   15598 
   15599   ;
   15600   return 0;
   15601 }
   15602 _ACEOF
   15603 if ac_fn_c_try_link "$LINENO"; then :
   15604   eval $cacheid=yes
   15605 else
   15606   eval $cacheid=no
   15607 fi
   15608 rm -f core conftest.err conftest.$ac_objext \
   15609     conftest$ac_exeext conftest.$ac_ext
   15610 fi
   15611 
   15612 
   15613 		CFLAGS="$xorg_testset_save_CFLAGS"
   15614 
   15615 		eval supported=\$$cacheid
   15616 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15617 $as_echo "$supported" >&6; }
   15618 		if test "$supported" = "yes" ; then
   15619 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   15620 			found="yes"
   15621 		fi
   15622 	fi
   15623 
   15624 	if test $found = "no" ; then
   15625 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15626 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15627 		fi
   15628 
   15629 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15630 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15631 		fi
   15632 
   15633 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15634 
   15635 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   15636 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   15637 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   15638 		if eval \${$cacheid+:} false; then :
   15639   $as_echo_n "(cached) " >&6
   15640 else
   15641   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15642 /* end confdefs.h.  */
   15643 int i;
   15644 int
   15645 main ()
   15646 {
   15647 
   15648   ;
   15649   return 0;
   15650 }
   15651 _ACEOF
   15652 if ac_fn_c_try_link "$LINENO"; then :
   15653   eval $cacheid=yes
   15654 else
   15655   eval $cacheid=no
   15656 fi
   15657 rm -f core conftest.err conftest.$ac_objext \
   15658     conftest$ac_exeext conftest.$ac_ext
   15659 fi
   15660 
   15661 
   15662 		CFLAGS="$xorg_testset_save_CFLAGS"
   15663 
   15664 		eval supported=\$$cacheid
   15665 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15666 $as_echo "$supported" >&6; }
   15667 		if test "$supported" = "yes" ; then
   15668 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15669 			found="yes"
   15670 		fi
   15671 	fi
   15672 
   15673 
   15674 
   15675 
   15676 
   15677 
   15678 
   15679 
   15680 
   15681 
   15682 
   15683 
   15684 
   15685 
   15686 
   15687 xorg_testset_save_CFLAGS="$CFLAGS"
   15688 
   15689 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15690 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15691 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15692 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15693 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15694   $as_echo_n "(cached) " >&6
   15695 else
   15696   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15697 /* end confdefs.h.  */
   15698 int i;
   15699 _ACEOF
   15700 if ac_fn_c_try_compile "$LINENO"; then :
   15701   xorg_cv_cc_flag_unknown_warning_option=yes
   15702 else
   15703   xorg_cv_cc_flag_unknown_warning_option=no
   15704 fi
   15705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15706 fi
   15707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15708 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15709 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15710 	CFLAGS="$xorg_testset_save_CFLAGS"
   15711 fi
   15712 
   15713 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15714 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15715 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15716 	fi
   15717 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15718 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15719 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15720 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15721   $as_echo_n "(cached) " >&6
   15722 else
   15723   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15724 /* end confdefs.h.  */
   15725 int i;
   15726 _ACEOF
   15727 if ac_fn_c_try_compile "$LINENO"; then :
   15728   xorg_cv_cc_flag_unused_command_line_argument=yes
   15729 else
   15730   xorg_cv_cc_flag_unused_command_line_argument=no
   15731 fi
   15732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15733 fi
   15734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15735 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15736 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15737 	CFLAGS="$xorg_testset_save_CFLAGS"
   15738 fi
   15739 
   15740 found="no"
   15741 
   15742 	if test $found = "no" ; then
   15743 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15744 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15745 		fi
   15746 
   15747 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15748 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15749 		fi
   15750 
   15751 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   15752 
   15753 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   15754 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   15755 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   15756 		if eval \${$cacheid+:} false; then :
   15757   $as_echo_n "(cached) " >&6
   15758 else
   15759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15760 /* end confdefs.h.  */
   15761 int i;
   15762 int
   15763 main ()
   15764 {
   15765 
   15766   ;
   15767   return 0;
   15768 }
   15769 _ACEOF
   15770 if ac_fn_c_try_link "$LINENO"; then :
   15771   eval $cacheid=yes
   15772 else
   15773   eval $cacheid=no
   15774 fi
   15775 rm -f core conftest.err conftest.$ac_objext \
   15776     conftest$ac_exeext conftest.$ac_ext
   15777 fi
   15778 
   15779 
   15780 		CFLAGS="$xorg_testset_save_CFLAGS"
   15781 
   15782 		eval supported=\$$cacheid
   15783 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15784 $as_echo "$supported" >&6; }
   15785 		if test "$supported" = "yes" ; then
   15786 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   15787 			found="yes"
   15788 		fi
   15789 	fi
   15790 
   15791  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   15792 else
   15793 { $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
   15794 $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;}
   15795 
   15796 
   15797 
   15798 
   15799 
   15800 
   15801 
   15802 
   15803 
   15804 
   15805 
   15806 
   15807 
   15808 xorg_testset_save_CFLAGS="$CFLAGS"
   15809 
   15810 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15811 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15812 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15813 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15814 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15815   $as_echo_n "(cached) " >&6
   15816 else
   15817   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15818 /* end confdefs.h.  */
   15819 int i;
   15820 _ACEOF
   15821 if ac_fn_c_try_compile "$LINENO"; then :
   15822   xorg_cv_cc_flag_unknown_warning_option=yes
   15823 else
   15824   xorg_cv_cc_flag_unknown_warning_option=no
   15825 fi
   15826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15827 fi
   15828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15829 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15830 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15831 	CFLAGS="$xorg_testset_save_CFLAGS"
   15832 fi
   15833 
   15834 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15835 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15836 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15837 	fi
   15838 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15839 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15840 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15841 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15842   $as_echo_n "(cached) " >&6
   15843 else
   15844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15845 /* end confdefs.h.  */
   15846 int i;
   15847 _ACEOF
   15848 if ac_fn_c_try_compile "$LINENO"; then :
   15849   xorg_cv_cc_flag_unused_command_line_argument=yes
   15850 else
   15851   xorg_cv_cc_flag_unused_command_line_argument=no
   15852 fi
   15853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15854 fi
   15855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15856 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15857 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15858 	CFLAGS="$xorg_testset_save_CFLAGS"
   15859 fi
   15860 
   15861 found="no"
   15862 
   15863 	if test $found = "no" ; then
   15864 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15865 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15866 		fi
   15867 
   15868 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15869 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15870 		fi
   15871 
   15872 		CFLAGS="$CFLAGS -Wimplicit"
   15873 
   15874 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   15875 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   15876 		cacheid=xorg_cv_cc_flag__Wimplicit
   15877 		if eval \${$cacheid+:} false; then :
   15878   $as_echo_n "(cached) " >&6
   15879 else
   15880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15881 /* end confdefs.h.  */
   15882 int i;
   15883 int
   15884 main ()
   15885 {
   15886 
   15887   ;
   15888   return 0;
   15889 }
   15890 _ACEOF
   15891 if ac_fn_c_try_link "$LINENO"; then :
   15892   eval $cacheid=yes
   15893 else
   15894   eval $cacheid=no
   15895 fi
   15896 rm -f core conftest.err conftest.$ac_objext \
   15897     conftest$ac_exeext conftest.$ac_ext
   15898 fi
   15899 
   15900 
   15901 		CFLAGS="$xorg_testset_save_CFLAGS"
   15902 
   15903 		eval supported=\$$cacheid
   15904 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15905 $as_echo "$supported" >&6; }
   15906 		if test "$supported" = "yes" ; then
   15907 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   15908 			found="yes"
   15909 		fi
   15910 	fi
   15911 
   15912 
   15913 
   15914 
   15915 
   15916 
   15917 
   15918 
   15919 
   15920 
   15921 
   15922 
   15923 
   15924 
   15925 
   15926 xorg_testset_save_CFLAGS="$CFLAGS"
   15927 
   15928 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15929 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15930 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15931 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15932 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15933   $as_echo_n "(cached) " >&6
   15934 else
   15935   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15936 /* end confdefs.h.  */
   15937 int i;
   15938 _ACEOF
   15939 if ac_fn_c_try_compile "$LINENO"; then :
   15940   xorg_cv_cc_flag_unknown_warning_option=yes
   15941 else
   15942   xorg_cv_cc_flag_unknown_warning_option=no
   15943 fi
   15944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15945 fi
   15946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15947 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15948 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15949 	CFLAGS="$xorg_testset_save_CFLAGS"
   15950 fi
   15951 
   15952 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15953 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15954 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15955 	fi
   15956 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15957 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15958 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15959 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15960   $as_echo_n "(cached) " >&6
   15961 else
   15962   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15963 /* end confdefs.h.  */
   15964 int i;
   15965 _ACEOF
   15966 if ac_fn_c_try_compile "$LINENO"; then :
   15967   xorg_cv_cc_flag_unused_command_line_argument=yes
   15968 else
   15969   xorg_cv_cc_flag_unused_command_line_argument=no
   15970 fi
   15971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15972 fi
   15973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15974 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15975 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15976 	CFLAGS="$xorg_testset_save_CFLAGS"
   15977 fi
   15978 
   15979 found="no"
   15980 
   15981 	if test $found = "no" ; then
   15982 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15983 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15984 		fi
   15985 
   15986 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15987 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15988 		fi
   15989 
   15990 		CFLAGS="$CFLAGS -Wnonnull"
   15991 
   15992 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   15993 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   15994 		cacheid=xorg_cv_cc_flag__Wnonnull
   15995 		if eval \${$cacheid+:} false; then :
   15996   $as_echo_n "(cached) " >&6
   15997 else
   15998   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15999 /* end confdefs.h.  */
   16000 int i;
   16001 int
   16002 main ()
   16003 {
   16004 
   16005   ;
   16006   return 0;
   16007 }
   16008 _ACEOF
   16009 if ac_fn_c_try_link "$LINENO"; then :
   16010   eval $cacheid=yes
   16011 else
   16012   eval $cacheid=no
   16013 fi
   16014 rm -f core conftest.err conftest.$ac_objext \
   16015     conftest$ac_exeext conftest.$ac_ext
   16016 fi
   16017 
   16018 
   16019 		CFLAGS="$xorg_testset_save_CFLAGS"
   16020 
   16021 		eval supported=\$$cacheid
   16022 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16023 $as_echo "$supported" >&6; }
   16024 		if test "$supported" = "yes" ; then
   16025 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   16026 			found="yes"
   16027 		fi
   16028 	fi
   16029 
   16030 
   16031 
   16032 
   16033 
   16034 
   16035 
   16036 
   16037 
   16038 
   16039 
   16040 
   16041 
   16042 
   16043 
   16044 xorg_testset_save_CFLAGS="$CFLAGS"
   16045 
   16046 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16047 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16048 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16049 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16050 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16051   $as_echo_n "(cached) " >&6
   16052 else
   16053   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16054 /* end confdefs.h.  */
   16055 int i;
   16056 _ACEOF
   16057 if ac_fn_c_try_compile "$LINENO"; then :
   16058   xorg_cv_cc_flag_unknown_warning_option=yes
   16059 else
   16060   xorg_cv_cc_flag_unknown_warning_option=no
   16061 fi
   16062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16063 fi
   16064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16065 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16066 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16067 	CFLAGS="$xorg_testset_save_CFLAGS"
   16068 fi
   16069 
   16070 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16071 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16072 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16073 	fi
   16074 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16075 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16076 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16077 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16078   $as_echo_n "(cached) " >&6
   16079 else
   16080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16081 /* end confdefs.h.  */
   16082 int i;
   16083 _ACEOF
   16084 if ac_fn_c_try_compile "$LINENO"; then :
   16085   xorg_cv_cc_flag_unused_command_line_argument=yes
   16086 else
   16087   xorg_cv_cc_flag_unused_command_line_argument=no
   16088 fi
   16089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16090 fi
   16091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16092 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16093 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16094 	CFLAGS="$xorg_testset_save_CFLAGS"
   16095 fi
   16096 
   16097 found="no"
   16098 
   16099 	if test $found = "no" ; then
   16100 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16101 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16102 		fi
   16103 
   16104 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16105 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16106 		fi
   16107 
   16108 		CFLAGS="$CFLAGS -Winit-self"
   16109 
   16110 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   16111 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   16112 		cacheid=xorg_cv_cc_flag__Winit_self
   16113 		if eval \${$cacheid+:} false; then :
   16114   $as_echo_n "(cached) " >&6
   16115 else
   16116   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16117 /* end confdefs.h.  */
   16118 int i;
   16119 int
   16120 main ()
   16121 {
   16122 
   16123   ;
   16124   return 0;
   16125 }
   16126 _ACEOF
   16127 if ac_fn_c_try_link "$LINENO"; then :
   16128   eval $cacheid=yes
   16129 else
   16130   eval $cacheid=no
   16131 fi
   16132 rm -f core conftest.err conftest.$ac_objext \
   16133     conftest$ac_exeext conftest.$ac_ext
   16134 fi
   16135 
   16136 
   16137 		CFLAGS="$xorg_testset_save_CFLAGS"
   16138 
   16139 		eval supported=\$$cacheid
   16140 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16141 $as_echo "$supported" >&6; }
   16142 		if test "$supported" = "yes" ; then
   16143 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   16144 			found="yes"
   16145 		fi
   16146 	fi
   16147 
   16148 
   16149 
   16150 
   16151 
   16152 
   16153 
   16154 
   16155 
   16156 
   16157 
   16158 
   16159 
   16160 
   16161 
   16162 xorg_testset_save_CFLAGS="$CFLAGS"
   16163 
   16164 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16165 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16166 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16167 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16168 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16169   $as_echo_n "(cached) " >&6
   16170 else
   16171   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16172 /* end confdefs.h.  */
   16173 int i;
   16174 _ACEOF
   16175 if ac_fn_c_try_compile "$LINENO"; then :
   16176   xorg_cv_cc_flag_unknown_warning_option=yes
   16177 else
   16178   xorg_cv_cc_flag_unknown_warning_option=no
   16179 fi
   16180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16181 fi
   16182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16183 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16184 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16185 	CFLAGS="$xorg_testset_save_CFLAGS"
   16186 fi
   16187 
   16188 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16189 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16190 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16191 	fi
   16192 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16193 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16194 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16195 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16196   $as_echo_n "(cached) " >&6
   16197 else
   16198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16199 /* end confdefs.h.  */
   16200 int i;
   16201 _ACEOF
   16202 if ac_fn_c_try_compile "$LINENO"; then :
   16203   xorg_cv_cc_flag_unused_command_line_argument=yes
   16204 else
   16205   xorg_cv_cc_flag_unused_command_line_argument=no
   16206 fi
   16207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16208 fi
   16209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16210 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16211 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16212 	CFLAGS="$xorg_testset_save_CFLAGS"
   16213 fi
   16214 
   16215 found="no"
   16216 
   16217 	if test $found = "no" ; then
   16218 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16219 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16220 		fi
   16221 
   16222 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16223 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16224 		fi
   16225 
   16226 		CFLAGS="$CFLAGS -Wmain"
   16227 
   16228 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   16229 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   16230 		cacheid=xorg_cv_cc_flag__Wmain
   16231 		if eval \${$cacheid+:} false; then :
   16232   $as_echo_n "(cached) " >&6
   16233 else
   16234   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16235 /* end confdefs.h.  */
   16236 int i;
   16237 int
   16238 main ()
   16239 {
   16240 
   16241   ;
   16242   return 0;
   16243 }
   16244 _ACEOF
   16245 if ac_fn_c_try_link "$LINENO"; then :
   16246   eval $cacheid=yes
   16247 else
   16248   eval $cacheid=no
   16249 fi
   16250 rm -f core conftest.err conftest.$ac_objext \
   16251     conftest$ac_exeext conftest.$ac_ext
   16252 fi
   16253 
   16254 
   16255 		CFLAGS="$xorg_testset_save_CFLAGS"
   16256 
   16257 		eval supported=\$$cacheid
   16258 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16259 $as_echo "$supported" >&6; }
   16260 		if test "$supported" = "yes" ; then
   16261 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   16262 			found="yes"
   16263 		fi
   16264 	fi
   16265 
   16266 
   16267 
   16268 
   16269 
   16270 
   16271 
   16272 
   16273 
   16274 
   16275 
   16276 
   16277 
   16278 
   16279 
   16280 xorg_testset_save_CFLAGS="$CFLAGS"
   16281 
   16282 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16283 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16284 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16285 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16286 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16287   $as_echo_n "(cached) " >&6
   16288 else
   16289   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16290 /* end confdefs.h.  */
   16291 int i;
   16292 _ACEOF
   16293 if ac_fn_c_try_compile "$LINENO"; then :
   16294   xorg_cv_cc_flag_unknown_warning_option=yes
   16295 else
   16296   xorg_cv_cc_flag_unknown_warning_option=no
   16297 fi
   16298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16299 fi
   16300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16301 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16302 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16303 	CFLAGS="$xorg_testset_save_CFLAGS"
   16304 fi
   16305 
   16306 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16307 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16308 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16309 	fi
   16310 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16311 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16312 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16313 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16314   $as_echo_n "(cached) " >&6
   16315 else
   16316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16317 /* end confdefs.h.  */
   16318 int i;
   16319 _ACEOF
   16320 if ac_fn_c_try_compile "$LINENO"; then :
   16321   xorg_cv_cc_flag_unused_command_line_argument=yes
   16322 else
   16323   xorg_cv_cc_flag_unused_command_line_argument=no
   16324 fi
   16325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16326 fi
   16327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16328 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16329 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16330 	CFLAGS="$xorg_testset_save_CFLAGS"
   16331 fi
   16332 
   16333 found="no"
   16334 
   16335 	if test $found = "no" ; then
   16336 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16337 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16338 		fi
   16339 
   16340 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16341 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16342 		fi
   16343 
   16344 		CFLAGS="$CFLAGS -Wmissing-braces"
   16345 
   16346 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   16347 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   16348 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   16349 		if eval \${$cacheid+:} false; then :
   16350   $as_echo_n "(cached) " >&6
   16351 else
   16352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16353 /* end confdefs.h.  */
   16354 int i;
   16355 int
   16356 main ()
   16357 {
   16358 
   16359   ;
   16360   return 0;
   16361 }
   16362 _ACEOF
   16363 if ac_fn_c_try_link "$LINENO"; then :
   16364   eval $cacheid=yes
   16365 else
   16366   eval $cacheid=no
   16367 fi
   16368 rm -f core conftest.err conftest.$ac_objext \
   16369     conftest$ac_exeext conftest.$ac_ext
   16370 fi
   16371 
   16372 
   16373 		CFLAGS="$xorg_testset_save_CFLAGS"
   16374 
   16375 		eval supported=\$$cacheid
   16376 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16377 $as_echo "$supported" >&6; }
   16378 		if test "$supported" = "yes" ; then
   16379 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   16380 			found="yes"
   16381 		fi
   16382 	fi
   16383 
   16384 
   16385 
   16386 
   16387 
   16388 
   16389 
   16390 
   16391 
   16392 
   16393 
   16394 
   16395 
   16396 
   16397 
   16398 xorg_testset_save_CFLAGS="$CFLAGS"
   16399 
   16400 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16401 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16402 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16403 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16404 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16405   $as_echo_n "(cached) " >&6
   16406 else
   16407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16408 /* end confdefs.h.  */
   16409 int i;
   16410 _ACEOF
   16411 if ac_fn_c_try_compile "$LINENO"; then :
   16412   xorg_cv_cc_flag_unknown_warning_option=yes
   16413 else
   16414   xorg_cv_cc_flag_unknown_warning_option=no
   16415 fi
   16416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16417 fi
   16418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16419 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16420 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16421 	CFLAGS="$xorg_testset_save_CFLAGS"
   16422 fi
   16423 
   16424 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16425 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16426 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16427 	fi
   16428 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16429 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16430 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16431 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16432   $as_echo_n "(cached) " >&6
   16433 else
   16434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16435 /* end confdefs.h.  */
   16436 int i;
   16437 _ACEOF
   16438 if ac_fn_c_try_compile "$LINENO"; then :
   16439   xorg_cv_cc_flag_unused_command_line_argument=yes
   16440 else
   16441   xorg_cv_cc_flag_unused_command_line_argument=no
   16442 fi
   16443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16444 fi
   16445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16446 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16447 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16448 	CFLAGS="$xorg_testset_save_CFLAGS"
   16449 fi
   16450 
   16451 found="no"
   16452 
   16453 	if test $found = "no" ; then
   16454 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16455 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16456 		fi
   16457 
   16458 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16459 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16460 		fi
   16461 
   16462 		CFLAGS="$CFLAGS -Wsequence-point"
   16463 
   16464 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   16465 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   16466 		cacheid=xorg_cv_cc_flag__Wsequence_point
   16467 		if eval \${$cacheid+:} false; then :
   16468   $as_echo_n "(cached) " >&6
   16469 else
   16470   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16471 /* end confdefs.h.  */
   16472 int i;
   16473 int
   16474 main ()
   16475 {
   16476 
   16477   ;
   16478   return 0;
   16479 }
   16480 _ACEOF
   16481 if ac_fn_c_try_link "$LINENO"; then :
   16482   eval $cacheid=yes
   16483 else
   16484   eval $cacheid=no
   16485 fi
   16486 rm -f core conftest.err conftest.$ac_objext \
   16487     conftest$ac_exeext conftest.$ac_ext
   16488 fi
   16489 
   16490 
   16491 		CFLAGS="$xorg_testset_save_CFLAGS"
   16492 
   16493 		eval supported=\$$cacheid
   16494 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16495 $as_echo "$supported" >&6; }
   16496 		if test "$supported" = "yes" ; then
   16497 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   16498 			found="yes"
   16499 		fi
   16500 	fi
   16501 
   16502 
   16503 
   16504 
   16505 
   16506 
   16507 
   16508 
   16509 
   16510 
   16511 
   16512 
   16513 
   16514 
   16515 
   16516 xorg_testset_save_CFLAGS="$CFLAGS"
   16517 
   16518 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16519 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16520 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16521 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16522 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16523   $as_echo_n "(cached) " >&6
   16524 else
   16525   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16526 /* end confdefs.h.  */
   16527 int i;
   16528 _ACEOF
   16529 if ac_fn_c_try_compile "$LINENO"; then :
   16530   xorg_cv_cc_flag_unknown_warning_option=yes
   16531 else
   16532   xorg_cv_cc_flag_unknown_warning_option=no
   16533 fi
   16534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16535 fi
   16536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16537 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16538 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16539 	CFLAGS="$xorg_testset_save_CFLAGS"
   16540 fi
   16541 
   16542 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16543 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16544 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16545 	fi
   16546 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16547 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16548 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16549 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16550   $as_echo_n "(cached) " >&6
   16551 else
   16552   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16553 /* end confdefs.h.  */
   16554 int i;
   16555 _ACEOF
   16556 if ac_fn_c_try_compile "$LINENO"; then :
   16557   xorg_cv_cc_flag_unused_command_line_argument=yes
   16558 else
   16559   xorg_cv_cc_flag_unused_command_line_argument=no
   16560 fi
   16561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16562 fi
   16563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16564 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16565 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16566 	CFLAGS="$xorg_testset_save_CFLAGS"
   16567 fi
   16568 
   16569 found="no"
   16570 
   16571 	if test $found = "no" ; then
   16572 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16573 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16574 		fi
   16575 
   16576 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16577 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16578 		fi
   16579 
   16580 		CFLAGS="$CFLAGS -Wreturn-type"
   16581 
   16582 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   16583 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   16584 		cacheid=xorg_cv_cc_flag__Wreturn_type
   16585 		if eval \${$cacheid+:} false; then :
   16586   $as_echo_n "(cached) " >&6
   16587 else
   16588   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16589 /* end confdefs.h.  */
   16590 int i;
   16591 int
   16592 main ()
   16593 {
   16594 
   16595   ;
   16596   return 0;
   16597 }
   16598 _ACEOF
   16599 if ac_fn_c_try_link "$LINENO"; then :
   16600   eval $cacheid=yes
   16601 else
   16602   eval $cacheid=no
   16603 fi
   16604 rm -f core conftest.err conftest.$ac_objext \
   16605     conftest$ac_exeext conftest.$ac_ext
   16606 fi
   16607 
   16608 
   16609 		CFLAGS="$xorg_testset_save_CFLAGS"
   16610 
   16611 		eval supported=\$$cacheid
   16612 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16613 $as_echo "$supported" >&6; }
   16614 		if test "$supported" = "yes" ; then
   16615 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   16616 			found="yes"
   16617 		fi
   16618 	fi
   16619 
   16620 
   16621 
   16622 
   16623 
   16624 
   16625 
   16626 
   16627 
   16628 
   16629 
   16630 
   16631 
   16632 
   16633 
   16634 xorg_testset_save_CFLAGS="$CFLAGS"
   16635 
   16636 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16637 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16638 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16639 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16640 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16641   $as_echo_n "(cached) " >&6
   16642 else
   16643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16644 /* end confdefs.h.  */
   16645 int i;
   16646 _ACEOF
   16647 if ac_fn_c_try_compile "$LINENO"; then :
   16648   xorg_cv_cc_flag_unknown_warning_option=yes
   16649 else
   16650   xorg_cv_cc_flag_unknown_warning_option=no
   16651 fi
   16652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16653 fi
   16654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16655 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16656 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16657 	CFLAGS="$xorg_testset_save_CFLAGS"
   16658 fi
   16659 
   16660 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16661 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16662 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16663 	fi
   16664 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16665 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16666 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16667 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16668   $as_echo_n "(cached) " >&6
   16669 else
   16670   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16671 /* end confdefs.h.  */
   16672 int i;
   16673 _ACEOF
   16674 if ac_fn_c_try_compile "$LINENO"; then :
   16675   xorg_cv_cc_flag_unused_command_line_argument=yes
   16676 else
   16677   xorg_cv_cc_flag_unused_command_line_argument=no
   16678 fi
   16679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16680 fi
   16681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16682 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16683 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16684 	CFLAGS="$xorg_testset_save_CFLAGS"
   16685 fi
   16686 
   16687 found="no"
   16688 
   16689 	if test $found = "no" ; then
   16690 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16691 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16692 		fi
   16693 
   16694 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16695 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16696 		fi
   16697 
   16698 		CFLAGS="$CFLAGS -Wtrigraphs"
   16699 
   16700 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   16701 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   16702 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   16703 		if eval \${$cacheid+:} false; then :
   16704   $as_echo_n "(cached) " >&6
   16705 else
   16706   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16707 /* end confdefs.h.  */
   16708 int i;
   16709 int
   16710 main ()
   16711 {
   16712 
   16713   ;
   16714   return 0;
   16715 }
   16716 _ACEOF
   16717 if ac_fn_c_try_link "$LINENO"; then :
   16718   eval $cacheid=yes
   16719 else
   16720   eval $cacheid=no
   16721 fi
   16722 rm -f core conftest.err conftest.$ac_objext \
   16723     conftest$ac_exeext conftest.$ac_ext
   16724 fi
   16725 
   16726 
   16727 		CFLAGS="$xorg_testset_save_CFLAGS"
   16728 
   16729 		eval supported=\$$cacheid
   16730 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16731 $as_echo "$supported" >&6; }
   16732 		if test "$supported" = "yes" ; then
   16733 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   16734 			found="yes"
   16735 		fi
   16736 	fi
   16737 
   16738 
   16739 
   16740 
   16741 
   16742 
   16743 
   16744 
   16745 
   16746 
   16747 
   16748 
   16749 
   16750 
   16751 
   16752 xorg_testset_save_CFLAGS="$CFLAGS"
   16753 
   16754 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16755 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16756 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16757 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16758 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16759   $as_echo_n "(cached) " >&6
   16760 else
   16761   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16762 /* end confdefs.h.  */
   16763 int i;
   16764 _ACEOF
   16765 if ac_fn_c_try_compile "$LINENO"; then :
   16766   xorg_cv_cc_flag_unknown_warning_option=yes
   16767 else
   16768   xorg_cv_cc_flag_unknown_warning_option=no
   16769 fi
   16770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16771 fi
   16772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16773 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16774 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16775 	CFLAGS="$xorg_testset_save_CFLAGS"
   16776 fi
   16777 
   16778 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16779 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16780 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16781 	fi
   16782 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16783 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16784 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16785 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16786   $as_echo_n "(cached) " >&6
   16787 else
   16788   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16789 /* end confdefs.h.  */
   16790 int i;
   16791 _ACEOF
   16792 if ac_fn_c_try_compile "$LINENO"; then :
   16793   xorg_cv_cc_flag_unused_command_line_argument=yes
   16794 else
   16795   xorg_cv_cc_flag_unused_command_line_argument=no
   16796 fi
   16797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16798 fi
   16799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16800 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16801 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16802 	CFLAGS="$xorg_testset_save_CFLAGS"
   16803 fi
   16804 
   16805 found="no"
   16806 
   16807 	if test $found = "no" ; then
   16808 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16809 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16810 		fi
   16811 
   16812 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16813 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16814 		fi
   16815 
   16816 		CFLAGS="$CFLAGS -Warray-bounds"
   16817 
   16818 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   16819 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   16820 		cacheid=xorg_cv_cc_flag__Warray_bounds
   16821 		if eval \${$cacheid+:} false; then :
   16822   $as_echo_n "(cached) " >&6
   16823 else
   16824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16825 /* end confdefs.h.  */
   16826 int i;
   16827 int
   16828 main ()
   16829 {
   16830 
   16831   ;
   16832   return 0;
   16833 }
   16834 _ACEOF
   16835 if ac_fn_c_try_link "$LINENO"; then :
   16836   eval $cacheid=yes
   16837 else
   16838   eval $cacheid=no
   16839 fi
   16840 rm -f core conftest.err conftest.$ac_objext \
   16841     conftest$ac_exeext conftest.$ac_ext
   16842 fi
   16843 
   16844 
   16845 		CFLAGS="$xorg_testset_save_CFLAGS"
   16846 
   16847 		eval supported=\$$cacheid
   16848 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16849 $as_echo "$supported" >&6; }
   16850 		if test "$supported" = "yes" ; then
   16851 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   16852 			found="yes"
   16853 		fi
   16854 	fi
   16855 
   16856 
   16857 
   16858 
   16859 
   16860 
   16861 
   16862 
   16863 
   16864 
   16865 
   16866 
   16867 
   16868 
   16869 
   16870 xorg_testset_save_CFLAGS="$CFLAGS"
   16871 
   16872 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16873 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16874 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16875 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16876 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16877   $as_echo_n "(cached) " >&6
   16878 else
   16879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16880 /* end confdefs.h.  */
   16881 int i;
   16882 _ACEOF
   16883 if ac_fn_c_try_compile "$LINENO"; then :
   16884   xorg_cv_cc_flag_unknown_warning_option=yes
   16885 else
   16886   xorg_cv_cc_flag_unknown_warning_option=no
   16887 fi
   16888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16889 fi
   16890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16891 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16892 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16893 	CFLAGS="$xorg_testset_save_CFLAGS"
   16894 fi
   16895 
   16896 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16897 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16898 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16899 	fi
   16900 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16901 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16902 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16903 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16904   $as_echo_n "(cached) " >&6
   16905 else
   16906   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16907 /* end confdefs.h.  */
   16908 int i;
   16909 _ACEOF
   16910 if ac_fn_c_try_compile "$LINENO"; then :
   16911   xorg_cv_cc_flag_unused_command_line_argument=yes
   16912 else
   16913   xorg_cv_cc_flag_unused_command_line_argument=no
   16914 fi
   16915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16916 fi
   16917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16918 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16919 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16920 	CFLAGS="$xorg_testset_save_CFLAGS"
   16921 fi
   16922 
   16923 found="no"
   16924 
   16925 	if test $found = "no" ; then
   16926 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16927 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16928 		fi
   16929 
   16930 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16931 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16932 		fi
   16933 
   16934 		CFLAGS="$CFLAGS -Wwrite-strings"
   16935 
   16936 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   16937 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   16938 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   16939 		if eval \${$cacheid+:} false; then :
   16940   $as_echo_n "(cached) " >&6
   16941 else
   16942   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16943 /* end confdefs.h.  */
   16944 int i;
   16945 int
   16946 main ()
   16947 {
   16948 
   16949   ;
   16950   return 0;
   16951 }
   16952 _ACEOF
   16953 if ac_fn_c_try_link "$LINENO"; then :
   16954   eval $cacheid=yes
   16955 else
   16956   eval $cacheid=no
   16957 fi
   16958 rm -f core conftest.err conftest.$ac_objext \
   16959     conftest$ac_exeext conftest.$ac_ext
   16960 fi
   16961 
   16962 
   16963 		CFLAGS="$xorg_testset_save_CFLAGS"
   16964 
   16965 		eval supported=\$$cacheid
   16966 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16967 $as_echo "$supported" >&6; }
   16968 		if test "$supported" = "yes" ; then
   16969 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   16970 			found="yes"
   16971 		fi
   16972 	fi
   16973 
   16974 
   16975 
   16976 
   16977 
   16978 
   16979 
   16980 
   16981 
   16982 
   16983 
   16984 
   16985 
   16986 
   16987 
   16988 xorg_testset_save_CFLAGS="$CFLAGS"
   16989 
   16990 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16991 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16992 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16993 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16994 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16995   $as_echo_n "(cached) " >&6
   16996 else
   16997   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16998 /* end confdefs.h.  */
   16999 int i;
   17000 _ACEOF
   17001 if ac_fn_c_try_compile "$LINENO"; then :
   17002   xorg_cv_cc_flag_unknown_warning_option=yes
   17003 else
   17004   xorg_cv_cc_flag_unknown_warning_option=no
   17005 fi
   17006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17007 fi
   17008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17009 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17010 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17011 	CFLAGS="$xorg_testset_save_CFLAGS"
   17012 fi
   17013 
   17014 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17015 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17016 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17017 	fi
   17018 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17019 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17020 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17021 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17022   $as_echo_n "(cached) " >&6
   17023 else
   17024   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17025 /* end confdefs.h.  */
   17026 int i;
   17027 _ACEOF
   17028 if ac_fn_c_try_compile "$LINENO"; then :
   17029   xorg_cv_cc_flag_unused_command_line_argument=yes
   17030 else
   17031   xorg_cv_cc_flag_unused_command_line_argument=no
   17032 fi
   17033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17034 fi
   17035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17036 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17037 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17038 	CFLAGS="$xorg_testset_save_CFLAGS"
   17039 fi
   17040 
   17041 found="no"
   17042 
   17043 	if test $found = "no" ; then
   17044 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17045 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17046 		fi
   17047 
   17048 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17049 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17050 		fi
   17051 
   17052 		CFLAGS="$CFLAGS -Waddress"
   17053 
   17054 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   17055 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   17056 		cacheid=xorg_cv_cc_flag__Waddress
   17057 		if eval \${$cacheid+:} false; then :
   17058   $as_echo_n "(cached) " >&6
   17059 else
   17060   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17061 /* end confdefs.h.  */
   17062 int i;
   17063 int
   17064 main ()
   17065 {
   17066 
   17067   ;
   17068   return 0;
   17069 }
   17070 _ACEOF
   17071 if ac_fn_c_try_link "$LINENO"; then :
   17072   eval $cacheid=yes
   17073 else
   17074   eval $cacheid=no
   17075 fi
   17076 rm -f core conftest.err conftest.$ac_objext \
   17077     conftest$ac_exeext conftest.$ac_ext
   17078 fi
   17079 
   17080 
   17081 		CFLAGS="$xorg_testset_save_CFLAGS"
   17082 
   17083 		eval supported=\$$cacheid
   17084 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17085 $as_echo "$supported" >&6; }
   17086 		if test "$supported" = "yes" ; then
   17087 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   17088 			found="yes"
   17089 		fi
   17090 	fi
   17091 
   17092 
   17093 
   17094 
   17095 
   17096 
   17097 
   17098 
   17099 
   17100 
   17101 
   17102 
   17103 
   17104 
   17105 
   17106 xorg_testset_save_CFLAGS="$CFLAGS"
   17107 
   17108 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17109 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17110 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17111 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17112 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17113   $as_echo_n "(cached) " >&6
   17114 else
   17115   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17116 /* end confdefs.h.  */
   17117 int i;
   17118 _ACEOF
   17119 if ac_fn_c_try_compile "$LINENO"; then :
   17120   xorg_cv_cc_flag_unknown_warning_option=yes
   17121 else
   17122   xorg_cv_cc_flag_unknown_warning_option=no
   17123 fi
   17124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17125 fi
   17126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17127 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17128 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17129 	CFLAGS="$xorg_testset_save_CFLAGS"
   17130 fi
   17131 
   17132 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17133 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17134 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17135 	fi
   17136 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17137 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17138 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17139 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17140   $as_echo_n "(cached) " >&6
   17141 else
   17142   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17143 /* end confdefs.h.  */
   17144 int i;
   17145 _ACEOF
   17146 if ac_fn_c_try_compile "$LINENO"; then :
   17147   xorg_cv_cc_flag_unused_command_line_argument=yes
   17148 else
   17149   xorg_cv_cc_flag_unused_command_line_argument=no
   17150 fi
   17151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17152 fi
   17153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17154 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17155 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17156 	CFLAGS="$xorg_testset_save_CFLAGS"
   17157 fi
   17158 
   17159 found="no"
   17160 
   17161 	if test $found = "no" ; then
   17162 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17163 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17164 		fi
   17165 
   17166 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17167 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17168 		fi
   17169 
   17170 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   17171 
   17172 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   17173 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   17174 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   17175 		if eval \${$cacheid+:} false; then :
   17176   $as_echo_n "(cached) " >&6
   17177 else
   17178   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17179 /* end confdefs.h.  */
   17180 int i;
   17181 int
   17182 main ()
   17183 {
   17184 
   17185   ;
   17186   return 0;
   17187 }
   17188 _ACEOF
   17189 if ac_fn_c_try_link "$LINENO"; then :
   17190   eval $cacheid=yes
   17191 else
   17192   eval $cacheid=no
   17193 fi
   17194 rm -f core conftest.err conftest.$ac_objext \
   17195     conftest$ac_exeext conftest.$ac_ext
   17196 fi
   17197 
   17198 
   17199 		CFLAGS="$xorg_testset_save_CFLAGS"
   17200 
   17201 		eval supported=\$$cacheid
   17202 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17203 $as_echo "$supported" >&6; }
   17204 		if test "$supported" = "yes" ; then
   17205 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   17206 			found="yes"
   17207 		fi
   17208 	fi
   17209 
   17210 
   17211 
   17212 
   17213 
   17214 
   17215 
   17216 
   17217 
   17218 
   17219 
   17220 
   17221 
   17222 
   17223 
   17224 xorg_testset_save_CFLAGS="$CFLAGS"
   17225 
   17226 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17227 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17228 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17229 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17230 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17231   $as_echo_n "(cached) " >&6
   17232 else
   17233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17234 /* end confdefs.h.  */
   17235 int i;
   17236 _ACEOF
   17237 if ac_fn_c_try_compile "$LINENO"; then :
   17238   xorg_cv_cc_flag_unknown_warning_option=yes
   17239 else
   17240   xorg_cv_cc_flag_unknown_warning_option=no
   17241 fi
   17242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17243 fi
   17244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17245 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17246 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17247 	CFLAGS="$xorg_testset_save_CFLAGS"
   17248 fi
   17249 
   17250 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17251 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17252 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17253 	fi
   17254 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17255 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17256 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17257 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17258   $as_echo_n "(cached) " >&6
   17259 else
   17260   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17261 /* end confdefs.h.  */
   17262 int i;
   17263 _ACEOF
   17264 if ac_fn_c_try_compile "$LINENO"; then :
   17265   xorg_cv_cc_flag_unused_command_line_argument=yes
   17266 else
   17267   xorg_cv_cc_flag_unused_command_line_argument=no
   17268 fi
   17269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17270 fi
   17271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17272 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17273 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17274 	CFLAGS="$xorg_testset_save_CFLAGS"
   17275 fi
   17276 
   17277 found="no"
   17278 
   17279 	if test $found = "no" ; then
   17280 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17281 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17282 		fi
   17283 
   17284 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17285 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17286 		fi
   17287 
   17288 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   17289 
   17290 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   17291 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   17292 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   17293 		if eval \${$cacheid+:} false; then :
   17294   $as_echo_n "(cached) " >&6
   17295 else
   17296   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17297 /* end confdefs.h.  */
   17298 int i;
   17299 int
   17300 main ()
   17301 {
   17302 
   17303   ;
   17304   return 0;
   17305 }
   17306 _ACEOF
   17307 if ac_fn_c_try_link "$LINENO"; then :
   17308   eval $cacheid=yes
   17309 else
   17310   eval $cacheid=no
   17311 fi
   17312 rm -f core conftest.err conftest.$ac_objext \
   17313     conftest$ac_exeext conftest.$ac_ext
   17314 fi
   17315 
   17316 
   17317 		CFLAGS="$xorg_testset_save_CFLAGS"
   17318 
   17319 		eval supported=\$$cacheid
   17320 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17321 $as_echo "$supported" >&6; }
   17322 		if test "$supported" = "yes" ; then
   17323 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   17324 			found="yes"
   17325 		fi
   17326 	fi
   17327 
   17328 
   17329 fi
   17330 
   17331 
   17332 
   17333 
   17334 
   17335 
   17336 
   17337 		CWARNFLAGS="$BASE_CFLAGS"
   17338 		if  test "x$GCC" = xyes ; then
   17339 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   17340 		fi
   17341 
   17342 
   17343 
   17344 
   17345 
   17346 
   17347 
   17348 
   17349 # Check whether --enable-strict-compilation was given.
   17350 if test "${enable_strict_compilation+set}" = set; then :
   17351   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   17352 else
   17353   STRICT_COMPILE=no
   17354 fi
   17355 
   17356 
   17357 
   17358 
   17359 
   17360 
   17361 STRICT_CFLAGS=""
   17362 
   17363 
   17364 
   17365 
   17366 
   17367 
   17368 
   17369 
   17370 
   17371 
   17372 
   17373 
   17374 
   17375 xorg_testset_save_CFLAGS="$CFLAGS"
   17376 
   17377 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17378 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17379 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17380 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17381 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17382   $as_echo_n "(cached) " >&6
   17383 else
   17384   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17385 /* end confdefs.h.  */
   17386 int i;
   17387 _ACEOF
   17388 if ac_fn_c_try_compile "$LINENO"; then :
   17389   xorg_cv_cc_flag_unknown_warning_option=yes
   17390 else
   17391   xorg_cv_cc_flag_unknown_warning_option=no
   17392 fi
   17393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17394 fi
   17395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17396 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17397 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17398 	CFLAGS="$xorg_testset_save_CFLAGS"
   17399 fi
   17400 
   17401 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17402 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17403 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17404 	fi
   17405 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17406 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17407 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17408 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17409   $as_echo_n "(cached) " >&6
   17410 else
   17411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17412 /* end confdefs.h.  */
   17413 int i;
   17414 _ACEOF
   17415 if ac_fn_c_try_compile "$LINENO"; then :
   17416   xorg_cv_cc_flag_unused_command_line_argument=yes
   17417 else
   17418   xorg_cv_cc_flag_unused_command_line_argument=no
   17419 fi
   17420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17421 fi
   17422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17423 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17424 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17425 	CFLAGS="$xorg_testset_save_CFLAGS"
   17426 fi
   17427 
   17428 found="no"
   17429 
   17430 	if test $found = "no" ; then
   17431 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17432 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17433 		fi
   17434 
   17435 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17436 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17437 		fi
   17438 
   17439 		CFLAGS="$CFLAGS -pedantic"
   17440 
   17441 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   17442 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   17443 		cacheid=xorg_cv_cc_flag__pedantic
   17444 		if eval \${$cacheid+:} false; then :
   17445   $as_echo_n "(cached) " >&6
   17446 else
   17447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17448 /* end confdefs.h.  */
   17449 int i;
   17450 int
   17451 main ()
   17452 {
   17453 
   17454   ;
   17455   return 0;
   17456 }
   17457 _ACEOF
   17458 if ac_fn_c_try_link "$LINENO"; then :
   17459   eval $cacheid=yes
   17460 else
   17461   eval $cacheid=no
   17462 fi
   17463 rm -f core conftest.err conftest.$ac_objext \
   17464     conftest$ac_exeext conftest.$ac_ext
   17465 fi
   17466 
   17467 
   17468 		CFLAGS="$xorg_testset_save_CFLAGS"
   17469 
   17470 		eval supported=\$$cacheid
   17471 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17472 $as_echo "$supported" >&6; }
   17473 		if test "$supported" = "yes" ; then
   17474 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   17475 			found="yes"
   17476 		fi
   17477 	fi
   17478 
   17479 
   17480 
   17481 
   17482 
   17483 
   17484 
   17485 
   17486 
   17487 
   17488 
   17489 
   17490 
   17491 
   17492 
   17493 xorg_testset_save_CFLAGS="$CFLAGS"
   17494 
   17495 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17496 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17497 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17498 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17499 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17500   $as_echo_n "(cached) " >&6
   17501 else
   17502   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17503 /* end confdefs.h.  */
   17504 int i;
   17505 _ACEOF
   17506 if ac_fn_c_try_compile "$LINENO"; then :
   17507   xorg_cv_cc_flag_unknown_warning_option=yes
   17508 else
   17509   xorg_cv_cc_flag_unknown_warning_option=no
   17510 fi
   17511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17512 fi
   17513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17514 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17515 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17516 	CFLAGS="$xorg_testset_save_CFLAGS"
   17517 fi
   17518 
   17519 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17520 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17521 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17522 	fi
   17523 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17524 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17525 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17526 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17527   $as_echo_n "(cached) " >&6
   17528 else
   17529   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17530 /* end confdefs.h.  */
   17531 int i;
   17532 _ACEOF
   17533 if ac_fn_c_try_compile "$LINENO"; then :
   17534   xorg_cv_cc_flag_unused_command_line_argument=yes
   17535 else
   17536   xorg_cv_cc_flag_unused_command_line_argument=no
   17537 fi
   17538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17539 fi
   17540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17541 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17542 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17543 	CFLAGS="$xorg_testset_save_CFLAGS"
   17544 fi
   17545 
   17546 found="no"
   17547 
   17548 	if test $found = "no" ; then
   17549 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17550 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17551 		fi
   17552 
   17553 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17554 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17555 		fi
   17556 
   17557 		CFLAGS="$CFLAGS -Werror"
   17558 
   17559 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   17560 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   17561 		cacheid=xorg_cv_cc_flag__Werror
   17562 		if eval \${$cacheid+:} false; then :
   17563   $as_echo_n "(cached) " >&6
   17564 else
   17565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17566 /* end confdefs.h.  */
   17567 int i;
   17568 int
   17569 main ()
   17570 {
   17571 
   17572   ;
   17573   return 0;
   17574 }
   17575 _ACEOF
   17576 if ac_fn_c_try_link "$LINENO"; then :
   17577   eval $cacheid=yes
   17578 else
   17579   eval $cacheid=no
   17580 fi
   17581 rm -f core conftest.err conftest.$ac_objext \
   17582     conftest$ac_exeext conftest.$ac_ext
   17583 fi
   17584 
   17585 
   17586 		CFLAGS="$xorg_testset_save_CFLAGS"
   17587 
   17588 		eval supported=\$$cacheid
   17589 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17590 $as_echo "$supported" >&6; }
   17591 		if test "$supported" = "yes" ; then
   17592 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   17593 			found="yes"
   17594 		fi
   17595 	fi
   17596 
   17597 	if test $found = "no" ; then
   17598 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17599 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17600 		fi
   17601 
   17602 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17603 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17604 		fi
   17605 
   17606 		CFLAGS="$CFLAGS -errwarn"
   17607 
   17608 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   17609 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   17610 		cacheid=xorg_cv_cc_flag__errwarn
   17611 		if eval \${$cacheid+:} false; then :
   17612   $as_echo_n "(cached) " >&6
   17613 else
   17614   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17615 /* end confdefs.h.  */
   17616 int i;
   17617 int
   17618 main ()
   17619 {
   17620 
   17621   ;
   17622   return 0;
   17623 }
   17624 _ACEOF
   17625 if ac_fn_c_try_link "$LINENO"; then :
   17626   eval $cacheid=yes
   17627 else
   17628   eval $cacheid=no
   17629 fi
   17630 rm -f core conftest.err conftest.$ac_objext \
   17631     conftest$ac_exeext conftest.$ac_ext
   17632 fi
   17633 
   17634 
   17635 		CFLAGS="$xorg_testset_save_CFLAGS"
   17636 
   17637 		eval supported=\$$cacheid
   17638 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17639 $as_echo "$supported" >&6; }
   17640 		if test "$supported" = "yes" ; then
   17641 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   17642 			found="yes"
   17643 		fi
   17644 	fi
   17645 
   17646 
   17647 
   17648 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   17649 # activate it with -Werror, so we add it here explicitly.
   17650 
   17651 
   17652 
   17653 
   17654 
   17655 
   17656 
   17657 
   17658 
   17659 
   17660 
   17661 
   17662 
   17663 xorg_testset_save_CFLAGS="$CFLAGS"
   17664 
   17665 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17666 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17667 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17668 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17669 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17670   $as_echo_n "(cached) " >&6
   17671 else
   17672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17673 /* end confdefs.h.  */
   17674 int i;
   17675 _ACEOF
   17676 if ac_fn_c_try_compile "$LINENO"; then :
   17677   xorg_cv_cc_flag_unknown_warning_option=yes
   17678 else
   17679   xorg_cv_cc_flag_unknown_warning_option=no
   17680 fi
   17681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17682 fi
   17683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17684 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17685 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17686 	CFLAGS="$xorg_testset_save_CFLAGS"
   17687 fi
   17688 
   17689 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17690 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17691 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17692 	fi
   17693 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17694 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17695 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17696 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17697   $as_echo_n "(cached) " >&6
   17698 else
   17699   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17700 /* end confdefs.h.  */
   17701 int i;
   17702 _ACEOF
   17703 if ac_fn_c_try_compile "$LINENO"; then :
   17704   xorg_cv_cc_flag_unused_command_line_argument=yes
   17705 else
   17706   xorg_cv_cc_flag_unused_command_line_argument=no
   17707 fi
   17708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17709 fi
   17710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17711 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17712 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17713 	CFLAGS="$xorg_testset_save_CFLAGS"
   17714 fi
   17715 
   17716 found="no"
   17717 
   17718 	if test $found = "no" ; then
   17719 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17720 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17721 		fi
   17722 
   17723 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17724 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17725 		fi
   17726 
   17727 		CFLAGS="$CFLAGS -Werror=attributes"
   17728 
   17729 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   17730 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   17731 		cacheid=xorg_cv_cc_flag__Werror_attributes
   17732 		if eval \${$cacheid+:} false; then :
   17733   $as_echo_n "(cached) " >&6
   17734 else
   17735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17736 /* end confdefs.h.  */
   17737 int i;
   17738 int
   17739 main ()
   17740 {
   17741 
   17742   ;
   17743   return 0;
   17744 }
   17745 _ACEOF
   17746 if ac_fn_c_try_link "$LINENO"; then :
   17747   eval $cacheid=yes
   17748 else
   17749   eval $cacheid=no
   17750 fi
   17751 rm -f core conftest.err conftest.$ac_objext \
   17752     conftest$ac_exeext conftest.$ac_ext
   17753 fi
   17754 
   17755 
   17756 		CFLAGS="$xorg_testset_save_CFLAGS"
   17757 
   17758 		eval supported=\$$cacheid
   17759 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17760 $as_echo "$supported" >&6; }
   17761 		if test "$supported" = "yes" ; then
   17762 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   17763 			found="yes"
   17764 		fi
   17765 	fi
   17766 
   17767 
   17768 
   17769 if test "x$STRICT_COMPILE" = "xyes"; then
   17770     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   17771     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   17772 fi
   17773 
   17774 
   17775 
   17776 
   17777 
   17778 
   17779 cat >>confdefs.h <<_ACEOF
   17780 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   17781 _ACEOF
   17782 
   17783 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   17784 	if test "x$PVM" = "x"; then
   17785 		PVM="0"
   17786 	fi
   17787 
   17788 cat >>confdefs.h <<_ACEOF
   17789 #define PACKAGE_VERSION_MINOR $PVM
   17790 _ACEOF
   17791 
   17792 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   17793 	if test "x$PVP" = "x"; then
   17794 		PVP="0"
   17795 	fi
   17796 
   17797 cat >>confdefs.h <<_ACEOF
   17798 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   17799 _ACEOF
   17800 
   17801 
   17802 
   17803 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   17804 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   17805 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   17806 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   17807 
   17808 
   17809 
   17810 
   17811 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   17812 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   17813 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   17814 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   17815 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   17816 
   17817 
   17818 
   17819 
   17820 
   17821 
   17822 if test x$APP_MAN_SUFFIX = x    ; then
   17823     APP_MAN_SUFFIX=1
   17824 fi
   17825 if test x$APP_MAN_DIR = x    ; then
   17826     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   17827 fi
   17828 
   17829 if test x$LIB_MAN_SUFFIX = x    ; then
   17830     LIB_MAN_SUFFIX=3
   17831 fi
   17832 if test x$LIB_MAN_DIR = x    ; then
   17833     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   17834 fi
   17835 
   17836 if test x$FILE_MAN_SUFFIX = x    ; then
   17837     case $host_os in
   17838 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   17839 	*)		FILE_MAN_SUFFIX=5  ;;
   17840     esac
   17841 fi
   17842 if test x$FILE_MAN_DIR = x    ; then
   17843     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   17844 fi
   17845 
   17846 if test x$MISC_MAN_SUFFIX = x    ; then
   17847     case $host_os in
   17848 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   17849 	*)		MISC_MAN_SUFFIX=7  ;;
   17850     esac
   17851 fi
   17852 if test x$MISC_MAN_DIR = x    ; then
   17853     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   17854 fi
   17855 
   17856 if test x$DRIVER_MAN_SUFFIX = x    ; then
   17857     case $host_os in
   17858 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   17859 	*)		DRIVER_MAN_SUFFIX=4  ;;
   17860     esac
   17861 fi
   17862 if test x$DRIVER_MAN_DIR = x    ; then
   17863     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   17864 fi
   17865 
   17866 if test x$ADMIN_MAN_SUFFIX = x    ; then
   17867     case $host_os in
   17868 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   17869 	*)		ADMIN_MAN_SUFFIX=8  ;;
   17870     esac
   17871 fi
   17872 if test x$ADMIN_MAN_DIR = x    ; then
   17873     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   17874 fi
   17875 
   17876 
   17877 
   17878 
   17879 
   17880 
   17881 
   17882 
   17883 
   17884 
   17885 
   17886 
   17887 
   17888 
   17889 
   17890 XORG_MAN_PAGE="X Version 11"
   17891 
   17892 MAN_SUBSTS="\
   17893 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17894 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17895 	-e 's|__xservername__|Xorg|g' \
   17896 	-e 's|__xconfigfile__|xorg.conf|g' \
   17897 	-e 's|__projectroot__|\$(prefix)|g' \
   17898 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   17899 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   17900 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   17901 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   17902 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   17903 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   17904 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   17905 
   17906 
   17907 
   17908 # Check whether --enable-silent-rules was given.
   17909 if test "${enable_silent_rules+set}" = set; then :
   17910   enableval=$enable_silent_rules;
   17911 fi
   17912 
   17913 case $enable_silent_rules in # (((
   17914   yes) AM_DEFAULT_VERBOSITY=0;;
   17915    no) AM_DEFAULT_VERBOSITY=1;;
   17916     *) AM_DEFAULT_VERBOSITY=0;;
   17917 esac
   17918 am_make=${MAKE-make}
   17919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   17920 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   17921 if ${am_cv_make_support_nested_variables+:} false; then :
   17922   $as_echo_n "(cached) " >&6
   17923 else
   17924   if $as_echo 'TRUE=$(BAR$(V))
   17925 BAR0=false
   17926 BAR1=true
   17927 V=1
   17928 am__doit:
   17929 	@$(TRUE)
   17930 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   17931   am_cv_make_support_nested_variables=yes
   17932 else
   17933   am_cv_make_support_nested_variables=no
   17934 fi
   17935 fi
   17936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   17937 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   17938 if test $am_cv_make_support_nested_variables = yes; then
   17939     AM_V='$(V)'
   17940   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   17941 else
   17942   AM_V=$AM_DEFAULT_VERBOSITY
   17943   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   17944 fi
   17945 AM_BACKSLASH='\'
   17946 
   17947 
   17948 
   17949 
   17950 # Check whether --enable-specs was given.
   17951 if test "${enable_specs+set}" = set; then :
   17952   enableval=$enable_specs; build_specs=$enableval
   17953 else
   17954   build_specs=yes
   17955 fi
   17956 
   17957 
   17958  if test x$build_specs = xyes; then
   17959   ENABLE_SPECS_TRUE=
   17960   ENABLE_SPECS_FALSE='#'
   17961 else
   17962   ENABLE_SPECS_TRUE='#'
   17963   ENABLE_SPECS_FALSE=
   17964 fi
   17965 
   17966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build functional specifications" >&5
   17967 $as_echo_n "checking whether to build functional specifications... " >&6; }
   17968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_specs" >&5
   17969 $as_echo "$build_specs" >&6; }
   17970 
   17971 
   17972 
   17973 
   17974 
   17975 # Check whether --with-xmlto was given.
   17976 if test "${with_xmlto+set}" = set; then :
   17977   withval=$with_xmlto; use_xmlto=$withval
   17978 else
   17979   use_xmlto=auto
   17980 fi
   17981 
   17982 
   17983 
   17984 if test "x$use_xmlto" = x"auto"; then
   17985    # Extract the first word of "xmlto", so it can be a program name with args.
   17986 set dummy xmlto; ac_word=$2
   17987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17988 $as_echo_n "checking for $ac_word... " >&6; }
   17989 if ${ac_cv_path_XMLTO+:} false; then :
   17990   $as_echo_n "(cached) " >&6
   17991 else
   17992   case $XMLTO in
   17993   [\\/]* | ?:[\\/]*)
   17994   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   17995   ;;
   17996   *)
   17997   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17998 for as_dir in $PATH
   17999 do
   18000   IFS=$as_save_IFS
   18001   test -z "$as_dir" && as_dir=.
   18002     for ac_exec_ext in '' $ac_executable_extensions; do
   18003   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18004     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   18005     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18006     break 2
   18007   fi
   18008 done
   18009   done
   18010 IFS=$as_save_IFS
   18011 
   18012   ;;
   18013 esac
   18014 fi
   18015 XMLTO=$ac_cv_path_XMLTO
   18016 if test -n "$XMLTO"; then
   18017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   18018 $as_echo "$XMLTO" >&6; }
   18019 else
   18020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18021 $as_echo "no" >&6; }
   18022 fi
   18023 
   18024 
   18025    if test "x$XMLTO" = "x"; then
   18026         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   18027 $as_echo "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   18028 	have_xmlto=no
   18029    else
   18030         have_xmlto=yes
   18031    fi
   18032 elif test "x$use_xmlto" = x"yes" ; then
   18033    # Extract the first word of "xmlto", so it can be a program name with args.
   18034 set dummy xmlto; ac_word=$2
   18035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18036 $as_echo_n "checking for $ac_word... " >&6; }
   18037 if ${ac_cv_path_XMLTO+:} false; then :
   18038   $as_echo_n "(cached) " >&6
   18039 else
   18040   case $XMLTO in
   18041   [\\/]* | ?:[\\/]*)
   18042   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   18043   ;;
   18044   *)
   18045   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18046 for as_dir in $PATH
   18047 do
   18048   IFS=$as_save_IFS
   18049   test -z "$as_dir" && as_dir=.
   18050     for ac_exec_ext in '' $ac_executable_extensions; do
   18051   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18052     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   18053     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18054     break 2
   18055   fi
   18056 done
   18057   done
   18058 IFS=$as_save_IFS
   18059 
   18060   ;;
   18061 esac
   18062 fi
   18063 XMLTO=$ac_cv_path_XMLTO
   18064 if test -n "$XMLTO"; then
   18065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   18066 $as_echo "$XMLTO" >&6; }
   18067 else
   18068   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18069 $as_echo "no" >&6; }
   18070 fi
   18071 
   18072 
   18073    if test "x$XMLTO" = "x"; then
   18074         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   18075    fi
   18076    have_xmlto=yes
   18077 elif test "x$use_xmlto" = x"no" ; then
   18078    if test "x$XMLTO" != "x"; then
   18079       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   18080 $as_echo "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   18081    fi
   18082    have_xmlto=no
   18083 else
   18084    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   18085 fi
   18086 
   18087 # Test for a minimum version of xmlto, if provided.
   18088 if test "$have_xmlto" = yes; then
   18089     # scrape the xmlto version
   18090     { $as_echo "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   18091 $as_echo_n "checking the xmlto version... " >&6; }
   18092     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   18093     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   18094 $as_echo "$xmlto_version" >&6; }
   18095     as_arg_v1=$xmlto_version
   18096 as_arg_v2=0.0.22
   18097 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   18098 case $? in #(
   18099   1) :
   18100     if test "x$use_xmlto" = xauto; then
   18101             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&5
   18102 $as_echo "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&2;}
   18103             have_xmlto=no
   18104         else
   18105             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.22 needed" "$LINENO" 5
   18106         fi ;; #(
   18107   0) :
   18108      ;; #(
   18109   2) :
   18110      ;; #(
   18111   *) :
   18112      ;;
   18113 esac
   18114 fi
   18115 
   18116 # Test for the ability of xmlto to generate a text target
   18117 have_xmlto_text=no
   18118 cat > conftest.xml << "EOF"
   18119 EOF
   18120 if test "$have_xmlto" = yes; then :
   18121   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1; then :
   18122   have_xmlto_text=yes
   18123 else
   18124   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   18125 $as_echo "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;}
   18126 fi
   18127 fi
   18128 rm -f conftest.xml
   18129  if test $have_xmlto_text = yes; then
   18130   HAVE_XMLTO_TEXT_TRUE=
   18131   HAVE_XMLTO_TEXT_FALSE='#'
   18132 else
   18133   HAVE_XMLTO_TEXT_TRUE='#'
   18134   HAVE_XMLTO_TEXT_FALSE=
   18135 fi
   18136 
   18137  if test "$have_xmlto" = yes; then
   18138   HAVE_XMLTO_TRUE=
   18139   HAVE_XMLTO_FALSE='#'
   18140 else
   18141   HAVE_XMLTO_TRUE='#'
   18142   HAVE_XMLTO_FALSE=
   18143 fi
   18144 
   18145 
   18146 
   18147 
   18148 
   18149 
   18150 # Check whether --with-fop was given.
   18151 if test "${with_fop+set}" = set; then :
   18152   withval=$with_fop; use_fop=$withval
   18153 else
   18154   use_fop=auto
   18155 fi
   18156 
   18157 
   18158 
   18159 if test "x$use_fop" = x"auto"; then
   18160    # Extract the first word of "fop", so it can be a program name with args.
   18161 set dummy fop; ac_word=$2
   18162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18163 $as_echo_n "checking for $ac_word... " >&6; }
   18164 if ${ac_cv_path_FOP+:} false; then :
   18165   $as_echo_n "(cached) " >&6
   18166 else
   18167   case $FOP in
   18168   [\\/]* | ?:[\\/]*)
   18169   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   18170   ;;
   18171   *)
   18172   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18173 for as_dir in $PATH
   18174 do
   18175   IFS=$as_save_IFS
   18176   test -z "$as_dir" && as_dir=.
   18177     for ac_exec_ext in '' $ac_executable_extensions; do
   18178   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18179     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   18180     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18181     break 2
   18182   fi
   18183 done
   18184   done
   18185 IFS=$as_save_IFS
   18186 
   18187   ;;
   18188 esac
   18189 fi
   18190 FOP=$ac_cv_path_FOP
   18191 if test -n "$FOP"; then
   18192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   18193 $as_echo "$FOP" >&6; }
   18194 else
   18195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18196 $as_echo "no" >&6; }
   18197 fi
   18198 
   18199 
   18200    if test "x$FOP" = "x"; then
   18201         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   18202 $as_echo "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   18203 	have_fop=no
   18204    else
   18205         have_fop=yes
   18206    fi
   18207 elif test "x$use_fop" = x"yes" ; then
   18208    # Extract the first word of "fop", so it can be a program name with args.
   18209 set dummy fop; ac_word=$2
   18210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18211 $as_echo_n "checking for $ac_word... " >&6; }
   18212 if ${ac_cv_path_FOP+:} false; then :
   18213   $as_echo_n "(cached) " >&6
   18214 else
   18215   case $FOP in
   18216   [\\/]* | ?:[\\/]*)
   18217   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   18218   ;;
   18219   *)
   18220   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18221 for as_dir in $PATH
   18222 do
   18223   IFS=$as_save_IFS
   18224   test -z "$as_dir" && as_dir=.
   18225     for ac_exec_ext in '' $ac_executable_extensions; do
   18226   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18227     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   18228     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18229     break 2
   18230   fi
   18231 done
   18232   done
   18233 IFS=$as_save_IFS
   18234 
   18235   ;;
   18236 esac
   18237 fi
   18238 FOP=$ac_cv_path_FOP
   18239 if test -n "$FOP"; then
   18240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   18241 $as_echo "$FOP" >&6; }
   18242 else
   18243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18244 $as_echo "no" >&6; }
   18245 fi
   18246 
   18247 
   18248    if test "x$FOP" = "x"; then
   18249         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   18250    fi
   18251    have_fop=yes
   18252 elif test "x$use_fop" = x"no" ; then
   18253    if test "x$FOP" != "x"; then
   18254       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   18255 $as_echo "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   18256    fi
   18257    have_fop=no
   18258 else
   18259    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   18260 fi
   18261 
   18262 # Test for a minimum version of fop, if provided.
   18263 
   18264  if test "$have_fop" = yes; then
   18265   HAVE_FOP_TRUE=
   18266   HAVE_FOP_FALSE='#'
   18267 else
   18268   HAVE_FOP_TRUE='#'
   18269   HAVE_FOP_FALSE=
   18270 fi
   18271 
   18272 
   18273 
   18274 
   18275 # Preserves the interface, should it be implemented later
   18276 
   18277 
   18278 
   18279 # Check whether --with-xsltproc was given.
   18280 if test "${with_xsltproc+set}" = set; then :
   18281   withval=$with_xsltproc; use_xsltproc=$withval
   18282 else
   18283   use_xsltproc=auto
   18284 fi
   18285 
   18286 
   18287 
   18288 if test "x$use_xsltproc" = x"auto"; then
   18289    # Extract the first word of "xsltproc", so it can be a program name with args.
   18290 set dummy xsltproc; ac_word=$2
   18291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18292 $as_echo_n "checking for $ac_word... " >&6; }
   18293 if ${ac_cv_path_XSLTPROC+:} false; then :
   18294   $as_echo_n "(cached) " >&6
   18295 else
   18296   case $XSLTPROC in
   18297   [\\/]* | ?:[\\/]*)
   18298   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   18299   ;;
   18300   *)
   18301   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18302 for as_dir in $PATH
   18303 do
   18304   IFS=$as_save_IFS
   18305   test -z "$as_dir" && as_dir=.
   18306     for ac_exec_ext in '' $ac_executable_extensions; do
   18307   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18308     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
   18309     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18310     break 2
   18311   fi
   18312 done
   18313   done
   18314 IFS=$as_save_IFS
   18315 
   18316   ;;
   18317 esac
   18318 fi
   18319 XSLTPROC=$ac_cv_path_XSLTPROC
   18320 if test -n "$XSLTPROC"; then
   18321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   18322 $as_echo "$XSLTPROC" >&6; }
   18323 else
   18324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18325 $as_echo "no" >&6; }
   18326 fi
   18327 
   18328 
   18329    if test "x$XSLTPROC" = "x"; then
   18330         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xsltproc not found - cannot transform XML documents" >&5
   18331 $as_echo "$as_me: WARNING: xsltproc not found - cannot transform XML documents" >&2;}
   18332 	have_xsltproc=no
   18333    else
   18334         have_xsltproc=yes
   18335    fi
   18336 elif test "x$use_xsltproc" = x"yes" ; then
   18337    # Extract the first word of "xsltproc", so it can be a program name with args.
   18338 set dummy xsltproc; ac_word=$2
   18339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18340 $as_echo_n "checking for $ac_word... " >&6; }
   18341 if ${ac_cv_path_XSLTPROC+:} false; then :
   18342   $as_echo_n "(cached) " >&6
   18343 else
   18344   case $XSLTPROC in
   18345   [\\/]* | ?:[\\/]*)
   18346   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   18347   ;;
   18348   *)
   18349   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18350 for as_dir in $PATH
   18351 do
   18352   IFS=$as_save_IFS
   18353   test -z "$as_dir" && as_dir=.
   18354     for ac_exec_ext in '' $ac_executable_extensions; do
   18355   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18356     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
   18357     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18358     break 2
   18359   fi
   18360 done
   18361   done
   18362 IFS=$as_save_IFS
   18363 
   18364   ;;
   18365 esac
   18366 fi
   18367 XSLTPROC=$ac_cv_path_XSLTPROC
   18368 if test -n "$XSLTPROC"; then
   18369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   18370 $as_echo "$XSLTPROC" >&6; }
   18371 else
   18372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18373 $as_echo "no" >&6; }
   18374 fi
   18375 
   18376 
   18377    if test "x$XSLTPROC" = "x"; then
   18378         as_fn_error $? "--with-xsltproc=yes specified but xsltproc not found in PATH" "$LINENO" 5
   18379    fi
   18380    have_xsltproc=yes
   18381 elif test "x$use_xsltproc" = x"no" ; then
   18382    if test "x$XSLTPROC" != "x"; then
   18383       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&5
   18384 $as_echo "$as_me: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&2;}
   18385    fi
   18386    have_xsltproc=no
   18387 else
   18388    as_fn_error $? "--with-xsltproc expects 'yes' or 'no'" "$LINENO" 5
   18389 fi
   18390 
   18391  if test "$have_xsltproc" = yes; then
   18392   HAVE_XSLTPROC_TRUE=
   18393   HAVE_XSLTPROC_FALSE='#'
   18394 else
   18395   HAVE_XSLTPROC_TRUE='#'
   18396   HAVE_XSLTPROC_FALSE=
   18397 fi
   18398 
   18399 
   18400 
   18401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.8" >&5
   18402 $as_echo_n "checking for X.Org SGML entities >= 1.8... " >&6; }
   18403 XORG_SGML_PATH=
   18404 if test -n "$PKG_CONFIG" && \
   18405     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.8\""; } >&5
   18406   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.8") 2>&5
   18407   ac_status=$?
   18408   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18409   test $ac_status = 0; }; then
   18410   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   18411 else
   18412   :
   18413 
   18414 fi
   18415 
   18416 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   18417 # the path and the name of the doc stylesheet
   18418 if test "x$XORG_SGML_PATH" != "x" ; then
   18419    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   18420 $as_echo "$XORG_SGML_PATH" >&6; }
   18421    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   18422    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   18423 else
   18424    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18425 $as_echo "no" >&6; }
   18426 fi
   18427 
   18428 
   18429 
   18430 
   18431  if test "x$XSL_STYLESHEET" != "x"; then
   18432   HAVE_STYLESHEETS_TRUE=
   18433   HAVE_STYLESHEETS_FALSE='#'
   18434 else
   18435   HAVE_STYLESHEETS_TRUE='#'
   18436   HAVE_STYLESHEETS_FALSE=
   18437 fi
   18438 
   18439 
   18440 
   18441 # Some compilers do not support per target -c and -o flags
   18442 
   18443 
   18444 # Checks for programs.
   18445 for ac_prog in gawk mawk nawk awk
   18446 do
   18447   # Extract the first word of "$ac_prog", so it can be a program name with args.
   18448 set dummy $ac_prog; ac_word=$2
   18449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18450 $as_echo_n "checking for $ac_word... " >&6; }
   18451 if ${ac_cv_prog_AWK+:} false; then :
   18452   $as_echo_n "(cached) " >&6
   18453 else
   18454   if test -n "$AWK"; then
   18455   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   18456 else
   18457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18458 for as_dir in $PATH
   18459 do
   18460   IFS=$as_save_IFS
   18461   test -z "$as_dir" && as_dir=.
   18462     for ac_exec_ext in '' $ac_executable_extensions; do
   18463   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18464     ac_cv_prog_AWK="$ac_prog"
   18465     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18466     break 2
   18467   fi
   18468 done
   18469   done
   18470 IFS=$as_save_IFS
   18471 
   18472 fi
   18473 fi
   18474 AWK=$ac_cv_prog_AWK
   18475 if test -n "$AWK"; then
   18476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   18477 $as_echo "$AWK" >&6; }
   18478 else
   18479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18480 $as_echo "no" >&6; }
   18481 fi
   18482 
   18483 
   18484   test -n "$AWK" && break
   18485 done
   18486 
   18487 
   18488 # Need to call this explicitly since the first call to PKG_CHECK_MODULES
   18489 # is in an if statement, and later calls would break if it's skipped.
   18490 
   18491 
   18492 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   18493 	if test -n "$ac_tool_prefix"; then
   18494   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   18495 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   18496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18497 $as_echo_n "checking for $ac_word... " >&6; }
   18498 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   18499   $as_echo_n "(cached) " >&6
   18500 else
   18501   case $PKG_CONFIG in
   18502   [\\/]* | ?:[\\/]*)
   18503   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   18504   ;;
   18505   *)
   18506   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18507 for as_dir in $PATH
   18508 do
   18509   IFS=$as_save_IFS
   18510   test -z "$as_dir" && as_dir=.
   18511     for ac_exec_ext in '' $ac_executable_extensions; do
   18512   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18513     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   18514     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18515     break 2
   18516   fi
   18517 done
   18518   done
   18519 IFS=$as_save_IFS
   18520 
   18521   ;;
   18522 esac
   18523 fi
   18524 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   18525 if test -n "$PKG_CONFIG"; then
   18526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   18527 $as_echo "$PKG_CONFIG" >&6; }
   18528 else
   18529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18530 $as_echo "no" >&6; }
   18531 fi
   18532 
   18533 
   18534 fi
   18535 if test -z "$ac_cv_path_PKG_CONFIG"; then
   18536   ac_pt_PKG_CONFIG=$PKG_CONFIG
   18537   # Extract the first word of "pkg-config", so it can be a program name with args.
   18538 set dummy pkg-config; ac_word=$2
   18539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18540 $as_echo_n "checking for $ac_word... " >&6; }
   18541 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   18542   $as_echo_n "(cached) " >&6
   18543 else
   18544   case $ac_pt_PKG_CONFIG in
   18545   [\\/]* | ?:[\\/]*)
   18546   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   18547   ;;
   18548   *)
   18549   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18550 for as_dir in $PATH
   18551 do
   18552   IFS=$as_save_IFS
   18553   test -z "$as_dir" && as_dir=.
   18554     for ac_exec_ext in '' $ac_executable_extensions; do
   18555   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18556     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   18557     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18558     break 2
   18559   fi
   18560 done
   18561   done
   18562 IFS=$as_save_IFS
   18563 
   18564   ;;
   18565 esac
   18566 fi
   18567 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   18568 if test -n "$ac_pt_PKG_CONFIG"; then
   18569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   18570 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   18571 else
   18572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18573 $as_echo "no" >&6; }
   18574 fi
   18575 
   18576   if test "x$ac_pt_PKG_CONFIG" = x; then
   18577     PKG_CONFIG=""
   18578   else
   18579     case $cross_compiling:$ac_tool_warned in
   18580 yes:)
   18581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   18582 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   18583 ac_tool_warned=yes ;;
   18584 esac
   18585     PKG_CONFIG=$ac_pt_PKG_CONFIG
   18586   fi
   18587 else
   18588   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   18589 fi
   18590 
   18591 fi
   18592 if test -n "$PKG_CONFIG"; then
   18593 	_pkg_min_version=0.9.0
   18594 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   18595 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   18596 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   18597 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18598 $as_echo "yes" >&6; }
   18599 	else
   18600 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18601 $as_echo "no" >&6; }
   18602 		PKG_CONFIG=""
   18603 	fi
   18604 
   18605 fi
   18606 
   18607 #
   18608 # fix libtool to set SONAME to libXaw.so.$major
   18609 #
   18610 ac_config_commands="$ac_config_commands libtool_hack"
   18611 
   18612 
   18613 # OSX/Win32 rules are different.
   18614 platform_win32=no
   18615 platform_darwin=no
   18616 LIBEXT=so
   18617 case $host_os in
   18618     cygwin*|mingw*)
   18619 	LIBEXT=dll.a
   18620 	platform_win32=yes
   18621 	;;
   18622     darwin*)
   18623 	LIBEXT=dylib
   18624 	platform_darwin=yes
   18625 	;;
   18626 esac
   18627 
   18628  if test "x$platform_win32" = "xyes"; then
   18629   PLATFORM_WIN32_TRUE=
   18630   PLATFORM_WIN32_FALSE='#'
   18631 else
   18632   PLATFORM_WIN32_TRUE='#'
   18633   PLATFORM_WIN32_FALSE=
   18634 fi
   18635 
   18636  if test "x$platform_darwin" = "xyes"; then
   18637   PLATFORM_DARWIN_TRUE=
   18638   PLATFORM_DARWIN_FALSE='#'
   18639 else
   18640   PLATFORM_DARWIN_TRUE='#'
   18641   PLATFORM_DARWIN_FALSE=
   18642 fi
   18643 
   18644 
   18645 # Whether to build Xaw6
   18646 
   18647 # Check whether --enable-xaw6 was given.
   18648 if test "${enable_xaw6+set}" = set; then :
   18649   enableval=$enable_xaw6; build_v6=$enableval
   18650 else
   18651   build_v6=yes
   18652 fi
   18653 
   18654 
   18655 if test "x$build_v6" = xyes; then
   18656 
   18657 pkg_failed=no
   18658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XAW6" >&5
   18659 $as_echo_n "checking for XAW6... " >&6; }
   18660 
   18661 if test -n "$XAW6_CFLAGS"; then
   18662     pkg_cv_XAW6_CFLAGS="$XAW6_CFLAGS"
   18663  elif test -n "$PKG_CONFIG"; then
   18664     if test -n "$PKG_CONFIG" && \
   18665     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto x11 xext xextproto xt xmu\""; } >&5
   18666   ($PKG_CONFIG --exists --print-errors "xproto x11 xext xextproto xt xmu") 2>&5
   18667   ac_status=$?
   18668   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18669   test $ac_status = 0; }; then
   18670   pkg_cv_XAW6_CFLAGS=`$PKG_CONFIG --cflags "xproto x11 xext xextproto xt xmu" 2>/dev/null`
   18671 else
   18672   pkg_failed=yes
   18673 fi
   18674  else
   18675     pkg_failed=untried
   18676 fi
   18677 if test -n "$XAW6_LIBS"; then
   18678     pkg_cv_XAW6_LIBS="$XAW6_LIBS"
   18679  elif test -n "$PKG_CONFIG"; then
   18680     if test -n "$PKG_CONFIG" && \
   18681     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto x11 xext xextproto xt xmu\""; } >&5
   18682   ($PKG_CONFIG --exists --print-errors "xproto x11 xext xextproto xt xmu") 2>&5
   18683   ac_status=$?
   18684   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18685   test $ac_status = 0; }; then
   18686   pkg_cv_XAW6_LIBS=`$PKG_CONFIG --libs "xproto x11 xext xextproto xt xmu" 2>/dev/null`
   18687 else
   18688   pkg_failed=yes
   18689 fi
   18690  else
   18691     pkg_failed=untried
   18692 fi
   18693 
   18694 
   18695 
   18696 if test $pkg_failed = yes; then
   18697 
   18698 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18699         _pkg_short_errors_supported=yes
   18700 else
   18701         _pkg_short_errors_supported=no
   18702 fi
   18703         if test $_pkg_short_errors_supported = yes; then
   18704 	        XAW6_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto x11 xext xextproto xt xmu" 2>&1`
   18705         else
   18706 	        XAW6_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto x11 xext xextproto xt xmu" 2>&1`
   18707         fi
   18708 	# Put the nasty error message in config.log where it belongs
   18709 	echo "$XAW6_PKG_ERRORS" >&5
   18710 
   18711 	as_fn_error $? "Package requirements (xproto x11 xext xextproto xt xmu) were not met:
   18712 
   18713 $XAW6_PKG_ERRORS
   18714 
   18715 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18716 installed software in a non-standard prefix.
   18717 
   18718 Alternatively, you may set the environment variables XAW6_CFLAGS
   18719 and XAW6_LIBS to avoid the need to call pkg-config.
   18720 See the pkg-config man page for more details.
   18721 " "$LINENO" 5
   18722 elif test $pkg_failed = untried; then
   18723 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18724 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18725 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18726 is in your PATH or set the PKG_CONFIG environment variable to the full
   18727 path to pkg-config.
   18728 
   18729 Alternatively, you may set the environment variables XAW6_CFLAGS
   18730 and XAW6_LIBS to avoid the need to call pkg-config.
   18731 See the pkg-config man page for more details.
   18732 
   18733 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18734 See \`config.log' for more details" "$LINENO" 5; }
   18735 else
   18736 	XAW6_CFLAGS=$pkg_cv_XAW6_CFLAGS
   18737 	XAW6_LIBS=$pkg_cv_XAW6_LIBS
   18738         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18739 $as_echo "yes" >&6; }
   18740 	:
   18741 fi
   18742 fi
   18743 
   18744 
   18745 # Whether to build Xaw7
   18746 
   18747 # Check whether --enable-xaw7 was given.
   18748 if test "${enable_xaw7+set}" = set; then :
   18749   enableval=$enable_xaw7; build_v7=$enableval
   18750 else
   18751   build_v7=yes
   18752 fi
   18753 
   18754 
   18755 if test "x$build_v7" = xyes; then
   18756 
   18757 pkg_failed=no
   18758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XAW7" >&5
   18759 $as_echo_n "checking for XAW7... " >&6; }
   18760 
   18761 if test -n "$XAW7_CFLAGS"; then
   18762     pkg_cv_XAW7_CFLAGS="$XAW7_CFLAGS"
   18763  elif test -n "$PKG_CONFIG"; then
   18764     if test -n "$PKG_CONFIG" && \
   18765     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto x11 xext xextproto xt xmu xpm\""; } >&5
   18766   ($PKG_CONFIG --exists --print-errors "xproto x11 xext xextproto xt xmu xpm") 2>&5
   18767   ac_status=$?
   18768   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18769   test $ac_status = 0; }; then
   18770   pkg_cv_XAW7_CFLAGS=`$PKG_CONFIG --cflags "xproto x11 xext xextproto xt xmu xpm" 2>/dev/null`
   18771 else
   18772   pkg_failed=yes
   18773 fi
   18774  else
   18775     pkg_failed=untried
   18776 fi
   18777 if test -n "$XAW7_LIBS"; then
   18778     pkg_cv_XAW7_LIBS="$XAW7_LIBS"
   18779  elif test -n "$PKG_CONFIG"; then
   18780     if test -n "$PKG_CONFIG" && \
   18781     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto x11 xext xextproto xt xmu xpm\""; } >&5
   18782   ($PKG_CONFIG --exists --print-errors "xproto x11 xext xextproto xt xmu xpm") 2>&5
   18783   ac_status=$?
   18784   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18785   test $ac_status = 0; }; then
   18786   pkg_cv_XAW7_LIBS=`$PKG_CONFIG --libs "xproto x11 xext xextproto xt xmu xpm" 2>/dev/null`
   18787 else
   18788   pkg_failed=yes
   18789 fi
   18790  else
   18791     pkg_failed=untried
   18792 fi
   18793 
   18794 
   18795 
   18796 if test $pkg_failed = yes; then
   18797 
   18798 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18799         _pkg_short_errors_supported=yes
   18800 else
   18801         _pkg_short_errors_supported=no
   18802 fi
   18803         if test $_pkg_short_errors_supported = yes; then
   18804 	        XAW7_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto x11 xext xextproto xt xmu xpm" 2>&1`
   18805         else
   18806 	        XAW7_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto x11 xext xextproto xt xmu xpm" 2>&1`
   18807         fi
   18808 	# Put the nasty error message in config.log where it belongs
   18809 	echo "$XAW7_PKG_ERRORS" >&5
   18810 
   18811 	as_fn_error $? "Package requirements (xproto x11 xext xextproto xt xmu xpm) were not met:
   18812 
   18813 $XAW7_PKG_ERRORS
   18814 
   18815 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18816 installed software in a non-standard prefix.
   18817 
   18818 Alternatively, you may set the environment variables XAW7_CFLAGS
   18819 and XAW7_LIBS to avoid the need to call pkg-config.
   18820 See the pkg-config man page for more details.
   18821 " "$LINENO" 5
   18822 elif test $pkg_failed = untried; then
   18823 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18824 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18825 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18826 is in your PATH or set the PKG_CONFIG environment variable to the full
   18827 path to pkg-config.
   18828 
   18829 Alternatively, you may set the environment variables XAW7_CFLAGS
   18830 and XAW7_LIBS to avoid the need to call pkg-config.
   18831 See the pkg-config man page for more details.
   18832 
   18833 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18834 See \`config.log' for more details" "$LINENO" 5; }
   18835 else
   18836 	XAW7_CFLAGS=$pkg_cv_XAW7_CFLAGS
   18837 	XAW7_LIBS=$pkg_cv_XAW7_LIBS
   18838         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18839 $as_echo "yes" >&6; }
   18840 	:
   18841 fi
   18842 fi
   18843 
   18844 
   18845  if test x$build_v6 = xyes; then
   18846   BUILD_XAW6_TRUE=
   18847   BUILD_XAW6_FALSE='#'
   18848 else
   18849   BUILD_XAW6_TRUE='#'
   18850   BUILD_XAW6_FALSE=
   18851 fi
   18852 
   18853  if test x$build_v7 = xyes; then
   18854   BUILD_XAW7_TRUE=
   18855   BUILD_XAW7_FALSE='#'
   18856 else
   18857   BUILD_XAW7_TRUE='#'
   18858   BUILD_XAW7_FALSE=
   18859 fi
   18860 
   18861 
   18862 # Checks for header files.
   18863 for ac_header in wctype.h wchar.h widec.h
   18864 do :
   18865   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   18866 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   18867 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   18868   cat >>confdefs.h <<_ACEOF
   18869 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   18870 _ACEOF
   18871 
   18872 fi
   18873 
   18874 done
   18875 
   18876 
   18877 # Checks for functions
   18878 for ac_func in iswalnum getpagesize
   18879 do :
   18880   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   18881 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   18882 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   18883   cat >>confdefs.h <<_ACEOF
   18884 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   18885 _ACEOF
   18886 
   18887 fi
   18888 done
   18889 
   18890 
   18891 # Link with winsock if mingw target
   18892 case $host_os in
   18893 	*mingw*)
   18894 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   18895 $as_echo_n "checking for main in -lws2_32... " >&6; }
   18896 if ${ac_cv_lib_ws2_32_main+:} false; then :
   18897   $as_echo_n "(cached) " >&6
   18898 else
   18899   ac_check_lib_save_LIBS=$LIBS
   18900 LIBS="-lws2_32  $LIBS"
   18901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18902 /* end confdefs.h.  */
   18903 
   18904 
   18905 int
   18906 main ()
   18907 {
   18908 return main ();
   18909   ;
   18910   return 0;
   18911 }
   18912 _ACEOF
   18913 if ac_fn_c_try_link "$LINENO"; then :
   18914   ac_cv_lib_ws2_32_main=yes
   18915 else
   18916   ac_cv_lib_ws2_32_main=no
   18917 fi
   18918 rm -f core conftest.err conftest.$ac_objext \
   18919     conftest$ac_exeext conftest.$ac_ext
   18920 LIBS=$ac_check_lib_save_LIBS
   18921 fi
   18922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   18923 $as_echo "$ac_cv_lib_ws2_32_main" >&6; }
   18924 if test "x$ac_cv_lib_ws2_32_main" = xyes; then :
   18925   cat >>confdefs.h <<_ACEOF
   18926 #define HAVE_LIBWS2_32 1
   18927 _ACEOF
   18928 
   18929   LIBS="-lws2_32 $LIBS"
   18930 
   18931 fi
   18932 
   18933 	;;
   18934 	*)
   18935 	;;
   18936 esac
   18937 
   18938 ac_config_files="$ac_config_files Makefile include/Makefile man/Makefile specs/Makefile src/Makefile"
   18939 
   18940 
   18941 if test "x$build_v6" = xyes; then
   18942    ac_config_files="$ac_config_files xaw6.pc"
   18943 
   18944 fi
   18945 
   18946 if test "x$build_v7" = xyes; then
   18947    ac_config_files="$ac_config_files xaw7.pc"
   18948 
   18949 fi
   18950 
   18951 cat >confcache <<\_ACEOF
   18952 # This file is a shell script that caches the results of configure
   18953 # tests run on this system so they can be shared between configure
   18954 # scripts and configure runs, see configure's option --config-cache.
   18955 # It is not useful on other systems.  If it contains results you don't
   18956 # want to keep, you may remove or edit it.
   18957 #
   18958 # config.status only pays attention to the cache file if you give it
   18959 # the --recheck option to rerun configure.
   18960 #
   18961 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   18962 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   18963 # following values.
   18964 
   18965 _ACEOF
   18966 
   18967 # The following way of writing the cache mishandles newlines in values,
   18968 # but we know of no workaround that is simple, portable, and efficient.
   18969 # So, we kill variables containing newlines.
   18970 # Ultrix sh set writes to stderr and can't be redirected directly,
   18971 # and sets the high bit in the cache file unless we assign to the vars.
   18972 (
   18973   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   18974     eval ac_val=\$$ac_var
   18975     case $ac_val in #(
   18976     *${as_nl}*)
   18977       case $ac_var in #(
   18978       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   18979 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   18980       esac
   18981       case $ac_var in #(
   18982       _ | IFS | as_nl) ;; #(
   18983       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   18984       *) { eval $ac_var=; unset $ac_var;} ;;
   18985       esac ;;
   18986     esac
   18987   done
   18988 
   18989   (set) 2>&1 |
   18990     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   18991     *${as_nl}ac_space=\ *)
   18992       # `set' does not quote correctly, so add quotes: double-quote
   18993       # substitution turns \\\\ into \\, and sed turns \\ into \.
   18994       sed -n \
   18995 	"s/'/'\\\\''/g;
   18996 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   18997       ;; #(
   18998     *)
   18999       # `set' quotes correctly as required by POSIX, so do not add quotes.
   19000       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   19001       ;;
   19002     esac |
   19003     sort
   19004 ) |
   19005   sed '
   19006      /^ac_cv_env_/b end
   19007      t clear
   19008      :clear
   19009      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   19010      t end
   19011      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   19012      :end' >>confcache
   19013 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   19014   if test -w "$cache_file"; then
   19015     if test "x$cache_file" != "x/dev/null"; then
   19016       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   19017 $as_echo "$as_me: updating cache $cache_file" >&6;}
   19018       if test ! -f "$cache_file" || test -h "$cache_file"; then
   19019 	cat confcache >"$cache_file"
   19020       else
   19021         case $cache_file in #(
   19022         */* | ?:*)
   19023 	  mv -f confcache "$cache_file"$$ &&
   19024 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   19025         *)
   19026 	  mv -f confcache "$cache_file" ;;
   19027 	esac
   19028       fi
   19029     fi
   19030   else
   19031     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   19032 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   19033   fi
   19034 fi
   19035 rm -f confcache
   19036 
   19037 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   19038 # Let make expand exec_prefix.
   19039 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   19040 
   19041 DEFS=-DHAVE_CONFIG_H
   19042 
   19043 ac_libobjs=
   19044 ac_ltlibobjs=
   19045 U=
   19046 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   19047   # 1. Remove the extension, and $U if already installed.
   19048   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   19049   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   19050   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   19051   #    will be set to the directory where LIBOBJS objects are built.
   19052   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   19053   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   19054 done
   19055 LIBOBJS=$ac_libobjs
   19056 
   19057 LTLIBOBJS=$ac_ltlibobjs
   19058 
   19059 
   19060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   19061 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   19062    if test -n "$am_sleep_pid"; then
   19063      # Hide warnings about reused PIDs.
   19064      wait $am_sleep_pid 2>/dev/null
   19065    fi
   19066    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   19067 $as_echo "done" >&6; }
   19068  if test -n "$EXEEXT"; then
   19069   am__EXEEXT_TRUE=
   19070   am__EXEEXT_FALSE='#'
   19071 else
   19072   am__EXEEXT_TRUE='#'
   19073   am__EXEEXT_FALSE=
   19074 fi
   19075 
   19076 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   19077   as_fn_error $? "conditional \"AMDEP\" was never defined.
   19078 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19079 fi
   19080 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   19081   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   19082 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19083 fi
   19084 if test -z "${ENABLE_SPECS_TRUE}" && test -z "${ENABLE_SPECS_FALSE}"; then
   19085   as_fn_error $? "conditional \"ENABLE_SPECS\" was never defined.
   19086 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19087 fi
   19088 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   19089   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   19090 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19091 fi
   19092 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   19093   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   19094 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19095 fi
   19096 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   19097   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   19098 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19099 fi
   19100 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
   19101   as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
   19102 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19103 fi
   19104 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   19105   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   19106 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19107 fi
   19108 if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
   19109   as_fn_error $? "conditional \"PLATFORM_WIN32\" was never defined.
   19110 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19111 fi
   19112 if test -z "${PLATFORM_DARWIN_TRUE}" && test -z "${PLATFORM_DARWIN_FALSE}"; then
   19113   as_fn_error $? "conditional \"PLATFORM_DARWIN\" was never defined.
   19114 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19115 fi
   19116 if test -z "${BUILD_XAW6_TRUE}" && test -z "${BUILD_XAW6_FALSE}"; then
   19117   as_fn_error $? "conditional \"BUILD_XAW6\" was never defined.
   19118 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19119 fi
   19120 if test -z "${BUILD_XAW7_TRUE}" && test -z "${BUILD_XAW7_FALSE}"; then
   19121   as_fn_error $? "conditional \"BUILD_XAW7\" was never defined.
   19122 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19123 fi
   19124 
   19125 : "${CONFIG_STATUS=./config.status}"
   19126 ac_write_fail=0
   19127 ac_clean_files_save=$ac_clean_files
   19128 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   19129 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   19130 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   19131 as_write_fail=0
   19132 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   19133 #! $SHELL
   19134 # Generated by $as_me.
   19135 # Run this file to recreate the current configuration.
   19136 # Compiler output produced by configure, useful for debugging
   19137 # configure, is in config.log if it exists.
   19138 
   19139 debug=false
   19140 ac_cs_recheck=false
   19141 ac_cs_silent=false
   19142 
   19143 SHELL=\${CONFIG_SHELL-$SHELL}
   19144 export SHELL
   19145 _ASEOF
   19146 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   19147 ## -------------------- ##
   19148 ## M4sh Initialization. ##
   19149 ## -------------------- ##
   19150 
   19151 # Be more Bourne compatible
   19152 DUALCASE=1; export DUALCASE # for MKS sh
   19153 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   19154   emulate sh
   19155   NULLCMD=:
   19156   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   19157   # is contrary to our usage.  Disable this feature.
   19158   alias -g '${1+"$@"}'='"$@"'
   19159   setopt NO_GLOB_SUBST
   19160 else
   19161   case `(set -o) 2>/dev/null` in #(
   19162   *posix*) :
   19163     set -o posix ;; #(
   19164   *) :
   19165      ;;
   19166 esac
   19167 fi
   19168 
   19169 
   19170 as_nl='
   19171 '
   19172 export as_nl
   19173 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   19174 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   19175 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   19176 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   19177 # Prefer a ksh shell builtin over an external printf program on Solaris,
   19178 # but without wasting forks for bash or zsh.
   19179 if test -z "$BASH_VERSION$ZSH_VERSION" \
   19180     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   19181   as_echo='print -r --'
   19182   as_echo_n='print -rn --'
   19183 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   19184   as_echo='printf %s\n'
   19185   as_echo_n='printf %s'
   19186 else
   19187   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   19188     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   19189     as_echo_n='/usr/ucb/echo -n'
   19190   else
   19191     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   19192     as_echo_n_body='eval
   19193       arg=$1;
   19194       case $arg in #(
   19195       *"$as_nl"*)
   19196 	expr "X$arg" : "X\\(.*\\)$as_nl";
   19197 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   19198       esac;
   19199       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   19200     '
   19201     export as_echo_n_body
   19202     as_echo_n='sh -c $as_echo_n_body as_echo'
   19203   fi
   19204   export as_echo_body
   19205   as_echo='sh -c $as_echo_body as_echo'
   19206 fi
   19207 
   19208 # The user is always right.
   19209 if test "${PATH_SEPARATOR+set}" != set; then
   19210   PATH_SEPARATOR=:
   19211   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   19212     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   19213       PATH_SEPARATOR=';'
   19214   }
   19215 fi
   19216 
   19217 
   19218 # IFS
   19219 # We need space, tab and new line, in precisely that order.  Quoting is
   19220 # there to prevent editors from complaining about space-tab.
   19221 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   19222 # splitting by setting IFS to empty value.)
   19223 IFS=" ""	$as_nl"
   19224 
   19225 # Find who we are.  Look in the path if we contain no directory separator.
   19226 as_myself=
   19227 case $0 in #((
   19228   *[\\/]* ) as_myself=$0 ;;
   19229   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19230 for as_dir in $PATH
   19231 do
   19232   IFS=$as_save_IFS
   19233   test -z "$as_dir" && as_dir=.
   19234     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   19235   done
   19236 IFS=$as_save_IFS
   19237 
   19238      ;;
   19239 esac
   19240 # We did not find ourselves, most probably we were run as `sh COMMAND'
   19241 # in which case we are not to be found in the path.
   19242 if test "x$as_myself" = x; then
   19243   as_myself=$0
   19244 fi
   19245 if test ! -f "$as_myself"; then
   19246   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   19247   exit 1
   19248 fi
   19249 
   19250 # Unset variables that we do not need and which cause bugs (e.g. in
   19251 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   19252 # suppresses any "Segmentation fault" message there.  '((' could
   19253 # trigger a bug in pdksh 5.2.14.
   19254 for as_var in BASH_ENV ENV MAIL MAILPATH
   19255 do eval test x\${$as_var+set} = xset \
   19256   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   19257 done
   19258 PS1='$ '
   19259 PS2='> '
   19260 PS4='+ '
   19261 
   19262 # NLS nuisances.
   19263 LC_ALL=C
   19264 export LC_ALL
   19265 LANGUAGE=C
   19266 export LANGUAGE
   19267 
   19268 # CDPATH.
   19269 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19270 
   19271 
   19272 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   19273 # ----------------------------------------
   19274 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   19275 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   19276 # script with STATUS, using 1 if that was 0.
   19277 as_fn_error ()
   19278 {
   19279   as_status=$1; test $as_status -eq 0 && as_status=1
   19280   if test "$4"; then
   19281     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   19282     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   19283   fi
   19284   $as_echo "$as_me: error: $2" >&2
   19285   as_fn_exit $as_status
   19286 } # as_fn_error
   19287 
   19288 
   19289 # as_fn_set_status STATUS
   19290 # -----------------------
   19291 # Set $? to STATUS, without forking.
   19292 as_fn_set_status ()
   19293 {
   19294   return $1
   19295 } # as_fn_set_status
   19296 
   19297 # as_fn_exit STATUS
   19298 # -----------------
   19299 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   19300 as_fn_exit ()
   19301 {
   19302   set +e
   19303   as_fn_set_status $1
   19304   exit $1
   19305 } # as_fn_exit
   19306 
   19307 # as_fn_unset VAR
   19308 # ---------------
   19309 # Portably unset VAR.
   19310 as_fn_unset ()
   19311 {
   19312   { eval $1=; unset $1;}
   19313 }
   19314 as_unset=as_fn_unset
   19315 # as_fn_append VAR VALUE
   19316 # ----------------------
   19317 # Append the text in VALUE to the end of the definition contained in VAR. Take
   19318 # advantage of any shell optimizations that allow amortized linear growth over
   19319 # repeated appends, instead of the typical quadratic growth present in naive
   19320 # implementations.
   19321 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   19322   eval 'as_fn_append ()
   19323   {
   19324     eval $1+=\$2
   19325   }'
   19326 else
   19327   as_fn_append ()
   19328   {
   19329     eval $1=\$$1\$2
   19330   }
   19331 fi # as_fn_append
   19332 
   19333 # as_fn_arith ARG...
   19334 # ------------------
   19335 # Perform arithmetic evaluation on the ARGs, and store the result in the
   19336 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   19337 # must be portable across $(()) and expr.
   19338 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   19339   eval 'as_fn_arith ()
   19340   {
   19341     as_val=$(( $* ))
   19342   }'
   19343 else
   19344   as_fn_arith ()
   19345   {
   19346     as_val=`expr "$@" || test $? -eq 1`
   19347   }
   19348 fi # as_fn_arith
   19349 
   19350 
   19351 if expr a : '\(a\)' >/dev/null 2>&1 &&
   19352    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   19353   as_expr=expr
   19354 else
   19355   as_expr=false
   19356 fi
   19357 
   19358 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   19359   as_basename=basename
   19360 else
   19361   as_basename=false
   19362 fi
   19363 
   19364 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   19365   as_dirname=dirname
   19366 else
   19367   as_dirname=false
   19368 fi
   19369 
   19370 as_me=`$as_basename -- "$0" ||
   19371 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   19372 	 X"$0" : 'X\(//\)$' \| \
   19373 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   19374 $as_echo X/"$0" |
   19375     sed '/^.*\/\([^/][^/]*\)\/*$/{
   19376 	    s//\1/
   19377 	    q
   19378 	  }
   19379 	  /^X\/\(\/\/\)$/{
   19380 	    s//\1/
   19381 	    q
   19382 	  }
   19383 	  /^X\/\(\/\).*/{
   19384 	    s//\1/
   19385 	    q
   19386 	  }
   19387 	  s/.*/./; q'`
   19388 
   19389 # Avoid depending upon Character Ranges.
   19390 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   19391 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   19392 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   19393 as_cr_digits='0123456789'
   19394 as_cr_alnum=$as_cr_Letters$as_cr_digits
   19395 
   19396 ECHO_C= ECHO_N= ECHO_T=
   19397 case `echo -n x` in #(((((
   19398 -n*)
   19399   case `echo 'xy\c'` in
   19400   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   19401   xy)  ECHO_C='\c';;
   19402   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   19403        ECHO_T='	';;
   19404   esac;;
   19405 *)
   19406   ECHO_N='-n';;
   19407 esac
   19408 
   19409 rm -f conf$$ conf$$.exe conf$$.file
   19410 if test -d conf$$.dir; then
   19411   rm -f conf$$.dir/conf$$.file
   19412 else
   19413   rm -f conf$$.dir
   19414   mkdir conf$$.dir 2>/dev/null
   19415 fi
   19416 if (echo >conf$$.file) 2>/dev/null; then
   19417   if ln -s conf$$.file conf$$ 2>/dev/null; then
   19418     as_ln_s='ln -s'
   19419     # ... but there are two gotchas:
   19420     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   19421     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   19422     # In both cases, we have to default to `cp -pR'.
   19423     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   19424       as_ln_s='cp -pR'
   19425   elif ln conf$$.file conf$$ 2>/dev/null; then
   19426     as_ln_s=ln
   19427   else
   19428     as_ln_s='cp -pR'
   19429   fi
   19430 else
   19431   as_ln_s='cp -pR'
   19432 fi
   19433 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   19434 rmdir conf$$.dir 2>/dev/null
   19435 
   19436 
   19437 # as_fn_mkdir_p
   19438 # -------------
   19439 # Create "$as_dir" as a directory, including parents if necessary.
   19440 as_fn_mkdir_p ()
   19441 {
   19442 
   19443   case $as_dir in #(
   19444   -*) as_dir=./$as_dir;;
   19445   esac
   19446   test -d "$as_dir" || eval $as_mkdir_p || {
   19447     as_dirs=
   19448     while :; do
   19449       case $as_dir in #(
   19450       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   19451       *) as_qdir=$as_dir;;
   19452       esac
   19453       as_dirs="'$as_qdir' $as_dirs"
   19454       as_dir=`$as_dirname -- "$as_dir" ||
   19455 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19456 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   19457 	 X"$as_dir" : 'X\(//\)$' \| \
   19458 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   19459 $as_echo X"$as_dir" |
   19460     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19461 	    s//\1/
   19462 	    q
   19463 	  }
   19464 	  /^X\(\/\/\)[^/].*/{
   19465 	    s//\1/
   19466 	    q
   19467 	  }
   19468 	  /^X\(\/\/\)$/{
   19469 	    s//\1/
   19470 	    q
   19471 	  }
   19472 	  /^X\(\/\).*/{
   19473 	    s//\1/
   19474 	    q
   19475 	  }
   19476 	  s/.*/./; q'`
   19477       test -d "$as_dir" && break
   19478     done
   19479     test -z "$as_dirs" || eval "mkdir $as_dirs"
   19480   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   19481 
   19482 
   19483 } # as_fn_mkdir_p
   19484 if mkdir -p . 2>/dev/null; then
   19485   as_mkdir_p='mkdir -p "$as_dir"'
   19486 else
   19487   test -d ./-p && rmdir ./-p
   19488   as_mkdir_p=false
   19489 fi
   19490 
   19491 
   19492 # as_fn_executable_p FILE
   19493 # -----------------------
   19494 # Test if FILE is an executable regular file.
   19495 as_fn_executable_p ()
   19496 {
   19497   test -f "$1" && test -x "$1"
   19498 } # as_fn_executable_p
   19499 as_test_x='test -x'
   19500 as_executable_p=as_fn_executable_p
   19501 
   19502 # Sed expression to map a string onto a valid CPP name.
   19503 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   19504 
   19505 # Sed expression to map a string onto a valid variable name.
   19506 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   19507 
   19508 
   19509 exec 6>&1
   19510 ## ----------------------------------- ##
   19511 ## Main body of $CONFIG_STATUS script. ##
   19512 ## ----------------------------------- ##
   19513 _ASEOF
   19514 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   19515 
   19516 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19517 # Save the log message, to keep $0 and so on meaningful, and to
   19518 # report actual input values of CONFIG_FILES etc. instead of their
   19519 # values after options handling.
   19520 ac_log="
   19521 This file was extended by libXaw $as_me 1.0.13, which was
   19522 generated by GNU Autoconf 2.69.  Invocation command line was
   19523 
   19524   CONFIG_FILES    = $CONFIG_FILES
   19525   CONFIG_HEADERS  = $CONFIG_HEADERS
   19526   CONFIG_LINKS    = $CONFIG_LINKS
   19527   CONFIG_COMMANDS = $CONFIG_COMMANDS
   19528   $ $0 $@
   19529 
   19530 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   19531 "
   19532 
   19533 _ACEOF
   19534 
   19535 case $ac_config_files in *"
   19536 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   19537 esac
   19538 
   19539 case $ac_config_headers in *"
   19540 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   19541 esac
   19542 
   19543 
   19544 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19545 # Files that config.status was made for.
   19546 config_files="$ac_config_files"
   19547 config_headers="$ac_config_headers"
   19548 config_commands="$ac_config_commands"
   19549 
   19550 _ACEOF
   19551 
   19552 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19553 ac_cs_usage="\
   19554 \`$as_me' instantiates files and other configuration actions
   19555 from templates according to the current configuration.  Unless the files
   19556 and actions are specified as TAGs, all are instantiated by default.
   19557 
   19558 Usage: $0 [OPTION]... [TAG]...
   19559 
   19560   -h, --help       print this help, then exit
   19561   -V, --version    print version number and configuration settings, then exit
   19562       --config     print configuration, then exit
   19563   -q, --quiet, --silent
   19564                    do not print progress messages
   19565   -d, --debug      don't remove temporary files
   19566       --recheck    update $as_me by reconfiguring in the same conditions
   19567       --file=FILE[:TEMPLATE]
   19568                    instantiate the configuration file FILE
   19569       --header=FILE[:TEMPLATE]
   19570                    instantiate the configuration header FILE
   19571 
   19572 Configuration files:
   19573 $config_files
   19574 
   19575 Configuration headers:
   19576 $config_headers
   19577 
   19578 Configuration commands:
   19579 $config_commands
   19580 
   19581 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   19582 
   19583 _ACEOF
   19584 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19585 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   19586 ac_cs_version="\\
   19587 libXaw config.status 1.0.13
   19588 configured by $0, generated by GNU Autoconf 2.69,
   19589   with options \\"\$ac_cs_config\\"
   19590 
   19591 Copyright (C) 2012 Free Software Foundation, Inc.
   19592 This config.status script is free software; the Free Software Foundation
   19593 gives unlimited permission to copy, distribute and modify it."
   19594 
   19595 ac_pwd='$ac_pwd'
   19596 srcdir='$srcdir'
   19597 INSTALL='$INSTALL'
   19598 MKDIR_P='$MKDIR_P'
   19599 AWK='$AWK'
   19600 test -n "\$AWK" || AWK=awk
   19601 _ACEOF
   19602 
   19603 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19604 # The default lists apply if the user does not specify any file.
   19605 ac_need_defaults=:
   19606 while test $# != 0
   19607 do
   19608   case $1 in
   19609   --*=?*)
   19610     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19611     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   19612     ac_shift=:
   19613     ;;
   19614   --*=)
   19615     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19616     ac_optarg=
   19617     ac_shift=:
   19618     ;;
   19619   *)
   19620     ac_option=$1
   19621     ac_optarg=$2
   19622     ac_shift=shift
   19623     ;;
   19624   esac
   19625 
   19626   case $ac_option in
   19627   # Handling of the options.
   19628   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   19629     ac_cs_recheck=: ;;
   19630   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   19631     $as_echo "$ac_cs_version"; exit ;;
   19632   --config | --confi | --conf | --con | --co | --c )
   19633     $as_echo "$ac_cs_config"; exit ;;
   19634   --debug | --debu | --deb | --de | --d | -d )
   19635     debug=: ;;
   19636   --file | --fil | --fi | --f )
   19637     $ac_shift
   19638     case $ac_optarg in
   19639     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19640     '') as_fn_error $? "missing file argument" ;;
   19641     esac
   19642     as_fn_append CONFIG_FILES " '$ac_optarg'"
   19643     ac_need_defaults=false;;
   19644   --header | --heade | --head | --hea )
   19645     $ac_shift
   19646     case $ac_optarg in
   19647     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19648     esac
   19649     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   19650     ac_need_defaults=false;;
   19651   --he | --h)
   19652     # Conflict between --help and --header
   19653     as_fn_error $? "ambiguous option: \`$1'
   19654 Try \`$0 --help' for more information.";;
   19655   --help | --hel | -h )
   19656     $as_echo "$ac_cs_usage"; exit ;;
   19657   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   19658   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   19659     ac_cs_silent=: ;;
   19660 
   19661   # This is an error.
   19662   -*) as_fn_error $? "unrecognized option: \`$1'
   19663 Try \`$0 --help' for more information." ;;
   19664 
   19665   *) as_fn_append ac_config_targets " $1"
   19666      ac_need_defaults=false ;;
   19667 
   19668   esac
   19669   shift
   19670 done
   19671 
   19672 ac_configure_extra_args=
   19673 
   19674 if $ac_cs_silent; then
   19675   exec 6>/dev/null
   19676   ac_configure_extra_args="$ac_configure_extra_args --silent"
   19677 fi
   19678 
   19679 _ACEOF
   19680 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19681 if \$ac_cs_recheck; then
   19682   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   19683   shift
   19684   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   19685   CONFIG_SHELL='$SHELL'
   19686   export CONFIG_SHELL
   19687   exec "\$@"
   19688 fi
   19689 
   19690 _ACEOF
   19691 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19692 exec 5>>config.log
   19693 {
   19694   echo
   19695   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   19696 ## Running $as_me. ##
   19697 _ASBOX
   19698   $as_echo "$ac_log"
   19699 } >&5
   19700 
   19701 _ACEOF
   19702 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19703 #
   19704 # INIT-COMMANDS
   19705 #
   19706 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   19707 
   19708 
   19709 # The HP-UX ksh and POSIX shell print the target directory to stdout
   19710 # if CDPATH is set.
   19711 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19712 
   19713 sed_quote_subst='$sed_quote_subst'
   19714 double_quote_subst='$double_quote_subst'
   19715 delay_variable_subst='$delay_variable_subst'
   19716 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   19717 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   19718 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   19719 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   19720 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   19721 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   19722 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   19723 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   19724 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   19725 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   19726 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   19727 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   19728 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   19729 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   19730 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   19731 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   19732 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   19733 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   19734 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   19735 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   19736 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   19737 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   19738 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   19739 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   19740 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   19741 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   19742 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   19743 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   19744 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   19745 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   19746 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   19747 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   19748 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   19749 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   19750 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   19751 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   19752 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   19753 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   19754 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   19755 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   19756 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   19757 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   19758 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   19759 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   19760 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   19761 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19762 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19763 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   19764 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   19765 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   19766 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   19767 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   19768 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   19769 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   19770 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   19771 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   19772 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"`'
   19773 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   19774 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   19775 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   19776 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   19777 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   19778 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   19779 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   19780 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   19781 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   19782 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   19783 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   19784 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   19785 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   19786 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   19787 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   19788 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   19789 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   19790 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   19791 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19792 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   19793 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   19794 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   19795 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   19796 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   19797 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   19798 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19799 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   19800 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19801 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   19802 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19803 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   19804 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19805 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19806 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   19807 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   19808 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   19809 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   19810 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   19811 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19812 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   19813 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   19814 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   19815 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   19816 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   19817 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   19818 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   19819 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   19820 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   19821 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   19822 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   19823 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   19824 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   19825 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   19826 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   19827 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19828 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   19829 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   19830 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   19831 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   19832 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   19833 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19834 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19835 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   19836 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   19837 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   19838 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   19839 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   19840 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   19841 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   19842 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   19843 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   19844 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   19845 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   19846 
   19847 LTCC='$LTCC'
   19848 LTCFLAGS='$LTCFLAGS'
   19849 compiler='$compiler_DEFAULT'
   19850 
   19851 # A function that is used when there is no print builtin or printf.
   19852 func_fallback_echo ()
   19853 {
   19854   eval 'cat <<_LTECHO_EOF
   19855 \$1
   19856 _LTECHO_EOF'
   19857 }
   19858 
   19859 # Quote evaled strings.
   19860 for var in SHELL \
   19861 ECHO \
   19862 PATH_SEPARATOR \
   19863 SED \
   19864 GREP \
   19865 EGREP \
   19866 FGREP \
   19867 LD \
   19868 NM \
   19869 LN_S \
   19870 lt_SP2NL \
   19871 lt_NL2SP \
   19872 reload_flag \
   19873 OBJDUMP \
   19874 deplibs_check_method \
   19875 file_magic_cmd \
   19876 file_magic_glob \
   19877 want_nocaseglob \
   19878 DLLTOOL \
   19879 sharedlib_from_linklib_cmd \
   19880 AR \
   19881 AR_FLAGS \
   19882 archiver_list_spec \
   19883 STRIP \
   19884 RANLIB \
   19885 CC \
   19886 CFLAGS \
   19887 compiler \
   19888 lt_cv_sys_global_symbol_pipe \
   19889 lt_cv_sys_global_symbol_to_cdecl \
   19890 lt_cv_sys_global_symbol_to_c_name_address \
   19891 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   19892 nm_file_list_spec \
   19893 lt_prog_compiler_no_builtin_flag \
   19894 lt_prog_compiler_pic \
   19895 lt_prog_compiler_wl \
   19896 lt_prog_compiler_static \
   19897 lt_cv_prog_compiler_c_o \
   19898 need_locks \
   19899 MANIFEST_TOOL \
   19900 DSYMUTIL \
   19901 NMEDIT \
   19902 LIPO \
   19903 OTOOL \
   19904 OTOOL64 \
   19905 shrext_cmds \
   19906 export_dynamic_flag_spec \
   19907 whole_archive_flag_spec \
   19908 compiler_needs_object \
   19909 with_gnu_ld \
   19910 allow_undefined_flag \
   19911 no_undefined_flag \
   19912 hardcode_libdir_flag_spec \
   19913 hardcode_libdir_separator \
   19914 exclude_expsyms \
   19915 include_expsyms \
   19916 file_list_spec \
   19917 variables_saved_for_relink \
   19918 libname_spec \
   19919 library_names_spec \
   19920 soname_spec \
   19921 install_override_mode \
   19922 finish_eval \
   19923 old_striplib \
   19924 striplib; do
   19925     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19926     *[\\\\\\\`\\"\\\$]*)
   19927       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   19928       ;;
   19929     *)
   19930       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19931       ;;
   19932     esac
   19933 done
   19934 
   19935 # Double-quote double-evaled strings.
   19936 for var in reload_cmds \
   19937 old_postinstall_cmds \
   19938 old_postuninstall_cmds \
   19939 old_archive_cmds \
   19940 extract_expsyms_cmds \
   19941 old_archive_from_new_cmds \
   19942 old_archive_from_expsyms_cmds \
   19943 archive_cmds \
   19944 archive_expsym_cmds \
   19945 module_cmds \
   19946 module_expsym_cmds \
   19947 export_symbols_cmds \
   19948 prelink_cmds \
   19949 postlink_cmds \
   19950 postinstall_cmds \
   19951 postuninstall_cmds \
   19952 finish_cmds \
   19953 sys_lib_search_path_spec \
   19954 sys_lib_dlsearch_path_spec; do
   19955     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19956     *[\\\\\\\`\\"\\\$]*)
   19957       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   19958       ;;
   19959     *)
   19960       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19961       ;;
   19962     esac
   19963 done
   19964 
   19965 ac_aux_dir='$ac_aux_dir'
   19966 xsi_shell='$xsi_shell'
   19967 lt_shell_append='$lt_shell_append'
   19968 
   19969 # See if we are running on zsh, and set the options which allow our
   19970 # commands through without removal of \ escapes INIT.
   19971 if test -n "\${ZSH_VERSION+set}" ; then
   19972    setopt NO_GLOB_SUBST
   19973 fi
   19974 
   19975 
   19976     PACKAGE='$PACKAGE'
   19977     VERSION='$VERSION'
   19978     TIMESTAMP='$TIMESTAMP'
   19979     RM='$RM'
   19980     ofile='$ofile'
   19981 
   19982 
   19983 
   19984 
   19985 _ACEOF
   19986 
   19987 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19988 
   19989 # Handling of arguments.
   19990 for ac_config_target in $ac_config_targets
   19991 do
   19992   case $ac_config_target in
   19993     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   19994     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   19995     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   19996     "libtool_hack") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool_hack" ;;
   19997     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   19998     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   19999     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   20000     "specs/Makefile") CONFIG_FILES="$CONFIG_FILES specs/Makefile" ;;
   20001     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   20002     "xaw6.pc") CONFIG_FILES="$CONFIG_FILES xaw6.pc" ;;
   20003     "xaw7.pc") CONFIG_FILES="$CONFIG_FILES xaw7.pc" ;;
   20004 
   20005   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   20006   esac
   20007 done
   20008 
   20009 
   20010 # If the user did not use the arguments to specify the items to instantiate,
   20011 # then the envvar interface is used.  Set only those that are not.
   20012 # We use the long form for the default assignment because of an extremely
   20013 # bizarre bug on SunOS 4.1.3.
   20014 if $ac_need_defaults; then
   20015   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   20016   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   20017   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   20018 fi
   20019 
   20020 # Have a temporary directory for convenience.  Make it in the build tree
   20021 # simply because there is no reason against having it here, and in addition,
   20022 # creating and moving files from /tmp can sometimes cause problems.
   20023 # Hook for its removal unless debugging.
   20024 # Note that there is a small window in which the directory will not be cleaned:
   20025 # after its creation but before its name has been assigned to `$tmp'.
   20026 $debug ||
   20027 {
   20028   tmp= ac_tmp=
   20029   trap 'exit_status=$?
   20030   : "${ac_tmp:=$tmp}"
   20031   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   20032 ' 0
   20033   trap 'as_fn_exit 1' 1 2 13 15
   20034 }
   20035 # Create a (secure) tmp directory for tmp files.
   20036 
   20037 {
   20038   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   20039   test -d "$tmp"
   20040 }  ||
   20041 {
   20042   tmp=./conf$$-$RANDOM
   20043   (umask 077 && mkdir "$tmp")
   20044 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   20045 ac_tmp=$tmp
   20046 
   20047 # Set up the scripts for CONFIG_FILES section.
   20048 # No need to generate them if there are no CONFIG_FILES.
   20049 # This happens for instance with `./config.status config.h'.
   20050 if test -n "$CONFIG_FILES"; then
   20051 
   20052 
   20053 ac_cr=`echo X | tr X '\015'`
   20054 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   20055 # But we know of no other shell where ac_cr would be empty at this
   20056 # point, so we can use a bashism as a fallback.
   20057 if test "x$ac_cr" = x; then
   20058   eval ac_cr=\$\'\\r\'
   20059 fi
   20060 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   20061 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   20062   ac_cs_awk_cr='\\r'
   20063 else
   20064   ac_cs_awk_cr=$ac_cr
   20065 fi
   20066 
   20067 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   20068 _ACEOF
   20069 
   20070 
   20071 {
   20072   echo "cat >conf$$subs.awk <<_ACEOF" &&
   20073   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   20074   echo "_ACEOF"
   20075 } >conf$$subs.sh ||
   20076   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20077 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   20078 ac_delim='%!_!# '
   20079 for ac_last_try in false false false false false :; do
   20080   . ./conf$$subs.sh ||
   20081     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20082 
   20083   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   20084   if test $ac_delim_n = $ac_delim_num; then
   20085     break
   20086   elif $ac_last_try; then
   20087     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20088   else
   20089     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20090   fi
   20091 done
   20092 rm -f conf$$subs.sh
   20093 
   20094 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20095 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   20096 _ACEOF
   20097 sed -n '
   20098 h
   20099 s/^/S["/; s/!.*/"]=/
   20100 p
   20101 g
   20102 s/^[^!]*!//
   20103 :repl
   20104 t repl
   20105 s/'"$ac_delim"'$//
   20106 t delim
   20107 :nl
   20108 h
   20109 s/\(.\{148\}\)..*/\1/
   20110 t more1
   20111 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   20112 p
   20113 n
   20114 b repl
   20115 :more1
   20116 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20117 p
   20118 g
   20119 s/.\{148\}//
   20120 t nl
   20121 :delim
   20122 h
   20123 s/\(.\{148\}\)..*/\1/
   20124 t more2
   20125 s/["\\]/\\&/g; s/^/"/; s/$/"/
   20126 p
   20127 b
   20128 :more2
   20129 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20130 p
   20131 g
   20132 s/.\{148\}//
   20133 t delim
   20134 ' <conf$$subs.awk | sed '
   20135 /^[^""]/{
   20136   N
   20137   s/\n//
   20138 }
   20139 ' >>$CONFIG_STATUS || ac_write_fail=1
   20140 rm -f conf$$subs.awk
   20141 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20142 _ACAWK
   20143 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   20144   for (key in S) S_is_set[key] = 1
   20145   FS = ""
   20146 
   20147 }
   20148 {
   20149   line = $ 0
   20150   nfields = split(line, field, "@")
   20151   substed = 0
   20152   len = length(field[1])
   20153   for (i = 2; i < nfields; i++) {
   20154     key = field[i]
   20155     keylen = length(key)
   20156     if (S_is_set[key]) {
   20157       value = S[key]
   20158       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   20159       len += length(value) + length(field[++i])
   20160       substed = 1
   20161     } else
   20162       len += 1 + keylen
   20163   }
   20164 
   20165   print line
   20166 }
   20167 
   20168 _ACAWK
   20169 _ACEOF
   20170 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20171 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   20172   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   20173 else
   20174   cat
   20175 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   20176   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   20177 _ACEOF
   20178 
   20179 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   20180 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   20181 # trailing colons and then remove the whole line if VPATH becomes empty
   20182 # (actually we leave an empty line to preserve line numbers).
   20183 if test "x$srcdir" = x.; then
   20184   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   20185 h
   20186 s///
   20187 s/^/:/
   20188 s/[	 ]*$/:/
   20189 s/:\$(srcdir):/:/g
   20190 s/:\${srcdir}:/:/g
   20191 s/:@srcdir@:/:/g
   20192 s/^:*//
   20193 s/:*$//
   20194 x
   20195 s/\(=[	 ]*\).*/\1/
   20196 G
   20197 s/\n//
   20198 s/^[^=]*=[	 ]*$//
   20199 }'
   20200 fi
   20201 
   20202 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20203 fi # test -n "$CONFIG_FILES"
   20204 
   20205 # Set up the scripts for CONFIG_HEADERS section.
   20206 # No need to generate them if there are no CONFIG_HEADERS.
   20207 # This happens for instance with `./config.status Makefile'.
   20208 if test -n "$CONFIG_HEADERS"; then
   20209 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   20210 BEGIN {
   20211 _ACEOF
   20212 
   20213 # Transform confdefs.h into an awk script `defines.awk', embedded as
   20214 # here-document in config.status, that substitutes the proper values into
   20215 # config.h.in to produce config.h.
   20216 
   20217 # Create a delimiter string that does not exist in confdefs.h, to ease
   20218 # handling of long lines.
   20219 ac_delim='%!_!# '
   20220 for ac_last_try in false false :; do
   20221   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   20222   if test -z "$ac_tt"; then
   20223     break
   20224   elif $ac_last_try; then
   20225     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   20226   else
   20227     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20228   fi
   20229 done
   20230 
   20231 # For the awk script, D is an array of macro values keyed by name,
   20232 # likewise P contains macro parameters if any.  Preserve backslash
   20233 # newline sequences.
   20234 
   20235 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   20236 sed -n '
   20237 s/.\{148\}/&'"$ac_delim"'/g
   20238 t rset
   20239 :rset
   20240 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   20241 t def
   20242 d
   20243 :def
   20244 s/\\$//
   20245 t bsnl
   20246 s/["\\]/\\&/g
   20247 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20248 D["\1"]=" \3"/p
   20249 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   20250 d
   20251 :bsnl
   20252 s/["\\]/\\&/g
   20253 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20254 D["\1"]=" \3\\\\\\n"\\/p
   20255 t cont
   20256 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   20257 t cont
   20258 d
   20259 :cont
   20260 n
   20261 s/.\{148\}/&'"$ac_delim"'/g
   20262 t clear
   20263 :clear
   20264 s/\\$//
   20265 t bsnlc
   20266 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   20267 d
   20268 :bsnlc
   20269 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   20270 b cont
   20271 ' <confdefs.h | sed '
   20272 s/'"$ac_delim"'/"\\\
   20273 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   20274 
   20275 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20276   for (key in D) D_is_set[key] = 1
   20277   FS = ""
   20278 }
   20279 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   20280   line = \$ 0
   20281   split(line, arg, " ")
   20282   if (arg[1] == "#") {
   20283     defundef = arg[2]
   20284     mac1 = arg[3]
   20285   } else {
   20286     defundef = substr(arg[1], 2)
   20287     mac1 = arg[2]
   20288   }
   20289   split(mac1, mac2, "(") #)
   20290   macro = mac2[1]
   20291   prefix = substr(line, 1, index(line, defundef) - 1)
   20292   if (D_is_set[macro]) {
   20293     # Preserve the white space surrounding the "#".
   20294     print prefix "define", macro P[macro] D[macro]
   20295     next
   20296   } else {
   20297     # Replace #undef with comments.  This is necessary, for example,
   20298     # in the case of _POSIX_SOURCE, which is predefined and required
   20299     # on some systems where configure will not decide to define it.
   20300     if (defundef == "undef") {
   20301       print "/*", prefix defundef, macro, "*/"
   20302       next
   20303     }
   20304   }
   20305 }
   20306 { print }
   20307 _ACAWK
   20308 _ACEOF
   20309 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20310   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   20311 fi # test -n "$CONFIG_HEADERS"
   20312 
   20313 
   20314 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   20315 shift
   20316 for ac_tag
   20317 do
   20318   case $ac_tag in
   20319   :[FHLC]) ac_mode=$ac_tag; continue;;
   20320   esac
   20321   case $ac_mode$ac_tag in
   20322   :[FHL]*:*);;
   20323   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   20324   :[FH]-) ac_tag=-:-;;
   20325   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   20326   esac
   20327   ac_save_IFS=$IFS
   20328   IFS=:
   20329   set x $ac_tag
   20330   IFS=$ac_save_IFS
   20331   shift
   20332   ac_file=$1
   20333   shift
   20334 
   20335   case $ac_mode in
   20336   :L) ac_source=$1;;
   20337   :[FH])
   20338     ac_file_inputs=
   20339     for ac_f
   20340     do
   20341       case $ac_f in
   20342       -) ac_f="$ac_tmp/stdin";;
   20343       *) # Look for the file first in the build tree, then in the source tree
   20344 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   20345 	 # because $ac_f cannot contain `:'.
   20346 	 test -f "$ac_f" ||
   20347 	   case $ac_f in
   20348 	   [\\/$]*) false;;
   20349 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   20350 	   esac ||
   20351 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   20352       esac
   20353       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   20354       as_fn_append ac_file_inputs " '$ac_f'"
   20355     done
   20356 
   20357     # Let's still pretend it is `configure' which instantiates (i.e., don't
   20358     # use $as_me), people would be surprised to read:
   20359     #    /* config.h.  Generated by config.status.  */
   20360     configure_input='Generated from '`
   20361 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   20362 	`' by configure.'
   20363     if test x"$ac_file" != x-; then
   20364       configure_input="$ac_file.  $configure_input"
   20365       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   20366 $as_echo "$as_me: creating $ac_file" >&6;}
   20367     fi
   20368     # Neutralize special characters interpreted by sed in replacement strings.
   20369     case $configure_input in #(
   20370     *\&* | *\|* | *\\* )
   20371        ac_sed_conf_input=`$as_echo "$configure_input" |
   20372        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   20373     *) ac_sed_conf_input=$configure_input;;
   20374     esac
   20375 
   20376     case $ac_tag in
   20377     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   20378       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   20379     esac
   20380     ;;
   20381   esac
   20382 
   20383   ac_dir=`$as_dirname -- "$ac_file" ||
   20384 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20385 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   20386 	 X"$ac_file" : 'X\(//\)$' \| \
   20387 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   20388 $as_echo X"$ac_file" |
   20389     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20390 	    s//\1/
   20391 	    q
   20392 	  }
   20393 	  /^X\(\/\/\)[^/].*/{
   20394 	    s//\1/
   20395 	    q
   20396 	  }
   20397 	  /^X\(\/\/\)$/{
   20398 	    s//\1/
   20399 	    q
   20400 	  }
   20401 	  /^X\(\/\).*/{
   20402 	    s//\1/
   20403 	    q
   20404 	  }
   20405 	  s/.*/./; q'`
   20406   as_dir="$ac_dir"; as_fn_mkdir_p
   20407   ac_builddir=.
   20408 
   20409 case "$ac_dir" in
   20410 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20411 *)
   20412   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   20413   # A ".." for each directory in $ac_dir_suffix.
   20414   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   20415   case $ac_top_builddir_sub in
   20416   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20417   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   20418   esac ;;
   20419 esac
   20420 ac_abs_top_builddir=$ac_pwd
   20421 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   20422 # for backward compatibility:
   20423 ac_top_builddir=$ac_top_build_prefix
   20424 
   20425 case $srcdir in
   20426   .)  # We are building in place.
   20427     ac_srcdir=.
   20428     ac_top_srcdir=$ac_top_builddir_sub
   20429     ac_abs_top_srcdir=$ac_pwd ;;
   20430   [\\/]* | ?:[\\/]* )  # Absolute name.
   20431     ac_srcdir=$srcdir$ac_dir_suffix;
   20432     ac_top_srcdir=$srcdir
   20433     ac_abs_top_srcdir=$srcdir ;;
   20434   *) # Relative name.
   20435     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   20436     ac_top_srcdir=$ac_top_build_prefix$srcdir
   20437     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   20438 esac
   20439 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   20440 
   20441 
   20442   case $ac_mode in
   20443   :F)
   20444   #
   20445   # CONFIG_FILE
   20446   #
   20447 
   20448   case $INSTALL in
   20449   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   20450   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   20451   esac
   20452   ac_MKDIR_P=$MKDIR_P
   20453   case $MKDIR_P in
   20454   [\\/$]* | ?:[\\/]* ) ;;
   20455   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   20456   esac
   20457 _ACEOF
   20458 
   20459 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20460 # If the template does not know about datarootdir, expand it.
   20461 # FIXME: This hack should be removed a few years after 2.60.
   20462 ac_datarootdir_hack=; ac_datarootdir_seen=
   20463 ac_sed_dataroot='
   20464 /datarootdir/ {
   20465   p
   20466   q
   20467 }
   20468 /@datadir@/p
   20469 /@docdir@/p
   20470 /@infodir@/p
   20471 /@localedir@/p
   20472 /@mandir@/p'
   20473 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   20474 *datarootdir*) ac_datarootdir_seen=yes;;
   20475 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   20476   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   20477 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   20478 _ACEOF
   20479 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20480   ac_datarootdir_hack='
   20481   s&@datadir@&$datadir&g
   20482   s&@docdir@&$docdir&g
   20483   s&@infodir@&$infodir&g
   20484   s&@localedir@&$localedir&g
   20485   s&@mandir@&$mandir&g
   20486   s&\\\${datarootdir}&$datarootdir&g' ;;
   20487 esac
   20488 _ACEOF
   20489 
   20490 # Neutralize VPATH when `$srcdir' = `.'.
   20491 # Shell code in configure.ac might set extrasub.
   20492 # FIXME: do we really want to maintain this feature?
   20493 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20494 ac_sed_extra="$ac_vpsub
   20495 $extrasub
   20496 _ACEOF
   20497 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20498 :t
   20499 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   20500 s|@configure_input@|$ac_sed_conf_input|;t t
   20501 s&@top_builddir@&$ac_top_builddir_sub&;t t
   20502 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   20503 s&@srcdir@&$ac_srcdir&;t t
   20504 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   20505 s&@top_srcdir@&$ac_top_srcdir&;t t
   20506 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   20507 s&@builddir@&$ac_builddir&;t t
   20508 s&@abs_builddir@&$ac_abs_builddir&;t t
   20509 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   20510 s&@INSTALL@&$ac_INSTALL&;t t
   20511 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   20512 $ac_datarootdir_hack
   20513 "
   20514 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   20515   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20516 
   20517 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   20518   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   20519   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   20520       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   20521   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20522 which seems to be undefined.  Please make sure it is defined" >&5
   20523 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20524 which seems to be undefined.  Please make sure it is defined" >&2;}
   20525 
   20526   rm -f "$ac_tmp/stdin"
   20527   case $ac_file in
   20528   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   20529   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   20530   esac \
   20531   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20532  ;;
   20533   :H)
   20534   #
   20535   # CONFIG_HEADER
   20536   #
   20537   if test x"$ac_file" != x-; then
   20538     {
   20539       $as_echo "/* $configure_input  */" \
   20540       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   20541     } >"$ac_tmp/config.h" \
   20542       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20543     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   20544       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   20545 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   20546     else
   20547       rm -f "$ac_file"
   20548       mv "$ac_tmp/config.h" "$ac_file" \
   20549 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20550     fi
   20551   else
   20552     $as_echo "/* $configure_input  */" \
   20553       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   20554       || as_fn_error $? "could not create -" "$LINENO" 5
   20555   fi
   20556 # Compute "$ac_file"'s index in $config_headers.
   20557 _am_arg="$ac_file"
   20558 _am_stamp_count=1
   20559 for _am_header in $config_headers :; do
   20560   case $_am_header in
   20561     $_am_arg | $_am_arg:* )
   20562       break ;;
   20563     * )
   20564       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   20565   esac
   20566 done
   20567 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   20568 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20569 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   20570 	 X"$_am_arg" : 'X\(//\)$' \| \
   20571 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   20572 $as_echo X"$_am_arg" |
   20573     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20574 	    s//\1/
   20575 	    q
   20576 	  }
   20577 	  /^X\(\/\/\)[^/].*/{
   20578 	    s//\1/
   20579 	    q
   20580 	  }
   20581 	  /^X\(\/\/\)$/{
   20582 	    s//\1/
   20583 	    q
   20584 	  }
   20585 	  /^X\(\/\).*/{
   20586 	    s//\1/
   20587 	    q
   20588 	  }
   20589 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   20590  ;;
   20591 
   20592   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   20593 $as_echo "$as_me: executing $ac_file commands" >&6;}
   20594  ;;
   20595   esac
   20596 
   20597 
   20598   case $ac_file$ac_mode in
   20599     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   20600   # Older Autoconf quotes --file arguments for eval, but not when files
   20601   # are listed without --file.  Let's play safe and only enable the eval
   20602   # if we detect the quoting.
   20603   case $CONFIG_FILES in
   20604   *\'*) eval set x "$CONFIG_FILES" ;;
   20605   *)   set x $CONFIG_FILES ;;
   20606   esac
   20607   shift
   20608   for mf
   20609   do
   20610     # Strip MF so we end up with the name of the file.
   20611     mf=`echo "$mf" | sed -e 's/:.*$//'`
   20612     # Check whether this is an Automake generated Makefile or not.
   20613     # We used to match only the files named 'Makefile.in', but
   20614     # some people rename them; so instead we look at the file content.
   20615     # Grep'ing the first line is not enough: some people post-process
   20616     # each Makefile.in and add a new line on top of each file to say so.
   20617     # Grep'ing the whole file is not good either: AIX grep has a line
   20618     # limit of 2048, but all sed's we know have understand at least 4000.
   20619     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   20620       dirpart=`$as_dirname -- "$mf" ||
   20621 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20622 	 X"$mf" : 'X\(//\)[^/]' \| \
   20623 	 X"$mf" : 'X\(//\)$' \| \
   20624 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   20625 $as_echo X"$mf" |
   20626     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20627 	    s//\1/
   20628 	    q
   20629 	  }
   20630 	  /^X\(\/\/\)[^/].*/{
   20631 	    s//\1/
   20632 	    q
   20633 	  }
   20634 	  /^X\(\/\/\)$/{
   20635 	    s//\1/
   20636 	    q
   20637 	  }
   20638 	  /^X\(\/\).*/{
   20639 	    s//\1/
   20640 	    q
   20641 	  }
   20642 	  s/.*/./; q'`
   20643     else
   20644       continue
   20645     fi
   20646     # Extract the definition of DEPDIR, am__include, and am__quote
   20647     # from the Makefile without running 'make'.
   20648     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   20649     test -z "$DEPDIR" && continue
   20650     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   20651     test -z "$am__include" && continue
   20652     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   20653     # Find all dependency output files, they are included files with
   20654     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   20655     # simplest approach to changing $(DEPDIR) to its actual value in the
   20656     # expansion.
   20657     for file in `sed -n "
   20658       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   20659 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   20660       # Make sure the directory exists.
   20661       test -f "$dirpart/$file" && continue
   20662       fdir=`$as_dirname -- "$file" ||
   20663 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20664 	 X"$file" : 'X\(//\)[^/]' \| \
   20665 	 X"$file" : 'X\(//\)$' \| \
   20666 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   20667 $as_echo X"$file" |
   20668     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20669 	    s//\1/
   20670 	    q
   20671 	  }
   20672 	  /^X\(\/\/\)[^/].*/{
   20673 	    s//\1/
   20674 	    q
   20675 	  }
   20676 	  /^X\(\/\/\)$/{
   20677 	    s//\1/
   20678 	    q
   20679 	  }
   20680 	  /^X\(\/\).*/{
   20681 	    s//\1/
   20682 	    q
   20683 	  }
   20684 	  s/.*/./; q'`
   20685       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   20686       # echo "creating $dirpart/$file"
   20687       echo '# dummy' > "$dirpart/$file"
   20688     done
   20689   done
   20690 }
   20691  ;;
   20692     "libtool":C)
   20693 
   20694     # See if we are running on zsh, and set the options which allow our
   20695     # commands through without removal of \ escapes.
   20696     if test -n "${ZSH_VERSION+set}" ; then
   20697       setopt NO_GLOB_SUBST
   20698     fi
   20699 
   20700     cfgfile="${ofile}T"
   20701     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   20702     $RM "$cfgfile"
   20703 
   20704     cat <<_LT_EOF >> "$cfgfile"
   20705 #! $SHELL
   20706 
   20707 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   20708 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   20709 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   20710 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   20711 #
   20712 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   20713 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   20714 #                 Foundation, Inc.
   20715 #   Written by Gordon Matzigkeit, 1996
   20716 #
   20717 #   This file is part of GNU Libtool.
   20718 #
   20719 # GNU Libtool is free software; you can redistribute it and/or
   20720 # modify it under the terms of the GNU General Public License as
   20721 # published by the Free Software Foundation; either version 2 of
   20722 # the License, or (at your option) any later version.
   20723 #
   20724 # As a special exception to the GNU General Public License,
   20725 # if you distribute this file as part of a program or library that
   20726 # is built using GNU Libtool, you may include this file under the
   20727 # same distribution terms that you use for the rest of that program.
   20728 #
   20729 # GNU Libtool is distributed in the hope that it will be useful,
   20730 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   20731 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   20732 # GNU General Public License for more details.
   20733 #
   20734 # You should have received a copy of the GNU General Public License
   20735 # along with GNU Libtool; see the file COPYING.  If not, a copy
   20736 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   20737 # obtained by writing to the Free Software Foundation, Inc.,
   20738 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   20739 
   20740 
   20741 # The names of the tagged configurations supported by this script.
   20742 available_tags=""
   20743 
   20744 # ### BEGIN LIBTOOL CONFIG
   20745 
   20746 # Which release of libtool.m4 was used?
   20747 macro_version=$macro_version
   20748 macro_revision=$macro_revision
   20749 
   20750 # Whether or not to build shared libraries.
   20751 build_libtool_libs=$enable_shared
   20752 
   20753 # Whether or not to build static libraries.
   20754 build_old_libs=$enable_static
   20755 
   20756 # What type of objects to build.
   20757 pic_mode=$pic_mode
   20758 
   20759 # Whether or not to optimize for fast installation.
   20760 fast_install=$enable_fast_install
   20761 
   20762 # Shell to use when invoking shell scripts.
   20763 SHELL=$lt_SHELL
   20764 
   20765 # An echo program that protects backslashes.
   20766 ECHO=$lt_ECHO
   20767 
   20768 # The PATH separator for the build system.
   20769 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   20770 
   20771 # The host system.
   20772 host_alias=$host_alias
   20773 host=$host
   20774 host_os=$host_os
   20775 
   20776 # The build system.
   20777 build_alias=$build_alias
   20778 build=$build
   20779 build_os=$build_os
   20780 
   20781 # A sed program that does not truncate output.
   20782 SED=$lt_SED
   20783 
   20784 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   20785 Xsed="\$SED -e 1s/^X//"
   20786 
   20787 # A grep program that handles long lines.
   20788 GREP=$lt_GREP
   20789 
   20790 # An ERE matcher.
   20791 EGREP=$lt_EGREP
   20792 
   20793 # A literal string matcher.
   20794 FGREP=$lt_FGREP
   20795 
   20796 # A BSD- or MS-compatible name lister.
   20797 NM=$lt_NM
   20798 
   20799 # Whether we need soft or hard links.
   20800 LN_S=$lt_LN_S
   20801 
   20802 # What is the maximum length of a command?
   20803 max_cmd_len=$max_cmd_len
   20804 
   20805 # Object file suffix (normally "o").
   20806 objext=$ac_objext
   20807 
   20808 # Executable file suffix (normally "").
   20809 exeext=$exeext
   20810 
   20811 # whether the shell understands "unset".
   20812 lt_unset=$lt_unset
   20813 
   20814 # turn spaces into newlines.
   20815 SP2NL=$lt_lt_SP2NL
   20816 
   20817 # turn newlines into spaces.
   20818 NL2SP=$lt_lt_NL2SP
   20819 
   20820 # convert \$build file names to \$host format.
   20821 to_host_file_cmd=$lt_cv_to_host_file_cmd
   20822 
   20823 # convert \$build files to toolchain format.
   20824 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   20825 
   20826 # An object symbol dumper.
   20827 OBJDUMP=$lt_OBJDUMP
   20828 
   20829 # Method to check whether dependent libraries are shared objects.
   20830 deplibs_check_method=$lt_deplibs_check_method
   20831 
   20832 # Command to use when deplibs_check_method = "file_magic".
   20833 file_magic_cmd=$lt_file_magic_cmd
   20834 
   20835 # How to find potential files when deplibs_check_method = "file_magic".
   20836 file_magic_glob=$lt_file_magic_glob
   20837 
   20838 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   20839 want_nocaseglob=$lt_want_nocaseglob
   20840 
   20841 # DLL creation program.
   20842 DLLTOOL=$lt_DLLTOOL
   20843 
   20844 # Command to associate shared and link libraries.
   20845 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   20846 
   20847 # The archiver.
   20848 AR=$lt_AR
   20849 
   20850 # Flags to create an archive.
   20851 AR_FLAGS=$lt_AR_FLAGS
   20852 
   20853 # How to feed a file listing to the archiver.
   20854 archiver_list_spec=$lt_archiver_list_spec
   20855 
   20856 # A symbol stripping program.
   20857 STRIP=$lt_STRIP
   20858 
   20859 # Commands used to install an old-style archive.
   20860 RANLIB=$lt_RANLIB
   20861 old_postinstall_cmds=$lt_old_postinstall_cmds
   20862 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   20863 
   20864 # Whether to use a lock for old archive extraction.
   20865 lock_old_archive_extraction=$lock_old_archive_extraction
   20866 
   20867 # A C compiler.
   20868 LTCC=$lt_CC
   20869 
   20870 # LTCC compiler flags.
   20871 LTCFLAGS=$lt_CFLAGS
   20872 
   20873 # Take the output of nm and produce a listing of raw symbols and C names.
   20874 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   20875 
   20876 # Transform the output of nm in a proper C declaration.
   20877 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   20878 
   20879 # Transform the output of nm in a C name address pair.
   20880 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   20881 
   20882 # Transform the output of nm in a C name address pair when lib prefix is needed.
   20883 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   20884 
   20885 # Specify filename containing input files for \$NM.
   20886 nm_file_list_spec=$lt_nm_file_list_spec
   20887 
   20888 # The root where to search for dependent libraries,and in which our libraries should be installed.
   20889 lt_sysroot=$lt_sysroot
   20890 
   20891 # The name of the directory that contains temporary libtool files.
   20892 objdir=$objdir
   20893 
   20894 # Used to examine libraries when file_magic_cmd begins with "file".
   20895 MAGIC_CMD=$MAGIC_CMD
   20896 
   20897 # Must we lock files when doing compilation?
   20898 need_locks=$lt_need_locks
   20899 
   20900 # Manifest tool.
   20901 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   20902 
   20903 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   20904 DSYMUTIL=$lt_DSYMUTIL
   20905 
   20906 # Tool to change global to local symbols on Mac OS X.
   20907 NMEDIT=$lt_NMEDIT
   20908 
   20909 # Tool to manipulate fat objects and archives on Mac OS X.
   20910 LIPO=$lt_LIPO
   20911 
   20912 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   20913 OTOOL=$lt_OTOOL
   20914 
   20915 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   20916 OTOOL64=$lt_OTOOL64
   20917 
   20918 # Old archive suffix (normally "a").
   20919 libext=$libext
   20920 
   20921 # Shared library suffix (normally ".so").
   20922 shrext_cmds=$lt_shrext_cmds
   20923 
   20924 # The commands to extract the exported symbol list from a shared archive.
   20925 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   20926 
   20927 # Variables whose values should be saved in libtool wrapper scripts and
   20928 # restored at link time.
   20929 variables_saved_for_relink=$lt_variables_saved_for_relink
   20930 
   20931 # Do we need the "lib" prefix for modules?
   20932 need_lib_prefix=$need_lib_prefix
   20933 
   20934 # Do we need a version for libraries?
   20935 need_version=$need_version
   20936 
   20937 # Library versioning type.
   20938 version_type=$version_type
   20939 
   20940 # Shared library runtime path variable.
   20941 runpath_var=$runpath_var
   20942 
   20943 # Shared library path variable.
   20944 shlibpath_var=$shlibpath_var
   20945 
   20946 # Is shlibpath searched before the hard-coded library search path?
   20947 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   20948 
   20949 # Format of library name prefix.
   20950 libname_spec=$lt_libname_spec
   20951 
   20952 # List of archive names.  First name is the real one, the rest are links.
   20953 # The last name is the one that the linker finds with -lNAME
   20954 library_names_spec=$lt_library_names_spec
   20955 
   20956 # The coded name of the library, if different from the real name.
   20957 soname_spec=$lt_soname_spec
   20958 
   20959 # Permission mode override for installation of shared libraries.
   20960 install_override_mode=$lt_install_override_mode
   20961 
   20962 # Command to use after installation of a shared archive.
   20963 postinstall_cmds=$lt_postinstall_cmds
   20964 
   20965 # Command to use after uninstallation of a shared archive.
   20966 postuninstall_cmds=$lt_postuninstall_cmds
   20967 
   20968 # Commands used to finish a libtool library installation in a directory.
   20969 finish_cmds=$lt_finish_cmds
   20970 
   20971 # As "finish_cmds", except a single script fragment to be evaled but
   20972 # not shown.
   20973 finish_eval=$lt_finish_eval
   20974 
   20975 # Whether we should hardcode library paths into libraries.
   20976 hardcode_into_libs=$hardcode_into_libs
   20977 
   20978 # Compile-time system search path for libraries.
   20979 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   20980 
   20981 # Run-time system search path for libraries.
   20982 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   20983 
   20984 # Whether dlopen is supported.
   20985 dlopen_support=$enable_dlopen
   20986 
   20987 # Whether dlopen of programs is supported.
   20988 dlopen_self=$enable_dlopen_self
   20989 
   20990 # Whether dlopen of statically linked programs is supported.
   20991 dlopen_self_static=$enable_dlopen_self_static
   20992 
   20993 # Commands to strip libraries.
   20994 old_striplib=$lt_old_striplib
   20995 striplib=$lt_striplib
   20996 
   20997 
   20998 # The linker used to build libraries.
   20999 LD=$lt_LD
   21000 
   21001 # How to create reloadable object files.
   21002 reload_flag=$lt_reload_flag
   21003 reload_cmds=$lt_reload_cmds
   21004 
   21005 # Commands used to build an old-style archive.
   21006 old_archive_cmds=$lt_old_archive_cmds
   21007 
   21008 # A language specific compiler.
   21009 CC=$lt_compiler
   21010 
   21011 # Is the compiler the GNU compiler?
   21012 with_gcc=$GCC
   21013 
   21014 # Compiler flag to turn off builtin functions.
   21015 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   21016 
   21017 # Additional compiler flags for building library objects.
   21018 pic_flag=$lt_lt_prog_compiler_pic
   21019 
   21020 # How to pass a linker flag through the compiler.
   21021 wl=$lt_lt_prog_compiler_wl
   21022 
   21023 # Compiler flag to prevent dynamic linking.
   21024 link_static_flag=$lt_lt_prog_compiler_static
   21025 
   21026 # Does compiler simultaneously support -c and -o options?
   21027 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   21028 
   21029 # Whether or not to add -lc for building shared libraries.
   21030 build_libtool_need_lc=$archive_cmds_need_lc
   21031 
   21032 # Whether or not to disallow shared libs when runtime libs are static.
   21033 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   21034 
   21035 # Compiler flag to allow reflexive dlopens.
   21036 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   21037 
   21038 # Compiler flag to generate shared objects directly from archives.
   21039 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   21040 
   21041 # Whether the compiler copes with passing no objects directly.
   21042 compiler_needs_object=$lt_compiler_needs_object
   21043 
   21044 # Create an old-style archive from a shared archive.
   21045 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   21046 
   21047 # Create a temporary old-style archive to link instead of a shared archive.
   21048 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   21049 
   21050 # Commands used to build a shared archive.
   21051 archive_cmds=$lt_archive_cmds
   21052 archive_expsym_cmds=$lt_archive_expsym_cmds
   21053 
   21054 # Commands used to build a loadable module if different from building
   21055 # a shared archive.
   21056 module_cmds=$lt_module_cmds
   21057 module_expsym_cmds=$lt_module_expsym_cmds
   21058 
   21059 # Whether we are building with GNU ld or not.
   21060 with_gnu_ld=$lt_with_gnu_ld
   21061 
   21062 # Flag that allows shared libraries with undefined symbols to be built.
   21063 allow_undefined_flag=$lt_allow_undefined_flag
   21064 
   21065 # Flag that enforces no undefined symbols.
   21066 no_undefined_flag=$lt_no_undefined_flag
   21067 
   21068 # Flag to hardcode \$libdir into a binary during linking.
   21069 # This must work even if \$libdir does not exist
   21070 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   21071 
   21072 # Whether we need a single "-rpath" flag with a separated argument.
   21073 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   21074 
   21075 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   21076 # DIR into the resulting binary.
   21077 hardcode_direct=$hardcode_direct
   21078 
   21079 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   21080 # DIR into the resulting binary and the resulting library dependency is
   21081 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   21082 # library is relocated.
   21083 hardcode_direct_absolute=$hardcode_direct_absolute
   21084 
   21085 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   21086 # into the resulting binary.
   21087 hardcode_minus_L=$hardcode_minus_L
   21088 
   21089 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   21090 # into the resulting binary.
   21091 hardcode_shlibpath_var=$hardcode_shlibpath_var
   21092 
   21093 # Set to "yes" if building a shared library automatically hardcodes DIR
   21094 # into the library and all subsequent libraries and executables linked
   21095 # against it.
   21096 hardcode_automatic=$hardcode_automatic
   21097 
   21098 # Set to yes if linker adds runtime paths of dependent libraries
   21099 # to runtime path list.
   21100 inherit_rpath=$inherit_rpath
   21101 
   21102 # Whether libtool must link a program against all its dependency libraries.
   21103 link_all_deplibs=$link_all_deplibs
   21104 
   21105 # Set to "yes" if exported symbols are required.
   21106 always_export_symbols=$always_export_symbols
   21107 
   21108 # The commands to list exported symbols.
   21109 export_symbols_cmds=$lt_export_symbols_cmds
   21110 
   21111 # Symbols that should not be listed in the preloaded symbols.
   21112 exclude_expsyms=$lt_exclude_expsyms
   21113 
   21114 # Symbols that must always be exported.
   21115 include_expsyms=$lt_include_expsyms
   21116 
   21117 # Commands necessary for linking programs (against libraries) with templates.
   21118 prelink_cmds=$lt_prelink_cmds
   21119 
   21120 # Commands necessary for finishing linking programs.
   21121 postlink_cmds=$lt_postlink_cmds
   21122 
   21123 # Specify filename containing input files.
   21124 file_list_spec=$lt_file_list_spec
   21125 
   21126 # How to hardcode a shared library path into an executable.
   21127 hardcode_action=$hardcode_action
   21128 
   21129 # ### END LIBTOOL CONFIG
   21130 
   21131 _LT_EOF
   21132 
   21133   case $host_os in
   21134   aix3*)
   21135     cat <<\_LT_EOF >> "$cfgfile"
   21136 # AIX sometimes has problems with the GCC collect2 program.  For some
   21137 # reason, if we set the COLLECT_NAMES environment variable, the problems
   21138 # vanish in a puff of smoke.
   21139 if test "X${COLLECT_NAMES+set}" != Xset; then
   21140   COLLECT_NAMES=
   21141   export COLLECT_NAMES
   21142 fi
   21143 _LT_EOF
   21144     ;;
   21145   esac
   21146 
   21147 
   21148 ltmain="$ac_aux_dir/ltmain.sh"
   21149 
   21150 
   21151   # We use sed instead of cat because bash on DJGPP gets confused if
   21152   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   21153   # text mode, it properly converts lines to CR/LF.  This bash problem
   21154   # is reportedly fixed, but why not run on old versions too?
   21155   sed '$q' "$ltmain" >> "$cfgfile" \
   21156      || (rm -f "$cfgfile"; exit 1)
   21157 
   21158   if test x"$xsi_shell" = xyes; then
   21159   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   21160 func_dirname ()\
   21161 {\
   21162 \    case ${1} in\
   21163 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   21164 \      *  ) func_dirname_result="${3}" ;;\
   21165 \    esac\
   21166 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   21167   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21168     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21169 test 0 -eq $? || _lt_function_replace_fail=:
   21170 
   21171 
   21172   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   21173 func_basename ()\
   21174 {\
   21175 \    func_basename_result="${1##*/}"\
   21176 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   21177   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21178     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21179 test 0 -eq $? || _lt_function_replace_fail=:
   21180 
   21181 
   21182   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   21183 func_dirname_and_basename ()\
   21184 {\
   21185 \    case ${1} in\
   21186 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   21187 \      *  ) func_dirname_result="${3}" ;;\
   21188 \    esac\
   21189 \    func_basename_result="${1##*/}"\
   21190 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   21191   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21192     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21193 test 0 -eq $? || _lt_function_replace_fail=:
   21194 
   21195 
   21196   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   21197 func_stripname ()\
   21198 {\
   21199 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   21200 \    # positional parameters, so assign one to ordinary parameter first.\
   21201 \    func_stripname_result=${3}\
   21202 \    func_stripname_result=${func_stripname_result#"${1}"}\
   21203 \    func_stripname_result=${func_stripname_result%"${2}"}\
   21204 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   21205   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21206     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21207 test 0 -eq $? || _lt_function_replace_fail=:
   21208 
   21209 
   21210   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   21211 func_split_long_opt ()\
   21212 {\
   21213 \    func_split_long_opt_name=${1%%=*}\
   21214 \    func_split_long_opt_arg=${1#*=}\
   21215 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   21216   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21217     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21218 test 0 -eq $? || _lt_function_replace_fail=:
   21219 
   21220 
   21221   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   21222 func_split_short_opt ()\
   21223 {\
   21224 \    func_split_short_opt_arg=${1#??}\
   21225 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   21226 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   21227   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21228     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21229 test 0 -eq $? || _lt_function_replace_fail=:
   21230 
   21231 
   21232   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   21233 func_lo2o ()\
   21234 {\
   21235 \    case ${1} in\
   21236 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   21237 \      *)    func_lo2o_result=${1} ;;\
   21238 \    esac\
   21239 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   21240   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21241     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21242 test 0 -eq $? || _lt_function_replace_fail=:
   21243 
   21244 
   21245   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   21246 func_xform ()\
   21247 {\
   21248     func_xform_result=${1%.*}.lo\
   21249 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   21250   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21251     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21252 test 0 -eq $? || _lt_function_replace_fail=:
   21253 
   21254 
   21255   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   21256 func_arith ()\
   21257 {\
   21258     func_arith_result=$(( $* ))\
   21259 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   21260   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21261     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21262 test 0 -eq $? || _lt_function_replace_fail=:
   21263 
   21264 
   21265   sed -e '/^func_len ()$/,/^} # func_len /c\
   21266 func_len ()\
   21267 {\
   21268     func_len_result=${#1}\
   21269 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   21270   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21271     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21272 test 0 -eq $? || _lt_function_replace_fail=:
   21273 
   21274 fi
   21275 
   21276 if test x"$lt_shell_append" = xyes; then
   21277   sed -e '/^func_append ()$/,/^} # func_append /c\
   21278 func_append ()\
   21279 {\
   21280     eval "${1}+=\\${2}"\
   21281 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   21282   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21283     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21284 test 0 -eq $? || _lt_function_replace_fail=:
   21285 
   21286 
   21287   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   21288 func_append_quoted ()\
   21289 {\
   21290 \    func_quote_for_eval "${2}"\
   21291 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   21292 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   21293   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21294     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21295 test 0 -eq $? || _lt_function_replace_fail=:
   21296 
   21297 
   21298   # Save a `func_append' function call where possible by direct use of '+='
   21299   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   21300     && mv -f "$cfgfile.tmp" "$cfgfile" \
   21301       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21302   test 0 -eq $? || _lt_function_replace_fail=:
   21303 else
   21304   # Save a `func_append' function call even when '+=' is not available
   21305   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   21306     && mv -f "$cfgfile.tmp" "$cfgfile" \
   21307       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21308   test 0 -eq $? || _lt_function_replace_fail=:
   21309 fi
   21310 
   21311 if test x"$_lt_function_replace_fail" = x":"; then
   21312   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   21313 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   21314 fi
   21315 
   21316 
   21317    mv -f "$cfgfile" "$ofile" ||
   21318     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   21319   chmod +x "$ofile"
   21320 
   21321  ;;
   21322     "libtool_hack":C)
   21323 	cp -f libtool libtool_
   21324 	test -z "$SED" && SED=sed
   21325 	$SED '1,/^soname_spec/{
   21326 /^soname_spec/i\
   21327 # X.Org hack to match monolithic Xaw SONAME\
   21328 xorglibxawname="libXaw"
   21329 /^soname_spec/s/libname/xorglibxawname/
   21330 }' libtool_ > libtool
   21331 	rm -f libtool_
   21332  ;;
   21333 
   21334   esac
   21335 done # for ac_tag
   21336 
   21337 
   21338 as_fn_exit 0
   21339 _ACEOF
   21340 ac_clean_files=$ac_clean_files_save
   21341 
   21342 test $ac_write_fail = 0 ||
   21343   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   21344 
   21345 
   21346 # configure is writing to config.log, and then calls config.status.
   21347 # config.status does its own redirection, appending to config.log.
   21348 # Unfortunately, on DOS this fails, as config.log is still kept open
   21349 # by configure, so config.status won't be able to write to it; its
   21350 # output is simply discarded.  So we exec the FD to /dev/null,
   21351 # effectively closing config.log, so it can be properly (re)opened and
   21352 # appended to by config.status.  When coming back to configure, we
   21353 # need to make the FD available again.
   21354 if test "$no_create" != yes; then
   21355   ac_cs_success=:
   21356   ac_config_status_args=
   21357   test "$silent" = yes &&
   21358     ac_config_status_args="$ac_config_status_args --quiet"
   21359   exec 5>/dev/null
   21360   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   21361   exec 5>>config.log
   21362   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   21363   # would make configure fail if this is the last instruction.
   21364   $ac_cs_success || as_fn_exit 1
   21365 fi
   21366 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   21367   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   21368 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   21369 fi
   21370 
   21371