Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.5
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for libXScrnSaver 1.2.3.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 
    202   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    203     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    206     PATH=/empty FPATH=/empty; export PATH FPATH
    207     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    208       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    209 test \$(( 1 + 1 )) = 2 || exit 1"
    210   if (eval "$as_required") 2>/dev/null; then :
    211   as_have_required=yes
    212 else
    213   as_have_required=no
    214 fi
    215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    216 
    217 else
    218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    219 as_found=false
    220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    221 do
    222   IFS=$as_save_IFS
    223   test -z "$as_dir" && as_dir=.
    224   as_found=:
    225   case $as_dir in #(
    226 	 /*)
    227 	   for as_base in sh bash ksh sh5; do
    228 	     # Try only shells that exist, to save several forks.
    229 	     as_shell=$as_dir/$as_base
    230 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    231 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   CONFIG_SHELL=$as_shell as_have_required=yes
    233 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    234   break 2
    235 fi
    236 fi
    237 	   done;;
    238        esac
    239   as_found=false
    240 done
    241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    243   CONFIG_SHELL=$SHELL as_have_required=yes
    244 fi; }
    245 IFS=$as_save_IFS
    246 
    247 
    248       if test "x$CONFIG_SHELL" != x; then :
    249   export CONFIG_SHELL
    250              # We cannot yet assume a decent shell, so we have to provide a
    251 # neutralization value for shells without unset; and this also
    252 # works around shells that cannot unset nonexistent variables.
    253 # Preserve -v and -x to the replacement shell.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in # ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264 # Admittedly, this is quite paranoid, since all the known shells bail
    265 # out after a failed `exec'.
    266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno; then :
    271   $as_echo "$0: This script requires a shell more modern than all"
    272   $as_echo "$0: the shells that I found on your system."
    273   if test x${ZSH_VERSION+set} = xset ; then
    274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    276   else
    277     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    278 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    279 $0: about your system, including any error possibly output
    280 $0: before this message. Then install a modern shell, or
    281 $0: manually run the script under such a shell if you do
    282 $0: have one."
    283   fi
    284   exit 1
    285 fi
    286 fi
    287 fi
    288 SHELL=${CONFIG_SHELL-/bin/sh}
    289 export SHELL
    290 # Unset more variables known to interfere with behavior of common tools.
    291 CLICOLOR_FORCE= GREP_OPTIONS=
    292 unset CLICOLOR_FORCE GREP_OPTIONS
    293 
    294 ## --------------------- ##
    295 ## M4sh Shell Functions. ##
    296 ## --------------------- ##
    297 # as_fn_unset VAR
    298 # ---------------
    299 # Portably unset VAR.
    300 as_fn_unset ()
    301 {
    302   { eval $1=; unset $1;}
    303 }
    304 as_unset=as_fn_unset
    305 
    306 # as_fn_set_status STATUS
    307 # -----------------------
    308 # Set $? to STATUS, without forking.
    309 as_fn_set_status ()
    310 {
    311   return $1
    312 } # as_fn_set_status
    313 
    314 # as_fn_exit STATUS
    315 # -----------------
    316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    317 as_fn_exit ()
    318 {
    319   set +e
    320   as_fn_set_status $1
    321   exit $1
    322 } # as_fn_exit
    323 
    324 # as_fn_mkdir_p
    325 # -------------
    326 # Create "$as_dir" as a directory, including parents if necessary.
    327 as_fn_mkdir_p ()
    328 {
    329 
    330   case $as_dir in #(
    331   -*) as_dir=./$as_dir;;
    332   esac
    333   test -d "$as_dir" || eval $as_mkdir_p || {
    334     as_dirs=
    335     while :; do
    336       case $as_dir in #(
    337       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    338       *) as_qdir=$as_dir;;
    339       esac
    340       as_dirs="'$as_qdir' $as_dirs"
    341       as_dir=`$as_dirname -- "$as_dir" ||
    342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    343 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    344 	 X"$as_dir" : 'X\(//\)$' \| \
    345 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    346 $as_echo X"$as_dir" |
    347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\/\)[^/].*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  /^X\(\/\/\)$/{
    356 	    s//\1/
    357 	    q
    358 	  }
    359 	  /^X\(\/\).*/{
    360 	    s//\1/
    361 	    q
    362 	  }
    363 	  s/.*/./; q'`
    364       test -d "$as_dir" && break
    365     done
    366     test -z "$as_dirs" || eval "mkdir $as_dirs"
    367   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    368 
    369 
    370 } # as_fn_mkdir_p
    371 
    372 # as_fn_executable_p FILE
    373 # -----------------------
    374 # Test if FILE is an executable regular file.
    375 as_fn_executable_p ()
    376 {
    377   test -f "$1" && test -x "$1"
    378 } # as_fn_executable_p
    379 # as_fn_append VAR VALUE
    380 # ----------------------
    381 # Append the text in VALUE to the end of the definition contained in VAR. Take
    382 # advantage of any shell optimizations that allow amortized linear growth over
    383 # repeated appends, instead of the typical quadratic growth present in naive
    384 # implementations.
    385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    386   eval 'as_fn_append ()
    387   {
    388     eval $1+=\$2
    389   }'
    390 else
    391   as_fn_append ()
    392   {
    393     eval $1=\$$1\$2
    394   }
    395 fi # as_fn_append
    396 
    397 # as_fn_arith ARG...
    398 # ------------------
    399 # Perform arithmetic evaluation on the ARGs, and store the result in the
    400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    401 # must be portable across $(()) and expr.
    402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    403   eval 'as_fn_arith ()
    404   {
    405     as_val=$(( $* ))
    406   }'
    407 else
    408   as_fn_arith ()
    409   {
    410     as_val=`expr "$@" || test $? -eq 1`
    411   }
    412 fi # as_fn_arith
    413 
    414 
    415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    416 # ----------------------------------------
    417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    419 # script with STATUS, using 1 if that was 0.
    420 as_fn_error ()
    421 {
    422   as_status=$1; test $as_status -eq 0 && as_status=1
    423   if test "$4"; then
    424     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    425     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    426   fi
    427   $as_echo "$as_me: error: $2" >&2
    428   as_fn_exit $as_status
    429 } # as_fn_error
    430 
    431 if expr a : '\(a\)' >/dev/null 2>&1 &&
    432    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    433   as_expr=expr
    434 else
    435   as_expr=false
    436 fi
    437 
    438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    439   as_basename=basename
    440 else
    441   as_basename=false
    442 fi
    443 
    444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    445   as_dirname=dirname
    446 else
    447   as_dirname=false
    448 fi
    449 
    450 as_me=`$as_basename -- "$0" ||
    451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    452 	 X"$0" : 'X\(//\)$' \| \
    453 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    454 $as_echo X/"$0" |
    455     sed '/^.*\/\([^/][^/]*\)\/*$/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  /^X\/\(\/\/\)$/{
    460 	    s//\1/
    461 	    q
    462 	  }
    463 	  /^X\/\(\/\).*/{
    464 	    s//\1/
    465 	    q
    466 	  }
    467 	  s/.*/./; q'`
    468 
    469 # Avoid depending upon Character Ranges.
    470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    473 as_cr_digits='0123456789'
    474 as_cr_alnum=$as_cr_Letters$as_cr_digits
    475 
    476 
    477   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    478   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    479   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    480   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    481   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    482   sed -n '
    483     p
    484     /[$]LINENO/=
    485   ' <$as_myself |
    486     sed '
    487       s/[$]LINENO.*/&-/
    488       t lineno
    489       b
    490       :lineno
    491       N
    492       :loop
    493       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    494       t loop
    495       s/-\n.*//
    496     ' >$as_me.lineno &&
    497   chmod +x "$as_me.lineno" ||
    498     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    499 
    500   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    501   # already done that, so ensure we don't try to do so again and fall
    502   # in an infinite loop.  This has already happened in practice.
    503   _as_can_reexec=no; export _as_can_reexec
    504   # Don't try to exec as it changes $[0], causing all sort of problems
    505   # (the dirname of $[0] is not the place where we might find the
    506   # original and so on.  Autoconf is especially sensitive to this).
    507   . "./$as_me.lineno"
    508   # Exit status is that of the last command.
    509   exit
    510 }
    511 
    512 ECHO_C= ECHO_N= ECHO_T=
    513 case `echo -n x` in #(((((
    514 -n*)
    515   case `echo 'xy\c'` in
    516   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    517   xy)  ECHO_C='\c';;
    518   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    519        ECHO_T='	';;
    520   esac;;
    521 *)
    522   ECHO_N='-n';;
    523 esac
    524 
    525 rm -f conf$$ conf$$.exe conf$$.file
    526 if test -d conf$$.dir; then
    527   rm -f conf$$.dir/conf$$.file
    528 else
    529   rm -f conf$$.dir
    530   mkdir conf$$.dir 2>/dev/null
    531 fi
    532 if (echo >conf$$.file) 2>/dev/null; then
    533   if ln -s conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s='ln -s'
    535     # ... but there are two gotchas:
    536     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    537     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    538     # In both cases, we have to default to `cp -pR'.
    539     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    540       as_ln_s='cp -pR'
    541   elif ln conf$$.file conf$$ 2>/dev/null; then
    542     as_ln_s=ln
    543   else
    544     as_ln_s='cp -pR'
    545   fi
    546 else
    547   as_ln_s='cp -pR'
    548 fi
    549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    550 rmdir conf$$.dir 2>/dev/null
    551 
    552 if mkdir -p . 2>/dev/null; then
    553   as_mkdir_p='mkdir -p "$as_dir"'
    554 else
    555   test -d ./-p && rmdir ./-p
    556   as_mkdir_p=false
    557 fi
    558 
    559 as_test_x='test -x'
    560 as_executable_p=as_fn_executable_p
    561 
    562 # Sed expression to map a string onto a valid CPP name.
    563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    564 
    565 # Sed expression to map a string onto a valid variable name.
    566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    567 
    568 SHELL=${CONFIG_SHELL-/bin/sh}
    569 
    570 
    571 test -n "$DJDIR" || exec 7<&0 </dev/null
    572 exec 6>&1
    573 
    574 # Name of the host.
    575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    576 # so uname gets run too.
    577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    578 
    579 #
    580 # Initializations.
    581 #
    582 ac_default_prefix=/usr/local
    583 ac_clean_files=
    584 ac_config_libobj_dir=.
    585 LIBOBJS=
    586 cross_compiling=no
    587 subdirs=
    588 MFLAGS=
    589 MAKEFLAGS=
    590 
    591 # Identity of this package.
    592 PACKAGE_NAME='libXScrnSaver'
    593 PACKAGE_TARNAME='libXScrnSaver'
    594 PACKAGE_VERSION='1.2.3'
    595 PACKAGE_STRING='libXScrnSaver 1.2.3'
    596 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    597 PACKAGE_URL=''
    598 
    599 ac_unique_file="Makefile.am"
    600 # Factoring default headers for most tests.
    601 ac_includes_default="\
    602 #include <stdio.h>
    603 #ifdef HAVE_SYS_TYPES_H
    604 # include <sys/types.h>
    605 #endif
    606 #ifdef HAVE_SYS_STAT_H
    607 # include <sys/stat.h>
    608 #endif
    609 #ifdef STDC_HEADERS
    610 # include <stdlib.h>
    611 # include <stddef.h>
    612 #else
    613 # ifdef HAVE_STDLIB_H
    614 #  include <stdlib.h>
    615 # endif
    616 #endif
    617 #ifdef HAVE_STRING_H
    618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    619 #  include <memory.h>
    620 # endif
    621 # include <string.h>
    622 #endif
    623 #ifdef HAVE_STRINGS_H
    624 # include <strings.h>
    625 #endif
    626 #ifdef HAVE_INTTYPES_H
    627 # include <inttypes.h>
    628 #endif
    629 #ifdef HAVE_STDINT_H
    630 # include <stdint.h>
    631 #endif
    632 #ifdef HAVE_UNISTD_H
    633 # include <unistd.h>
    634 #endif"
    635 
    636 ac_subst_vars='am__EXEEXT_FALSE
    637 am__EXEEXT_TRUE
    638 LTLIBOBJS
    639 LIBOBJS
    640 MAKE_LINT_LIB_FALSE
    641 MAKE_LINT_LIB_TRUE
    642 LINTLIB
    643 LINT_FALSE
    644 LINT_TRUE
    645 LINT_FLAGS
    646 LINT
    647 XSCRNSAVER_LIBS
    648 XSCRNSAVER_CFLAGS
    649 XTMALLOC_ZERO_CFLAGS
    650 XMALLOC_ZERO_CFLAGS
    651 MALLOC_ZERO_CFLAGS
    652 MAN_SUBSTS
    653 XORG_MAN_PAGE
    654 ADMIN_MAN_DIR
    655 DRIVER_MAN_DIR
    656 MISC_MAN_DIR
    657 FILE_MAN_DIR
    658 LIB_MAN_DIR
    659 APP_MAN_DIR
    660 ADMIN_MAN_SUFFIX
    661 DRIVER_MAN_SUFFIX
    662 MISC_MAN_SUFFIX
    663 FILE_MAN_SUFFIX
    664 LIB_MAN_SUFFIX
    665 APP_MAN_SUFFIX
    666 INSTALL_CMD
    667 PKG_CONFIG_LIBDIR
    668 PKG_CONFIG_PATH
    669 PKG_CONFIG
    670 CHANGELOG_CMD
    671 STRICT_CFLAGS
    672 CWARNFLAGS
    673 BASE_CFLAGS
    674 CPP
    675 LT_SYS_LIBRARY_PATH
    676 OTOOL64
    677 OTOOL
    678 LIPO
    679 NMEDIT
    680 DSYMUTIL
    681 MANIFEST_TOOL
    682 RANLIB
    683 ac_ct_AR
    684 AR
    685 DLLTOOL
    686 OBJDUMP
    687 LN_S
    688 NM
    689 ac_ct_DUMPBIN
    690 DUMPBIN
    691 LD
    692 FGREP
    693 EGREP
    694 GREP
    695 SED
    696 am__fastdepCC_FALSE
    697 am__fastdepCC_TRUE
    698 CCDEPMODE
    699 am__nodep
    700 AMDEPBACKSLASH
    701 AMDEP_FALSE
    702 AMDEP_TRUE
    703 am__quote
    704 am__include
    705 DEPDIR
    706 OBJEXT
    707 EXEEXT
    708 ac_ct_CC
    709 CPPFLAGS
    710 LDFLAGS
    711 CFLAGS
    712 CC
    713 host_os
    714 host_vendor
    715 host_cpu
    716 host
    717 build_os
    718 build_vendor
    719 build_cpu
    720 build
    721 LIBTOOL
    722 AM_BACKSLASH
    723 AM_DEFAULT_VERBOSITY
    724 AM_DEFAULT_V
    725 AM_V
    726 am__untar
    727 am__tar
    728 AMTAR
    729 am__leading_dot
    730 SET_MAKE
    731 AWK
    732 mkdir_p
    733 MKDIR_P
    734 INSTALL_STRIP_PROGRAM
    735 STRIP
    736 install_sh
    737 MAKEINFO
    738 AUTOHEADER
    739 AUTOMAKE
    740 AUTOCONF
    741 ACLOCAL
    742 VERSION
    743 PACKAGE
    744 CYGPATH_W
    745 am__isrc
    746 INSTALL_DATA
    747 INSTALL_SCRIPT
    748 INSTALL_PROGRAM
    749 target_alias
    750 host_alias
    751 build_alias
    752 LIBS
    753 ECHO_T
    754 ECHO_N
    755 ECHO_C
    756 DEFS
    757 mandir
    758 localedir
    759 libdir
    760 psdir
    761 pdfdir
    762 dvidir
    763 htmldir
    764 infodir
    765 docdir
    766 oldincludedir
    767 includedir
    768 localstatedir
    769 sharedstatedir
    770 sysconfdir
    771 datadir
    772 datarootdir
    773 libexecdir
    774 sbindir
    775 bindir
    776 program_transform_name
    777 prefix
    778 exec_prefix
    779 PACKAGE_URL
    780 PACKAGE_BUGREPORT
    781 PACKAGE_STRING
    782 PACKAGE_VERSION
    783 PACKAGE_TARNAME
    784 PACKAGE_NAME
    785 PATH_SEPARATOR
    786 SHELL'
    787 ac_subst_files=''
    788 ac_user_opts='
    789 enable_option_checking
    790 enable_silent_rules
    791 enable_shared
    792 enable_static
    793 with_pic
    794 enable_fast_install
    795 with_aix_soname
    796 enable_dependency_tracking
    797 with_gnu_ld
    798 with_sysroot
    799 enable_libtool_lock
    800 enable_selective_werror
    801 enable_strict_compilation
    802 enable_malloc0returnsnull
    803 with_lint
    804 enable_lint_library
    805 '
    806       ac_precious_vars='build_alias
    807 host_alias
    808 target_alias
    809 CC
    810 CFLAGS
    811 LDFLAGS
    812 LIBS
    813 CPPFLAGS
    814 LT_SYS_LIBRARY_PATH
    815 CPP
    816 PKG_CONFIG
    817 PKG_CONFIG_PATH
    818 PKG_CONFIG_LIBDIR
    819 XSCRNSAVER_CFLAGS
    820 XSCRNSAVER_LIBS
    821 LINT
    822 LINT_FLAGS'
    823 
    824 
    825 # Initialize some variables set by options.
    826 ac_init_help=
    827 ac_init_version=false
    828 ac_unrecognized_opts=
    829 ac_unrecognized_sep=
    830 # The variables have the same names as the options, with
    831 # dashes changed to underlines.
    832 cache_file=/dev/null
    833 exec_prefix=NONE
    834 no_create=
    835 no_recursion=
    836 prefix=NONE
    837 program_prefix=NONE
    838 program_suffix=NONE
    839 program_transform_name=s,x,x,
    840 silent=
    841 site=
    842 srcdir=
    843 verbose=
    844 x_includes=NONE
    845 x_libraries=NONE
    846 
    847 # Installation directory options.
    848 # These are left unexpanded so users can "make install exec_prefix=/foo"
    849 # and all the variables that are supposed to be based on exec_prefix
    850 # by default will actually change.
    851 # Use braces instead of parens because sh, perl, etc. also accept them.
    852 # (The list follows the same order as the GNU Coding Standards.)
    853 bindir='${exec_prefix}/bin'
    854 sbindir='${exec_prefix}/sbin'
    855 libexecdir='${exec_prefix}/libexec'
    856 datarootdir='${prefix}/share'
    857 datadir='${datarootdir}'
    858 sysconfdir='${prefix}/etc'
    859 sharedstatedir='${prefix}/com'
    860 localstatedir='${prefix}/var'
    861 includedir='${prefix}/include'
    862 oldincludedir='/usr/include'
    863 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    864 infodir='${datarootdir}/info'
    865 htmldir='${docdir}'
    866 dvidir='${docdir}'
    867 pdfdir='${docdir}'
    868 psdir='${docdir}'
    869 libdir='${exec_prefix}/lib'
    870 localedir='${datarootdir}/locale'
    871 mandir='${datarootdir}/man'
    872 
    873 ac_prev=
    874 ac_dashdash=
    875 for ac_option
    876 do
    877   # If the previous option needs an argument, assign it.
    878   if test -n "$ac_prev"; then
    879     eval $ac_prev=\$ac_option
    880     ac_prev=
    881     continue
    882   fi
    883 
    884   case $ac_option in
    885   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    886   *=)   ac_optarg= ;;
    887   *)    ac_optarg=yes ;;
    888   esac
    889 
    890   # Accept the important Cygnus configure options, so we can diagnose typos.
    891 
    892   case $ac_dashdash$ac_option in
    893   --)
    894     ac_dashdash=yes ;;
    895 
    896   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    897     ac_prev=bindir ;;
    898   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    899     bindir=$ac_optarg ;;
    900 
    901   -build | --build | --buil | --bui | --bu)
    902     ac_prev=build_alias ;;
    903   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    904     build_alias=$ac_optarg ;;
    905 
    906   -cache-file | --cache-file | --cache-fil | --cache-fi \
    907   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    908     ac_prev=cache_file ;;
    909   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    910   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    911     cache_file=$ac_optarg ;;
    912 
    913   --config-cache | -C)
    914     cache_file=config.cache ;;
    915 
    916   -datadir | --datadir | --datadi | --datad)
    917     ac_prev=datadir ;;
    918   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    919     datadir=$ac_optarg ;;
    920 
    921   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    922   | --dataroo | --dataro | --datar)
    923     ac_prev=datarootdir ;;
    924   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    925   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    926     datarootdir=$ac_optarg ;;
    927 
    928   -disable-* | --disable-*)
    929     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    930     # Reject names that are not valid shell variable names.
    931     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    932       as_fn_error $? "invalid feature name: $ac_useropt"
    933     ac_useropt_orig=$ac_useropt
    934     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    935     case $ac_user_opts in
    936       *"
    937 "enable_$ac_useropt"
    938 "*) ;;
    939       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    940 	 ac_unrecognized_sep=', ';;
    941     esac
    942     eval enable_$ac_useropt=no ;;
    943 
    944   -docdir | --docdir | --docdi | --doc | --do)
    945     ac_prev=docdir ;;
    946   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    947     docdir=$ac_optarg ;;
    948 
    949   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    950     ac_prev=dvidir ;;
    951   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    952     dvidir=$ac_optarg ;;
    953 
    954   -enable-* | --enable-*)
    955     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    956     # Reject names that are not valid shell variable names.
    957     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    958       as_fn_error $? "invalid feature name: $ac_useropt"
    959     ac_useropt_orig=$ac_useropt
    960     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    961     case $ac_user_opts in
    962       *"
    963 "enable_$ac_useropt"
    964 "*) ;;
    965       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    966 	 ac_unrecognized_sep=', ';;
    967     esac
    968     eval enable_$ac_useropt=\$ac_optarg ;;
    969 
    970   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    971   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    972   | --exec | --exe | --ex)
    973     ac_prev=exec_prefix ;;
    974   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    975   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    976   | --exec=* | --exe=* | --ex=*)
    977     exec_prefix=$ac_optarg ;;
    978 
    979   -gas | --gas | --ga | --g)
    980     # Obsolete; use --with-gas.
    981     with_gas=yes ;;
    982 
    983   -help | --help | --hel | --he | -h)
    984     ac_init_help=long ;;
    985   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    986     ac_init_help=recursive ;;
    987   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    988     ac_init_help=short ;;
    989 
    990   -host | --host | --hos | --ho)
    991     ac_prev=host_alias ;;
    992   -host=* | --host=* | --hos=* | --ho=*)
    993     host_alias=$ac_optarg ;;
    994 
    995   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    996     ac_prev=htmldir ;;
    997   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    998   | --ht=*)
    999     htmldir=$ac_optarg ;;
   1000 
   1001   -includedir | --includedir | --includedi | --included | --include \
   1002   | --includ | --inclu | --incl | --inc)
   1003     ac_prev=includedir ;;
   1004   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1005   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1006     includedir=$ac_optarg ;;
   1007 
   1008   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1009     ac_prev=infodir ;;
   1010   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1011     infodir=$ac_optarg ;;
   1012 
   1013   -libdir | --libdir | --libdi | --libd)
   1014     ac_prev=libdir ;;
   1015   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1016     libdir=$ac_optarg ;;
   1017 
   1018   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1019   | --libexe | --libex | --libe)
   1020     ac_prev=libexecdir ;;
   1021   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1022   | --libexe=* | --libex=* | --libe=*)
   1023     libexecdir=$ac_optarg ;;
   1024 
   1025   -localedir | --localedir | --localedi | --localed | --locale)
   1026     ac_prev=localedir ;;
   1027   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1028     localedir=$ac_optarg ;;
   1029 
   1030   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1031   | --localstate | --localstat | --localsta | --localst | --locals)
   1032     ac_prev=localstatedir ;;
   1033   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1034   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1035     localstatedir=$ac_optarg ;;
   1036 
   1037   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1038     ac_prev=mandir ;;
   1039   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1040     mandir=$ac_optarg ;;
   1041 
   1042   -nfp | --nfp | --nf)
   1043     # Obsolete; use --without-fp.
   1044     with_fp=no ;;
   1045 
   1046   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1047   | --no-cr | --no-c | -n)
   1048     no_create=yes ;;
   1049 
   1050   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1051   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1052     no_recursion=yes ;;
   1053 
   1054   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1055   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1056   | --oldin | --oldi | --old | --ol | --o)
   1057     ac_prev=oldincludedir ;;
   1058   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1059   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1060   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1061     oldincludedir=$ac_optarg ;;
   1062 
   1063   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1064     ac_prev=prefix ;;
   1065   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1066     prefix=$ac_optarg ;;
   1067 
   1068   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1069   | --program-pre | --program-pr | --program-p)
   1070     ac_prev=program_prefix ;;
   1071   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1072   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1073     program_prefix=$ac_optarg ;;
   1074 
   1075   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1076   | --program-suf | --program-su | --program-s)
   1077     ac_prev=program_suffix ;;
   1078   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1079   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1080     program_suffix=$ac_optarg ;;
   1081 
   1082   -program-transform-name | --program-transform-name \
   1083   | --program-transform-nam | --program-transform-na \
   1084   | --program-transform-n | --program-transform- \
   1085   | --program-transform | --program-transfor \
   1086   | --program-transfo | --program-transf \
   1087   | --program-trans | --program-tran \
   1088   | --progr-tra | --program-tr | --program-t)
   1089     ac_prev=program_transform_name ;;
   1090   -program-transform-name=* | --program-transform-name=* \
   1091   | --program-transform-nam=* | --program-transform-na=* \
   1092   | --program-transform-n=* | --program-transform-=* \
   1093   | --program-transform=* | --program-transfor=* \
   1094   | --program-transfo=* | --program-transf=* \
   1095   | --program-trans=* | --program-tran=* \
   1096   | --progr-tra=* | --program-tr=* | --program-t=*)
   1097     program_transform_name=$ac_optarg ;;
   1098 
   1099   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1100     ac_prev=pdfdir ;;
   1101   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1102     pdfdir=$ac_optarg ;;
   1103 
   1104   -psdir | --psdir | --psdi | --psd | --ps)
   1105     ac_prev=psdir ;;
   1106   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1107     psdir=$ac_optarg ;;
   1108 
   1109   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1110   | -silent | --silent | --silen | --sile | --sil)
   1111     silent=yes ;;
   1112 
   1113   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1114     ac_prev=sbindir ;;
   1115   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1116   | --sbi=* | --sb=*)
   1117     sbindir=$ac_optarg ;;
   1118 
   1119   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1120   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1121   | --sharedst | --shareds | --shared | --share | --shar \
   1122   | --sha | --sh)
   1123     ac_prev=sharedstatedir ;;
   1124   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1125   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1126   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1127   | --sha=* | --sh=*)
   1128     sharedstatedir=$ac_optarg ;;
   1129 
   1130   -site | --site | --sit)
   1131     ac_prev=site ;;
   1132   -site=* | --site=* | --sit=*)
   1133     site=$ac_optarg ;;
   1134 
   1135   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1136     ac_prev=srcdir ;;
   1137   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1138     srcdir=$ac_optarg ;;
   1139 
   1140   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1141   | --syscon | --sysco | --sysc | --sys | --sy)
   1142     ac_prev=sysconfdir ;;
   1143   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1144   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1145     sysconfdir=$ac_optarg ;;
   1146 
   1147   -target | --target | --targe | --targ | --tar | --ta | --t)
   1148     ac_prev=target_alias ;;
   1149   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1150     target_alias=$ac_optarg ;;
   1151 
   1152   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1153     verbose=yes ;;
   1154 
   1155   -version | --version | --versio | --versi | --vers | -V)
   1156     ac_init_version=: ;;
   1157 
   1158   -with-* | --with-*)
   1159     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1160     # Reject names that are not valid shell variable names.
   1161     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1162       as_fn_error $? "invalid package name: $ac_useropt"
   1163     ac_useropt_orig=$ac_useropt
   1164     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1165     case $ac_user_opts in
   1166       *"
   1167 "with_$ac_useropt"
   1168 "*) ;;
   1169       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1170 	 ac_unrecognized_sep=', ';;
   1171     esac
   1172     eval with_$ac_useropt=\$ac_optarg ;;
   1173 
   1174   -without-* | --without-*)
   1175     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1176     # Reject names that are not valid shell variable names.
   1177     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1178       as_fn_error $? "invalid package name: $ac_useropt"
   1179     ac_useropt_orig=$ac_useropt
   1180     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1181     case $ac_user_opts in
   1182       *"
   1183 "with_$ac_useropt"
   1184 "*) ;;
   1185       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1186 	 ac_unrecognized_sep=', ';;
   1187     esac
   1188     eval with_$ac_useropt=no ;;
   1189 
   1190   --x)
   1191     # Obsolete; use --with-x.
   1192     with_x=yes ;;
   1193 
   1194   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1195   | --x-incl | --x-inc | --x-in | --x-i)
   1196     ac_prev=x_includes ;;
   1197   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1198   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1199     x_includes=$ac_optarg ;;
   1200 
   1201   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1202   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1203     ac_prev=x_libraries ;;
   1204   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1205   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1206     x_libraries=$ac_optarg ;;
   1207 
   1208   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1209 Try \`$0 --help' for more information"
   1210     ;;
   1211 
   1212   *=*)
   1213     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1214     # Reject names that are not valid shell variable names.
   1215     case $ac_envvar in #(
   1216       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1217       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1218     esac
   1219     eval $ac_envvar=\$ac_optarg
   1220     export $ac_envvar ;;
   1221 
   1222   *)
   1223     # FIXME: should be removed in autoconf 3.0.
   1224     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1225     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1226       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1227     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1228     ;;
   1229 
   1230   esac
   1231 done
   1232 
   1233 if test -n "$ac_prev"; then
   1234   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1235   as_fn_error $? "missing argument to $ac_option"
   1236 fi
   1237 
   1238 if test -n "$ac_unrecognized_opts"; then
   1239   case $enable_option_checking in
   1240     no) ;;
   1241     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1242     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1243   esac
   1244 fi
   1245 
   1246 # Check all directory arguments for consistency.
   1247 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1248 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1249 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1250 		libdir localedir mandir
   1251 do
   1252   eval ac_val=\$$ac_var
   1253   # Remove trailing slashes.
   1254   case $ac_val in
   1255     */ )
   1256       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1257       eval $ac_var=\$ac_val;;
   1258   esac
   1259   # Be sure to have absolute directory names.
   1260   case $ac_val in
   1261     [\\/$]* | ?:[\\/]* )  continue;;
   1262     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1263   esac
   1264   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1265 done
   1266 
   1267 # There might be people who depend on the old broken behavior: `$host'
   1268 # used to hold the argument of --host etc.
   1269 # FIXME: To remove some day.
   1270 build=$build_alias
   1271 host=$host_alias
   1272 target=$target_alias
   1273 
   1274 # FIXME: To remove some day.
   1275 if test "x$host_alias" != x; then
   1276   if test "x$build_alias" = x; then
   1277     cross_compiling=maybe
   1278   elif test "x$build_alias" != "x$host_alias"; then
   1279     cross_compiling=yes
   1280   fi
   1281 fi
   1282 
   1283 ac_tool_prefix=
   1284 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1285 
   1286 test "$silent" = yes && exec 6>/dev/null
   1287 
   1288 
   1289 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1290 ac_ls_di=`ls -di .` &&
   1291 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1292   as_fn_error $? "working directory cannot be determined"
   1293 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1294   as_fn_error $? "pwd does not report name of working directory"
   1295 
   1296 
   1297 # Find the source files, if location was not specified.
   1298 if test -z "$srcdir"; then
   1299   ac_srcdir_defaulted=yes
   1300   # Try the directory containing this script, then the parent directory.
   1301   ac_confdir=`$as_dirname -- "$as_myself" ||
   1302 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1303 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1304 	 X"$as_myself" : 'X\(//\)$' \| \
   1305 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1306 $as_echo X"$as_myself" |
   1307     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1308 	    s//\1/
   1309 	    q
   1310 	  }
   1311 	  /^X\(\/\/\)[^/].*/{
   1312 	    s//\1/
   1313 	    q
   1314 	  }
   1315 	  /^X\(\/\/\)$/{
   1316 	    s//\1/
   1317 	    q
   1318 	  }
   1319 	  /^X\(\/\).*/{
   1320 	    s//\1/
   1321 	    q
   1322 	  }
   1323 	  s/.*/./; q'`
   1324   srcdir=$ac_confdir
   1325   if test ! -r "$srcdir/$ac_unique_file"; then
   1326     srcdir=..
   1327   fi
   1328 else
   1329   ac_srcdir_defaulted=no
   1330 fi
   1331 if test ! -r "$srcdir/$ac_unique_file"; then
   1332   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1333   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1334 fi
   1335 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1336 ac_abs_confdir=`(
   1337 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1338 	pwd)`
   1339 # When building in place, set srcdir=.
   1340 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1341   srcdir=.
   1342 fi
   1343 # Remove unnecessary trailing slashes from srcdir.
   1344 # Double slashes in file names in object file debugging info
   1345 # mess up M-x gdb in Emacs.
   1346 case $srcdir in
   1347 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1348 esac
   1349 for ac_var in $ac_precious_vars; do
   1350   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1351   eval ac_env_${ac_var}_value=\$${ac_var}
   1352   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1353   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1354 done
   1355 
   1356 #
   1357 # Report the --help message.
   1358 #
   1359 if test "$ac_init_help" = "long"; then
   1360   # Omit some internal or obsolete options to make the list less imposing.
   1361   # This message is too long to be a string in the A/UX 3.1 sh.
   1362   cat <<_ACEOF
   1363 \`configure' configures libXScrnSaver 1.2.3 to adapt to many kinds of systems.
   1364 
   1365 Usage: $0 [OPTION]... [VAR=VALUE]...
   1366 
   1367 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1368 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1369 
   1370 Defaults for the options are specified in brackets.
   1371 
   1372 Configuration:
   1373   -h, --help              display this help and exit
   1374       --help=short        display options specific to this package
   1375       --help=recursive    display the short help of all the included packages
   1376   -V, --version           display version information and exit
   1377   -q, --quiet, --silent   do not print \`checking ...' messages
   1378       --cache-file=FILE   cache test results in FILE [disabled]
   1379   -C, --config-cache      alias for \`--cache-file=config.cache'
   1380   -n, --no-create         do not create output files
   1381       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1382 
   1383 Installation directories:
   1384   --prefix=PREFIX         install architecture-independent files in PREFIX
   1385                           [$ac_default_prefix]
   1386   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1387                           [PREFIX]
   1388 
   1389 By default, \`make install' will install all the files in
   1390 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1391 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1392 for instance \`--prefix=\$HOME'.
   1393 
   1394 For better control, use the options below.
   1395 
   1396 Fine tuning of the installation directories:
   1397   --bindir=DIR            user executables [EPREFIX/bin]
   1398   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1399   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1400   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1401   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1402   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1403   --libdir=DIR            object code libraries [EPREFIX/lib]
   1404   --includedir=DIR        C header files [PREFIX/include]
   1405   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1406   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1407   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1408   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1409   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1410   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1411   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXScrnSaver]
   1412   --htmldir=DIR           html documentation [DOCDIR]
   1413   --dvidir=DIR            dvi documentation [DOCDIR]
   1414   --pdfdir=DIR            pdf documentation [DOCDIR]
   1415   --psdir=DIR             ps documentation [DOCDIR]
   1416 _ACEOF
   1417 
   1418   cat <<\_ACEOF
   1419 
   1420 Program names:
   1421   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1422   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1423   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1424 
   1425 System types:
   1426   --build=BUILD     configure for building on BUILD [guessed]
   1427   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1428 _ACEOF
   1429 fi
   1430 
   1431 if test -n "$ac_init_help"; then
   1432   case $ac_init_help in
   1433      short | recursive ) echo "Configuration of libXScrnSaver 1.2.3:";;
   1434    esac
   1435   cat <<\_ACEOF
   1436 
   1437 Optional Features:
   1438   --disable-option-checking  ignore unrecognized --enable/--with options
   1439   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1440   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1441   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1442   --disable-silent-rules  verbose build output (undo: "make V=0")
   1443   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1444   --enable-static[=PKGS]  build static libraries [default=yes]
   1445   --enable-fast-install[=PKGS]
   1446                           optimize for fast installation [default=yes]
   1447   --enable-dependency-tracking
   1448                           do not reject slow dependency extractors
   1449   --disable-dependency-tracking
   1450                           speeds up one-time build
   1451   --disable-libtool-lock  avoid locking (might break parallel builds)
   1452   --disable-selective-werror
   1453                           Turn off selective compiler errors. (default:
   1454                           enabled)
   1455   --enable-strict-compilation
   1456                           Enable all warnings from compiler and make them
   1457                           errors (default: disabled)
   1458   --enable-malloc0returnsnull
   1459                           malloc(0) returns NULL (default: auto)
   1460   --enable-lint-library   Create lint library (default: disabled)
   1461 
   1462 Optional Packages:
   1463   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1464   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1465   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1466                           both]
   1467   --with-aix-soname=aix|svr4|both
   1468                           shared library versioning (aka "SONAME") variant to
   1469                           provide on AIX, [default=aix].
   1470   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1471   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1472                           compiler's sysroot if not specified).
   1473   --with-lint             Use a lint-style source code checker (default:
   1474                           disabled)
   1475 
   1476 Some influential environment variables:
   1477   CC          C compiler command
   1478   CFLAGS      C compiler flags
   1479   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1480               nonstandard directory <lib dir>
   1481   LIBS        libraries to pass to the linker, e.g. -l<library>
   1482   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1483               you have headers in a nonstandard directory <include dir>
   1484   LT_SYS_LIBRARY_PATH
   1485               User-defined run-time library search path.
   1486   CPP         C preprocessor
   1487   PKG_CONFIG  path to pkg-config utility
   1488   PKG_CONFIG_PATH
   1489               directories to add to pkg-config's search path
   1490   PKG_CONFIG_LIBDIR
   1491               path overriding pkg-config's built-in search path
   1492   XSCRNSAVER_CFLAGS
   1493               C compiler flags for XSCRNSAVER, overriding pkg-config
   1494   XSCRNSAVER_LIBS
   1495               linker flags for XSCRNSAVER, overriding pkg-config
   1496   LINT        Path to a lint-style command
   1497   LINT_FLAGS  Flags for the lint-style command
   1498 
   1499 Use these variables to override the choices made by `configure' or to help
   1500 it to find libraries and programs with nonstandard names/locations.
   1501 
   1502 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1503 _ACEOF
   1504 ac_status=$?
   1505 fi
   1506 
   1507 if test "$ac_init_help" = "recursive"; then
   1508   # If there are subdirs, report their specific --help.
   1509   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1510     test -d "$ac_dir" ||
   1511       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1512       continue
   1513     ac_builddir=.
   1514 
   1515 case "$ac_dir" in
   1516 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1517 *)
   1518   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1519   # A ".." for each directory in $ac_dir_suffix.
   1520   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1521   case $ac_top_builddir_sub in
   1522   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1523   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1524   esac ;;
   1525 esac
   1526 ac_abs_top_builddir=$ac_pwd
   1527 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1528 # for backward compatibility:
   1529 ac_top_builddir=$ac_top_build_prefix
   1530 
   1531 case $srcdir in
   1532   .)  # We are building in place.
   1533     ac_srcdir=.
   1534     ac_top_srcdir=$ac_top_builddir_sub
   1535     ac_abs_top_srcdir=$ac_pwd ;;
   1536   [\\/]* | ?:[\\/]* )  # Absolute name.
   1537     ac_srcdir=$srcdir$ac_dir_suffix;
   1538     ac_top_srcdir=$srcdir
   1539     ac_abs_top_srcdir=$srcdir ;;
   1540   *) # Relative name.
   1541     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1542     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1543     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1544 esac
   1545 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1546 
   1547     cd "$ac_dir" || { ac_status=$?; continue; }
   1548     # Check for guested configure.
   1549     if test -f "$ac_srcdir/configure.gnu"; then
   1550       echo &&
   1551       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1552     elif test -f "$ac_srcdir/configure"; then
   1553       echo &&
   1554       $SHELL "$ac_srcdir/configure" --help=recursive
   1555     else
   1556       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1557     fi || ac_status=$?
   1558     cd "$ac_pwd" || { ac_status=$?; break; }
   1559   done
   1560 fi
   1561 
   1562 test -n "$ac_init_help" && exit $ac_status
   1563 if $ac_init_version; then
   1564   cat <<\_ACEOF
   1565 libXScrnSaver configure 1.2.3
   1566 generated by GNU Autoconf 2.69
   1567 
   1568 Copyright (C) 2012 Free Software Foundation, Inc.
   1569 This configure script is free software; the Free Software Foundation
   1570 gives unlimited permission to copy, distribute and modify it.
   1571 _ACEOF
   1572   exit
   1573 fi
   1574 
   1575 ## ------------------------ ##
   1576 ## Autoconf initialization. ##
   1577 ## ------------------------ ##
   1578 
   1579 # ac_fn_c_try_compile LINENO
   1580 # --------------------------
   1581 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1582 ac_fn_c_try_compile ()
   1583 {
   1584   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1585   rm -f conftest.$ac_objext
   1586   if { { ac_try="$ac_compile"
   1587 case "(($ac_try" in
   1588   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1589   *) ac_try_echo=$ac_try;;
   1590 esac
   1591 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1592 $as_echo "$ac_try_echo"; } >&5
   1593   (eval "$ac_compile") 2>conftest.err
   1594   ac_status=$?
   1595   if test -s conftest.err; then
   1596     grep -v '^ *+' conftest.err >conftest.er1
   1597     cat conftest.er1 >&5
   1598     mv -f conftest.er1 conftest.err
   1599   fi
   1600   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1601   test $ac_status = 0; } && {
   1602 	 test -z "$ac_c_werror_flag" ||
   1603 	 test ! -s conftest.err
   1604        } && test -s conftest.$ac_objext; then :
   1605   ac_retval=0
   1606 else
   1607   $as_echo "$as_me: failed program was:" >&5
   1608 sed 's/^/| /' conftest.$ac_ext >&5
   1609 
   1610 	ac_retval=1
   1611 fi
   1612   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1613   as_fn_set_status $ac_retval
   1614 
   1615 } # ac_fn_c_try_compile
   1616 
   1617 # ac_fn_c_try_link LINENO
   1618 # -----------------------
   1619 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1620 ac_fn_c_try_link ()
   1621 {
   1622   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1623   rm -f conftest.$ac_objext conftest$ac_exeext
   1624   if { { ac_try="$ac_link"
   1625 case "(($ac_try" in
   1626   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1627   *) ac_try_echo=$ac_try;;
   1628 esac
   1629 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1630 $as_echo "$ac_try_echo"; } >&5
   1631   (eval "$ac_link") 2>conftest.err
   1632   ac_status=$?
   1633   if test -s conftest.err; then
   1634     grep -v '^ *+' conftest.err >conftest.er1
   1635     cat conftest.er1 >&5
   1636     mv -f conftest.er1 conftest.err
   1637   fi
   1638   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1639   test $ac_status = 0; } && {
   1640 	 test -z "$ac_c_werror_flag" ||
   1641 	 test ! -s conftest.err
   1642        } && test -s conftest$ac_exeext && {
   1643 	 test "$cross_compiling" = yes ||
   1644 	 test -x conftest$ac_exeext
   1645        }; then :
   1646   ac_retval=0
   1647 else
   1648   $as_echo "$as_me: failed program was:" >&5
   1649 sed 's/^/| /' conftest.$ac_ext >&5
   1650 
   1651 	ac_retval=1
   1652 fi
   1653   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1654   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1655   # interfere with the next link command; also delete a directory that is
   1656   # left behind by Apple's compiler.  We do this before executing the actions.
   1657   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1658   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1659   as_fn_set_status $ac_retval
   1660 
   1661 } # ac_fn_c_try_link
   1662 
   1663 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1664 # -------------------------------------------------------
   1665 # Tests whether HEADER exists and can be compiled using the include files in
   1666 # INCLUDES, setting the cache variable VAR accordingly.
   1667 ac_fn_c_check_header_compile ()
   1668 {
   1669   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1670   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1671 $as_echo_n "checking for $2... " >&6; }
   1672 if eval \${$3+:} false; then :
   1673   $as_echo_n "(cached) " >&6
   1674 else
   1675   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1676 /* end confdefs.h.  */
   1677 $4
   1678 #include <$2>
   1679 _ACEOF
   1680 if ac_fn_c_try_compile "$LINENO"; then :
   1681   eval "$3=yes"
   1682 else
   1683   eval "$3=no"
   1684 fi
   1685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1686 fi
   1687 eval ac_res=\$$3
   1688 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1689 $as_echo "$ac_res" >&6; }
   1690   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1691 
   1692 } # ac_fn_c_check_header_compile
   1693 
   1694 # ac_fn_c_try_cpp LINENO
   1695 # ----------------------
   1696 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1697 ac_fn_c_try_cpp ()
   1698 {
   1699   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1700   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1701 case "(($ac_try" in
   1702   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1703   *) ac_try_echo=$ac_try;;
   1704 esac
   1705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1706 $as_echo "$ac_try_echo"; } >&5
   1707   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1708   ac_status=$?
   1709   if test -s conftest.err; then
   1710     grep -v '^ *+' conftest.err >conftest.er1
   1711     cat conftest.er1 >&5
   1712     mv -f conftest.er1 conftest.err
   1713   fi
   1714   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1715   test $ac_status = 0; } > conftest.i && {
   1716 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1717 	 test ! -s conftest.err
   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   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1727   as_fn_set_status $ac_retval
   1728 
   1729 } # ac_fn_c_try_cpp
   1730 
   1731 # ac_fn_c_try_run LINENO
   1732 # ----------------------
   1733 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1734 # that executables *can* be run.
   1735 ac_fn_c_try_run ()
   1736 {
   1737   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1738   if { { ac_try="$ac_link"
   1739 case "(($ac_try" in
   1740   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1741   *) ac_try_echo=$ac_try;;
   1742 esac
   1743 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1744 $as_echo "$ac_try_echo"; } >&5
   1745   (eval "$ac_link") 2>&5
   1746   ac_status=$?
   1747   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1748   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1749   { { case "(($ac_try" in
   1750   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1751   *) ac_try_echo=$ac_try;;
   1752 esac
   1753 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1754 $as_echo "$ac_try_echo"; } >&5
   1755   (eval "$ac_try") 2>&5
   1756   ac_status=$?
   1757   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1758   test $ac_status = 0; }; }; then :
   1759   ac_retval=0
   1760 else
   1761   $as_echo "$as_me: program exited with status $ac_status" >&5
   1762        $as_echo "$as_me: failed program was:" >&5
   1763 sed 's/^/| /' conftest.$ac_ext >&5
   1764 
   1765        ac_retval=$ac_status
   1766 fi
   1767   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1768   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1769   as_fn_set_status $ac_retval
   1770 
   1771 } # ac_fn_c_try_run
   1772 
   1773 # ac_fn_c_check_func LINENO FUNC VAR
   1774 # ----------------------------------
   1775 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1776 ac_fn_c_check_func ()
   1777 {
   1778   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1779   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1780 $as_echo_n "checking for $2... " >&6; }
   1781 if eval \${$3+:} false; then :
   1782   $as_echo_n "(cached) " >&6
   1783 else
   1784   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1785 /* end confdefs.h.  */
   1786 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1787    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1788 #define $2 innocuous_$2
   1789 
   1790 /* System header to define __stub macros and hopefully few prototypes,
   1791     which can conflict with char $2 (); below.
   1792     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1793     <limits.h> exists even on freestanding compilers.  */
   1794 
   1795 #ifdef __STDC__
   1796 # include <limits.h>
   1797 #else
   1798 # include <assert.h>
   1799 #endif
   1800 
   1801 #undef $2
   1802 
   1803 /* Override any GCC internal prototype to avoid an error.
   1804    Use char because int might match the return type of a GCC
   1805    builtin and then its argument prototype would still apply.  */
   1806 #ifdef __cplusplus
   1807 extern "C"
   1808 #endif
   1809 char $2 ();
   1810 /* The GNU C library defines this for functions which it implements
   1811     to always fail with ENOSYS.  Some functions are actually named
   1812     something starting with __ and the normal name is an alias.  */
   1813 #if defined __stub_$2 || defined __stub___$2
   1814 choke me
   1815 #endif
   1816 
   1817 int
   1818 main ()
   1819 {
   1820 return $2 ();
   1821   ;
   1822   return 0;
   1823 }
   1824 _ACEOF
   1825 if ac_fn_c_try_link "$LINENO"; then :
   1826   eval "$3=yes"
   1827 else
   1828   eval "$3=no"
   1829 fi
   1830 rm -f core conftest.err conftest.$ac_objext \
   1831     conftest$ac_exeext conftest.$ac_ext
   1832 fi
   1833 eval ac_res=\$$3
   1834 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1835 $as_echo "$ac_res" >&6; }
   1836   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1837 
   1838 } # ac_fn_c_check_func
   1839 
   1840 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1841 # ---------------------------------------------
   1842 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1843 # accordingly.
   1844 ac_fn_c_check_decl ()
   1845 {
   1846   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1847   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1848   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1849   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1850 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1851 if eval \${$3+:} false; then :
   1852   $as_echo_n "(cached) " >&6
   1853 else
   1854   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1855 /* end confdefs.h.  */
   1856 $4
   1857 int
   1858 main ()
   1859 {
   1860 #ifndef $as_decl_name
   1861 #ifdef __cplusplus
   1862   (void) $as_decl_use;
   1863 #else
   1864   (void) $as_decl_name;
   1865 #endif
   1866 #endif
   1867 
   1868   ;
   1869   return 0;
   1870 }
   1871 _ACEOF
   1872 if ac_fn_c_try_compile "$LINENO"; then :
   1873   eval "$3=yes"
   1874 else
   1875   eval "$3=no"
   1876 fi
   1877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1878 fi
   1879 eval ac_res=\$$3
   1880 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1881 $as_echo "$ac_res" >&6; }
   1882   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1883 
   1884 } # ac_fn_c_check_decl
   1885 cat >config.log <<_ACEOF
   1886 This file contains any messages produced by compilers while
   1887 running configure, to aid debugging if configure makes a mistake.
   1888 
   1889 It was created by libXScrnSaver $as_me 1.2.3, which was
   1890 generated by GNU Autoconf 2.69.  Invocation command line was
   1891 
   1892   $ $0 $@
   1893 
   1894 _ACEOF
   1895 exec 5>>config.log
   1896 {
   1897 cat <<_ASUNAME
   1898 ## --------- ##
   1899 ## Platform. ##
   1900 ## --------- ##
   1901 
   1902 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1903 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1904 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1905 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1906 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1907 
   1908 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1909 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1910 
   1911 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1912 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1913 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1914 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1915 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1916 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1917 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1918 
   1919 _ASUNAME
   1920 
   1921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1922 for as_dir in $PATH
   1923 do
   1924   IFS=$as_save_IFS
   1925   test -z "$as_dir" && as_dir=.
   1926     $as_echo "PATH: $as_dir"
   1927   done
   1928 IFS=$as_save_IFS
   1929 
   1930 } >&5
   1931 
   1932 cat >&5 <<_ACEOF
   1933 
   1934 
   1935 ## ----------- ##
   1936 ## Core tests. ##
   1937 ## ----------- ##
   1938 
   1939 _ACEOF
   1940 
   1941 
   1942 # Keep a trace of the command line.
   1943 # Strip out --no-create and --no-recursion so they do not pile up.
   1944 # Strip out --silent because we don't want to record it for future runs.
   1945 # Also quote any args containing shell meta-characters.
   1946 # Make two passes to allow for proper duplicate-argument suppression.
   1947 ac_configure_args=
   1948 ac_configure_args0=
   1949 ac_configure_args1=
   1950 ac_must_keep_next=false
   1951 for ac_pass in 1 2
   1952 do
   1953   for ac_arg
   1954   do
   1955     case $ac_arg in
   1956     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1957     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1958     | -silent | --silent | --silen | --sile | --sil)
   1959       continue ;;
   1960     *\'*)
   1961       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1962     esac
   1963     case $ac_pass in
   1964     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1965     2)
   1966       as_fn_append ac_configure_args1 " '$ac_arg'"
   1967       if test $ac_must_keep_next = true; then
   1968 	ac_must_keep_next=false # Got value, back to normal.
   1969       else
   1970 	case $ac_arg in
   1971 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1972 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1973 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1974 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1975 	    case "$ac_configure_args0 " in
   1976 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1977 	    esac
   1978 	    ;;
   1979 	  -* ) ac_must_keep_next=true ;;
   1980 	esac
   1981       fi
   1982       as_fn_append ac_configure_args " '$ac_arg'"
   1983       ;;
   1984     esac
   1985   done
   1986 done
   1987 { ac_configure_args0=; unset ac_configure_args0;}
   1988 { ac_configure_args1=; unset ac_configure_args1;}
   1989 
   1990 # When interrupted or exit'd, cleanup temporary files, and complete
   1991 # config.log.  We remove comments because anyway the quotes in there
   1992 # would cause problems or look ugly.
   1993 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1994 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1995 trap 'exit_status=$?
   1996   # Save into config.log some information that might help in debugging.
   1997   {
   1998     echo
   1999 
   2000     $as_echo "## ---------------- ##
   2001 ## Cache variables. ##
   2002 ## ---------------- ##"
   2003     echo
   2004     # The following way of writing the cache mishandles newlines in values,
   2005 (
   2006   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2007     eval ac_val=\$$ac_var
   2008     case $ac_val in #(
   2009     *${as_nl}*)
   2010       case $ac_var in #(
   2011       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2012 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2013       esac
   2014       case $ac_var in #(
   2015       _ | IFS | as_nl) ;; #(
   2016       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2017       *) { eval $ac_var=; unset $ac_var;} ;;
   2018       esac ;;
   2019     esac
   2020   done
   2021   (set) 2>&1 |
   2022     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2023     *${as_nl}ac_space=\ *)
   2024       sed -n \
   2025 	"s/'\''/'\''\\\\'\'''\''/g;
   2026 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2027       ;; #(
   2028     *)
   2029       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2030       ;;
   2031     esac |
   2032     sort
   2033 )
   2034     echo
   2035 
   2036     $as_echo "## ----------------- ##
   2037 ## Output variables. ##
   2038 ## ----------------- ##"
   2039     echo
   2040     for ac_var in $ac_subst_vars
   2041     do
   2042       eval ac_val=\$$ac_var
   2043       case $ac_val in
   2044       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2045       esac
   2046       $as_echo "$ac_var='\''$ac_val'\''"
   2047     done | sort
   2048     echo
   2049 
   2050     if test -n "$ac_subst_files"; then
   2051       $as_echo "## ------------------- ##
   2052 ## File substitutions. ##
   2053 ## ------------------- ##"
   2054       echo
   2055       for ac_var in $ac_subst_files
   2056       do
   2057 	eval ac_val=\$$ac_var
   2058 	case $ac_val in
   2059 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2060 	esac
   2061 	$as_echo "$ac_var='\''$ac_val'\''"
   2062       done | sort
   2063       echo
   2064     fi
   2065 
   2066     if test -s confdefs.h; then
   2067       $as_echo "## ----------- ##
   2068 ## confdefs.h. ##
   2069 ## ----------- ##"
   2070       echo
   2071       cat confdefs.h
   2072       echo
   2073     fi
   2074     test "$ac_signal" != 0 &&
   2075       $as_echo "$as_me: caught signal $ac_signal"
   2076     $as_echo "$as_me: exit $exit_status"
   2077   } >&5
   2078   rm -f core *.core core.conftest.* &&
   2079     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2080     exit $exit_status
   2081 ' 0
   2082 for ac_signal in 1 2 13 15; do
   2083   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2084 done
   2085 ac_signal=0
   2086 
   2087 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2088 rm -f -r conftest* confdefs.h
   2089 
   2090 $as_echo "/* confdefs.h */" > confdefs.h
   2091 
   2092 # Predefined preprocessor variables.
   2093 
   2094 cat >>confdefs.h <<_ACEOF
   2095 #define PACKAGE_NAME "$PACKAGE_NAME"
   2096 _ACEOF
   2097 
   2098 cat >>confdefs.h <<_ACEOF
   2099 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2100 _ACEOF
   2101 
   2102 cat >>confdefs.h <<_ACEOF
   2103 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2104 _ACEOF
   2105 
   2106 cat >>confdefs.h <<_ACEOF
   2107 #define PACKAGE_STRING "$PACKAGE_STRING"
   2108 _ACEOF
   2109 
   2110 cat >>confdefs.h <<_ACEOF
   2111 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2112 _ACEOF
   2113 
   2114 cat >>confdefs.h <<_ACEOF
   2115 #define PACKAGE_URL "$PACKAGE_URL"
   2116 _ACEOF
   2117 
   2118 
   2119 # Let the site file select an alternate cache file if it wants to.
   2120 # Prefer an explicitly selected file to automatically selected ones.
   2121 ac_site_file1=NONE
   2122 ac_site_file2=NONE
   2123 if test -n "$CONFIG_SITE"; then
   2124   # We do not want a PATH search for config.site.
   2125   case $CONFIG_SITE in #((
   2126     -*)  ac_site_file1=./$CONFIG_SITE;;
   2127     */*) ac_site_file1=$CONFIG_SITE;;
   2128     *)   ac_site_file1=./$CONFIG_SITE;;
   2129   esac
   2130 elif test "x$prefix" != xNONE; then
   2131   ac_site_file1=$prefix/share/config.site
   2132   ac_site_file2=$prefix/etc/config.site
   2133 else
   2134   ac_site_file1=$ac_default_prefix/share/config.site
   2135   ac_site_file2=$ac_default_prefix/etc/config.site
   2136 fi
   2137 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2138 do
   2139   test "x$ac_site_file" = xNONE && continue
   2140   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2141     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2142 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2143     sed 's/^/| /' "$ac_site_file" >&5
   2144     . "$ac_site_file" \
   2145       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2146 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2147 as_fn_error $? "failed to load site script $ac_site_file
   2148 See \`config.log' for more details" "$LINENO" 5; }
   2149   fi
   2150 done
   2151 
   2152 if test -r "$cache_file"; then
   2153   # Some versions of bash will fail to source /dev/null (special files
   2154   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2155   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2156     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2157 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2158     case $cache_file in
   2159       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2160       *)                      . "./$cache_file";;
   2161     esac
   2162   fi
   2163 else
   2164   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2165 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2166   >$cache_file
   2167 fi
   2168 
   2169 # Check that the precious variables saved in the cache have kept the same
   2170 # value.
   2171 ac_cache_corrupted=false
   2172 for ac_var in $ac_precious_vars; do
   2173   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2174   eval ac_new_set=\$ac_env_${ac_var}_set
   2175   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2176   eval ac_new_val=\$ac_env_${ac_var}_value
   2177   case $ac_old_set,$ac_new_set in
   2178     set,)
   2179       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2180 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2181       ac_cache_corrupted=: ;;
   2182     ,set)
   2183       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2184 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2185       ac_cache_corrupted=: ;;
   2186     ,);;
   2187     *)
   2188       if test "x$ac_old_val" != "x$ac_new_val"; then
   2189 	# differences in whitespace do not lead to failure.
   2190 	ac_old_val_w=`echo x $ac_old_val`
   2191 	ac_new_val_w=`echo x $ac_new_val`
   2192 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2193 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2194 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2195 	  ac_cache_corrupted=:
   2196 	else
   2197 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2198 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2199 	  eval $ac_var=\$ac_old_val
   2200 	fi
   2201 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2202 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2203 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2204 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2205       fi;;
   2206   esac
   2207   # Pass precious variables to config.status.
   2208   if test "$ac_new_set" = set; then
   2209     case $ac_new_val in
   2210     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2211     *) ac_arg=$ac_var=$ac_new_val ;;
   2212     esac
   2213     case " $ac_configure_args " in
   2214       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2215       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2216     esac
   2217   fi
   2218 done
   2219 if $ac_cache_corrupted; then
   2220   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2221 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2222   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2223 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2224   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2225 fi
   2226 ## -------------------- ##
   2227 ## Main body of script. ##
   2228 ## -------------------- ##
   2229 
   2230 ac_ext=c
   2231 ac_cpp='$CPP $CPPFLAGS'
   2232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2235 
   2236 
   2237 
   2238 ac_config_headers="$ac_config_headers config.h"
   2239 
   2240 
   2241 # Initialize Automake
   2242 am__api_version='1.15'
   2243 
   2244 ac_aux_dir=
   2245 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2246   if test -f "$ac_dir/install-sh"; then
   2247     ac_aux_dir=$ac_dir
   2248     ac_install_sh="$ac_aux_dir/install-sh -c"
   2249     break
   2250   elif test -f "$ac_dir/install.sh"; then
   2251     ac_aux_dir=$ac_dir
   2252     ac_install_sh="$ac_aux_dir/install.sh -c"
   2253     break
   2254   elif test -f "$ac_dir/shtool"; then
   2255     ac_aux_dir=$ac_dir
   2256     ac_install_sh="$ac_aux_dir/shtool install -c"
   2257     break
   2258   fi
   2259 done
   2260 if test -z "$ac_aux_dir"; then
   2261   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2262 fi
   2263 
   2264 # These three variables are undocumented and unsupported,
   2265 # and are intended to be withdrawn in a future Autoconf release.
   2266 # They can cause serious problems if a builder's source tree is in a directory
   2267 # whose full name contains unusual characters.
   2268 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2269 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2270 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2271 
   2272 
   2273 # Find a good install program.  We prefer a C program (faster),
   2274 # so one script is as good as another.  But avoid the broken or
   2275 # incompatible versions:
   2276 # SysV /etc/install, /usr/sbin/install
   2277 # SunOS /usr/etc/install
   2278 # IRIX /sbin/install
   2279 # AIX /bin/install
   2280 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2281 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2282 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2283 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2284 # OS/2's system install, which has a completely different semantic
   2285 # ./install, which can be erroneously created by make from ./install.sh.
   2286 # Reject install programs that cannot install multiple files.
   2287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2288 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2289 if test -z "$INSTALL"; then
   2290 if ${ac_cv_path_install+:} false; then :
   2291   $as_echo_n "(cached) " >&6
   2292 else
   2293   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2294 for as_dir in $PATH
   2295 do
   2296   IFS=$as_save_IFS
   2297   test -z "$as_dir" && as_dir=.
   2298     # Account for people who put trailing slashes in PATH elements.
   2299 case $as_dir/ in #((
   2300   ./ | .// | /[cC]/* | \
   2301   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2302   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2303   /usr/ucb/* ) ;;
   2304   *)
   2305     # OSF1 and SCO ODT 3.0 have their own names for install.
   2306     # Don't use installbsd from OSF since it installs stuff as root
   2307     # by default.
   2308     for ac_prog in ginstall scoinst install; do
   2309       for ac_exec_ext in '' $ac_executable_extensions; do
   2310 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2311 	  if test $ac_prog = install &&
   2312 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2313 	    # AIX install.  It has an incompatible calling convention.
   2314 	    :
   2315 	  elif test $ac_prog = install &&
   2316 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2317 	    # program-specific install script used by HP pwplus--don't use.
   2318 	    :
   2319 	  else
   2320 	    rm -rf conftest.one conftest.two conftest.dir
   2321 	    echo one > conftest.one
   2322 	    echo two > conftest.two
   2323 	    mkdir conftest.dir
   2324 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2325 	      test -s conftest.one && test -s conftest.two &&
   2326 	      test -s conftest.dir/conftest.one &&
   2327 	      test -s conftest.dir/conftest.two
   2328 	    then
   2329 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2330 	      break 3
   2331 	    fi
   2332 	  fi
   2333 	fi
   2334       done
   2335     done
   2336     ;;
   2337 esac
   2338 
   2339   done
   2340 IFS=$as_save_IFS
   2341 
   2342 rm -rf conftest.one conftest.two conftest.dir
   2343 
   2344 fi
   2345   if test "${ac_cv_path_install+set}" = set; then
   2346     INSTALL=$ac_cv_path_install
   2347   else
   2348     # As a last resort, use the slow shell script.  Don't cache a
   2349     # value for INSTALL within a source directory, because that will
   2350     # break other packages using the cache if that directory is
   2351     # removed, or if the value is a relative name.
   2352     INSTALL=$ac_install_sh
   2353   fi
   2354 fi
   2355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2356 $as_echo "$INSTALL" >&6; }
   2357 
   2358 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2359 # It thinks the first close brace ends the variable substitution.
   2360 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2361 
   2362 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2363 
   2364 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2365 
   2366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2367 $as_echo_n "checking whether build environment is sane... " >&6; }
   2368 # Reject unsafe characters in $srcdir or the absolute working directory
   2369 # name.  Accept space and tab only in the latter.
   2370 am_lf='
   2371 '
   2372 case `pwd` in
   2373   *[\\\"\#\$\&\'\`$am_lf]*)
   2374     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2375 esac
   2376 case $srcdir in
   2377   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2378     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2379 esac
   2380 
   2381 # Do 'set' in a subshell so we don't clobber the current shell's
   2382 # arguments.  Must try -L first in case configure is actually a
   2383 # symlink; some systems play weird games with the mod time of symlinks
   2384 # (eg FreeBSD returns the mod time of the symlink's containing
   2385 # directory).
   2386 if (
   2387    am_has_slept=no
   2388    for am_try in 1 2; do
   2389      echo "timestamp, slept: $am_has_slept" > conftest.file
   2390      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2391      if test "$*" = "X"; then
   2392 	# -L didn't work.
   2393 	set X `ls -t "$srcdir/configure" conftest.file`
   2394      fi
   2395      if test "$*" != "X $srcdir/configure conftest.file" \
   2396 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2397 
   2398 	# If neither matched, then we have a broken ls.  This can happen
   2399 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2400 	# broken ls alias from the environment.  This has actually
   2401 	# happened.  Such a system could not be considered "sane".
   2402 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2403   alias in your environment" "$LINENO" 5
   2404      fi
   2405      if test "$2" = conftest.file || test $am_try -eq 2; then
   2406        break
   2407      fi
   2408      # Just in case.
   2409      sleep 1
   2410      am_has_slept=yes
   2411    done
   2412    test "$2" = conftest.file
   2413    )
   2414 then
   2415    # Ok.
   2416    :
   2417 else
   2418    as_fn_error $? "newly created file is older than distributed files!
   2419 Check your system clock" "$LINENO" 5
   2420 fi
   2421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2422 $as_echo "yes" >&6; }
   2423 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2424 # generated files are strictly newer.
   2425 am_sleep_pid=
   2426 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2427   ( sleep 1 ) &
   2428   am_sleep_pid=$!
   2429 fi
   2430 
   2431 rm -f conftest.file
   2432 
   2433 test "$program_prefix" != NONE &&
   2434   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2435 # Use a double $ so make ignores it.
   2436 test "$program_suffix" != NONE &&
   2437   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2438 # Double any \ or $.
   2439 # By default was `s,x,x', remove it if useless.
   2440 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2441 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2442 
   2443 # Expand $ac_aux_dir to an absolute path.
   2444 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2445 
   2446 if test x"${MISSING+set}" != xset; then
   2447   case $am_aux_dir in
   2448   *\ * | *\	*)
   2449     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2450   *)
   2451     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2452   esac
   2453 fi
   2454 # Use eval to expand $SHELL
   2455 if eval "$MISSING --is-lightweight"; then
   2456   am_missing_run="$MISSING "
   2457 else
   2458   am_missing_run=
   2459   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2460 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2461 fi
   2462 
   2463 if test x"${install_sh+set}" != xset; then
   2464   case $am_aux_dir in
   2465   *\ * | *\	*)
   2466     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2467   *)
   2468     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2469   esac
   2470 fi
   2471 
   2472 # Installed binaries are usually stripped using 'strip' when the user
   2473 # run "make install-strip".  However 'strip' might not be the right
   2474 # tool to use in cross-compilation environments, therefore Automake
   2475 # will honor the 'STRIP' environment variable to overrule this program.
   2476 if test "$cross_compiling" != no; then
   2477   if test -n "$ac_tool_prefix"; then
   2478   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2479 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2481 $as_echo_n "checking for $ac_word... " >&6; }
   2482 if ${ac_cv_prog_STRIP+:} false; then :
   2483   $as_echo_n "(cached) " >&6
   2484 else
   2485   if test -n "$STRIP"; then
   2486   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2487 else
   2488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2489 for as_dir in $PATH
   2490 do
   2491   IFS=$as_save_IFS
   2492   test -z "$as_dir" && as_dir=.
   2493     for ac_exec_ext in '' $ac_executable_extensions; do
   2494   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2495     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2496     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2497     break 2
   2498   fi
   2499 done
   2500   done
   2501 IFS=$as_save_IFS
   2502 
   2503 fi
   2504 fi
   2505 STRIP=$ac_cv_prog_STRIP
   2506 if test -n "$STRIP"; then
   2507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2508 $as_echo "$STRIP" >&6; }
   2509 else
   2510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2511 $as_echo "no" >&6; }
   2512 fi
   2513 
   2514 
   2515 fi
   2516 if test -z "$ac_cv_prog_STRIP"; then
   2517   ac_ct_STRIP=$STRIP
   2518   # Extract the first word of "strip", so it can be a program name with args.
   2519 set dummy strip; ac_word=$2
   2520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2521 $as_echo_n "checking for $ac_word... " >&6; }
   2522 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2523   $as_echo_n "(cached) " >&6
   2524 else
   2525   if test -n "$ac_ct_STRIP"; then
   2526   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2527 else
   2528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2529 for as_dir in $PATH
   2530 do
   2531   IFS=$as_save_IFS
   2532   test -z "$as_dir" && as_dir=.
   2533     for ac_exec_ext in '' $ac_executable_extensions; do
   2534   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2535     ac_cv_prog_ac_ct_STRIP="strip"
   2536     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2537     break 2
   2538   fi
   2539 done
   2540   done
   2541 IFS=$as_save_IFS
   2542 
   2543 fi
   2544 fi
   2545 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2546 if test -n "$ac_ct_STRIP"; then
   2547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2548 $as_echo "$ac_ct_STRIP" >&6; }
   2549 else
   2550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2551 $as_echo "no" >&6; }
   2552 fi
   2553 
   2554   if test "x$ac_ct_STRIP" = x; then
   2555     STRIP=":"
   2556   else
   2557     case $cross_compiling:$ac_tool_warned in
   2558 yes:)
   2559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2560 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2561 ac_tool_warned=yes ;;
   2562 esac
   2563     STRIP=$ac_ct_STRIP
   2564   fi
   2565 else
   2566   STRIP="$ac_cv_prog_STRIP"
   2567 fi
   2568 
   2569 fi
   2570 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2571 
   2572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2573 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2574 if test -z "$MKDIR_P"; then
   2575   if ${ac_cv_path_mkdir+:} false; then :
   2576   $as_echo_n "(cached) " >&6
   2577 else
   2578   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2579 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2580 do
   2581   IFS=$as_save_IFS
   2582   test -z "$as_dir" && as_dir=.
   2583     for ac_prog in mkdir gmkdir; do
   2584 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2585 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2586 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2587 	     'mkdir (GNU coreutils) '* | \
   2588 	     'mkdir (coreutils) '* | \
   2589 	     'mkdir (fileutils) '4.1*)
   2590 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2591 	       break 3;;
   2592 	   esac
   2593 	 done
   2594        done
   2595   done
   2596 IFS=$as_save_IFS
   2597 
   2598 fi
   2599 
   2600   test -d ./--version && rmdir ./--version
   2601   if test "${ac_cv_path_mkdir+set}" = set; then
   2602     MKDIR_P="$ac_cv_path_mkdir -p"
   2603   else
   2604     # As a last resort, use the slow shell script.  Don't cache a
   2605     # value for MKDIR_P within a source directory, because that will
   2606     # break other packages using the cache if that directory is
   2607     # removed, or if the value is a relative name.
   2608     MKDIR_P="$ac_install_sh -d"
   2609   fi
   2610 fi
   2611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2612 $as_echo "$MKDIR_P" >&6; }
   2613 
   2614 for ac_prog in gawk mawk nawk awk
   2615 do
   2616   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2617 set dummy $ac_prog; ac_word=$2
   2618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2619 $as_echo_n "checking for $ac_word... " >&6; }
   2620 if ${ac_cv_prog_AWK+:} false; then :
   2621   $as_echo_n "(cached) " >&6
   2622 else
   2623   if test -n "$AWK"; then
   2624   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2625 else
   2626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2627 for as_dir in $PATH
   2628 do
   2629   IFS=$as_save_IFS
   2630   test -z "$as_dir" && as_dir=.
   2631     for ac_exec_ext in '' $ac_executable_extensions; do
   2632   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2633     ac_cv_prog_AWK="$ac_prog"
   2634     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2635     break 2
   2636   fi
   2637 done
   2638   done
   2639 IFS=$as_save_IFS
   2640 
   2641 fi
   2642 fi
   2643 AWK=$ac_cv_prog_AWK
   2644 if test -n "$AWK"; then
   2645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2646 $as_echo "$AWK" >&6; }
   2647 else
   2648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2649 $as_echo "no" >&6; }
   2650 fi
   2651 
   2652 
   2653   test -n "$AWK" && break
   2654 done
   2655 
   2656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2657 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2658 set x ${MAKE-make}
   2659 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2660 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2661   $as_echo_n "(cached) " >&6
   2662 else
   2663   cat >conftest.make <<\_ACEOF
   2664 SHELL = /bin/sh
   2665 all:
   2666 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2667 _ACEOF
   2668 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2669 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2670   *@@@%%%=?*=@@@%%%*)
   2671     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2672   *)
   2673     eval ac_cv_prog_make_${ac_make}_set=no;;
   2674 esac
   2675 rm -f conftest.make
   2676 fi
   2677 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2679 $as_echo "yes" >&6; }
   2680   SET_MAKE=
   2681 else
   2682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2683 $as_echo "no" >&6; }
   2684   SET_MAKE="MAKE=${MAKE-make}"
   2685 fi
   2686 
   2687 rm -rf .tst 2>/dev/null
   2688 mkdir .tst 2>/dev/null
   2689 if test -d .tst; then
   2690   am__leading_dot=.
   2691 else
   2692   am__leading_dot=_
   2693 fi
   2694 rmdir .tst 2>/dev/null
   2695 
   2696 # Check whether --enable-silent-rules was given.
   2697 if test "${enable_silent_rules+set}" = set; then :
   2698   enableval=$enable_silent_rules;
   2699 fi
   2700 
   2701 case $enable_silent_rules in # (((
   2702   yes) AM_DEFAULT_VERBOSITY=0;;
   2703    no) AM_DEFAULT_VERBOSITY=1;;
   2704     *) AM_DEFAULT_VERBOSITY=1;;
   2705 esac
   2706 am_make=${MAKE-make}
   2707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2708 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2709 if ${am_cv_make_support_nested_variables+:} false; then :
   2710   $as_echo_n "(cached) " >&6
   2711 else
   2712   if $as_echo 'TRUE=$(BAR$(V))
   2713 BAR0=false
   2714 BAR1=true
   2715 V=1
   2716 am__doit:
   2717 	@$(TRUE)
   2718 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2719   am_cv_make_support_nested_variables=yes
   2720 else
   2721   am_cv_make_support_nested_variables=no
   2722 fi
   2723 fi
   2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2725 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2726 if test $am_cv_make_support_nested_variables = yes; then
   2727     AM_V='$(V)'
   2728   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2729 else
   2730   AM_V=$AM_DEFAULT_VERBOSITY
   2731   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2732 fi
   2733 AM_BACKSLASH='\'
   2734 
   2735 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2736   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2737   # is not polluted with repeated "-I."
   2738   am__isrc=' -I$(srcdir)'
   2739   # test to see if srcdir already configured
   2740   if test -f $srcdir/config.status; then
   2741     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2742   fi
   2743 fi
   2744 
   2745 # test whether we have cygpath
   2746 if test -z "$CYGPATH_W"; then
   2747   if (cygpath --version) >/dev/null 2>/dev/null; then
   2748     CYGPATH_W='cygpath -w'
   2749   else
   2750     CYGPATH_W=echo
   2751   fi
   2752 fi
   2753 
   2754 
   2755 # Define the identity of the package.
   2756  PACKAGE='libXScrnSaver'
   2757  VERSION='1.2.3'
   2758 
   2759 
   2760 cat >>confdefs.h <<_ACEOF
   2761 #define PACKAGE "$PACKAGE"
   2762 _ACEOF
   2763 
   2764 
   2765 cat >>confdefs.h <<_ACEOF
   2766 #define VERSION "$VERSION"
   2767 _ACEOF
   2768 
   2769 # Some tools Automake needs.
   2770 
   2771 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2772 
   2773 
   2774 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2775 
   2776 
   2777 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2778 
   2779 
   2780 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2781 
   2782 
   2783 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2784 
   2785 # For better backward compatibility.  To be removed once Automake 1.9.x
   2786 # dies out for good.  For more background, see:
   2787 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2788 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2789 mkdir_p='$(MKDIR_P)'
   2790 
   2791 # We need awk for the "check" target (and possibly the TAP driver).  The
   2792 # system "awk" is bad on some platforms.
   2793 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2794 # in the wild :-(  We should find a proper way to deprecate it ...
   2795 AMTAR='$${TAR-tar}'
   2796 
   2797 
   2798 # We'll loop over all known methods to create a tar archive until one works.
   2799 _am_tools='gnutar  pax cpio none'
   2800 
   2801 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2802 
   2803 
   2804 
   2805 
   2806 
   2807 
   2808 # POSIX will say in a future version that running "rm -f" with no argument
   2809 # is OK; and we want to be able to make that assumption in our Makefile
   2810 # recipes.  So use an aggressive probe to check that the usage we want is
   2811 # actually supported "in the wild" to an acceptable degree.
   2812 # See automake bug#10828.
   2813 # To make any issue more visible, cause the running configure to be aborted
   2814 # by default if the 'rm' program in use doesn't match our expectations; the
   2815 # user can still override this though.
   2816 if rm -f && rm -fr && rm -rf; then : OK; else
   2817   cat >&2 <<'END'
   2818 Oops!
   2819 
   2820 Your 'rm' program seems unable to run without file operands specified
   2821 on the command line, even when the '-f' option is present.  This is contrary
   2822 to the behaviour of most rm programs out there, and not conforming with
   2823 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2824 
   2825 Please tell bug-automake@gnu.org about your system, including the value
   2826 of your $PATH and any error possibly output before this message.  This
   2827 can help us improve future automake versions.
   2828 
   2829 END
   2830   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2831     echo 'Configuration will proceed anyway, since you have set the' >&2
   2832     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2833     echo >&2
   2834   else
   2835     cat >&2 <<'END'
   2836 Aborting the configuration process, to ensure you take notice of the issue.
   2837 
   2838 You can download and install GNU coreutils to get an 'rm' implementation
   2839 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2840 
   2841 If you want to complete the configuration process using your problematic
   2842 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2843 to "yes", and re-run configure.
   2844 
   2845 END
   2846     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2847   fi
   2848 fi
   2849 
   2850 
   2851 # Initialize libtool
   2852 case `pwd` in
   2853   *\ * | *\	*)
   2854     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   2855 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   2856 esac
   2857 
   2858 
   2859 
   2860 macro_version='2.4.6'
   2861 macro_revision='2.4.6'
   2862 
   2863 
   2864 
   2865 
   2866 
   2867 
   2868 
   2869 
   2870 
   2871 
   2872 
   2873 
   2874 
   2875 ltmain=$ac_aux_dir/ltmain.sh
   2876 
   2877 # Make sure we can run config.sub.
   2878 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2879   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2880 
   2881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2882 $as_echo_n "checking build system type... " >&6; }
   2883 if ${ac_cv_build+:} false; then :
   2884   $as_echo_n "(cached) " >&6
   2885 else
   2886   ac_build_alias=$build_alias
   2887 test "x$ac_build_alias" = x &&
   2888   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2889 test "x$ac_build_alias" = x &&
   2890   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2891 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2892   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2893 
   2894 fi
   2895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2896 $as_echo "$ac_cv_build" >&6; }
   2897 case $ac_cv_build in
   2898 *-*-*) ;;
   2899 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2900 esac
   2901 build=$ac_cv_build
   2902 ac_save_IFS=$IFS; IFS='-'
   2903 set x $ac_cv_build
   2904 shift
   2905 build_cpu=$1
   2906 build_vendor=$2
   2907 shift; shift
   2908 # Remember, the first character of IFS is used to create $*,
   2909 # except with old shells:
   2910 build_os=$*
   2911 IFS=$ac_save_IFS
   2912 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2913 
   2914 
   2915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2916 $as_echo_n "checking host system type... " >&6; }
   2917 if ${ac_cv_host+:} false; then :
   2918   $as_echo_n "(cached) " >&6
   2919 else
   2920   if test "x$host_alias" = x; then
   2921   ac_cv_host=$ac_cv_build
   2922 else
   2923   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2924     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2925 fi
   2926 
   2927 fi
   2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2929 $as_echo "$ac_cv_host" >&6; }
   2930 case $ac_cv_host in
   2931 *-*-*) ;;
   2932 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2933 esac
   2934 host=$ac_cv_host
   2935 ac_save_IFS=$IFS; IFS='-'
   2936 set x $ac_cv_host
   2937 shift
   2938 host_cpu=$1
   2939 host_vendor=$2
   2940 shift; shift
   2941 # Remember, the first character of IFS is used to create $*,
   2942 # except with old shells:
   2943 host_os=$*
   2944 IFS=$ac_save_IFS
   2945 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2946 
   2947 
   2948 # Backslashify metacharacters that are still active within
   2949 # double-quoted strings.
   2950 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   2951 
   2952 # Same as above, but do not quote variable references.
   2953 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   2954 
   2955 # Sed substitution to delay expansion of an escaped shell variable in a
   2956 # double_quote_subst'ed string.
   2957 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   2958 
   2959 # Sed substitution to delay expansion of an escaped single quote.
   2960 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   2961 
   2962 # Sed substitution to avoid accidental globbing in evaled expressions
   2963 no_glob_subst='s/\*/\\\*/g'
   2964 
   2965 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   2966 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   2967 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   2968 
   2969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   2970 $as_echo_n "checking how to print strings... " >&6; }
   2971 # Test print first, because it will be a builtin if present.
   2972 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   2973    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   2974   ECHO='print -r --'
   2975 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   2976   ECHO='printf %s\n'
   2977 else
   2978   # Use this function as a fallback that always works.
   2979   func_fallback_echo ()
   2980   {
   2981     eval 'cat <<_LTECHO_EOF
   2982 $1
   2983 _LTECHO_EOF'
   2984   }
   2985   ECHO='func_fallback_echo'
   2986 fi
   2987 
   2988 # func_echo_all arg...
   2989 # Invoke $ECHO with all args, space-separated.
   2990 func_echo_all ()
   2991 {
   2992     $ECHO ""
   2993 }
   2994 
   2995 case $ECHO in
   2996   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   2997 $as_echo "printf" >&6; } ;;
   2998   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   2999 $as_echo "print -r" >&6; } ;;
   3000   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   3001 $as_echo "cat" >&6; } ;;
   3002 esac
   3003 
   3004 
   3005 
   3006 
   3007 
   3008 
   3009 
   3010 
   3011 
   3012 
   3013 
   3014 
   3015 
   3016 
   3017 DEPDIR="${am__leading_dot}deps"
   3018 
   3019 ac_config_commands="$ac_config_commands depfiles"
   3020 
   3021 
   3022 am_make=${MAKE-make}
   3023 cat > confinc << 'END'
   3024 am__doit:
   3025 	@echo this is the am__doit target
   3026 .PHONY: am__doit
   3027 END
   3028 # If we don't find an include directive, just comment out the code.
   3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3030 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3031 am__include="#"
   3032 am__quote=
   3033 _am_result=none
   3034 # First try GNU make style include.
   3035 echo "include confinc" > confmf
   3036 # Ignore all kinds of additional output from 'make'.
   3037 case `$am_make -s -f confmf 2> /dev/null` in #(
   3038 *the\ am__doit\ target*)
   3039   am__include=include
   3040   am__quote=
   3041   _am_result=GNU
   3042   ;;
   3043 esac
   3044 # Now try BSD make style include.
   3045 if test "$am__include" = "#"; then
   3046    echo '.include "confinc"' > confmf
   3047    case `$am_make -s -f confmf 2> /dev/null` in #(
   3048    *the\ am__doit\ target*)
   3049      am__include=.include
   3050      am__quote="\""
   3051      _am_result=BSD
   3052      ;;
   3053    esac
   3054 fi
   3055 
   3056 
   3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3058 $as_echo "$_am_result" >&6; }
   3059 rm -f confinc confmf
   3060 
   3061 # Check whether --enable-dependency-tracking was given.
   3062 if test "${enable_dependency_tracking+set}" = set; then :
   3063   enableval=$enable_dependency_tracking;
   3064 fi
   3065 
   3066 if test "x$enable_dependency_tracking" != xno; then
   3067   am_depcomp="$ac_aux_dir/depcomp"
   3068   AMDEPBACKSLASH='\'
   3069   am__nodep='_no'
   3070 fi
   3071  if test "x$enable_dependency_tracking" != xno; then
   3072   AMDEP_TRUE=
   3073   AMDEP_FALSE='#'
   3074 else
   3075   AMDEP_TRUE='#'
   3076   AMDEP_FALSE=
   3077 fi
   3078 
   3079 
   3080 ac_ext=c
   3081 ac_cpp='$CPP $CPPFLAGS'
   3082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3085 if test -n "$ac_tool_prefix"; then
   3086   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3087 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3089 $as_echo_n "checking for $ac_word... " >&6; }
   3090 if ${ac_cv_prog_CC+:} false; then :
   3091   $as_echo_n "(cached) " >&6
   3092 else
   3093   if test -n "$CC"; then
   3094   ac_cv_prog_CC="$CC" # Let the user override the test.
   3095 else
   3096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3097 for as_dir in $PATH
   3098 do
   3099   IFS=$as_save_IFS
   3100   test -z "$as_dir" && as_dir=.
   3101     for ac_exec_ext in '' $ac_executable_extensions; do
   3102   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3103     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3104     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3105     break 2
   3106   fi
   3107 done
   3108   done
   3109 IFS=$as_save_IFS
   3110 
   3111 fi
   3112 fi
   3113 CC=$ac_cv_prog_CC
   3114 if test -n "$CC"; then
   3115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3116 $as_echo "$CC" >&6; }
   3117 else
   3118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3119 $as_echo "no" >&6; }
   3120 fi
   3121 
   3122 
   3123 fi
   3124 if test -z "$ac_cv_prog_CC"; then
   3125   ac_ct_CC=$CC
   3126   # Extract the first word of "gcc", so it can be a program name with args.
   3127 set dummy gcc; ac_word=$2
   3128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3129 $as_echo_n "checking for $ac_word... " >&6; }
   3130 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3131   $as_echo_n "(cached) " >&6
   3132 else
   3133   if test -n "$ac_ct_CC"; then
   3134   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3135 else
   3136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3137 for as_dir in $PATH
   3138 do
   3139   IFS=$as_save_IFS
   3140   test -z "$as_dir" && as_dir=.
   3141     for ac_exec_ext in '' $ac_executable_extensions; do
   3142   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3143     ac_cv_prog_ac_ct_CC="gcc"
   3144     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3145     break 2
   3146   fi
   3147 done
   3148   done
   3149 IFS=$as_save_IFS
   3150 
   3151 fi
   3152 fi
   3153 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3154 if test -n "$ac_ct_CC"; then
   3155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3156 $as_echo "$ac_ct_CC" >&6; }
   3157 else
   3158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3159 $as_echo "no" >&6; }
   3160 fi
   3161 
   3162   if test "x$ac_ct_CC" = x; then
   3163     CC=""
   3164   else
   3165     case $cross_compiling:$ac_tool_warned in
   3166 yes:)
   3167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3168 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3169 ac_tool_warned=yes ;;
   3170 esac
   3171     CC=$ac_ct_CC
   3172   fi
   3173 else
   3174   CC="$ac_cv_prog_CC"
   3175 fi
   3176 
   3177 if test -z "$CC"; then
   3178           if test -n "$ac_tool_prefix"; then
   3179     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3180 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3182 $as_echo_n "checking for $ac_word... " >&6; }
   3183 if ${ac_cv_prog_CC+:} false; then :
   3184   $as_echo_n "(cached) " >&6
   3185 else
   3186   if test -n "$CC"; then
   3187   ac_cv_prog_CC="$CC" # Let the user override the test.
   3188 else
   3189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3190 for as_dir in $PATH
   3191 do
   3192   IFS=$as_save_IFS
   3193   test -z "$as_dir" && as_dir=.
   3194     for ac_exec_ext in '' $ac_executable_extensions; do
   3195   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3196     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3197     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3198     break 2
   3199   fi
   3200 done
   3201   done
   3202 IFS=$as_save_IFS
   3203 
   3204 fi
   3205 fi
   3206 CC=$ac_cv_prog_CC
   3207 if test -n "$CC"; then
   3208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3209 $as_echo "$CC" >&6; }
   3210 else
   3211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3212 $as_echo "no" >&6; }
   3213 fi
   3214 
   3215 
   3216   fi
   3217 fi
   3218 if test -z "$CC"; then
   3219   # Extract the first word of "cc", so it can be a program name with args.
   3220 set dummy cc; ac_word=$2
   3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3222 $as_echo_n "checking for $ac_word... " >&6; }
   3223 if ${ac_cv_prog_CC+:} false; then :
   3224   $as_echo_n "(cached) " >&6
   3225 else
   3226   if test -n "$CC"; then
   3227   ac_cv_prog_CC="$CC" # Let the user override the test.
   3228 else
   3229   ac_prog_rejected=no
   3230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3231 for as_dir in $PATH
   3232 do
   3233   IFS=$as_save_IFS
   3234   test -z "$as_dir" && as_dir=.
   3235     for ac_exec_ext in '' $ac_executable_extensions; do
   3236   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3237     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3238        ac_prog_rejected=yes
   3239        continue
   3240      fi
   3241     ac_cv_prog_CC="cc"
   3242     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3243     break 2
   3244   fi
   3245 done
   3246   done
   3247 IFS=$as_save_IFS
   3248 
   3249 if test $ac_prog_rejected = yes; then
   3250   # We found a bogon in the path, so make sure we never use it.
   3251   set dummy $ac_cv_prog_CC
   3252   shift
   3253   if test $# != 0; then
   3254     # We chose a different compiler from the bogus one.
   3255     # However, it has the same basename, so the bogon will be chosen
   3256     # first if we set CC to just the basename; use the full file name.
   3257     shift
   3258     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3259   fi
   3260 fi
   3261 fi
   3262 fi
   3263 CC=$ac_cv_prog_CC
   3264 if test -n "$CC"; then
   3265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3266 $as_echo "$CC" >&6; }
   3267 else
   3268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3269 $as_echo "no" >&6; }
   3270 fi
   3271 
   3272 
   3273 fi
   3274 if test -z "$CC"; then
   3275   if test -n "$ac_tool_prefix"; then
   3276   for ac_prog in cl.exe
   3277   do
   3278     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3279 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3281 $as_echo_n "checking for $ac_word... " >&6; }
   3282 if ${ac_cv_prog_CC+:} false; then :
   3283   $as_echo_n "(cached) " >&6
   3284 else
   3285   if test -n "$CC"; then
   3286   ac_cv_prog_CC="$CC" # Let the user override the test.
   3287 else
   3288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3289 for as_dir in $PATH
   3290 do
   3291   IFS=$as_save_IFS
   3292   test -z "$as_dir" && as_dir=.
   3293     for ac_exec_ext in '' $ac_executable_extensions; do
   3294   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3295     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3296     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3297     break 2
   3298   fi
   3299 done
   3300   done
   3301 IFS=$as_save_IFS
   3302 
   3303 fi
   3304 fi
   3305 CC=$ac_cv_prog_CC
   3306 if test -n "$CC"; then
   3307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3308 $as_echo "$CC" >&6; }
   3309 else
   3310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3311 $as_echo "no" >&6; }
   3312 fi
   3313 
   3314 
   3315     test -n "$CC" && break
   3316   done
   3317 fi
   3318 if test -z "$CC"; then
   3319   ac_ct_CC=$CC
   3320   for ac_prog in cl.exe
   3321 do
   3322   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3323 set dummy $ac_prog; ac_word=$2
   3324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3325 $as_echo_n "checking for $ac_word... " >&6; }
   3326 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3327   $as_echo_n "(cached) " >&6
   3328 else
   3329   if test -n "$ac_ct_CC"; then
   3330   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3331 else
   3332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3333 for as_dir in $PATH
   3334 do
   3335   IFS=$as_save_IFS
   3336   test -z "$as_dir" && as_dir=.
   3337     for ac_exec_ext in '' $ac_executable_extensions; do
   3338   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3339     ac_cv_prog_ac_ct_CC="$ac_prog"
   3340     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3341     break 2
   3342   fi
   3343 done
   3344   done
   3345 IFS=$as_save_IFS
   3346 
   3347 fi
   3348 fi
   3349 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3350 if test -n "$ac_ct_CC"; then
   3351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3352 $as_echo "$ac_ct_CC" >&6; }
   3353 else
   3354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3355 $as_echo "no" >&6; }
   3356 fi
   3357 
   3358 
   3359   test -n "$ac_ct_CC" && break
   3360 done
   3361 
   3362   if test "x$ac_ct_CC" = x; then
   3363     CC=""
   3364   else
   3365     case $cross_compiling:$ac_tool_warned in
   3366 yes:)
   3367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3368 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3369 ac_tool_warned=yes ;;
   3370 esac
   3371     CC=$ac_ct_CC
   3372   fi
   3373 fi
   3374 
   3375 fi
   3376 
   3377 
   3378 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3379 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3380 as_fn_error $? "no acceptable C compiler found in \$PATH
   3381 See \`config.log' for more details" "$LINENO" 5; }
   3382 
   3383 # Provide some information about the compiler.
   3384 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3385 set X $ac_compile
   3386 ac_compiler=$2
   3387 for ac_option in --version -v -V -qversion; do
   3388   { { ac_try="$ac_compiler $ac_option >&5"
   3389 case "(($ac_try" in
   3390   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3391   *) ac_try_echo=$ac_try;;
   3392 esac
   3393 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3394 $as_echo "$ac_try_echo"; } >&5
   3395   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3396   ac_status=$?
   3397   if test -s conftest.err; then
   3398     sed '10a\
   3399 ... rest of stderr output deleted ...
   3400          10q' conftest.err >conftest.er1
   3401     cat conftest.er1 >&5
   3402   fi
   3403   rm -f conftest.er1 conftest.err
   3404   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3405   test $ac_status = 0; }
   3406 done
   3407 
   3408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3409 /* end confdefs.h.  */
   3410 
   3411 int
   3412 main ()
   3413 {
   3414 
   3415   ;
   3416   return 0;
   3417 }
   3418 _ACEOF
   3419 ac_clean_files_save=$ac_clean_files
   3420 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3421 # Try to create an executable without -o first, disregard a.out.
   3422 # It will help us diagnose broken compilers, and finding out an intuition
   3423 # of exeext.
   3424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3425 $as_echo_n "checking whether the C compiler works... " >&6; }
   3426 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3427 
   3428 # The possible output files:
   3429 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3430 
   3431 ac_rmfiles=
   3432 for ac_file in $ac_files
   3433 do
   3434   case $ac_file in
   3435     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3436     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3437   esac
   3438 done
   3439 rm -f $ac_rmfiles
   3440 
   3441 if { { ac_try="$ac_link_default"
   3442 case "(($ac_try" in
   3443   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3444   *) ac_try_echo=$ac_try;;
   3445 esac
   3446 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3447 $as_echo "$ac_try_echo"; } >&5
   3448   (eval "$ac_link_default") 2>&5
   3449   ac_status=$?
   3450   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3451   test $ac_status = 0; }; then :
   3452   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3453 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3454 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3455 # so that the user can short-circuit this test for compilers unknown to
   3456 # Autoconf.
   3457 for ac_file in $ac_files ''
   3458 do
   3459   test -f "$ac_file" || continue
   3460   case $ac_file in
   3461     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3462 	;;
   3463     [ab].out )
   3464 	# We found the default executable, but exeext='' is most
   3465 	# certainly right.
   3466 	break;;
   3467     *.* )
   3468 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3469 	then :; else
   3470 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3471 	fi
   3472 	# We set ac_cv_exeext here because the later test for it is not
   3473 	# safe: cross compilers may not add the suffix if given an `-o'
   3474 	# argument, so we may need to know it at that point already.
   3475 	# Even if this section looks crufty: it has the advantage of
   3476 	# actually working.
   3477 	break;;
   3478     * )
   3479 	break;;
   3480   esac
   3481 done
   3482 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3483 
   3484 else
   3485   ac_file=''
   3486 fi
   3487 if test -z "$ac_file"; then :
   3488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3489 $as_echo "no" >&6; }
   3490 $as_echo "$as_me: failed program was:" >&5
   3491 sed 's/^/| /' conftest.$ac_ext >&5
   3492 
   3493 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3494 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3495 as_fn_error 77 "C compiler cannot create executables
   3496 See \`config.log' for more details" "$LINENO" 5; }
   3497 else
   3498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3499 $as_echo "yes" >&6; }
   3500 fi
   3501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3502 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3504 $as_echo "$ac_file" >&6; }
   3505 ac_exeext=$ac_cv_exeext
   3506 
   3507 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3508 ac_clean_files=$ac_clean_files_save
   3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3510 $as_echo_n "checking for suffix of executables... " >&6; }
   3511 if { { ac_try="$ac_link"
   3512 case "(($ac_try" in
   3513   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3514   *) ac_try_echo=$ac_try;;
   3515 esac
   3516 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3517 $as_echo "$ac_try_echo"; } >&5
   3518   (eval "$ac_link") 2>&5
   3519   ac_status=$?
   3520   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3521   test $ac_status = 0; }; then :
   3522   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3523 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3524 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3525 # `rm'.
   3526 for ac_file in conftest.exe conftest conftest.*; do
   3527   test -f "$ac_file" || continue
   3528   case $ac_file in
   3529     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3530     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3531 	  break;;
   3532     * ) break;;
   3533   esac
   3534 done
   3535 else
   3536   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3537 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3538 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3539 See \`config.log' for more details" "$LINENO" 5; }
   3540 fi
   3541 rm -f conftest conftest$ac_cv_exeext
   3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3543 $as_echo "$ac_cv_exeext" >&6; }
   3544 
   3545 rm -f conftest.$ac_ext
   3546 EXEEXT=$ac_cv_exeext
   3547 ac_exeext=$EXEEXT
   3548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3549 /* end confdefs.h.  */
   3550 #include <stdio.h>
   3551 int
   3552 main ()
   3553 {
   3554 FILE *f = fopen ("conftest.out", "w");
   3555  return ferror (f) || fclose (f) != 0;
   3556 
   3557   ;
   3558   return 0;
   3559 }
   3560 _ACEOF
   3561 ac_clean_files="$ac_clean_files conftest.out"
   3562 # Check that the compiler produces executables we can run.  If not, either
   3563 # the compiler is broken, or we cross compile.
   3564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3565 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3566 if test "$cross_compiling" != yes; then
   3567   { { ac_try="$ac_link"
   3568 case "(($ac_try" in
   3569   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3570   *) ac_try_echo=$ac_try;;
   3571 esac
   3572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3573 $as_echo "$ac_try_echo"; } >&5
   3574   (eval "$ac_link") 2>&5
   3575   ac_status=$?
   3576   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3577   test $ac_status = 0; }
   3578   if { ac_try='./conftest$ac_cv_exeext'
   3579   { { case "(($ac_try" in
   3580   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3581   *) ac_try_echo=$ac_try;;
   3582 esac
   3583 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3584 $as_echo "$ac_try_echo"; } >&5
   3585   (eval "$ac_try") 2>&5
   3586   ac_status=$?
   3587   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3588   test $ac_status = 0; }; }; then
   3589     cross_compiling=no
   3590   else
   3591     if test "$cross_compiling" = maybe; then
   3592 	cross_compiling=yes
   3593     else
   3594 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3595 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3596 as_fn_error $? "cannot run C compiled programs.
   3597 If you meant to cross compile, use \`--host'.
   3598 See \`config.log' for more details" "$LINENO" 5; }
   3599     fi
   3600   fi
   3601 fi
   3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3603 $as_echo "$cross_compiling" >&6; }
   3604 
   3605 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3606 ac_clean_files=$ac_clean_files_save
   3607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3608 $as_echo_n "checking for suffix of object files... " >&6; }
   3609 if ${ac_cv_objext+:} false; then :
   3610   $as_echo_n "(cached) " >&6
   3611 else
   3612   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3613 /* end confdefs.h.  */
   3614 
   3615 int
   3616 main ()
   3617 {
   3618 
   3619   ;
   3620   return 0;
   3621 }
   3622 _ACEOF
   3623 rm -f conftest.o conftest.obj
   3624 if { { ac_try="$ac_compile"
   3625 case "(($ac_try" in
   3626   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3627   *) ac_try_echo=$ac_try;;
   3628 esac
   3629 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3630 $as_echo "$ac_try_echo"; } >&5
   3631   (eval "$ac_compile") 2>&5
   3632   ac_status=$?
   3633   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3634   test $ac_status = 0; }; then :
   3635   for ac_file in conftest.o conftest.obj conftest.*; do
   3636   test -f "$ac_file" || continue;
   3637   case $ac_file in
   3638     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3639     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3640        break;;
   3641   esac
   3642 done
   3643 else
   3644   $as_echo "$as_me: failed program was:" >&5
   3645 sed 's/^/| /' conftest.$ac_ext >&5
   3646 
   3647 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3648 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3649 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3650 See \`config.log' for more details" "$LINENO" 5; }
   3651 fi
   3652 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3653 fi
   3654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3655 $as_echo "$ac_cv_objext" >&6; }
   3656 OBJEXT=$ac_cv_objext
   3657 ac_objext=$OBJEXT
   3658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3659 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3660 if ${ac_cv_c_compiler_gnu+:} false; then :
   3661   $as_echo_n "(cached) " >&6
   3662 else
   3663   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3664 /* end confdefs.h.  */
   3665 
   3666 int
   3667 main ()
   3668 {
   3669 #ifndef __GNUC__
   3670        choke me
   3671 #endif
   3672 
   3673   ;
   3674   return 0;
   3675 }
   3676 _ACEOF
   3677 if ac_fn_c_try_compile "$LINENO"; then :
   3678   ac_compiler_gnu=yes
   3679 else
   3680   ac_compiler_gnu=no
   3681 fi
   3682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3683 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3684 
   3685 fi
   3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3687 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3688 if test $ac_compiler_gnu = yes; then
   3689   GCC=yes
   3690 else
   3691   GCC=
   3692 fi
   3693 ac_test_CFLAGS=${CFLAGS+set}
   3694 ac_save_CFLAGS=$CFLAGS
   3695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3696 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3697 if ${ac_cv_prog_cc_g+:} false; then :
   3698   $as_echo_n "(cached) " >&6
   3699 else
   3700   ac_save_c_werror_flag=$ac_c_werror_flag
   3701    ac_c_werror_flag=yes
   3702    ac_cv_prog_cc_g=no
   3703    CFLAGS="-g"
   3704    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3705 /* end confdefs.h.  */
   3706 
   3707 int
   3708 main ()
   3709 {
   3710 
   3711   ;
   3712   return 0;
   3713 }
   3714 _ACEOF
   3715 if ac_fn_c_try_compile "$LINENO"; then :
   3716   ac_cv_prog_cc_g=yes
   3717 else
   3718   CFLAGS=""
   3719       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3720 /* end confdefs.h.  */
   3721 
   3722 int
   3723 main ()
   3724 {
   3725 
   3726   ;
   3727   return 0;
   3728 }
   3729 _ACEOF
   3730 if ac_fn_c_try_compile "$LINENO"; then :
   3731 
   3732 else
   3733   ac_c_werror_flag=$ac_save_c_werror_flag
   3734 	 CFLAGS="-g"
   3735 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3736 /* end confdefs.h.  */
   3737 
   3738 int
   3739 main ()
   3740 {
   3741 
   3742   ;
   3743   return 0;
   3744 }
   3745 _ACEOF
   3746 if ac_fn_c_try_compile "$LINENO"; then :
   3747   ac_cv_prog_cc_g=yes
   3748 fi
   3749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3750 fi
   3751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3752 fi
   3753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3754    ac_c_werror_flag=$ac_save_c_werror_flag
   3755 fi
   3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3757 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3758 if test "$ac_test_CFLAGS" = set; then
   3759   CFLAGS=$ac_save_CFLAGS
   3760 elif test $ac_cv_prog_cc_g = yes; then
   3761   if test "$GCC" = yes; then
   3762     CFLAGS="-g -O2"
   3763   else
   3764     CFLAGS="-g"
   3765   fi
   3766 else
   3767   if test "$GCC" = yes; then
   3768     CFLAGS="-O2"
   3769   else
   3770     CFLAGS=
   3771   fi
   3772 fi
   3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3774 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3775 if ${ac_cv_prog_cc_c89+:} false; then :
   3776   $as_echo_n "(cached) " >&6
   3777 else
   3778   ac_cv_prog_cc_c89=no
   3779 ac_save_CC=$CC
   3780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3781 /* end confdefs.h.  */
   3782 #include <stdarg.h>
   3783 #include <stdio.h>
   3784 struct stat;
   3785 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3786 struct buf { int x; };
   3787 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3788 static char *e (p, i)
   3789      char **p;
   3790      int i;
   3791 {
   3792   return p[i];
   3793 }
   3794 static char *f (char * (*g) (char **, int), char **p, ...)
   3795 {
   3796   char *s;
   3797   va_list v;
   3798   va_start (v,p);
   3799   s = g (p, va_arg (v,int));
   3800   va_end (v);
   3801   return s;
   3802 }
   3803 
   3804 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3805    function prototypes and stuff, but not '\xHH' hex character constants.
   3806    These don't provoke an error unfortunately, instead are silently treated
   3807    as 'x'.  The following induces an error, until -std is added to get
   3808    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3809    array size at least.  It's necessary to write '\x00'==0 to get something
   3810    that's true only with -std.  */
   3811 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3812 
   3813 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3814    inside strings and character constants.  */
   3815 #define FOO(x) 'x'
   3816 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3817 
   3818 int test (int i, double x);
   3819 struct s1 {int (*f) (int a);};
   3820 struct s2 {int (*f) (double a);};
   3821 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3822 int argc;
   3823 char **argv;
   3824 int
   3825 main ()
   3826 {
   3827 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3828   ;
   3829   return 0;
   3830 }
   3831 _ACEOF
   3832 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3833 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3834 do
   3835   CC="$ac_save_CC $ac_arg"
   3836   if ac_fn_c_try_compile "$LINENO"; then :
   3837   ac_cv_prog_cc_c89=$ac_arg
   3838 fi
   3839 rm -f core conftest.err conftest.$ac_objext
   3840   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3841 done
   3842 rm -f conftest.$ac_ext
   3843 CC=$ac_save_CC
   3844 
   3845 fi
   3846 # AC_CACHE_VAL
   3847 case "x$ac_cv_prog_cc_c89" in
   3848   x)
   3849     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3850 $as_echo "none needed" >&6; } ;;
   3851   xno)
   3852     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3853 $as_echo "unsupported" >&6; } ;;
   3854   *)
   3855     CC="$CC $ac_cv_prog_cc_c89"
   3856     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3857 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3858 esac
   3859 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3860 
   3861 fi
   3862 
   3863 ac_ext=c
   3864 ac_cpp='$CPP $CPPFLAGS'
   3865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3868 
   3869 ac_ext=c
   3870 ac_cpp='$CPP $CPPFLAGS'
   3871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3875 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3876 if ${am_cv_prog_cc_c_o+:} false; then :
   3877   $as_echo_n "(cached) " >&6
   3878 else
   3879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3880 /* end confdefs.h.  */
   3881 
   3882 int
   3883 main ()
   3884 {
   3885 
   3886   ;
   3887   return 0;
   3888 }
   3889 _ACEOF
   3890   # Make sure it works both with $CC and with simple cc.
   3891   # Following AC_PROG_CC_C_O, we do the test twice because some
   3892   # compilers refuse to overwrite an existing .o file with -o,
   3893   # though they will create one.
   3894   am_cv_prog_cc_c_o=yes
   3895   for am_i in 1 2; do
   3896     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3897    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3898    ac_status=$?
   3899    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3900    (exit $ac_status); } \
   3901          && test -f conftest2.$ac_objext; then
   3902       : OK
   3903     else
   3904       am_cv_prog_cc_c_o=no
   3905       break
   3906     fi
   3907   done
   3908   rm -f core conftest*
   3909   unset am_i
   3910 fi
   3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3912 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3913 if test "$am_cv_prog_cc_c_o" != yes; then
   3914    # Losing compiler, so override with the script.
   3915    # FIXME: It is wrong to rewrite CC.
   3916    # But if we don't then we get into trouble of one sort or another.
   3917    # A longer-term fix would be to have automake use am__CC in this case,
   3918    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3919    CC="$am_aux_dir/compile $CC"
   3920 fi
   3921 ac_ext=c
   3922 ac_cpp='$CPP $CPPFLAGS'
   3923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3926 
   3927 
   3928 depcc="$CC"   am_compiler_list=
   3929 
   3930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3931 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3932 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3933   $as_echo_n "(cached) " >&6
   3934 else
   3935   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3936   # We make a subdir and do the tests there.  Otherwise we can end up
   3937   # making bogus files that we don't know about and never remove.  For
   3938   # instance it was reported that on HP-UX the gcc test will end up
   3939   # making a dummy file named 'D' -- because '-MD' means "put the output
   3940   # in D".
   3941   rm -rf conftest.dir
   3942   mkdir conftest.dir
   3943   # Copy depcomp to subdir because otherwise we won't find it if we're
   3944   # using a relative directory.
   3945   cp "$am_depcomp" conftest.dir
   3946   cd conftest.dir
   3947   # We will build objects and dependencies in a subdirectory because
   3948   # it helps to detect inapplicable dependency modes.  For instance
   3949   # both Tru64's cc and ICC support -MD to output dependencies as a
   3950   # side effect of compilation, but ICC will put the dependencies in
   3951   # the current directory while Tru64 will put them in the object
   3952   # directory.
   3953   mkdir sub
   3954 
   3955   am_cv_CC_dependencies_compiler_type=none
   3956   if test "$am_compiler_list" = ""; then
   3957      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3958   fi
   3959   am__universal=false
   3960   case " $depcc " in #(
   3961      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3962      esac
   3963 
   3964   for depmode in $am_compiler_list; do
   3965     # Setup a source with many dependencies, because some compilers
   3966     # like to wrap large dependency lists on column 80 (with \), and
   3967     # we should not choose a depcomp mode which is confused by this.
   3968     #
   3969     # We need to recreate these files for each test, as the compiler may
   3970     # overwrite some of them when testing with obscure command lines.
   3971     # This happens at least with the AIX C compiler.
   3972     : > sub/conftest.c
   3973     for i in 1 2 3 4 5 6; do
   3974       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3975       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3976       # Solaris 10 /bin/sh.
   3977       echo '/* dummy */' > sub/conftst$i.h
   3978     done
   3979     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3980 
   3981     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3982     # mode.  It turns out that the SunPro C++ compiler does not properly
   3983     # handle '-M -o', and we need to detect this.  Also, some Intel
   3984     # versions had trouble with output in subdirs.
   3985     am__obj=sub/conftest.${OBJEXT-o}
   3986     am__minus_obj="-o $am__obj"
   3987     case $depmode in
   3988     gcc)
   3989       # This depmode causes a compiler race in universal mode.
   3990       test "$am__universal" = false || continue
   3991       ;;
   3992     nosideeffect)
   3993       # After this tag, mechanisms are not by side-effect, so they'll
   3994       # only be used when explicitly requested.
   3995       if test "x$enable_dependency_tracking" = xyes; then
   3996 	continue
   3997       else
   3998 	break
   3999       fi
   4000       ;;
   4001     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4002       # This compiler won't grok '-c -o', but also, the minuso test has
   4003       # not run yet.  These depmodes are late enough in the game, and
   4004       # so weak that their functioning should not be impacted.
   4005       am__obj=conftest.${OBJEXT-o}
   4006       am__minus_obj=
   4007       ;;
   4008     none) break ;;
   4009     esac
   4010     if depmode=$depmode \
   4011        source=sub/conftest.c object=$am__obj \
   4012        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4013        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4014          >/dev/null 2>conftest.err &&
   4015        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4016        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4017        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4018        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4019       # icc doesn't choke on unknown options, it will just issue warnings
   4020       # or remarks (even with -Werror).  So we grep stderr for any message
   4021       # that says an option was ignored or not supported.
   4022       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4023       #   icc: Command line warning: ignoring option '-M'; no argument required
   4024       # The diagnosis changed in icc 8.0:
   4025       #   icc: Command line remark: option '-MP' not supported
   4026       if (grep 'ignoring option' conftest.err ||
   4027           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4028         am_cv_CC_dependencies_compiler_type=$depmode
   4029         break
   4030       fi
   4031     fi
   4032   done
   4033 
   4034   cd ..
   4035   rm -rf conftest.dir
   4036 else
   4037   am_cv_CC_dependencies_compiler_type=none
   4038 fi
   4039 
   4040 fi
   4041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4042 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4043 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4044 
   4045  if
   4046   test "x$enable_dependency_tracking" != xno \
   4047   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4048   am__fastdepCC_TRUE=
   4049   am__fastdepCC_FALSE='#'
   4050 else
   4051   am__fastdepCC_TRUE='#'
   4052   am__fastdepCC_FALSE=
   4053 fi
   4054 
   4055 
   4056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4057 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4058 if ${ac_cv_path_SED+:} false; then :
   4059   $as_echo_n "(cached) " >&6
   4060 else
   4061             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4062      for ac_i in 1 2 3 4 5 6 7; do
   4063        ac_script="$ac_script$as_nl$ac_script"
   4064      done
   4065      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4066      { ac_script=; unset ac_script;}
   4067      if test -z "$SED"; then
   4068   ac_path_SED_found=false
   4069   # Loop through the user's path and test for each of PROGNAME-LIST
   4070   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4071 for as_dir in $PATH
   4072 do
   4073   IFS=$as_save_IFS
   4074   test -z "$as_dir" && as_dir=.
   4075     for ac_prog in sed gsed; do
   4076     for ac_exec_ext in '' $ac_executable_extensions; do
   4077       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4078       as_fn_executable_p "$ac_path_SED" || continue
   4079 # Check for GNU ac_path_SED and select it if it is found.
   4080   # Check for GNU $ac_path_SED
   4081 case `"$ac_path_SED" --version 2>&1` in
   4082 *GNU*)
   4083   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4084 *)
   4085   ac_count=0
   4086   $as_echo_n 0123456789 >"conftest.in"
   4087   while :
   4088   do
   4089     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4090     mv "conftest.tmp" "conftest.in"
   4091     cp "conftest.in" "conftest.nl"
   4092     $as_echo '' >> "conftest.nl"
   4093     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4094     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4095     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4096     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4097       # Best one so far, save it but keep looking for a better one
   4098       ac_cv_path_SED="$ac_path_SED"
   4099       ac_path_SED_max=$ac_count
   4100     fi
   4101     # 10*(2^10) chars as input seems more than enough
   4102     test $ac_count -gt 10 && break
   4103   done
   4104   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4105 esac
   4106 
   4107       $ac_path_SED_found && break 3
   4108     done
   4109   done
   4110   done
   4111 IFS=$as_save_IFS
   4112   if test -z "$ac_cv_path_SED"; then
   4113     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4114   fi
   4115 else
   4116   ac_cv_path_SED=$SED
   4117 fi
   4118 
   4119 fi
   4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4121 $as_echo "$ac_cv_path_SED" >&6; }
   4122  SED="$ac_cv_path_SED"
   4123   rm -f conftest.sed
   4124 
   4125 test -z "$SED" && SED=sed
   4126 Xsed="$SED -e 1s/^X//"
   4127 
   4128 
   4129 
   4130 
   4131 
   4132 
   4133 
   4134 
   4135 
   4136 
   4137 
   4138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4139 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4140 if ${ac_cv_path_GREP+:} false; then :
   4141   $as_echo_n "(cached) " >&6
   4142 else
   4143   if test -z "$GREP"; then
   4144   ac_path_GREP_found=false
   4145   # Loop through the user's path and test for each of PROGNAME-LIST
   4146   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4147 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4148 do
   4149   IFS=$as_save_IFS
   4150   test -z "$as_dir" && as_dir=.
   4151     for ac_prog in grep ggrep; do
   4152     for ac_exec_ext in '' $ac_executable_extensions; do
   4153       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4154       as_fn_executable_p "$ac_path_GREP" || continue
   4155 # Check for GNU ac_path_GREP and select it if it is found.
   4156   # Check for GNU $ac_path_GREP
   4157 case `"$ac_path_GREP" --version 2>&1` in
   4158 *GNU*)
   4159   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4160 *)
   4161   ac_count=0
   4162   $as_echo_n 0123456789 >"conftest.in"
   4163   while :
   4164   do
   4165     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4166     mv "conftest.tmp" "conftest.in"
   4167     cp "conftest.in" "conftest.nl"
   4168     $as_echo 'GREP' >> "conftest.nl"
   4169     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4170     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4171     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4172     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4173       # Best one so far, save it but keep looking for a better one
   4174       ac_cv_path_GREP="$ac_path_GREP"
   4175       ac_path_GREP_max=$ac_count
   4176     fi
   4177     # 10*(2^10) chars as input seems more than enough
   4178     test $ac_count -gt 10 && break
   4179   done
   4180   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4181 esac
   4182 
   4183       $ac_path_GREP_found && break 3
   4184     done
   4185   done
   4186   done
   4187 IFS=$as_save_IFS
   4188   if test -z "$ac_cv_path_GREP"; then
   4189     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4190   fi
   4191 else
   4192   ac_cv_path_GREP=$GREP
   4193 fi
   4194 
   4195 fi
   4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4197 $as_echo "$ac_cv_path_GREP" >&6; }
   4198  GREP="$ac_cv_path_GREP"
   4199 
   4200 
   4201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4202 $as_echo_n "checking for egrep... " >&6; }
   4203 if ${ac_cv_path_EGREP+:} false; then :
   4204   $as_echo_n "(cached) " >&6
   4205 else
   4206   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4207    then ac_cv_path_EGREP="$GREP -E"
   4208    else
   4209      if test -z "$EGREP"; then
   4210   ac_path_EGREP_found=false
   4211   # Loop through the user's path and test for each of PROGNAME-LIST
   4212   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4213 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4214 do
   4215   IFS=$as_save_IFS
   4216   test -z "$as_dir" && as_dir=.
   4217     for ac_prog in egrep; do
   4218     for ac_exec_ext in '' $ac_executable_extensions; do
   4219       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4220       as_fn_executable_p "$ac_path_EGREP" || continue
   4221 # Check for GNU ac_path_EGREP and select it if it is found.
   4222   # Check for GNU $ac_path_EGREP
   4223 case `"$ac_path_EGREP" --version 2>&1` in
   4224 *GNU*)
   4225   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4226 *)
   4227   ac_count=0
   4228   $as_echo_n 0123456789 >"conftest.in"
   4229   while :
   4230   do
   4231     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4232     mv "conftest.tmp" "conftest.in"
   4233     cp "conftest.in" "conftest.nl"
   4234     $as_echo 'EGREP' >> "conftest.nl"
   4235     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4236     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4237     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4238     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4239       # Best one so far, save it but keep looking for a better one
   4240       ac_cv_path_EGREP="$ac_path_EGREP"
   4241       ac_path_EGREP_max=$ac_count
   4242     fi
   4243     # 10*(2^10) chars as input seems more than enough
   4244     test $ac_count -gt 10 && break
   4245   done
   4246   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4247 esac
   4248 
   4249       $ac_path_EGREP_found && break 3
   4250     done
   4251   done
   4252   done
   4253 IFS=$as_save_IFS
   4254   if test -z "$ac_cv_path_EGREP"; then
   4255     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4256   fi
   4257 else
   4258   ac_cv_path_EGREP=$EGREP
   4259 fi
   4260 
   4261    fi
   4262 fi
   4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4264 $as_echo "$ac_cv_path_EGREP" >&6; }
   4265  EGREP="$ac_cv_path_EGREP"
   4266 
   4267 
   4268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4269 $as_echo_n "checking for fgrep... " >&6; }
   4270 if ${ac_cv_path_FGREP+:} false; then :
   4271   $as_echo_n "(cached) " >&6
   4272 else
   4273   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4274    then ac_cv_path_FGREP="$GREP -F"
   4275    else
   4276      if test -z "$FGREP"; then
   4277   ac_path_FGREP_found=false
   4278   # Loop through the user's path and test for each of PROGNAME-LIST
   4279   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4280 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4281 do
   4282   IFS=$as_save_IFS
   4283   test -z "$as_dir" && as_dir=.
   4284     for ac_prog in fgrep; do
   4285     for ac_exec_ext in '' $ac_executable_extensions; do
   4286       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4287       as_fn_executable_p "$ac_path_FGREP" || continue
   4288 # Check for GNU ac_path_FGREP and select it if it is found.
   4289   # Check for GNU $ac_path_FGREP
   4290 case `"$ac_path_FGREP" --version 2>&1` in
   4291 *GNU*)
   4292   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4293 *)
   4294   ac_count=0
   4295   $as_echo_n 0123456789 >"conftest.in"
   4296   while :
   4297   do
   4298     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4299     mv "conftest.tmp" "conftest.in"
   4300     cp "conftest.in" "conftest.nl"
   4301     $as_echo 'FGREP' >> "conftest.nl"
   4302     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4303     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4304     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4305     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4306       # Best one so far, save it but keep looking for a better one
   4307       ac_cv_path_FGREP="$ac_path_FGREP"
   4308       ac_path_FGREP_max=$ac_count
   4309     fi
   4310     # 10*(2^10) chars as input seems more than enough
   4311     test $ac_count -gt 10 && break
   4312   done
   4313   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4314 esac
   4315 
   4316       $ac_path_FGREP_found && break 3
   4317     done
   4318   done
   4319   done
   4320 IFS=$as_save_IFS
   4321   if test -z "$ac_cv_path_FGREP"; then
   4322     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4323   fi
   4324 else
   4325   ac_cv_path_FGREP=$FGREP
   4326 fi
   4327 
   4328    fi
   4329 fi
   4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4331 $as_echo "$ac_cv_path_FGREP" >&6; }
   4332  FGREP="$ac_cv_path_FGREP"
   4333 
   4334 
   4335 test -z "$GREP" && GREP=grep
   4336 
   4337 
   4338 
   4339 
   4340 
   4341 
   4342 
   4343 
   4344 
   4345 
   4346 
   4347 
   4348 
   4349 
   4350 
   4351 
   4352 
   4353 
   4354 
   4355 # Check whether --with-gnu-ld was given.
   4356 if test "${with_gnu_ld+set}" = set; then :
   4357   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   4358 else
   4359   with_gnu_ld=no
   4360 fi
   4361 
   4362 ac_prog=ld
   4363 if test yes = "$GCC"; then
   4364   # Check if gcc -print-prog-name=ld gives a path.
   4365   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4366 $as_echo_n "checking for ld used by $CC... " >&6; }
   4367   case $host in
   4368   *-*-mingw*)
   4369     # gcc leaves a trailing carriage return, which upsets mingw
   4370     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4371   *)
   4372     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4373   esac
   4374   case $ac_prog in
   4375     # Accept absolute paths.
   4376     [\\/]* | ?:[\\/]*)
   4377       re_direlt='/[^/][^/]*/\.\./'
   4378       # Canonicalize the pathname of ld
   4379       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4380       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4381 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4382       done
   4383       test -z "$LD" && LD=$ac_prog
   4384       ;;
   4385   "")
   4386     # If it fails, then pretend we aren't using GCC.
   4387     ac_prog=ld
   4388     ;;
   4389   *)
   4390     # If it is relative, then search for the first ld in PATH.
   4391     with_gnu_ld=unknown
   4392     ;;
   4393   esac
   4394 elif test yes = "$with_gnu_ld"; then
   4395   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4396 $as_echo_n "checking for GNU ld... " >&6; }
   4397 else
   4398   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4399 $as_echo_n "checking for non-GNU ld... " >&6; }
   4400 fi
   4401 if ${lt_cv_path_LD+:} false; then :
   4402   $as_echo_n "(cached) " >&6
   4403 else
   4404   if test -z "$LD"; then
   4405   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   4406   for ac_dir in $PATH; do
   4407     IFS=$lt_save_ifs
   4408     test -z "$ac_dir" && ac_dir=.
   4409     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4410       lt_cv_path_LD=$ac_dir/$ac_prog
   4411       # Check to see if the program is GNU ld.  I'd rather use --version,
   4412       # but apparently some variants of GNU ld only accept -v.
   4413       # Break only if it was the GNU/non-GNU ld that we prefer.
   4414       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4415       *GNU* | *'with BFD'*)
   4416 	test no != "$with_gnu_ld" && break
   4417 	;;
   4418       *)
   4419 	test yes != "$with_gnu_ld" && break
   4420 	;;
   4421       esac
   4422     fi
   4423   done
   4424   IFS=$lt_save_ifs
   4425 else
   4426   lt_cv_path_LD=$LD # Let the user override the test with a path.
   4427 fi
   4428 fi
   4429 
   4430 LD=$lt_cv_path_LD
   4431 if test -n "$LD"; then
   4432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4433 $as_echo "$LD" >&6; }
   4434 else
   4435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4436 $as_echo "no" >&6; }
   4437 fi
   4438 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4440 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4441 if ${lt_cv_prog_gnu_ld+:} false; then :
   4442   $as_echo_n "(cached) " >&6
   4443 else
   4444   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4445 case `$LD -v 2>&1 </dev/null` in
   4446 *GNU* | *'with BFD'*)
   4447   lt_cv_prog_gnu_ld=yes
   4448   ;;
   4449 *)
   4450   lt_cv_prog_gnu_ld=no
   4451   ;;
   4452 esac
   4453 fi
   4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4455 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4456 with_gnu_ld=$lt_cv_prog_gnu_ld
   4457 
   4458 
   4459 
   4460 
   4461 
   4462 
   4463 
   4464 
   4465 
   4466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4467 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4468 if ${lt_cv_path_NM+:} false; then :
   4469   $as_echo_n "(cached) " >&6
   4470 else
   4471   if test -n "$NM"; then
   4472   # Let the user override the test.
   4473   lt_cv_path_NM=$NM
   4474 else
   4475   lt_nm_to_check=${ac_tool_prefix}nm
   4476   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4477     lt_nm_to_check="$lt_nm_to_check nm"
   4478   fi
   4479   for lt_tmp_nm in $lt_nm_to_check; do
   4480     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   4481     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4482       IFS=$lt_save_ifs
   4483       test -z "$ac_dir" && ac_dir=.
   4484       tmp_nm=$ac_dir/$lt_tmp_nm
   4485       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   4486 	# Check to see if the nm accepts a BSD-compat flag.
   4487 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   4488 	#   nm: unknown option "B" ignored
   4489 	# Tru64's nm complains that /dev/null is an invalid object file
   4490 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   4491 	case $build_os in
   4492 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   4493 	*) lt_bad_file=/dev/null ;;
   4494 	esac
   4495 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
   4496 	*$lt_bad_file* | *'Invalid file or object type'*)
   4497 	  lt_cv_path_NM="$tmp_nm -B"
   4498 	  break 2
   4499 	  ;;
   4500 	*)
   4501 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4502 	  */dev/null*)
   4503 	    lt_cv_path_NM="$tmp_nm -p"
   4504 	    break 2
   4505 	    ;;
   4506 	  *)
   4507 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4508 	    continue # so that we can try to find one that supports BSD flags
   4509 	    ;;
   4510 	  esac
   4511 	  ;;
   4512 	esac
   4513       fi
   4514     done
   4515     IFS=$lt_save_ifs
   4516   done
   4517   : ${lt_cv_path_NM=no}
   4518 fi
   4519 fi
   4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4521 $as_echo "$lt_cv_path_NM" >&6; }
   4522 if test no != "$lt_cv_path_NM"; then
   4523   NM=$lt_cv_path_NM
   4524 else
   4525   # Didn't find any BSD compatible name lister, look for dumpbin.
   4526   if test -n "$DUMPBIN"; then :
   4527     # Let the user override the test.
   4528   else
   4529     if test -n "$ac_tool_prefix"; then
   4530   for ac_prog in dumpbin "link -dump"
   4531   do
   4532     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4533 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4535 $as_echo_n "checking for $ac_word... " >&6; }
   4536 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4537   $as_echo_n "(cached) " >&6
   4538 else
   4539   if test -n "$DUMPBIN"; then
   4540   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4541 else
   4542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4543 for as_dir in $PATH
   4544 do
   4545   IFS=$as_save_IFS
   4546   test -z "$as_dir" && as_dir=.
   4547     for ac_exec_ext in '' $ac_executable_extensions; do
   4548   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4549     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4550     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4551     break 2
   4552   fi
   4553 done
   4554   done
   4555 IFS=$as_save_IFS
   4556 
   4557 fi
   4558 fi
   4559 DUMPBIN=$ac_cv_prog_DUMPBIN
   4560 if test -n "$DUMPBIN"; then
   4561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4562 $as_echo "$DUMPBIN" >&6; }
   4563 else
   4564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4565 $as_echo "no" >&6; }
   4566 fi
   4567 
   4568 
   4569     test -n "$DUMPBIN" && break
   4570   done
   4571 fi
   4572 if test -z "$DUMPBIN"; then
   4573   ac_ct_DUMPBIN=$DUMPBIN
   4574   for ac_prog in dumpbin "link -dump"
   4575 do
   4576   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4577 set dummy $ac_prog; ac_word=$2
   4578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4579 $as_echo_n "checking for $ac_word... " >&6; }
   4580 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4581   $as_echo_n "(cached) " >&6
   4582 else
   4583   if test -n "$ac_ct_DUMPBIN"; then
   4584   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4585 else
   4586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4587 for as_dir in $PATH
   4588 do
   4589   IFS=$as_save_IFS
   4590   test -z "$as_dir" && as_dir=.
   4591     for ac_exec_ext in '' $ac_executable_extensions; do
   4592   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4593     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4594     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4595     break 2
   4596   fi
   4597 done
   4598   done
   4599 IFS=$as_save_IFS
   4600 
   4601 fi
   4602 fi
   4603 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4604 if test -n "$ac_ct_DUMPBIN"; then
   4605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4606 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4607 else
   4608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4609 $as_echo "no" >&6; }
   4610 fi
   4611 
   4612 
   4613   test -n "$ac_ct_DUMPBIN" && break
   4614 done
   4615 
   4616   if test "x$ac_ct_DUMPBIN" = x; then
   4617     DUMPBIN=":"
   4618   else
   4619     case $cross_compiling:$ac_tool_warned in
   4620 yes:)
   4621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4622 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4623 ac_tool_warned=yes ;;
   4624 esac
   4625     DUMPBIN=$ac_ct_DUMPBIN
   4626   fi
   4627 fi
   4628 
   4629     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
   4630     *COFF*)
   4631       DUMPBIN="$DUMPBIN -symbols -headers"
   4632       ;;
   4633     *)
   4634       DUMPBIN=:
   4635       ;;
   4636     esac
   4637   fi
   4638 
   4639   if test : != "$DUMPBIN"; then
   4640     NM=$DUMPBIN
   4641   fi
   4642 fi
   4643 test -z "$NM" && NM=nm
   4644 
   4645 
   4646 
   4647 
   4648 
   4649 
   4650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4651 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4652 if ${lt_cv_nm_interface+:} false; then :
   4653   $as_echo_n "(cached) " >&6
   4654 else
   4655   lt_cv_nm_interface="BSD nm"
   4656   echo "int some_variable = 0;" > conftest.$ac_ext
   4657   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4658   (eval "$ac_compile" 2>conftest.err)
   4659   cat conftest.err >&5
   4660   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4661   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4662   cat conftest.err >&5
   4663   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4664   cat conftest.out >&5
   4665   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4666     lt_cv_nm_interface="MS dumpbin"
   4667   fi
   4668   rm -f conftest*
   4669 fi
   4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4671 $as_echo "$lt_cv_nm_interface" >&6; }
   4672 
   4673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4674 $as_echo_n "checking whether ln -s works... " >&6; }
   4675 LN_S=$as_ln_s
   4676 if test "$LN_S" = "ln -s"; then
   4677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4678 $as_echo "yes" >&6; }
   4679 else
   4680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4681 $as_echo "no, using $LN_S" >&6; }
   4682 fi
   4683 
   4684 # find the maximum length of command line arguments
   4685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4686 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4687 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4688   $as_echo_n "(cached) " >&6
   4689 else
   4690     i=0
   4691   teststring=ABCD
   4692 
   4693   case $build_os in
   4694   msdosdjgpp*)
   4695     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4696     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4697     # during glob expansion).  Even if it were fixed, the result of this
   4698     # check would be larger than it should be.
   4699     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4700     ;;
   4701 
   4702   gnu*)
   4703     # Under GNU Hurd, this test is not required because there is
   4704     # no limit to the length of command line arguments.
   4705     # Libtool will interpret -1 as no limit whatsoever
   4706     lt_cv_sys_max_cmd_len=-1;
   4707     ;;
   4708 
   4709   cygwin* | mingw* | cegcc*)
   4710     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4711     # about 5 minutes as the teststring grows exponentially.
   4712     # Worse, since 9x/ME are not pre-emptively multitasking,
   4713     # you end up with a "frozen" computer, even though with patience
   4714     # the test eventually succeeds (with a max line length of 256k).
   4715     # Instead, let's just punt: use the minimum linelength reported by
   4716     # all of the supported platforms: 8192 (on NT/2K/XP).
   4717     lt_cv_sys_max_cmd_len=8192;
   4718     ;;
   4719 
   4720   mint*)
   4721     # On MiNT this can take a long time and run out of memory.
   4722     lt_cv_sys_max_cmd_len=8192;
   4723     ;;
   4724 
   4725   amigaos*)
   4726     # On AmigaOS with pdksh, this test takes hours, literally.
   4727     # So we just punt and use a minimum line length of 8192.
   4728     lt_cv_sys_max_cmd_len=8192;
   4729     ;;
   4730 
   4731   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
   4732     # This has been around since 386BSD, at least.  Likely further.
   4733     if test -x /sbin/sysctl; then
   4734       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4735     elif test -x /usr/sbin/sysctl; then
   4736       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4737     else
   4738       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4739     fi
   4740     # And add a safety zone
   4741     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4742     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4743     ;;
   4744 
   4745   interix*)
   4746     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4747     lt_cv_sys_max_cmd_len=196608
   4748     ;;
   4749 
   4750   os2*)
   4751     # The test takes a long time on OS/2.
   4752     lt_cv_sys_max_cmd_len=8192
   4753     ;;
   4754 
   4755   osf*)
   4756     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4757     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4758     # nice to cause kernel panics so lets avoid the loop below.
   4759     # First set a reasonable default.
   4760     lt_cv_sys_max_cmd_len=16384
   4761     #
   4762     if test -x /sbin/sysconfig; then
   4763       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4764         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4765       esac
   4766     fi
   4767     ;;
   4768   sco3.2v5*)
   4769     lt_cv_sys_max_cmd_len=102400
   4770     ;;
   4771   sysv5* | sco5v6* | sysv4.2uw2*)
   4772     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4773     if test -n "$kargmax"; then
   4774       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4775     else
   4776       lt_cv_sys_max_cmd_len=32768
   4777     fi
   4778     ;;
   4779   *)
   4780     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4781     if test -n "$lt_cv_sys_max_cmd_len" && \
   4782        test undefined != "$lt_cv_sys_max_cmd_len"; then
   4783       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4784       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4785     else
   4786       # Make teststring a little bigger before we do anything with it.
   4787       # a 1K string should be a reasonable start.
   4788       for i in 1 2 3 4 5 6 7 8; do
   4789         teststring=$teststring$teststring
   4790       done
   4791       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4792       # If test is not a shell built-in, we'll probably end up computing a
   4793       # maximum length that is only half of the actual maximum length, but
   4794       # we can't tell.
   4795       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   4796 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   4797 	      test 17 != "$i" # 1/2 MB should be enough
   4798       do
   4799         i=`expr $i + 1`
   4800         teststring=$teststring$teststring
   4801       done
   4802       # Only check the string length outside the loop.
   4803       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4804       teststring=
   4805       # Add a significant safety factor because C++ compilers can tack on
   4806       # massive amounts of additional arguments before passing them to the
   4807       # linker.  It appears as though 1/2 is a usable value.
   4808       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4809     fi
   4810     ;;
   4811   esac
   4812 
   4813 fi
   4814 
   4815 if test -n "$lt_cv_sys_max_cmd_len"; then
   4816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4817 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4818 else
   4819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4820 $as_echo "none" >&6; }
   4821 fi
   4822 max_cmd_len=$lt_cv_sys_max_cmd_len
   4823 
   4824 
   4825 
   4826 
   4827 
   4828 
   4829 : ${CP="cp -f"}
   4830 : ${MV="mv -f"}
   4831 : ${RM="rm -f"}
   4832 
   4833 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4834   lt_unset=unset
   4835 else
   4836   lt_unset=false
   4837 fi
   4838 
   4839 
   4840 
   4841 
   4842 
   4843 # test EBCDIC or ASCII
   4844 case `echo X|tr X '\101'` in
   4845  A) # ASCII based system
   4846     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4847   lt_SP2NL='tr \040 \012'
   4848   lt_NL2SP='tr \015\012 \040\040'
   4849   ;;
   4850  *) # EBCDIC based system
   4851   lt_SP2NL='tr \100 \n'
   4852   lt_NL2SP='tr \r\n \100\100'
   4853   ;;
   4854 esac
   4855 
   4856 
   4857 
   4858 
   4859 
   4860 
   4861 
   4862 
   4863 
   4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   4865 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   4866 if ${lt_cv_to_host_file_cmd+:} false; then :
   4867   $as_echo_n "(cached) " >&6
   4868 else
   4869   case $host in
   4870   *-*-mingw* )
   4871     case $build in
   4872       *-*-mingw* ) # actually msys
   4873         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   4874         ;;
   4875       *-*-cygwin* )
   4876         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   4877         ;;
   4878       * ) # otherwise, assume *nix
   4879         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   4880         ;;
   4881     esac
   4882     ;;
   4883   *-*-cygwin* )
   4884     case $build in
   4885       *-*-mingw* ) # actually msys
   4886         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   4887         ;;
   4888       *-*-cygwin* )
   4889         lt_cv_to_host_file_cmd=func_convert_file_noop
   4890         ;;
   4891       * ) # otherwise, assume *nix
   4892         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   4893         ;;
   4894     esac
   4895     ;;
   4896   * ) # unhandled hosts (and "normal" native builds)
   4897     lt_cv_to_host_file_cmd=func_convert_file_noop
   4898     ;;
   4899 esac
   4900 
   4901 fi
   4902 
   4903 to_host_file_cmd=$lt_cv_to_host_file_cmd
   4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   4905 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   4906 
   4907 
   4908 
   4909 
   4910 
   4911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   4912 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   4913 if ${lt_cv_to_tool_file_cmd+:} false; then :
   4914   $as_echo_n "(cached) " >&6
   4915 else
   4916   #assume ordinary cross tools, or native build.
   4917 lt_cv_to_tool_file_cmd=func_convert_file_noop
   4918 case $host in
   4919   *-*-mingw* )
   4920     case $build in
   4921       *-*-mingw* ) # actually msys
   4922         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   4923         ;;
   4924     esac
   4925     ;;
   4926 esac
   4927 
   4928 fi
   4929 
   4930 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   4932 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   4933 
   4934 
   4935 
   4936 
   4937 
   4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   4939 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4940 if ${lt_cv_ld_reload_flag+:} false; then :
   4941   $as_echo_n "(cached) " >&6
   4942 else
   4943   lt_cv_ld_reload_flag='-r'
   4944 fi
   4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   4946 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4947 reload_flag=$lt_cv_ld_reload_flag
   4948 case $reload_flag in
   4949 "" | " "*) ;;
   4950 *) reload_flag=" $reload_flag" ;;
   4951 esac
   4952 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4953 case $host_os in
   4954   cygwin* | mingw* | pw32* | cegcc*)
   4955     if test yes != "$GCC"; then
   4956       reload_cmds=false
   4957     fi
   4958     ;;
   4959   darwin*)
   4960     if test yes = "$GCC"; then
   4961       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   4962     else
   4963       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4964     fi
   4965     ;;
   4966 esac
   4967 
   4968 
   4969 
   4970 
   4971 
   4972 
   4973 
   4974 
   4975 
   4976 if test -n "$ac_tool_prefix"; then
   4977   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4978 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4980 $as_echo_n "checking for $ac_word... " >&6; }
   4981 if ${ac_cv_prog_OBJDUMP+:} false; then :
   4982   $as_echo_n "(cached) " >&6
   4983 else
   4984   if test -n "$OBJDUMP"; then
   4985   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4986 else
   4987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4988 for as_dir in $PATH
   4989 do
   4990   IFS=$as_save_IFS
   4991   test -z "$as_dir" && as_dir=.
   4992     for ac_exec_ext in '' $ac_executable_extensions; do
   4993   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4994     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4995     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4996     break 2
   4997   fi
   4998 done
   4999   done
   5000 IFS=$as_save_IFS
   5001 
   5002 fi
   5003 fi
   5004 OBJDUMP=$ac_cv_prog_OBJDUMP
   5005 if test -n "$OBJDUMP"; then
   5006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5007 $as_echo "$OBJDUMP" >&6; }
   5008 else
   5009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5010 $as_echo "no" >&6; }
   5011 fi
   5012 
   5013 
   5014 fi
   5015 if test -z "$ac_cv_prog_OBJDUMP"; then
   5016   ac_ct_OBJDUMP=$OBJDUMP
   5017   # Extract the first word of "objdump", so it can be a program name with args.
   5018 set dummy objdump; ac_word=$2
   5019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5020 $as_echo_n "checking for $ac_word... " >&6; }
   5021 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5022   $as_echo_n "(cached) " >&6
   5023 else
   5024   if test -n "$ac_ct_OBJDUMP"; then
   5025   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5026 else
   5027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5028 for as_dir in $PATH
   5029 do
   5030   IFS=$as_save_IFS
   5031   test -z "$as_dir" && as_dir=.
   5032     for ac_exec_ext in '' $ac_executable_extensions; do
   5033   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5034     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5035     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5036     break 2
   5037   fi
   5038 done
   5039   done
   5040 IFS=$as_save_IFS
   5041 
   5042 fi
   5043 fi
   5044 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5045 if test -n "$ac_ct_OBJDUMP"; then
   5046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5047 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5048 else
   5049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5050 $as_echo "no" >&6; }
   5051 fi
   5052 
   5053   if test "x$ac_ct_OBJDUMP" = x; then
   5054     OBJDUMP="false"
   5055   else
   5056     case $cross_compiling:$ac_tool_warned in
   5057 yes:)
   5058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5059 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5060 ac_tool_warned=yes ;;
   5061 esac
   5062     OBJDUMP=$ac_ct_OBJDUMP
   5063   fi
   5064 else
   5065   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5066 fi
   5067 
   5068 test -z "$OBJDUMP" && OBJDUMP=objdump
   5069 
   5070 
   5071 
   5072 
   5073 
   5074 
   5075 
   5076 
   5077 
   5078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5079 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5080 if ${lt_cv_deplibs_check_method+:} false; then :
   5081   $as_echo_n "(cached) " >&6
   5082 else
   5083   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5084 lt_cv_file_magic_test_file=
   5085 lt_cv_deplibs_check_method='unknown'
   5086 # Need to set the preceding variable on all platforms that support
   5087 # interlibrary dependencies.
   5088 # 'none' -- dependencies not supported.
   5089 # 'unknown' -- same as none, but documents that we really don't know.
   5090 # 'pass_all' -- all dependencies passed with no checks.
   5091 # 'test_compile' -- check by making test program.
   5092 # 'file_magic [[regex]]' -- check by looking for files in library path
   5093 # that responds to the $file_magic_cmd with a given extended regex.
   5094 # If you have 'file' or equivalent on your system and you're not sure
   5095 # whether 'pass_all' will *always* work, you probably want this one.
   5096 
   5097 case $host_os in
   5098 aix[4-9]*)
   5099   lt_cv_deplibs_check_method=pass_all
   5100   ;;
   5101 
   5102 beos*)
   5103   lt_cv_deplibs_check_method=pass_all
   5104   ;;
   5105 
   5106 bsdi[45]*)
   5107   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5108   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5109   lt_cv_file_magic_test_file=/shlib/libc.so
   5110   ;;
   5111 
   5112 cygwin*)
   5113   # func_win32_libid is a shell function defined in ltmain.sh
   5114   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5115   lt_cv_file_magic_cmd='func_win32_libid'
   5116   ;;
   5117 
   5118 mingw* | pw32*)
   5119   # Base MSYS/MinGW do not provide the 'file' command needed by
   5120   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5121   # unless we find 'file', for example because we are cross-compiling.
   5122   if ( file / ) >/dev/null 2>&1; then
   5123     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5124     lt_cv_file_magic_cmd='func_win32_libid'
   5125   else
   5126     # Keep this pattern in sync with the one in func_win32_libid.
   5127     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5128     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5129   fi
   5130   ;;
   5131 
   5132 cegcc*)
   5133   # use the weaker test based on 'objdump'. See mingw*.
   5134   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5135   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5136   ;;
   5137 
   5138 darwin* | rhapsody*)
   5139   lt_cv_deplibs_check_method=pass_all
   5140   ;;
   5141 
   5142 freebsd* | dragonfly*)
   5143   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5144     case $host_cpu in
   5145     i*86 )
   5146       # Not sure whether the presence of OpenBSD here was a mistake.
   5147       # Let's accept both of them until this is cleared up.
   5148       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5149       lt_cv_file_magic_cmd=/usr/bin/file
   5150       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5151       ;;
   5152     esac
   5153   else
   5154     lt_cv_deplibs_check_method=pass_all
   5155   fi
   5156   ;;
   5157 
   5158 haiku*)
   5159   lt_cv_deplibs_check_method=pass_all
   5160   ;;
   5161 
   5162 hpux10.20* | hpux11*)
   5163   lt_cv_file_magic_cmd=/usr/bin/file
   5164   case $host_cpu in
   5165   ia64*)
   5166     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5167     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5168     ;;
   5169   hppa*64*)
   5170     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]'
   5171     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5172     ;;
   5173   *)
   5174     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5175     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5176     ;;
   5177   esac
   5178   ;;
   5179 
   5180 interix[3-9]*)
   5181   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5182   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5183   ;;
   5184 
   5185 irix5* | irix6* | nonstopux*)
   5186   case $LD in
   5187   *-32|*"-32 ") libmagic=32-bit;;
   5188   *-n32|*"-n32 ") libmagic=N32;;
   5189   *-64|*"-64 ") libmagic=64-bit;;
   5190   *) libmagic=never-match;;
   5191   esac
   5192   lt_cv_deplibs_check_method=pass_all
   5193   ;;
   5194 
   5195 # This must be glibc/ELF.
   5196 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   5197   lt_cv_deplibs_check_method=pass_all
   5198   ;;
   5199 
   5200 netbsd*)
   5201   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5202     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5203   else
   5204     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5205   fi
   5206   ;;
   5207 
   5208 newos6*)
   5209   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5210   lt_cv_file_magic_cmd=/usr/bin/file
   5211   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5212   ;;
   5213 
   5214 *nto* | *qnx*)
   5215   lt_cv_deplibs_check_method=pass_all
   5216   ;;
   5217 
   5218 openbsd* | bitrig*)
   5219   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   5220     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5221   else
   5222     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5223   fi
   5224   ;;
   5225 
   5226 osf3* | osf4* | osf5*)
   5227   lt_cv_deplibs_check_method=pass_all
   5228   ;;
   5229 
   5230 rdos*)
   5231   lt_cv_deplibs_check_method=pass_all
   5232   ;;
   5233 
   5234 solaris*)
   5235   lt_cv_deplibs_check_method=pass_all
   5236   ;;
   5237 
   5238 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5239   lt_cv_deplibs_check_method=pass_all
   5240   ;;
   5241 
   5242 sysv4 | sysv4.3*)
   5243   case $host_vendor in
   5244   motorola)
   5245     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]'
   5246     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5247     ;;
   5248   ncr)
   5249     lt_cv_deplibs_check_method=pass_all
   5250     ;;
   5251   sequent)
   5252     lt_cv_file_magic_cmd='/bin/file'
   5253     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5254     ;;
   5255   sni)
   5256     lt_cv_file_magic_cmd='/bin/file'
   5257     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5258     lt_cv_file_magic_test_file=/lib/libc.so
   5259     ;;
   5260   siemens)
   5261     lt_cv_deplibs_check_method=pass_all
   5262     ;;
   5263   pc)
   5264     lt_cv_deplibs_check_method=pass_all
   5265     ;;
   5266   esac
   5267   ;;
   5268 
   5269 tpf*)
   5270   lt_cv_deplibs_check_method=pass_all
   5271   ;;
   5272 os2*)
   5273   lt_cv_deplibs_check_method=pass_all
   5274   ;;
   5275 esac
   5276 
   5277 fi
   5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5279 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5280 
   5281 file_magic_glob=
   5282 want_nocaseglob=no
   5283 if test "$build" = "$host"; then
   5284   case $host_os in
   5285   mingw* | pw32*)
   5286     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5287       want_nocaseglob=yes
   5288     else
   5289       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5290     fi
   5291     ;;
   5292   esac
   5293 fi
   5294 
   5295 file_magic_cmd=$lt_cv_file_magic_cmd
   5296 deplibs_check_method=$lt_cv_deplibs_check_method
   5297 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5298 
   5299 
   5300 
   5301 
   5302 
   5303 
   5304 
   5305 
   5306 
   5307 
   5308 
   5309 
   5310 
   5311 
   5312 
   5313 
   5314 
   5315 
   5316 
   5317 
   5318 
   5319 
   5320 if test -n "$ac_tool_prefix"; then
   5321   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5322 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5324 $as_echo_n "checking for $ac_word... " >&6; }
   5325 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5326   $as_echo_n "(cached) " >&6
   5327 else
   5328   if test -n "$DLLTOOL"; then
   5329   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5330 else
   5331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5332 for as_dir in $PATH
   5333 do
   5334   IFS=$as_save_IFS
   5335   test -z "$as_dir" && as_dir=.
   5336     for ac_exec_ext in '' $ac_executable_extensions; do
   5337   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5338     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5339     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5340     break 2
   5341   fi
   5342 done
   5343   done
   5344 IFS=$as_save_IFS
   5345 
   5346 fi
   5347 fi
   5348 DLLTOOL=$ac_cv_prog_DLLTOOL
   5349 if test -n "$DLLTOOL"; then
   5350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5351 $as_echo "$DLLTOOL" >&6; }
   5352 else
   5353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5354 $as_echo "no" >&6; }
   5355 fi
   5356 
   5357 
   5358 fi
   5359 if test -z "$ac_cv_prog_DLLTOOL"; then
   5360   ac_ct_DLLTOOL=$DLLTOOL
   5361   # Extract the first word of "dlltool", so it can be a program name with args.
   5362 set dummy dlltool; ac_word=$2
   5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5364 $as_echo_n "checking for $ac_word... " >&6; }
   5365 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5366   $as_echo_n "(cached) " >&6
   5367 else
   5368   if test -n "$ac_ct_DLLTOOL"; then
   5369   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5370 else
   5371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5372 for as_dir in $PATH
   5373 do
   5374   IFS=$as_save_IFS
   5375   test -z "$as_dir" && as_dir=.
   5376     for ac_exec_ext in '' $ac_executable_extensions; do
   5377   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5378     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5379     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5380     break 2
   5381   fi
   5382 done
   5383   done
   5384 IFS=$as_save_IFS
   5385 
   5386 fi
   5387 fi
   5388 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5389 if test -n "$ac_ct_DLLTOOL"; then
   5390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5391 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5392 else
   5393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5394 $as_echo "no" >&6; }
   5395 fi
   5396 
   5397   if test "x$ac_ct_DLLTOOL" = x; then
   5398     DLLTOOL="false"
   5399   else
   5400     case $cross_compiling:$ac_tool_warned in
   5401 yes:)
   5402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5403 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5404 ac_tool_warned=yes ;;
   5405 esac
   5406     DLLTOOL=$ac_ct_DLLTOOL
   5407   fi
   5408 else
   5409   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5410 fi
   5411 
   5412 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5413 
   5414 
   5415 
   5416 
   5417 
   5418 
   5419 
   5420 
   5421 
   5422 
   5423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5424 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5425 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5426   $as_echo_n "(cached) " >&6
   5427 else
   5428   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5429 
   5430 case $host_os in
   5431 cygwin* | mingw* | pw32* | cegcc*)
   5432   # two different shell functions defined in ltmain.sh;
   5433   # decide which one to use based on capabilities of $DLLTOOL
   5434   case `$DLLTOOL --help 2>&1` in
   5435   *--identify-strict*)
   5436     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5437     ;;
   5438   *)
   5439     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5440     ;;
   5441   esac
   5442   ;;
   5443 *)
   5444   # fallback: assume linklib IS sharedlib
   5445   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   5446   ;;
   5447 esac
   5448 
   5449 fi
   5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5451 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5452 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5453 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5454 
   5455 
   5456 
   5457 
   5458 
   5459 
   5460 
   5461 
   5462 if test -n "$ac_tool_prefix"; then
   5463   for ac_prog in ar
   5464   do
   5465     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5466 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5468 $as_echo_n "checking for $ac_word... " >&6; }
   5469 if ${ac_cv_prog_AR+:} false; then :
   5470   $as_echo_n "(cached) " >&6
   5471 else
   5472   if test -n "$AR"; then
   5473   ac_cv_prog_AR="$AR" # Let the user override the test.
   5474 else
   5475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5476 for as_dir in $PATH
   5477 do
   5478   IFS=$as_save_IFS
   5479   test -z "$as_dir" && as_dir=.
   5480     for ac_exec_ext in '' $ac_executable_extensions; do
   5481   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5482     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5483     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5484     break 2
   5485   fi
   5486 done
   5487   done
   5488 IFS=$as_save_IFS
   5489 
   5490 fi
   5491 fi
   5492 AR=$ac_cv_prog_AR
   5493 if test -n "$AR"; then
   5494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5495 $as_echo "$AR" >&6; }
   5496 else
   5497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5498 $as_echo "no" >&6; }
   5499 fi
   5500 
   5501 
   5502     test -n "$AR" && break
   5503   done
   5504 fi
   5505 if test -z "$AR"; then
   5506   ac_ct_AR=$AR
   5507   for ac_prog in ar
   5508 do
   5509   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5510 set dummy $ac_prog; ac_word=$2
   5511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5512 $as_echo_n "checking for $ac_word... " >&6; }
   5513 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5514   $as_echo_n "(cached) " >&6
   5515 else
   5516   if test -n "$ac_ct_AR"; then
   5517   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5518 else
   5519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5520 for as_dir in $PATH
   5521 do
   5522   IFS=$as_save_IFS
   5523   test -z "$as_dir" && as_dir=.
   5524     for ac_exec_ext in '' $ac_executable_extensions; do
   5525   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5526     ac_cv_prog_ac_ct_AR="$ac_prog"
   5527     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5528     break 2
   5529   fi
   5530 done
   5531   done
   5532 IFS=$as_save_IFS
   5533 
   5534 fi
   5535 fi
   5536 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5537 if test -n "$ac_ct_AR"; then
   5538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5539 $as_echo "$ac_ct_AR" >&6; }
   5540 else
   5541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5542 $as_echo "no" >&6; }
   5543 fi
   5544 
   5545 
   5546   test -n "$ac_ct_AR" && break
   5547 done
   5548 
   5549   if test "x$ac_ct_AR" = x; then
   5550     AR="false"
   5551   else
   5552     case $cross_compiling:$ac_tool_warned in
   5553 yes:)
   5554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5555 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5556 ac_tool_warned=yes ;;
   5557 esac
   5558     AR=$ac_ct_AR
   5559   fi
   5560 fi
   5561 
   5562 : ${AR=ar}
   5563 : ${AR_FLAGS=cru}
   5564 
   5565 
   5566 
   5567 
   5568 
   5569 
   5570 
   5571 
   5572 
   5573 
   5574 
   5575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   5576 $as_echo_n "checking for archiver @FILE support... " >&6; }
   5577 if ${lt_cv_ar_at_file+:} false; then :
   5578   $as_echo_n "(cached) " >&6
   5579 else
   5580   lt_cv_ar_at_file=no
   5581    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5582 /* end confdefs.h.  */
   5583 
   5584 int
   5585 main ()
   5586 {
   5587 
   5588   ;
   5589   return 0;
   5590 }
   5591 _ACEOF
   5592 if ac_fn_c_try_compile "$LINENO"; then :
   5593   echo conftest.$ac_objext > conftest.lst
   5594       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   5595       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5596   (eval $lt_ar_try) 2>&5
   5597   ac_status=$?
   5598   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5599   test $ac_status = 0; }
   5600       if test 0 -eq "$ac_status"; then
   5601 	# Ensure the archiver fails upon bogus file names.
   5602 	rm -f conftest.$ac_objext libconftest.a
   5603 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5604   (eval $lt_ar_try) 2>&5
   5605   ac_status=$?
   5606   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5607   test $ac_status = 0; }
   5608 	if test 0 -ne "$ac_status"; then
   5609           lt_cv_ar_at_file=@
   5610         fi
   5611       fi
   5612       rm -f conftest.* libconftest.a
   5613 
   5614 fi
   5615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5616 
   5617 fi
   5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   5619 $as_echo "$lt_cv_ar_at_file" >&6; }
   5620 
   5621 if test no = "$lt_cv_ar_at_file"; then
   5622   archiver_list_spec=
   5623 else
   5624   archiver_list_spec=$lt_cv_ar_at_file
   5625 fi
   5626 
   5627 
   5628 
   5629 
   5630 
   5631 
   5632 
   5633 if test -n "$ac_tool_prefix"; then
   5634   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5635 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5637 $as_echo_n "checking for $ac_word... " >&6; }
   5638 if ${ac_cv_prog_STRIP+:} false; then :
   5639   $as_echo_n "(cached) " >&6
   5640 else
   5641   if test -n "$STRIP"; then
   5642   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5643 else
   5644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5645 for as_dir in $PATH
   5646 do
   5647   IFS=$as_save_IFS
   5648   test -z "$as_dir" && as_dir=.
   5649     for ac_exec_ext in '' $ac_executable_extensions; do
   5650   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5651     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5652     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5653     break 2
   5654   fi
   5655 done
   5656   done
   5657 IFS=$as_save_IFS
   5658 
   5659 fi
   5660 fi
   5661 STRIP=$ac_cv_prog_STRIP
   5662 if test -n "$STRIP"; then
   5663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5664 $as_echo "$STRIP" >&6; }
   5665 else
   5666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5667 $as_echo "no" >&6; }
   5668 fi
   5669 
   5670 
   5671 fi
   5672 if test -z "$ac_cv_prog_STRIP"; then
   5673   ac_ct_STRIP=$STRIP
   5674   # Extract the first word of "strip", so it can be a program name with args.
   5675 set dummy strip; ac_word=$2
   5676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5677 $as_echo_n "checking for $ac_word... " >&6; }
   5678 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5679   $as_echo_n "(cached) " >&6
   5680 else
   5681   if test -n "$ac_ct_STRIP"; then
   5682   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5683 else
   5684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5685 for as_dir in $PATH
   5686 do
   5687   IFS=$as_save_IFS
   5688   test -z "$as_dir" && as_dir=.
   5689     for ac_exec_ext in '' $ac_executable_extensions; do
   5690   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5691     ac_cv_prog_ac_ct_STRIP="strip"
   5692     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5693     break 2
   5694   fi
   5695 done
   5696   done
   5697 IFS=$as_save_IFS
   5698 
   5699 fi
   5700 fi
   5701 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5702 if test -n "$ac_ct_STRIP"; then
   5703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5704 $as_echo "$ac_ct_STRIP" >&6; }
   5705 else
   5706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5707 $as_echo "no" >&6; }
   5708 fi
   5709 
   5710   if test "x$ac_ct_STRIP" = x; then
   5711     STRIP=":"
   5712   else
   5713     case $cross_compiling:$ac_tool_warned in
   5714 yes:)
   5715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5716 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5717 ac_tool_warned=yes ;;
   5718 esac
   5719     STRIP=$ac_ct_STRIP
   5720   fi
   5721 else
   5722   STRIP="$ac_cv_prog_STRIP"
   5723 fi
   5724 
   5725 test -z "$STRIP" && STRIP=:
   5726 
   5727 
   5728 
   5729 
   5730 
   5731 
   5732 if test -n "$ac_tool_prefix"; then
   5733   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5734 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5736 $as_echo_n "checking for $ac_word... " >&6; }
   5737 if ${ac_cv_prog_RANLIB+:} false; then :
   5738   $as_echo_n "(cached) " >&6
   5739 else
   5740   if test -n "$RANLIB"; then
   5741   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5742 else
   5743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5744 for as_dir in $PATH
   5745 do
   5746   IFS=$as_save_IFS
   5747   test -z "$as_dir" && as_dir=.
   5748     for ac_exec_ext in '' $ac_executable_extensions; do
   5749   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5750     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5751     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5752     break 2
   5753   fi
   5754 done
   5755   done
   5756 IFS=$as_save_IFS
   5757 
   5758 fi
   5759 fi
   5760 RANLIB=$ac_cv_prog_RANLIB
   5761 if test -n "$RANLIB"; then
   5762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5763 $as_echo "$RANLIB" >&6; }
   5764 else
   5765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5766 $as_echo "no" >&6; }
   5767 fi
   5768 
   5769 
   5770 fi
   5771 if test -z "$ac_cv_prog_RANLIB"; then
   5772   ac_ct_RANLIB=$RANLIB
   5773   # Extract the first word of "ranlib", so it can be a program name with args.
   5774 set dummy ranlib; ac_word=$2
   5775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5776 $as_echo_n "checking for $ac_word... " >&6; }
   5777 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5778   $as_echo_n "(cached) " >&6
   5779 else
   5780   if test -n "$ac_ct_RANLIB"; then
   5781   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5782 else
   5783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5784 for as_dir in $PATH
   5785 do
   5786   IFS=$as_save_IFS
   5787   test -z "$as_dir" && as_dir=.
   5788     for ac_exec_ext in '' $ac_executable_extensions; do
   5789   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5790     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5791     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5792     break 2
   5793   fi
   5794 done
   5795   done
   5796 IFS=$as_save_IFS
   5797 
   5798 fi
   5799 fi
   5800 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5801 if test -n "$ac_ct_RANLIB"; then
   5802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5803 $as_echo "$ac_ct_RANLIB" >&6; }
   5804 else
   5805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5806 $as_echo "no" >&6; }
   5807 fi
   5808 
   5809   if test "x$ac_ct_RANLIB" = x; then
   5810     RANLIB=":"
   5811   else
   5812     case $cross_compiling:$ac_tool_warned in
   5813 yes:)
   5814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5815 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5816 ac_tool_warned=yes ;;
   5817 esac
   5818     RANLIB=$ac_ct_RANLIB
   5819   fi
   5820 else
   5821   RANLIB="$ac_cv_prog_RANLIB"
   5822 fi
   5823 
   5824 test -z "$RANLIB" && RANLIB=:
   5825 
   5826 
   5827 
   5828 
   5829 
   5830 
   5831 # Determine commands to create old-style static archives.
   5832 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5833 old_postinstall_cmds='chmod 644 $oldlib'
   5834 old_postuninstall_cmds=
   5835 
   5836 if test -n "$RANLIB"; then
   5837   case $host_os in
   5838   bitrig* | openbsd*)
   5839     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   5840     ;;
   5841   *)
   5842     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   5843     ;;
   5844   esac
   5845   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   5846 fi
   5847 
   5848 case $host_os in
   5849   darwin*)
   5850     lock_old_archive_extraction=yes ;;
   5851   *)
   5852     lock_old_archive_extraction=no ;;
   5853 esac
   5854 
   5855 
   5856 
   5857 
   5858 
   5859 
   5860 
   5861 
   5862 
   5863 
   5864 
   5865 
   5866 
   5867 
   5868 
   5869 
   5870 
   5871 
   5872 
   5873 
   5874 
   5875 
   5876 
   5877 
   5878 
   5879 
   5880 
   5881 
   5882 
   5883 
   5884 
   5885 
   5886 
   5887 
   5888 
   5889 
   5890 
   5891 
   5892 
   5893 # If no C compiler was specified, use CC.
   5894 LTCC=${LTCC-"$CC"}
   5895 
   5896 # If no C compiler flags were specified, use CFLAGS.
   5897 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5898 
   5899 # Allow CC to be a program name with arguments.
   5900 compiler=$CC
   5901 
   5902 
   5903 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   5905 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5906 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   5907   $as_echo_n "(cached) " >&6
   5908 else
   5909 
   5910 # These are sane defaults that work on at least a few old systems.
   5911 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5912 
   5913 # Character class describing NM global symbol codes.
   5914 symcode='[BCDEGRST]'
   5915 
   5916 # Regexp to match symbols that can be accessed directly from C.
   5917 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5918 
   5919 # Define system-specific variables.
   5920 case $host_os in
   5921 aix*)
   5922   symcode='[BCDT]'
   5923   ;;
   5924 cygwin* | mingw* | pw32* | cegcc*)
   5925   symcode='[ABCDGISTW]'
   5926   ;;
   5927 hpux*)
   5928   if test ia64 = "$host_cpu"; then
   5929     symcode='[ABCDEGRST]'
   5930   fi
   5931   ;;
   5932 irix* | nonstopux*)
   5933   symcode='[BCDEGRST]'
   5934   ;;
   5935 osf*)
   5936   symcode='[BCDEGQRST]'
   5937   ;;
   5938 solaris*)
   5939   symcode='[BDRT]'
   5940   ;;
   5941 sco3.2v5*)
   5942   symcode='[DT]'
   5943   ;;
   5944 sysv4.2uw2*)
   5945   symcode='[DT]'
   5946   ;;
   5947 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5948   symcode='[ABDT]'
   5949   ;;
   5950 sysv4)
   5951   symcode='[DFNSTU]'
   5952   ;;
   5953 esac
   5954 
   5955 # If we're using GNU nm, then use its standard symbol codes.
   5956 case `$NM -V 2>&1` in
   5957 *GNU* | *'with BFD'*)
   5958   symcode='[ABCDGIRSTW]' ;;
   5959 esac
   5960 
   5961 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5962   # Gets list of data symbols to import.
   5963   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   5964   # Adjust the below global symbol transforms to fixup imported variables.
   5965   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   5966   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   5967   lt_c_name_lib_hook="\
   5968   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   5969   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   5970 else
   5971   # Disable hooks by default.
   5972   lt_cv_sys_global_symbol_to_import=
   5973   lt_cdecl_hook=
   5974   lt_c_name_hook=
   5975   lt_c_name_lib_hook=
   5976 fi
   5977 
   5978 # Transform an extracted symbol line into a proper C declaration.
   5979 # Some systems (esp. on ia64) link data and code symbols differently,
   5980 # so use this general approach.
   5981 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   5982 $lt_cdecl_hook\
   5983 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   5984 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   5985 
   5986 # Transform an extracted symbol line into symbol name and symbol address
   5987 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   5988 $lt_c_name_hook\
   5989 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   5990 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   5991 
   5992 # Transform an extracted symbol line into symbol name with lib prefix and
   5993 # symbol address.
   5994 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   5995 $lt_c_name_lib_hook\
   5996 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   5997 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   5998 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   5999 
   6000 # Handle CRLF in mingw tool chain
   6001 opt_cr=
   6002 case $build_os in
   6003 mingw*)
   6004   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6005   ;;
   6006 esac
   6007 
   6008 # Try without a prefix underscore, then with it.
   6009 for ac_symprfx in "" "_"; do
   6010 
   6011   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6012   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6013 
   6014   # Write the raw and C identifiers.
   6015   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6016     # Fake it for dumpbin and say T for any non-static function,
   6017     # D for any global variable and I for any imported variable.
   6018     # Also find C++ and __fastcall symbols from MSVC++,
   6019     # which start with @ or ?.
   6020     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6021 "     {last_section=section; section=\$ 3};"\
   6022 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   6023 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6024 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   6025 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   6026 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   6027 "     \$ 0!~/External *\|/{next};"\
   6028 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6029 "     {if(hide[section]) next};"\
   6030 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   6031 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   6032 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   6033 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   6034 "     ' prfx=^$ac_symprfx"
   6035   else
   6036     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6037   fi
   6038   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   6039 
   6040   # Check to see that the pipe works correctly.
   6041   pipe_works=no
   6042 
   6043   rm -f conftest*
   6044   cat > conftest.$ac_ext <<_LT_EOF
   6045 #ifdef __cplusplus
   6046 extern "C" {
   6047 #endif
   6048 char nm_test_var;
   6049 void nm_test_func(void);
   6050 void nm_test_func(void){}
   6051 #ifdef __cplusplus
   6052 }
   6053 #endif
   6054 int main(){nm_test_var='a';nm_test_func();return(0);}
   6055 _LT_EOF
   6056 
   6057   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6058   (eval $ac_compile) 2>&5
   6059   ac_status=$?
   6060   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6061   test $ac_status = 0; }; then
   6062     # Now try to grab the symbols.
   6063     nlist=conftest.nm
   6064     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6065   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6066   ac_status=$?
   6067   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6068   test $ac_status = 0; } && test -s "$nlist"; then
   6069       # Try sorting and uniquifying the output.
   6070       if sort "$nlist" | uniq > "$nlist"T; then
   6071 	mv -f "$nlist"T "$nlist"
   6072       else
   6073 	rm -f "$nlist"T
   6074       fi
   6075 
   6076       # Make sure that we snagged all the symbols we need.
   6077       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6078 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6079 	  cat <<_LT_EOF > conftest.$ac_ext
   6080 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6081 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   6082 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   6083    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6084 # define LT_DLSYM_CONST
   6085 #elif defined __osf__
   6086 /* This system does not cope well with relocations in const data.  */
   6087 # define LT_DLSYM_CONST
   6088 #else
   6089 # define LT_DLSYM_CONST const
   6090 #endif
   6091 
   6092 #ifdef __cplusplus
   6093 extern "C" {
   6094 #endif
   6095 
   6096 _LT_EOF
   6097 	  # Now generate the symbol file.
   6098 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6099 
   6100 	  cat <<_LT_EOF >> conftest.$ac_ext
   6101 
   6102 /* The mapping between symbol names and symbols.  */
   6103 LT_DLSYM_CONST struct {
   6104   const char *name;
   6105   void       *address;
   6106 }
   6107 lt__PROGRAM__LTX_preloaded_symbols[] =
   6108 {
   6109   { "@PROGRAM@", (void *) 0 },
   6110 _LT_EOF
   6111 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6112 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6113   {0, (void *) 0}
   6114 };
   6115 
   6116 /* This works around a problem in FreeBSD linker */
   6117 #ifdef FREEBSD_WORKAROUND
   6118 static const void *lt_preloaded_setup() {
   6119   return lt__PROGRAM__LTX_preloaded_symbols;
   6120 }
   6121 #endif
   6122 
   6123 #ifdef __cplusplus
   6124 }
   6125 #endif
   6126 _LT_EOF
   6127 	  # Now try linking the two files.
   6128 	  mv conftest.$ac_objext conftstm.$ac_objext
   6129 	  lt_globsym_save_LIBS=$LIBS
   6130 	  lt_globsym_save_CFLAGS=$CFLAGS
   6131 	  LIBS=conftstm.$ac_objext
   6132 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6133 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6134   (eval $ac_link) 2>&5
   6135   ac_status=$?
   6136   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6137   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   6138 	    pipe_works=yes
   6139 	  fi
   6140 	  LIBS=$lt_globsym_save_LIBS
   6141 	  CFLAGS=$lt_globsym_save_CFLAGS
   6142 	else
   6143 	  echo "cannot find nm_test_func in $nlist" >&5
   6144 	fi
   6145       else
   6146 	echo "cannot find nm_test_var in $nlist" >&5
   6147       fi
   6148     else
   6149       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6150     fi
   6151   else
   6152     echo "$progname: failed program was:" >&5
   6153     cat conftest.$ac_ext >&5
   6154   fi
   6155   rm -rf conftest* conftst*
   6156 
   6157   # Do not use the global_symbol_pipe unless it works.
   6158   if test yes = "$pipe_works"; then
   6159     break
   6160   else
   6161     lt_cv_sys_global_symbol_pipe=
   6162   fi
   6163 done
   6164 
   6165 fi
   6166 
   6167 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6168   lt_cv_sys_global_symbol_to_cdecl=
   6169 fi
   6170 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6172 $as_echo "failed" >&6; }
   6173 else
   6174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6175 $as_echo "ok" >&6; }
   6176 fi
   6177 
   6178 # Response file support.
   6179 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6180   nm_file_list_spec='@'
   6181 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6182   nm_file_list_spec='@'
   6183 fi
   6184 
   6185 
   6186 
   6187 
   6188 
   6189 
   6190 
   6191 
   6192 
   6193 
   6194 
   6195 
   6196 
   6197 
   6198 
   6199 
   6200 
   6201 
   6202 
   6203 
   6204 
   6205 
   6206 
   6207 
   6208 
   6209 
   6210 
   6211 
   6212 
   6213 
   6214 
   6215 
   6216 
   6217 
   6218 
   6219 
   6220 
   6221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6222 $as_echo_n "checking for sysroot... " >&6; }
   6223 
   6224 # Check whether --with-sysroot was given.
   6225 if test "${with_sysroot+set}" = set; then :
   6226   withval=$with_sysroot;
   6227 else
   6228   with_sysroot=no
   6229 fi
   6230 
   6231 
   6232 lt_sysroot=
   6233 case $with_sysroot in #(
   6234  yes)
   6235    if test yes = "$GCC"; then
   6236      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6237    fi
   6238    ;; #(
   6239  /*)
   6240    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6241    ;; #(
   6242  no|'')
   6243    ;; #(
   6244  *)
   6245    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   6246 $as_echo "$with_sysroot" >&6; }
   6247    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6248    ;;
   6249 esac
   6250 
   6251  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6252 $as_echo "${lt_sysroot:-no}" >&6; }
   6253 
   6254 
   6255 
   6256 
   6257 
   6258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   6259 $as_echo_n "checking for a working dd... " >&6; }
   6260 if ${ac_cv_path_lt_DD+:} false; then :
   6261   $as_echo_n "(cached) " >&6
   6262 else
   6263   printf 0123456789abcdef0123456789abcdef >conftest.i
   6264 cat conftest.i conftest.i >conftest2.i
   6265 : ${lt_DD:=$DD}
   6266 if test -z "$lt_DD"; then
   6267   ac_path_lt_DD_found=false
   6268   # Loop through the user's path and test for each of PROGNAME-LIST
   6269   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6270 for as_dir in $PATH
   6271 do
   6272   IFS=$as_save_IFS
   6273   test -z "$as_dir" && as_dir=.
   6274     for ac_prog in dd; do
   6275     for ac_exec_ext in '' $ac_executable_extensions; do
   6276       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
   6277       as_fn_executable_p "$ac_path_lt_DD" || continue
   6278 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   6279   cmp -s conftest.i conftest.out \
   6280   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   6281 fi
   6282       $ac_path_lt_DD_found && break 3
   6283     done
   6284   done
   6285   done
   6286 IFS=$as_save_IFS
   6287   if test -z "$ac_cv_path_lt_DD"; then
   6288     :
   6289   fi
   6290 else
   6291   ac_cv_path_lt_DD=$lt_DD
   6292 fi
   6293 
   6294 rm -f conftest.i conftest2.i conftest.out
   6295 fi
   6296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   6297 $as_echo "$ac_cv_path_lt_DD" >&6; }
   6298 
   6299 
   6300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   6301 $as_echo_n "checking how to truncate binary pipes... " >&6; }
   6302 if ${lt_cv_truncate_bin+:} false; then :
   6303   $as_echo_n "(cached) " >&6
   6304 else
   6305   printf 0123456789abcdef0123456789abcdef >conftest.i
   6306 cat conftest.i conftest.i >conftest2.i
   6307 lt_cv_truncate_bin=
   6308 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   6309   cmp -s conftest.i conftest.out \
   6310   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   6311 fi
   6312 rm -f conftest.i conftest2.i conftest.out
   6313 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   6314 fi
   6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   6316 $as_echo "$lt_cv_truncate_bin" >&6; }
   6317 
   6318 
   6319 
   6320 
   6321 
   6322 
   6323 
   6324 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   6325 func_cc_basename ()
   6326 {
   6327     for cc_temp in $*""; do
   6328       case $cc_temp in
   6329         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   6330         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   6331         \-*) ;;
   6332         *) break;;
   6333       esac
   6334     done
   6335     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   6336 }
   6337 
   6338 # Check whether --enable-libtool-lock was given.
   6339 if test "${enable_libtool_lock+set}" = set; then :
   6340   enableval=$enable_libtool_lock;
   6341 fi
   6342 
   6343 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   6344 
   6345 # Some flags need to be propagated to the compiler or linker for good
   6346 # libtool support.
   6347 case $host in
   6348 ia64-*-hpux*)
   6349   # Find out what ABI is being produced by ac_compile, and set mode
   6350   # options accordingly.
   6351   echo 'int i;' > conftest.$ac_ext
   6352   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6353   (eval $ac_compile) 2>&5
   6354   ac_status=$?
   6355   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6356   test $ac_status = 0; }; then
   6357     case `/usr/bin/file conftest.$ac_objext` in
   6358       *ELF-32*)
   6359 	HPUX_IA64_MODE=32
   6360 	;;
   6361       *ELF-64*)
   6362 	HPUX_IA64_MODE=64
   6363 	;;
   6364     esac
   6365   fi
   6366   rm -rf conftest*
   6367   ;;
   6368 *-*-irix6*)
   6369   # Find out what ABI is being produced by ac_compile, and set linker
   6370   # options accordingly.
   6371   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6372   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6373   (eval $ac_compile) 2>&5
   6374   ac_status=$?
   6375   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6376   test $ac_status = 0; }; then
   6377     if test yes = "$lt_cv_prog_gnu_ld"; then
   6378       case `/usr/bin/file conftest.$ac_objext` in
   6379 	*32-bit*)
   6380 	  LD="${LD-ld} -melf32bsmip"
   6381 	  ;;
   6382 	*N32*)
   6383 	  LD="${LD-ld} -melf32bmipn32"
   6384 	  ;;
   6385 	*64-bit*)
   6386 	  LD="${LD-ld} -melf64bmip"
   6387 	;;
   6388       esac
   6389     else
   6390       case `/usr/bin/file conftest.$ac_objext` in
   6391 	*32-bit*)
   6392 	  LD="${LD-ld} -32"
   6393 	  ;;
   6394 	*N32*)
   6395 	  LD="${LD-ld} -n32"
   6396 	  ;;
   6397 	*64-bit*)
   6398 	  LD="${LD-ld} -64"
   6399 	  ;;
   6400       esac
   6401     fi
   6402   fi
   6403   rm -rf conftest*
   6404   ;;
   6405 
   6406 mips64*-*linux*)
   6407   # Find out what ABI is being produced by ac_compile, and set linker
   6408   # options accordingly.
   6409   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6410   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6411   (eval $ac_compile) 2>&5
   6412   ac_status=$?
   6413   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6414   test $ac_status = 0; }; then
   6415     emul=elf
   6416     case `/usr/bin/file conftest.$ac_objext` in
   6417       *32-bit*)
   6418 	emul="${emul}32"
   6419 	;;
   6420       *64-bit*)
   6421 	emul="${emul}64"
   6422 	;;
   6423     esac
   6424     case `/usr/bin/file conftest.$ac_objext` in
   6425       *MSB*)
   6426 	emul="${emul}btsmip"
   6427 	;;
   6428       *LSB*)
   6429 	emul="${emul}ltsmip"
   6430 	;;
   6431     esac
   6432     case `/usr/bin/file conftest.$ac_objext` in
   6433       *N32*)
   6434 	emul="${emul}n32"
   6435 	;;
   6436     esac
   6437     LD="${LD-ld} -m $emul"
   6438   fi
   6439   rm -rf conftest*
   6440   ;;
   6441 
   6442 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   6443 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6444   # Find out what ABI is being produced by ac_compile, and set linker
   6445   # options accordingly.  Note that the listed cases only cover the
   6446   # situations where additional linker options are needed (such as when
   6447   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   6448   # vice versa); the common cases where no linker options are needed do
   6449   # not appear in the list.
   6450   echo 'int i;' > conftest.$ac_ext
   6451   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6452   (eval $ac_compile) 2>&5
   6453   ac_status=$?
   6454   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6455   test $ac_status = 0; }; then
   6456     case `/usr/bin/file conftest.o` in
   6457       *32-bit*)
   6458 	case $host in
   6459 	  x86_64-*kfreebsd*-gnu)
   6460 	    LD="${LD-ld} -m elf_i386_fbsd"
   6461 	    ;;
   6462 	  x86_64-*linux*)
   6463 	    case `/usr/bin/file conftest.o` in
   6464 	      *x86-64*)
   6465 		LD="${LD-ld} -m elf32_x86_64"
   6466 		;;
   6467 	      *)
   6468 		LD="${LD-ld} -m elf_i386"
   6469 		;;
   6470 	    esac
   6471 	    ;;
   6472 	  powerpc64le-*linux*)
   6473 	    LD="${LD-ld} -m elf32lppclinux"
   6474 	    ;;
   6475 	  powerpc64-*linux*)
   6476 	    LD="${LD-ld} -m elf32ppclinux"
   6477 	    ;;
   6478 	  s390x-*linux*)
   6479 	    LD="${LD-ld} -m elf_s390"
   6480 	    ;;
   6481 	  sparc64-*linux*)
   6482 	    LD="${LD-ld} -m elf32_sparc"
   6483 	    ;;
   6484 	esac
   6485 	;;
   6486       *64-bit*)
   6487 	case $host in
   6488 	  x86_64-*kfreebsd*-gnu)
   6489 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6490 	    ;;
   6491 	  x86_64-*linux*)
   6492 	    LD="${LD-ld} -m elf_x86_64"
   6493 	    ;;
   6494 	  powerpcle-*linux*)
   6495 	    LD="${LD-ld} -m elf64lppc"
   6496 	    ;;
   6497 	  powerpc-*linux*)
   6498 	    LD="${LD-ld} -m elf64ppc"
   6499 	    ;;
   6500 	  s390*-*linux*|s390*-*tpf*)
   6501 	    LD="${LD-ld} -m elf64_s390"
   6502 	    ;;
   6503 	  sparc*-*linux*)
   6504 	    LD="${LD-ld} -m elf64_sparc"
   6505 	    ;;
   6506 	esac
   6507 	;;
   6508     esac
   6509   fi
   6510   rm -rf conftest*
   6511   ;;
   6512 
   6513 *-*-sco3.2v5*)
   6514   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6515   SAVE_CFLAGS=$CFLAGS
   6516   CFLAGS="$CFLAGS -belf"
   6517   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6518 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6519 if ${lt_cv_cc_needs_belf+:} false; then :
   6520   $as_echo_n "(cached) " >&6
   6521 else
   6522   ac_ext=c
   6523 ac_cpp='$CPP $CPPFLAGS'
   6524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6527 
   6528      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6529 /* end confdefs.h.  */
   6530 
   6531 int
   6532 main ()
   6533 {
   6534 
   6535   ;
   6536   return 0;
   6537 }
   6538 _ACEOF
   6539 if ac_fn_c_try_link "$LINENO"; then :
   6540   lt_cv_cc_needs_belf=yes
   6541 else
   6542   lt_cv_cc_needs_belf=no
   6543 fi
   6544 rm -f core conftest.err conftest.$ac_objext \
   6545     conftest$ac_exeext conftest.$ac_ext
   6546      ac_ext=c
   6547 ac_cpp='$CPP $CPPFLAGS'
   6548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6551 
   6552 fi
   6553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6554 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6555   if test yes != "$lt_cv_cc_needs_belf"; then
   6556     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6557     CFLAGS=$SAVE_CFLAGS
   6558   fi
   6559   ;;
   6560 *-*solaris*)
   6561   # Find out what ABI is being produced by ac_compile, and set linker
   6562   # options accordingly.
   6563   echo 'int i;' > conftest.$ac_ext
   6564   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6565   (eval $ac_compile) 2>&5
   6566   ac_status=$?
   6567   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6568   test $ac_status = 0; }; then
   6569     case `/usr/bin/file conftest.o` in
   6570     *64-bit*)
   6571       case $lt_cv_prog_gnu_ld in
   6572       yes*)
   6573         case $host in
   6574         i?86-*-solaris*|x86_64-*-solaris*)
   6575           LD="${LD-ld} -m elf_x86_64"
   6576           ;;
   6577         sparc*-*-solaris*)
   6578           LD="${LD-ld} -m elf64_sparc"
   6579           ;;
   6580         esac
   6581         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   6582         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   6583           LD=${LD-ld}_sol2
   6584         fi
   6585         ;;
   6586       *)
   6587 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6588 	  LD="${LD-ld} -64"
   6589 	fi
   6590 	;;
   6591       esac
   6592       ;;
   6593     esac
   6594   fi
   6595   rm -rf conftest*
   6596   ;;
   6597 esac
   6598 
   6599 need_locks=$enable_libtool_lock
   6600 
   6601 if test -n "$ac_tool_prefix"; then
   6602   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6603 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6605 $as_echo_n "checking for $ac_word... " >&6; }
   6606 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6607   $as_echo_n "(cached) " >&6
   6608 else
   6609   if test -n "$MANIFEST_TOOL"; then
   6610   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6611 else
   6612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6613 for as_dir in $PATH
   6614 do
   6615   IFS=$as_save_IFS
   6616   test -z "$as_dir" && as_dir=.
   6617     for ac_exec_ext in '' $ac_executable_extensions; do
   6618   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6619     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6620     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6621     break 2
   6622   fi
   6623 done
   6624   done
   6625 IFS=$as_save_IFS
   6626 
   6627 fi
   6628 fi
   6629 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6630 if test -n "$MANIFEST_TOOL"; then
   6631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6632 $as_echo "$MANIFEST_TOOL" >&6; }
   6633 else
   6634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6635 $as_echo "no" >&6; }
   6636 fi
   6637 
   6638 
   6639 fi
   6640 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6641   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6642   # Extract the first word of "mt", so it can be a program name with args.
   6643 set dummy mt; ac_word=$2
   6644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6645 $as_echo_n "checking for $ac_word... " >&6; }
   6646 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6647   $as_echo_n "(cached) " >&6
   6648 else
   6649   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6650   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6651 else
   6652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6653 for as_dir in $PATH
   6654 do
   6655   IFS=$as_save_IFS
   6656   test -z "$as_dir" && as_dir=.
   6657     for ac_exec_ext in '' $ac_executable_extensions; do
   6658   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6659     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6660     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6661     break 2
   6662   fi
   6663 done
   6664   done
   6665 IFS=$as_save_IFS
   6666 
   6667 fi
   6668 fi
   6669 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6670 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6672 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6673 else
   6674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6675 $as_echo "no" >&6; }
   6676 fi
   6677 
   6678   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6679     MANIFEST_TOOL=":"
   6680   else
   6681     case $cross_compiling:$ac_tool_warned in
   6682 yes:)
   6683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6684 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6685 ac_tool_warned=yes ;;
   6686 esac
   6687     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6688   fi
   6689 else
   6690   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6691 fi
   6692 
   6693 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6695 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6696 if ${lt_cv_path_mainfest_tool+:} false; then :
   6697   $as_echo_n "(cached) " >&6
   6698 else
   6699   lt_cv_path_mainfest_tool=no
   6700   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6701   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6702   cat conftest.err >&5
   6703   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6704     lt_cv_path_mainfest_tool=yes
   6705   fi
   6706   rm -f conftest*
   6707 fi
   6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6709 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6710 if test yes != "$lt_cv_path_mainfest_tool"; then
   6711   MANIFEST_TOOL=:
   6712 fi
   6713 
   6714 
   6715 
   6716 
   6717 
   6718 
   6719   case $host_os in
   6720     rhapsody* | darwin*)
   6721     if test -n "$ac_tool_prefix"; then
   6722   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6723 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6725 $as_echo_n "checking for $ac_word... " >&6; }
   6726 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   6727   $as_echo_n "(cached) " >&6
   6728 else
   6729   if test -n "$DSYMUTIL"; then
   6730   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6731 else
   6732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6733 for as_dir in $PATH
   6734 do
   6735   IFS=$as_save_IFS
   6736   test -z "$as_dir" && as_dir=.
   6737     for ac_exec_ext in '' $ac_executable_extensions; do
   6738   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6739     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6740     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6741     break 2
   6742   fi
   6743 done
   6744   done
   6745 IFS=$as_save_IFS
   6746 
   6747 fi
   6748 fi
   6749 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6750 if test -n "$DSYMUTIL"; then
   6751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6752 $as_echo "$DSYMUTIL" >&6; }
   6753 else
   6754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6755 $as_echo "no" >&6; }
   6756 fi
   6757 
   6758 
   6759 fi
   6760 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6761   ac_ct_DSYMUTIL=$DSYMUTIL
   6762   # Extract the first word of "dsymutil", so it can be a program name with args.
   6763 set dummy dsymutil; ac_word=$2
   6764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6765 $as_echo_n "checking for $ac_word... " >&6; }
   6766 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6767   $as_echo_n "(cached) " >&6
   6768 else
   6769   if test -n "$ac_ct_DSYMUTIL"; then
   6770   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6771 else
   6772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6773 for as_dir in $PATH
   6774 do
   6775   IFS=$as_save_IFS
   6776   test -z "$as_dir" && as_dir=.
   6777     for ac_exec_ext in '' $ac_executable_extensions; do
   6778   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6779     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6780     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6781     break 2
   6782   fi
   6783 done
   6784   done
   6785 IFS=$as_save_IFS
   6786 
   6787 fi
   6788 fi
   6789 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6790 if test -n "$ac_ct_DSYMUTIL"; then
   6791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6792 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6793 else
   6794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6795 $as_echo "no" >&6; }
   6796 fi
   6797 
   6798   if test "x$ac_ct_DSYMUTIL" = x; then
   6799     DSYMUTIL=":"
   6800   else
   6801     case $cross_compiling:$ac_tool_warned in
   6802 yes:)
   6803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6804 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6805 ac_tool_warned=yes ;;
   6806 esac
   6807     DSYMUTIL=$ac_ct_DSYMUTIL
   6808   fi
   6809 else
   6810   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6811 fi
   6812 
   6813     if test -n "$ac_tool_prefix"; then
   6814   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6815 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6817 $as_echo_n "checking for $ac_word... " >&6; }
   6818 if ${ac_cv_prog_NMEDIT+:} false; then :
   6819   $as_echo_n "(cached) " >&6
   6820 else
   6821   if test -n "$NMEDIT"; then
   6822   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6823 else
   6824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6825 for as_dir in $PATH
   6826 do
   6827   IFS=$as_save_IFS
   6828   test -z "$as_dir" && as_dir=.
   6829     for ac_exec_ext in '' $ac_executable_extensions; do
   6830   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6831     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6832     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6833     break 2
   6834   fi
   6835 done
   6836   done
   6837 IFS=$as_save_IFS
   6838 
   6839 fi
   6840 fi
   6841 NMEDIT=$ac_cv_prog_NMEDIT
   6842 if test -n "$NMEDIT"; then
   6843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6844 $as_echo "$NMEDIT" >&6; }
   6845 else
   6846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6847 $as_echo "no" >&6; }
   6848 fi
   6849 
   6850 
   6851 fi
   6852 if test -z "$ac_cv_prog_NMEDIT"; then
   6853   ac_ct_NMEDIT=$NMEDIT
   6854   # Extract the first word of "nmedit", so it can be a program name with args.
   6855 set dummy nmedit; ac_word=$2
   6856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6857 $as_echo_n "checking for $ac_word... " >&6; }
   6858 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   6859   $as_echo_n "(cached) " >&6
   6860 else
   6861   if test -n "$ac_ct_NMEDIT"; then
   6862   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6863 else
   6864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6865 for as_dir in $PATH
   6866 do
   6867   IFS=$as_save_IFS
   6868   test -z "$as_dir" && as_dir=.
   6869     for ac_exec_ext in '' $ac_executable_extensions; do
   6870   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6871     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6872     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6873     break 2
   6874   fi
   6875 done
   6876   done
   6877 IFS=$as_save_IFS
   6878 
   6879 fi
   6880 fi
   6881 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6882 if test -n "$ac_ct_NMEDIT"; then
   6883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6884 $as_echo "$ac_ct_NMEDIT" >&6; }
   6885 else
   6886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6887 $as_echo "no" >&6; }
   6888 fi
   6889 
   6890   if test "x$ac_ct_NMEDIT" = x; then
   6891     NMEDIT=":"
   6892   else
   6893     case $cross_compiling:$ac_tool_warned in
   6894 yes:)
   6895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6896 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6897 ac_tool_warned=yes ;;
   6898 esac
   6899     NMEDIT=$ac_ct_NMEDIT
   6900   fi
   6901 else
   6902   NMEDIT="$ac_cv_prog_NMEDIT"
   6903 fi
   6904 
   6905     if test -n "$ac_tool_prefix"; then
   6906   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6907 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6909 $as_echo_n "checking for $ac_word... " >&6; }
   6910 if ${ac_cv_prog_LIPO+:} false; then :
   6911   $as_echo_n "(cached) " >&6
   6912 else
   6913   if test -n "$LIPO"; then
   6914   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6915 else
   6916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6917 for as_dir in $PATH
   6918 do
   6919   IFS=$as_save_IFS
   6920   test -z "$as_dir" && as_dir=.
   6921     for ac_exec_ext in '' $ac_executable_extensions; do
   6922   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6923     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6924     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6925     break 2
   6926   fi
   6927 done
   6928   done
   6929 IFS=$as_save_IFS
   6930 
   6931 fi
   6932 fi
   6933 LIPO=$ac_cv_prog_LIPO
   6934 if test -n "$LIPO"; then
   6935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6936 $as_echo "$LIPO" >&6; }
   6937 else
   6938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6939 $as_echo "no" >&6; }
   6940 fi
   6941 
   6942 
   6943 fi
   6944 if test -z "$ac_cv_prog_LIPO"; then
   6945   ac_ct_LIPO=$LIPO
   6946   # Extract the first word of "lipo", so it can be a program name with args.
   6947 set dummy lipo; ac_word=$2
   6948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6949 $as_echo_n "checking for $ac_word... " >&6; }
   6950 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   6951   $as_echo_n "(cached) " >&6
   6952 else
   6953   if test -n "$ac_ct_LIPO"; then
   6954   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6955 else
   6956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6957 for as_dir in $PATH
   6958 do
   6959   IFS=$as_save_IFS
   6960   test -z "$as_dir" && as_dir=.
   6961     for ac_exec_ext in '' $ac_executable_extensions; do
   6962   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6963     ac_cv_prog_ac_ct_LIPO="lipo"
   6964     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6965     break 2
   6966   fi
   6967 done
   6968   done
   6969 IFS=$as_save_IFS
   6970 
   6971 fi
   6972 fi
   6973 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6974 if test -n "$ac_ct_LIPO"; then
   6975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6976 $as_echo "$ac_ct_LIPO" >&6; }
   6977 else
   6978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6979 $as_echo "no" >&6; }
   6980 fi
   6981 
   6982   if test "x$ac_ct_LIPO" = x; then
   6983     LIPO=":"
   6984   else
   6985     case $cross_compiling:$ac_tool_warned in
   6986 yes:)
   6987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6988 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6989 ac_tool_warned=yes ;;
   6990 esac
   6991     LIPO=$ac_ct_LIPO
   6992   fi
   6993 else
   6994   LIPO="$ac_cv_prog_LIPO"
   6995 fi
   6996 
   6997     if test -n "$ac_tool_prefix"; then
   6998   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6999 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7001 $as_echo_n "checking for $ac_word... " >&6; }
   7002 if ${ac_cv_prog_OTOOL+:} false; then :
   7003   $as_echo_n "(cached) " >&6
   7004 else
   7005   if test -n "$OTOOL"; then
   7006   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7007 else
   7008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7009 for as_dir in $PATH
   7010 do
   7011   IFS=$as_save_IFS
   7012   test -z "$as_dir" && as_dir=.
   7013     for ac_exec_ext in '' $ac_executable_extensions; do
   7014   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7015     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7016     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7017     break 2
   7018   fi
   7019 done
   7020   done
   7021 IFS=$as_save_IFS
   7022 
   7023 fi
   7024 fi
   7025 OTOOL=$ac_cv_prog_OTOOL
   7026 if test -n "$OTOOL"; then
   7027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7028 $as_echo "$OTOOL" >&6; }
   7029 else
   7030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7031 $as_echo "no" >&6; }
   7032 fi
   7033 
   7034 
   7035 fi
   7036 if test -z "$ac_cv_prog_OTOOL"; then
   7037   ac_ct_OTOOL=$OTOOL
   7038   # Extract the first word of "otool", so it can be a program name with args.
   7039 set dummy otool; ac_word=$2
   7040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7041 $as_echo_n "checking for $ac_word... " >&6; }
   7042 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7043   $as_echo_n "(cached) " >&6
   7044 else
   7045   if test -n "$ac_ct_OTOOL"; then
   7046   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7047 else
   7048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7049 for as_dir in $PATH
   7050 do
   7051   IFS=$as_save_IFS
   7052   test -z "$as_dir" && as_dir=.
   7053     for ac_exec_ext in '' $ac_executable_extensions; do
   7054   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7055     ac_cv_prog_ac_ct_OTOOL="otool"
   7056     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7057     break 2
   7058   fi
   7059 done
   7060   done
   7061 IFS=$as_save_IFS
   7062 
   7063 fi
   7064 fi
   7065 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7066 if test -n "$ac_ct_OTOOL"; then
   7067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7068 $as_echo "$ac_ct_OTOOL" >&6; }
   7069 else
   7070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7071 $as_echo "no" >&6; }
   7072 fi
   7073 
   7074   if test "x$ac_ct_OTOOL" = x; then
   7075     OTOOL=":"
   7076   else
   7077     case $cross_compiling:$ac_tool_warned in
   7078 yes:)
   7079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7080 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7081 ac_tool_warned=yes ;;
   7082 esac
   7083     OTOOL=$ac_ct_OTOOL
   7084   fi
   7085 else
   7086   OTOOL="$ac_cv_prog_OTOOL"
   7087 fi
   7088 
   7089     if test -n "$ac_tool_prefix"; then
   7090   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7091 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7093 $as_echo_n "checking for $ac_word... " >&6; }
   7094 if ${ac_cv_prog_OTOOL64+:} false; then :
   7095   $as_echo_n "(cached) " >&6
   7096 else
   7097   if test -n "$OTOOL64"; then
   7098   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7099 else
   7100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7101 for as_dir in $PATH
   7102 do
   7103   IFS=$as_save_IFS
   7104   test -z "$as_dir" && as_dir=.
   7105     for ac_exec_ext in '' $ac_executable_extensions; do
   7106   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7107     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7108     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7109     break 2
   7110   fi
   7111 done
   7112   done
   7113 IFS=$as_save_IFS
   7114 
   7115 fi
   7116 fi
   7117 OTOOL64=$ac_cv_prog_OTOOL64
   7118 if test -n "$OTOOL64"; then
   7119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7120 $as_echo "$OTOOL64" >&6; }
   7121 else
   7122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7123 $as_echo "no" >&6; }
   7124 fi
   7125 
   7126 
   7127 fi
   7128 if test -z "$ac_cv_prog_OTOOL64"; then
   7129   ac_ct_OTOOL64=$OTOOL64
   7130   # Extract the first word of "otool64", so it can be a program name with args.
   7131 set dummy otool64; ac_word=$2
   7132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7133 $as_echo_n "checking for $ac_word... " >&6; }
   7134 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   7135   $as_echo_n "(cached) " >&6
   7136 else
   7137   if test -n "$ac_ct_OTOOL64"; then
   7138   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7139 else
   7140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7141 for as_dir in $PATH
   7142 do
   7143   IFS=$as_save_IFS
   7144   test -z "$as_dir" && as_dir=.
   7145     for ac_exec_ext in '' $ac_executable_extensions; do
   7146   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7147     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7148     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7149     break 2
   7150   fi
   7151 done
   7152   done
   7153 IFS=$as_save_IFS
   7154 
   7155 fi
   7156 fi
   7157 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7158 if test -n "$ac_ct_OTOOL64"; then
   7159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7160 $as_echo "$ac_ct_OTOOL64" >&6; }
   7161 else
   7162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7163 $as_echo "no" >&6; }
   7164 fi
   7165 
   7166   if test "x$ac_ct_OTOOL64" = x; then
   7167     OTOOL64=":"
   7168   else
   7169     case $cross_compiling:$ac_tool_warned in
   7170 yes:)
   7171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7172 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7173 ac_tool_warned=yes ;;
   7174 esac
   7175     OTOOL64=$ac_ct_OTOOL64
   7176   fi
   7177 else
   7178   OTOOL64="$ac_cv_prog_OTOOL64"
   7179 fi
   7180 
   7181 
   7182 
   7183 
   7184 
   7185 
   7186 
   7187 
   7188 
   7189 
   7190 
   7191 
   7192 
   7193 
   7194 
   7195 
   7196 
   7197 
   7198 
   7199 
   7200 
   7201 
   7202 
   7203 
   7204 
   7205 
   7206 
   7207     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7208 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7209 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7210   $as_echo_n "(cached) " >&6
   7211 else
   7212   lt_cv_apple_cc_single_mod=no
   7213       if test -z "$LT_MULTI_MODULE"; then
   7214 	# By default we will add the -single_module flag. You can override
   7215 	# by either setting the environment variable LT_MULTI_MODULE
   7216 	# non-empty at configure time, or by adding -multi_module to the
   7217 	# link flags.
   7218 	rm -rf libconftest.dylib*
   7219 	echo "int foo(void){return 1;}" > conftest.c
   7220 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7221 -dynamiclib -Wl,-single_module conftest.c" >&5
   7222 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7223 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7224         _lt_result=$?
   7225 	# If there is a non-empty error log, and "single_module"
   7226 	# appears in it, assume the flag caused a linker warning
   7227         if test -s conftest.err && $GREP single_module conftest.err; then
   7228 	  cat conftest.err >&5
   7229 	# Otherwise, if the output was created with a 0 exit code from
   7230 	# the compiler, it worked.
   7231 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   7232 	  lt_cv_apple_cc_single_mod=yes
   7233 	else
   7234 	  cat conftest.err >&5
   7235 	fi
   7236 	rm -rf libconftest.dylib*
   7237 	rm -f conftest.*
   7238       fi
   7239 fi
   7240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7241 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7242 
   7243     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7244 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7245 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7246   $as_echo_n "(cached) " >&6
   7247 else
   7248   lt_cv_ld_exported_symbols_list=no
   7249       save_LDFLAGS=$LDFLAGS
   7250       echo "_main" > conftest.sym
   7251       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7252       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7253 /* end confdefs.h.  */
   7254 
   7255 int
   7256 main ()
   7257 {
   7258 
   7259   ;
   7260   return 0;
   7261 }
   7262 _ACEOF
   7263 if ac_fn_c_try_link "$LINENO"; then :
   7264   lt_cv_ld_exported_symbols_list=yes
   7265 else
   7266   lt_cv_ld_exported_symbols_list=no
   7267 fi
   7268 rm -f core conftest.err conftest.$ac_objext \
   7269     conftest$ac_exeext conftest.$ac_ext
   7270 	LDFLAGS=$save_LDFLAGS
   7271 
   7272 fi
   7273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7274 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7275 
   7276     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7277 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7278 if ${lt_cv_ld_force_load+:} false; then :
   7279   $as_echo_n "(cached) " >&6
   7280 else
   7281   lt_cv_ld_force_load=no
   7282       cat > conftest.c << _LT_EOF
   7283 int forced_loaded() { return 2;}
   7284 _LT_EOF
   7285       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7286       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7287       echo "$AR cru libconftest.a conftest.o" >&5
   7288       $AR cru libconftest.a conftest.o 2>&5
   7289       echo "$RANLIB libconftest.a" >&5
   7290       $RANLIB libconftest.a 2>&5
   7291       cat > conftest.c << _LT_EOF
   7292 int main() { return 0;}
   7293 _LT_EOF
   7294       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7295       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7296       _lt_result=$?
   7297       if test -s conftest.err && $GREP force_load conftest.err; then
   7298 	cat conftest.err >&5
   7299       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   7300 	lt_cv_ld_force_load=yes
   7301       else
   7302 	cat conftest.err >&5
   7303       fi
   7304         rm -f conftest.err libconftest.a conftest conftest.c
   7305         rm -rf conftest.dSYM
   7306 
   7307 fi
   7308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7309 $as_echo "$lt_cv_ld_force_load" >&6; }
   7310     case $host_os in
   7311     rhapsody* | darwin1.[012])
   7312       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   7313     darwin1.*)
   7314       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   7315     darwin*) # darwin 5.x on
   7316       # if running on 10.5 or later, the deployment target defaults
   7317       # to the OS version, if on x86, and 10.4, the deployment
   7318       # target defaults to 10.4. Don't you love it?
   7319       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7320 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7321 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   7322 	10.[012][,.]*)
   7323 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   7324 	10.*)
   7325 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   7326       esac
   7327     ;;
   7328   esac
   7329     if test yes = "$lt_cv_apple_cc_single_mod"; then
   7330       _lt_dar_single_mod='$single_module'
   7331     fi
   7332     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   7333       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   7334     else
   7335       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   7336     fi
   7337     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   7338       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7339     else
   7340       _lt_dsymutil=
   7341     fi
   7342     ;;
   7343   esac
   7344 
   7345 # func_munge_path_list VARIABLE PATH
   7346 # -----------------------------------
   7347 # VARIABLE is name of variable containing _space_ separated list of
   7348 # directories to be munged by the contents of PATH, which is string
   7349 # having a format:
   7350 # "DIR[:DIR]:"
   7351 #       string "DIR[ DIR]" will be prepended to VARIABLE
   7352 # ":DIR[:DIR]"
   7353 #       string "DIR[ DIR]" will be appended to VARIABLE
   7354 # "DIRP[:DIRP]::[DIRA:]DIRA"
   7355 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   7356 #       "DIRA[ DIRA]" will be appended to VARIABLE
   7357 # "DIR[:DIR]"
   7358 #       VARIABLE will be replaced by "DIR[ DIR]"
   7359 func_munge_path_list ()
   7360 {
   7361     case x$2 in
   7362     x)
   7363         ;;
   7364     *:)
   7365         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   7366         ;;
   7367     x:*)
   7368         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   7369         ;;
   7370     *::*)
   7371         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   7372         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   7373         ;;
   7374     *)
   7375         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   7376         ;;
   7377     esac
   7378 }
   7379 
   7380 ac_ext=c
   7381 ac_cpp='$CPP $CPPFLAGS'
   7382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7386 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7387 # On Suns, sometimes $CPP names a directory.
   7388 if test -n "$CPP" && test -d "$CPP"; then
   7389   CPP=
   7390 fi
   7391 if test -z "$CPP"; then
   7392   if ${ac_cv_prog_CPP+:} false; then :
   7393   $as_echo_n "(cached) " >&6
   7394 else
   7395       # Double quotes because CPP needs to be expanded
   7396     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7397     do
   7398       ac_preproc_ok=false
   7399 for ac_c_preproc_warn_flag in '' yes
   7400 do
   7401   # Use a header file that comes with gcc, so configuring glibc
   7402   # with a fresh cross-compiler works.
   7403   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7404   # <limits.h> exists even on freestanding compilers.
   7405   # On the NeXT, cc -E runs the code through the compiler's parser,
   7406   # not just through cpp. "Syntax error" is here to catch this case.
   7407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7408 /* end confdefs.h.  */
   7409 #ifdef __STDC__
   7410 # include <limits.h>
   7411 #else
   7412 # include <assert.h>
   7413 #endif
   7414 		     Syntax error
   7415 _ACEOF
   7416 if ac_fn_c_try_cpp "$LINENO"; then :
   7417 
   7418 else
   7419   # Broken: fails on valid input.
   7420 continue
   7421 fi
   7422 rm -f conftest.err conftest.i conftest.$ac_ext
   7423 
   7424   # OK, works on sane cases.  Now check whether nonexistent headers
   7425   # can be detected and how.
   7426   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7427 /* end confdefs.h.  */
   7428 #include <ac_nonexistent.h>
   7429 _ACEOF
   7430 if ac_fn_c_try_cpp "$LINENO"; then :
   7431   # Broken: success on invalid input.
   7432 continue
   7433 else
   7434   # Passes both tests.
   7435 ac_preproc_ok=:
   7436 break
   7437 fi
   7438 rm -f conftest.err conftest.i conftest.$ac_ext
   7439 
   7440 done
   7441 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7442 rm -f conftest.i conftest.err conftest.$ac_ext
   7443 if $ac_preproc_ok; then :
   7444   break
   7445 fi
   7446 
   7447     done
   7448     ac_cv_prog_CPP=$CPP
   7449 
   7450 fi
   7451   CPP=$ac_cv_prog_CPP
   7452 else
   7453   ac_cv_prog_CPP=$CPP
   7454 fi
   7455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7456 $as_echo "$CPP" >&6; }
   7457 ac_preproc_ok=false
   7458 for ac_c_preproc_warn_flag in '' yes
   7459 do
   7460   # Use a header file that comes with gcc, so configuring glibc
   7461   # with a fresh cross-compiler works.
   7462   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7463   # <limits.h> exists even on freestanding compilers.
   7464   # On the NeXT, cc -E runs the code through the compiler's parser,
   7465   # not just through cpp. "Syntax error" is here to catch this case.
   7466   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7467 /* end confdefs.h.  */
   7468 #ifdef __STDC__
   7469 # include <limits.h>
   7470 #else
   7471 # include <assert.h>
   7472 #endif
   7473 		     Syntax error
   7474 _ACEOF
   7475 if ac_fn_c_try_cpp "$LINENO"; then :
   7476 
   7477 else
   7478   # Broken: fails on valid input.
   7479 continue
   7480 fi
   7481 rm -f conftest.err conftest.i conftest.$ac_ext
   7482 
   7483   # OK, works on sane cases.  Now check whether nonexistent headers
   7484   # can be detected and how.
   7485   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7486 /* end confdefs.h.  */
   7487 #include <ac_nonexistent.h>
   7488 _ACEOF
   7489 if ac_fn_c_try_cpp "$LINENO"; then :
   7490   # Broken: success on invalid input.
   7491 continue
   7492 else
   7493   # Passes both tests.
   7494 ac_preproc_ok=:
   7495 break
   7496 fi
   7497 rm -f conftest.err conftest.i conftest.$ac_ext
   7498 
   7499 done
   7500 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7501 rm -f conftest.i conftest.err conftest.$ac_ext
   7502 if $ac_preproc_ok; then :
   7503 
   7504 else
   7505   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7506 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7507 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7508 See \`config.log' for more details" "$LINENO" 5; }
   7509 fi
   7510 
   7511 ac_ext=c
   7512 ac_cpp='$CPP $CPPFLAGS'
   7513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7516 
   7517 
   7518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7519 $as_echo_n "checking for ANSI C header files... " >&6; }
   7520 if ${ac_cv_header_stdc+:} false; then :
   7521   $as_echo_n "(cached) " >&6
   7522 else
   7523   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7524 /* end confdefs.h.  */
   7525 #include <stdlib.h>
   7526 #include <stdarg.h>
   7527 #include <string.h>
   7528 #include <float.h>
   7529 
   7530 int
   7531 main ()
   7532 {
   7533 
   7534   ;
   7535   return 0;
   7536 }
   7537 _ACEOF
   7538 if ac_fn_c_try_compile "$LINENO"; then :
   7539   ac_cv_header_stdc=yes
   7540 else
   7541   ac_cv_header_stdc=no
   7542 fi
   7543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7544 
   7545 if test $ac_cv_header_stdc = yes; then
   7546   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7547   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7548 /* end confdefs.h.  */
   7549 #include <string.h>
   7550 
   7551 _ACEOF
   7552 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7553   $EGREP "memchr" >/dev/null 2>&1; then :
   7554 
   7555 else
   7556   ac_cv_header_stdc=no
   7557 fi
   7558 rm -f conftest*
   7559 
   7560 fi
   7561 
   7562 if test $ac_cv_header_stdc = yes; then
   7563   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7564   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7565 /* end confdefs.h.  */
   7566 #include <stdlib.h>
   7567 
   7568 _ACEOF
   7569 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7570   $EGREP "free" >/dev/null 2>&1; then :
   7571 
   7572 else
   7573   ac_cv_header_stdc=no
   7574 fi
   7575 rm -f conftest*
   7576 
   7577 fi
   7578 
   7579 if test $ac_cv_header_stdc = yes; then
   7580   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7581   if test "$cross_compiling" = yes; then :
   7582   :
   7583 else
   7584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7585 /* end confdefs.h.  */
   7586 #include <ctype.h>
   7587 #include <stdlib.h>
   7588 #if ((' ' & 0x0FF) == 0x020)
   7589 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7590 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7591 #else
   7592 # define ISLOWER(c) \
   7593 		   (('a' <= (c) && (c) <= 'i') \
   7594 		     || ('j' <= (c) && (c) <= 'r') \
   7595 		     || ('s' <= (c) && (c) <= 'z'))
   7596 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7597 #endif
   7598 
   7599 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7600 int
   7601 main ()
   7602 {
   7603   int i;
   7604   for (i = 0; i < 256; i++)
   7605     if (XOR (islower (i), ISLOWER (i))
   7606 	|| toupper (i) != TOUPPER (i))
   7607       return 2;
   7608   return 0;
   7609 }
   7610 _ACEOF
   7611 if ac_fn_c_try_run "$LINENO"; then :
   7612 
   7613 else
   7614   ac_cv_header_stdc=no
   7615 fi
   7616 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7617   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7618 fi
   7619 
   7620 fi
   7621 fi
   7622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7623 $as_echo "$ac_cv_header_stdc" >&6; }
   7624 if test $ac_cv_header_stdc = yes; then
   7625 
   7626 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7627 
   7628 fi
   7629 
   7630 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7631 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7632 		  inttypes.h stdint.h unistd.h
   7633 do :
   7634   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7635 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7636 "
   7637 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7638   cat >>confdefs.h <<_ACEOF
   7639 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7640 _ACEOF
   7641 
   7642 fi
   7643 
   7644 done
   7645 
   7646 
   7647 for ac_header in dlfcn.h
   7648 do :
   7649   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7650 "
   7651 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7652   cat >>confdefs.h <<_ACEOF
   7653 #define HAVE_DLFCN_H 1
   7654 _ACEOF
   7655 
   7656 fi
   7657 
   7658 done
   7659 
   7660 
   7661 
   7662 
   7663 
   7664 # Set options
   7665 
   7666 
   7667 
   7668         enable_dlopen=no
   7669 
   7670 
   7671   enable_win32_dll=no
   7672 
   7673 
   7674             # Check whether --enable-shared was given.
   7675 if test "${enable_shared+set}" = set; then :
   7676   enableval=$enable_shared; p=${PACKAGE-default}
   7677     case $enableval in
   7678     yes) enable_shared=yes ;;
   7679     no) enable_shared=no ;;
   7680     *)
   7681       enable_shared=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_shared=yes
   7688 	fi
   7689       done
   7690       IFS=$lt_save_ifs
   7691       ;;
   7692     esac
   7693 else
   7694   enable_shared=yes
   7695 fi
   7696 
   7697 
   7698 
   7699 
   7700 
   7701 
   7702 
   7703 
   7704 
   7705   # Check whether --enable-static was given.
   7706 if test "${enable_static+set}" = set; then :
   7707   enableval=$enable_static; p=${PACKAGE-default}
   7708     case $enableval in
   7709     yes) enable_static=yes ;;
   7710     no) enable_static=no ;;
   7711     *)
   7712      enable_static=no
   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 pkg in $enableval; do
   7716 	IFS=$lt_save_ifs
   7717 	if test "X$pkg" = "X$p"; then
   7718 	  enable_static=yes
   7719 	fi
   7720       done
   7721       IFS=$lt_save_ifs
   7722       ;;
   7723     esac
   7724 else
   7725   enable_static=yes
   7726 fi
   7727 
   7728 
   7729 
   7730 
   7731 
   7732 
   7733 
   7734 
   7735 
   7736 
   7737 # Check whether --with-pic was given.
   7738 if test "${with_pic+set}" = set; then :
   7739   withval=$with_pic; lt_p=${PACKAGE-default}
   7740     case $withval in
   7741     yes|no) pic_mode=$withval ;;
   7742     *)
   7743       pic_mode=default
   7744       # Look at the argument we got.  We use all the common list separators.
   7745       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   7746       for lt_pkg in $withval; do
   7747 	IFS=$lt_save_ifs
   7748 	if test "X$lt_pkg" = "X$lt_p"; then
   7749 	  pic_mode=yes
   7750 	fi
   7751       done
   7752       IFS=$lt_save_ifs
   7753       ;;
   7754     esac
   7755 else
   7756   pic_mode=default
   7757 fi
   7758 
   7759 
   7760 
   7761 
   7762 
   7763 
   7764 
   7765 
   7766   # Check whether --enable-fast-install was given.
   7767 if test "${enable_fast_install+set}" = set; then :
   7768   enableval=$enable_fast_install; p=${PACKAGE-default}
   7769     case $enableval in
   7770     yes) enable_fast_install=yes ;;
   7771     no) enable_fast_install=no ;;
   7772     *)
   7773       enable_fast_install=no
   7774       # Look at the argument we got.  We use all the common list separators.
   7775       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   7776       for pkg in $enableval; do
   7777 	IFS=$lt_save_ifs
   7778 	if test "X$pkg" = "X$p"; then
   7779 	  enable_fast_install=yes
   7780 	fi
   7781       done
   7782       IFS=$lt_save_ifs
   7783       ;;
   7784     esac
   7785 else
   7786   enable_fast_install=yes
   7787 fi
   7788 
   7789 
   7790 
   7791 
   7792 
   7793 
   7794 
   7795 
   7796   shared_archive_member_spec=
   7797 case $host,$enable_shared in
   7798 power*-*-aix[5-9]*,yes)
   7799   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   7800 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
   7801 
   7802 # Check whether --with-aix-soname was given.
   7803 if test "${with_aix_soname+set}" = set; then :
   7804   withval=$with_aix_soname; case $withval in
   7805     aix|svr4|both)
   7806       ;;
   7807     *)
   7808       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   7809       ;;
   7810     esac
   7811     lt_cv_with_aix_soname=$with_aix_soname
   7812 else
   7813   if ${lt_cv_with_aix_soname+:} false; then :
   7814   $as_echo_n "(cached) " >&6
   7815 else
   7816   lt_cv_with_aix_soname=aix
   7817 fi
   7818 
   7819     with_aix_soname=$lt_cv_with_aix_soname
   7820 fi
   7821 
   7822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   7823 $as_echo "$with_aix_soname" >&6; }
   7824   if test aix != "$with_aix_soname"; then
   7825     # For the AIX way of multilib, we name the shared archive member
   7826     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   7827     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   7828     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   7829     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   7830     if test 64 = "${OBJECT_MODE-32}"; then
   7831       shared_archive_member_spec=shr_64
   7832     else
   7833       shared_archive_member_spec=shr
   7834     fi
   7835   fi
   7836   ;;
   7837 *)
   7838   with_aix_soname=aix
   7839   ;;
   7840 esac
   7841 
   7842 
   7843 
   7844 
   7845 
   7846 
   7847 
   7848 
   7849 
   7850 
   7851 # This can be used to rebuild libtool when needed
   7852 LIBTOOL_DEPS=$ltmain
   7853 
   7854 # Always use our own libtool.
   7855 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7856 
   7857 
   7858 
   7859 
   7860 
   7861 
   7862 
   7863 
   7864 
   7865 
   7866 
   7867 
   7868 
   7869 
   7870 
   7871 
   7872 
   7873 
   7874 
   7875 
   7876 
   7877 
   7878 
   7879 
   7880 
   7881 
   7882 
   7883 
   7884 
   7885 
   7886 test -z "$LN_S" && LN_S="ln -s"
   7887 
   7888 
   7889 
   7890 
   7891 
   7892 
   7893 
   7894 
   7895 
   7896 
   7897 
   7898 
   7899 
   7900 
   7901 if test -n "${ZSH_VERSION+set}"; then
   7902    setopt NO_GLOB_SUBST
   7903 fi
   7904 
   7905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7906 $as_echo_n "checking for objdir... " >&6; }
   7907 if ${lt_cv_objdir+:} false; then :
   7908   $as_echo_n "(cached) " >&6
   7909 else
   7910   rm -f .libs 2>/dev/null
   7911 mkdir .libs 2>/dev/null
   7912 if test -d .libs; then
   7913   lt_cv_objdir=.libs
   7914 else
   7915   # MS-DOS does not allow filenames that begin with a dot.
   7916   lt_cv_objdir=_libs
   7917 fi
   7918 rmdir .libs 2>/dev/null
   7919 fi
   7920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7921 $as_echo "$lt_cv_objdir" >&6; }
   7922 objdir=$lt_cv_objdir
   7923 
   7924 
   7925 
   7926 
   7927 
   7928 cat >>confdefs.h <<_ACEOF
   7929 #define LT_OBJDIR "$lt_cv_objdir/"
   7930 _ACEOF
   7931 
   7932 
   7933 
   7934 
   7935 case $host_os in
   7936 aix3*)
   7937   # AIX sometimes has problems with the GCC collect2 program.  For some
   7938   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7939   # vanish in a puff of smoke.
   7940   if test set != "${COLLECT_NAMES+set}"; then
   7941     COLLECT_NAMES=
   7942     export COLLECT_NAMES
   7943   fi
   7944   ;;
   7945 esac
   7946 
   7947 # Global variables:
   7948 ofile=libtool
   7949 can_build_shared=yes
   7950 
   7951 # All known linkers require a '.a' archive for static linking (except MSVC,
   7952 # which needs '.lib').
   7953 libext=a
   7954 
   7955 with_gnu_ld=$lt_cv_prog_gnu_ld
   7956 
   7957 old_CC=$CC
   7958 old_CFLAGS=$CFLAGS
   7959 
   7960 # Set sane defaults for various variables
   7961 test -z "$CC" && CC=cc
   7962 test -z "$LTCC" && LTCC=$CC
   7963 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7964 test -z "$LD" && LD=ld
   7965 test -z "$ac_objext" && ac_objext=o
   7966 
   7967 func_cc_basename $compiler
   7968 cc_basename=$func_cc_basename_result
   7969 
   7970 
   7971 # Only perform the check for file, if the check method requires it
   7972 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7973 case $deplibs_check_method in
   7974 file_magic*)
   7975   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7976     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7977 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7978 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7979   $as_echo_n "(cached) " >&6
   7980 else
   7981   case $MAGIC_CMD in
   7982 [\\/*] |  ?:[\\/]*)
   7983   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   7984   ;;
   7985 *)
   7986   lt_save_MAGIC_CMD=$MAGIC_CMD
   7987   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   7988   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7989   for ac_dir in $ac_dummy; do
   7990     IFS=$lt_save_ifs
   7991     test -z "$ac_dir" && ac_dir=.
   7992     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   7993       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   7994       if test -n "$file_magic_test_file"; then
   7995 	case $deplibs_check_method in
   7996 	"file_magic "*)
   7997 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7998 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   7999 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8000 	    $EGREP "$file_magic_regex" > /dev/null; then
   8001 	    :
   8002 	  else
   8003 	    cat <<_LT_EOF 1>&2
   8004 
   8005 *** Warning: the command libtool uses to detect shared libraries,
   8006 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8007 *** The result is that libtool may fail to recognize shared libraries
   8008 *** as such.  This will affect the creation of libtool libraries that
   8009 *** depend on shared libraries, but programs linked with such libtool
   8010 *** libraries will work regardless of this problem.  Nevertheless, you
   8011 *** may want to report the problem to your system manager and/or to
   8012 *** bug-libtool (at] gnu.org
   8013 
   8014 _LT_EOF
   8015 	  fi ;;
   8016 	esac
   8017       fi
   8018       break
   8019     fi
   8020   done
   8021   IFS=$lt_save_ifs
   8022   MAGIC_CMD=$lt_save_MAGIC_CMD
   8023   ;;
   8024 esac
   8025 fi
   8026 
   8027 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8028 if test -n "$MAGIC_CMD"; then
   8029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8030 $as_echo "$MAGIC_CMD" >&6; }
   8031 else
   8032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8033 $as_echo "no" >&6; }
   8034 fi
   8035 
   8036 
   8037 
   8038 
   8039 
   8040 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8041   if test -n "$ac_tool_prefix"; then
   8042     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8043 $as_echo_n "checking for file... " >&6; }
   8044 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8045   $as_echo_n "(cached) " >&6
   8046 else
   8047   case $MAGIC_CMD in
   8048 [\\/*] |  ?:[\\/]*)
   8049   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8050   ;;
   8051 *)
   8052   lt_save_MAGIC_CMD=$MAGIC_CMD
   8053   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8054   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8055   for ac_dir in $ac_dummy; do
   8056     IFS=$lt_save_ifs
   8057     test -z "$ac_dir" && ac_dir=.
   8058     if test -f "$ac_dir/file"; then
   8059       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   8060       if test -n "$file_magic_test_file"; then
   8061 	case $deplibs_check_method in
   8062 	"file_magic "*)
   8063 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8064 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8065 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8066 	    $EGREP "$file_magic_regex" > /dev/null; then
   8067 	    :
   8068 	  else
   8069 	    cat <<_LT_EOF 1>&2
   8070 
   8071 *** Warning: the command libtool uses to detect shared libraries,
   8072 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8073 *** The result is that libtool may fail to recognize shared libraries
   8074 *** as such.  This will affect the creation of libtool libraries that
   8075 *** depend on shared libraries, but programs linked with such libtool
   8076 *** libraries will work regardless of this problem.  Nevertheless, you
   8077 *** may want to report the problem to your system manager and/or to
   8078 *** bug-libtool (at] gnu.org
   8079 
   8080 _LT_EOF
   8081 	  fi ;;
   8082 	esac
   8083       fi
   8084       break
   8085     fi
   8086   done
   8087   IFS=$lt_save_ifs
   8088   MAGIC_CMD=$lt_save_MAGIC_CMD
   8089   ;;
   8090 esac
   8091 fi
   8092 
   8093 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8094 if test -n "$MAGIC_CMD"; then
   8095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8096 $as_echo "$MAGIC_CMD" >&6; }
   8097 else
   8098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8099 $as_echo "no" >&6; }
   8100 fi
   8101 
   8102 
   8103   else
   8104     MAGIC_CMD=:
   8105   fi
   8106 fi
   8107 
   8108   fi
   8109   ;;
   8110 esac
   8111 
   8112 # Use C for the default configuration in the libtool script
   8113 
   8114 lt_save_CC=$CC
   8115 ac_ext=c
   8116 ac_cpp='$CPP $CPPFLAGS'
   8117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8120 
   8121 
   8122 # Source file extension for C test sources.
   8123 ac_ext=c
   8124 
   8125 # Object file extension for compiled C test sources.
   8126 objext=o
   8127 objext=$objext
   8128 
   8129 # Code to be used in simple compile tests
   8130 lt_simple_compile_test_code="int some_variable = 0;"
   8131 
   8132 # Code to be used in simple link tests
   8133 lt_simple_link_test_code='int main(){return(0);}'
   8134 
   8135 
   8136 
   8137 
   8138 
   8139 
   8140 
   8141 # If no C compiler was specified, use CC.
   8142 LTCC=${LTCC-"$CC"}
   8143 
   8144 # If no C compiler flags were specified, use CFLAGS.
   8145 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8146 
   8147 # Allow CC to be a program name with arguments.
   8148 compiler=$CC
   8149 
   8150 # Save the default compiler, since it gets overwritten when the other
   8151 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8152 compiler_DEFAULT=$CC
   8153 
   8154 # save warnings/boilerplate of simple test code
   8155 ac_outfile=conftest.$ac_objext
   8156 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8157 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8158 _lt_compiler_boilerplate=`cat conftest.err`
   8159 $RM conftest*
   8160 
   8161 ac_outfile=conftest.$ac_objext
   8162 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8163 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8164 _lt_linker_boilerplate=`cat conftest.err`
   8165 $RM -r conftest*
   8166 
   8167 
   8168 if test -n "$compiler"; then
   8169 
   8170 lt_prog_compiler_no_builtin_flag=
   8171 
   8172 if test yes = "$GCC"; then
   8173   case $cc_basename in
   8174   nvcc*)
   8175     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8176   *)
   8177     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8178   esac
   8179 
   8180   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8181 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8182 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8183   $as_echo_n "(cached) " >&6
   8184 else
   8185   lt_cv_prog_compiler_rtti_exceptions=no
   8186    ac_outfile=conftest.$ac_objext
   8187    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8188    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   8189    # Insert the option either (1) after the last *FLAGS variable, or
   8190    # (2) before a word containing "conftest.", or (3) at the end.
   8191    # Note that $ac_compile itself does not contain backslashes and begins
   8192    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8193    # The option is referenced via a variable to avoid confusing sed.
   8194    lt_compile=`echo "$ac_compile" | $SED \
   8195    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8196    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8197    -e 's:$: $lt_compiler_flag:'`
   8198    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8199    (eval "$lt_compile" 2>conftest.err)
   8200    ac_status=$?
   8201    cat conftest.err >&5
   8202    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8203    if (exit $ac_status) && test -s "$ac_outfile"; then
   8204      # The compiler can only warn and ignore the option if not recognized
   8205      # So say no if there are warnings other than the usual output.
   8206      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8207      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8208      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8209        lt_cv_prog_compiler_rtti_exceptions=yes
   8210      fi
   8211    fi
   8212    $RM conftest*
   8213 
   8214 fi
   8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8216 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8217 
   8218 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   8219     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8220 else
   8221     :
   8222 fi
   8223 
   8224 fi
   8225 
   8226 
   8227 
   8228 
   8229 
   8230 
   8231   lt_prog_compiler_wl=
   8232 lt_prog_compiler_pic=
   8233 lt_prog_compiler_static=
   8234 
   8235 
   8236   if test yes = "$GCC"; then
   8237     lt_prog_compiler_wl='-Wl,'
   8238     lt_prog_compiler_static='-static'
   8239 
   8240     case $host_os in
   8241       aix*)
   8242       # All AIX code is PIC.
   8243       if test ia64 = "$host_cpu"; then
   8244 	# AIX 5 now supports IA64 processor
   8245 	lt_prog_compiler_static='-Bstatic'
   8246       fi
   8247       lt_prog_compiler_pic='-fPIC'
   8248       ;;
   8249 
   8250     amigaos*)
   8251       case $host_cpu in
   8252       powerpc)
   8253             # see comment about AmigaOS4 .so support
   8254             lt_prog_compiler_pic='-fPIC'
   8255         ;;
   8256       m68k)
   8257             # FIXME: we need at least 68020 code to build shared libraries, but
   8258             # adding the '-m68020' flag to GCC prevents building anything better,
   8259             # like '-m68040'.
   8260             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8261         ;;
   8262       esac
   8263       ;;
   8264 
   8265     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8266       # PIC is the default for these OSes.
   8267       ;;
   8268 
   8269     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8270       # This hack is so that the source file can tell whether it is being
   8271       # built for inclusion in a dll (and should export symbols for example).
   8272       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8273       # (--disable-auto-import) libraries
   8274       lt_prog_compiler_pic='-DDLL_EXPORT'
   8275       case $host_os in
   8276       os2*)
   8277 	lt_prog_compiler_static='$wl-static'
   8278 	;;
   8279       esac
   8280       ;;
   8281 
   8282     darwin* | rhapsody*)
   8283       # PIC is the default on this platform
   8284       # Common symbols not allowed in MH_DYLIB files
   8285       lt_prog_compiler_pic='-fno-common'
   8286       ;;
   8287 
   8288     haiku*)
   8289       # PIC is the default for Haiku.
   8290       # The "-static" flag exists, but is broken.
   8291       lt_prog_compiler_static=
   8292       ;;
   8293 
   8294     hpux*)
   8295       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8296       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8297       # sets the default TLS model and affects inlining.
   8298       case $host_cpu in
   8299       hppa*64*)
   8300 	# +Z the default
   8301 	;;
   8302       *)
   8303 	lt_prog_compiler_pic='-fPIC'
   8304 	;;
   8305       esac
   8306       ;;
   8307 
   8308     interix[3-9]*)
   8309       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8310       # Instead, we relocate shared libraries at runtime.
   8311       ;;
   8312 
   8313     msdosdjgpp*)
   8314       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8315       # on systems that don't support them.
   8316       lt_prog_compiler_can_build_shared=no
   8317       enable_shared=no
   8318       ;;
   8319 
   8320     *nto* | *qnx*)
   8321       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8322       # it will coredump.
   8323       lt_prog_compiler_pic='-fPIC -shared'
   8324       ;;
   8325 
   8326     sysv4*MP*)
   8327       if test -d /usr/nec; then
   8328 	lt_prog_compiler_pic=-Kconform_pic
   8329       fi
   8330       ;;
   8331 
   8332     *)
   8333       lt_prog_compiler_pic='-fPIC'
   8334       ;;
   8335     esac
   8336 
   8337     case $cc_basename in
   8338     nvcc*) # Cuda Compiler Driver 2.2
   8339       lt_prog_compiler_wl='-Xlinker '
   8340       if test -n "$lt_prog_compiler_pic"; then
   8341         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   8342       fi
   8343       ;;
   8344     esac
   8345   else
   8346     # PORTME Check for flag to pass linker flags through the system compiler.
   8347     case $host_os in
   8348     aix*)
   8349       lt_prog_compiler_wl='-Wl,'
   8350       if test ia64 = "$host_cpu"; then
   8351 	# AIX 5 now supports IA64 processor
   8352 	lt_prog_compiler_static='-Bstatic'
   8353       else
   8354 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8355       fi
   8356       ;;
   8357 
   8358     darwin* | rhapsody*)
   8359       # PIC is the default on this platform
   8360       # Common symbols not allowed in MH_DYLIB files
   8361       lt_prog_compiler_pic='-fno-common'
   8362       case $cc_basename in
   8363       nagfor*)
   8364         # NAG Fortran compiler
   8365         lt_prog_compiler_wl='-Wl,-Wl,,'
   8366         lt_prog_compiler_pic='-PIC'
   8367         lt_prog_compiler_static='-Bstatic'
   8368         ;;
   8369       esac
   8370       ;;
   8371 
   8372     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8373       # This hack is so that the source file can tell whether it is being
   8374       # built for inclusion in a dll (and should export symbols for example).
   8375       lt_prog_compiler_pic='-DDLL_EXPORT'
   8376       case $host_os in
   8377       os2*)
   8378 	lt_prog_compiler_static='$wl-static'
   8379 	;;
   8380       esac
   8381       ;;
   8382 
   8383     hpux9* | hpux10* | hpux11*)
   8384       lt_prog_compiler_wl='-Wl,'
   8385       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8386       # not for PA HP-UX.
   8387       case $host_cpu in
   8388       hppa*64*|ia64*)
   8389 	# +Z the default
   8390 	;;
   8391       *)
   8392 	lt_prog_compiler_pic='+Z'
   8393 	;;
   8394       esac
   8395       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8396       lt_prog_compiler_static='$wl-a ${wl}archive'
   8397       ;;
   8398 
   8399     irix5* | irix6* | nonstopux*)
   8400       lt_prog_compiler_wl='-Wl,'
   8401       # PIC (with -KPIC) is the default.
   8402       lt_prog_compiler_static='-non_shared'
   8403       ;;
   8404 
   8405     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   8406       case $cc_basename in
   8407       # old Intel for x86_64, which still supported -KPIC.
   8408       ecc*)
   8409 	lt_prog_compiler_wl='-Wl,'
   8410 	lt_prog_compiler_pic='-KPIC'
   8411 	lt_prog_compiler_static='-static'
   8412         ;;
   8413       # icc used to be incompatible with GCC.
   8414       # ICC 10 doesn't accept -KPIC any more.
   8415       icc* | ifort*)
   8416 	lt_prog_compiler_wl='-Wl,'
   8417 	lt_prog_compiler_pic='-fPIC'
   8418 	lt_prog_compiler_static='-static'
   8419         ;;
   8420       # Lahey Fortran 8.1.
   8421       lf95*)
   8422 	lt_prog_compiler_wl='-Wl,'
   8423 	lt_prog_compiler_pic='--shared'
   8424 	lt_prog_compiler_static='--static'
   8425 	;;
   8426       nagfor*)
   8427 	# NAG Fortran compiler
   8428 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8429 	lt_prog_compiler_pic='-PIC'
   8430 	lt_prog_compiler_static='-Bstatic'
   8431 	;;
   8432       tcc*)
   8433 	# Fabrice Bellard et al's Tiny C Compiler
   8434 	lt_prog_compiler_wl='-Wl,'
   8435 	lt_prog_compiler_pic='-fPIC'
   8436 	lt_prog_compiler_static='-static'
   8437 	;;
   8438       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8439         # Portland Group compilers (*not* the Pentium gcc compiler,
   8440 	# which looks to be a dead project)
   8441 	lt_prog_compiler_wl='-Wl,'
   8442 	lt_prog_compiler_pic='-fpic'
   8443 	lt_prog_compiler_static='-Bstatic'
   8444         ;;
   8445       ccc*)
   8446         lt_prog_compiler_wl='-Wl,'
   8447         # All Alpha code is PIC.
   8448         lt_prog_compiler_static='-non_shared'
   8449         ;;
   8450       xl* | bgxl* | bgf* | mpixl*)
   8451 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8452 	lt_prog_compiler_wl='-Wl,'
   8453 	lt_prog_compiler_pic='-qpic'
   8454 	lt_prog_compiler_static='-qstaticlink'
   8455 	;;
   8456       *)
   8457 	case `$CC -V 2>&1 | sed 5q` in
   8458 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8459 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8460 	  lt_prog_compiler_pic='-KPIC'
   8461 	  lt_prog_compiler_static='-Bstatic'
   8462 	  lt_prog_compiler_wl=''
   8463 	  ;;
   8464 	*Sun\ F* | *Sun*Fortran*)
   8465 	  lt_prog_compiler_pic='-KPIC'
   8466 	  lt_prog_compiler_static='-Bstatic'
   8467 	  lt_prog_compiler_wl='-Qoption ld '
   8468 	  ;;
   8469 	*Sun\ C*)
   8470 	  # Sun C 5.9
   8471 	  lt_prog_compiler_pic='-KPIC'
   8472 	  lt_prog_compiler_static='-Bstatic'
   8473 	  lt_prog_compiler_wl='-Wl,'
   8474 	  ;;
   8475         *Intel*\ [CF]*Compiler*)
   8476 	  lt_prog_compiler_wl='-Wl,'
   8477 	  lt_prog_compiler_pic='-fPIC'
   8478 	  lt_prog_compiler_static='-static'
   8479 	  ;;
   8480 	*Portland\ Group*)
   8481 	  lt_prog_compiler_wl='-Wl,'
   8482 	  lt_prog_compiler_pic='-fpic'
   8483 	  lt_prog_compiler_static='-Bstatic'
   8484 	  ;;
   8485 	esac
   8486 	;;
   8487       esac
   8488       ;;
   8489 
   8490     newsos6)
   8491       lt_prog_compiler_pic='-KPIC'
   8492       lt_prog_compiler_static='-Bstatic'
   8493       ;;
   8494 
   8495     *nto* | *qnx*)
   8496       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8497       # it will coredump.
   8498       lt_prog_compiler_pic='-fPIC -shared'
   8499       ;;
   8500 
   8501     osf3* | osf4* | osf5*)
   8502       lt_prog_compiler_wl='-Wl,'
   8503       # All OSF/1 code is PIC.
   8504       lt_prog_compiler_static='-non_shared'
   8505       ;;
   8506 
   8507     rdos*)
   8508       lt_prog_compiler_static='-non_shared'
   8509       ;;
   8510 
   8511     solaris*)
   8512       lt_prog_compiler_pic='-KPIC'
   8513       lt_prog_compiler_static='-Bstatic'
   8514       case $cc_basename in
   8515       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8516 	lt_prog_compiler_wl='-Qoption ld ';;
   8517       *)
   8518 	lt_prog_compiler_wl='-Wl,';;
   8519       esac
   8520       ;;
   8521 
   8522     sunos4*)
   8523       lt_prog_compiler_wl='-Qoption ld '
   8524       lt_prog_compiler_pic='-PIC'
   8525       lt_prog_compiler_static='-Bstatic'
   8526       ;;
   8527 
   8528     sysv4 | sysv4.2uw2* | sysv4.3*)
   8529       lt_prog_compiler_wl='-Wl,'
   8530       lt_prog_compiler_pic='-KPIC'
   8531       lt_prog_compiler_static='-Bstatic'
   8532       ;;
   8533 
   8534     sysv4*MP*)
   8535       if test -d /usr/nec; then
   8536 	lt_prog_compiler_pic='-Kconform_pic'
   8537 	lt_prog_compiler_static='-Bstatic'
   8538       fi
   8539       ;;
   8540 
   8541     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8542       lt_prog_compiler_wl='-Wl,'
   8543       lt_prog_compiler_pic='-KPIC'
   8544       lt_prog_compiler_static='-Bstatic'
   8545       ;;
   8546 
   8547     unicos*)
   8548       lt_prog_compiler_wl='-Wl,'
   8549       lt_prog_compiler_can_build_shared=no
   8550       ;;
   8551 
   8552     uts4*)
   8553       lt_prog_compiler_pic='-pic'
   8554       lt_prog_compiler_static='-Bstatic'
   8555       ;;
   8556 
   8557     *)
   8558       lt_prog_compiler_can_build_shared=no
   8559       ;;
   8560     esac
   8561   fi
   8562 
   8563 case $host_os in
   8564   # For platforms that do not support PIC, -DPIC is meaningless:
   8565   *djgpp*)
   8566     lt_prog_compiler_pic=
   8567     ;;
   8568   *)
   8569     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8570     ;;
   8571 esac
   8572 
   8573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8574 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8575 if ${lt_cv_prog_compiler_pic+:} false; then :
   8576   $as_echo_n "(cached) " >&6
   8577 else
   8578   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8579 fi
   8580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8581 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8582 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8583 
   8584 #
   8585 # Check to make sure the PIC flag actually works.
   8586 #
   8587 if test -n "$lt_prog_compiler_pic"; then
   8588   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8589 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8590 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8591   $as_echo_n "(cached) " >&6
   8592 else
   8593   lt_cv_prog_compiler_pic_works=no
   8594    ac_outfile=conftest.$ac_objext
   8595    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8596    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   8597    # Insert the option either (1) after the last *FLAGS variable, or
   8598    # (2) before a word containing "conftest.", or (3) at the end.
   8599    # Note that $ac_compile itself does not contain backslashes and begins
   8600    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8601    # The option is referenced via a variable to avoid confusing sed.
   8602    lt_compile=`echo "$ac_compile" | $SED \
   8603    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8604    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8605    -e 's:$: $lt_compiler_flag:'`
   8606    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8607    (eval "$lt_compile" 2>conftest.err)
   8608    ac_status=$?
   8609    cat conftest.err >&5
   8610    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8611    if (exit $ac_status) && test -s "$ac_outfile"; then
   8612      # The compiler can only warn and ignore the option if not recognized
   8613      # So say no if there are warnings other than the usual output.
   8614      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8615      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8616      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8617        lt_cv_prog_compiler_pic_works=yes
   8618      fi
   8619    fi
   8620    $RM conftest*
   8621 
   8622 fi
   8623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8624 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8625 
   8626 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   8627     case $lt_prog_compiler_pic in
   8628      "" | " "*) ;;
   8629      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8630      esac
   8631 else
   8632     lt_prog_compiler_pic=
   8633      lt_prog_compiler_can_build_shared=no
   8634 fi
   8635 
   8636 fi
   8637 
   8638 
   8639 
   8640 
   8641 
   8642 
   8643 
   8644 
   8645 
   8646 
   8647 
   8648 #
   8649 # Check to make sure the static flag actually works.
   8650 #
   8651 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8653 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8654 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8655   $as_echo_n "(cached) " >&6
   8656 else
   8657   lt_cv_prog_compiler_static_works=no
   8658    save_LDFLAGS=$LDFLAGS
   8659    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8660    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8661    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8662      # The linker can only warn and ignore the option if not recognized
   8663      # So say no if there are warnings
   8664      if test -s conftest.err; then
   8665        # Append any errors to the config.log.
   8666        cat conftest.err 1>&5
   8667        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8668        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8669        if diff conftest.exp conftest.er2 >/dev/null; then
   8670          lt_cv_prog_compiler_static_works=yes
   8671        fi
   8672      else
   8673        lt_cv_prog_compiler_static_works=yes
   8674      fi
   8675    fi
   8676    $RM -r conftest*
   8677    LDFLAGS=$save_LDFLAGS
   8678 
   8679 fi
   8680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8681 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8682 
   8683 if test yes = "$lt_cv_prog_compiler_static_works"; then
   8684     :
   8685 else
   8686     lt_prog_compiler_static=
   8687 fi
   8688 
   8689 
   8690 
   8691 
   8692 
   8693 
   8694 
   8695   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8696 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8697 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8698   $as_echo_n "(cached) " >&6
   8699 else
   8700   lt_cv_prog_compiler_c_o=no
   8701    $RM -r conftest 2>/dev/null
   8702    mkdir conftest
   8703    cd conftest
   8704    mkdir out
   8705    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8706 
   8707    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8708    # Insert the option either (1) after the last *FLAGS variable, or
   8709    # (2) before a word containing "conftest.", or (3) at the end.
   8710    # Note that $ac_compile itself does not contain backslashes and begins
   8711    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8712    lt_compile=`echo "$ac_compile" | $SED \
   8713    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8714    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8715    -e 's:$: $lt_compiler_flag:'`
   8716    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8717    (eval "$lt_compile" 2>out/conftest.err)
   8718    ac_status=$?
   8719    cat out/conftest.err >&5
   8720    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8721    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8722    then
   8723      # The compiler can only warn and ignore the option if not recognized
   8724      # So say no if there are warnings
   8725      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8726      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8727      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8728        lt_cv_prog_compiler_c_o=yes
   8729      fi
   8730    fi
   8731    chmod u+w . 2>&5
   8732    $RM conftest*
   8733    # SGI C++ compiler will create directory out/ii_files/ for
   8734    # template instantiation
   8735    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8736    $RM out/* && rmdir out
   8737    cd ..
   8738    $RM -r conftest
   8739    $RM conftest*
   8740 
   8741 fi
   8742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8743 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8744 
   8745 
   8746 
   8747 
   8748 
   8749 
   8750   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8751 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8752 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8753   $as_echo_n "(cached) " >&6
   8754 else
   8755   lt_cv_prog_compiler_c_o=no
   8756    $RM -r conftest 2>/dev/null
   8757    mkdir conftest
   8758    cd conftest
   8759    mkdir out
   8760    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8761 
   8762    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8763    # Insert the option either (1) after the last *FLAGS variable, or
   8764    # (2) before a word containing "conftest.", or (3) at the end.
   8765    # Note that $ac_compile itself does not contain backslashes and begins
   8766    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8767    lt_compile=`echo "$ac_compile" | $SED \
   8768    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8769    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8770    -e 's:$: $lt_compiler_flag:'`
   8771    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8772    (eval "$lt_compile" 2>out/conftest.err)
   8773    ac_status=$?
   8774    cat out/conftest.err >&5
   8775    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8776    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8777    then
   8778      # The compiler can only warn and ignore the option if not recognized
   8779      # So say no if there are warnings
   8780      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8781      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8782      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8783        lt_cv_prog_compiler_c_o=yes
   8784      fi
   8785    fi
   8786    chmod u+w . 2>&5
   8787    $RM conftest*
   8788    # SGI C++ compiler will create directory out/ii_files/ for
   8789    # template instantiation
   8790    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8791    $RM out/* && rmdir out
   8792    cd ..
   8793    $RM -r conftest
   8794    $RM conftest*
   8795 
   8796 fi
   8797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8798 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8799 
   8800 
   8801 
   8802 
   8803 hard_links=nottested
   8804 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   8805   # do not overwrite the value of need_locks provided by the user
   8806   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8807 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8808   hard_links=yes
   8809   $RM conftest*
   8810   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8811   touch conftest.a
   8812   ln conftest.a conftest.b 2>&5 || hard_links=no
   8813   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8815 $as_echo "$hard_links" >&6; }
   8816   if test no = "$hard_links"; then
   8817     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   8818 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   8819     need_locks=warn
   8820   fi
   8821 else
   8822   need_locks=no
   8823 fi
   8824 
   8825 
   8826 
   8827 
   8828 
   8829 
   8830   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8831 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8832 
   8833   runpath_var=
   8834   allow_undefined_flag=
   8835   always_export_symbols=no
   8836   archive_cmds=
   8837   archive_expsym_cmds=
   8838   compiler_needs_object=no
   8839   enable_shared_with_static_runtimes=no
   8840   export_dynamic_flag_spec=
   8841   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8842   hardcode_automatic=no
   8843   hardcode_direct=no
   8844   hardcode_direct_absolute=no
   8845   hardcode_libdir_flag_spec=
   8846   hardcode_libdir_separator=
   8847   hardcode_minus_L=no
   8848   hardcode_shlibpath_var=unsupported
   8849   inherit_rpath=no
   8850   link_all_deplibs=unknown
   8851   module_cmds=
   8852   module_expsym_cmds=
   8853   old_archive_from_new_cmds=
   8854   old_archive_from_expsyms_cmds=
   8855   thread_safe_flag_spec=
   8856   whole_archive_flag_spec=
   8857   # include_expsyms should be a list of space-separated symbols to be *always*
   8858   # included in the symbol list
   8859   include_expsyms=
   8860   # exclude_expsyms can be an extended regexp of symbols to exclude
   8861   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   8862   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   8863   # as well as any symbol that contains 'd'.
   8864   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8865   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8866   # platforms (ab)use it in PIC code, but their linkers get confused if
   8867   # the symbol is explicitly referenced.  Since portable code cannot
   8868   # rely on this symbol name, it's probably fine to never include it in
   8869   # preloaded symbol tables.
   8870   # Exclude shared library initialization/finalization symbols.
   8871   extract_expsyms_cmds=
   8872 
   8873   case $host_os in
   8874   cygwin* | mingw* | pw32* | cegcc*)
   8875     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8876     # When not using gcc, we currently assume that we are using
   8877     # Microsoft Visual C++.
   8878     if test yes != "$GCC"; then
   8879       with_gnu_ld=no
   8880     fi
   8881     ;;
   8882   interix*)
   8883     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8884     with_gnu_ld=yes
   8885     ;;
   8886   openbsd* | bitrig*)
   8887     with_gnu_ld=no
   8888     ;;
   8889   esac
   8890 
   8891   ld_shlibs=yes
   8892 
   8893   # On some targets, GNU ld is compatible enough with the native linker
   8894   # that we're better off using the native interface for both.
   8895   lt_use_gnu_ld_interface=no
   8896   if test yes = "$with_gnu_ld"; then
   8897     case $host_os in
   8898       aix*)
   8899 	# The AIX port of GNU ld has always aspired to compatibility
   8900 	# with the native linker.  However, as the warning in the GNU ld
   8901 	# block says, versions before 2.19.5* couldn't really create working
   8902 	# shared libraries, regardless of the interface used.
   8903 	case `$LD -v 2>&1` in
   8904 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8905 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8906 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8907 	  *)
   8908 	    lt_use_gnu_ld_interface=yes
   8909 	    ;;
   8910 	esac
   8911 	;;
   8912       *)
   8913 	lt_use_gnu_ld_interface=yes
   8914 	;;
   8915     esac
   8916   fi
   8917 
   8918   if test yes = "$lt_use_gnu_ld_interface"; then
   8919     # If archive_cmds runs LD, not CC, wlarc should be empty
   8920     wlarc='$wl'
   8921 
   8922     # Set some defaults for GNU ld with shared library support. These
   8923     # are reset later if shared libraries are not supported. Putting them
   8924     # here allows them to be overridden if necessary.
   8925     runpath_var=LD_RUN_PATH
   8926     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   8927     export_dynamic_flag_spec='$wl--export-dynamic'
   8928     # ancient GNU ld didn't support --whole-archive et. al.
   8929     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8930       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   8931     else
   8932       whole_archive_flag_spec=
   8933     fi
   8934     supports_anon_versioning=no
   8935     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
   8936       *GNU\ gold*) supports_anon_versioning=yes ;;
   8937       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8938       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8939       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8940       *\ 2.11.*) ;; # other 2.11 versions
   8941       *) supports_anon_versioning=yes ;;
   8942     esac
   8943 
   8944     # See if GNU ld supports shared libraries.
   8945     case $host_os in
   8946     aix[3-9]*)
   8947       # On AIX/PPC, the GNU linker is very broken
   8948       if test ia64 != "$host_cpu"; then
   8949 	ld_shlibs=no
   8950 	cat <<_LT_EOF 1>&2
   8951 
   8952 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8953 *** to be unable to reliably create shared libraries on AIX.
   8954 *** Therefore, libtool is disabling shared libraries support.  If you
   8955 *** really care for shared libraries, you may want to install binutils
   8956 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8957 *** You will then need to restart the configuration process.
   8958 
   8959 _LT_EOF
   8960       fi
   8961       ;;
   8962 
   8963     amigaos*)
   8964       case $host_cpu in
   8965       powerpc)
   8966             # see comment about AmigaOS4 .so support
   8967             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   8968             archive_expsym_cmds=''
   8969         ;;
   8970       m68k)
   8971             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)'
   8972             hardcode_libdir_flag_spec='-L$libdir'
   8973             hardcode_minus_L=yes
   8974         ;;
   8975       esac
   8976       ;;
   8977 
   8978     beos*)
   8979       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8980 	allow_undefined_flag=unsupported
   8981 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8982 	# support --undefined.  This deserves some investigation.  FIXME
   8983 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   8984       else
   8985 	ld_shlibs=no
   8986       fi
   8987       ;;
   8988 
   8989     cygwin* | mingw* | pw32* | cegcc*)
   8990       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8991       # as there is no search path for DLLs.
   8992       hardcode_libdir_flag_spec='-L$libdir'
   8993       export_dynamic_flag_spec='$wl--export-all-symbols'
   8994       allow_undefined_flag=unsupported
   8995       always_export_symbols=no
   8996       enable_shared_with_static_runtimes=yes
   8997       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'
   8998       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   8999 
   9000       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9001         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9002 	# If the export-symbols file already is a .def file, use it as
   9003 	# is; otherwise, prepend EXPORTS...
   9004 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   9005           cp $export_symbols $output_objdir/$soname.def;
   9006         else
   9007           echo EXPORTS > $output_objdir/$soname.def;
   9008           cat $export_symbols >> $output_objdir/$soname.def;
   9009         fi~
   9010         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9011       else
   9012 	ld_shlibs=no
   9013       fi
   9014       ;;
   9015 
   9016     haiku*)
   9017       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9018       link_all_deplibs=yes
   9019       ;;
   9020 
   9021     os2*)
   9022       hardcode_libdir_flag_spec='-L$libdir'
   9023       hardcode_minus_L=yes
   9024       allow_undefined_flag=unsupported
   9025       shrext_cmds=.dll
   9026       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9027 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9028 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9029 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9030 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   9031 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9032 	emximp -o $lib $output_objdir/$libname.def'
   9033       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9034 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9035 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9036 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9037 	prefix_cmds="$SED"~
   9038 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   9039 	  prefix_cmds="$prefix_cmds -e 1d";
   9040 	fi~
   9041 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   9042 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   9043 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9044 	emximp -o $lib $output_objdir/$libname.def'
   9045       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   9046       enable_shared_with_static_runtimes=yes
   9047       ;;
   9048 
   9049     interix[3-9]*)
   9050       hardcode_direct=no
   9051       hardcode_shlibpath_var=no
   9052       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   9053       export_dynamic_flag_spec='$wl-E'
   9054       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9055       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9056       # default) and relocated if they conflict, which is a slow very memory
   9057       # consuming and fragmenting process.  To avoid this, we pick a random,
   9058       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9059       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9060       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9061       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'
   9062       ;;
   9063 
   9064     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9065       tmp_diet=no
   9066       if test linux-dietlibc = "$host_os"; then
   9067 	case $cc_basename in
   9068 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9069 	esac
   9070       fi
   9071       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9072 	 && test no = "$tmp_diet"
   9073       then
   9074 	tmp_addflag=' $pic_flag'
   9075 	tmp_sharedflag='-shared'
   9076 	case $cc_basename,$host_cpu in
   9077         pgcc*)				# Portland Group C compiler
   9078 	  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'
   9079 	  tmp_addflag=' $pic_flag'
   9080 	  ;;
   9081 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9082 					# Portland Group f77 and f90 compilers
   9083 	  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'
   9084 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9085 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9086 	  tmp_addflag=' -i_dynamic' ;;
   9087 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9088 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9089 	ifc* | ifort*)			# Intel Fortran compiler
   9090 	  tmp_addflag=' -nofor_main' ;;
   9091 	lf95*)				# Lahey Fortran 8.1
   9092 	  whole_archive_flag_spec=
   9093 	  tmp_sharedflag='--shared' ;;
   9094         nagfor*)                        # NAGFOR 5.3
   9095           tmp_sharedflag='-Wl,-shared' ;;
   9096 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9097 	  tmp_sharedflag='-qmkshrobj'
   9098 	  tmp_addflag= ;;
   9099 	nvcc*)	# Cuda Compiler Driver 2.2
   9100 	  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'
   9101 	  compiler_needs_object=yes
   9102 	  ;;
   9103 	esac
   9104 	case `$CC -V 2>&1 | sed 5q` in
   9105 	*Sun\ C*)			# Sun C 5.9
   9106 	  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'
   9107 	  compiler_needs_object=yes
   9108 	  tmp_sharedflag='-G' ;;
   9109 	*Sun\ F*)			# Sun Fortran 8.3
   9110 	  tmp_sharedflag='-G' ;;
   9111 	esac
   9112 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9113 
   9114         if test yes = "$supports_anon_versioning"; then
   9115           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9116             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9117             echo "local: *; };" >> $output_objdir/$libname.ver~
   9118             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   9119         fi
   9120 
   9121 	case $cc_basename in
   9122 	tcc*)
   9123 	  export_dynamic_flag_spec='-rdynamic'
   9124 	  ;;
   9125 	xlf* | bgf* | bgxlf* | mpixlf*)
   9126 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9127 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9128 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9129 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   9130 	  if test yes = "$supports_anon_versioning"; then
   9131 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9132               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9133               echo "local: *; };" >> $output_objdir/$libname.ver~
   9134               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9135 	  fi
   9136 	  ;;
   9137 	esac
   9138       else
   9139         ld_shlibs=no
   9140       fi
   9141       ;;
   9142 
   9143     netbsd*)
   9144       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9145 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9146 	wlarc=
   9147       else
   9148 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9149 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9150       fi
   9151       ;;
   9152 
   9153     solaris*)
   9154       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9155 	ld_shlibs=no
   9156 	cat <<_LT_EOF 1>&2
   9157 
   9158 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9159 *** create shared libraries on Solaris systems.  Therefore, libtool
   9160 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9161 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9162 *** your PATH or compiler configuration so that the native linker is
   9163 *** used, and then restart.
   9164 
   9165 _LT_EOF
   9166       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9167 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9168 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9169       else
   9170 	ld_shlibs=no
   9171       fi
   9172       ;;
   9173 
   9174     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9175       case `$LD -v 2>&1` in
   9176         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9177 	ld_shlibs=no
   9178 	cat <<_LT_EOF 1>&2
   9179 
   9180 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   9181 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9182 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9183 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9184 *** your PATH or compiler configuration so that the native linker is
   9185 *** used, and then restart.
   9186 
   9187 _LT_EOF
   9188 	;;
   9189 	*)
   9190 	  # For security reasons, it is highly recommended that you always
   9191 	  # use absolute paths for naming shared libraries, and exclude the
   9192 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9193 	  # requires that you compile everything twice, which is a pain.
   9194 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9195 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9196 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9197 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9198 	  else
   9199 	    ld_shlibs=no
   9200 	  fi
   9201 	;;
   9202       esac
   9203       ;;
   9204 
   9205     sunos4*)
   9206       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9207       wlarc=
   9208       hardcode_direct=yes
   9209       hardcode_shlibpath_var=no
   9210       ;;
   9211 
   9212     *)
   9213       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9214 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9215 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9216       else
   9217 	ld_shlibs=no
   9218       fi
   9219       ;;
   9220     esac
   9221 
   9222     if test no = "$ld_shlibs"; then
   9223       runpath_var=
   9224       hardcode_libdir_flag_spec=
   9225       export_dynamic_flag_spec=
   9226       whole_archive_flag_spec=
   9227     fi
   9228   else
   9229     # PORTME fill in a description of your system's linker (not GNU ld)
   9230     case $host_os in
   9231     aix3*)
   9232       allow_undefined_flag=unsupported
   9233       always_export_symbols=yes
   9234       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'
   9235       # Note: this linker hardcodes the directories in LIBPATH if there
   9236       # are no directories specified by -L.
   9237       hardcode_minus_L=yes
   9238       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   9239 	# Neither direct hardcoding nor static linking is supported with a
   9240 	# broken collect2.
   9241 	hardcode_direct=unsupported
   9242       fi
   9243       ;;
   9244 
   9245     aix[4-9]*)
   9246       if test ia64 = "$host_cpu"; then
   9247 	# On IA64, the linker does run time linking by default, so we don't
   9248 	# have to do anything special.
   9249 	aix_use_runtimelinking=no
   9250 	exp_sym_flag='-Bexport'
   9251 	no_entry_flag=
   9252       else
   9253 	# If we're using GNU nm, then we don't want the "-C" option.
   9254 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   9255 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   9256 	# weak defined symbols like other global defined symbols, whereas
   9257 	# GNU nm marks them as "W".
   9258 	# While the 'weak' keyword is ignored in the Export File, we need
   9259 	# it in the Import File for the 'aix-soname' feature, so we have
   9260 	# to replace the "-B" option with "-P" for AIX nm.
   9261 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9262 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
   9263 	else
   9264 	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
   9265 	fi
   9266 	aix_use_runtimelinking=no
   9267 
   9268 	# Test if we are trying to use run time linking or normal
   9269 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9270 	# have runtime linking enabled, and use it for executables.
   9271 	# For shared libraries, we enable/disable runtime linking
   9272 	# depending on the kind of the shared library created -
   9273 	# when "with_aix_soname,aix_use_runtimelinking" is:
   9274 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   9275 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   9276 	#            lib.a           static archive
   9277 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   9278 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   9279 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   9280 	#            lib.a(lib.so.V) shared, rtl:no
   9281 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   9282 	#            lib.a           static archive
   9283 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9284 	  for ld_flag in $LDFLAGS; do
   9285 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   9286 	    aix_use_runtimelinking=yes
   9287 	    break
   9288 	  fi
   9289 	  done
   9290 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   9291 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   9292 	    # so we don't have lib.a shared libs to link our executables.
   9293 	    # We have to force runtime linking in this case.
   9294 	    aix_use_runtimelinking=yes
   9295 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   9296 	  fi
   9297 	  ;;
   9298 	esac
   9299 
   9300 	exp_sym_flag='-bexport'
   9301 	no_entry_flag='-bnoentry'
   9302       fi
   9303 
   9304       # When large executables or shared objects are built, AIX ld can
   9305       # have problems creating the table of contents.  If linking a library
   9306       # or program results in "error TOC overflow" add -mminimal-toc to
   9307       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9308       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9309 
   9310       archive_cmds=''
   9311       hardcode_direct=yes
   9312       hardcode_direct_absolute=yes
   9313       hardcode_libdir_separator=':'
   9314       link_all_deplibs=yes
   9315       file_list_spec='$wl-f,'
   9316       case $with_aix_soname,$aix_use_runtimelinking in
   9317       aix,*) ;; # traditional, no import file
   9318       svr4,* | *,yes) # use import file
   9319 	# The Import File defines what to hardcode.
   9320 	hardcode_direct=no
   9321 	hardcode_direct_absolute=no
   9322 	;;
   9323       esac
   9324 
   9325       if test yes = "$GCC"; then
   9326 	case $host_os in aix4.[012]|aix4.[012].*)
   9327 	# We only want to do this on AIX 4.2 and lower, the check
   9328 	# below for broken collect2 doesn't work under 4.3+
   9329 	  collect2name=`$CC -print-prog-name=collect2`
   9330 	  if test -f "$collect2name" &&
   9331 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9332 	  then
   9333 	  # We have reworked collect2
   9334 	  :
   9335 	  else
   9336 	  # We have old collect2
   9337 	  hardcode_direct=unsupported
   9338 	  # It fails to find uninstalled libraries when the uninstalled
   9339 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9340 	  # to unsupported forces relinking
   9341 	  hardcode_minus_L=yes
   9342 	  hardcode_libdir_flag_spec='-L$libdir'
   9343 	  hardcode_libdir_separator=
   9344 	  fi
   9345 	  ;;
   9346 	esac
   9347 	shared_flag='-shared'
   9348 	if test yes = "$aix_use_runtimelinking"; then
   9349 	  shared_flag="$shared_flag "'$wl-G'
   9350 	fi
   9351 	# Need to ensure runtime linking is disabled for the traditional
   9352 	# shared library, or the linker may eventually find shared libraries
   9353 	# /with/ Import File - we do not want to mix them.
   9354 	shared_flag_aix='-shared'
   9355 	shared_flag_svr4='-shared $wl-G'
   9356       else
   9357 	# not using gcc
   9358 	if test ia64 = "$host_cpu"; then
   9359 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9360 	# chokes on -Wl,-G. The following line is correct:
   9361 	  shared_flag='-G'
   9362 	else
   9363 	  if test yes = "$aix_use_runtimelinking"; then
   9364 	    shared_flag='$wl-G'
   9365 	  else
   9366 	    shared_flag='$wl-bM:SRE'
   9367 	  fi
   9368 	  shared_flag_aix='$wl-bM:SRE'
   9369 	  shared_flag_svr4='$wl-G'
   9370 	fi
   9371       fi
   9372 
   9373       export_dynamic_flag_spec='$wl-bexpall'
   9374       # It seems that -bexpall does not export symbols beginning with
   9375       # underscore (_), so it is better to generate a list of symbols to export.
   9376       always_export_symbols=yes
   9377       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   9378 	# Warning - without using the other runtime loading flags (-brtl),
   9379 	# -berok will link without error, but may produce a broken library.
   9380 	allow_undefined_flag='-berok'
   9381         # Determine the default libpath from the value encoded in an
   9382         # empty executable.
   9383         if test set = "${lt_cv_aix_libpath+set}"; then
   9384   aix_libpath=$lt_cv_aix_libpath
   9385 else
   9386   if ${lt_cv_aix_libpath_+:} false; then :
   9387   $as_echo_n "(cached) " >&6
   9388 else
   9389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9390 /* end confdefs.h.  */
   9391 
   9392 int
   9393 main ()
   9394 {
   9395 
   9396   ;
   9397   return 0;
   9398 }
   9399 _ACEOF
   9400 if ac_fn_c_try_link "$LINENO"; then :
   9401 
   9402   lt_aix_libpath_sed='
   9403       /Import File Strings/,/^$/ {
   9404 	  /^0/ {
   9405 	      s/^0  *\([^ ]*\) *$/\1/
   9406 	      p
   9407 	  }
   9408       }'
   9409   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9410   # Check for a 64-bit object if we didn't find anything.
   9411   if test -z "$lt_cv_aix_libpath_"; then
   9412     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9413   fi
   9414 fi
   9415 rm -f core conftest.err conftest.$ac_objext \
   9416     conftest$ac_exeext conftest.$ac_ext
   9417   if test -z "$lt_cv_aix_libpath_"; then
   9418     lt_cv_aix_libpath_=/usr/lib:/lib
   9419   fi
   9420 
   9421 fi
   9422 
   9423   aix_libpath=$lt_cv_aix_libpath_
   9424 fi
   9425 
   9426         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   9427         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
   9428       else
   9429 	if test ia64 = "$host_cpu"; then
   9430 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   9431 	  allow_undefined_flag="-z nodefs"
   9432 	  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"
   9433 	else
   9434 	 # Determine the default libpath from the value encoded in an
   9435 	 # empty executable.
   9436 	 if test set = "${lt_cv_aix_libpath+set}"; then
   9437   aix_libpath=$lt_cv_aix_libpath
   9438 else
   9439   if ${lt_cv_aix_libpath_+:} false; then :
   9440   $as_echo_n "(cached) " >&6
   9441 else
   9442   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9443 /* end confdefs.h.  */
   9444 
   9445 int
   9446 main ()
   9447 {
   9448 
   9449   ;
   9450   return 0;
   9451 }
   9452 _ACEOF
   9453 if ac_fn_c_try_link "$LINENO"; then :
   9454 
   9455   lt_aix_libpath_sed='
   9456       /Import File Strings/,/^$/ {
   9457 	  /^0/ {
   9458 	      s/^0  *\([^ ]*\) *$/\1/
   9459 	      p
   9460 	  }
   9461       }'
   9462   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9463   # Check for a 64-bit object if we didn't find anything.
   9464   if test -z "$lt_cv_aix_libpath_"; then
   9465     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9466   fi
   9467 fi
   9468 rm -f core conftest.err conftest.$ac_objext \
   9469     conftest$ac_exeext conftest.$ac_ext
   9470   if test -z "$lt_cv_aix_libpath_"; then
   9471     lt_cv_aix_libpath_=/usr/lib:/lib
   9472   fi
   9473 
   9474 fi
   9475 
   9476   aix_libpath=$lt_cv_aix_libpath_
   9477 fi
   9478 
   9479 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   9480 	  # Warning - without using the other run time loading flags,
   9481 	  # -berok will link without error, but may produce a broken library.
   9482 	  no_undefined_flag=' $wl-bernotok'
   9483 	  allow_undefined_flag=' $wl-berok'
   9484 	  if test yes = "$with_gnu_ld"; then
   9485 	    # We only use this code for GNU lds that support --whole-archive.
   9486 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   9487 	  else
   9488 	    # Exported symbols can be pulled into shared objects from archives
   9489 	    whole_archive_flag_spec='$convenience'
   9490 	  fi
   9491 	  archive_cmds_need_lc=yes
   9492 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   9493 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   9494 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   9495 	  if test svr4 != "$with_aix_soname"; then
   9496 	    # This is similar to how AIX traditionally builds its shared libraries.
   9497 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
   9498 	  fi
   9499 	  if test aix != "$with_aix_soname"; then
   9500 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
   9501 	  else
   9502 	    # used by -dlpreopen to get the symbols
   9503 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   9504 	  fi
   9505 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   9506 	fi
   9507       fi
   9508       ;;
   9509 
   9510     amigaos*)
   9511       case $host_cpu in
   9512       powerpc)
   9513             # see comment about AmigaOS4 .so support
   9514             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9515             archive_expsym_cmds=''
   9516         ;;
   9517       m68k)
   9518             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)'
   9519             hardcode_libdir_flag_spec='-L$libdir'
   9520             hardcode_minus_L=yes
   9521         ;;
   9522       esac
   9523       ;;
   9524 
   9525     bsdi[45]*)
   9526       export_dynamic_flag_spec=-rdynamic
   9527       ;;
   9528 
   9529     cygwin* | mingw* | pw32* | cegcc*)
   9530       # When not using gcc, we currently assume that we are using
   9531       # Microsoft Visual C++.
   9532       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9533       # no search path for DLLs.
   9534       case $cc_basename in
   9535       cl*)
   9536 	# Native MSVC
   9537 	hardcode_libdir_flag_spec=' '
   9538 	allow_undefined_flag=unsupported
   9539 	always_export_symbols=yes
   9540 	file_list_spec='@'
   9541 	# Tell ltmain to make .lib files, not .a files.
   9542 	libext=lib
   9543 	# Tell ltmain to make .dll files, not .so files.
   9544 	shrext_cmds=.dll
   9545 	# FIXME: Setting linknames here is a bad hack.
   9546 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   9547 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   9548             cp "$export_symbols" "$output_objdir/$soname.def";
   9549             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   9550           else
   9551             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   9552           fi~
   9553           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9554           linknames='
   9555 	# The linker will not automatically build a static lib if we build a DLL.
   9556 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9557 	enable_shared_with_static_runtimes=yes
   9558 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9559 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9560 	# Don't use ranlib
   9561 	old_postinstall_cmds='chmod 644 $oldlib'
   9562 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9563           lt_tool_outputfile="@TOOL_OUTPUT@"~
   9564           case $lt_outputfile in
   9565             *.exe|*.EXE) ;;
   9566             *)
   9567               lt_outputfile=$lt_outputfile.exe
   9568               lt_tool_outputfile=$lt_tool_outputfile.exe
   9569               ;;
   9570           esac~
   9571           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   9572             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9573             $RM "$lt_outputfile.manifest";
   9574           fi'
   9575 	;;
   9576       *)
   9577 	# Assume MSVC wrapper
   9578 	hardcode_libdir_flag_spec=' '
   9579 	allow_undefined_flag=unsupported
   9580 	# Tell ltmain to make .lib files, not .a files.
   9581 	libext=lib
   9582 	# Tell ltmain to make .dll files, not .so files.
   9583 	shrext_cmds=.dll
   9584 	# FIXME: Setting linknames here is a bad hack.
   9585 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9586 	# The linker will automatically build a .lib file if we build a DLL.
   9587 	old_archive_from_new_cmds='true'
   9588 	# FIXME: Should let the user specify the lib program.
   9589 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9590 	enable_shared_with_static_runtimes=yes
   9591 	;;
   9592       esac
   9593       ;;
   9594 
   9595     darwin* | rhapsody*)
   9596 
   9597 
   9598   archive_cmds_need_lc=no
   9599   hardcode_direct=no
   9600   hardcode_automatic=yes
   9601   hardcode_shlibpath_var=unsupported
   9602   if test yes = "$lt_cv_ld_force_load"; then
   9603     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\"`'
   9604 
   9605   else
   9606     whole_archive_flag_spec=''
   9607   fi
   9608   link_all_deplibs=yes
   9609   allow_undefined_flag=$_lt_dar_allow_undefined
   9610   case $cc_basename in
   9611      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   9612      *) _lt_dar_can_shared=$GCC ;;
   9613   esac
   9614   if test yes = "$_lt_dar_can_shared"; then
   9615     output_verbose_link_cmd=func_echo_all
   9616     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   9617     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   9618     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"
   9619     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"
   9620 
   9621   else
   9622   ld_shlibs=no
   9623   fi
   9624 
   9625       ;;
   9626 
   9627     dgux*)
   9628       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9629       hardcode_libdir_flag_spec='-L$libdir'
   9630       hardcode_shlibpath_var=no
   9631       ;;
   9632 
   9633     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9634     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9635     # does not break anything, and helps significantly (at the cost of a little
   9636     # extra space).
   9637     freebsd2.2*)
   9638       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9639       hardcode_libdir_flag_spec='-R$libdir'
   9640       hardcode_direct=yes
   9641       hardcode_shlibpath_var=no
   9642       ;;
   9643 
   9644     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9645     freebsd2.*)
   9646       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9647       hardcode_direct=yes
   9648       hardcode_minus_L=yes
   9649       hardcode_shlibpath_var=no
   9650       ;;
   9651 
   9652     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9653     freebsd* | dragonfly*)
   9654       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9655       hardcode_libdir_flag_spec='-R$libdir'
   9656       hardcode_direct=yes
   9657       hardcode_shlibpath_var=no
   9658       ;;
   9659 
   9660     hpux9*)
   9661       if test yes = "$GCC"; then
   9662 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   9663       else
   9664 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   9665       fi
   9666       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   9667       hardcode_libdir_separator=:
   9668       hardcode_direct=yes
   9669 
   9670       # hardcode_minus_L: Not really in the search PATH,
   9671       # but as the default location of the library.
   9672       hardcode_minus_L=yes
   9673       export_dynamic_flag_spec='$wl-E'
   9674       ;;
   9675 
   9676     hpux10*)
   9677       if test yes,no = "$GCC,$with_gnu_ld"; then
   9678 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9679       else
   9680 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9681       fi
   9682       if test no = "$with_gnu_ld"; then
   9683 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   9684 	hardcode_libdir_separator=:
   9685 	hardcode_direct=yes
   9686 	hardcode_direct_absolute=yes
   9687 	export_dynamic_flag_spec='$wl-E'
   9688 	# hardcode_minus_L: Not really in the search PATH,
   9689 	# but as the default location of the library.
   9690 	hardcode_minus_L=yes
   9691       fi
   9692       ;;
   9693 
   9694     hpux11*)
   9695       if test yes,no = "$GCC,$with_gnu_ld"; then
   9696 	case $host_cpu in
   9697 	hppa*64*)
   9698 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   9699 	  ;;
   9700 	ia64*)
   9701 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9702 	  ;;
   9703 	*)
   9704 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9705 	  ;;
   9706 	esac
   9707       else
   9708 	case $host_cpu in
   9709 	hppa*64*)
   9710 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   9711 	  ;;
   9712 	ia64*)
   9713 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9714 	  ;;
   9715 	*)
   9716 
   9717 	  # Older versions of the 11.00 compiler do not understand -b yet
   9718 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9719 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9720 $as_echo_n "checking if $CC understands -b... " >&6; }
   9721 if ${lt_cv_prog_compiler__b+:} false; then :
   9722   $as_echo_n "(cached) " >&6
   9723 else
   9724   lt_cv_prog_compiler__b=no
   9725    save_LDFLAGS=$LDFLAGS
   9726    LDFLAGS="$LDFLAGS -b"
   9727    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9728    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9729      # The linker can only warn and ignore the option if not recognized
   9730      # So say no if there are warnings
   9731      if test -s conftest.err; then
   9732        # Append any errors to the config.log.
   9733        cat conftest.err 1>&5
   9734        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9735        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9736        if diff conftest.exp conftest.er2 >/dev/null; then
   9737          lt_cv_prog_compiler__b=yes
   9738        fi
   9739      else
   9740        lt_cv_prog_compiler__b=yes
   9741      fi
   9742    fi
   9743    $RM -r conftest*
   9744    LDFLAGS=$save_LDFLAGS
   9745 
   9746 fi
   9747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9748 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9749 
   9750 if test yes = "$lt_cv_prog_compiler__b"; then
   9751     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9752 else
   9753     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9754 fi
   9755 
   9756 	  ;;
   9757 	esac
   9758       fi
   9759       if test no = "$with_gnu_ld"; then
   9760 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   9761 	hardcode_libdir_separator=:
   9762 
   9763 	case $host_cpu in
   9764 	hppa*64*|ia64*)
   9765 	  hardcode_direct=no
   9766 	  hardcode_shlibpath_var=no
   9767 	  ;;
   9768 	*)
   9769 	  hardcode_direct=yes
   9770 	  hardcode_direct_absolute=yes
   9771 	  export_dynamic_flag_spec='$wl-E'
   9772 
   9773 	  # hardcode_minus_L: Not really in the search PATH,
   9774 	  # but as the default location of the library.
   9775 	  hardcode_minus_L=yes
   9776 	  ;;
   9777 	esac
   9778       fi
   9779       ;;
   9780 
   9781     irix5* | irix6* | nonstopux*)
   9782       if test yes = "$GCC"; then
   9783 	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'
   9784 	# Try to use the -exported_symbol ld option, if it does not
   9785 	# work, assume that -exports_file does not work either and
   9786 	# implicitly export all symbols.
   9787 	# This should be the same for all languages, so no per-tag cache variable.
   9788 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9789 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9790 if ${lt_cv_irix_exported_symbol+:} false; then :
   9791   $as_echo_n "(cached) " >&6
   9792 else
   9793   save_LDFLAGS=$LDFLAGS
   9794 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   9795 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9796 /* end confdefs.h.  */
   9797 int foo (void) { return 0; }
   9798 _ACEOF
   9799 if ac_fn_c_try_link "$LINENO"; then :
   9800   lt_cv_irix_exported_symbol=yes
   9801 else
   9802   lt_cv_irix_exported_symbol=no
   9803 fi
   9804 rm -f core conftest.err conftest.$ac_objext \
   9805     conftest$ac_exeext conftest.$ac_ext
   9806            LDFLAGS=$save_LDFLAGS
   9807 fi
   9808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9809 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9810 	if test yes = "$lt_cv_irix_exported_symbol"; then
   9811           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'
   9812 	fi
   9813       else
   9814 	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'
   9815 	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'
   9816       fi
   9817       archive_cmds_need_lc='no'
   9818       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9819       hardcode_libdir_separator=:
   9820       inherit_rpath=yes
   9821       link_all_deplibs=yes
   9822       ;;
   9823 
   9824     linux*)
   9825       case $cc_basename in
   9826       tcc*)
   9827 	# Fabrice Bellard et al's Tiny C Compiler
   9828 	ld_shlibs=yes
   9829 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9830 	;;
   9831       esac
   9832       ;;
   9833 
   9834     netbsd*)
   9835       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9836 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9837       else
   9838 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9839       fi
   9840       hardcode_libdir_flag_spec='-R$libdir'
   9841       hardcode_direct=yes
   9842       hardcode_shlibpath_var=no
   9843       ;;
   9844 
   9845     newsos6)
   9846       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9847       hardcode_direct=yes
   9848       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9849       hardcode_libdir_separator=:
   9850       hardcode_shlibpath_var=no
   9851       ;;
   9852 
   9853     *nto* | *qnx*)
   9854       ;;
   9855 
   9856     openbsd* | bitrig*)
   9857       if test -f /usr/libexec/ld.so; then
   9858 	hardcode_direct=yes
   9859 	hardcode_shlibpath_var=no
   9860 	hardcode_direct_absolute=yes
   9861 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   9862 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9863 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   9864 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   9865 	  export_dynamic_flag_spec='$wl-E'
   9866 	else
   9867 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9868 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   9869 	fi
   9870       else
   9871 	ld_shlibs=no
   9872       fi
   9873       ;;
   9874 
   9875     os2*)
   9876       hardcode_libdir_flag_spec='-L$libdir'
   9877       hardcode_minus_L=yes
   9878       allow_undefined_flag=unsupported
   9879       shrext_cmds=.dll
   9880       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9881 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9882 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9883 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9884 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   9885 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9886 	emximp -o $lib $output_objdir/$libname.def'
   9887       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9888 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9889 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9890 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9891 	prefix_cmds="$SED"~
   9892 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   9893 	  prefix_cmds="$prefix_cmds -e 1d";
   9894 	fi~
   9895 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   9896 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   9897 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9898 	emximp -o $lib $output_objdir/$libname.def'
   9899       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   9900       enable_shared_with_static_runtimes=yes
   9901       ;;
   9902 
   9903     osf3*)
   9904       if test yes = "$GCC"; then
   9905 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   9906 	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'
   9907       else
   9908 	allow_undefined_flag=' -expect_unresolved \*'
   9909 	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'
   9910       fi
   9911       archive_cmds_need_lc='no'
   9912       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9913       hardcode_libdir_separator=:
   9914       ;;
   9915 
   9916     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9917       if test yes = "$GCC"; then
   9918 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   9919 	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'
   9920 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9921       else
   9922 	allow_undefined_flag=' -expect_unresolved \*'
   9923 	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'
   9924 	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~
   9925           $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'
   9926 
   9927 	# Both c and cxx compiler support -rpath directly
   9928 	hardcode_libdir_flag_spec='-rpath $libdir'
   9929       fi
   9930       archive_cmds_need_lc='no'
   9931       hardcode_libdir_separator=:
   9932       ;;
   9933 
   9934     solaris*)
   9935       no_undefined_flag=' -z defs'
   9936       if test yes = "$GCC"; then
   9937 	wlarc='$wl'
   9938 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   9939 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9940           $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'
   9941       else
   9942 	case `$CC -V 2>&1` in
   9943 	*"Compilers 5.0"*)
   9944 	  wlarc=''
   9945 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9946 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9947             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9948 	  ;;
   9949 	*)
   9950 	  wlarc='$wl'
   9951 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9952 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9953             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9954 	  ;;
   9955 	esac
   9956       fi
   9957       hardcode_libdir_flag_spec='-R$libdir'
   9958       hardcode_shlibpath_var=no
   9959       case $host_os in
   9960       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9961       *)
   9962 	# The compiler driver will combine and reorder linker options,
   9963 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   9964 	# but is careful enough not to reorder.
   9965 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9966 	if test yes = "$GCC"; then
   9967 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   9968 	else
   9969 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9970 	fi
   9971 	;;
   9972       esac
   9973       link_all_deplibs=yes
   9974       ;;
   9975 
   9976     sunos4*)
   9977       if test sequent = "$host_vendor"; then
   9978 	# Use $CC to link under sequent, because it throws in some extra .o
   9979 	# files that make .init and .fini sections work.
   9980 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9981       else
   9982 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9983       fi
   9984       hardcode_libdir_flag_spec='-L$libdir'
   9985       hardcode_direct=yes
   9986       hardcode_minus_L=yes
   9987       hardcode_shlibpath_var=no
   9988       ;;
   9989 
   9990     sysv4)
   9991       case $host_vendor in
   9992 	sni)
   9993 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9994 	  hardcode_direct=yes # is this really true???
   9995 	;;
   9996 	siemens)
   9997 	  ## LD is ld it makes a PLAMLIB
   9998 	  ## CC just makes a GrossModule.
   9999 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10000 	  reload_cmds='$CC -r -o $output$reload_objs'
   10001 	  hardcode_direct=no
   10002         ;;
   10003 	motorola)
   10004 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10005 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10006 	;;
   10007       esac
   10008       runpath_var='LD_RUN_PATH'
   10009       hardcode_shlibpath_var=no
   10010       ;;
   10011 
   10012     sysv4.3*)
   10013       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10014       hardcode_shlibpath_var=no
   10015       export_dynamic_flag_spec='-Bexport'
   10016       ;;
   10017 
   10018     sysv4*MP*)
   10019       if test -d /usr/nec; then
   10020 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10021 	hardcode_shlibpath_var=no
   10022 	runpath_var=LD_RUN_PATH
   10023 	hardcode_runpath_var=yes
   10024 	ld_shlibs=yes
   10025       fi
   10026       ;;
   10027 
   10028     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10029       no_undefined_flag='$wl-z,text'
   10030       archive_cmds_need_lc=no
   10031       hardcode_shlibpath_var=no
   10032       runpath_var='LD_RUN_PATH'
   10033 
   10034       if test yes = "$GCC"; then
   10035 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10036 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10037       else
   10038 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10039 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10040       fi
   10041       ;;
   10042 
   10043     sysv5* | sco3.2v5* | sco5v6*)
   10044       # Note: We CANNOT use -z defs as we might desire, because we do not
   10045       # link with -lc, and that would cause any symbols used from libc to
   10046       # always be unresolved, which means just about no library would
   10047       # ever link correctly.  If we're not using GNU ld we use -z text
   10048       # though, which does catch some bad symbols but isn't as heavy-handed
   10049       # as -z defs.
   10050       no_undefined_flag='$wl-z,text'
   10051       allow_undefined_flag='$wl-z,nodefs'
   10052       archive_cmds_need_lc=no
   10053       hardcode_shlibpath_var=no
   10054       hardcode_libdir_flag_spec='$wl-R,$libdir'
   10055       hardcode_libdir_separator=':'
   10056       link_all_deplibs=yes
   10057       export_dynamic_flag_spec='$wl-Bexport'
   10058       runpath_var='LD_RUN_PATH'
   10059 
   10060       if test yes = "$GCC"; then
   10061 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10062 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10063       else
   10064 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10065 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10066       fi
   10067       ;;
   10068 
   10069     uts4*)
   10070       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10071       hardcode_libdir_flag_spec='-L$libdir'
   10072       hardcode_shlibpath_var=no
   10073       ;;
   10074 
   10075     *)
   10076       ld_shlibs=no
   10077       ;;
   10078     esac
   10079 
   10080     if test sni = "$host_vendor"; then
   10081       case $host in
   10082       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10083 	export_dynamic_flag_spec='$wl-Blargedynsym'
   10084 	;;
   10085       esac
   10086     fi
   10087   fi
   10088 
   10089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10090 $as_echo "$ld_shlibs" >&6; }
   10091 test no = "$ld_shlibs" && can_build_shared=no
   10092 
   10093 with_gnu_ld=$with_gnu_ld
   10094 
   10095 
   10096 
   10097 
   10098 
   10099 
   10100 
   10101 
   10102 
   10103 
   10104 
   10105 
   10106 
   10107 
   10108 
   10109 #
   10110 # Do we need to explicitly link libc?
   10111 #
   10112 case "x$archive_cmds_need_lc" in
   10113 x|xyes)
   10114   # Assume -lc should be added
   10115   archive_cmds_need_lc=yes
   10116 
   10117   if test yes,yes = "$GCC,$enable_shared"; then
   10118     case $archive_cmds in
   10119     *'~'*)
   10120       # FIXME: we may have to deal with multi-command sequences.
   10121       ;;
   10122     '$CC '*)
   10123       # Test whether the compiler implicitly links with -lc since on some
   10124       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10125       # to ld, don't add -lc before -lgcc.
   10126       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10127 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   10128 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   10129   $as_echo_n "(cached) " >&6
   10130 else
   10131   $RM conftest*
   10132 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10133 
   10134 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10135   (eval $ac_compile) 2>&5
   10136   ac_status=$?
   10137   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10138   test $ac_status = 0; } 2>conftest.err; then
   10139 	  soname=conftest
   10140 	  lib=conftest
   10141 	  libobjs=conftest.$ac_objext
   10142 	  deplibs=
   10143 	  wl=$lt_prog_compiler_wl
   10144 	  pic_flag=$lt_prog_compiler_pic
   10145 	  compiler_flags=-v
   10146 	  linker_flags=-v
   10147 	  verstring=
   10148 	  output_objdir=.
   10149 	  libname=conftest
   10150 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10151 	  allow_undefined_flag=
   10152 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10153   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10154   ac_status=$?
   10155   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10156   test $ac_status = 0; }
   10157 	  then
   10158 	    lt_cv_archive_cmds_need_lc=no
   10159 	  else
   10160 	    lt_cv_archive_cmds_need_lc=yes
   10161 	  fi
   10162 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10163 	else
   10164 	  cat conftest.err 1>&5
   10165 	fi
   10166 	$RM conftest*
   10167 
   10168 fi
   10169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10170 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   10171       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10172       ;;
   10173     esac
   10174   fi
   10175   ;;
   10176 esac
   10177 
   10178 
   10179 
   10180 
   10181 
   10182 
   10183 
   10184 
   10185 
   10186 
   10187 
   10188 
   10189 
   10190 
   10191 
   10192 
   10193 
   10194 
   10195 
   10196 
   10197 
   10198 
   10199 
   10200 
   10201 
   10202 
   10203 
   10204 
   10205 
   10206 
   10207 
   10208 
   10209 
   10210 
   10211 
   10212 
   10213 
   10214 
   10215 
   10216 
   10217 
   10218 
   10219 
   10220 
   10221 
   10222 
   10223 
   10224 
   10225 
   10226 
   10227 
   10228 
   10229 
   10230 
   10231 
   10232 
   10233 
   10234 
   10235 
   10236 
   10237 
   10238 
   10239 
   10240 
   10241 
   10242 
   10243 
   10244 
   10245 
   10246 
   10247 
   10248 
   10249 
   10250 
   10251 
   10252 
   10253 
   10254 
   10255 
   10256 
   10257 
   10258 
   10259 
   10260 
   10261 
   10262 
   10263 
   10264 
   10265 
   10266 
   10267 
   10268 
   10269 
   10270 
   10271 
   10272 
   10273 
   10274 
   10275 
   10276 
   10277 
   10278 
   10279 
   10280 
   10281 
   10282 
   10283 
   10284 
   10285 
   10286 
   10287 
   10288 
   10289 
   10290 
   10291 
   10292 
   10293 
   10294 
   10295 
   10296 
   10297 
   10298 
   10299 
   10300 
   10301 
   10302 
   10303 
   10304 
   10305 
   10306 
   10307 
   10308 
   10309 
   10310 
   10311 
   10312 
   10313 
   10314 
   10315 
   10316 
   10317 
   10318 
   10319 
   10320 
   10321 
   10322 
   10323 
   10324 
   10325 
   10326 
   10327 
   10328 
   10329   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10330 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10331 
   10332 if test yes = "$GCC"; then
   10333   case $host_os in
   10334     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   10335     *) lt_awk_arg='/^libraries:/' ;;
   10336   esac
   10337   case $host_os in
   10338     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   10339     *) lt_sed_strip_eq='s|=/|/|g' ;;
   10340   esac
   10341   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10342   case $lt_search_path_spec in
   10343   *\;*)
   10344     # if the path contains ";" then we assume it to be the separator
   10345     # otherwise default to the standard path separator (i.e. ":") - it is
   10346     # assumed that no part of a normal pathname contains ";" but that should
   10347     # okay in the real world where ";" in dirpaths is itself problematic.
   10348     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10349     ;;
   10350   *)
   10351     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10352     ;;
   10353   esac
   10354   # Ok, now we have the path, separated by spaces, we can step through it
   10355   # and add multilib dir if necessary...
   10356   lt_tmp_lt_search_path_spec=
   10357   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10358   # ...but if some path component already ends with the multilib dir we assume
   10359   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   10360   case "$lt_multi_os_dir; $lt_search_path_spec " in
   10361   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   10362     lt_multi_os_dir=
   10363     ;;
   10364   esac
   10365   for lt_sys_path in $lt_search_path_spec; do
   10366     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   10367       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   10368     elif test -n "$lt_multi_os_dir"; then
   10369       test -d "$lt_sys_path" && \
   10370 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10371     fi
   10372   done
   10373   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10374 BEGIN {RS = " "; FS = "/|\n";} {
   10375   lt_foo = "";
   10376   lt_count = 0;
   10377   for (lt_i = NF; lt_i > 0; lt_i--) {
   10378     if ($lt_i != "" && $lt_i != ".") {
   10379       if ($lt_i == "..") {
   10380         lt_count++;
   10381       } else {
   10382         if (lt_count == 0) {
   10383           lt_foo = "/" $lt_i lt_foo;
   10384         } else {
   10385           lt_count--;
   10386         }
   10387       }
   10388     }
   10389   }
   10390   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10391   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10392 }'`
   10393   # AWK program above erroneously prepends '/' to C:/dos/paths
   10394   # for these hosts.
   10395   case $host_os in
   10396     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10397       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   10398   esac
   10399   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10400 else
   10401   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10402 fi
   10403 library_names_spec=
   10404 libname_spec='lib$name'
   10405 soname_spec=
   10406 shrext_cmds=.so
   10407 postinstall_cmds=
   10408 postuninstall_cmds=
   10409 finish_cmds=
   10410 finish_eval=
   10411 shlibpath_var=
   10412 shlibpath_overrides_runpath=unknown
   10413 version_type=none
   10414 dynamic_linker="$host_os ld.so"
   10415 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10416 need_lib_prefix=unknown
   10417 hardcode_into_libs=no
   10418 
   10419 # when you set need_version to no, make sure it does not cause -set_version
   10420 # flags to be left without arguments
   10421 need_version=unknown
   10422 
   10423 
   10424 
   10425 case $host_os in
   10426 aix3*)
   10427   version_type=linux # correct to gnu/linux during the next big refactor
   10428   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   10429   shlibpath_var=LIBPATH
   10430 
   10431   # AIX 3 has no versioning support, so we append a major version to the name.
   10432   soname_spec='$libname$release$shared_ext$major'
   10433   ;;
   10434 
   10435 aix[4-9]*)
   10436   version_type=linux # correct to gnu/linux during the next big refactor
   10437   need_lib_prefix=no
   10438   need_version=no
   10439   hardcode_into_libs=yes
   10440   if test ia64 = "$host_cpu"; then
   10441     # AIX 5 supports IA64
   10442     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   10443     shlibpath_var=LD_LIBRARY_PATH
   10444   else
   10445     # With GCC up to 2.95.x, collect2 would create an import file
   10446     # for dependence libraries.  The import file would start with
   10447     # the line '#! .'.  This would cause the generated library to
   10448     # depend on '.', always an invalid library.  This was fixed in
   10449     # development snapshots of GCC prior to 3.0.
   10450     case $host_os in
   10451       aix4 | aix4.[01] | aix4.[01].*)
   10452       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10453 	   echo ' yes '
   10454 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   10455 	:
   10456       else
   10457 	can_build_shared=no
   10458       fi
   10459       ;;
   10460     esac
   10461     # Using Import Files as archive members, it is possible to support
   10462     # filename-based versioning of shared library archives on AIX. While
   10463     # this would work for both with and without runtime linking, it will
   10464     # prevent static linking of such archives. So we do filename-based
   10465     # shared library versioning with .so extension only, which is used
   10466     # when both runtime linking and shared linking is enabled.
   10467     # Unfortunately, runtime linking may impact performance, so we do
   10468     # not want this to be the default eventually. Also, we use the
   10469     # versioned .so libs for executables only if there is the -brtl
   10470     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   10471     # To allow for filename-based versioning support, we need to create
   10472     # libNAME.so.V as an archive file, containing:
   10473     # *) an Import File, referring to the versioned filename of the
   10474     #    archive as well as the shared archive member, telling the
   10475     #    bitwidth (32 or 64) of that shared object, and providing the
   10476     #    list of exported symbols of that shared object, eventually
   10477     #    decorated with the 'weak' keyword
   10478     # *) the shared object with the F_LOADONLY flag set, to really avoid
   10479     #    it being seen by the linker.
   10480     # At run time we better use the real file rather than another symlink,
   10481     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   10482 
   10483     case $with_aix_soname,$aix_use_runtimelinking in
   10484     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   10485     # soname into executable. Probably we can add versioning support to
   10486     # collect2, so additional links can be useful in future.
   10487     aix,yes) # traditional libtool
   10488       dynamic_linker='AIX unversionable lib.so'
   10489       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10490       # instead of lib<name>.a to let people know that these are not
   10491       # typical AIX shared libraries.
   10492       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10493       ;;
   10494     aix,no) # traditional AIX only
   10495       dynamic_linker='AIX lib.a(lib.so.V)'
   10496       # We preserve .a as extension for shared libraries through AIX4.2
   10497       # and later when we are not doing run time linking.
   10498       library_names_spec='$libname$release.a $libname.a'
   10499       soname_spec='$libname$release$shared_ext$major'
   10500       ;;
   10501     svr4,*) # full svr4 only
   10502       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   10503       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   10504       # We do not specify a path in Import Files, so LIBPATH fires.
   10505       shlibpath_overrides_runpath=yes
   10506       ;;
   10507     *,yes) # both, prefer svr4
   10508       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   10509       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   10510       # unpreferred sharedlib libNAME.a needs extra handling
   10511       postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
   10512       postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
   10513       # We do not specify a path in Import Files, so LIBPATH fires.
   10514       shlibpath_overrides_runpath=yes
   10515       ;;
   10516     *,no) # both, prefer aix
   10517       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   10518       library_names_spec='$libname$release.a $libname.a'
   10519       soname_spec='$libname$release$shared_ext$major'
   10520       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   10521       postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
   10522       postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
   10523       ;;
   10524     esac
   10525     shlibpath_var=LIBPATH
   10526   fi
   10527   ;;
   10528 
   10529 amigaos*)
   10530   case $host_cpu in
   10531   powerpc)
   10532     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10533     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10534     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10535     ;;
   10536   m68k)
   10537     library_names_spec='$libname.ixlibrary $libname.a'
   10538     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10539     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   10540     ;;
   10541   esac
   10542   ;;
   10543 
   10544 beos*)
   10545   library_names_spec='$libname$shared_ext'
   10546   dynamic_linker="$host_os ld.so"
   10547   shlibpath_var=LIBRARY_PATH
   10548   ;;
   10549 
   10550 bsdi[45]*)
   10551   version_type=linux # correct to gnu/linux during the next big refactor
   10552   need_version=no
   10553   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10554   soname_spec='$libname$release$shared_ext$major'
   10555   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10556   shlibpath_var=LD_LIBRARY_PATH
   10557   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10558   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10559   # the default ld.so.conf also contains /usr/contrib/lib and
   10560   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10561   # libtool to hard-code these into programs
   10562   ;;
   10563 
   10564 cygwin* | mingw* | pw32* | cegcc*)
   10565   version_type=windows
   10566   shrext_cmds=.dll
   10567   need_version=no
   10568   need_lib_prefix=no
   10569 
   10570   case $GCC,$cc_basename in
   10571   yes,*)
   10572     # gcc
   10573     library_names_spec='$libname.dll.a'
   10574     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10575     postinstall_cmds='base_file=`basename \$file`~
   10576       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   10577       dldir=$destdir/`dirname \$dlpath`~
   10578       test -d \$dldir || mkdir -p \$dldir~
   10579       $install_prog $dir/$dlname \$dldir/$dlname~
   10580       chmod a+x \$dldir/$dlname~
   10581       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10582         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10583       fi'
   10584     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10585       dlpath=$dir/\$dldll~
   10586        $RM \$dlpath'
   10587     shlibpath_overrides_runpath=yes
   10588 
   10589     case $host_os in
   10590     cygwin*)
   10591       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10592       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   10593 
   10594       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10595       ;;
   10596     mingw* | cegcc*)
   10597       # MinGW DLLs use traditional 'lib' prefix
   10598       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   10599       ;;
   10600     pw32*)
   10601       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10602       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   10603       ;;
   10604     esac
   10605     dynamic_linker='Win32 ld.exe'
   10606     ;;
   10607 
   10608   *,cl*)
   10609     # Native MSVC
   10610     libname_spec='$name'
   10611     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   10612     library_names_spec='$libname.dll.lib'
   10613 
   10614     case $build_os in
   10615     mingw*)
   10616       sys_lib_search_path_spec=
   10617       lt_save_ifs=$IFS
   10618       IFS=';'
   10619       for lt_path in $LIB
   10620       do
   10621         IFS=$lt_save_ifs
   10622         # Let DOS variable expansion print the short 8.3 style file name.
   10623         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10624         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10625       done
   10626       IFS=$lt_save_ifs
   10627       # Convert to MSYS style.
   10628       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10629       ;;
   10630     cygwin*)
   10631       # Convert to unix form, then to dos form, then back to unix form
   10632       # but this time dos style (no spaces!) so that the unix form looks
   10633       # like /cygdrive/c/PROGRA~1:/cygdr...
   10634       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10635       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10636       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10637       ;;
   10638     *)
   10639       sys_lib_search_path_spec=$LIB
   10640       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10641         # It is most probably a Windows format PATH.
   10642         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10643       else
   10644         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10645       fi
   10646       # FIXME: find the short name or the path components, as spaces are
   10647       # common. (e.g. "Program Files" -> "PROGRA~1")
   10648       ;;
   10649     esac
   10650 
   10651     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10652     postinstall_cmds='base_file=`basename \$file`~
   10653       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   10654       dldir=$destdir/`dirname \$dlpath`~
   10655       test -d \$dldir || mkdir -p \$dldir~
   10656       $install_prog $dir/$dlname \$dldir/$dlname'
   10657     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10658       dlpath=$dir/\$dldll~
   10659        $RM \$dlpath'
   10660     shlibpath_overrides_runpath=yes
   10661     dynamic_linker='Win32 link.exe'
   10662     ;;
   10663 
   10664   *)
   10665     # Assume MSVC wrapper
   10666     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   10667     dynamic_linker='Win32 ld.exe'
   10668     ;;
   10669   esac
   10670   # FIXME: first we should search . and the directory the executable is in
   10671   shlibpath_var=PATH
   10672   ;;
   10673 
   10674 darwin* | rhapsody*)
   10675   dynamic_linker="$host_os dyld"
   10676   version_type=darwin
   10677   need_lib_prefix=no
   10678   need_version=no
   10679   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   10680   soname_spec='$libname$release$major$shared_ext'
   10681   shlibpath_overrides_runpath=yes
   10682   shlibpath_var=DYLD_LIBRARY_PATH
   10683   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10684 
   10685   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10686   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10687   ;;
   10688 
   10689 dgux*)
   10690   version_type=linux # correct to gnu/linux during the next big refactor
   10691   need_lib_prefix=no
   10692   need_version=no
   10693   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10694   soname_spec='$libname$release$shared_ext$major'
   10695   shlibpath_var=LD_LIBRARY_PATH
   10696   ;;
   10697 
   10698 freebsd* | dragonfly*)
   10699   # DragonFly does not have aout.  When/if they implement a new
   10700   # versioning mechanism, adjust this.
   10701   if test -x /usr/bin/objformat; then
   10702     objformat=`/usr/bin/objformat`
   10703   else
   10704     case $host_os in
   10705     freebsd[23].*) objformat=aout ;;
   10706     *) objformat=elf ;;
   10707     esac
   10708   fi
   10709   version_type=freebsd-$objformat
   10710   case $version_type in
   10711     freebsd-elf*)
   10712       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10713       soname_spec='$libname$release$shared_ext$major'
   10714       need_version=no
   10715       need_lib_prefix=no
   10716       ;;
   10717     freebsd-*)
   10718       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   10719       need_version=yes
   10720       ;;
   10721   esac
   10722   shlibpath_var=LD_LIBRARY_PATH
   10723   case $host_os in
   10724   freebsd2.*)
   10725     shlibpath_overrides_runpath=yes
   10726     ;;
   10727   freebsd3.[01]* | freebsdelf3.[01]*)
   10728     shlibpath_overrides_runpath=yes
   10729     hardcode_into_libs=yes
   10730     ;;
   10731   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10732   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10733     shlibpath_overrides_runpath=no
   10734     hardcode_into_libs=yes
   10735     ;;
   10736   *) # from 4.6 on, and DragonFly
   10737     shlibpath_overrides_runpath=yes
   10738     hardcode_into_libs=yes
   10739     ;;
   10740   esac
   10741   ;;
   10742 
   10743 haiku*)
   10744   version_type=linux # correct to gnu/linux during the next big refactor
   10745   need_lib_prefix=no
   10746   need_version=no
   10747   dynamic_linker="$host_os runtime_loader"
   10748   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10749   soname_spec='$libname$release$shared_ext$major'
   10750   shlibpath_var=LIBRARY_PATH
   10751   shlibpath_overrides_runpath=no
   10752   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10753   hardcode_into_libs=yes
   10754   ;;
   10755 
   10756 hpux9* | hpux10* | hpux11*)
   10757   # Give a soname corresponding to the major version so that dld.sl refuses to
   10758   # link against other versions.
   10759   version_type=sunos
   10760   need_lib_prefix=no
   10761   need_version=no
   10762   case $host_cpu in
   10763   ia64*)
   10764     shrext_cmds='.so'
   10765     hardcode_into_libs=yes
   10766     dynamic_linker="$host_os dld.so"
   10767     shlibpath_var=LD_LIBRARY_PATH
   10768     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10769     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10770     soname_spec='$libname$release$shared_ext$major'
   10771     if test 32 = "$HPUX_IA64_MODE"; then
   10772       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10773       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   10774     else
   10775       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10776       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   10777     fi
   10778     ;;
   10779   hppa*64*)
   10780     shrext_cmds='.sl'
   10781     hardcode_into_libs=yes
   10782     dynamic_linker="$host_os dld.sl"
   10783     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10784     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10785     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10786     soname_spec='$libname$release$shared_ext$major'
   10787     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10788     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10789     ;;
   10790   *)
   10791     shrext_cmds='.sl'
   10792     dynamic_linker="$host_os dld.sl"
   10793     shlibpath_var=SHLIB_PATH
   10794     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10795     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10796     soname_spec='$libname$release$shared_ext$major'
   10797     ;;
   10798   esac
   10799   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10800   postinstall_cmds='chmod 555 $lib'
   10801   # or fails outright, so override atomically:
   10802   install_override_mode=555
   10803   ;;
   10804 
   10805 interix[3-9]*)
   10806   version_type=linux # correct to gnu/linux during the next big refactor
   10807   need_lib_prefix=no
   10808   need_version=no
   10809   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10810   soname_spec='$libname$release$shared_ext$major'
   10811   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10812   shlibpath_var=LD_LIBRARY_PATH
   10813   shlibpath_overrides_runpath=no
   10814   hardcode_into_libs=yes
   10815   ;;
   10816 
   10817 irix5* | irix6* | nonstopux*)
   10818   case $host_os in
   10819     nonstopux*) version_type=nonstopux ;;
   10820     *)
   10821 	if test yes = "$lt_cv_prog_gnu_ld"; then
   10822 		version_type=linux # correct to gnu/linux during the next big refactor
   10823 	else
   10824 		version_type=irix
   10825 	fi ;;
   10826   esac
   10827   need_lib_prefix=no
   10828   need_version=no
   10829   soname_spec='$libname$release$shared_ext$major'
   10830   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   10831   case $host_os in
   10832   irix5* | nonstopux*)
   10833     libsuff= shlibsuff=
   10834     ;;
   10835   *)
   10836     case $LD in # libtool.m4 will add one of these switches to LD
   10837     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10838       libsuff= shlibsuff= libmagic=32-bit;;
   10839     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10840       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10841     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10842       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10843     *) libsuff= shlibsuff= libmagic=never-match;;
   10844     esac
   10845     ;;
   10846   esac
   10847   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10848   shlibpath_overrides_runpath=no
   10849   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   10850   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   10851   hardcode_into_libs=yes
   10852   ;;
   10853 
   10854 # No shared lib support for Linux oldld, aout, or coff.
   10855 linux*oldld* | linux*aout* | linux*coff*)
   10856   dynamic_linker=no
   10857   ;;
   10858 
   10859 linux*android*)
   10860   version_type=none # Android doesn't support versioned libraries.
   10861   need_lib_prefix=no
   10862   need_version=no
   10863   library_names_spec='$libname$release$shared_ext'
   10864   soname_spec='$libname$release$shared_ext'
   10865   finish_cmds=
   10866   shlibpath_var=LD_LIBRARY_PATH
   10867   shlibpath_overrides_runpath=yes
   10868 
   10869   # This implies no fast_install, which is unacceptable.
   10870   # Some rework will be needed to allow for fast_install
   10871   # before this can be enabled.
   10872   hardcode_into_libs=yes
   10873 
   10874   dynamic_linker='Android linker'
   10875   # Don't embed -rpath directories since the linker doesn't support them.
   10876   hardcode_libdir_flag_spec='-L$libdir'
   10877   ;;
   10878 
   10879 # This must be glibc/ELF.
   10880 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   10881   version_type=linux # correct to gnu/linux during the next big refactor
   10882   need_lib_prefix=no
   10883   need_version=no
   10884   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10885   soname_spec='$libname$release$shared_ext$major'
   10886   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10887   shlibpath_var=LD_LIBRARY_PATH
   10888   shlibpath_overrides_runpath=no
   10889 
   10890   # Some binutils ld are patched to set DT_RUNPATH
   10891   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10892   $as_echo_n "(cached) " >&6
   10893 else
   10894   lt_cv_shlibpath_overrides_runpath=no
   10895     save_LDFLAGS=$LDFLAGS
   10896     save_libdir=$libdir
   10897     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10898 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10899     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10900 /* end confdefs.h.  */
   10901 
   10902 int
   10903 main ()
   10904 {
   10905 
   10906   ;
   10907   return 0;
   10908 }
   10909 _ACEOF
   10910 if ac_fn_c_try_link "$LINENO"; then :
   10911   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10912   lt_cv_shlibpath_overrides_runpath=yes
   10913 fi
   10914 fi
   10915 rm -f core conftest.err conftest.$ac_objext \
   10916     conftest$ac_exeext conftest.$ac_ext
   10917     LDFLAGS=$save_LDFLAGS
   10918     libdir=$save_libdir
   10919 
   10920 fi
   10921 
   10922   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10923 
   10924   # This implies no fast_install, which is unacceptable.
   10925   # Some rework will be needed to allow for fast_install
   10926   # before this can be enabled.
   10927   hardcode_into_libs=yes
   10928 
   10929   # Add ABI-specific directories to the system library path.
   10930   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
   10931 
   10932   # Ideally, we could use ldconfig to report *all* directores which are
   10933   # searched for libraries, however this is still not possible.  Aside from not
   10934   # being certain /sbin/ldconfig is available, command
   10935   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   10936   # even though it is searched at run-time.  Try to do the best guess by
   10937   # appending ld.so.conf contents (and includes) to the search path.
   10938   if test -f /etc/ld.so.conf; then
   10939     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' ' '`
   10940     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   10941   fi
   10942 
   10943   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10944   # powerpc, because MkLinux only supported shared libraries with the
   10945   # GNU dynamic linker.  Since this was broken with cross compilers,
   10946   # most powerpc-linux boxes support dynamic linking these days and
   10947   # people can always --disable-shared, the test was removed, and we
   10948   # assume the GNU/Linux dynamic linker is in use.
   10949   dynamic_linker='GNU/Linux ld.so'
   10950   ;;
   10951 
   10952 netbsd*)
   10953   version_type=sunos
   10954   need_lib_prefix=no
   10955   need_version=no
   10956   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10957     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   10958     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10959     dynamic_linker='NetBSD (a.out) ld.so'
   10960   else
   10961     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10962     soname_spec='$libname$release$shared_ext$major'
   10963     dynamic_linker='NetBSD ld.elf_so'
   10964   fi
   10965   shlibpath_var=LD_LIBRARY_PATH
   10966   shlibpath_overrides_runpath=yes
   10967   hardcode_into_libs=yes
   10968   ;;
   10969 
   10970 newsos6)
   10971   version_type=linux # correct to gnu/linux during the next big refactor
   10972   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10973   shlibpath_var=LD_LIBRARY_PATH
   10974   shlibpath_overrides_runpath=yes
   10975   ;;
   10976 
   10977 *nto* | *qnx*)
   10978   version_type=qnx
   10979   need_lib_prefix=no
   10980   need_version=no
   10981   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10982   soname_spec='$libname$release$shared_ext$major'
   10983   shlibpath_var=LD_LIBRARY_PATH
   10984   shlibpath_overrides_runpath=no
   10985   hardcode_into_libs=yes
   10986   dynamic_linker='ldqnx.so'
   10987   ;;
   10988 
   10989 openbsd* | bitrig*)
   10990   version_type=sunos
   10991   sys_lib_dlsearch_path_spec=/usr/lib
   10992   need_lib_prefix=no
   10993   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   10994     need_version=no
   10995   else
   10996     need_version=yes
   10997   fi
   10998   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   10999   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11000   shlibpath_var=LD_LIBRARY_PATH
   11001   shlibpath_overrides_runpath=yes
   11002   ;;
   11003 
   11004 os2*)
   11005   libname_spec='$name'
   11006   version_type=windows
   11007   shrext_cmds=.dll
   11008   need_version=no
   11009   need_lib_prefix=no
   11010   # OS/2 can only load a DLL with a base name of 8 characters or less.
   11011   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   11012     v=$($ECHO $release$versuffix | tr -d .-);
   11013     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   11014     $ECHO $n$v`$shared_ext'
   11015   library_names_spec='${libname}_dll.$libext'
   11016   dynamic_linker='OS/2 ld.exe'
   11017   shlibpath_var=BEGINLIBPATH
   11018   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11019   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11020   postinstall_cmds='base_file=`basename \$file`~
   11021     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   11022     dldir=$destdir/`dirname \$dlpath`~
   11023     test -d \$dldir || mkdir -p \$dldir~
   11024     $install_prog $dir/$dlname \$dldir/$dlname~
   11025     chmod a+x \$dldir/$dlname~
   11026     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11027       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11028     fi'
   11029   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   11030     dlpath=$dir/\$dldll~
   11031     $RM \$dlpath'
   11032   ;;
   11033 
   11034 osf3* | osf4* | osf5*)
   11035   version_type=osf
   11036   need_lib_prefix=no
   11037   need_version=no
   11038   soname_spec='$libname$release$shared_ext$major'
   11039   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11040   shlibpath_var=LD_LIBRARY_PATH
   11041   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11042   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11043   ;;
   11044 
   11045 rdos*)
   11046   dynamic_linker=no
   11047   ;;
   11048 
   11049 solaris*)
   11050   version_type=linux # correct to gnu/linux during the next big refactor
   11051   need_lib_prefix=no
   11052   need_version=no
   11053   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11054   soname_spec='$libname$release$shared_ext$major'
   11055   shlibpath_var=LD_LIBRARY_PATH
   11056   shlibpath_overrides_runpath=yes
   11057   hardcode_into_libs=yes
   11058   # ldd complains unless libraries are executable
   11059   postinstall_cmds='chmod +x $lib'
   11060   ;;
   11061 
   11062 sunos4*)
   11063   version_type=sunos
   11064   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11065   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11066   shlibpath_var=LD_LIBRARY_PATH
   11067   shlibpath_overrides_runpath=yes
   11068   if test yes = "$with_gnu_ld"; then
   11069     need_lib_prefix=no
   11070   fi
   11071   need_version=yes
   11072   ;;
   11073 
   11074 sysv4 | sysv4.3*)
   11075   version_type=linux # correct to gnu/linux during the next big refactor
   11076   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11077   soname_spec='$libname$release$shared_ext$major'
   11078   shlibpath_var=LD_LIBRARY_PATH
   11079   case $host_vendor in
   11080     sni)
   11081       shlibpath_overrides_runpath=no
   11082       need_lib_prefix=no
   11083       runpath_var=LD_RUN_PATH
   11084       ;;
   11085     siemens)
   11086       need_lib_prefix=no
   11087       ;;
   11088     motorola)
   11089       need_lib_prefix=no
   11090       need_version=no
   11091       shlibpath_overrides_runpath=no
   11092       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11093       ;;
   11094   esac
   11095   ;;
   11096 
   11097 sysv4*MP*)
   11098   if test -d /usr/nec; then
   11099     version_type=linux # correct to gnu/linux during the next big refactor
   11100     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   11101     soname_spec='$libname$shared_ext.$major'
   11102     shlibpath_var=LD_LIBRARY_PATH
   11103   fi
   11104   ;;
   11105 
   11106 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11107   version_type=sco
   11108   need_lib_prefix=no
   11109   need_version=no
   11110   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   11111   soname_spec='$libname$release$shared_ext$major'
   11112   shlibpath_var=LD_LIBRARY_PATH
   11113   shlibpath_overrides_runpath=yes
   11114   hardcode_into_libs=yes
   11115   if test yes = "$with_gnu_ld"; then
   11116     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11117   else
   11118     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11119     case $host_os in
   11120       sco3.2v5*)
   11121         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11122 	;;
   11123     esac
   11124   fi
   11125   sys_lib_dlsearch_path_spec='/usr/lib'
   11126   ;;
   11127 
   11128 tpf*)
   11129   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11130   version_type=linux # correct to gnu/linux during the next big refactor
   11131   need_lib_prefix=no
   11132   need_version=no
   11133   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11134   shlibpath_var=LD_LIBRARY_PATH
   11135   shlibpath_overrides_runpath=no
   11136   hardcode_into_libs=yes
   11137   ;;
   11138 
   11139 uts4*)
   11140   version_type=linux # correct to gnu/linux during the next big refactor
   11141   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11142   soname_spec='$libname$release$shared_ext$major'
   11143   shlibpath_var=LD_LIBRARY_PATH
   11144   ;;
   11145 
   11146 *)
   11147   dynamic_linker=no
   11148   ;;
   11149 esac
   11150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11151 $as_echo "$dynamic_linker" >&6; }
   11152 test no = "$dynamic_linker" && can_build_shared=no
   11153 
   11154 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11155 if test yes = "$GCC"; then
   11156   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11157 fi
   11158 
   11159 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   11160   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   11161 fi
   11162 
   11163 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   11164   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   11165 fi
   11166 
   11167 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   11168 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   11169 
   11170 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   11171 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   11172 
   11173 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   11174 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   11175 
   11176 
   11177 
   11178 
   11179 
   11180 
   11181 
   11182 
   11183 
   11184 
   11185 
   11186 
   11187 
   11188 
   11189 
   11190 
   11191 
   11192 
   11193 
   11194 
   11195 
   11196 
   11197 
   11198 
   11199 
   11200 
   11201 
   11202 
   11203 
   11204 
   11205 
   11206 
   11207 
   11208 
   11209 
   11210 
   11211 
   11212 
   11213 
   11214 
   11215 
   11216 
   11217 
   11218 
   11219 
   11220 
   11221 
   11222 
   11223 
   11224 
   11225 
   11226 
   11227 
   11228 
   11229 
   11230 
   11231 
   11232 
   11233 
   11234 
   11235 
   11236 
   11237 
   11238 
   11239 
   11240 
   11241 
   11242 
   11243 
   11244 
   11245 
   11246 
   11247 
   11248 
   11249 
   11250 
   11251 
   11252 
   11253 
   11254 
   11255 
   11256 
   11257 
   11258 
   11259 
   11260 
   11261 
   11262 
   11263 
   11264 
   11265 
   11266 
   11267 
   11268 
   11269 
   11270 
   11271 
   11272   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   11273 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   11274 hardcode_action=
   11275 if test -n "$hardcode_libdir_flag_spec" ||
   11276    test -n "$runpath_var" ||
   11277    test yes = "$hardcode_automatic"; then
   11278 
   11279   # We can hardcode non-existent directories.
   11280   if test no != "$hardcode_direct" &&
   11281      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11282      # have to relink, otherwise we might link with an installed library
   11283      # when we should be linking with a yet-to-be-installed one
   11284      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   11285      test no != "$hardcode_minus_L"; then
   11286     # Linking always hardcodes the temporary library directory.
   11287     hardcode_action=relink
   11288   else
   11289     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   11290     hardcode_action=immediate
   11291   fi
   11292 else
   11293   # We cannot hardcode anything, or else we can only hardcode existing
   11294   # directories.
   11295   hardcode_action=unsupported
   11296 fi
   11297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   11298 $as_echo "$hardcode_action" >&6; }
   11299 
   11300 if test relink = "$hardcode_action" ||
   11301    test yes = "$inherit_rpath"; then
   11302   # Fast installation is not supported
   11303   enable_fast_install=no
   11304 elif test yes = "$shlibpath_overrides_runpath" ||
   11305      test no = "$enable_shared"; then
   11306   # Fast installation is not necessary
   11307   enable_fast_install=needless
   11308 fi
   11309 
   11310 
   11311 
   11312 
   11313 
   11314 
   11315   if test yes != "$enable_dlopen"; then
   11316   enable_dlopen=unknown
   11317   enable_dlopen_self=unknown
   11318   enable_dlopen_self_static=unknown
   11319 else
   11320   lt_cv_dlopen=no
   11321   lt_cv_dlopen_libs=
   11322 
   11323   case $host_os in
   11324   beos*)
   11325     lt_cv_dlopen=load_add_on
   11326     lt_cv_dlopen_libs=
   11327     lt_cv_dlopen_self=yes
   11328     ;;
   11329 
   11330   mingw* | pw32* | cegcc*)
   11331     lt_cv_dlopen=LoadLibrary
   11332     lt_cv_dlopen_libs=
   11333     ;;
   11334 
   11335   cygwin*)
   11336     lt_cv_dlopen=dlopen
   11337     lt_cv_dlopen_libs=
   11338     ;;
   11339 
   11340   darwin*)
   11341     # if libdl is installed we need to link against it
   11342     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11343 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11344 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11345   $as_echo_n "(cached) " >&6
   11346 else
   11347   ac_check_lib_save_LIBS=$LIBS
   11348 LIBS="-ldl  $LIBS"
   11349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11350 /* end confdefs.h.  */
   11351 
   11352 /* Override any GCC internal prototype to avoid an error.
   11353    Use char because int might match the return type of a GCC
   11354    builtin and then its argument prototype would still apply.  */
   11355 #ifdef __cplusplus
   11356 extern "C"
   11357 #endif
   11358 char dlopen ();
   11359 int
   11360 main ()
   11361 {
   11362 return dlopen ();
   11363   ;
   11364   return 0;
   11365 }
   11366 _ACEOF
   11367 if ac_fn_c_try_link "$LINENO"; then :
   11368   ac_cv_lib_dl_dlopen=yes
   11369 else
   11370   ac_cv_lib_dl_dlopen=no
   11371 fi
   11372 rm -f core conftest.err conftest.$ac_objext \
   11373     conftest$ac_exeext conftest.$ac_ext
   11374 LIBS=$ac_check_lib_save_LIBS
   11375 fi
   11376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11377 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11378 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11379   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   11380 else
   11381 
   11382     lt_cv_dlopen=dyld
   11383     lt_cv_dlopen_libs=
   11384     lt_cv_dlopen_self=yes
   11385 
   11386 fi
   11387 
   11388     ;;
   11389 
   11390   tpf*)
   11391     # Don't try to run any link tests for TPF.  We know it's impossible
   11392     # because TPF is a cross-compiler, and we know how we open DSOs.
   11393     lt_cv_dlopen=dlopen
   11394     lt_cv_dlopen_libs=
   11395     lt_cv_dlopen_self=no
   11396     ;;
   11397 
   11398   *)
   11399     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   11400 if test "x$ac_cv_func_shl_load" = xyes; then :
   11401   lt_cv_dlopen=shl_load
   11402 else
   11403   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   11404 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11405 if ${ac_cv_lib_dld_shl_load+:} false; then :
   11406   $as_echo_n "(cached) " >&6
   11407 else
   11408   ac_check_lib_save_LIBS=$LIBS
   11409 LIBS="-ldld  $LIBS"
   11410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11411 /* end confdefs.h.  */
   11412 
   11413 /* Override any GCC internal prototype to avoid an error.
   11414    Use char because int might match the return type of a GCC
   11415    builtin and then its argument prototype would still apply.  */
   11416 #ifdef __cplusplus
   11417 extern "C"
   11418 #endif
   11419 char shl_load ();
   11420 int
   11421 main ()
   11422 {
   11423 return shl_load ();
   11424   ;
   11425   return 0;
   11426 }
   11427 _ACEOF
   11428 if ac_fn_c_try_link "$LINENO"; then :
   11429   ac_cv_lib_dld_shl_load=yes
   11430 else
   11431   ac_cv_lib_dld_shl_load=no
   11432 fi
   11433 rm -f core conftest.err conftest.$ac_objext \
   11434     conftest$ac_exeext conftest.$ac_ext
   11435 LIBS=$ac_check_lib_save_LIBS
   11436 fi
   11437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   11438 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11439 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   11440   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   11441 else
   11442   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   11443 if test "x$ac_cv_func_dlopen" = xyes; then :
   11444   lt_cv_dlopen=dlopen
   11445 else
   11446   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11447 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11448 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11449   $as_echo_n "(cached) " >&6
   11450 else
   11451   ac_check_lib_save_LIBS=$LIBS
   11452 LIBS="-ldl  $LIBS"
   11453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11454 /* end confdefs.h.  */
   11455 
   11456 /* Override any GCC internal prototype to avoid an error.
   11457    Use char because int might match the return type of a GCC
   11458    builtin and then its argument prototype would still apply.  */
   11459 #ifdef __cplusplus
   11460 extern "C"
   11461 #endif
   11462 char dlopen ();
   11463 int
   11464 main ()
   11465 {
   11466 return dlopen ();
   11467   ;
   11468   return 0;
   11469 }
   11470 _ACEOF
   11471 if ac_fn_c_try_link "$LINENO"; then :
   11472   ac_cv_lib_dl_dlopen=yes
   11473 else
   11474   ac_cv_lib_dl_dlopen=no
   11475 fi
   11476 rm -f core conftest.err conftest.$ac_objext \
   11477     conftest$ac_exeext conftest.$ac_ext
   11478 LIBS=$ac_check_lib_save_LIBS
   11479 fi
   11480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11481 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11482 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11483   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   11484 else
   11485   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11486 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11487 if ${ac_cv_lib_svld_dlopen+:} false; then :
   11488   $as_echo_n "(cached) " >&6
   11489 else
   11490   ac_check_lib_save_LIBS=$LIBS
   11491 LIBS="-lsvld  $LIBS"
   11492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11493 /* end confdefs.h.  */
   11494 
   11495 /* Override any GCC internal prototype to avoid an error.
   11496    Use char because int might match the return type of a GCC
   11497    builtin and then its argument prototype would still apply.  */
   11498 #ifdef __cplusplus
   11499 extern "C"
   11500 #endif
   11501 char dlopen ();
   11502 int
   11503 main ()
   11504 {
   11505 return dlopen ();
   11506   ;
   11507   return 0;
   11508 }
   11509 _ACEOF
   11510 if ac_fn_c_try_link "$LINENO"; then :
   11511   ac_cv_lib_svld_dlopen=yes
   11512 else
   11513   ac_cv_lib_svld_dlopen=no
   11514 fi
   11515 rm -f core conftest.err conftest.$ac_objext \
   11516     conftest$ac_exeext conftest.$ac_ext
   11517 LIBS=$ac_check_lib_save_LIBS
   11518 fi
   11519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11520 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11521 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11522   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   11523 else
   11524   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11525 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11526 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11527   $as_echo_n "(cached) " >&6
   11528 else
   11529   ac_check_lib_save_LIBS=$LIBS
   11530 LIBS="-ldld  $LIBS"
   11531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11532 /* end confdefs.h.  */
   11533 
   11534 /* Override any GCC internal prototype to avoid an error.
   11535    Use char because int might match the return type of a GCC
   11536    builtin and then its argument prototype would still apply.  */
   11537 #ifdef __cplusplus
   11538 extern "C"
   11539 #endif
   11540 char dld_link ();
   11541 int
   11542 main ()
   11543 {
   11544 return dld_link ();
   11545   ;
   11546   return 0;
   11547 }
   11548 _ACEOF
   11549 if ac_fn_c_try_link "$LINENO"; then :
   11550   ac_cv_lib_dld_dld_link=yes
   11551 else
   11552   ac_cv_lib_dld_dld_link=no
   11553 fi
   11554 rm -f core conftest.err conftest.$ac_objext \
   11555     conftest$ac_exeext conftest.$ac_ext
   11556 LIBS=$ac_check_lib_save_LIBS
   11557 fi
   11558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11559 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11560 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11561   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   11562 fi
   11563 
   11564 
   11565 fi
   11566 
   11567 
   11568 fi
   11569 
   11570 
   11571 fi
   11572 
   11573 
   11574 fi
   11575 
   11576 
   11577 fi
   11578 
   11579     ;;
   11580   esac
   11581 
   11582   if test no = "$lt_cv_dlopen"; then
   11583     enable_dlopen=no
   11584   else
   11585     enable_dlopen=yes
   11586   fi
   11587 
   11588   case $lt_cv_dlopen in
   11589   dlopen)
   11590     save_CPPFLAGS=$CPPFLAGS
   11591     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11592 
   11593     save_LDFLAGS=$LDFLAGS
   11594     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11595 
   11596     save_LIBS=$LIBS
   11597     LIBS="$lt_cv_dlopen_libs $LIBS"
   11598 
   11599     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11600 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11601 if ${lt_cv_dlopen_self+:} false; then :
   11602   $as_echo_n "(cached) " >&6
   11603 else
   11604   	  if test yes = "$cross_compiling"; then :
   11605   lt_cv_dlopen_self=cross
   11606 else
   11607   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11608   lt_status=$lt_dlunknown
   11609   cat > conftest.$ac_ext <<_LT_EOF
   11610 #line $LINENO "configure"
   11611 #include "confdefs.h"
   11612 
   11613 #if HAVE_DLFCN_H
   11614 #include <dlfcn.h>
   11615 #endif
   11616 
   11617 #include <stdio.h>
   11618 
   11619 #ifdef RTLD_GLOBAL
   11620 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11621 #else
   11622 #  ifdef DL_GLOBAL
   11623 #    define LT_DLGLOBAL		DL_GLOBAL
   11624 #  else
   11625 #    define LT_DLGLOBAL		0
   11626 #  endif
   11627 #endif
   11628 
   11629 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11630    find out it does not work in some platform. */
   11631 #ifndef LT_DLLAZY_OR_NOW
   11632 #  ifdef RTLD_LAZY
   11633 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11634 #  else
   11635 #    ifdef DL_LAZY
   11636 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11637 #    else
   11638 #      ifdef RTLD_NOW
   11639 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11640 #      else
   11641 #        ifdef DL_NOW
   11642 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11643 #        else
   11644 #          define LT_DLLAZY_OR_NOW	0
   11645 #        endif
   11646 #      endif
   11647 #    endif
   11648 #  endif
   11649 #endif
   11650 
   11651 /* When -fvisibility=hidden is used, assume the code has been annotated
   11652    correspondingly for the symbols needed.  */
   11653 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11654 int fnord () __attribute__((visibility("default")));
   11655 #endif
   11656 
   11657 int fnord () { return 42; }
   11658 int main ()
   11659 {
   11660   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11661   int status = $lt_dlunknown;
   11662 
   11663   if (self)
   11664     {
   11665       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11666       else
   11667         {
   11668 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11669           else puts (dlerror ());
   11670 	}
   11671       /* dlclose (self); */
   11672     }
   11673   else
   11674     puts (dlerror ());
   11675 
   11676   return status;
   11677 }
   11678 _LT_EOF
   11679   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11680   (eval $ac_link) 2>&5
   11681   ac_status=$?
   11682   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11683   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   11684     (./conftest; exit; ) >&5 2>/dev/null
   11685     lt_status=$?
   11686     case x$lt_status in
   11687       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11688       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11689       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11690     esac
   11691   else :
   11692     # compilation failed
   11693     lt_cv_dlopen_self=no
   11694   fi
   11695 fi
   11696 rm -fr conftest*
   11697 
   11698 
   11699 fi
   11700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11701 $as_echo "$lt_cv_dlopen_self" >&6; }
   11702 
   11703     if test yes = "$lt_cv_dlopen_self"; then
   11704       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11705       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11706 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11707 if ${lt_cv_dlopen_self_static+:} false; then :
   11708   $as_echo_n "(cached) " >&6
   11709 else
   11710   	  if test yes = "$cross_compiling"; then :
   11711   lt_cv_dlopen_self_static=cross
   11712 else
   11713   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11714   lt_status=$lt_dlunknown
   11715   cat > conftest.$ac_ext <<_LT_EOF
   11716 #line $LINENO "configure"
   11717 #include "confdefs.h"
   11718 
   11719 #if HAVE_DLFCN_H
   11720 #include <dlfcn.h>
   11721 #endif
   11722 
   11723 #include <stdio.h>
   11724 
   11725 #ifdef RTLD_GLOBAL
   11726 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11727 #else
   11728 #  ifdef DL_GLOBAL
   11729 #    define LT_DLGLOBAL		DL_GLOBAL
   11730 #  else
   11731 #    define LT_DLGLOBAL		0
   11732 #  endif
   11733 #endif
   11734 
   11735 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11736    find out it does not work in some platform. */
   11737 #ifndef LT_DLLAZY_OR_NOW
   11738 #  ifdef RTLD_LAZY
   11739 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11740 #  else
   11741 #    ifdef DL_LAZY
   11742 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11743 #    else
   11744 #      ifdef RTLD_NOW
   11745 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11746 #      else
   11747 #        ifdef DL_NOW
   11748 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11749 #        else
   11750 #          define LT_DLLAZY_OR_NOW	0
   11751 #        endif
   11752 #      endif
   11753 #    endif
   11754 #  endif
   11755 #endif
   11756 
   11757 /* When -fvisibility=hidden is used, assume the code has been annotated
   11758    correspondingly for the symbols needed.  */
   11759 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11760 int fnord () __attribute__((visibility("default")));
   11761 #endif
   11762 
   11763 int fnord () { return 42; }
   11764 int main ()
   11765 {
   11766   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11767   int status = $lt_dlunknown;
   11768 
   11769   if (self)
   11770     {
   11771       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11772       else
   11773         {
   11774 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11775           else puts (dlerror ());
   11776 	}
   11777       /* dlclose (self); */
   11778     }
   11779   else
   11780     puts (dlerror ());
   11781 
   11782   return status;
   11783 }
   11784 _LT_EOF
   11785   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11786   (eval $ac_link) 2>&5
   11787   ac_status=$?
   11788   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11789   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   11790     (./conftest; exit; ) >&5 2>/dev/null
   11791     lt_status=$?
   11792     case x$lt_status in
   11793       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11794       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11795       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11796     esac
   11797   else :
   11798     # compilation failed
   11799     lt_cv_dlopen_self_static=no
   11800   fi
   11801 fi
   11802 rm -fr conftest*
   11803 
   11804 
   11805 fi
   11806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11807 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11808     fi
   11809 
   11810     CPPFLAGS=$save_CPPFLAGS
   11811     LDFLAGS=$save_LDFLAGS
   11812     LIBS=$save_LIBS
   11813     ;;
   11814   esac
   11815 
   11816   case $lt_cv_dlopen_self in
   11817   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11818   *) enable_dlopen_self=unknown ;;
   11819   esac
   11820 
   11821   case $lt_cv_dlopen_self_static in
   11822   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11823   *) enable_dlopen_self_static=unknown ;;
   11824   esac
   11825 fi
   11826 
   11827 
   11828 
   11829 
   11830 
   11831 
   11832 
   11833 
   11834 
   11835 
   11836 
   11837 
   11838 
   11839 
   11840 
   11841 
   11842 
   11843 striplib=
   11844 old_striplib=
   11845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11846 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11847 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11848   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11849   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11851 $as_echo "yes" >&6; }
   11852 else
   11853 # FIXME - insert some real tests, host_os isn't really good enough
   11854   case $host_os in
   11855   darwin*)
   11856     if test -n "$STRIP"; then
   11857       striplib="$STRIP -x"
   11858       old_striplib="$STRIP -S"
   11859       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11860 $as_echo "yes" >&6; }
   11861     else
   11862       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11863 $as_echo "no" >&6; }
   11864     fi
   11865     ;;
   11866   *)
   11867     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11868 $as_echo "no" >&6; }
   11869     ;;
   11870   esac
   11871 fi
   11872 
   11873 
   11874 
   11875 
   11876 
   11877 
   11878 
   11879 
   11880 
   11881 
   11882 
   11883 
   11884   # Report what library types will actually be built
   11885   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11886 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11888 $as_echo "$can_build_shared" >&6; }
   11889 
   11890   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11891 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11892   test no = "$can_build_shared" && enable_shared=no
   11893 
   11894   # On AIX, shared libraries and static libraries use the same namespace, and
   11895   # are all built from PIC.
   11896   case $host_os in
   11897   aix3*)
   11898     test yes = "$enable_shared" && enable_static=no
   11899     if test -n "$RANLIB"; then
   11900       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11901       postinstall_cmds='$RANLIB $lib'
   11902     fi
   11903     ;;
   11904 
   11905   aix[4-9]*)
   11906     if test ia64 != "$host_cpu"; then
   11907       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   11908       yes,aix,yes) ;;			# shared object as lib.so file only
   11909       yes,svr4,*) ;;			# shared object as lib.so archive member only
   11910       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   11911       esac
   11912     fi
   11913     ;;
   11914   esac
   11915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11916 $as_echo "$enable_shared" >&6; }
   11917 
   11918   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11919 $as_echo_n "checking whether to build static libraries... " >&6; }
   11920   # Make sure either enable_shared or enable_static is yes.
   11921   test yes = "$enable_shared" || enable_static=yes
   11922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11923 $as_echo "$enable_static" >&6; }
   11924 
   11925 
   11926 
   11927 
   11928 fi
   11929 ac_ext=c
   11930 ac_cpp='$CPP $CPPFLAGS'
   11931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11934 
   11935 CC=$lt_save_CC
   11936 
   11937 
   11938 
   11939 
   11940 
   11941 
   11942 
   11943 
   11944 
   11945 
   11946 
   11947 
   11948 
   11949 
   11950 
   11951         ac_config_commands="$ac_config_commands libtool"
   11952 
   11953 
   11954 
   11955 
   11956 # Only expand once:
   11957 
   11958 
   11959 
   11960 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   11961 
   11962 
   11963 
   11964 
   11965 
   11966 
   11967 
   11968 
   11969 
   11970 
   11971 
   11972    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   11973 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11974 if ${ac_cv_prog_cc_c99+:} false; then :
   11975   $as_echo_n "(cached) " >&6
   11976 else
   11977   ac_cv_prog_cc_c99=no
   11978 ac_save_CC=$CC
   11979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11980 /* end confdefs.h.  */
   11981 #include <stdarg.h>
   11982 #include <stdbool.h>
   11983 #include <stdlib.h>
   11984 #include <wchar.h>
   11985 #include <stdio.h>
   11986 
   11987 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   11988 #define debug(...) fprintf (stderr, __VA_ARGS__)
   11989 #define showlist(...) puts (#__VA_ARGS__)
   11990 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   11991 static void
   11992 test_varargs_macros (void)
   11993 {
   11994   int x = 1234;
   11995   int y = 5678;
   11996   debug ("Flag");
   11997   debug ("X = %d\n", x);
   11998   showlist (The first, second, and third items.);
   11999   report (x>y, "x is %d but y is %d", x, y);
   12000 }
   12001 
   12002 // Check long long types.
   12003 #define BIG64 18446744073709551615ull
   12004 #define BIG32 4294967295ul
   12005 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   12006 #if !BIG_OK
   12007   your preprocessor is broken;
   12008 #endif
   12009 #if BIG_OK
   12010 #else
   12011   your preprocessor is broken;
   12012 #endif
   12013 static long long int bignum = -9223372036854775807LL;
   12014 static unsigned long long int ubignum = BIG64;
   12015 
   12016 struct incomplete_array
   12017 {
   12018   int datasize;
   12019   double data[];
   12020 };
   12021 
   12022 struct named_init {
   12023   int number;
   12024   const wchar_t *name;
   12025   double average;
   12026 };
   12027 
   12028 typedef const char *ccp;
   12029 
   12030 static inline int
   12031 test_restrict (ccp restrict text)
   12032 {
   12033   // See if C++-style comments work.
   12034   // Iterate through items via the restricted pointer.
   12035   // Also check for declarations in for loops.
   12036   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   12037     continue;
   12038   return 0;
   12039 }
   12040 
   12041 // Check varargs and va_copy.
   12042 static void
   12043 test_varargs (const char *format, ...)
   12044 {
   12045   va_list args;
   12046   va_start (args, format);
   12047   va_list args_copy;
   12048   va_copy (args_copy, args);
   12049 
   12050   const char *str;
   12051   int number;
   12052   float fnumber;
   12053 
   12054   while (*format)
   12055     {
   12056       switch (*format++)
   12057 	{
   12058 	case 's': // string
   12059 	  str = va_arg (args_copy, const char *);
   12060 	  break;
   12061 	case 'd': // int
   12062 	  number = va_arg (args_copy, int);
   12063 	  break;
   12064 	case 'f': // float
   12065 	  fnumber = va_arg (args_copy, double);
   12066 	  break;
   12067 	default:
   12068 	  break;
   12069 	}
   12070     }
   12071   va_end (args_copy);
   12072   va_end (args);
   12073 }
   12074 
   12075 int
   12076 main ()
   12077 {
   12078 
   12079   // Check bool.
   12080   _Bool success = false;
   12081 
   12082   // Check restrict.
   12083   if (test_restrict ("String literal") == 0)
   12084     success = true;
   12085   char *restrict newvar = "Another string";
   12086 
   12087   // Check varargs.
   12088   test_varargs ("s, d' f .", "string", 65, 34.234);
   12089   test_varargs_macros ();
   12090 
   12091   // Check flexible array members.
   12092   struct incomplete_array *ia =
   12093     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   12094   ia->datasize = 10;
   12095   for (int i = 0; i < ia->datasize; ++i)
   12096     ia->data[i] = i * 1.234;
   12097 
   12098   // Check named initializers.
   12099   struct named_init ni = {
   12100     .number = 34,
   12101     .name = L"Test wide string",
   12102     .average = 543.34343,
   12103   };
   12104 
   12105   ni.number = 58;
   12106 
   12107   int dynamic_array[ni.number];
   12108   dynamic_array[ni.number - 1] = 543;
   12109 
   12110   // work around unused variable warnings
   12111   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   12112 	  || dynamic_array[ni.number - 1] != 543);
   12113 
   12114   ;
   12115   return 0;
   12116 }
   12117 _ACEOF
   12118 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   12119 do
   12120   CC="$ac_save_CC $ac_arg"
   12121   if ac_fn_c_try_compile "$LINENO"; then :
   12122   ac_cv_prog_cc_c99=$ac_arg
   12123 fi
   12124 rm -f core conftest.err conftest.$ac_objext
   12125   test "x$ac_cv_prog_cc_c99" != "xno" && break
   12126 done
   12127 rm -f conftest.$ac_ext
   12128 CC=$ac_save_CC
   12129 
   12130 fi
   12131 # AC_CACHE_VAL
   12132 case "x$ac_cv_prog_cc_c99" in
   12133   x)
   12134     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   12135 $as_echo "none needed" >&6; } ;;
   12136   xno)
   12137     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   12138 $as_echo "unsupported" >&6; } ;;
   12139   *)
   12140     CC="$CC $ac_cv_prog_cc_c99"
   12141     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   12142 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   12143 esac
   12144 if test "x$ac_cv_prog_cc_c99" != xno; then :
   12145 
   12146 fi
   12147 
   12148 
   12149 
   12150 
   12151 
   12152 
   12153 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   12154 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   12155   CLANGCC="yes"
   12156 else
   12157   CLANGCC="no"
   12158 fi
   12159 
   12160 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   12161 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   12162   INTELCC="yes"
   12163 else
   12164   INTELCC="no"
   12165 fi
   12166 
   12167 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   12168 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   12169   SUNCC="yes"
   12170 else
   12171   SUNCC="no"
   12172 fi
   12173 
   12174 
   12175 
   12176 
   12177 
   12178 
   12179 
   12180 
   12181 
   12182 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   12183 	if test -n "$ac_tool_prefix"; then
   12184   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   12185 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   12186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12187 $as_echo_n "checking for $ac_word... " >&6; }
   12188 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   12189   $as_echo_n "(cached) " >&6
   12190 else
   12191   case $PKG_CONFIG in
   12192   [\\/]* | ?:[\\/]*)
   12193   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   12194   ;;
   12195   *)
   12196   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12197 for as_dir in $PATH
   12198 do
   12199   IFS=$as_save_IFS
   12200   test -z "$as_dir" && as_dir=.
   12201     for ac_exec_ext in '' $ac_executable_extensions; do
   12202   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12203     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12204     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12205     break 2
   12206   fi
   12207 done
   12208   done
   12209 IFS=$as_save_IFS
   12210 
   12211   ;;
   12212 esac
   12213 fi
   12214 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   12215 if test -n "$PKG_CONFIG"; then
   12216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   12217 $as_echo "$PKG_CONFIG" >&6; }
   12218 else
   12219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12220 $as_echo "no" >&6; }
   12221 fi
   12222 
   12223 
   12224 fi
   12225 if test -z "$ac_cv_path_PKG_CONFIG"; then
   12226   ac_pt_PKG_CONFIG=$PKG_CONFIG
   12227   # Extract the first word of "pkg-config", so it can be a program name with args.
   12228 set dummy pkg-config; ac_word=$2
   12229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12230 $as_echo_n "checking for $ac_word... " >&6; }
   12231 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   12232   $as_echo_n "(cached) " >&6
   12233 else
   12234   case $ac_pt_PKG_CONFIG in
   12235   [\\/]* | ?:[\\/]*)
   12236   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   12237   ;;
   12238   *)
   12239   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12240 for as_dir in $PATH
   12241 do
   12242   IFS=$as_save_IFS
   12243   test -z "$as_dir" && as_dir=.
   12244     for ac_exec_ext in '' $ac_executable_extensions; do
   12245   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12246     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12247     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12248     break 2
   12249   fi
   12250 done
   12251   done
   12252 IFS=$as_save_IFS
   12253 
   12254   ;;
   12255 esac
   12256 fi
   12257 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   12258 if test -n "$ac_pt_PKG_CONFIG"; then
   12259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   12260 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   12261 else
   12262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12263 $as_echo "no" >&6; }
   12264 fi
   12265 
   12266   if test "x$ac_pt_PKG_CONFIG" = x; then
   12267     PKG_CONFIG=""
   12268   else
   12269     case $cross_compiling:$ac_tool_warned in
   12270 yes:)
   12271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12272 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12273 ac_tool_warned=yes ;;
   12274 esac
   12275     PKG_CONFIG=$ac_pt_PKG_CONFIG
   12276   fi
   12277 else
   12278   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   12279 fi
   12280 
   12281 fi
   12282 if test -n "$PKG_CONFIG"; then
   12283 	_pkg_min_version=0.9.0
   12284 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   12285 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   12286 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   12287 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12288 $as_echo "yes" >&6; }
   12289 	else
   12290 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12291 $as_echo "no" >&6; }
   12292 		PKG_CONFIG=""
   12293 	fi
   12294 fi
   12295 
   12296 
   12297 
   12298 
   12299 
   12300 # Check whether --enable-selective-werror was given.
   12301 if test "${enable_selective_werror+set}" = set; then :
   12302   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   12303 else
   12304   SELECTIVE_WERROR=yes
   12305 fi
   12306 
   12307 
   12308 
   12309 
   12310 
   12311 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   12312 if test "x$SUNCC" = "xyes"; then
   12313     BASE_CFLAGS="-v"
   12314 else
   12315     BASE_CFLAGS=""
   12316 fi
   12317 
   12318 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   12319 
   12320 
   12321 
   12322 
   12323 
   12324 
   12325 
   12326 
   12327 
   12328 
   12329 
   12330 
   12331 
   12332 xorg_testset_save_CFLAGS="$CFLAGS"
   12333 
   12334 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12335 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12336 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12337 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12338 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12339   $as_echo_n "(cached) " >&6
   12340 else
   12341   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12342 /* end confdefs.h.  */
   12343 int i;
   12344 _ACEOF
   12345 if ac_fn_c_try_compile "$LINENO"; then :
   12346   xorg_cv_cc_flag_unknown_warning_option=yes
   12347 else
   12348   xorg_cv_cc_flag_unknown_warning_option=no
   12349 fi
   12350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12351 fi
   12352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12353 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12354 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12355 	CFLAGS="$xorg_testset_save_CFLAGS"
   12356 fi
   12357 
   12358 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12359 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12360 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12361 	fi
   12362 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12363 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12364 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12365 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12366   $as_echo_n "(cached) " >&6
   12367 else
   12368   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12369 /* end confdefs.h.  */
   12370 int i;
   12371 _ACEOF
   12372 if ac_fn_c_try_compile "$LINENO"; then :
   12373   xorg_cv_cc_flag_unused_command_line_argument=yes
   12374 else
   12375   xorg_cv_cc_flag_unused_command_line_argument=no
   12376 fi
   12377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12378 fi
   12379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12380 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12381 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12382 	CFLAGS="$xorg_testset_save_CFLAGS"
   12383 fi
   12384 
   12385 found="no"
   12386 
   12387 	if test $found = "no" ; then
   12388 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12389 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12390 		fi
   12391 
   12392 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12393 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12394 		fi
   12395 
   12396 		CFLAGS="$CFLAGS -Wall"
   12397 
   12398 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   12399 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   12400 		cacheid=xorg_cv_cc_flag__Wall
   12401 		if eval \${$cacheid+:} false; then :
   12402   $as_echo_n "(cached) " >&6
   12403 else
   12404   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12405 /* end confdefs.h.  */
   12406 int i;
   12407 int
   12408 main ()
   12409 {
   12410 
   12411   ;
   12412   return 0;
   12413 }
   12414 _ACEOF
   12415 if ac_fn_c_try_link "$LINENO"; then :
   12416   eval $cacheid=yes
   12417 else
   12418   eval $cacheid=no
   12419 fi
   12420 rm -f core conftest.err conftest.$ac_objext \
   12421     conftest$ac_exeext conftest.$ac_ext
   12422 fi
   12423 
   12424 
   12425 		CFLAGS="$xorg_testset_save_CFLAGS"
   12426 
   12427 		eval supported=\$$cacheid
   12428 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12429 $as_echo "$supported" >&6; }
   12430 		if test "$supported" = "yes" ; then
   12431 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   12432 			found="yes"
   12433 		fi
   12434 	fi
   12435 
   12436 
   12437 
   12438 
   12439 
   12440 
   12441 
   12442 
   12443 
   12444 
   12445 
   12446 
   12447 
   12448 
   12449 
   12450 xorg_testset_save_CFLAGS="$CFLAGS"
   12451 
   12452 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12453 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12454 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12455 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12456 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12457   $as_echo_n "(cached) " >&6
   12458 else
   12459   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12460 /* end confdefs.h.  */
   12461 int i;
   12462 _ACEOF
   12463 if ac_fn_c_try_compile "$LINENO"; then :
   12464   xorg_cv_cc_flag_unknown_warning_option=yes
   12465 else
   12466   xorg_cv_cc_flag_unknown_warning_option=no
   12467 fi
   12468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12469 fi
   12470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12471 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12472 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12473 	CFLAGS="$xorg_testset_save_CFLAGS"
   12474 fi
   12475 
   12476 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12477 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12478 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12479 	fi
   12480 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12481 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12482 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12483 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12484   $as_echo_n "(cached) " >&6
   12485 else
   12486   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12487 /* end confdefs.h.  */
   12488 int i;
   12489 _ACEOF
   12490 if ac_fn_c_try_compile "$LINENO"; then :
   12491   xorg_cv_cc_flag_unused_command_line_argument=yes
   12492 else
   12493   xorg_cv_cc_flag_unused_command_line_argument=no
   12494 fi
   12495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12496 fi
   12497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12498 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12499 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12500 	CFLAGS="$xorg_testset_save_CFLAGS"
   12501 fi
   12502 
   12503 found="no"
   12504 
   12505 	if test $found = "no" ; then
   12506 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12507 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12508 		fi
   12509 
   12510 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12511 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12512 		fi
   12513 
   12514 		CFLAGS="$CFLAGS -Wpointer-arith"
   12515 
   12516 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   12517 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   12518 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   12519 		if eval \${$cacheid+:} false; then :
   12520   $as_echo_n "(cached) " >&6
   12521 else
   12522   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12523 /* end confdefs.h.  */
   12524 int i;
   12525 int
   12526 main ()
   12527 {
   12528 
   12529   ;
   12530   return 0;
   12531 }
   12532 _ACEOF
   12533 if ac_fn_c_try_link "$LINENO"; then :
   12534   eval $cacheid=yes
   12535 else
   12536   eval $cacheid=no
   12537 fi
   12538 rm -f core conftest.err conftest.$ac_objext \
   12539     conftest$ac_exeext conftest.$ac_ext
   12540 fi
   12541 
   12542 
   12543 		CFLAGS="$xorg_testset_save_CFLAGS"
   12544 
   12545 		eval supported=\$$cacheid
   12546 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12547 $as_echo "$supported" >&6; }
   12548 		if test "$supported" = "yes" ; then
   12549 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   12550 			found="yes"
   12551 		fi
   12552 	fi
   12553 
   12554 
   12555 
   12556 
   12557 
   12558 
   12559 
   12560 
   12561 
   12562 
   12563 
   12564 
   12565 
   12566 
   12567 
   12568 xorg_testset_save_CFLAGS="$CFLAGS"
   12569 
   12570 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12571 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12572 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12573 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12574 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12575   $as_echo_n "(cached) " >&6
   12576 else
   12577   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12578 /* end confdefs.h.  */
   12579 int i;
   12580 _ACEOF
   12581 if ac_fn_c_try_compile "$LINENO"; then :
   12582   xorg_cv_cc_flag_unknown_warning_option=yes
   12583 else
   12584   xorg_cv_cc_flag_unknown_warning_option=no
   12585 fi
   12586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12587 fi
   12588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12589 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12590 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12591 	CFLAGS="$xorg_testset_save_CFLAGS"
   12592 fi
   12593 
   12594 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12595 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12596 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12597 	fi
   12598 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12599 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12600 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12601 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12602   $as_echo_n "(cached) " >&6
   12603 else
   12604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12605 /* end confdefs.h.  */
   12606 int i;
   12607 _ACEOF
   12608 if ac_fn_c_try_compile "$LINENO"; then :
   12609   xorg_cv_cc_flag_unused_command_line_argument=yes
   12610 else
   12611   xorg_cv_cc_flag_unused_command_line_argument=no
   12612 fi
   12613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12614 fi
   12615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12616 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12617 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12618 	CFLAGS="$xorg_testset_save_CFLAGS"
   12619 fi
   12620 
   12621 found="no"
   12622 
   12623 	if test $found = "no" ; then
   12624 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12625 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12626 		fi
   12627 
   12628 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12629 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12630 		fi
   12631 
   12632 		CFLAGS="$CFLAGS -Wmissing-declarations"
   12633 
   12634 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   12635 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   12636 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   12637 		if eval \${$cacheid+:} false; then :
   12638   $as_echo_n "(cached) " >&6
   12639 else
   12640   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12641 /* end confdefs.h.  */
   12642 int i;
   12643 int
   12644 main ()
   12645 {
   12646 
   12647   ;
   12648   return 0;
   12649 }
   12650 _ACEOF
   12651 if ac_fn_c_try_link "$LINENO"; then :
   12652   eval $cacheid=yes
   12653 else
   12654   eval $cacheid=no
   12655 fi
   12656 rm -f core conftest.err conftest.$ac_objext \
   12657     conftest$ac_exeext conftest.$ac_ext
   12658 fi
   12659 
   12660 
   12661 		CFLAGS="$xorg_testset_save_CFLAGS"
   12662 
   12663 		eval supported=\$$cacheid
   12664 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12665 $as_echo "$supported" >&6; }
   12666 		if test "$supported" = "yes" ; then
   12667 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   12668 			found="yes"
   12669 		fi
   12670 	fi
   12671 
   12672 
   12673 
   12674 
   12675 
   12676 
   12677 
   12678 
   12679 
   12680 
   12681 
   12682 
   12683 
   12684 
   12685 
   12686 xorg_testset_save_CFLAGS="$CFLAGS"
   12687 
   12688 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12689 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12690 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12691 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12692 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12693   $as_echo_n "(cached) " >&6
   12694 else
   12695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12696 /* end confdefs.h.  */
   12697 int i;
   12698 _ACEOF
   12699 if ac_fn_c_try_compile "$LINENO"; then :
   12700   xorg_cv_cc_flag_unknown_warning_option=yes
   12701 else
   12702   xorg_cv_cc_flag_unknown_warning_option=no
   12703 fi
   12704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12705 fi
   12706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12707 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12708 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12709 	CFLAGS="$xorg_testset_save_CFLAGS"
   12710 fi
   12711 
   12712 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12713 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12714 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12715 	fi
   12716 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12717 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12718 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12719 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12720   $as_echo_n "(cached) " >&6
   12721 else
   12722   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12723 /* end confdefs.h.  */
   12724 int i;
   12725 _ACEOF
   12726 if ac_fn_c_try_compile "$LINENO"; then :
   12727   xorg_cv_cc_flag_unused_command_line_argument=yes
   12728 else
   12729   xorg_cv_cc_flag_unused_command_line_argument=no
   12730 fi
   12731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12732 fi
   12733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12734 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12735 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12736 	CFLAGS="$xorg_testset_save_CFLAGS"
   12737 fi
   12738 
   12739 found="no"
   12740 
   12741 	if test $found = "no" ; then
   12742 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12743 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12744 		fi
   12745 
   12746 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12747 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12748 		fi
   12749 
   12750 		CFLAGS="$CFLAGS -Wformat=2"
   12751 
   12752 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   12753 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   12754 		cacheid=xorg_cv_cc_flag__Wformat_2
   12755 		if eval \${$cacheid+:} false; then :
   12756   $as_echo_n "(cached) " >&6
   12757 else
   12758   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12759 /* end confdefs.h.  */
   12760 int i;
   12761 int
   12762 main ()
   12763 {
   12764 
   12765   ;
   12766   return 0;
   12767 }
   12768 _ACEOF
   12769 if ac_fn_c_try_link "$LINENO"; then :
   12770   eval $cacheid=yes
   12771 else
   12772   eval $cacheid=no
   12773 fi
   12774 rm -f core conftest.err conftest.$ac_objext \
   12775     conftest$ac_exeext conftest.$ac_ext
   12776 fi
   12777 
   12778 
   12779 		CFLAGS="$xorg_testset_save_CFLAGS"
   12780 
   12781 		eval supported=\$$cacheid
   12782 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12783 $as_echo "$supported" >&6; }
   12784 		if test "$supported" = "yes" ; then
   12785 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   12786 			found="yes"
   12787 		fi
   12788 	fi
   12789 
   12790 	if test $found = "no" ; then
   12791 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12792 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12793 		fi
   12794 
   12795 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12796 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12797 		fi
   12798 
   12799 		CFLAGS="$CFLAGS -Wformat"
   12800 
   12801 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   12802 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   12803 		cacheid=xorg_cv_cc_flag__Wformat
   12804 		if eval \${$cacheid+:} false; then :
   12805   $as_echo_n "(cached) " >&6
   12806 else
   12807   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12808 /* end confdefs.h.  */
   12809 int i;
   12810 int
   12811 main ()
   12812 {
   12813 
   12814   ;
   12815   return 0;
   12816 }
   12817 _ACEOF
   12818 if ac_fn_c_try_link "$LINENO"; then :
   12819   eval $cacheid=yes
   12820 else
   12821   eval $cacheid=no
   12822 fi
   12823 rm -f core conftest.err conftest.$ac_objext \
   12824     conftest$ac_exeext conftest.$ac_ext
   12825 fi
   12826 
   12827 
   12828 		CFLAGS="$xorg_testset_save_CFLAGS"
   12829 
   12830 		eval supported=\$$cacheid
   12831 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12832 $as_echo "$supported" >&6; }
   12833 		if test "$supported" = "yes" ; then
   12834 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   12835 			found="yes"
   12836 		fi
   12837 	fi
   12838 
   12839 
   12840 
   12841 
   12842 
   12843 
   12844 
   12845 
   12846 
   12847 
   12848 
   12849 
   12850 
   12851 
   12852 
   12853 
   12854 
   12855 xorg_testset_save_CFLAGS="$CFLAGS"
   12856 
   12857 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12858 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12859 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12860 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12861 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12862   $as_echo_n "(cached) " >&6
   12863 else
   12864   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12865 /* end confdefs.h.  */
   12866 int i;
   12867 _ACEOF
   12868 if ac_fn_c_try_compile "$LINENO"; then :
   12869   xorg_cv_cc_flag_unknown_warning_option=yes
   12870 else
   12871   xorg_cv_cc_flag_unknown_warning_option=no
   12872 fi
   12873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12874 fi
   12875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12876 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12877 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12878 	CFLAGS="$xorg_testset_save_CFLAGS"
   12879 fi
   12880 
   12881 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12882 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12883 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12884 	fi
   12885 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12886 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12887 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12888 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12889   $as_echo_n "(cached) " >&6
   12890 else
   12891   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12892 /* end confdefs.h.  */
   12893 int i;
   12894 _ACEOF
   12895 if ac_fn_c_try_compile "$LINENO"; then :
   12896   xorg_cv_cc_flag_unused_command_line_argument=yes
   12897 else
   12898   xorg_cv_cc_flag_unused_command_line_argument=no
   12899 fi
   12900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12901 fi
   12902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12903 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12904 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12905 	CFLAGS="$xorg_testset_save_CFLAGS"
   12906 fi
   12907 
   12908 found="no"
   12909 
   12910 	if test $found = "no" ; then
   12911 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12912 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12913 		fi
   12914 
   12915 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12916 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12917 		fi
   12918 
   12919 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   12920 
   12921 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   12922 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   12923 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   12924 		if eval \${$cacheid+:} false; then :
   12925   $as_echo_n "(cached) " >&6
   12926 else
   12927   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12928 /* end confdefs.h.  */
   12929 int i;
   12930 int
   12931 main ()
   12932 {
   12933 
   12934   ;
   12935   return 0;
   12936 }
   12937 _ACEOF
   12938 if ac_fn_c_try_link "$LINENO"; then :
   12939   eval $cacheid=yes
   12940 else
   12941   eval $cacheid=no
   12942 fi
   12943 rm -f core conftest.err conftest.$ac_objext \
   12944     conftest$ac_exeext conftest.$ac_ext
   12945 fi
   12946 
   12947 
   12948 		CFLAGS="$xorg_testset_save_CFLAGS"
   12949 
   12950 		eval supported=\$$cacheid
   12951 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12952 $as_echo "$supported" >&6; }
   12953 		if test "$supported" = "yes" ; then
   12954 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   12955 			found="yes"
   12956 		fi
   12957 	fi
   12958 
   12959 
   12960 
   12961 
   12962 
   12963 
   12964 
   12965 
   12966 
   12967 
   12968 
   12969 
   12970 
   12971 
   12972 
   12973 xorg_testset_save_CFLAGS="$CFLAGS"
   12974 
   12975 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12976 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12977 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12978 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12979 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12980   $as_echo_n "(cached) " >&6
   12981 else
   12982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12983 /* end confdefs.h.  */
   12984 int i;
   12985 _ACEOF
   12986 if ac_fn_c_try_compile "$LINENO"; then :
   12987   xorg_cv_cc_flag_unknown_warning_option=yes
   12988 else
   12989   xorg_cv_cc_flag_unknown_warning_option=no
   12990 fi
   12991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12992 fi
   12993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12994 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12995 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12996 	CFLAGS="$xorg_testset_save_CFLAGS"
   12997 fi
   12998 
   12999 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13000 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13001 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13002 	fi
   13003 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13004 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13005 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13006 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13007   $as_echo_n "(cached) " >&6
   13008 else
   13009   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13010 /* end confdefs.h.  */
   13011 int i;
   13012 _ACEOF
   13013 if ac_fn_c_try_compile "$LINENO"; then :
   13014   xorg_cv_cc_flag_unused_command_line_argument=yes
   13015 else
   13016   xorg_cv_cc_flag_unused_command_line_argument=no
   13017 fi
   13018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13019 fi
   13020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13021 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13022 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13023 	CFLAGS="$xorg_testset_save_CFLAGS"
   13024 fi
   13025 
   13026 found="no"
   13027 
   13028 	if test $found = "no" ; then
   13029 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13030 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13031 		fi
   13032 
   13033 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13034 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13035 		fi
   13036 
   13037 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   13038 
   13039 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   13040 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   13041 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   13042 		if eval \${$cacheid+:} false; then :
   13043   $as_echo_n "(cached) " >&6
   13044 else
   13045   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13046 /* end confdefs.h.  */
   13047 int i;
   13048 int
   13049 main ()
   13050 {
   13051 
   13052   ;
   13053   return 0;
   13054 }
   13055 _ACEOF
   13056 if ac_fn_c_try_link "$LINENO"; then :
   13057   eval $cacheid=yes
   13058 else
   13059   eval $cacheid=no
   13060 fi
   13061 rm -f core conftest.err conftest.$ac_objext \
   13062     conftest$ac_exeext conftest.$ac_ext
   13063 fi
   13064 
   13065 
   13066 		CFLAGS="$xorg_testset_save_CFLAGS"
   13067 
   13068 		eval supported=\$$cacheid
   13069 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13070 $as_echo "$supported" >&6; }
   13071 		if test "$supported" = "yes" ; then
   13072 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   13073 			found="yes"
   13074 		fi
   13075 	fi
   13076 
   13077 
   13078 
   13079 
   13080 
   13081 
   13082 
   13083 
   13084 
   13085 
   13086 
   13087 
   13088 
   13089 
   13090 
   13091 xorg_testset_save_CFLAGS="$CFLAGS"
   13092 
   13093 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13094 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13095 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13096 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13097 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13098   $as_echo_n "(cached) " >&6
   13099 else
   13100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13101 /* end confdefs.h.  */
   13102 int i;
   13103 _ACEOF
   13104 if ac_fn_c_try_compile "$LINENO"; then :
   13105   xorg_cv_cc_flag_unknown_warning_option=yes
   13106 else
   13107   xorg_cv_cc_flag_unknown_warning_option=no
   13108 fi
   13109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13110 fi
   13111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13112 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13113 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13114 	CFLAGS="$xorg_testset_save_CFLAGS"
   13115 fi
   13116 
   13117 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13118 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13119 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13120 	fi
   13121 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13122 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13123 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13124 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13125   $as_echo_n "(cached) " >&6
   13126 else
   13127   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13128 /* end confdefs.h.  */
   13129 int i;
   13130 _ACEOF
   13131 if ac_fn_c_try_compile "$LINENO"; then :
   13132   xorg_cv_cc_flag_unused_command_line_argument=yes
   13133 else
   13134   xorg_cv_cc_flag_unused_command_line_argument=no
   13135 fi
   13136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13137 fi
   13138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13139 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13140 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13141 	CFLAGS="$xorg_testset_save_CFLAGS"
   13142 fi
   13143 
   13144 found="no"
   13145 
   13146 	if test $found = "no" ; then
   13147 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13148 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13149 		fi
   13150 
   13151 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13152 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13153 		fi
   13154 
   13155 		CFLAGS="$CFLAGS -Wnested-externs"
   13156 
   13157 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   13158 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   13159 		cacheid=xorg_cv_cc_flag__Wnested_externs
   13160 		if eval \${$cacheid+:} false; then :
   13161   $as_echo_n "(cached) " >&6
   13162 else
   13163   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13164 /* end confdefs.h.  */
   13165 int i;
   13166 int
   13167 main ()
   13168 {
   13169 
   13170   ;
   13171   return 0;
   13172 }
   13173 _ACEOF
   13174 if ac_fn_c_try_link "$LINENO"; then :
   13175   eval $cacheid=yes
   13176 else
   13177   eval $cacheid=no
   13178 fi
   13179 rm -f core conftest.err conftest.$ac_objext \
   13180     conftest$ac_exeext conftest.$ac_ext
   13181 fi
   13182 
   13183 
   13184 		CFLAGS="$xorg_testset_save_CFLAGS"
   13185 
   13186 		eval supported=\$$cacheid
   13187 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13188 $as_echo "$supported" >&6; }
   13189 		if test "$supported" = "yes" ; then
   13190 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   13191 			found="yes"
   13192 		fi
   13193 	fi
   13194 
   13195 
   13196 
   13197 
   13198 
   13199 
   13200 
   13201 
   13202 
   13203 
   13204 
   13205 
   13206 
   13207 
   13208 
   13209 xorg_testset_save_CFLAGS="$CFLAGS"
   13210 
   13211 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13212 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13213 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13214 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13215 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13216   $as_echo_n "(cached) " >&6
   13217 else
   13218   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13219 /* end confdefs.h.  */
   13220 int i;
   13221 _ACEOF
   13222 if ac_fn_c_try_compile "$LINENO"; then :
   13223   xorg_cv_cc_flag_unknown_warning_option=yes
   13224 else
   13225   xorg_cv_cc_flag_unknown_warning_option=no
   13226 fi
   13227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13228 fi
   13229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13230 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13231 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13232 	CFLAGS="$xorg_testset_save_CFLAGS"
   13233 fi
   13234 
   13235 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13236 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13237 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13238 	fi
   13239 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13240 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13241 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13242 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13243   $as_echo_n "(cached) " >&6
   13244 else
   13245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13246 /* end confdefs.h.  */
   13247 int i;
   13248 _ACEOF
   13249 if ac_fn_c_try_compile "$LINENO"; then :
   13250   xorg_cv_cc_flag_unused_command_line_argument=yes
   13251 else
   13252   xorg_cv_cc_flag_unused_command_line_argument=no
   13253 fi
   13254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13255 fi
   13256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13257 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13258 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13259 	CFLAGS="$xorg_testset_save_CFLAGS"
   13260 fi
   13261 
   13262 found="no"
   13263 
   13264 	if test $found = "no" ; then
   13265 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13266 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13267 		fi
   13268 
   13269 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13270 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13271 		fi
   13272 
   13273 		CFLAGS="$CFLAGS -Wbad-function-cast"
   13274 
   13275 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   13276 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   13277 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   13278 		if eval \${$cacheid+:} false; then :
   13279   $as_echo_n "(cached) " >&6
   13280 else
   13281   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13282 /* end confdefs.h.  */
   13283 int i;
   13284 int
   13285 main ()
   13286 {
   13287 
   13288   ;
   13289   return 0;
   13290 }
   13291 _ACEOF
   13292 if ac_fn_c_try_link "$LINENO"; then :
   13293   eval $cacheid=yes
   13294 else
   13295   eval $cacheid=no
   13296 fi
   13297 rm -f core conftest.err conftest.$ac_objext \
   13298     conftest$ac_exeext conftest.$ac_ext
   13299 fi
   13300 
   13301 
   13302 		CFLAGS="$xorg_testset_save_CFLAGS"
   13303 
   13304 		eval supported=\$$cacheid
   13305 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13306 $as_echo "$supported" >&6; }
   13307 		if test "$supported" = "yes" ; then
   13308 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   13309 			found="yes"
   13310 		fi
   13311 	fi
   13312 
   13313 
   13314 
   13315 
   13316 
   13317 
   13318 
   13319 
   13320 
   13321 
   13322 
   13323 
   13324 
   13325 
   13326 
   13327 xorg_testset_save_CFLAGS="$CFLAGS"
   13328 
   13329 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13330 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13331 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13332 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13333 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13334   $as_echo_n "(cached) " >&6
   13335 else
   13336   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13337 /* end confdefs.h.  */
   13338 int i;
   13339 _ACEOF
   13340 if ac_fn_c_try_compile "$LINENO"; then :
   13341   xorg_cv_cc_flag_unknown_warning_option=yes
   13342 else
   13343   xorg_cv_cc_flag_unknown_warning_option=no
   13344 fi
   13345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13346 fi
   13347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13348 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13349 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13350 	CFLAGS="$xorg_testset_save_CFLAGS"
   13351 fi
   13352 
   13353 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13354 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13355 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13356 	fi
   13357 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13358 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13359 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13360 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13361   $as_echo_n "(cached) " >&6
   13362 else
   13363   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13364 /* end confdefs.h.  */
   13365 int i;
   13366 _ACEOF
   13367 if ac_fn_c_try_compile "$LINENO"; then :
   13368   xorg_cv_cc_flag_unused_command_line_argument=yes
   13369 else
   13370   xorg_cv_cc_flag_unused_command_line_argument=no
   13371 fi
   13372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13373 fi
   13374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13375 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13376 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13377 	CFLAGS="$xorg_testset_save_CFLAGS"
   13378 fi
   13379 
   13380 found="no"
   13381 
   13382 	if test $found = "no" ; then
   13383 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13384 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13385 		fi
   13386 
   13387 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13388 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13389 		fi
   13390 
   13391 		CFLAGS="$CFLAGS -Wold-style-definition"
   13392 
   13393 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   13394 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   13395 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   13396 		if eval \${$cacheid+:} false; then :
   13397   $as_echo_n "(cached) " >&6
   13398 else
   13399   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13400 /* end confdefs.h.  */
   13401 int i;
   13402 int
   13403 main ()
   13404 {
   13405 
   13406   ;
   13407   return 0;
   13408 }
   13409 _ACEOF
   13410 if ac_fn_c_try_link "$LINENO"; then :
   13411   eval $cacheid=yes
   13412 else
   13413   eval $cacheid=no
   13414 fi
   13415 rm -f core conftest.err conftest.$ac_objext \
   13416     conftest$ac_exeext conftest.$ac_ext
   13417 fi
   13418 
   13419 
   13420 		CFLAGS="$xorg_testset_save_CFLAGS"
   13421 
   13422 		eval supported=\$$cacheid
   13423 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13424 $as_echo "$supported" >&6; }
   13425 		if test "$supported" = "yes" ; then
   13426 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   13427 			found="yes"
   13428 		fi
   13429 	fi
   13430 
   13431 	if test $found = "no" ; then
   13432 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13433 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13434 		fi
   13435 
   13436 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13437 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13438 		fi
   13439 
   13440 		CFLAGS="$CFLAGS -fd"
   13441 
   13442 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   13443 $as_echo_n "checking if $CC supports -fd... " >&6; }
   13444 		cacheid=xorg_cv_cc_flag__fd
   13445 		if eval \${$cacheid+:} false; then :
   13446   $as_echo_n "(cached) " >&6
   13447 else
   13448   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13449 /* end confdefs.h.  */
   13450 int i;
   13451 int
   13452 main ()
   13453 {
   13454 
   13455   ;
   13456   return 0;
   13457 }
   13458 _ACEOF
   13459 if ac_fn_c_try_link "$LINENO"; then :
   13460   eval $cacheid=yes
   13461 else
   13462   eval $cacheid=no
   13463 fi
   13464 rm -f core conftest.err conftest.$ac_objext \
   13465     conftest$ac_exeext conftest.$ac_ext
   13466 fi
   13467 
   13468 
   13469 		CFLAGS="$xorg_testset_save_CFLAGS"
   13470 
   13471 		eval supported=\$$cacheid
   13472 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13473 $as_echo "$supported" >&6; }
   13474 		if test "$supported" = "yes" ; then
   13475 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   13476 			found="yes"
   13477 		fi
   13478 	fi
   13479 
   13480 
   13481 
   13482 
   13483 
   13484 
   13485 
   13486 
   13487 
   13488 
   13489 
   13490 
   13491 
   13492 
   13493 
   13494 xorg_testset_save_CFLAGS="$CFLAGS"
   13495 
   13496 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13497 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13498 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13499 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13500 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13501   $as_echo_n "(cached) " >&6
   13502 else
   13503   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13504 /* end confdefs.h.  */
   13505 int i;
   13506 _ACEOF
   13507 if ac_fn_c_try_compile "$LINENO"; then :
   13508   xorg_cv_cc_flag_unknown_warning_option=yes
   13509 else
   13510   xorg_cv_cc_flag_unknown_warning_option=no
   13511 fi
   13512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13513 fi
   13514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13515 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13516 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13517 	CFLAGS="$xorg_testset_save_CFLAGS"
   13518 fi
   13519 
   13520 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13521 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13522 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13523 	fi
   13524 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13525 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13526 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13527 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13528   $as_echo_n "(cached) " >&6
   13529 else
   13530   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13531 /* end confdefs.h.  */
   13532 int i;
   13533 _ACEOF
   13534 if ac_fn_c_try_compile "$LINENO"; then :
   13535   xorg_cv_cc_flag_unused_command_line_argument=yes
   13536 else
   13537   xorg_cv_cc_flag_unused_command_line_argument=no
   13538 fi
   13539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13540 fi
   13541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13542 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13543 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13544 	CFLAGS="$xorg_testset_save_CFLAGS"
   13545 fi
   13546 
   13547 found="no"
   13548 
   13549 	if test $found = "no" ; then
   13550 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13551 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13552 		fi
   13553 
   13554 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13555 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13556 		fi
   13557 
   13558 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   13559 
   13560 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   13561 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   13562 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   13563 		if eval \${$cacheid+:} false; then :
   13564   $as_echo_n "(cached) " >&6
   13565 else
   13566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13567 /* end confdefs.h.  */
   13568 int i;
   13569 int
   13570 main ()
   13571 {
   13572 
   13573   ;
   13574   return 0;
   13575 }
   13576 _ACEOF
   13577 if ac_fn_c_try_link "$LINENO"; then :
   13578   eval $cacheid=yes
   13579 else
   13580   eval $cacheid=no
   13581 fi
   13582 rm -f core conftest.err conftest.$ac_objext \
   13583     conftest$ac_exeext conftest.$ac_ext
   13584 fi
   13585 
   13586 
   13587 		CFLAGS="$xorg_testset_save_CFLAGS"
   13588 
   13589 		eval supported=\$$cacheid
   13590 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13591 $as_echo "$supported" >&6; }
   13592 		if test "$supported" = "yes" ; then
   13593 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   13594 			found="yes"
   13595 		fi
   13596 	fi
   13597 
   13598 
   13599 
   13600 
   13601 
   13602 # This chunk adds additional warnings that could catch undesired effects.
   13603 
   13604 
   13605 
   13606 
   13607 
   13608 
   13609 
   13610 
   13611 
   13612 
   13613 
   13614 
   13615 
   13616 xorg_testset_save_CFLAGS="$CFLAGS"
   13617 
   13618 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13619 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13620 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13621 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13622 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13623   $as_echo_n "(cached) " >&6
   13624 else
   13625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13626 /* end confdefs.h.  */
   13627 int i;
   13628 _ACEOF
   13629 if ac_fn_c_try_compile "$LINENO"; then :
   13630   xorg_cv_cc_flag_unknown_warning_option=yes
   13631 else
   13632   xorg_cv_cc_flag_unknown_warning_option=no
   13633 fi
   13634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13635 fi
   13636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13637 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13638 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13639 	CFLAGS="$xorg_testset_save_CFLAGS"
   13640 fi
   13641 
   13642 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13643 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13644 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13645 	fi
   13646 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13647 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13648 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13649 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13650   $as_echo_n "(cached) " >&6
   13651 else
   13652   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13653 /* end confdefs.h.  */
   13654 int i;
   13655 _ACEOF
   13656 if ac_fn_c_try_compile "$LINENO"; then :
   13657   xorg_cv_cc_flag_unused_command_line_argument=yes
   13658 else
   13659   xorg_cv_cc_flag_unused_command_line_argument=no
   13660 fi
   13661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13662 fi
   13663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13664 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13665 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13666 	CFLAGS="$xorg_testset_save_CFLAGS"
   13667 fi
   13668 
   13669 found="no"
   13670 
   13671 	if test $found = "no" ; then
   13672 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13673 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13674 		fi
   13675 
   13676 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13677 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13678 		fi
   13679 
   13680 		CFLAGS="$CFLAGS -Wunused"
   13681 
   13682 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   13683 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   13684 		cacheid=xorg_cv_cc_flag__Wunused
   13685 		if eval \${$cacheid+:} false; then :
   13686   $as_echo_n "(cached) " >&6
   13687 else
   13688   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13689 /* end confdefs.h.  */
   13690 int i;
   13691 int
   13692 main ()
   13693 {
   13694 
   13695   ;
   13696   return 0;
   13697 }
   13698 _ACEOF
   13699 if ac_fn_c_try_link "$LINENO"; then :
   13700   eval $cacheid=yes
   13701 else
   13702   eval $cacheid=no
   13703 fi
   13704 rm -f core conftest.err conftest.$ac_objext \
   13705     conftest$ac_exeext conftest.$ac_ext
   13706 fi
   13707 
   13708 
   13709 		CFLAGS="$xorg_testset_save_CFLAGS"
   13710 
   13711 		eval supported=\$$cacheid
   13712 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13713 $as_echo "$supported" >&6; }
   13714 		if test "$supported" = "yes" ; then
   13715 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   13716 			found="yes"
   13717 		fi
   13718 	fi
   13719 
   13720 
   13721 
   13722 
   13723 
   13724 
   13725 
   13726 
   13727 
   13728 
   13729 
   13730 
   13731 
   13732 
   13733 
   13734 xorg_testset_save_CFLAGS="$CFLAGS"
   13735 
   13736 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13737 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13738 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13739 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13740 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13741   $as_echo_n "(cached) " >&6
   13742 else
   13743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13744 /* end confdefs.h.  */
   13745 int i;
   13746 _ACEOF
   13747 if ac_fn_c_try_compile "$LINENO"; then :
   13748   xorg_cv_cc_flag_unknown_warning_option=yes
   13749 else
   13750   xorg_cv_cc_flag_unknown_warning_option=no
   13751 fi
   13752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13753 fi
   13754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13755 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13756 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13757 	CFLAGS="$xorg_testset_save_CFLAGS"
   13758 fi
   13759 
   13760 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13761 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13762 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13763 	fi
   13764 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13765 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13766 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13767 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13768   $as_echo_n "(cached) " >&6
   13769 else
   13770   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13771 /* end confdefs.h.  */
   13772 int i;
   13773 _ACEOF
   13774 if ac_fn_c_try_compile "$LINENO"; then :
   13775   xorg_cv_cc_flag_unused_command_line_argument=yes
   13776 else
   13777   xorg_cv_cc_flag_unused_command_line_argument=no
   13778 fi
   13779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13780 fi
   13781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13782 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13783 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13784 	CFLAGS="$xorg_testset_save_CFLAGS"
   13785 fi
   13786 
   13787 found="no"
   13788 
   13789 	if test $found = "no" ; then
   13790 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13791 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13792 		fi
   13793 
   13794 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13795 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13796 		fi
   13797 
   13798 		CFLAGS="$CFLAGS -Wuninitialized"
   13799 
   13800 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   13801 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   13802 		cacheid=xorg_cv_cc_flag__Wuninitialized
   13803 		if eval \${$cacheid+:} false; then :
   13804   $as_echo_n "(cached) " >&6
   13805 else
   13806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13807 /* end confdefs.h.  */
   13808 int i;
   13809 int
   13810 main ()
   13811 {
   13812 
   13813   ;
   13814   return 0;
   13815 }
   13816 _ACEOF
   13817 if ac_fn_c_try_link "$LINENO"; then :
   13818   eval $cacheid=yes
   13819 else
   13820   eval $cacheid=no
   13821 fi
   13822 rm -f core conftest.err conftest.$ac_objext \
   13823     conftest$ac_exeext conftest.$ac_ext
   13824 fi
   13825 
   13826 
   13827 		CFLAGS="$xorg_testset_save_CFLAGS"
   13828 
   13829 		eval supported=\$$cacheid
   13830 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13831 $as_echo "$supported" >&6; }
   13832 		if test "$supported" = "yes" ; then
   13833 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   13834 			found="yes"
   13835 		fi
   13836 	fi
   13837 
   13838 
   13839 
   13840 
   13841 
   13842 
   13843 
   13844 
   13845 
   13846 
   13847 
   13848 
   13849 
   13850 
   13851 
   13852 xorg_testset_save_CFLAGS="$CFLAGS"
   13853 
   13854 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13855 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13856 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13857 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13858 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13859   $as_echo_n "(cached) " >&6
   13860 else
   13861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13862 /* end confdefs.h.  */
   13863 int i;
   13864 _ACEOF
   13865 if ac_fn_c_try_compile "$LINENO"; then :
   13866   xorg_cv_cc_flag_unknown_warning_option=yes
   13867 else
   13868   xorg_cv_cc_flag_unknown_warning_option=no
   13869 fi
   13870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13871 fi
   13872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13873 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13874 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13875 	CFLAGS="$xorg_testset_save_CFLAGS"
   13876 fi
   13877 
   13878 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13879 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13880 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13881 	fi
   13882 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13883 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13884 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13885 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13886   $as_echo_n "(cached) " >&6
   13887 else
   13888   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13889 /* end confdefs.h.  */
   13890 int i;
   13891 _ACEOF
   13892 if ac_fn_c_try_compile "$LINENO"; then :
   13893   xorg_cv_cc_flag_unused_command_line_argument=yes
   13894 else
   13895   xorg_cv_cc_flag_unused_command_line_argument=no
   13896 fi
   13897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13898 fi
   13899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13900 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13901 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13902 	CFLAGS="$xorg_testset_save_CFLAGS"
   13903 fi
   13904 
   13905 found="no"
   13906 
   13907 	if test $found = "no" ; then
   13908 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13909 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13910 		fi
   13911 
   13912 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13913 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13914 		fi
   13915 
   13916 		CFLAGS="$CFLAGS -Wshadow"
   13917 
   13918 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   13919 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   13920 		cacheid=xorg_cv_cc_flag__Wshadow
   13921 		if eval \${$cacheid+:} false; then :
   13922   $as_echo_n "(cached) " >&6
   13923 else
   13924   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13925 /* end confdefs.h.  */
   13926 int i;
   13927 int
   13928 main ()
   13929 {
   13930 
   13931   ;
   13932   return 0;
   13933 }
   13934 _ACEOF
   13935 if ac_fn_c_try_link "$LINENO"; then :
   13936   eval $cacheid=yes
   13937 else
   13938   eval $cacheid=no
   13939 fi
   13940 rm -f core conftest.err conftest.$ac_objext \
   13941     conftest$ac_exeext conftest.$ac_ext
   13942 fi
   13943 
   13944 
   13945 		CFLAGS="$xorg_testset_save_CFLAGS"
   13946 
   13947 		eval supported=\$$cacheid
   13948 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13949 $as_echo "$supported" >&6; }
   13950 		if test "$supported" = "yes" ; then
   13951 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   13952 			found="yes"
   13953 		fi
   13954 	fi
   13955 
   13956 
   13957 
   13958 
   13959 
   13960 
   13961 
   13962 
   13963 
   13964 
   13965 
   13966 
   13967 
   13968 
   13969 
   13970 xorg_testset_save_CFLAGS="$CFLAGS"
   13971 
   13972 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13973 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13974 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13975 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13976 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13977   $as_echo_n "(cached) " >&6
   13978 else
   13979   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13980 /* end confdefs.h.  */
   13981 int i;
   13982 _ACEOF
   13983 if ac_fn_c_try_compile "$LINENO"; then :
   13984   xorg_cv_cc_flag_unknown_warning_option=yes
   13985 else
   13986   xorg_cv_cc_flag_unknown_warning_option=no
   13987 fi
   13988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13989 fi
   13990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13991 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13992 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13993 	CFLAGS="$xorg_testset_save_CFLAGS"
   13994 fi
   13995 
   13996 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13997 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13998 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13999 	fi
   14000 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14001 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14002 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14003 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14004   $as_echo_n "(cached) " >&6
   14005 else
   14006   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14007 /* end confdefs.h.  */
   14008 int i;
   14009 _ACEOF
   14010 if ac_fn_c_try_compile "$LINENO"; then :
   14011   xorg_cv_cc_flag_unused_command_line_argument=yes
   14012 else
   14013   xorg_cv_cc_flag_unused_command_line_argument=no
   14014 fi
   14015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14016 fi
   14017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14018 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14019 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14020 	CFLAGS="$xorg_testset_save_CFLAGS"
   14021 fi
   14022 
   14023 found="no"
   14024 
   14025 	if test $found = "no" ; then
   14026 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14027 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14028 		fi
   14029 
   14030 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14031 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14032 		fi
   14033 
   14034 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   14035 
   14036 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   14037 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   14038 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   14039 		if eval \${$cacheid+:} false; then :
   14040   $as_echo_n "(cached) " >&6
   14041 else
   14042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14043 /* end confdefs.h.  */
   14044 int i;
   14045 int
   14046 main ()
   14047 {
   14048 
   14049   ;
   14050   return 0;
   14051 }
   14052 _ACEOF
   14053 if ac_fn_c_try_link "$LINENO"; then :
   14054   eval $cacheid=yes
   14055 else
   14056   eval $cacheid=no
   14057 fi
   14058 rm -f core conftest.err conftest.$ac_objext \
   14059     conftest$ac_exeext conftest.$ac_ext
   14060 fi
   14061 
   14062 
   14063 		CFLAGS="$xorg_testset_save_CFLAGS"
   14064 
   14065 		eval supported=\$$cacheid
   14066 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14067 $as_echo "$supported" >&6; }
   14068 		if test "$supported" = "yes" ; then
   14069 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   14070 			found="yes"
   14071 		fi
   14072 	fi
   14073 
   14074 
   14075 
   14076 
   14077 
   14078 
   14079 
   14080 
   14081 
   14082 
   14083 
   14084 
   14085 
   14086 
   14087 
   14088 xorg_testset_save_CFLAGS="$CFLAGS"
   14089 
   14090 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14091 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14092 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14093 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14094 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14095   $as_echo_n "(cached) " >&6
   14096 else
   14097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14098 /* end confdefs.h.  */
   14099 int i;
   14100 _ACEOF
   14101 if ac_fn_c_try_compile "$LINENO"; then :
   14102   xorg_cv_cc_flag_unknown_warning_option=yes
   14103 else
   14104   xorg_cv_cc_flag_unknown_warning_option=no
   14105 fi
   14106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14107 fi
   14108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14109 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14110 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14111 	CFLAGS="$xorg_testset_save_CFLAGS"
   14112 fi
   14113 
   14114 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14115 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14116 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14117 	fi
   14118 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14119 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14120 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14121 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14122   $as_echo_n "(cached) " >&6
   14123 else
   14124   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14125 /* end confdefs.h.  */
   14126 int i;
   14127 _ACEOF
   14128 if ac_fn_c_try_compile "$LINENO"; then :
   14129   xorg_cv_cc_flag_unused_command_line_argument=yes
   14130 else
   14131   xorg_cv_cc_flag_unused_command_line_argument=no
   14132 fi
   14133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14134 fi
   14135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14136 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14137 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14138 	CFLAGS="$xorg_testset_save_CFLAGS"
   14139 fi
   14140 
   14141 found="no"
   14142 
   14143 	if test $found = "no" ; then
   14144 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14145 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14146 		fi
   14147 
   14148 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14149 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14150 		fi
   14151 
   14152 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   14153 
   14154 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   14155 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   14156 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   14157 		if eval \${$cacheid+:} 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 int
   14164 main ()
   14165 {
   14166 
   14167   ;
   14168   return 0;
   14169 }
   14170 _ACEOF
   14171 if ac_fn_c_try_link "$LINENO"; then :
   14172   eval $cacheid=yes
   14173 else
   14174   eval $cacheid=no
   14175 fi
   14176 rm -f core conftest.err conftest.$ac_objext \
   14177     conftest$ac_exeext conftest.$ac_ext
   14178 fi
   14179 
   14180 
   14181 		CFLAGS="$xorg_testset_save_CFLAGS"
   14182 
   14183 		eval supported=\$$cacheid
   14184 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14185 $as_echo "$supported" >&6; }
   14186 		if test "$supported" = "yes" ; then
   14187 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   14188 			found="yes"
   14189 		fi
   14190 	fi
   14191 
   14192 
   14193 
   14194 
   14195 
   14196 
   14197 
   14198 
   14199 
   14200 
   14201 
   14202 
   14203 
   14204 
   14205 
   14206 xorg_testset_save_CFLAGS="$CFLAGS"
   14207 
   14208 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14209 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14210 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14211 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14212 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14213   $as_echo_n "(cached) " >&6
   14214 else
   14215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14216 /* end confdefs.h.  */
   14217 int i;
   14218 _ACEOF
   14219 if ac_fn_c_try_compile "$LINENO"; then :
   14220   xorg_cv_cc_flag_unknown_warning_option=yes
   14221 else
   14222   xorg_cv_cc_flag_unknown_warning_option=no
   14223 fi
   14224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14225 fi
   14226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14227 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14228 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14229 	CFLAGS="$xorg_testset_save_CFLAGS"
   14230 fi
   14231 
   14232 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14233 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14234 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14235 	fi
   14236 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14237 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14238 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14239 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14240   $as_echo_n "(cached) " >&6
   14241 else
   14242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14243 /* end confdefs.h.  */
   14244 int i;
   14245 _ACEOF
   14246 if ac_fn_c_try_compile "$LINENO"; then :
   14247   xorg_cv_cc_flag_unused_command_line_argument=yes
   14248 else
   14249   xorg_cv_cc_flag_unused_command_line_argument=no
   14250 fi
   14251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14252 fi
   14253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14254 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14255 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14256 	CFLAGS="$xorg_testset_save_CFLAGS"
   14257 fi
   14258 
   14259 found="no"
   14260 
   14261 	if test $found = "no" ; then
   14262 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14263 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14264 		fi
   14265 
   14266 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14267 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14268 		fi
   14269 
   14270 		CFLAGS="$CFLAGS -Wredundant-decls"
   14271 
   14272 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   14273 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   14274 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   14275 		if eval \${$cacheid+:} false; then :
   14276   $as_echo_n "(cached) " >&6
   14277 else
   14278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14279 /* end confdefs.h.  */
   14280 int i;
   14281 int
   14282 main ()
   14283 {
   14284 
   14285   ;
   14286   return 0;
   14287 }
   14288 _ACEOF
   14289 if ac_fn_c_try_link "$LINENO"; then :
   14290   eval $cacheid=yes
   14291 else
   14292   eval $cacheid=no
   14293 fi
   14294 rm -f core conftest.err conftest.$ac_objext \
   14295     conftest$ac_exeext conftest.$ac_ext
   14296 fi
   14297 
   14298 
   14299 		CFLAGS="$xorg_testset_save_CFLAGS"
   14300 
   14301 		eval supported=\$$cacheid
   14302 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14303 $as_echo "$supported" >&6; }
   14304 		if test "$supported" = "yes" ; then
   14305 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   14306 			found="yes"
   14307 		fi
   14308 	fi
   14309 
   14310 
   14311 
   14312 
   14313 
   14314 
   14315 
   14316 
   14317 
   14318 
   14319 
   14320 
   14321 
   14322 
   14323 
   14324 xorg_testset_save_CFLAGS="$CFLAGS"
   14325 
   14326 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14327 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14328 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14329 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14330 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14331   $as_echo_n "(cached) " >&6
   14332 else
   14333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14334 /* end confdefs.h.  */
   14335 int i;
   14336 _ACEOF
   14337 if ac_fn_c_try_compile "$LINENO"; then :
   14338   xorg_cv_cc_flag_unknown_warning_option=yes
   14339 else
   14340   xorg_cv_cc_flag_unknown_warning_option=no
   14341 fi
   14342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14343 fi
   14344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14345 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14346 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14347 	CFLAGS="$xorg_testset_save_CFLAGS"
   14348 fi
   14349 
   14350 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14351 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14352 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14353 	fi
   14354 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14355 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14356 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14357 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14358   $as_echo_n "(cached) " >&6
   14359 else
   14360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14361 /* end confdefs.h.  */
   14362 int i;
   14363 _ACEOF
   14364 if ac_fn_c_try_compile "$LINENO"; then :
   14365   xorg_cv_cc_flag_unused_command_line_argument=yes
   14366 else
   14367   xorg_cv_cc_flag_unused_command_line_argument=no
   14368 fi
   14369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14370 fi
   14371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14372 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14373 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14374 	CFLAGS="$xorg_testset_save_CFLAGS"
   14375 fi
   14376 
   14377 found="no"
   14378 
   14379 	if test $found = "no" ; then
   14380 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14381 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14382 		fi
   14383 
   14384 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14385 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14386 		fi
   14387 
   14388 		CFLAGS="$CFLAGS -Wlogical-op"
   14389 
   14390 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   14391 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   14392 		cacheid=xorg_cv_cc_flag__Wlogical_op
   14393 		if eval \${$cacheid+:} false; then :
   14394   $as_echo_n "(cached) " >&6
   14395 else
   14396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14397 /* end confdefs.h.  */
   14398 int i;
   14399 int
   14400 main ()
   14401 {
   14402 
   14403   ;
   14404   return 0;
   14405 }
   14406 _ACEOF
   14407 if ac_fn_c_try_link "$LINENO"; then :
   14408   eval $cacheid=yes
   14409 else
   14410   eval $cacheid=no
   14411 fi
   14412 rm -f core conftest.err conftest.$ac_objext \
   14413     conftest$ac_exeext conftest.$ac_ext
   14414 fi
   14415 
   14416 
   14417 		CFLAGS="$xorg_testset_save_CFLAGS"
   14418 
   14419 		eval supported=\$$cacheid
   14420 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14421 $as_echo "$supported" >&6; }
   14422 		if test "$supported" = "yes" ; then
   14423 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   14424 			found="yes"
   14425 		fi
   14426 	fi
   14427 
   14428 
   14429 
   14430 # These are currently disabled because they are noisy.  They will be enabled
   14431 # in the future once the codebase is sufficiently modernized to silence
   14432 # them.  For now, I don't want them to drown out the other warnings.
   14433 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   14434 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   14435 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   14436 
   14437 # Turn some warnings into errors, so we don't accidently get successful builds
   14438 # when there are problems that should be fixed.
   14439 
   14440 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   14441 
   14442 
   14443 
   14444 
   14445 
   14446 
   14447 
   14448 
   14449 
   14450 
   14451 
   14452 
   14453 
   14454 xorg_testset_save_CFLAGS="$CFLAGS"
   14455 
   14456 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14457 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14458 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14459 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14460 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14461   $as_echo_n "(cached) " >&6
   14462 else
   14463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14464 /* end confdefs.h.  */
   14465 int i;
   14466 _ACEOF
   14467 if ac_fn_c_try_compile "$LINENO"; then :
   14468   xorg_cv_cc_flag_unknown_warning_option=yes
   14469 else
   14470   xorg_cv_cc_flag_unknown_warning_option=no
   14471 fi
   14472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14473 fi
   14474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14475 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14476 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14477 	CFLAGS="$xorg_testset_save_CFLAGS"
   14478 fi
   14479 
   14480 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14481 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14482 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14483 	fi
   14484 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14485 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14486 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14487 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14488   $as_echo_n "(cached) " >&6
   14489 else
   14490   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14491 /* end confdefs.h.  */
   14492 int i;
   14493 _ACEOF
   14494 if ac_fn_c_try_compile "$LINENO"; then :
   14495   xorg_cv_cc_flag_unused_command_line_argument=yes
   14496 else
   14497   xorg_cv_cc_flag_unused_command_line_argument=no
   14498 fi
   14499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14500 fi
   14501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14502 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14503 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14504 	CFLAGS="$xorg_testset_save_CFLAGS"
   14505 fi
   14506 
   14507 found="no"
   14508 
   14509 	if test $found = "no" ; then
   14510 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14511 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14512 		fi
   14513 
   14514 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14515 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14516 		fi
   14517 
   14518 		CFLAGS="$CFLAGS -Werror=implicit"
   14519 
   14520 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   14521 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   14522 		cacheid=xorg_cv_cc_flag__Werror_implicit
   14523 		if eval \${$cacheid+:} false; then :
   14524   $as_echo_n "(cached) " >&6
   14525 else
   14526   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14527 /* end confdefs.h.  */
   14528 int i;
   14529 int
   14530 main ()
   14531 {
   14532 
   14533   ;
   14534   return 0;
   14535 }
   14536 _ACEOF
   14537 if ac_fn_c_try_link "$LINENO"; then :
   14538   eval $cacheid=yes
   14539 else
   14540   eval $cacheid=no
   14541 fi
   14542 rm -f core conftest.err conftest.$ac_objext \
   14543     conftest$ac_exeext conftest.$ac_ext
   14544 fi
   14545 
   14546 
   14547 		CFLAGS="$xorg_testset_save_CFLAGS"
   14548 
   14549 		eval supported=\$$cacheid
   14550 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14551 $as_echo "$supported" >&6; }
   14552 		if test "$supported" = "yes" ; then
   14553 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   14554 			found="yes"
   14555 		fi
   14556 	fi
   14557 
   14558 	if test $found = "no" ; then
   14559 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14560 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14561 		fi
   14562 
   14563 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14564 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14565 		fi
   14566 
   14567 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14568 
   14569 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   14570 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   14571 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   14572 		if eval \${$cacheid+:} false; then :
   14573   $as_echo_n "(cached) " >&6
   14574 else
   14575   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14576 /* end confdefs.h.  */
   14577 int i;
   14578 int
   14579 main ()
   14580 {
   14581 
   14582   ;
   14583   return 0;
   14584 }
   14585 _ACEOF
   14586 if ac_fn_c_try_link "$LINENO"; then :
   14587   eval $cacheid=yes
   14588 else
   14589   eval $cacheid=no
   14590 fi
   14591 rm -f core conftest.err conftest.$ac_objext \
   14592     conftest$ac_exeext conftest.$ac_ext
   14593 fi
   14594 
   14595 
   14596 		CFLAGS="$xorg_testset_save_CFLAGS"
   14597 
   14598 		eval supported=\$$cacheid
   14599 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14600 $as_echo "$supported" >&6; }
   14601 		if test "$supported" = "yes" ; then
   14602 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14603 			found="yes"
   14604 		fi
   14605 	fi
   14606 
   14607 
   14608 
   14609 
   14610 
   14611 
   14612 
   14613 
   14614 
   14615 
   14616 
   14617 
   14618 
   14619 
   14620 
   14621 xorg_testset_save_CFLAGS="$CFLAGS"
   14622 
   14623 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14624 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14625 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14626 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14627 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14628   $as_echo_n "(cached) " >&6
   14629 else
   14630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14631 /* end confdefs.h.  */
   14632 int i;
   14633 _ACEOF
   14634 if ac_fn_c_try_compile "$LINENO"; then :
   14635   xorg_cv_cc_flag_unknown_warning_option=yes
   14636 else
   14637   xorg_cv_cc_flag_unknown_warning_option=no
   14638 fi
   14639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14640 fi
   14641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14642 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14643 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14644 	CFLAGS="$xorg_testset_save_CFLAGS"
   14645 fi
   14646 
   14647 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14648 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14649 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14650 	fi
   14651 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14652 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14653 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14654 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14655   $as_echo_n "(cached) " >&6
   14656 else
   14657   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14658 /* end confdefs.h.  */
   14659 int i;
   14660 _ACEOF
   14661 if ac_fn_c_try_compile "$LINENO"; then :
   14662   xorg_cv_cc_flag_unused_command_line_argument=yes
   14663 else
   14664   xorg_cv_cc_flag_unused_command_line_argument=no
   14665 fi
   14666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14667 fi
   14668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14669 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14670 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14671 	CFLAGS="$xorg_testset_save_CFLAGS"
   14672 fi
   14673 
   14674 found="no"
   14675 
   14676 	if test $found = "no" ; then
   14677 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14678 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14679 		fi
   14680 
   14681 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14682 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14683 		fi
   14684 
   14685 		CFLAGS="$CFLAGS -Werror=nonnull"
   14686 
   14687 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   14688 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   14689 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   14690 		if eval \${$cacheid+:} false; then :
   14691   $as_echo_n "(cached) " >&6
   14692 else
   14693   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14694 /* end confdefs.h.  */
   14695 int i;
   14696 int
   14697 main ()
   14698 {
   14699 
   14700   ;
   14701   return 0;
   14702 }
   14703 _ACEOF
   14704 if ac_fn_c_try_link "$LINENO"; then :
   14705   eval $cacheid=yes
   14706 else
   14707   eval $cacheid=no
   14708 fi
   14709 rm -f core conftest.err conftest.$ac_objext \
   14710     conftest$ac_exeext conftest.$ac_ext
   14711 fi
   14712 
   14713 
   14714 		CFLAGS="$xorg_testset_save_CFLAGS"
   14715 
   14716 		eval supported=\$$cacheid
   14717 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14718 $as_echo "$supported" >&6; }
   14719 		if test "$supported" = "yes" ; then
   14720 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   14721 			found="yes"
   14722 		fi
   14723 	fi
   14724 
   14725 
   14726 
   14727 
   14728 
   14729 
   14730 
   14731 
   14732 
   14733 
   14734 
   14735 
   14736 
   14737 
   14738 
   14739 xorg_testset_save_CFLAGS="$CFLAGS"
   14740 
   14741 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14742 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14743 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14744 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14745 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14746   $as_echo_n "(cached) " >&6
   14747 else
   14748   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14749 /* end confdefs.h.  */
   14750 int i;
   14751 _ACEOF
   14752 if ac_fn_c_try_compile "$LINENO"; then :
   14753   xorg_cv_cc_flag_unknown_warning_option=yes
   14754 else
   14755   xorg_cv_cc_flag_unknown_warning_option=no
   14756 fi
   14757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14758 fi
   14759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14760 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14761 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14762 	CFLAGS="$xorg_testset_save_CFLAGS"
   14763 fi
   14764 
   14765 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14766 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14767 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14768 	fi
   14769 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14770 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14771 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14772 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14773   $as_echo_n "(cached) " >&6
   14774 else
   14775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14776 /* end confdefs.h.  */
   14777 int i;
   14778 _ACEOF
   14779 if ac_fn_c_try_compile "$LINENO"; then :
   14780   xorg_cv_cc_flag_unused_command_line_argument=yes
   14781 else
   14782   xorg_cv_cc_flag_unused_command_line_argument=no
   14783 fi
   14784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14785 fi
   14786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14787 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14788 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14789 	CFLAGS="$xorg_testset_save_CFLAGS"
   14790 fi
   14791 
   14792 found="no"
   14793 
   14794 	if test $found = "no" ; then
   14795 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14796 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14797 		fi
   14798 
   14799 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14800 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14801 		fi
   14802 
   14803 		CFLAGS="$CFLAGS -Werror=init-self"
   14804 
   14805 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   14806 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   14807 		cacheid=xorg_cv_cc_flag__Werror_init_self
   14808 		if eval \${$cacheid+:} false; then :
   14809   $as_echo_n "(cached) " >&6
   14810 else
   14811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14812 /* end confdefs.h.  */
   14813 int i;
   14814 int
   14815 main ()
   14816 {
   14817 
   14818   ;
   14819   return 0;
   14820 }
   14821 _ACEOF
   14822 if ac_fn_c_try_link "$LINENO"; then :
   14823   eval $cacheid=yes
   14824 else
   14825   eval $cacheid=no
   14826 fi
   14827 rm -f core conftest.err conftest.$ac_objext \
   14828     conftest$ac_exeext conftest.$ac_ext
   14829 fi
   14830 
   14831 
   14832 		CFLAGS="$xorg_testset_save_CFLAGS"
   14833 
   14834 		eval supported=\$$cacheid
   14835 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14836 $as_echo "$supported" >&6; }
   14837 		if test "$supported" = "yes" ; then
   14838 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   14839 			found="yes"
   14840 		fi
   14841 	fi
   14842 
   14843 
   14844 
   14845 
   14846 
   14847 
   14848 
   14849 
   14850 
   14851 
   14852 
   14853 
   14854 
   14855 
   14856 
   14857 xorg_testset_save_CFLAGS="$CFLAGS"
   14858 
   14859 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14860 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14861 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14862 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14863 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14864   $as_echo_n "(cached) " >&6
   14865 else
   14866   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14867 /* end confdefs.h.  */
   14868 int i;
   14869 _ACEOF
   14870 if ac_fn_c_try_compile "$LINENO"; then :
   14871   xorg_cv_cc_flag_unknown_warning_option=yes
   14872 else
   14873   xorg_cv_cc_flag_unknown_warning_option=no
   14874 fi
   14875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14876 fi
   14877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14878 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14879 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14880 	CFLAGS="$xorg_testset_save_CFLAGS"
   14881 fi
   14882 
   14883 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14884 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14885 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14886 	fi
   14887 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14888 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14889 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14890 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14891   $as_echo_n "(cached) " >&6
   14892 else
   14893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14894 /* end confdefs.h.  */
   14895 int i;
   14896 _ACEOF
   14897 if ac_fn_c_try_compile "$LINENO"; then :
   14898   xorg_cv_cc_flag_unused_command_line_argument=yes
   14899 else
   14900   xorg_cv_cc_flag_unused_command_line_argument=no
   14901 fi
   14902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14903 fi
   14904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14905 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14906 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14907 	CFLAGS="$xorg_testset_save_CFLAGS"
   14908 fi
   14909 
   14910 found="no"
   14911 
   14912 	if test $found = "no" ; then
   14913 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14914 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14915 		fi
   14916 
   14917 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14918 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14919 		fi
   14920 
   14921 		CFLAGS="$CFLAGS -Werror=main"
   14922 
   14923 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   14924 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   14925 		cacheid=xorg_cv_cc_flag__Werror_main
   14926 		if eval \${$cacheid+:} false; then :
   14927   $as_echo_n "(cached) " >&6
   14928 else
   14929   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14930 /* end confdefs.h.  */
   14931 int i;
   14932 int
   14933 main ()
   14934 {
   14935 
   14936   ;
   14937   return 0;
   14938 }
   14939 _ACEOF
   14940 if ac_fn_c_try_link "$LINENO"; then :
   14941   eval $cacheid=yes
   14942 else
   14943   eval $cacheid=no
   14944 fi
   14945 rm -f core conftest.err conftest.$ac_objext \
   14946     conftest$ac_exeext conftest.$ac_ext
   14947 fi
   14948 
   14949 
   14950 		CFLAGS="$xorg_testset_save_CFLAGS"
   14951 
   14952 		eval supported=\$$cacheid
   14953 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14954 $as_echo "$supported" >&6; }
   14955 		if test "$supported" = "yes" ; then
   14956 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   14957 			found="yes"
   14958 		fi
   14959 	fi
   14960 
   14961 
   14962 
   14963 
   14964 
   14965 
   14966 
   14967 
   14968 
   14969 
   14970 
   14971 
   14972 
   14973 
   14974 
   14975 xorg_testset_save_CFLAGS="$CFLAGS"
   14976 
   14977 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14978 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14979 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14980 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14981 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14982   $as_echo_n "(cached) " >&6
   14983 else
   14984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14985 /* end confdefs.h.  */
   14986 int i;
   14987 _ACEOF
   14988 if ac_fn_c_try_compile "$LINENO"; then :
   14989   xorg_cv_cc_flag_unknown_warning_option=yes
   14990 else
   14991   xorg_cv_cc_flag_unknown_warning_option=no
   14992 fi
   14993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14994 fi
   14995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14996 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14997 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14998 	CFLAGS="$xorg_testset_save_CFLAGS"
   14999 fi
   15000 
   15001 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15002 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15003 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15004 	fi
   15005 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15006 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15007 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15008 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15009   $as_echo_n "(cached) " >&6
   15010 else
   15011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15012 /* end confdefs.h.  */
   15013 int i;
   15014 _ACEOF
   15015 if ac_fn_c_try_compile "$LINENO"; then :
   15016   xorg_cv_cc_flag_unused_command_line_argument=yes
   15017 else
   15018   xorg_cv_cc_flag_unused_command_line_argument=no
   15019 fi
   15020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15021 fi
   15022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15023 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15024 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15025 	CFLAGS="$xorg_testset_save_CFLAGS"
   15026 fi
   15027 
   15028 found="no"
   15029 
   15030 	if test $found = "no" ; then
   15031 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15032 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15033 		fi
   15034 
   15035 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15036 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15037 		fi
   15038 
   15039 		CFLAGS="$CFLAGS -Werror=missing-braces"
   15040 
   15041 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   15042 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   15043 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   15044 		if eval \${$cacheid+:} false; then :
   15045   $as_echo_n "(cached) " >&6
   15046 else
   15047   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15048 /* end confdefs.h.  */
   15049 int i;
   15050 int
   15051 main ()
   15052 {
   15053 
   15054   ;
   15055   return 0;
   15056 }
   15057 _ACEOF
   15058 if ac_fn_c_try_link "$LINENO"; then :
   15059   eval $cacheid=yes
   15060 else
   15061   eval $cacheid=no
   15062 fi
   15063 rm -f core conftest.err conftest.$ac_objext \
   15064     conftest$ac_exeext conftest.$ac_ext
   15065 fi
   15066 
   15067 
   15068 		CFLAGS="$xorg_testset_save_CFLAGS"
   15069 
   15070 		eval supported=\$$cacheid
   15071 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15072 $as_echo "$supported" >&6; }
   15073 		if test "$supported" = "yes" ; then
   15074 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   15075 			found="yes"
   15076 		fi
   15077 	fi
   15078 
   15079 
   15080 
   15081 
   15082 
   15083 
   15084 
   15085 
   15086 
   15087 
   15088 
   15089 
   15090 
   15091 
   15092 
   15093 xorg_testset_save_CFLAGS="$CFLAGS"
   15094 
   15095 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15096 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15097 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15098 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15099 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15100   $as_echo_n "(cached) " >&6
   15101 else
   15102   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15103 /* end confdefs.h.  */
   15104 int i;
   15105 _ACEOF
   15106 if ac_fn_c_try_compile "$LINENO"; then :
   15107   xorg_cv_cc_flag_unknown_warning_option=yes
   15108 else
   15109   xorg_cv_cc_flag_unknown_warning_option=no
   15110 fi
   15111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15112 fi
   15113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15114 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15115 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15116 	CFLAGS="$xorg_testset_save_CFLAGS"
   15117 fi
   15118 
   15119 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15120 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15121 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15122 	fi
   15123 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15124 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15125 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15126 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15127   $as_echo_n "(cached) " >&6
   15128 else
   15129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15130 /* end confdefs.h.  */
   15131 int i;
   15132 _ACEOF
   15133 if ac_fn_c_try_compile "$LINENO"; then :
   15134   xorg_cv_cc_flag_unused_command_line_argument=yes
   15135 else
   15136   xorg_cv_cc_flag_unused_command_line_argument=no
   15137 fi
   15138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15139 fi
   15140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15141 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15142 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15143 	CFLAGS="$xorg_testset_save_CFLAGS"
   15144 fi
   15145 
   15146 found="no"
   15147 
   15148 	if test $found = "no" ; then
   15149 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15150 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15151 		fi
   15152 
   15153 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15154 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15155 		fi
   15156 
   15157 		CFLAGS="$CFLAGS -Werror=sequence-point"
   15158 
   15159 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   15160 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   15161 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   15162 		if eval \${$cacheid+:} false; then :
   15163   $as_echo_n "(cached) " >&6
   15164 else
   15165   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15166 /* end confdefs.h.  */
   15167 int i;
   15168 int
   15169 main ()
   15170 {
   15171 
   15172   ;
   15173   return 0;
   15174 }
   15175 _ACEOF
   15176 if ac_fn_c_try_link "$LINENO"; then :
   15177   eval $cacheid=yes
   15178 else
   15179   eval $cacheid=no
   15180 fi
   15181 rm -f core conftest.err conftest.$ac_objext \
   15182     conftest$ac_exeext conftest.$ac_ext
   15183 fi
   15184 
   15185 
   15186 		CFLAGS="$xorg_testset_save_CFLAGS"
   15187 
   15188 		eval supported=\$$cacheid
   15189 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15190 $as_echo "$supported" >&6; }
   15191 		if test "$supported" = "yes" ; then
   15192 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   15193 			found="yes"
   15194 		fi
   15195 	fi
   15196 
   15197 
   15198 
   15199 
   15200 
   15201 
   15202 
   15203 
   15204 
   15205 
   15206 
   15207 
   15208 
   15209 
   15210 
   15211 xorg_testset_save_CFLAGS="$CFLAGS"
   15212 
   15213 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15214 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15215 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15216 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15217 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15218   $as_echo_n "(cached) " >&6
   15219 else
   15220   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15221 /* end confdefs.h.  */
   15222 int i;
   15223 _ACEOF
   15224 if ac_fn_c_try_compile "$LINENO"; then :
   15225   xorg_cv_cc_flag_unknown_warning_option=yes
   15226 else
   15227   xorg_cv_cc_flag_unknown_warning_option=no
   15228 fi
   15229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15230 fi
   15231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15232 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15233 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15234 	CFLAGS="$xorg_testset_save_CFLAGS"
   15235 fi
   15236 
   15237 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15238 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15239 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15240 	fi
   15241 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15242 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15243 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15244 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15245   $as_echo_n "(cached) " >&6
   15246 else
   15247   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15248 /* end confdefs.h.  */
   15249 int i;
   15250 _ACEOF
   15251 if ac_fn_c_try_compile "$LINENO"; then :
   15252   xorg_cv_cc_flag_unused_command_line_argument=yes
   15253 else
   15254   xorg_cv_cc_flag_unused_command_line_argument=no
   15255 fi
   15256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15257 fi
   15258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15259 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15260 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15261 	CFLAGS="$xorg_testset_save_CFLAGS"
   15262 fi
   15263 
   15264 found="no"
   15265 
   15266 	if test $found = "no" ; then
   15267 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15268 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15269 		fi
   15270 
   15271 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15272 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15273 		fi
   15274 
   15275 		CFLAGS="$CFLAGS -Werror=return-type"
   15276 
   15277 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   15278 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   15279 		cacheid=xorg_cv_cc_flag__Werror_return_type
   15280 		if eval \${$cacheid+:} false; then :
   15281   $as_echo_n "(cached) " >&6
   15282 else
   15283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15284 /* end confdefs.h.  */
   15285 int i;
   15286 int
   15287 main ()
   15288 {
   15289 
   15290   ;
   15291   return 0;
   15292 }
   15293 _ACEOF
   15294 if ac_fn_c_try_link "$LINENO"; then :
   15295   eval $cacheid=yes
   15296 else
   15297   eval $cacheid=no
   15298 fi
   15299 rm -f core conftest.err conftest.$ac_objext \
   15300     conftest$ac_exeext conftest.$ac_ext
   15301 fi
   15302 
   15303 
   15304 		CFLAGS="$xorg_testset_save_CFLAGS"
   15305 
   15306 		eval supported=\$$cacheid
   15307 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15308 $as_echo "$supported" >&6; }
   15309 		if test "$supported" = "yes" ; then
   15310 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   15311 			found="yes"
   15312 		fi
   15313 	fi
   15314 
   15315 	if test $found = "no" ; then
   15316 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15317 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15318 		fi
   15319 
   15320 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15321 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15322 		fi
   15323 
   15324 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   15325 
   15326 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   15327 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   15328 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   15329 		if eval \${$cacheid+:} false; then :
   15330   $as_echo_n "(cached) " >&6
   15331 else
   15332   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15333 /* end confdefs.h.  */
   15334 int i;
   15335 int
   15336 main ()
   15337 {
   15338 
   15339   ;
   15340   return 0;
   15341 }
   15342 _ACEOF
   15343 if ac_fn_c_try_link "$LINENO"; then :
   15344   eval $cacheid=yes
   15345 else
   15346   eval $cacheid=no
   15347 fi
   15348 rm -f core conftest.err conftest.$ac_objext \
   15349     conftest$ac_exeext conftest.$ac_ext
   15350 fi
   15351 
   15352 
   15353 		CFLAGS="$xorg_testset_save_CFLAGS"
   15354 
   15355 		eval supported=\$$cacheid
   15356 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15357 $as_echo "$supported" >&6; }
   15358 		if test "$supported" = "yes" ; then
   15359 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   15360 			found="yes"
   15361 		fi
   15362 	fi
   15363 
   15364 
   15365 
   15366 
   15367 
   15368 
   15369 
   15370 
   15371 
   15372 
   15373 
   15374 
   15375 
   15376 
   15377 
   15378 xorg_testset_save_CFLAGS="$CFLAGS"
   15379 
   15380 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15381 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15382 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15383 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15384 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15385   $as_echo_n "(cached) " >&6
   15386 else
   15387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15388 /* end confdefs.h.  */
   15389 int i;
   15390 _ACEOF
   15391 if ac_fn_c_try_compile "$LINENO"; then :
   15392   xorg_cv_cc_flag_unknown_warning_option=yes
   15393 else
   15394   xorg_cv_cc_flag_unknown_warning_option=no
   15395 fi
   15396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15397 fi
   15398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15399 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15400 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15401 	CFLAGS="$xorg_testset_save_CFLAGS"
   15402 fi
   15403 
   15404 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15405 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15406 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15407 	fi
   15408 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15409 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15410 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15411 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15412   $as_echo_n "(cached) " >&6
   15413 else
   15414   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15415 /* end confdefs.h.  */
   15416 int i;
   15417 _ACEOF
   15418 if ac_fn_c_try_compile "$LINENO"; then :
   15419   xorg_cv_cc_flag_unused_command_line_argument=yes
   15420 else
   15421   xorg_cv_cc_flag_unused_command_line_argument=no
   15422 fi
   15423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15424 fi
   15425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15426 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15427 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15428 	CFLAGS="$xorg_testset_save_CFLAGS"
   15429 fi
   15430 
   15431 found="no"
   15432 
   15433 	if test $found = "no" ; then
   15434 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15435 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15436 		fi
   15437 
   15438 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15439 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15440 		fi
   15441 
   15442 		CFLAGS="$CFLAGS -Werror=trigraphs"
   15443 
   15444 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   15445 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   15446 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   15447 		if eval \${$cacheid+:} false; then :
   15448   $as_echo_n "(cached) " >&6
   15449 else
   15450   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15451 /* end confdefs.h.  */
   15452 int i;
   15453 int
   15454 main ()
   15455 {
   15456 
   15457   ;
   15458   return 0;
   15459 }
   15460 _ACEOF
   15461 if ac_fn_c_try_link "$LINENO"; then :
   15462   eval $cacheid=yes
   15463 else
   15464   eval $cacheid=no
   15465 fi
   15466 rm -f core conftest.err conftest.$ac_objext \
   15467     conftest$ac_exeext conftest.$ac_ext
   15468 fi
   15469 
   15470 
   15471 		CFLAGS="$xorg_testset_save_CFLAGS"
   15472 
   15473 		eval supported=\$$cacheid
   15474 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15475 $as_echo "$supported" >&6; }
   15476 		if test "$supported" = "yes" ; then
   15477 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   15478 			found="yes"
   15479 		fi
   15480 	fi
   15481 
   15482 
   15483 
   15484 
   15485 
   15486 
   15487 
   15488 
   15489 
   15490 
   15491 
   15492 
   15493 
   15494 
   15495 
   15496 xorg_testset_save_CFLAGS="$CFLAGS"
   15497 
   15498 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15499 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15500 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15501 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15502 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15503   $as_echo_n "(cached) " >&6
   15504 else
   15505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15506 /* end confdefs.h.  */
   15507 int i;
   15508 _ACEOF
   15509 if ac_fn_c_try_compile "$LINENO"; then :
   15510   xorg_cv_cc_flag_unknown_warning_option=yes
   15511 else
   15512   xorg_cv_cc_flag_unknown_warning_option=no
   15513 fi
   15514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15515 fi
   15516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15517 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15518 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15519 	CFLAGS="$xorg_testset_save_CFLAGS"
   15520 fi
   15521 
   15522 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15523 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15524 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15525 	fi
   15526 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15527 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15528 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15529 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15530   $as_echo_n "(cached) " >&6
   15531 else
   15532   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15533 /* end confdefs.h.  */
   15534 int i;
   15535 _ACEOF
   15536 if ac_fn_c_try_compile "$LINENO"; then :
   15537   xorg_cv_cc_flag_unused_command_line_argument=yes
   15538 else
   15539   xorg_cv_cc_flag_unused_command_line_argument=no
   15540 fi
   15541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15542 fi
   15543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15544 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15545 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15546 	CFLAGS="$xorg_testset_save_CFLAGS"
   15547 fi
   15548 
   15549 found="no"
   15550 
   15551 	if test $found = "no" ; then
   15552 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15553 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15554 		fi
   15555 
   15556 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15557 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15558 		fi
   15559 
   15560 		CFLAGS="$CFLAGS -Werror=array-bounds"
   15561 
   15562 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   15563 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   15564 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   15565 		if eval \${$cacheid+:} false; then :
   15566   $as_echo_n "(cached) " >&6
   15567 else
   15568   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15569 /* end confdefs.h.  */
   15570 int i;
   15571 int
   15572 main ()
   15573 {
   15574 
   15575   ;
   15576   return 0;
   15577 }
   15578 _ACEOF
   15579 if ac_fn_c_try_link "$LINENO"; then :
   15580   eval $cacheid=yes
   15581 else
   15582   eval $cacheid=no
   15583 fi
   15584 rm -f core conftest.err conftest.$ac_objext \
   15585     conftest$ac_exeext conftest.$ac_ext
   15586 fi
   15587 
   15588 
   15589 		CFLAGS="$xorg_testset_save_CFLAGS"
   15590 
   15591 		eval supported=\$$cacheid
   15592 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15593 $as_echo "$supported" >&6; }
   15594 		if test "$supported" = "yes" ; then
   15595 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   15596 			found="yes"
   15597 		fi
   15598 	fi
   15599 
   15600 
   15601 
   15602 
   15603 
   15604 
   15605 
   15606 
   15607 
   15608 
   15609 
   15610 
   15611 
   15612 
   15613 
   15614 xorg_testset_save_CFLAGS="$CFLAGS"
   15615 
   15616 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15617 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15618 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15619 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15620 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15621   $as_echo_n "(cached) " >&6
   15622 else
   15623   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15624 /* end confdefs.h.  */
   15625 int i;
   15626 _ACEOF
   15627 if ac_fn_c_try_compile "$LINENO"; then :
   15628   xorg_cv_cc_flag_unknown_warning_option=yes
   15629 else
   15630   xorg_cv_cc_flag_unknown_warning_option=no
   15631 fi
   15632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15633 fi
   15634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15635 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15636 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15637 	CFLAGS="$xorg_testset_save_CFLAGS"
   15638 fi
   15639 
   15640 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15641 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15642 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15643 	fi
   15644 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15645 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15646 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15647 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15648   $as_echo_n "(cached) " >&6
   15649 else
   15650   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15651 /* end confdefs.h.  */
   15652 int i;
   15653 _ACEOF
   15654 if ac_fn_c_try_compile "$LINENO"; then :
   15655   xorg_cv_cc_flag_unused_command_line_argument=yes
   15656 else
   15657   xorg_cv_cc_flag_unused_command_line_argument=no
   15658 fi
   15659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15660 fi
   15661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15662 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15663 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15664 	CFLAGS="$xorg_testset_save_CFLAGS"
   15665 fi
   15666 
   15667 found="no"
   15668 
   15669 	if test $found = "no" ; then
   15670 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15671 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15672 		fi
   15673 
   15674 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15675 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15676 		fi
   15677 
   15678 		CFLAGS="$CFLAGS -Werror=write-strings"
   15679 
   15680 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   15681 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   15682 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   15683 		if eval \${$cacheid+:} false; then :
   15684   $as_echo_n "(cached) " >&6
   15685 else
   15686   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15687 /* end confdefs.h.  */
   15688 int i;
   15689 int
   15690 main ()
   15691 {
   15692 
   15693   ;
   15694   return 0;
   15695 }
   15696 _ACEOF
   15697 if ac_fn_c_try_link "$LINENO"; then :
   15698   eval $cacheid=yes
   15699 else
   15700   eval $cacheid=no
   15701 fi
   15702 rm -f core conftest.err conftest.$ac_objext \
   15703     conftest$ac_exeext conftest.$ac_ext
   15704 fi
   15705 
   15706 
   15707 		CFLAGS="$xorg_testset_save_CFLAGS"
   15708 
   15709 		eval supported=\$$cacheid
   15710 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15711 $as_echo "$supported" >&6; }
   15712 		if test "$supported" = "yes" ; then
   15713 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   15714 			found="yes"
   15715 		fi
   15716 	fi
   15717 
   15718 
   15719 
   15720 
   15721 
   15722 
   15723 
   15724 
   15725 
   15726 
   15727 
   15728 
   15729 
   15730 
   15731 
   15732 xorg_testset_save_CFLAGS="$CFLAGS"
   15733 
   15734 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15735 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15736 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15737 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15738 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15739   $as_echo_n "(cached) " >&6
   15740 else
   15741   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15742 /* end confdefs.h.  */
   15743 int i;
   15744 _ACEOF
   15745 if ac_fn_c_try_compile "$LINENO"; then :
   15746   xorg_cv_cc_flag_unknown_warning_option=yes
   15747 else
   15748   xorg_cv_cc_flag_unknown_warning_option=no
   15749 fi
   15750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15751 fi
   15752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15753 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15754 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15755 	CFLAGS="$xorg_testset_save_CFLAGS"
   15756 fi
   15757 
   15758 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15759 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15760 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15761 	fi
   15762 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15763 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15764 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15765 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15766   $as_echo_n "(cached) " >&6
   15767 else
   15768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15769 /* end confdefs.h.  */
   15770 int i;
   15771 _ACEOF
   15772 if ac_fn_c_try_compile "$LINENO"; then :
   15773   xorg_cv_cc_flag_unused_command_line_argument=yes
   15774 else
   15775   xorg_cv_cc_flag_unused_command_line_argument=no
   15776 fi
   15777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15778 fi
   15779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15780 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15781 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15782 	CFLAGS="$xorg_testset_save_CFLAGS"
   15783 fi
   15784 
   15785 found="no"
   15786 
   15787 	if test $found = "no" ; then
   15788 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15789 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15790 		fi
   15791 
   15792 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15793 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15794 		fi
   15795 
   15796 		CFLAGS="$CFLAGS -Werror=address"
   15797 
   15798 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   15799 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   15800 		cacheid=xorg_cv_cc_flag__Werror_address
   15801 		if eval \${$cacheid+:} false; then :
   15802   $as_echo_n "(cached) " >&6
   15803 else
   15804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15805 /* end confdefs.h.  */
   15806 int i;
   15807 int
   15808 main ()
   15809 {
   15810 
   15811   ;
   15812   return 0;
   15813 }
   15814 _ACEOF
   15815 if ac_fn_c_try_link "$LINENO"; then :
   15816   eval $cacheid=yes
   15817 else
   15818   eval $cacheid=no
   15819 fi
   15820 rm -f core conftest.err conftest.$ac_objext \
   15821     conftest$ac_exeext conftest.$ac_ext
   15822 fi
   15823 
   15824 
   15825 		CFLAGS="$xorg_testset_save_CFLAGS"
   15826 
   15827 		eval supported=\$$cacheid
   15828 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15829 $as_echo "$supported" >&6; }
   15830 		if test "$supported" = "yes" ; then
   15831 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   15832 			found="yes"
   15833 		fi
   15834 	fi
   15835 
   15836 
   15837 
   15838 
   15839 
   15840 
   15841 
   15842 
   15843 
   15844 
   15845 
   15846 
   15847 
   15848 
   15849 
   15850 xorg_testset_save_CFLAGS="$CFLAGS"
   15851 
   15852 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15853 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15854 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15855 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15856 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15857   $as_echo_n "(cached) " >&6
   15858 else
   15859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15860 /* end confdefs.h.  */
   15861 int i;
   15862 _ACEOF
   15863 if ac_fn_c_try_compile "$LINENO"; then :
   15864   xorg_cv_cc_flag_unknown_warning_option=yes
   15865 else
   15866   xorg_cv_cc_flag_unknown_warning_option=no
   15867 fi
   15868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15869 fi
   15870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15871 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15872 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15873 	CFLAGS="$xorg_testset_save_CFLAGS"
   15874 fi
   15875 
   15876 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15877 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15878 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15879 	fi
   15880 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15881 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15882 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15883 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15884   $as_echo_n "(cached) " >&6
   15885 else
   15886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15887 /* end confdefs.h.  */
   15888 int i;
   15889 _ACEOF
   15890 if ac_fn_c_try_compile "$LINENO"; then :
   15891   xorg_cv_cc_flag_unused_command_line_argument=yes
   15892 else
   15893   xorg_cv_cc_flag_unused_command_line_argument=no
   15894 fi
   15895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15896 fi
   15897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15898 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15899 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15900 	CFLAGS="$xorg_testset_save_CFLAGS"
   15901 fi
   15902 
   15903 found="no"
   15904 
   15905 	if test $found = "no" ; then
   15906 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15907 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15908 		fi
   15909 
   15910 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15911 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15912 		fi
   15913 
   15914 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   15915 
   15916 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   15917 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   15918 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   15919 		if eval \${$cacheid+:} false; then :
   15920   $as_echo_n "(cached) " >&6
   15921 else
   15922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15923 /* end confdefs.h.  */
   15924 int i;
   15925 int
   15926 main ()
   15927 {
   15928 
   15929   ;
   15930   return 0;
   15931 }
   15932 _ACEOF
   15933 if ac_fn_c_try_link "$LINENO"; then :
   15934   eval $cacheid=yes
   15935 else
   15936   eval $cacheid=no
   15937 fi
   15938 rm -f core conftest.err conftest.$ac_objext \
   15939     conftest$ac_exeext conftest.$ac_ext
   15940 fi
   15941 
   15942 
   15943 		CFLAGS="$xorg_testset_save_CFLAGS"
   15944 
   15945 		eval supported=\$$cacheid
   15946 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15947 $as_echo "$supported" >&6; }
   15948 		if test "$supported" = "yes" ; then
   15949 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   15950 			found="yes"
   15951 		fi
   15952 	fi
   15953 
   15954 	if test $found = "no" ; then
   15955 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15956 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15957 		fi
   15958 
   15959 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15960 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15961 		fi
   15962 
   15963 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15964 
   15965 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   15966 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   15967 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   15968 		if eval \${$cacheid+:} false; then :
   15969   $as_echo_n "(cached) " >&6
   15970 else
   15971   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15972 /* end confdefs.h.  */
   15973 int i;
   15974 int
   15975 main ()
   15976 {
   15977 
   15978   ;
   15979   return 0;
   15980 }
   15981 _ACEOF
   15982 if ac_fn_c_try_link "$LINENO"; then :
   15983   eval $cacheid=yes
   15984 else
   15985   eval $cacheid=no
   15986 fi
   15987 rm -f core conftest.err conftest.$ac_objext \
   15988     conftest$ac_exeext conftest.$ac_ext
   15989 fi
   15990 
   15991 
   15992 		CFLAGS="$xorg_testset_save_CFLAGS"
   15993 
   15994 		eval supported=\$$cacheid
   15995 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15996 $as_echo "$supported" >&6; }
   15997 		if test "$supported" = "yes" ; then
   15998 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15999 			found="yes"
   16000 		fi
   16001 	fi
   16002 
   16003 
   16004 
   16005 
   16006 
   16007 
   16008 
   16009 
   16010 
   16011 
   16012 
   16013 
   16014 
   16015 
   16016 
   16017 xorg_testset_save_CFLAGS="$CFLAGS"
   16018 
   16019 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16020 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16021 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16022 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16023 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16024   $as_echo_n "(cached) " >&6
   16025 else
   16026   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16027 /* end confdefs.h.  */
   16028 int i;
   16029 _ACEOF
   16030 if ac_fn_c_try_compile "$LINENO"; then :
   16031   xorg_cv_cc_flag_unknown_warning_option=yes
   16032 else
   16033   xorg_cv_cc_flag_unknown_warning_option=no
   16034 fi
   16035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16036 fi
   16037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16038 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16039 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16040 	CFLAGS="$xorg_testset_save_CFLAGS"
   16041 fi
   16042 
   16043 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16044 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16045 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16046 	fi
   16047 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16048 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16049 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16050 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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_unused_command_line_argument=yes
   16059 else
   16060   xorg_cv_cc_flag_unused_command_line_argument=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_unused_command_line_argument" >&5
   16065 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16066 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16067 	CFLAGS="$xorg_testset_save_CFLAGS"
   16068 fi
   16069 
   16070 found="no"
   16071 
   16072 	if test $found = "no" ; then
   16073 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16074 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16075 		fi
   16076 
   16077 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16078 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16079 		fi
   16080 
   16081 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   16082 
   16083 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   16084 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   16085 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   16086 		if eval \${$cacheid+:} false; then :
   16087   $as_echo_n "(cached) " >&6
   16088 else
   16089   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16090 /* end confdefs.h.  */
   16091 int i;
   16092 int
   16093 main ()
   16094 {
   16095 
   16096   ;
   16097   return 0;
   16098 }
   16099 _ACEOF
   16100 if ac_fn_c_try_link "$LINENO"; then :
   16101   eval $cacheid=yes
   16102 else
   16103   eval $cacheid=no
   16104 fi
   16105 rm -f core conftest.err conftest.$ac_objext \
   16106     conftest$ac_exeext conftest.$ac_ext
   16107 fi
   16108 
   16109 
   16110 		CFLAGS="$xorg_testset_save_CFLAGS"
   16111 
   16112 		eval supported=\$$cacheid
   16113 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16114 $as_echo "$supported" >&6; }
   16115 		if test "$supported" = "yes" ; then
   16116 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   16117 			found="yes"
   16118 		fi
   16119 	fi
   16120 
   16121  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   16122 else
   16123 { $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
   16124 $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;}
   16125 
   16126 
   16127 
   16128 
   16129 
   16130 
   16131 
   16132 
   16133 
   16134 
   16135 
   16136 
   16137 
   16138 xorg_testset_save_CFLAGS="$CFLAGS"
   16139 
   16140 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16141 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16142 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16143 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16144 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16145   $as_echo_n "(cached) " >&6
   16146 else
   16147   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16148 /* end confdefs.h.  */
   16149 int i;
   16150 _ACEOF
   16151 if ac_fn_c_try_compile "$LINENO"; then :
   16152   xorg_cv_cc_flag_unknown_warning_option=yes
   16153 else
   16154   xorg_cv_cc_flag_unknown_warning_option=no
   16155 fi
   16156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16157 fi
   16158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16159 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16160 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16161 	CFLAGS="$xorg_testset_save_CFLAGS"
   16162 fi
   16163 
   16164 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16165 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16166 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16167 	fi
   16168 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16169 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16170 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16171 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16172   $as_echo_n "(cached) " >&6
   16173 else
   16174   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16175 /* end confdefs.h.  */
   16176 int i;
   16177 _ACEOF
   16178 if ac_fn_c_try_compile "$LINENO"; then :
   16179   xorg_cv_cc_flag_unused_command_line_argument=yes
   16180 else
   16181   xorg_cv_cc_flag_unused_command_line_argument=no
   16182 fi
   16183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16184 fi
   16185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16186 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16187 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16188 	CFLAGS="$xorg_testset_save_CFLAGS"
   16189 fi
   16190 
   16191 found="no"
   16192 
   16193 	if test $found = "no" ; then
   16194 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16195 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16196 		fi
   16197 
   16198 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16199 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16200 		fi
   16201 
   16202 		CFLAGS="$CFLAGS -Wimplicit"
   16203 
   16204 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   16205 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   16206 		cacheid=xorg_cv_cc_flag__Wimplicit
   16207 		if eval \${$cacheid+:} false; then :
   16208   $as_echo_n "(cached) " >&6
   16209 else
   16210   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16211 /* end confdefs.h.  */
   16212 int i;
   16213 int
   16214 main ()
   16215 {
   16216 
   16217   ;
   16218   return 0;
   16219 }
   16220 _ACEOF
   16221 if ac_fn_c_try_link "$LINENO"; then :
   16222   eval $cacheid=yes
   16223 else
   16224   eval $cacheid=no
   16225 fi
   16226 rm -f core conftest.err conftest.$ac_objext \
   16227     conftest$ac_exeext conftest.$ac_ext
   16228 fi
   16229 
   16230 
   16231 		CFLAGS="$xorg_testset_save_CFLAGS"
   16232 
   16233 		eval supported=\$$cacheid
   16234 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16235 $as_echo "$supported" >&6; }
   16236 		if test "$supported" = "yes" ; then
   16237 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   16238 			found="yes"
   16239 		fi
   16240 	fi
   16241 
   16242 
   16243 
   16244 
   16245 
   16246 
   16247 
   16248 
   16249 
   16250 
   16251 
   16252 
   16253 
   16254 
   16255 
   16256 xorg_testset_save_CFLAGS="$CFLAGS"
   16257 
   16258 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16259 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16260 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16261 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16262 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16263   $as_echo_n "(cached) " >&6
   16264 else
   16265   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16266 /* end confdefs.h.  */
   16267 int i;
   16268 _ACEOF
   16269 if ac_fn_c_try_compile "$LINENO"; then :
   16270   xorg_cv_cc_flag_unknown_warning_option=yes
   16271 else
   16272   xorg_cv_cc_flag_unknown_warning_option=no
   16273 fi
   16274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16275 fi
   16276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16277 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16278 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16279 	CFLAGS="$xorg_testset_save_CFLAGS"
   16280 fi
   16281 
   16282 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16283 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16284 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16285 	fi
   16286 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16287 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16288 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16289 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16290   $as_echo_n "(cached) " >&6
   16291 else
   16292   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16293 /* end confdefs.h.  */
   16294 int i;
   16295 _ACEOF
   16296 if ac_fn_c_try_compile "$LINENO"; then :
   16297   xorg_cv_cc_flag_unused_command_line_argument=yes
   16298 else
   16299   xorg_cv_cc_flag_unused_command_line_argument=no
   16300 fi
   16301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16302 fi
   16303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16304 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16305 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16306 	CFLAGS="$xorg_testset_save_CFLAGS"
   16307 fi
   16308 
   16309 found="no"
   16310 
   16311 	if test $found = "no" ; then
   16312 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16313 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16314 		fi
   16315 
   16316 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16317 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16318 		fi
   16319 
   16320 		CFLAGS="$CFLAGS -Wnonnull"
   16321 
   16322 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   16323 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   16324 		cacheid=xorg_cv_cc_flag__Wnonnull
   16325 		if eval \${$cacheid+:} false; then :
   16326   $as_echo_n "(cached) " >&6
   16327 else
   16328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16329 /* end confdefs.h.  */
   16330 int i;
   16331 int
   16332 main ()
   16333 {
   16334 
   16335   ;
   16336   return 0;
   16337 }
   16338 _ACEOF
   16339 if ac_fn_c_try_link "$LINENO"; then :
   16340   eval $cacheid=yes
   16341 else
   16342   eval $cacheid=no
   16343 fi
   16344 rm -f core conftest.err conftest.$ac_objext \
   16345     conftest$ac_exeext conftest.$ac_ext
   16346 fi
   16347 
   16348 
   16349 		CFLAGS="$xorg_testset_save_CFLAGS"
   16350 
   16351 		eval supported=\$$cacheid
   16352 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16353 $as_echo "$supported" >&6; }
   16354 		if test "$supported" = "yes" ; then
   16355 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   16356 			found="yes"
   16357 		fi
   16358 	fi
   16359 
   16360 
   16361 
   16362 
   16363 
   16364 
   16365 
   16366 
   16367 
   16368 
   16369 
   16370 
   16371 
   16372 
   16373 
   16374 xorg_testset_save_CFLAGS="$CFLAGS"
   16375 
   16376 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16377 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16378 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16379 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16380 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16381   $as_echo_n "(cached) " >&6
   16382 else
   16383   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16384 /* end confdefs.h.  */
   16385 int i;
   16386 _ACEOF
   16387 if ac_fn_c_try_compile "$LINENO"; then :
   16388   xorg_cv_cc_flag_unknown_warning_option=yes
   16389 else
   16390   xorg_cv_cc_flag_unknown_warning_option=no
   16391 fi
   16392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16393 fi
   16394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16395 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16396 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16397 	CFLAGS="$xorg_testset_save_CFLAGS"
   16398 fi
   16399 
   16400 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16401 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16402 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16403 	fi
   16404 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16405 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16406 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16407 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16408   $as_echo_n "(cached) " >&6
   16409 else
   16410   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16411 /* end confdefs.h.  */
   16412 int i;
   16413 _ACEOF
   16414 if ac_fn_c_try_compile "$LINENO"; then :
   16415   xorg_cv_cc_flag_unused_command_line_argument=yes
   16416 else
   16417   xorg_cv_cc_flag_unused_command_line_argument=no
   16418 fi
   16419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16420 fi
   16421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16422 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16423 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16424 	CFLAGS="$xorg_testset_save_CFLAGS"
   16425 fi
   16426 
   16427 found="no"
   16428 
   16429 	if test $found = "no" ; then
   16430 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16431 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16432 		fi
   16433 
   16434 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16435 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16436 		fi
   16437 
   16438 		CFLAGS="$CFLAGS -Winit-self"
   16439 
   16440 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   16441 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   16442 		cacheid=xorg_cv_cc_flag__Winit_self
   16443 		if eval \${$cacheid+:} false; then :
   16444   $as_echo_n "(cached) " >&6
   16445 else
   16446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16447 /* end confdefs.h.  */
   16448 int i;
   16449 int
   16450 main ()
   16451 {
   16452 
   16453   ;
   16454   return 0;
   16455 }
   16456 _ACEOF
   16457 if ac_fn_c_try_link "$LINENO"; then :
   16458   eval $cacheid=yes
   16459 else
   16460   eval $cacheid=no
   16461 fi
   16462 rm -f core conftest.err conftest.$ac_objext \
   16463     conftest$ac_exeext conftest.$ac_ext
   16464 fi
   16465 
   16466 
   16467 		CFLAGS="$xorg_testset_save_CFLAGS"
   16468 
   16469 		eval supported=\$$cacheid
   16470 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16471 $as_echo "$supported" >&6; }
   16472 		if test "$supported" = "yes" ; then
   16473 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   16474 			found="yes"
   16475 		fi
   16476 	fi
   16477 
   16478 
   16479 
   16480 
   16481 
   16482 
   16483 
   16484 
   16485 
   16486 
   16487 
   16488 
   16489 
   16490 
   16491 
   16492 xorg_testset_save_CFLAGS="$CFLAGS"
   16493 
   16494 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16495 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16496 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16497 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16498 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16499   $as_echo_n "(cached) " >&6
   16500 else
   16501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16502 /* end confdefs.h.  */
   16503 int i;
   16504 _ACEOF
   16505 if ac_fn_c_try_compile "$LINENO"; then :
   16506   xorg_cv_cc_flag_unknown_warning_option=yes
   16507 else
   16508   xorg_cv_cc_flag_unknown_warning_option=no
   16509 fi
   16510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16511 fi
   16512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16513 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16514 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16515 	CFLAGS="$xorg_testset_save_CFLAGS"
   16516 fi
   16517 
   16518 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16519 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16520 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16521 	fi
   16522 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16523 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16524 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16525 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16526   $as_echo_n "(cached) " >&6
   16527 else
   16528   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16529 /* end confdefs.h.  */
   16530 int i;
   16531 _ACEOF
   16532 if ac_fn_c_try_compile "$LINENO"; then :
   16533   xorg_cv_cc_flag_unused_command_line_argument=yes
   16534 else
   16535   xorg_cv_cc_flag_unused_command_line_argument=no
   16536 fi
   16537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16538 fi
   16539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16540 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16541 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16542 	CFLAGS="$xorg_testset_save_CFLAGS"
   16543 fi
   16544 
   16545 found="no"
   16546 
   16547 	if test $found = "no" ; then
   16548 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16549 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16550 		fi
   16551 
   16552 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16553 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16554 		fi
   16555 
   16556 		CFLAGS="$CFLAGS -Wmain"
   16557 
   16558 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   16559 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   16560 		cacheid=xorg_cv_cc_flag__Wmain
   16561 		if eval \${$cacheid+:} false; then :
   16562   $as_echo_n "(cached) " >&6
   16563 else
   16564   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16565 /* end confdefs.h.  */
   16566 int i;
   16567 int
   16568 main ()
   16569 {
   16570 
   16571   ;
   16572   return 0;
   16573 }
   16574 _ACEOF
   16575 if ac_fn_c_try_link "$LINENO"; then :
   16576   eval $cacheid=yes
   16577 else
   16578   eval $cacheid=no
   16579 fi
   16580 rm -f core conftest.err conftest.$ac_objext \
   16581     conftest$ac_exeext conftest.$ac_ext
   16582 fi
   16583 
   16584 
   16585 		CFLAGS="$xorg_testset_save_CFLAGS"
   16586 
   16587 		eval supported=\$$cacheid
   16588 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16589 $as_echo "$supported" >&6; }
   16590 		if test "$supported" = "yes" ; then
   16591 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   16592 			found="yes"
   16593 		fi
   16594 	fi
   16595 
   16596 
   16597 
   16598 
   16599 
   16600 
   16601 
   16602 
   16603 
   16604 
   16605 
   16606 
   16607 
   16608 
   16609 
   16610 xorg_testset_save_CFLAGS="$CFLAGS"
   16611 
   16612 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16613 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16614 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16615 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16616 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16617   $as_echo_n "(cached) " >&6
   16618 else
   16619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16620 /* end confdefs.h.  */
   16621 int i;
   16622 _ACEOF
   16623 if ac_fn_c_try_compile "$LINENO"; then :
   16624   xorg_cv_cc_flag_unknown_warning_option=yes
   16625 else
   16626   xorg_cv_cc_flag_unknown_warning_option=no
   16627 fi
   16628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16629 fi
   16630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16631 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16632 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16633 	CFLAGS="$xorg_testset_save_CFLAGS"
   16634 fi
   16635 
   16636 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16637 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16638 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16639 	fi
   16640 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16641 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16642 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16643 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16644   $as_echo_n "(cached) " >&6
   16645 else
   16646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16647 /* end confdefs.h.  */
   16648 int i;
   16649 _ACEOF
   16650 if ac_fn_c_try_compile "$LINENO"; then :
   16651   xorg_cv_cc_flag_unused_command_line_argument=yes
   16652 else
   16653   xorg_cv_cc_flag_unused_command_line_argument=no
   16654 fi
   16655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16656 fi
   16657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16658 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16659 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16660 	CFLAGS="$xorg_testset_save_CFLAGS"
   16661 fi
   16662 
   16663 found="no"
   16664 
   16665 	if test $found = "no" ; then
   16666 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16667 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16668 		fi
   16669 
   16670 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16671 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16672 		fi
   16673 
   16674 		CFLAGS="$CFLAGS -Wmissing-braces"
   16675 
   16676 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   16677 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   16678 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   16679 		if eval \${$cacheid+:} false; then :
   16680   $as_echo_n "(cached) " >&6
   16681 else
   16682   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16683 /* end confdefs.h.  */
   16684 int i;
   16685 int
   16686 main ()
   16687 {
   16688 
   16689   ;
   16690   return 0;
   16691 }
   16692 _ACEOF
   16693 if ac_fn_c_try_link "$LINENO"; then :
   16694   eval $cacheid=yes
   16695 else
   16696   eval $cacheid=no
   16697 fi
   16698 rm -f core conftest.err conftest.$ac_objext \
   16699     conftest$ac_exeext conftest.$ac_ext
   16700 fi
   16701 
   16702 
   16703 		CFLAGS="$xorg_testset_save_CFLAGS"
   16704 
   16705 		eval supported=\$$cacheid
   16706 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16707 $as_echo "$supported" >&6; }
   16708 		if test "$supported" = "yes" ; then
   16709 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   16710 			found="yes"
   16711 		fi
   16712 	fi
   16713 
   16714 
   16715 
   16716 
   16717 
   16718 
   16719 
   16720 
   16721 
   16722 
   16723 
   16724 
   16725 
   16726 
   16727 
   16728 xorg_testset_save_CFLAGS="$CFLAGS"
   16729 
   16730 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16731 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16732 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16733 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16734 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16735   $as_echo_n "(cached) " >&6
   16736 else
   16737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16738 /* end confdefs.h.  */
   16739 int i;
   16740 _ACEOF
   16741 if ac_fn_c_try_compile "$LINENO"; then :
   16742   xorg_cv_cc_flag_unknown_warning_option=yes
   16743 else
   16744   xorg_cv_cc_flag_unknown_warning_option=no
   16745 fi
   16746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16747 fi
   16748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16749 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16750 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16751 	CFLAGS="$xorg_testset_save_CFLAGS"
   16752 fi
   16753 
   16754 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16755 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16756 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16757 	fi
   16758 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16759 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16760 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16761 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16762   $as_echo_n "(cached) " >&6
   16763 else
   16764   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16765 /* end confdefs.h.  */
   16766 int i;
   16767 _ACEOF
   16768 if ac_fn_c_try_compile "$LINENO"; then :
   16769   xorg_cv_cc_flag_unused_command_line_argument=yes
   16770 else
   16771   xorg_cv_cc_flag_unused_command_line_argument=no
   16772 fi
   16773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16774 fi
   16775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16776 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16777 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16778 	CFLAGS="$xorg_testset_save_CFLAGS"
   16779 fi
   16780 
   16781 found="no"
   16782 
   16783 	if test $found = "no" ; then
   16784 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16785 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16786 		fi
   16787 
   16788 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16789 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16790 		fi
   16791 
   16792 		CFLAGS="$CFLAGS -Wsequence-point"
   16793 
   16794 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   16795 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   16796 		cacheid=xorg_cv_cc_flag__Wsequence_point
   16797 		if eval \${$cacheid+:} false; then :
   16798   $as_echo_n "(cached) " >&6
   16799 else
   16800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16801 /* end confdefs.h.  */
   16802 int i;
   16803 int
   16804 main ()
   16805 {
   16806 
   16807   ;
   16808   return 0;
   16809 }
   16810 _ACEOF
   16811 if ac_fn_c_try_link "$LINENO"; then :
   16812   eval $cacheid=yes
   16813 else
   16814   eval $cacheid=no
   16815 fi
   16816 rm -f core conftest.err conftest.$ac_objext \
   16817     conftest$ac_exeext conftest.$ac_ext
   16818 fi
   16819 
   16820 
   16821 		CFLAGS="$xorg_testset_save_CFLAGS"
   16822 
   16823 		eval supported=\$$cacheid
   16824 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16825 $as_echo "$supported" >&6; }
   16826 		if test "$supported" = "yes" ; then
   16827 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   16828 			found="yes"
   16829 		fi
   16830 	fi
   16831 
   16832 
   16833 
   16834 
   16835 
   16836 
   16837 
   16838 
   16839 
   16840 
   16841 
   16842 
   16843 
   16844 
   16845 
   16846 xorg_testset_save_CFLAGS="$CFLAGS"
   16847 
   16848 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16849 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16850 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16851 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16852 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16853   $as_echo_n "(cached) " >&6
   16854 else
   16855   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16856 /* end confdefs.h.  */
   16857 int i;
   16858 _ACEOF
   16859 if ac_fn_c_try_compile "$LINENO"; then :
   16860   xorg_cv_cc_flag_unknown_warning_option=yes
   16861 else
   16862   xorg_cv_cc_flag_unknown_warning_option=no
   16863 fi
   16864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16865 fi
   16866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16867 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16868 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16869 	CFLAGS="$xorg_testset_save_CFLAGS"
   16870 fi
   16871 
   16872 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16873 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16874 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16875 	fi
   16876 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16877 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16878 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16879 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16880   $as_echo_n "(cached) " >&6
   16881 else
   16882   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16883 /* end confdefs.h.  */
   16884 int i;
   16885 _ACEOF
   16886 if ac_fn_c_try_compile "$LINENO"; then :
   16887   xorg_cv_cc_flag_unused_command_line_argument=yes
   16888 else
   16889   xorg_cv_cc_flag_unused_command_line_argument=no
   16890 fi
   16891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16892 fi
   16893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16894 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16895 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16896 	CFLAGS="$xorg_testset_save_CFLAGS"
   16897 fi
   16898 
   16899 found="no"
   16900 
   16901 	if test $found = "no" ; then
   16902 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16903 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16904 		fi
   16905 
   16906 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16907 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16908 		fi
   16909 
   16910 		CFLAGS="$CFLAGS -Wreturn-type"
   16911 
   16912 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   16913 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   16914 		cacheid=xorg_cv_cc_flag__Wreturn_type
   16915 		if eval \${$cacheid+:} false; then :
   16916   $as_echo_n "(cached) " >&6
   16917 else
   16918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16919 /* end confdefs.h.  */
   16920 int i;
   16921 int
   16922 main ()
   16923 {
   16924 
   16925   ;
   16926   return 0;
   16927 }
   16928 _ACEOF
   16929 if ac_fn_c_try_link "$LINENO"; then :
   16930   eval $cacheid=yes
   16931 else
   16932   eval $cacheid=no
   16933 fi
   16934 rm -f core conftest.err conftest.$ac_objext \
   16935     conftest$ac_exeext conftest.$ac_ext
   16936 fi
   16937 
   16938 
   16939 		CFLAGS="$xorg_testset_save_CFLAGS"
   16940 
   16941 		eval supported=\$$cacheid
   16942 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16943 $as_echo "$supported" >&6; }
   16944 		if test "$supported" = "yes" ; then
   16945 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   16946 			found="yes"
   16947 		fi
   16948 	fi
   16949 
   16950 
   16951 
   16952 
   16953 
   16954 
   16955 
   16956 
   16957 
   16958 
   16959 
   16960 
   16961 
   16962 
   16963 
   16964 xorg_testset_save_CFLAGS="$CFLAGS"
   16965 
   16966 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16967 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16968 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16969 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16970 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16971   $as_echo_n "(cached) " >&6
   16972 else
   16973   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16974 /* end confdefs.h.  */
   16975 int i;
   16976 _ACEOF
   16977 if ac_fn_c_try_compile "$LINENO"; then :
   16978   xorg_cv_cc_flag_unknown_warning_option=yes
   16979 else
   16980   xorg_cv_cc_flag_unknown_warning_option=no
   16981 fi
   16982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16983 fi
   16984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16985 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16986 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16987 	CFLAGS="$xorg_testset_save_CFLAGS"
   16988 fi
   16989 
   16990 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16991 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16992 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16993 	fi
   16994 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16995 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16996 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16997 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16998   $as_echo_n "(cached) " >&6
   16999 else
   17000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17001 /* end confdefs.h.  */
   17002 int i;
   17003 _ACEOF
   17004 if ac_fn_c_try_compile "$LINENO"; then :
   17005   xorg_cv_cc_flag_unused_command_line_argument=yes
   17006 else
   17007   xorg_cv_cc_flag_unused_command_line_argument=no
   17008 fi
   17009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17010 fi
   17011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17012 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17013 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17014 	CFLAGS="$xorg_testset_save_CFLAGS"
   17015 fi
   17016 
   17017 found="no"
   17018 
   17019 	if test $found = "no" ; then
   17020 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17021 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17022 		fi
   17023 
   17024 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17025 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17026 		fi
   17027 
   17028 		CFLAGS="$CFLAGS -Wtrigraphs"
   17029 
   17030 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   17031 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   17032 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   17033 		if eval \${$cacheid+:} false; then :
   17034   $as_echo_n "(cached) " >&6
   17035 else
   17036   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17037 /* end confdefs.h.  */
   17038 int i;
   17039 int
   17040 main ()
   17041 {
   17042 
   17043   ;
   17044   return 0;
   17045 }
   17046 _ACEOF
   17047 if ac_fn_c_try_link "$LINENO"; then :
   17048   eval $cacheid=yes
   17049 else
   17050   eval $cacheid=no
   17051 fi
   17052 rm -f core conftest.err conftest.$ac_objext \
   17053     conftest$ac_exeext conftest.$ac_ext
   17054 fi
   17055 
   17056 
   17057 		CFLAGS="$xorg_testset_save_CFLAGS"
   17058 
   17059 		eval supported=\$$cacheid
   17060 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17061 $as_echo "$supported" >&6; }
   17062 		if test "$supported" = "yes" ; then
   17063 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   17064 			found="yes"
   17065 		fi
   17066 	fi
   17067 
   17068 
   17069 
   17070 
   17071 
   17072 
   17073 
   17074 
   17075 
   17076 
   17077 
   17078 
   17079 
   17080 
   17081 
   17082 xorg_testset_save_CFLAGS="$CFLAGS"
   17083 
   17084 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17085 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17086 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17087 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17088 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17089   $as_echo_n "(cached) " >&6
   17090 else
   17091   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17092 /* end confdefs.h.  */
   17093 int i;
   17094 _ACEOF
   17095 if ac_fn_c_try_compile "$LINENO"; then :
   17096   xorg_cv_cc_flag_unknown_warning_option=yes
   17097 else
   17098   xorg_cv_cc_flag_unknown_warning_option=no
   17099 fi
   17100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17101 fi
   17102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17103 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17104 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17105 	CFLAGS="$xorg_testset_save_CFLAGS"
   17106 fi
   17107 
   17108 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17109 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17110 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17111 	fi
   17112 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17113 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17114 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17115 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17116   $as_echo_n "(cached) " >&6
   17117 else
   17118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17119 /* end confdefs.h.  */
   17120 int i;
   17121 _ACEOF
   17122 if ac_fn_c_try_compile "$LINENO"; then :
   17123   xorg_cv_cc_flag_unused_command_line_argument=yes
   17124 else
   17125   xorg_cv_cc_flag_unused_command_line_argument=no
   17126 fi
   17127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17128 fi
   17129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17130 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17131 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17132 	CFLAGS="$xorg_testset_save_CFLAGS"
   17133 fi
   17134 
   17135 found="no"
   17136 
   17137 	if test $found = "no" ; then
   17138 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17139 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17140 		fi
   17141 
   17142 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17143 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17144 		fi
   17145 
   17146 		CFLAGS="$CFLAGS -Warray-bounds"
   17147 
   17148 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   17149 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   17150 		cacheid=xorg_cv_cc_flag__Warray_bounds
   17151 		if eval \${$cacheid+:} false; then :
   17152   $as_echo_n "(cached) " >&6
   17153 else
   17154   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17155 /* end confdefs.h.  */
   17156 int i;
   17157 int
   17158 main ()
   17159 {
   17160 
   17161   ;
   17162   return 0;
   17163 }
   17164 _ACEOF
   17165 if ac_fn_c_try_link "$LINENO"; then :
   17166   eval $cacheid=yes
   17167 else
   17168   eval $cacheid=no
   17169 fi
   17170 rm -f core conftest.err conftest.$ac_objext \
   17171     conftest$ac_exeext conftest.$ac_ext
   17172 fi
   17173 
   17174 
   17175 		CFLAGS="$xorg_testset_save_CFLAGS"
   17176 
   17177 		eval supported=\$$cacheid
   17178 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17179 $as_echo "$supported" >&6; }
   17180 		if test "$supported" = "yes" ; then
   17181 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   17182 			found="yes"
   17183 		fi
   17184 	fi
   17185 
   17186 
   17187 
   17188 
   17189 
   17190 
   17191 
   17192 
   17193 
   17194 
   17195 
   17196 
   17197 
   17198 
   17199 
   17200 xorg_testset_save_CFLAGS="$CFLAGS"
   17201 
   17202 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17203 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17204 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17205 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17206 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17207   $as_echo_n "(cached) " >&6
   17208 else
   17209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17210 /* end confdefs.h.  */
   17211 int i;
   17212 _ACEOF
   17213 if ac_fn_c_try_compile "$LINENO"; then :
   17214   xorg_cv_cc_flag_unknown_warning_option=yes
   17215 else
   17216   xorg_cv_cc_flag_unknown_warning_option=no
   17217 fi
   17218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17219 fi
   17220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17221 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17222 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17223 	CFLAGS="$xorg_testset_save_CFLAGS"
   17224 fi
   17225 
   17226 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17227 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17228 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17229 	fi
   17230 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17231 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17232 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17233 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17234   $as_echo_n "(cached) " >&6
   17235 else
   17236   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17237 /* end confdefs.h.  */
   17238 int i;
   17239 _ACEOF
   17240 if ac_fn_c_try_compile "$LINENO"; then :
   17241   xorg_cv_cc_flag_unused_command_line_argument=yes
   17242 else
   17243   xorg_cv_cc_flag_unused_command_line_argument=no
   17244 fi
   17245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17246 fi
   17247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17248 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17249 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17250 	CFLAGS="$xorg_testset_save_CFLAGS"
   17251 fi
   17252 
   17253 found="no"
   17254 
   17255 	if test $found = "no" ; then
   17256 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17257 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17258 		fi
   17259 
   17260 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17261 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17262 		fi
   17263 
   17264 		CFLAGS="$CFLAGS -Wwrite-strings"
   17265 
   17266 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   17267 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   17268 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   17269 		if eval \${$cacheid+:} false; then :
   17270   $as_echo_n "(cached) " >&6
   17271 else
   17272   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17273 /* end confdefs.h.  */
   17274 int i;
   17275 int
   17276 main ()
   17277 {
   17278 
   17279   ;
   17280   return 0;
   17281 }
   17282 _ACEOF
   17283 if ac_fn_c_try_link "$LINENO"; then :
   17284   eval $cacheid=yes
   17285 else
   17286   eval $cacheid=no
   17287 fi
   17288 rm -f core conftest.err conftest.$ac_objext \
   17289     conftest$ac_exeext conftest.$ac_ext
   17290 fi
   17291 
   17292 
   17293 		CFLAGS="$xorg_testset_save_CFLAGS"
   17294 
   17295 		eval supported=\$$cacheid
   17296 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17297 $as_echo "$supported" >&6; }
   17298 		if test "$supported" = "yes" ; then
   17299 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   17300 			found="yes"
   17301 		fi
   17302 	fi
   17303 
   17304 
   17305 
   17306 
   17307 
   17308 
   17309 
   17310 
   17311 
   17312 
   17313 
   17314 
   17315 
   17316 
   17317 
   17318 xorg_testset_save_CFLAGS="$CFLAGS"
   17319 
   17320 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17321 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17322 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17323 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17324 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17325   $as_echo_n "(cached) " >&6
   17326 else
   17327   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17328 /* end confdefs.h.  */
   17329 int i;
   17330 _ACEOF
   17331 if ac_fn_c_try_compile "$LINENO"; then :
   17332   xorg_cv_cc_flag_unknown_warning_option=yes
   17333 else
   17334   xorg_cv_cc_flag_unknown_warning_option=no
   17335 fi
   17336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17337 fi
   17338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17339 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17340 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17341 	CFLAGS="$xorg_testset_save_CFLAGS"
   17342 fi
   17343 
   17344 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17345 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17346 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17347 	fi
   17348 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17349 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17350 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17351 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17352   $as_echo_n "(cached) " >&6
   17353 else
   17354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17355 /* end confdefs.h.  */
   17356 int i;
   17357 _ACEOF
   17358 if ac_fn_c_try_compile "$LINENO"; then :
   17359   xorg_cv_cc_flag_unused_command_line_argument=yes
   17360 else
   17361   xorg_cv_cc_flag_unused_command_line_argument=no
   17362 fi
   17363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17364 fi
   17365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17366 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17367 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17368 	CFLAGS="$xorg_testset_save_CFLAGS"
   17369 fi
   17370 
   17371 found="no"
   17372 
   17373 	if test $found = "no" ; then
   17374 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17375 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17376 		fi
   17377 
   17378 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17379 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17380 		fi
   17381 
   17382 		CFLAGS="$CFLAGS -Waddress"
   17383 
   17384 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   17385 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   17386 		cacheid=xorg_cv_cc_flag__Waddress
   17387 		if eval \${$cacheid+:} false; then :
   17388   $as_echo_n "(cached) " >&6
   17389 else
   17390   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17391 /* end confdefs.h.  */
   17392 int i;
   17393 int
   17394 main ()
   17395 {
   17396 
   17397   ;
   17398   return 0;
   17399 }
   17400 _ACEOF
   17401 if ac_fn_c_try_link "$LINENO"; then :
   17402   eval $cacheid=yes
   17403 else
   17404   eval $cacheid=no
   17405 fi
   17406 rm -f core conftest.err conftest.$ac_objext \
   17407     conftest$ac_exeext conftest.$ac_ext
   17408 fi
   17409 
   17410 
   17411 		CFLAGS="$xorg_testset_save_CFLAGS"
   17412 
   17413 		eval supported=\$$cacheid
   17414 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17415 $as_echo "$supported" >&6; }
   17416 		if test "$supported" = "yes" ; then
   17417 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   17418 			found="yes"
   17419 		fi
   17420 	fi
   17421 
   17422 
   17423 
   17424 
   17425 
   17426 
   17427 
   17428 
   17429 
   17430 
   17431 
   17432 
   17433 
   17434 
   17435 
   17436 xorg_testset_save_CFLAGS="$CFLAGS"
   17437 
   17438 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17439 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17440 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17441 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17442 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17443   $as_echo_n "(cached) " >&6
   17444 else
   17445   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17446 /* end confdefs.h.  */
   17447 int i;
   17448 _ACEOF
   17449 if ac_fn_c_try_compile "$LINENO"; then :
   17450   xorg_cv_cc_flag_unknown_warning_option=yes
   17451 else
   17452   xorg_cv_cc_flag_unknown_warning_option=no
   17453 fi
   17454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17455 fi
   17456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17457 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17458 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17459 	CFLAGS="$xorg_testset_save_CFLAGS"
   17460 fi
   17461 
   17462 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17463 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17464 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17465 	fi
   17466 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17467 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17468 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17469 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17470   $as_echo_n "(cached) " >&6
   17471 else
   17472   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17473 /* end confdefs.h.  */
   17474 int i;
   17475 _ACEOF
   17476 if ac_fn_c_try_compile "$LINENO"; then :
   17477   xorg_cv_cc_flag_unused_command_line_argument=yes
   17478 else
   17479   xorg_cv_cc_flag_unused_command_line_argument=no
   17480 fi
   17481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17482 fi
   17483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17484 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17485 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17486 	CFLAGS="$xorg_testset_save_CFLAGS"
   17487 fi
   17488 
   17489 found="no"
   17490 
   17491 	if test $found = "no" ; then
   17492 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17493 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17494 		fi
   17495 
   17496 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17497 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17498 		fi
   17499 
   17500 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   17501 
   17502 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   17503 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   17504 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   17505 		if eval \${$cacheid+:} false; then :
   17506   $as_echo_n "(cached) " >&6
   17507 else
   17508   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17509 /* end confdefs.h.  */
   17510 int i;
   17511 int
   17512 main ()
   17513 {
   17514 
   17515   ;
   17516   return 0;
   17517 }
   17518 _ACEOF
   17519 if ac_fn_c_try_link "$LINENO"; then :
   17520   eval $cacheid=yes
   17521 else
   17522   eval $cacheid=no
   17523 fi
   17524 rm -f core conftest.err conftest.$ac_objext \
   17525     conftest$ac_exeext conftest.$ac_ext
   17526 fi
   17527 
   17528 
   17529 		CFLAGS="$xorg_testset_save_CFLAGS"
   17530 
   17531 		eval supported=\$$cacheid
   17532 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17533 $as_echo "$supported" >&6; }
   17534 		if test "$supported" = "yes" ; then
   17535 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   17536 			found="yes"
   17537 		fi
   17538 	fi
   17539 
   17540 
   17541 
   17542 
   17543 
   17544 
   17545 
   17546 
   17547 
   17548 
   17549 
   17550 
   17551 
   17552 
   17553 
   17554 xorg_testset_save_CFLAGS="$CFLAGS"
   17555 
   17556 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17557 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17558 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17559 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17560 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17561   $as_echo_n "(cached) " >&6
   17562 else
   17563   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17564 /* end confdefs.h.  */
   17565 int i;
   17566 _ACEOF
   17567 if ac_fn_c_try_compile "$LINENO"; then :
   17568   xorg_cv_cc_flag_unknown_warning_option=yes
   17569 else
   17570   xorg_cv_cc_flag_unknown_warning_option=no
   17571 fi
   17572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17573 fi
   17574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17575 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17576 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17577 	CFLAGS="$xorg_testset_save_CFLAGS"
   17578 fi
   17579 
   17580 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17581 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17582 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17583 	fi
   17584 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17585 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17586 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17587 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17588   $as_echo_n "(cached) " >&6
   17589 else
   17590   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17591 /* end confdefs.h.  */
   17592 int i;
   17593 _ACEOF
   17594 if ac_fn_c_try_compile "$LINENO"; then :
   17595   xorg_cv_cc_flag_unused_command_line_argument=yes
   17596 else
   17597   xorg_cv_cc_flag_unused_command_line_argument=no
   17598 fi
   17599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17600 fi
   17601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17602 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17603 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17604 	CFLAGS="$xorg_testset_save_CFLAGS"
   17605 fi
   17606 
   17607 found="no"
   17608 
   17609 	if test $found = "no" ; then
   17610 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17611 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17612 		fi
   17613 
   17614 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17615 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17616 		fi
   17617 
   17618 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   17619 
   17620 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   17621 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   17622 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   17623 		if eval \${$cacheid+:} false; then :
   17624   $as_echo_n "(cached) " >&6
   17625 else
   17626   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17627 /* end confdefs.h.  */
   17628 int i;
   17629 int
   17630 main ()
   17631 {
   17632 
   17633   ;
   17634   return 0;
   17635 }
   17636 _ACEOF
   17637 if ac_fn_c_try_link "$LINENO"; then :
   17638   eval $cacheid=yes
   17639 else
   17640   eval $cacheid=no
   17641 fi
   17642 rm -f core conftest.err conftest.$ac_objext \
   17643     conftest$ac_exeext conftest.$ac_ext
   17644 fi
   17645 
   17646 
   17647 		CFLAGS="$xorg_testset_save_CFLAGS"
   17648 
   17649 		eval supported=\$$cacheid
   17650 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17651 $as_echo "$supported" >&6; }
   17652 		if test "$supported" = "yes" ; then
   17653 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   17654 			found="yes"
   17655 		fi
   17656 	fi
   17657 
   17658 
   17659 fi
   17660 
   17661 
   17662 
   17663 
   17664 
   17665 
   17666 
   17667 		CWARNFLAGS="$BASE_CFLAGS"
   17668 		if  test "x$GCC" = xyes ; then
   17669 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   17670 		fi
   17671 
   17672 
   17673 
   17674 
   17675 
   17676 
   17677 
   17678 
   17679 # Check whether --enable-strict-compilation was given.
   17680 if test "${enable_strict_compilation+set}" = set; then :
   17681   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   17682 else
   17683   STRICT_COMPILE=no
   17684 fi
   17685 
   17686 
   17687 
   17688 
   17689 
   17690 
   17691 STRICT_CFLAGS=""
   17692 
   17693 
   17694 
   17695 
   17696 
   17697 
   17698 
   17699 
   17700 
   17701 
   17702 
   17703 
   17704 
   17705 xorg_testset_save_CFLAGS="$CFLAGS"
   17706 
   17707 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17708 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17709 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17710 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17711 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17712   $as_echo_n "(cached) " >&6
   17713 else
   17714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17715 /* end confdefs.h.  */
   17716 int i;
   17717 _ACEOF
   17718 if ac_fn_c_try_compile "$LINENO"; then :
   17719   xorg_cv_cc_flag_unknown_warning_option=yes
   17720 else
   17721   xorg_cv_cc_flag_unknown_warning_option=no
   17722 fi
   17723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17724 fi
   17725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17726 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17727 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17728 	CFLAGS="$xorg_testset_save_CFLAGS"
   17729 fi
   17730 
   17731 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17732 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17733 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17734 	fi
   17735 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17736 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17737 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17738 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17739   $as_echo_n "(cached) " >&6
   17740 else
   17741   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17742 /* end confdefs.h.  */
   17743 int i;
   17744 _ACEOF
   17745 if ac_fn_c_try_compile "$LINENO"; then :
   17746   xorg_cv_cc_flag_unused_command_line_argument=yes
   17747 else
   17748   xorg_cv_cc_flag_unused_command_line_argument=no
   17749 fi
   17750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17751 fi
   17752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17753 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17754 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17755 	CFLAGS="$xorg_testset_save_CFLAGS"
   17756 fi
   17757 
   17758 found="no"
   17759 
   17760 	if test $found = "no" ; then
   17761 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17762 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17763 		fi
   17764 
   17765 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17766 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17767 		fi
   17768 
   17769 		CFLAGS="$CFLAGS -pedantic"
   17770 
   17771 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   17772 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   17773 		cacheid=xorg_cv_cc_flag__pedantic
   17774 		if eval \${$cacheid+:} false; then :
   17775   $as_echo_n "(cached) " >&6
   17776 else
   17777   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17778 /* end confdefs.h.  */
   17779 int i;
   17780 int
   17781 main ()
   17782 {
   17783 
   17784   ;
   17785   return 0;
   17786 }
   17787 _ACEOF
   17788 if ac_fn_c_try_link "$LINENO"; then :
   17789   eval $cacheid=yes
   17790 else
   17791   eval $cacheid=no
   17792 fi
   17793 rm -f core conftest.err conftest.$ac_objext \
   17794     conftest$ac_exeext conftest.$ac_ext
   17795 fi
   17796 
   17797 
   17798 		CFLAGS="$xorg_testset_save_CFLAGS"
   17799 
   17800 		eval supported=\$$cacheid
   17801 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17802 $as_echo "$supported" >&6; }
   17803 		if test "$supported" = "yes" ; then
   17804 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   17805 			found="yes"
   17806 		fi
   17807 	fi
   17808 
   17809 
   17810 
   17811 
   17812 
   17813 
   17814 
   17815 
   17816 
   17817 
   17818 
   17819 
   17820 
   17821 
   17822 
   17823 xorg_testset_save_CFLAGS="$CFLAGS"
   17824 
   17825 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17826 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17827 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17828 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17829 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17830   $as_echo_n "(cached) " >&6
   17831 else
   17832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17833 /* end confdefs.h.  */
   17834 int i;
   17835 _ACEOF
   17836 if ac_fn_c_try_compile "$LINENO"; then :
   17837   xorg_cv_cc_flag_unknown_warning_option=yes
   17838 else
   17839   xorg_cv_cc_flag_unknown_warning_option=no
   17840 fi
   17841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17842 fi
   17843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17844 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17845 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17846 	CFLAGS="$xorg_testset_save_CFLAGS"
   17847 fi
   17848 
   17849 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17850 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17851 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17852 	fi
   17853 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17854 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17855 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17856 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17857   $as_echo_n "(cached) " >&6
   17858 else
   17859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17860 /* end confdefs.h.  */
   17861 int i;
   17862 _ACEOF
   17863 if ac_fn_c_try_compile "$LINENO"; then :
   17864   xorg_cv_cc_flag_unused_command_line_argument=yes
   17865 else
   17866   xorg_cv_cc_flag_unused_command_line_argument=no
   17867 fi
   17868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17869 fi
   17870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17871 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17872 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17873 	CFLAGS="$xorg_testset_save_CFLAGS"
   17874 fi
   17875 
   17876 found="no"
   17877 
   17878 	if test $found = "no" ; then
   17879 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17880 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17881 		fi
   17882 
   17883 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17884 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17885 		fi
   17886 
   17887 		CFLAGS="$CFLAGS -Werror"
   17888 
   17889 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   17890 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   17891 		cacheid=xorg_cv_cc_flag__Werror
   17892 		if eval \${$cacheid+:} false; then :
   17893   $as_echo_n "(cached) " >&6
   17894 else
   17895   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17896 /* end confdefs.h.  */
   17897 int i;
   17898 int
   17899 main ()
   17900 {
   17901 
   17902   ;
   17903   return 0;
   17904 }
   17905 _ACEOF
   17906 if ac_fn_c_try_link "$LINENO"; then :
   17907   eval $cacheid=yes
   17908 else
   17909   eval $cacheid=no
   17910 fi
   17911 rm -f core conftest.err conftest.$ac_objext \
   17912     conftest$ac_exeext conftest.$ac_ext
   17913 fi
   17914 
   17915 
   17916 		CFLAGS="$xorg_testset_save_CFLAGS"
   17917 
   17918 		eval supported=\$$cacheid
   17919 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17920 $as_echo "$supported" >&6; }
   17921 		if test "$supported" = "yes" ; then
   17922 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   17923 			found="yes"
   17924 		fi
   17925 	fi
   17926 
   17927 	if test $found = "no" ; then
   17928 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17929 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17930 		fi
   17931 
   17932 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17933 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17934 		fi
   17935 
   17936 		CFLAGS="$CFLAGS -errwarn"
   17937 
   17938 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   17939 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   17940 		cacheid=xorg_cv_cc_flag__errwarn
   17941 		if eval \${$cacheid+:} false; then :
   17942   $as_echo_n "(cached) " >&6
   17943 else
   17944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17945 /* end confdefs.h.  */
   17946 int i;
   17947 int
   17948 main ()
   17949 {
   17950 
   17951   ;
   17952   return 0;
   17953 }
   17954 _ACEOF
   17955 if ac_fn_c_try_link "$LINENO"; then :
   17956   eval $cacheid=yes
   17957 else
   17958   eval $cacheid=no
   17959 fi
   17960 rm -f core conftest.err conftest.$ac_objext \
   17961     conftest$ac_exeext conftest.$ac_ext
   17962 fi
   17963 
   17964 
   17965 		CFLAGS="$xorg_testset_save_CFLAGS"
   17966 
   17967 		eval supported=\$$cacheid
   17968 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17969 $as_echo "$supported" >&6; }
   17970 		if test "$supported" = "yes" ; then
   17971 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   17972 			found="yes"
   17973 		fi
   17974 	fi
   17975 
   17976 
   17977 
   17978 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   17979 # activate it with -Werror, so we add it here explicitly.
   17980 
   17981 
   17982 
   17983 
   17984 
   17985 
   17986 
   17987 
   17988 
   17989 
   17990 
   17991 
   17992 
   17993 xorg_testset_save_CFLAGS="$CFLAGS"
   17994 
   17995 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17996 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17997 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17998 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17999 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   18000   $as_echo_n "(cached) " >&6
   18001 else
   18002   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18003 /* end confdefs.h.  */
   18004 int i;
   18005 _ACEOF
   18006 if ac_fn_c_try_compile "$LINENO"; then :
   18007   xorg_cv_cc_flag_unknown_warning_option=yes
   18008 else
   18009   xorg_cv_cc_flag_unknown_warning_option=no
   18010 fi
   18011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18012 fi
   18013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18014 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18015 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18016 	CFLAGS="$xorg_testset_save_CFLAGS"
   18017 fi
   18018 
   18019 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18020 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18021 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18022 	fi
   18023 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18024 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18025 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18026 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18027   $as_echo_n "(cached) " >&6
   18028 else
   18029   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18030 /* end confdefs.h.  */
   18031 int i;
   18032 _ACEOF
   18033 if ac_fn_c_try_compile "$LINENO"; then :
   18034   xorg_cv_cc_flag_unused_command_line_argument=yes
   18035 else
   18036   xorg_cv_cc_flag_unused_command_line_argument=no
   18037 fi
   18038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18039 fi
   18040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18041 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18042 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18043 	CFLAGS="$xorg_testset_save_CFLAGS"
   18044 fi
   18045 
   18046 found="no"
   18047 
   18048 	if test $found = "no" ; then
   18049 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18050 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18051 		fi
   18052 
   18053 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18054 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18055 		fi
   18056 
   18057 		CFLAGS="$CFLAGS -Werror=attributes"
   18058 
   18059 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   18060 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   18061 		cacheid=xorg_cv_cc_flag__Werror_attributes
   18062 		if eval \${$cacheid+:} false; then :
   18063   $as_echo_n "(cached) " >&6
   18064 else
   18065   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18066 /* end confdefs.h.  */
   18067 int i;
   18068 int
   18069 main ()
   18070 {
   18071 
   18072   ;
   18073   return 0;
   18074 }
   18075 _ACEOF
   18076 if ac_fn_c_try_link "$LINENO"; then :
   18077   eval $cacheid=yes
   18078 else
   18079   eval $cacheid=no
   18080 fi
   18081 rm -f core conftest.err conftest.$ac_objext \
   18082     conftest$ac_exeext conftest.$ac_ext
   18083 fi
   18084 
   18085 
   18086 		CFLAGS="$xorg_testset_save_CFLAGS"
   18087 
   18088 		eval supported=\$$cacheid
   18089 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18090 $as_echo "$supported" >&6; }
   18091 		if test "$supported" = "yes" ; then
   18092 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   18093 			found="yes"
   18094 		fi
   18095 	fi
   18096 
   18097 
   18098 
   18099 if test "x$STRICT_COMPILE" = "xyes"; then
   18100     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   18101     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   18102 fi
   18103 
   18104 
   18105 
   18106 
   18107 
   18108 
   18109 cat >>confdefs.h <<_ACEOF
   18110 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   18111 _ACEOF
   18112 
   18113 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   18114 	if test "x$PVM" = "x"; then
   18115 		PVM="0"
   18116 	fi
   18117 
   18118 cat >>confdefs.h <<_ACEOF
   18119 #define PACKAGE_VERSION_MINOR $PVM
   18120 _ACEOF
   18121 
   18122 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   18123 	if test "x$PVP" = "x"; then
   18124 		PVP="0"
   18125 	fi
   18126 
   18127 cat >>confdefs.h <<_ACEOF
   18128 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   18129 _ACEOF
   18130 
   18131 
   18132 
   18133 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   18134 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   18135 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   18136 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   18137 
   18138 
   18139 
   18140 
   18141 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   18142 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   18143 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   18144 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   18145 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   18146 
   18147 
   18148 
   18149 
   18150 
   18151 
   18152 if test x$APP_MAN_SUFFIX = x    ; then
   18153     APP_MAN_SUFFIX=1
   18154 fi
   18155 if test x$APP_MAN_DIR = x    ; then
   18156     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   18157 fi
   18158 
   18159 if test x$LIB_MAN_SUFFIX = x    ; then
   18160     LIB_MAN_SUFFIX=3
   18161 fi
   18162 if test x$LIB_MAN_DIR = x    ; then
   18163     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   18164 fi
   18165 
   18166 if test x$FILE_MAN_SUFFIX = x    ; then
   18167     case $host_os in
   18168 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   18169 	*)		FILE_MAN_SUFFIX=5  ;;
   18170     esac
   18171 fi
   18172 if test x$FILE_MAN_DIR = x    ; then
   18173     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   18174 fi
   18175 
   18176 if test x$MISC_MAN_SUFFIX = x    ; then
   18177     case $host_os in
   18178 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   18179 	*)		MISC_MAN_SUFFIX=7  ;;
   18180     esac
   18181 fi
   18182 if test x$MISC_MAN_DIR = x    ; then
   18183     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   18184 fi
   18185 
   18186 if test x$DRIVER_MAN_SUFFIX = x    ; then
   18187     case $host_os in
   18188 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   18189 	*)		DRIVER_MAN_SUFFIX=4  ;;
   18190     esac
   18191 fi
   18192 if test x$DRIVER_MAN_DIR = x    ; then
   18193     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   18194 fi
   18195 
   18196 if test x$ADMIN_MAN_SUFFIX = x    ; then
   18197     case $host_os in
   18198 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   18199 	*)		ADMIN_MAN_SUFFIX=8  ;;
   18200     esac
   18201 fi
   18202 if test x$ADMIN_MAN_DIR = x    ; then
   18203     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   18204 fi
   18205 
   18206 
   18207 
   18208 
   18209 
   18210 
   18211 
   18212 
   18213 
   18214 
   18215 
   18216 
   18217 
   18218 
   18219 
   18220 XORG_MAN_PAGE="X Version 11"
   18221 
   18222 MAN_SUBSTS="\
   18223 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   18224 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   18225 	-e 's|__xservername__|Xorg|g' \
   18226 	-e 's|__xconfigfile__|xorg.conf|g' \
   18227 	-e 's|__projectroot__|\$(prefix)|g' \
   18228 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   18229 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   18230 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   18231 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   18232 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   18233 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   18234 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   18235 
   18236 
   18237 
   18238 # Check whether --enable-silent-rules was given.
   18239 if test "${enable_silent_rules+set}" = set; then :
   18240   enableval=$enable_silent_rules;
   18241 fi
   18242 
   18243 case $enable_silent_rules in # (((
   18244   yes) AM_DEFAULT_VERBOSITY=0;;
   18245    no) AM_DEFAULT_VERBOSITY=1;;
   18246     *) AM_DEFAULT_VERBOSITY=0;;
   18247 esac
   18248 am_make=${MAKE-make}
   18249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   18250 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   18251 if ${am_cv_make_support_nested_variables+:} false; then :
   18252   $as_echo_n "(cached) " >&6
   18253 else
   18254   if $as_echo 'TRUE=$(BAR$(V))
   18255 BAR0=false
   18256 BAR1=true
   18257 V=1
   18258 am__doit:
   18259 	@$(TRUE)
   18260 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   18261   am_cv_make_support_nested_variables=yes
   18262 else
   18263   am_cv_make_support_nested_variables=no
   18264 fi
   18265 fi
   18266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   18267 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   18268 if test $am_cv_make_support_nested_variables = yes; then
   18269     AM_V='$(V)'
   18270   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   18271 else
   18272   AM_V=$AM_DEFAULT_VERBOSITY
   18273   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   18274 fi
   18275 AM_BACKSLASH='\'
   18276 
   18277 
   18278 
   18279 # Check whether --enable-malloc0returnsnull was given.
   18280 if test "${enable_malloc0returnsnull+set}" = set; then :
   18281   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   18282 else
   18283   MALLOC_ZERO_RETURNS_NULL=auto
   18284 fi
   18285 
   18286 
   18287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc(0) returns NULL" >&5
   18288 $as_echo_n "checking whether malloc(0) returns NULL... " >&6; }
   18289 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   18290 if ${xorg_cv_malloc0_returns_null+:} false; then :
   18291   $as_echo_n "(cached) " >&6
   18292 else
   18293   if test "$cross_compiling" = yes; then :
   18294   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18295 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18296 as_fn_error $? "cannot run test program while cross compiling
   18297 See \`config.log' for more details" "$LINENO" 5; }
   18298 else
   18299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18300 /* end confdefs.h.  */
   18301 
   18302 #include <stdlib.h>
   18303 
   18304 int
   18305 main ()
   18306 {
   18307 
   18308     char *m0, *r0, *c0, *p;
   18309     m0 = malloc(0);
   18310     p = malloc(10);
   18311     r0 = realloc(p,0);
   18312     c0 = calloc(0,10);
   18313     exit((m0 == 0 || r0 == 0 || c0 == 0) ? 0 : 1);
   18314 
   18315   ;
   18316   return 0;
   18317 }
   18318 _ACEOF
   18319 if ac_fn_c_try_run "$LINENO"; then :
   18320   xorg_cv_malloc0_returns_null=yes
   18321 else
   18322   xorg_cv_malloc0_returns_null=no
   18323 fi
   18324 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   18325   conftest.$ac_objext conftest.beam conftest.$ac_ext
   18326 fi
   18327 
   18328 fi
   18329 
   18330 MALLOC_ZERO_RETURNS_NULL=$xorg_cv_malloc0_returns_null
   18331 fi
   18332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   18333 $as_echo "$MALLOC_ZERO_RETURNS_NULL" >&6; }
   18334 
   18335 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   18336 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   18337 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   18338 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   18339 else
   18340 	MALLOC_ZERO_CFLAGS=""
   18341 	XMALLOC_ZERO_CFLAGS=""
   18342 	XTMALLOC_ZERO_CFLAGS=""
   18343 fi
   18344 
   18345 
   18346 
   18347 
   18348 
   18349 
   18350 # Obtain compiler/linker options for depedencies
   18351 
   18352 pkg_failed=no
   18353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XSCRNSAVER" >&5
   18354 $as_echo_n "checking for XSCRNSAVER... " >&6; }
   18355 
   18356 if test -n "$XSCRNSAVER_CFLAGS"; then
   18357     pkg_cv_XSCRNSAVER_CFLAGS="$XSCRNSAVER_CFLAGS"
   18358  elif test -n "$PKG_CONFIG"; then
   18359     if test -n "$PKG_CONFIG" && \
   18360     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xext xextproto scrnsaverproto >= 1.2\""; } >&5
   18361   ($PKG_CONFIG --exists --print-errors "x11 xext xextproto scrnsaverproto >= 1.2") 2>&5
   18362   ac_status=$?
   18363   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18364   test $ac_status = 0; }; then
   18365   pkg_cv_XSCRNSAVER_CFLAGS=`$PKG_CONFIG --cflags "x11 xext xextproto scrnsaverproto >= 1.2" 2>/dev/null`
   18366 		      test "x$?" != "x0" && pkg_failed=yes
   18367 else
   18368   pkg_failed=yes
   18369 fi
   18370  else
   18371     pkg_failed=untried
   18372 fi
   18373 if test -n "$XSCRNSAVER_LIBS"; then
   18374     pkg_cv_XSCRNSAVER_LIBS="$XSCRNSAVER_LIBS"
   18375  elif test -n "$PKG_CONFIG"; then
   18376     if test -n "$PKG_CONFIG" && \
   18377     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xext xextproto scrnsaverproto >= 1.2\""; } >&5
   18378   ($PKG_CONFIG --exists --print-errors "x11 xext xextproto scrnsaverproto >= 1.2") 2>&5
   18379   ac_status=$?
   18380   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18381   test $ac_status = 0; }; then
   18382   pkg_cv_XSCRNSAVER_LIBS=`$PKG_CONFIG --libs "x11 xext xextproto scrnsaverproto >= 1.2" 2>/dev/null`
   18383 		      test "x$?" != "x0" && pkg_failed=yes
   18384 else
   18385   pkg_failed=yes
   18386 fi
   18387  else
   18388     pkg_failed=untried
   18389 fi
   18390 
   18391 
   18392 
   18393 if test $pkg_failed = yes; then
   18394    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18395 $as_echo "no" >&6; }
   18396 
   18397 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18398         _pkg_short_errors_supported=yes
   18399 else
   18400         _pkg_short_errors_supported=no
   18401 fi
   18402         if test $_pkg_short_errors_supported = yes; then
   18403 	        XSCRNSAVER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 xext xextproto scrnsaverproto >= 1.2" 2>&1`
   18404         else
   18405 	        XSCRNSAVER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 xext xextproto scrnsaverproto >= 1.2" 2>&1`
   18406         fi
   18407 	# Put the nasty error message in config.log where it belongs
   18408 	echo "$XSCRNSAVER_PKG_ERRORS" >&5
   18409 
   18410 	as_fn_error $? "Package requirements (x11 xext xextproto scrnsaverproto >= 1.2) were not met:
   18411 
   18412 $XSCRNSAVER_PKG_ERRORS
   18413 
   18414 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18415 installed software in a non-standard prefix.
   18416 
   18417 Alternatively, you may set the environment variables XSCRNSAVER_CFLAGS
   18418 and XSCRNSAVER_LIBS to avoid the need to call pkg-config.
   18419 See the pkg-config man page for more details." "$LINENO" 5
   18420 elif test $pkg_failed = untried; then
   18421      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18422 $as_echo "no" >&6; }
   18423 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18424 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18425 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18426 is in your PATH or set the PKG_CONFIG environment variable to the full
   18427 path to pkg-config.
   18428 
   18429 Alternatively, you may set the environment variables XSCRNSAVER_CFLAGS
   18430 and XSCRNSAVER_LIBS to avoid the need to call pkg-config.
   18431 See the pkg-config man page for more details.
   18432 
   18433 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18434 See \`config.log' for more details" "$LINENO" 5; }
   18435 else
   18436 	XSCRNSAVER_CFLAGS=$pkg_cv_XSCRNSAVER_CFLAGS
   18437 	XSCRNSAVER_LIBS=$pkg_cv_XSCRNSAVER_LIBS
   18438         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18439 $as_echo "yes" >&6; }
   18440 
   18441 fi
   18442 
   18443 # Allow checking code with lint, sparse, etc.
   18444 
   18445 
   18446 
   18447 
   18448 
   18449 # Check whether --with-lint was given.
   18450 if test "${with_lint+set}" = set; then :
   18451   withval=$with_lint; use_lint=$withval
   18452 else
   18453   use_lint=no
   18454 fi
   18455 
   18456 
   18457 # Obtain platform specific info like program name and options
   18458 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   18459 case $host_os in
   18460   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   18461 	lint_name=splint
   18462 	lint_options="-badflag"
   18463 	;;
   18464   *freebsd* | *netbsd*)
   18465 	lint_name=lint
   18466 	lint_options="-u -b"
   18467 	;;
   18468   *solaris*)
   18469 	lint_name=lint
   18470 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   18471 	;;
   18472 esac
   18473 
   18474 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   18475 if test "x$use_lint" = x"yes" ; then
   18476    # Extract the first word of "$lint_name", so it can be a program name with args.
   18477 set dummy $lint_name; ac_word=$2
   18478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18479 $as_echo_n "checking for $ac_word... " >&6; }
   18480 if ${ac_cv_path_LINT+:} false; then :
   18481   $as_echo_n "(cached) " >&6
   18482 else
   18483   case $LINT in
   18484   [\\/]* | ?:[\\/]*)
   18485   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   18486   ;;
   18487   *)
   18488   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18489 for as_dir in $PATH
   18490 do
   18491   IFS=$as_save_IFS
   18492   test -z "$as_dir" && as_dir=.
   18493     for ac_exec_ext in '' $ac_executable_extensions; do
   18494   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18495     ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
   18496     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18497     break 2
   18498   fi
   18499 done
   18500   done
   18501 IFS=$as_save_IFS
   18502 
   18503   ;;
   18504 esac
   18505 fi
   18506 LINT=$ac_cv_path_LINT
   18507 if test -n "$LINT"; then
   18508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   18509 $as_echo "$LINT" >&6; }
   18510 else
   18511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18512 $as_echo "no" >&6; }
   18513 fi
   18514 
   18515 
   18516    if test "x$LINT" = "x"; then
   18517         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   18518    fi
   18519 elif test "x$use_lint" = x"no" ; then
   18520    if test "x$LINT" != "x"; then
   18521       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   18522 $as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   18523    fi
   18524 else
   18525    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   18526 fi
   18527 
   18528 # User supplied flags override default flags
   18529 if test "x$LINT_FLAGS" != "x"; then
   18530    lint_options=$LINT_FLAGS
   18531 fi
   18532 
   18533 LINT_FLAGS=$lint_options
   18534 
   18535  if test "x$LINT" != x; then
   18536   LINT_TRUE=
   18537   LINT_FALSE='#'
   18538 else
   18539   LINT_TRUE='#'
   18540   LINT_FALSE=
   18541 fi
   18542 
   18543 
   18544 
   18545 
   18546 
   18547 # Check whether --enable-lint-library was given.
   18548 if test "${enable_lint_library+set}" = set; then :
   18549   enableval=$enable_lint_library; make_lint_lib=$enableval
   18550 else
   18551   make_lint_lib=no
   18552 fi
   18553 
   18554 
   18555 if test "x$make_lint_lib" = x"yes" ; then
   18556    LINTLIB=llib-lXss.ln
   18557    if test "x$LINT" = "x"; then
   18558         as_fn_error $? "Cannot make lint library without --with-lint" "$LINENO" 5
   18559    fi
   18560 elif test "x$make_lint_lib" != x"no" ; then
   18561    as_fn_error $? "--enable-lint-library expects 'yes' or 'no'." "$LINENO" 5
   18562 fi
   18563 
   18564 
   18565  if test x$make_lint_lib != xno; then
   18566   MAKE_LINT_LIB_TRUE=
   18567   MAKE_LINT_LIB_FALSE='#'
   18568 else
   18569   MAKE_LINT_LIB_TRUE='#'
   18570   MAKE_LINT_LIB_FALSE=
   18571 fi
   18572 
   18573 
   18574 
   18575 
   18576 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile xscrnsaver.pc"
   18577 
   18578 cat >confcache <<\_ACEOF
   18579 # This file is a shell script that caches the results of configure
   18580 # tests run on this system so they can be shared between configure
   18581 # scripts and configure runs, see configure's option --config-cache.
   18582 # It is not useful on other systems.  If it contains results you don't
   18583 # want to keep, you may remove or edit it.
   18584 #
   18585 # config.status only pays attention to the cache file if you give it
   18586 # the --recheck option to rerun configure.
   18587 #
   18588 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   18589 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   18590 # following values.
   18591 
   18592 _ACEOF
   18593 
   18594 # The following way of writing the cache mishandles newlines in values,
   18595 # but we know of no workaround that is simple, portable, and efficient.
   18596 # So, we kill variables containing newlines.
   18597 # Ultrix sh set writes to stderr and can't be redirected directly,
   18598 # and sets the high bit in the cache file unless we assign to the vars.
   18599 (
   18600   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   18601     eval ac_val=\$$ac_var
   18602     case $ac_val in #(
   18603     *${as_nl}*)
   18604       case $ac_var in #(
   18605       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   18606 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   18607       esac
   18608       case $ac_var in #(
   18609       _ | IFS | as_nl) ;; #(
   18610       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   18611       *) { eval $ac_var=; unset $ac_var;} ;;
   18612       esac ;;
   18613     esac
   18614   done
   18615 
   18616   (set) 2>&1 |
   18617     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   18618     *${as_nl}ac_space=\ *)
   18619       # `set' does not quote correctly, so add quotes: double-quote
   18620       # substitution turns \\\\ into \\, and sed turns \\ into \.
   18621       sed -n \
   18622 	"s/'/'\\\\''/g;
   18623 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   18624       ;; #(
   18625     *)
   18626       # `set' quotes correctly as required by POSIX, so do not add quotes.
   18627       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   18628       ;;
   18629     esac |
   18630     sort
   18631 ) |
   18632   sed '
   18633      /^ac_cv_env_/b end
   18634      t clear
   18635      :clear
   18636      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   18637      t end
   18638      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   18639      :end' >>confcache
   18640 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   18641   if test -w "$cache_file"; then
   18642     if test "x$cache_file" != "x/dev/null"; then
   18643       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   18644 $as_echo "$as_me: updating cache $cache_file" >&6;}
   18645       if test ! -f "$cache_file" || test -h "$cache_file"; then
   18646 	cat confcache >"$cache_file"
   18647       else
   18648         case $cache_file in #(
   18649         */* | ?:*)
   18650 	  mv -f confcache "$cache_file"$$ &&
   18651 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   18652         *)
   18653 	  mv -f confcache "$cache_file" ;;
   18654 	esac
   18655       fi
   18656     fi
   18657   else
   18658     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   18659 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   18660   fi
   18661 fi
   18662 rm -f confcache
   18663 
   18664 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   18665 # Let make expand exec_prefix.
   18666 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   18667 
   18668 DEFS=-DHAVE_CONFIG_H
   18669 
   18670 ac_libobjs=
   18671 ac_ltlibobjs=
   18672 U=
   18673 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   18674   # 1. Remove the extension, and $U if already installed.
   18675   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   18676   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   18677   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   18678   #    will be set to the directory where LIBOBJS objects are built.
   18679   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   18680   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   18681 done
   18682 LIBOBJS=$ac_libobjs
   18683 
   18684 LTLIBOBJS=$ac_ltlibobjs
   18685 
   18686 
   18687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   18688 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   18689    if test -n "$am_sleep_pid"; then
   18690      # Hide warnings about reused PIDs.
   18691      wait $am_sleep_pid 2>/dev/null
   18692    fi
   18693    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   18694 $as_echo "done" >&6; }
   18695  if test -n "$EXEEXT"; then
   18696   am__EXEEXT_TRUE=
   18697   am__EXEEXT_FALSE='#'
   18698 else
   18699   am__EXEEXT_TRUE='#'
   18700   am__EXEEXT_FALSE=
   18701 fi
   18702 
   18703 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   18704   as_fn_error $? "conditional \"AMDEP\" was never defined.
   18705 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18706 fi
   18707 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   18708   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   18709 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18710 fi
   18711 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   18712   as_fn_error $? "conditional \"LINT\" was never defined.
   18713 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18714 fi
   18715 if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then
   18716   as_fn_error $? "conditional \"MAKE_LINT_LIB\" was never defined.
   18717 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18718 fi
   18719 
   18720 : "${CONFIG_STATUS=./config.status}"
   18721 ac_write_fail=0
   18722 ac_clean_files_save=$ac_clean_files
   18723 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   18724 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   18725 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   18726 as_write_fail=0
   18727 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   18728 #! $SHELL
   18729 # Generated by $as_me.
   18730 # Run this file to recreate the current configuration.
   18731 # Compiler output produced by configure, useful for debugging
   18732 # configure, is in config.log if it exists.
   18733 
   18734 debug=false
   18735 ac_cs_recheck=false
   18736 ac_cs_silent=false
   18737 
   18738 SHELL=\${CONFIG_SHELL-$SHELL}
   18739 export SHELL
   18740 _ASEOF
   18741 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   18742 ## -------------------- ##
   18743 ## M4sh Initialization. ##
   18744 ## -------------------- ##
   18745 
   18746 # Be more Bourne compatible
   18747 DUALCASE=1; export DUALCASE # for MKS sh
   18748 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   18749   emulate sh
   18750   NULLCMD=:
   18751   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   18752   # is contrary to our usage.  Disable this feature.
   18753   alias -g '${1+"$@"}'='"$@"'
   18754   setopt NO_GLOB_SUBST
   18755 else
   18756   case `(set -o) 2>/dev/null` in #(
   18757   *posix*) :
   18758     set -o posix ;; #(
   18759   *) :
   18760      ;;
   18761 esac
   18762 fi
   18763 
   18764 
   18765 as_nl='
   18766 '
   18767 export as_nl
   18768 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   18769 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   18770 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   18771 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   18772 # Prefer a ksh shell builtin over an external printf program on Solaris,
   18773 # but without wasting forks for bash or zsh.
   18774 if test -z "$BASH_VERSION$ZSH_VERSION" \
   18775     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   18776   as_echo='print -r --'
   18777   as_echo_n='print -rn --'
   18778 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   18779   as_echo='printf %s\n'
   18780   as_echo_n='printf %s'
   18781 else
   18782   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   18783     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   18784     as_echo_n='/usr/ucb/echo -n'
   18785   else
   18786     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   18787     as_echo_n_body='eval
   18788       arg=$1;
   18789       case $arg in #(
   18790       *"$as_nl"*)
   18791 	expr "X$arg" : "X\\(.*\\)$as_nl";
   18792 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   18793       esac;
   18794       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   18795     '
   18796     export as_echo_n_body
   18797     as_echo_n='sh -c $as_echo_n_body as_echo'
   18798   fi
   18799   export as_echo_body
   18800   as_echo='sh -c $as_echo_body as_echo'
   18801 fi
   18802 
   18803 # The user is always right.
   18804 if test "${PATH_SEPARATOR+set}" != set; then
   18805   PATH_SEPARATOR=:
   18806   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   18807     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   18808       PATH_SEPARATOR=';'
   18809   }
   18810 fi
   18811 
   18812 
   18813 # IFS
   18814 # We need space, tab and new line, in precisely that order.  Quoting is
   18815 # there to prevent editors from complaining about space-tab.
   18816 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   18817 # splitting by setting IFS to empty value.)
   18818 IFS=" ""	$as_nl"
   18819 
   18820 # Find who we are.  Look in the path if we contain no directory separator.
   18821 as_myself=
   18822 case $0 in #((
   18823   *[\\/]* ) as_myself=$0 ;;
   18824   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18825 for as_dir in $PATH
   18826 do
   18827   IFS=$as_save_IFS
   18828   test -z "$as_dir" && as_dir=.
   18829     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   18830   done
   18831 IFS=$as_save_IFS
   18832 
   18833      ;;
   18834 esac
   18835 # We did not find ourselves, most probably we were run as `sh COMMAND'
   18836 # in which case we are not to be found in the path.
   18837 if test "x$as_myself" = x; then
   18838   as_myself=$0
   18839 fi
   18840 if test ! -f "$as_myself"; then
   18841   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   18842   exit 1
   18843 fi
   18844 
   18845 # Unset variables that we do not need and which cause bugs (e.g. in
   18846 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   18847 # suppresses any "Segmentation fault" message there.  '((' could
   18848 # trigger a bug in pdksh 5.2.14.
   18849 for as_var in BASH_ENV ENV MAIL MAILPATH
   18850 do eval test x\${$as_var+set} = xset \
   18851   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   18852 done
   18853 PS1='$ '
   18854 PS2='> '
   18855 PS4='+ '
   18856 
   18857 # NLS nuisances.
   18858 LC_ALL=C
   18859 export LC_ALL
   18860 LANGUAGE=C
   18861 export LANGUAGE
   18862 
   18863 # CDPATH.
   18864 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18865 
   18866 
   18867 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   18868 # ----------------------------------------
   18869 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   18870 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   18871 # script with STATUS, using 1 if that was 0.
   18872 as_fn_error ()
   18873 {
   18874   as_status=$1; test $as_status -eq 0 && as_status=1
   18875   if test "$4"; then
   18876     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   18877     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   18878   fi
   18879   $as_echo "$as_me: error: $2" >&2
   18880   as_fn_exit $as_status
   18881 } # as_fn_error
   18882 
   18883 
   18884 # as_fn_set_status STATUS
   18885 # -----------------------
   18886 # Set $? to STATUS, without forking.
   18887 as_fn_set_status ()
   18888 {
   18889   return $1
   18890 } # as_fn_set_status
   18891 
   18892 # as_fn_exit STATUS
   18893 # -----------------
   18894 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   18895 as_fn_exit ()
   18896 {
   18897   set +e
   18898   as_fn_set_status $1
   18899   exit $1
   18900 } # as_fn_exit
   18901 
   18902 # as_fn_unset VAR
   18903 # ---------------
   18904 # Portably unset VAR.
   18905 as_fn_unset ()
   18906 {
   18907   { eval $1=; unset $1;}
   18908 }
   18909 as_unset=as_fn_unset
   18910 # as_fn_append VAR VALUE
   18911 # ----------------------
   18912 # Append the text in VALUE to the end of the definition contained in VAR. Take
   18913 # advantage of any shell optimizations that allow amortized linear growth over
   18914 # repeated appends, instead of the typical quadratic growth present in naive
   18915 # implementations.
   18916 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   18917   eval 'as_fn_append ()
   18918   {
   18919     eval $1+=\$2
   18920   }'
   18921 else
   18922   as_fn_append ()
   18923   {
   18924     eval $1=\$$1\$2
   18925   }
   18926 fi # as_fn_append
   18927 
   18928 # as_fn_arith ARG...
   18929 # ------------------
   18930 # Perform arithmetic evaluation on the ARGs, and store the result in the
   18931 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   18932 # must be portable across $(()) and expr.
   18933 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   18934   eval 'as_fn_arith ()
   18935   {
   18936     as_val=$(( $* ))
   18937   }'
   18938 else
   18939   as_fn_arith ()
   18940   {
   18941     as_val=`expr "$@" || test $? -eq 1`
   18942   }
   18943 fi # as_fn_arith
   18944 
   18945 
   18946 if expr a : '\(a\)' >/dev/null 2>&1 &&
   18947    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   18948   as_expr=expr
   18949 else
   18950   as_expr=false
   18951 fi
   18952 
   18953 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   18954   as_basename=basename
   18955 else
   18956   as_basename=false
   18957 fi
   18958 
   18959 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   18960   as_dirname=dirname
   18961 else
   18962   as_dirname=false
   18963 fi
   18964 
   18965 as_me=`$as_basename -- "$0" ||
   18966 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   18967 	 X"$0" : 'X\(//\)$' \| \
   18968 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   18969 $as_echo X/"$0" |
   18970     sed '/^.*\/\([^/][^/]*\)\/*$/{
   18971 	    s//\1/
   18972 	    q
   18973 	  }
   18974 	  /^X\/\(\/\/\)$/{
   18975 	    s//\1/
   18976 	    q
   18977 	  }
   18978 	  /^X\/\(\/\).*/{
   18979 	    s//\1/
   18980 	    q
   18981 	  }
   18982 	  s/.*/./; q'`
   18983 
   18984 # Avoid depending upon Character Ranges.
   18985 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   18986 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   18987 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   18988 as_cr_digits='0123456789'
   18989 as_cr_alnum=$as_cr_Letters$as_cr_digits
   18990 
   18991 ECHO_C= ECHO_N= ECHO_T=
   18992 case `echo -n x` in #(((((
   18993 -n*)
   18994   case `echo 'xy\c'` in
   18995   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   18996   xy)  ECHO_C='\c';;
   18997   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   18998        ECHO_T='	';;
   18999   esac;;
   19000 *)
   19001   ECHO_N='-n';;
   19002 esac
   19003 
   19004 rm -f conf$$ conf$$.exe conf$$.file
   19005 if test -d conf$$.dir; then
   19006   rm -f conf$$.dir/conf$$.file
   19007 else
   19008   rm -f conf$$.dir
   19009   mkdir conf$$.dir 2>/dev/null
   19010 fi
   19011 if (echo >conf$$.file) 2>/dev/null; then
   19012   if ln -s conf$$.file conf$$ 2>/dev/null; then
   19013     as_ln_s='ln -s'
   19014     # ... but there are two gotchas:
   19015     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   19016     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   19017     # In both cases, we have to default to `cp -pR'.
   19018     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   19019       as_ln_s='cp -pR'
   19020   elif ln conf$$.file conf$$ 2>/dev/null; then
   19021     as_ln_s=ln
   19022   else
   19023     as_ln_s='cp -pR'
   19024   fi
   19025 else
   19026   as_ln_s='cp -pR'
   19027 fi
   19028 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   19029 rmdir conf$$.dir 2>/dev/null
   19030 
   19031 
   19032 # as_fn_mkdir_p
   19033 # -------------
   19034 # Create "$as_dir" as a directory, including parents if necessary.
   19035 as_fn_mkdir_p ()
   19036 {
   19037 
   19038   case $as_dir in #(
   19039   -*) as_dir=./$as_dir;;
   19040   esac
   19041   test -d "$as_dir" || eval $as_mkdir_p || {
   19042     as_dirs=
   19043     while :; do
   19044       case $as_dir in #(
   19045       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   19046       *) as_qdir=$as_dir;;
   19047       esac
   19048       as_dirs="'$as_qdir' $as_dirs"
   19049       as_dir=`$as_dirname -- "$as_dir" ||
   19050 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19051 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   19052 	 X"$as_dir" : 'X\(//\)$' \| \
   19053 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   19054 $as_echo X"$as_dir" |
   19055     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19056 	    s//\1/
   19057 	    q
   19058 	  }
   19059 	  /^X\(\/\/\)[^/].*/{
   19060 	    s//\1/
   19061 	    q
   19062 	  }
   19063 	  /^X\(\/\/\)$/{
   19064 	    s//\1/
   19065 	    q
   19066 	  }
   19067 	  /^X\(\/\).*/{
   19068 	    s//\1/
   19069 	    q
   19070 	  }
   19071 	  s/.*/./; q'`
   19072       test -d "$as_dir" && break
   19073     done
   19074     test -z "$as_dirs" || eval "mkdir $as_dirs"
   19075   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   19076 
   19077 
   19078 } # as_fn_mkdir_p
   19079 if mkdir -p . 2>/dev/null; then
   19080   as_mkdir_p='mkdir -p "$as_dir"'
   19081 else
   19082   test -d ./-p && rmdir ./-p
   19083   as_mkdir_p=false
   19084 fi
   19085 
   19086 
   19087 # as_fn_executable_p FILE
   19088 # -----------------------
   19089 # Test if FILE is an executable regular file.
   19090 as_fn_executable_p ()
   19091 {
   19092   test -f "$1" && test -x "$1"
   19093 } # as_fn_executable_p
   19094 as_test_x='test -x'
   19095 as_executable_p=as_fn_executable_p
   19096 
   19097 # Sed expression to map a string onto a valid CPP name.
   19098 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   19099 
   19100 # Sed expression to map a string onto a valid variable name.
   19101 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   19102 
   19103 
   19104 exec 6>&1
   19105 ## ----------------------------------- ##
   19106 ## Main body of $CONFIG_STATUS script. ##
   19107 ## ----------------------------------- ##
   19108 _ASEOF
   19109 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   19110 
   19111 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19112 # Save the log message, to keep $0 and so on meaningful, and to
   19113 # report actual input values of CONFIG_FILES etc. instead of their
   19114 # values after options handling.
   19115 ac_log="
   19116 This file was extended by libXScrnSaver $as_me 1.2.3, which was
   19117 generated by GNU Autoconf 2.69.  Invocation command line was
   19118 
   19119   CONFIG_FILES    = $CONFIG_FILES
   19120   CONFIG_HEADERS  = $CONFIG_HEADERS
   19121   CONFIG_LINKS    = $CONFIG_LINKS
   19122   CONFIG_COMMANDS = $CONFIG_COMMANDS
   19123   $ $0 $@
   19124 
   19125 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   19126 "
   19127 
   19128 _ACEOF
   19129 
   19130 case $ac_config_files in *"
   19131 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   19132 esac
   19133 
   19134 case $ac_config_headers in *"
   19135 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   19136 esac
   19137 
   19138 
   19139 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19140 # Files that config.status was made for.
   19141 config_files="$ac_config_files"
   19142 config_headers="$ac_config_headers"
   19143 config_commands="$ac_config_commands"
   19144 
   19145 _ACEOF
   19146 
   19147 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19148 ac_cs_usage="\
   19149 \`$as_me' instantiates files and other configuration actions
   19150 from templates according to the current configuration.  Unless the files
   19151 and actions are specified as TAGs, all are instantiated by default.
   19152 
   19153 Usage: $0 [OPTION]... [TAG]...
   19154 
   19155   -h, --help       print this help, then exit
   19156   -V, --version    print version number and configuration settings, then exit
   19157       --config     print configuration, then exit
   19158   -q, --quiet, --silent
   19159                    do not print progress messages
   19160   -d, --debug      don't remove temporary files
   19161       --recheck    update $as_me by reconfiguring in the same conditions
   19162       --file=FILE[:TEMPLATE]
   19163                    instantiate the configuration file FILE
   19164       --header=FILE[:TEMPLATE]
   19165                    instantiate the configuration header FILE
   19166 
   19167 Configuration files:
   19168 $config_files
   19169 
   19170 Configuration headers:
   19171 $config_headers
   19172 
   19173 Configuration commands:
   19174 $config_commands
   19175 
   19176 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   19177 
   19178 _ACEOF
   19179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19180 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   19181 ac_cs_version="\\
   19182 libXScrnSaver config.status 1.2.3
   19183 configured by $0, generated by GNU Autoconf 2.69,
   19184   with options \\"\$ac_cs_config\\"
   19185 
   19186 Copyright (C) 2012 Free Software Foundation, Inc.
   19187 This config.status script is free software; the Free Software Foundation
   19188 gives unlimited permission to copy, distribute and modify it."
   19189 
   19190 ac_pwd='$ac_pwd'
   19191 srcdir='$srcdir'
   19192 INSTALL='$INSTALL'
   19193 MKDIR_P='$MKDIR_P'
   19194 AWK='$AWK'
   19195 test -n "\$AWK" || AWK=awk
   19196 _ACEOF
   19197 
   19198 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19199 # The default lists apply if the user does not specify any file.
   19200 ac_need_defaults=:
   19201 while test $# != 0
   19202 do
   19203   case $1 in
   19204   --*=?*)
   19205     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19206     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   19207     ac_shift=:
   19208     ;;
   19209   --*=)
   19210     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19211     ac_optarg=
   19212     ac_shift=:
   19213     ;;
   19214   *)
   19215     ac_option=$1
   19216     ac_optarg=$2
   19217     ac_shift=shift
   19218     ;;
   19219   esac
   19220 
   19221   case $ac_option in
   19222   # Handling of the options.
   19223   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   19224     ac_cs_recheck=: ;;
   19225   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   19226     $as_echo "$ac_cs_version"; exit ;;
   19227   --config | --confi | --conf | --con | --co | --c )
   19228     $as_echo "$ac_cs_config"; exit ;;
   19229   --debug | --debu | --deb | --de | --d | -d )
   19230     debug=: ;;
   19231   --file | --fil | --fi | --f )
   19232     $ac_shift
   19233     case $ac_optarg in
   19234     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19235     '') as_fn_error $? "missing file argument" ;;
   19236     esac
   19237     as_fn_append CONFIG_FILES " '$ac_optarg'"
   19238     ac_need_defaults=false;;
   19239   --header | --heade | --head | --hea )
   19240     $ac_shift
   19241     case $ac_optarg in
   19242     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19243     esac
   19244     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   19245     ac_need_defaults=false;;
   19246   --he | --h)
   19247     # Conflict between --help and --header
   19248     as_fn_error $? "ambiguous option: \`$1'
   19249 Try \`$0 --help' for more information.";;
   19250   --help | --hel | -h )
   19251     $as_echo "$ac_cs_usage"; exit ;;
   19252   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   19253   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   19254     ac_cs_silent=: ;;
   19255 
   19256   # This is an error.
   19257   -*) as_fn_error $? "unrecognized option: \`$1'
   19258 Try \`$0 --help' for more information." ;;
   19259 
   19260   *) as_fn_append ac_config_targets " $1"
   19261      ac_need_defaults=false ;;
   19262 
   19263   esac
   19264   shift
   19265 done
   19266 
   19267 ac_configure_extra_args=
   19268 
   19269 if $ac_cs_silent; then
   19270   exec 6>/dev/null
   19271   ac_configure_extra_args="$ac_configure_extra_args --silent"
   19272 fi
   19273 
   19274 _ACEOF
   19275 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19276 if \$ac_cs_recheck; then
   19277   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   19278   shift
   19279   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   19280   CONFIG_SHELL='$SHELL'
   19281   export CONFIG_SHELL
   19282   exec "\$@"
   19283 fi
   19284 
   19285 _ACEOF
   19286 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19287 exec 5>>config.log
   19288 {
   19289   echo
   19290   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   19291 ## Running $as_me. ##
   19292 _ASBOX
   19293   $as_echo "$ac_log"
   19294 } >&5
   19295 
   19296 _ACEOF
   19297 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19298 #
   19299 # INIT-COMMANDS
   19300 #
   19301 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   19302 
   19303 
   19304 # The HP-UX ksh and POSIX shell print the target directory to stdout
   19305 # if CDPATH is set.
   19306 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19307 
   19308 sed_quote_subst='$sed_quote_subst'
   19309 double_quote_subst='$double_quote_subst'
   19310 delay_variable_subst='$delay_variable_subst'
   19311 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   19312 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   19313 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   19314 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   19315 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   19316 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   19317 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   19318 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   19319 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   19320 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   19321 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   19322 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   19323 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   19324 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   19325 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   19326 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   19327 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   19328 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   19329 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   19330 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   19331 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   19332 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   19333 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   19334 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   19335 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   19336 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   19337 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   19338 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   19339 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   19340 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   19341 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   19342 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   19343 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   19344 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   19345 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   19346 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   19347 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   19348 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   19349 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   19350 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   19351 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   19352 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   19353 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   19354 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   19355 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   19356 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   19357 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19358 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19359 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   19360 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   19361 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   19362 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   19363 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   19364 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   19365 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   19366 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   19367 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   19368 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   19369 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"`'
   19370 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   19371 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   19372 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   19373 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   19374 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   19375 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   19376 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   19377 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   19378 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   19379 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   19380 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   19381 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   19382 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   19383 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   19384 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   19385 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   19386 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   19387 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   19388 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   19389 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   19390 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19391 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   19392 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   19393 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   19394 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   19395 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   19396 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   19397 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19398 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   19399 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19400 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   19401 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19402 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   19403 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19404 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19405 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   19406 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   19407 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   19408 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   19409 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   19410 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19411 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   19412 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   19413 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   19414 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   19415 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   19416 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   19417 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   19418 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   19419 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   19420 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   19421 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   19422 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   19423 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   19424 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   19425 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   19426 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19427 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   19428 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   19429 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   19430 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   19431 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   19432 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19433 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19434 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   19435 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   19436 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   19437 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   19438 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   19439 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   19440 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   19441 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   19442 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   19443 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   19444 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   19445 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   19446 
   19447 LTCC='$LTCC'
   19448 LTCFLAGS='$LTCFLAGS'
   19449 compiler='$compiler_DEFAULT'
   19450 
   19451 # A function that is used when there is no print builtin or printf.
   19452 func_fallback_echo ()
   19453 {
   19454   eval 'cat <<_LTECHO_EOF
   19455 \$1
   19456 _LTECHO_EOF'
   19457 }
   19458 
   19459 # Quote evaled strings.
   19460 for var in SHELL \
   19461 ECHO \
   19462 PATH_SEPARATOR \
   19463 SED \
   19464 GREP \
   19465 EGREP \
   19466 FGREP \
   19467 LD \
   19468 NM \
   19469 LN_S \
   19470 lt_SP2NL \
   19471 lt_NL2SP \
   19472 reload_flag \
   19473 OBJDUMP \
   19474 deplibs_check_method \
   19475 file_magic_cmd \
   19476 file_magic_glob \
   19477 want_nocaseglob \
   19478 DLLTOOL \
   19479 sharedlib_from_linklib_cmd \
   19480 AR \
   19481 AR_FLAGS \
   19482 archiver_list_spec \
   19483 STRIP \
   19484 RANLIB \
   19485 CC \
   19486 CFLAGS \
   19487 compiler \
   19488 lt_cv_sys_global_symbol_pipe \
   19489 lt_cv_sys_global_symbol_to_cdecl \
   19490 lt_cv_sys_global_symbol_to_import \
   19491 lt_cv_sys_global_symbol_to_c_name_address \
   19492 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   19493 lt_cv_nm_interface \
   19494 nm_file_list_spec \
   19495 lt_cv_truncate_bin \
   19496 lt_prog_compiler_no_builtin_flag \
   19497 lt_prog_compiler_pic \
   19498 lt_prog_compiler_wl \
   19499 lt_prog_compiler_static \
   19500 lt_cv_prog_compiler_c_o \
   19501 need_locks \
   19502 MANIFEST_TOOL \
   19503 DSYMUTIL \
   19504 NMEDIT \
   19505 LIPO \
   19506 OTOOL \
   19507 OTOOL64 \
   19508 shrext_cmds \
   19509 export_dynamic_flag_spec \
   19510 whole_archive_flag_spec \
   19511 compiler_needs_object \
   19512 with_gnu_ld \
   19513 allow_undefined_flag \
   19514 no_undefined_flag \
   19515 hardcode_libdir_flag_spec \
   19516 hardcode_libdir_separator \
   19517 exclude_expsyms \
   19518 include_expsyms \
   19519 file_list_spec \
   19520 variables_saved_for_relink \
   19521 libname_spec \
   19522 library_names_spec \
   19523 soname_spec \
   19524 install_override_mode \
   19525 finish_eval \
   19526 old_striplib \
   19527 striplib; do
   19528     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19529     *[\\\\\\\`\\"\\\$]*)
   19530       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   19531       ;;
   19532     *)
   19533       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19534       ;;
   19535     esac
   19536 done
   19537 
   19538 # Double-quote double-evaled strings.
   19539 for var in reload_cmds \
   19540 old_postinstall_cmds \
   19541 old_postuninstall_cmds \
   19542 old_archive_cmds \
   19543 extract_expsyms_cmds \
   19544 old_archive_from_new_cmds \
   19545 old_archive_from_expsyms_cmds \
   19546 archive_cmds \
   19547 archive_expsym_cmds \
   19548 module_cmds \
   19549 module_expsym_cmds \
   19550 export_symbols_cmds \
   19551 prelink_cmds \
   19552 postlink_cmds \
   19553 postinstall_cmds \
   19554 postuninstall_cmds \
   19555 finish_cmds \
   19556 sys_lib_search_path_spec \
   19557 configure_time_dlsearch_path \
   19558 configure_time_lt_sys_library_path; do
   19559     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19560     *[\\\\\\\`\\"\\\$]*)
   19561       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   19562       ;;
   19563     *)
   19564       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19565       ;;
   19566     esac
   19567 done
   19568 
   19569 ac_aux_dir='$ac_aux_dir'
   19570 
   19571 # See if we are running on zsh, and set the options that allow our
   19572 # commands through without removal of \ escapes INIT.
   19573 if test -n "\${ZSH_VERSION+set}"; then
   19574    setopt NO_GLOB_SUBST
   19575 fi
   19576 
   19577 
   19578     PACKAGE='$PACKAGE'
   19579     VERSION='$VERSION'
   19580     RM='$RM'
   19581     ofile='$ofile'
   19582 
   19583 
   19584 
   19585 
   19586 _ACEOF
   19587 
   19588 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19589 
   19590 # Handling of arguments.
   19591 for ac_config_target in $ac_config_targets
   19592 do
   19593   case $ac_config_target in
   19594     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   19595     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   19596     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   19597     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   19598     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   19599     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   19600     "xscrnsaver.pc") CONFIG_FILES="$CONFIG_FILES xscrnsaver.pc" ;;
   19601 
   19602   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   19603   esac
   19604 done
   19605 
   19606 
   19607 # If the user did not use the arguments to specify the items to instantiate,
   19608 # then the envvar interface is used.  Set only those that are not.
   19609 # We use the long form for the default assignment because of an extremely
   19610 # bizarre bug on SunOS 4.1.3.
   19611 if $ac_need_defaults; then
   19612   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   19613   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   19614   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   19615 fi
   19616 
   19617 # Have a temporary directory for convenience.  Make it in the build tree
   19618 # simply because there is no reason against having it here, and in addition,
   19619 # creating and moving files from /tmp can sometimes cause problems.
   19620 # Hook for its removal unless debugging.
   19621 # Note that there is a small window in which the directory will not be cleaned:
   19622 # after its creation but before its name has been assigned to `$tmp'.
   19623 $debug ||
   19624 {
   19625   tmp= ac_tmp=
   19626   trap 'exit_status=$?
   19627   : "${ac_tmp:=$tmp}"
   19628   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   19629 ' 0
   19630   trap 'as_fn_exit 1' 1 2 13 15
   19631 }
   19632 # Create a (secure) tmp directory for tmp files.
   19633 
   19634 {
   19635   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   19636   test -d "$tmp"
   19637 }  ||
   19638 {
   19639   tmp=./conf$$-$RANDOM
   19640   (umask 077 && mkdir "$tmp")
   19641 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   19642 ac_tmp=$tmp
   19643 
   19644 # Set up the scripts for CONFIG_FILES section.
   19645 # No need to generate them if there are no CONFIG_FILES.
   19646 # This happens for instance with `./config.status config.h'.
   19647 if test -n "$CONFIG_FILES"; then
   19648 
   19649 
   19650 ac_cr=`echo X | tr X '\015'`
   19651 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   19652 # But we know of no other shell where ac_cr would be empty at this
   19653 # point, so we can use a bashism as a fallback.
   19654 if test "x$ac_cr" = x; then
   19655   eval ac_cr=\$\'\\r\'
   19656 fi
   19657 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   19658 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   19659   ac_cs_awk_cr='\\r'
   19660 else
   19661   ac_cs_awk_cr=$ac_cr
   19662 fi
   19663 
   19664 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   19665 _ACEOF
   19666 
   19667 
   19668 {
   19669   echo "cat >conf$$subs.awk <<_ACEOF" &&
   19670   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   19671   echo "_ACEOF"
   19672 } >conf$$subs.sh ||
   19673   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19674 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   19675 ac_delim='%!_!# '
   19676 for ac_last_try in false false false false false :; do
   19677   . ./conf$$subs.sh ||
   19678     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19679 
   19680   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   19681   if test $ac_delim_n = $ac_delim_num; then
   19682     break
   19683   elif $ac_last_try; then
   19684     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19685   else
   19686     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19687   fi
   19688 done
   19689 rm -f conf$$subs.sh
   19690 
   19691 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19692 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   19693 _ACEOF
   19694 sed -n '
   19695 h
   19696 s/^/S["/; s/!.*/"]=/
   19697 p
   19698 g
   19699 s/^[^!]*!//
   19700 :repl
   19701 t repl
   19702 s/'"$ac_delim"'$//
   19703 t delim
   19704 :nl
   19705 h
   19706 s/\(.\{148\}\)..*/\1/
   19707 t more1
   19708 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   19709 p
   19710 n
   19711 b repl
   19712 :more1
   19713 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19714 p
   19715 g
   19716 s/.\{148\}//
   19717 t nl
   19718 :delim
   19719 h
   19720 s/\(.\{148\}\)..*/\1/
   19721 t more2
   19722 s/["\\]/\\&/g; s/^/"/; s/$/"/
   19723 p
   19724 b
   19725 :more2
   19726 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19727 p
   19728 g
   19729 s/.\{148\}//
   19730 t delim
   19731 ' <conf$$subs.awk | sed '
   19732 /^[^""]/{
   19733   N
   19734   s/\n//
   19735 }
   19736 ' >>$CONFIG_STATUS || ac_write_fail=1
   19737 rm -f conf$$subs.awk
   19738 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19739 _ACAWK
   19740 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   19741   for (key in S) S_is_set[key] = 1
   19742   FS = ""
   19743 
   19744 }
   19745 {
   19746   line = $ 0
   19747   nfields = split(line, field, "@")
   19748   substed = 0
   19749   len = length(field[1])
   19750   for (i = 2; i < nfields; i++) {
   19751     key = field[i]
   19752     keylen = length(key)
   19753     if (S_is_set[key]) {
   19754       value = S[key]
   19755       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   19756       len += length(value) + length(field[++i])
   19757       substed = 1
   19758     } else
   19759       len += 1 + keylen
   19760   }
   19761 
   19762   print line
   19763 }
   19764 
   19765 _ACAWK
   19766 _ACEOF
   19767 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19768 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   19769   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   19770 else
   19771   cat
   19772 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   19773   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   19774 _ACEOF
   19775 
   19776 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   19777 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   19778 # trailing colons and then remove the whole line if VPATH becomes empty
   19779 # (actually we leave an empty line to preserve line numbers).
   19780 if test "x$srcdir" = x.; then
   19781   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   19782 h
   19783 s///
   19784 s/^/:/
   19785 s/[	 ]*$/:/
   19786 s/:\$(srcdir):/:/g
   19787 s/:\${srcdir}:/:/g
   19788 s/:@srcdir@:/:/g
   19789 s/^:*//
   19790 s/:*$//
   19791 x
   19792 s/\(=[	 ]*\).*/\1/
   19793 G
   19794 s/\n//
   19795 s/^[^=]*=[	 ]*$//
   19796 }'
   19797 fi
   19798 
   19799 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19800 fi # test -n "$CONFIG_FILES"
   19801 
   19802 # Set up the scripts for CONFIG_HEADERS section.
   19803 # No need to generate them if there are no CONFIG_HEADERS.
   19804 # This happens for instance with `./config.status Makefile'.
   19805 if test -n "$CONFIG_HEADERS"; then
   19806 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   19807 BEGIN {
   19808 _ACEOF
   19809 
   19810 # Transform confdefs.h into an awk script `defines.awk', embedded as
   19811 # here-document in config.status, that substitutes the proper values into
   19812 # config.h.in to produce config.h.
   19813 
   19814 # Create a delimiter string that does not exist in confdefs.h, to ease
   19815 # handling of long lines.
   19816 ac_delim='%!_!# '
   19817 for ac_last_try in false false :; do
   19818   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   19819   if test -z "$ac_tt"; then
   19820     break
   19821   elif $ac_last_try; then
   19822     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   19823   else
   19824     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19825   fi
   19826 done
   19827 
   19828 # For the awk script, D is an array of macro values keyed by name,
   19829 # likewise P contains macro parameters if any.  Preserve backslash
   19830 # newline sequences.
   19831 
   19832 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   19833 sed -n '
   19834 s/.\{148\}/&'"$ac_delim"'/g
   19835 t rset
   19836 :rset
   19837 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   19838 t def
   19839 d
   19840 :def
   19841 s/\\$//
   19842 t bsnl
   19843 s/["\\]/\\&/g
   19844 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19845 D["\1"]=" \3"/p
   19846 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   19847 d
   19848 :bsnl
   19849 s/["\\]/\\&/g
   19850 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19851 D["\1"]=" \3\\\\\\n"\\/p
   19852 t cont
   19853 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   19854 t cont
   19855 d
   19856 :cont
   19857 n
   19858 s/.\{148\}/&'"$ac_delim"'/g
   19859 t clear
   19860 :clear
   19861 s/\\$//
   19862 t bsnlc
   19863 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   19864 d
   19865 :bsnlc
   19866 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   19867 b cont
   19868 ' <confdefs.h | sed '
   19869 s/'"$ac_delim"'/"\\\
   19870 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   19871 
   19872 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19873   for (key in D) D_is_set[key] = 1
   19874   FS = ""
   19875 }
   19876 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   19877   line = \$ 0
   19878   split(line, arg, " ")
   19879   if (arg[1] == "#") {
   19880     defundef = arg[2]
   19881     mac1 = arg[3]
   19882   } else {
   19883     defundef = substr(arg[1], 2)
   19884     mac1 = arg[2]
   19885   }
   19886   split(mac1, mac2, "(") #)
   19887   macro = mac2[1]
   19888   prefix = substr(line, 1, index(line, defundef) - 1)
   19889   if (D_is_set[macro]) {
   19890     # Preserve the white space surrounding the "#".
   19891     print prefix "define", macro P[macro] D[macro]
   19892     next
   19893   } else {
   19894     # Replace #undef with comments.  This is necessary, for example,
   19895     # in the case of _POSIX_SOURCE, which is predefined and required
   19896     # on some systems where configure will not decide to define it.
   19897     if (defundef == "undef") {
   19898       print "/*", prefix defundef, macro, "*/"
   19899       next
   19900     }
   19901   }
   19902 }
   19903 { print }
   19904 _ACAWK
   19905 _ACEOF
   19906 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19907   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   19908 fi # test -n "$CONFIG_HEADERS"
   19909 
   19910 
   19911 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   19912 shift
   19913 for ac_tag
   19914 do
   19915   case $ac_tag in
   19916   :[FHLC]) ac_mode=$ac_tag; continue;;
   19917   esac
   19918   case $ac_mode$ac_tag in
   19919   :[FHL]*:*);;
   19920   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   19921   :[FH]-) ac_tag=-:-;;
   19922   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   19923   esac
   19924   ac_save_IFS=$IFS
   19925   IFS=:
   19926   set x $ac_tag
   19927   IFS=$ac_save_IFS
   19928   shift
   19929   ac_file=$1
   19930   shift
   19931 
   19932   case $ac_mode in
   19933   :L) ac_source=$1;;
   19934   :[FH])
   19935     ac_file_inputs=
   19936     for ac_f
   19937     do
   19938       case $ac_f in
   19939       -) ac_f="$ac_tmp/stdin";;
   19940       *) # Look for the file first in the build tree, then in the source tree
   19941 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   19942 	 # because $ac_f cannot contain `:'.
   19943 	 test -f "$ac_f" ||
   19944 	   case $ac_f in
   19945 	   [\\/$]*) false;;
   19946 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   19947 	   esac ||
   19948 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   19949       esac
   19950       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   19951       as_fn_append ac_file_inputs " '$ac_f'"
   19952     done
   19953 
   19954     # Let's still pretend it is `configure' which instantiates (i.e., don't
   19955     # use $as_me), people would be surprised to read:
   19956     #    /* config.h.  Generated by config.status.  */
   19957     configure_input='Generated from '`
   19958 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   19959 	`' by configure.'
   19960     if test x"$ac_file" != x-; then
   19961       configure_input="$ac_file.  $configure_input"
   19962       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   19963 $as_echo "$as_me: creating $ac_file" >&6;}
   19964     fi
   19965     # Neutralize special characters interpreted by sed in replacement strings.
   19966     case $configure_input in #(
   19967     *\&* | *\|* | *\\* )
   19968        ac_sed_conf_input=`$as_echo "$configure_input" |
   19969        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   19970     *) ac_sed_conf_input=$configure_input;;
   19971     esac
   19972 
   19973     case $ac_tag in
   19974     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   19975       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   19976     esac
   19977     ;;
   19978   esac
   19979 
   19980   ac_dir=`$as_dirname -- "$ac_file" ||
   19981 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19982 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   19983 	 X"$ac_file" : 'X\(//\)$' \| \
   19984 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   19985 $as_echo X"$ac_file" |
   19986     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19987 	    s//\1/
   19988 	    q
   19989 	  }
   19990 	  /^X\(\/\/\)[^/].*/{
   19991 	    s//\1/
   19992 	    q
   19993 	  }
   19994 	  /^X\(\/\/\)$/{
   19995 	    s//\1/
   19996 	    q
   19997 	  }
   19998 	  /^X\(\/\).*/{
   19999 	    s//\1/
   20000 	    q
   20001 	  }
   20002 	  s/.*/./; q'`
   20003   as_dir="$ac_dir"; as_fn_mkdir_p
   20004   ac_builddir=.
   20005 
   20006 case "$ac_dir" in
   20007 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20008 *)
   20009   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   20010   # A ".." for each directory in $ac_dir_suffix.
   20011   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   20012   case $ac_top_builddir_sub in
   20013   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20014   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   20015   esac ;;
   20016 esac
   20017 ac_abs_top_builddir=$ac_pwd
   20018 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   20019 # for backward compatibility:
   20020 ac_top_builddir=$ac_top_build_prefix
   20021 
   20022 case $srcdir in
   20023   .)  # We are building in place.
   20024     ac_srcdir=.
   20025     ac_top_srcdir=$ac_top_builddir_sub
   20026     ac_abs_top_srcdir=$ac_pwd ;;
   20027   [\\/]* | ?:[\\/]* )  # Absolute name.
   20028     ac_srcdir=$srcdir$ac_dir_suffix;
   20029     ac_top_srcdir=$srcdir
   20030     ac_abs_top_srcdir=$srcdir ;;
   20031   *) # Relative name.
   20032     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   20033     ac_top_srcdir=$ac_top_build_prefix$srcdir
   20034     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   20035 esac
   20036 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   20037 
   20038 
   20039   case $ac_mode in
   20040   :F)
   20041   #
   20042   # CONFIG_FILE
   20043   #
   20044 
   20045   case $INSTALL in
   20046   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   20047   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   20048   esac
   20049   ac_MKDIR_P=$MKDIR_P
   20050   case $MKDIR_P in
   20051   [\\/$]* | ?:[\\/]* ) ;;
   20052   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   20053   esac
   20054 _ACEOF
   20055 
   20056 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20057 # If the template does not know about datarootdir, expand it.
   20058 # FIXME: This hack should be removed a few years after 2.60.
   20059 ac_datarootdir_hack=; ac_datarootdir_seen=
   20060 ac_sed_dataroot='
   20061 /datarootdir/ {
   20062   p
   20063   q
   20064 }
   20065 /@datadir@/p
   20066 /@docdir@/p
   20067 /@infodir@/p
   20068 /@localedir@/p
   20069 /@mandir@/p'
   20070 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   20071 *datarootdir*) ac_datarootdir_seen=yes;;
   20072 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   20073   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   20074 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   20075 _ACEOF
   20076 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20077   ac_datarootdir_hack='
   20078   s&@datadir@&$datadir&g
   20079   s&@docdir@&$docdir&g
   20080   s&@infodir@&$infodir&g
   20081   s&@localedir@&$localedir&g
   20082   s&@mandir@&$mandir&g
   20083   s&\\\${datarootdir}&$datarootdir&g' ;;
   20084 esac
   20085 _ACEOF
   20086 
   20087 # Neutralize VPATH when `$srcdir' = `.'.
   20088 # Shell code in configure.ac might set extrasub.
   20089 # FIXME: do we really want to maintain this feature?
   20090 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20091 ac_sed_extra="$ac_vpsub
   20092 $extrasub
   20093 _ACEOF
   20094 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20095 :t
   20096 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   20097 s|@configure_input@|$ac_sed_conf_input|;t t
   20098 s&@top_builddir@&$ac_top_builddir_sub&;t t
   20099 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   20100 s&@srcdir@&$ac_srcdir&;t t
   20101 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   20102 s&@top_srcdir@&$ac_top_srcdir&;t t
   20103 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   20104 s&@builddir@&$ac_builddir&;t t
   20105 s&@abs_builddir@&$ac_abs_builddir&;t t
   20106 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   20107 s&@INSTALL@&$ac_INSTALL&;t t
   20108 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   20109 $ac_datarootdir_hack
   20110 "
   20111 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   20112   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20113 
   20114 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   20115   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   20116   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   20117       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   20118   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20119 which seems to be undefined.  Please make sure it is defined" >&5
   20120 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20121 which seems to be undefined.  Please make sure it is defined" >&2;}
   20122 
   20123   rm -f "$ac_tmp/stdin"
   20124   case $ac_file in
   20125   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   20126   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   20127   esac \
   20128   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20129  ;;
   20130   :H)
   20131   #
   20132   # CONFIG_HEADER
   20133   #
   20134   if test x"$ac_file" != x-; then
   20135     {
   20136       $as_echo "/* $configure_input  */" \
   20137       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   20138     } >"$ac_tmp/config.h" \
   20139       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20140     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   20141       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   20142 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   20143     else
   20144       rm -f "$ac_file"
   20145       mv "$ac_tmp/config.h" "$ac_file" \
   20146 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20147     fi
   20148   else
   20149     $as_echo "/* $configure_input  */" \
   20150       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   20151       || as_fn_error $? "could not create -" "$LINENO" 5
   20152   fi
   20153 # Compute "$ac_file"'s index in $config_headers.
   20154 _am_arg="$ac_file"
   20155 _am_stamp_count=1
   20156 for _am_header in $config_headers :; do
   20157   case $_am_header in
   20158     $_am_arg | $_am_arg:* )
   20159       break ;;
   20160     * )
   20161       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   20162   esac
   20163 done
   20164 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   20165 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20166 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   20167 	 X"$_am_arg" : 'X\(//\)$' \| \
   20168 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   20169 $as_echo X"$_am_arg" |
   20170     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20171 	    s//\1/
   20172 	    q
   20173 	  }
   20174 	  /^X\(\/\/\)[^/].*/{
   20175 	    s//\1/
   20176 	    q
   20177 	  }
   20178 	  /^X\(\/\/\)$/{
   20179 	    s//\1/
   20180 	    q
   20181 	  }
   20182 	  /^X\(\/\).*/{
   20183 	    s//\1/
   20184 	    q
   20185 	  }
   20186 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   20187  ;;
   20188 
   20189   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   20190 $as_echo "$as_me: executing $ac_file commands" >&6;}
   20191  ;;
   20192   esac
   20193 
   20194 
   20195   case $ac_file$ac_mode in
   20196     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   20197   # Older Autoconf quotes --file arguments for eval, but not when files
   20198   # are listed without --file.  Let's play safe and only enable the eval
   20199   # if we detect the quoting.
   20200   case $CONFIG_FILES in
   20201   *\'*) eval set x "$CONFIG_FILES" ;;
   20202   *)   set x $CONFIG_FILES ;;
   20203   esac
   20204   shift
   20205   for mf
   20206   do
   20207     # Strip MF so we end up with the name of the file.
   20208     mf=`echo "$mf" | sed -e 's/:.*$//'`
   20209     # Check whether this is an Automake generated Makefile or not.
   20210     # We used to match only the files named 'Makefile.in', but
   20211     # some people rename them; so instead we look at the file content.
   20212     # Grep'ing the first line is not enough: some people post-process
   20213     # each Makefile.in and add a new line on top of each file to say so.
   20214     # Grep'ing the whole file is not good either: AIX grep has a line
   20215     # limit of 2048, but all sed's we know have understand at least 4000.
   20216     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   20217       dirpart=`$as_dirname -- "$mf" ||
   20218 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20219 	 X"$mf" : 'X\(//\)[^/]' \| \
   20220 	 X"$mf" : 'X\(//\)$' \| \
   20221 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   20222 $as_echo X"$mf" |
   20223     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20224 	    s//\1/
   20225 	    q
   20226 	  }
   20227 	  /^X\(\/\/\)[^/].*/{
   20228 	    s//\1/
   20229 	    q
   20230 	  }
   20231 	  /^X\(\/\/\)$/{
   20232 	    s//\1/
   20233 	    q
   20234 	  }
   20235 	  /^X\(\/\).*/{
   20236 	    s//\1/
   20237 	    q
   20238 	  }
   20239 	  s/.*/./; q'`
   20240     else
   20241       continue
   20242     fi
   20243     # Extract the definition of DEPDIR, am__include, and am__quote
   20244     # from the Makefile without running 'make'.
   20245     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   20246     test -z "$DEPDIR" && continue
   20247     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   20248     test -z "$am__include" && continue
   20249     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   20250     # Find all dependency output files, they are included files with
   20251     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   20252     # simplest approach to changing $(DEPDIR) to its actual value in the
   20253     # expansion.
   20254     for file in `sed -n "
   20255       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   20256 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   20257       # Make sure the directory exists.
   20258       test -f "$dirpart/$file" && continue
   20259       fdir=`$as_dirname -- "$file" ||
   20260 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20261 	 X"$file" : 'X\(//\)[^/]' \| \
   20262 	 X"$file" : 'X\(//\)$' \| \
   20263 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   20264 $as_echo X"$file" |
   20265     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20266 	    s//\1/
   20267 	    q
   20268 	  }
   20269 	  /^X\(\/\/\)[^/].*/{
   20270 	    s//\1/
   20271 	    q
   20272 	  }
   20273 	  /^X\(\/\/\)$/{
   20274 	    s//\1/
   20275 	    q
   20276 	  }
   20277 	  /^X\(\/\).*/{
   20278 	    s//\1/
   20279 	    q
   20280 	  }
   20281 	  s/.*/./; q'`
   20282       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   20283       # echo "creating $dirpart/$file"
   20284       echo '# dummy' > "$dirpart/$file"
   20285     done
   20286   done
   20287 }
   20288  ;;
   20289     "libtool":C)
   20290 
   20291     # See if we are running on zsh, and set the options that allow our
   20292     # commands through without removal of \ escapes.
   20293     if test -n "${ZSH_VERSION+set}"; then
   20294       setopt NO_GLOB_SUBST
   20295     fi
   20296 
   20297     cfgfile=${ofile}T
   20298     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   20299     $RM "$cfgfile"
   20300 
   20301     cat <<_LT_EOF >> "$cfgfile"
   20302 #! $SHELL
   20303 # Generated automatically by $as_me ($PACKAGE) $VERSION
   20304 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   20305 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   20306 
   20307 # Provide generalized library-building support services.
   20308 # Written by Gordon Matzigkeit, 1996
   20309 
   20310 # Copyright (C) 2014 Free Software Foundation, Inc.
   20311 # This is free software; see the source for copying conditions.  There is NO
   20312 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   20313 
   20314 # GNU Libtool is free software; you can redistribute it and/or modify
   20315 # it under the terms of the GNU General Public License as published by
   20316 # the Free Software Foundation; either version 2 of of the License, or
   20317 # (at your option) any later version.
   20318 #
   20319 # As a special exception to the GNU General Public License, if you
   20320 # distribute this file as part of a program or library that is built
   20321 # using GNU Libtool, you may include this file under the  same
   20322 # distribution terms that you use for the rest of that program.
   20323 #
   20324 # GNU Libtool is distributed in the hope that it will be useful, but
   20325 # WITHOUT ANY WARRANTY; without even the implied warranty of
   20326 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   20327 # GNU General Public License for more details.
   20328 #
   20329 # You should have received a copy of the GNU General Public License
   20330 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   20331 
   20332 
   20333 # The names of the tagged configurations supported by this script.
   20334 available_tags=''
   20335 
   20336 # Configured defaults for sys_lib_dlsearch_path munging.
   20337 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   20338 
   20339 # ### BEGIN LIBTOOL CONFIG
   20340 
   20341 # Which release of libtool.m4 was used?
   20342 macro_version=$macro_version
   20343 macro_revision=$macro_revision
   20344 
   20345 # Whether or not to build shared libraries.
   20346 build_libtool_libs=$enable_shared
   20347 
   20348 # Whether or not to build static libraries.
   20349 build_old_libs=$enable_static
   20350 
   20351 # What type of objects to build.
   20352 pic_mode=$pic_mode
   20353 
   20354 # Whether or not to optimize for fast installation.
   20355 fast_install=$enable_fast_install
   20356 
   20357 # Shared archive member basename,for filename based shared library versioning on AIX.
   20358 shared_archive_member_spec=$shared_archive_member_spec
   20359 
   20360 # Shell to use when invoking shell scripts.
   20361 SHELL=$lt_SHELL
   20362 
   20363 # An echo program that protects backslashes.
   20364 ECHO=$lt_ECHO
   20365 
   20366 # The PATH separator for the build system.
   20367 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   20368 
   20369 # The host system.
   20370 host_alias=$host_alias
   20371 host=$host
   20372 host_os=$host_os
   20373 
   20374 # The build system.
   20375 build_alias=$build_alias
   20376 build=$build
   20377 build_os=$build_os
   20378 
   20379 # A sed program that does not truncate output.
   20380 SED=$lt_SED
   20381 
   20382 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   20383 Xsed="\$SED -e 1s/^X//"
   20384 
   20385 # A grep program that handles long lines.
   20386 GREP=$lt_GREP
   20387 
   20388 # An ERE matcher.
   20389 EGREP=$lt_EGREP
   20390 
   20391 # A literal string matcher.
   20392 FGREP=$lt_FGREP
   20393 
   20394 # A BSD- or MS-compatible name lister.
   20395 NM=$lt_NM
   20396 
   20397 # Whether we need soft or hard links.
   20398 LN_S=$lt_LN_S
   20399 
   20400 # What is the maximum length of a command?
   20401 max_cmd_len=$max_cmd_len
   20402 
   20403 # Object file suffix (normally "o").
   20404 objext=$ac_objext
   20405 
   20406 # Executable file suffix (normally "").
   20407 exeext=$exeext
   20408 
   20409 # whether the shell understands "unset".
   20410 lt_unset=$lt_unset
   20411 
   20412 # turn spaces into newlines.
   20413 SP2NL=$lt_lt_SP2NL
   20414 
   20415 # turn newlines into spaces.
   20416 NL2SP=$lt_lt_NL2SP
   20417 
   20418 # convert \$build file names to \$host format.
   20419 to_host_file_cmd=$lt_cv_to_host_file_cmd
   20420 
   20421 # convert \$build files to toolchain format.
   20422 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   20423 
   20424 # An object symbol dumper.
   20425 OBJDUMP=$lt_OBJDUMP
   20426 
   20427 # Method to check whether dependent libraries are shared objects.
   20428 deplibs_check_method=$lt_deplibs_check_method
   20429 
   20430 # Command to use when deplibs_check_method = "file_magic".
   20431 file_magic_cmd=$lt_file_magic_cmd
   20432 
   20433 # How to find potential files when deplibs_check_method = "file_magic".
   20434 file_magic_glob=$lt_file_magic_glob
   20435 
   20436 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   20437 want_nocaseglob=$lt_want_nocaseglob
   20438 
   20439 # DLL creation program.
   20440 DLLTOOL=$lt_DLLTOOL
   20441 
   20442 # Command to associate shared and link libraries.
   20443 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   20444 
   20445 # The archiver.
   20446 AR=$lt_AR
   20447 
   20448 # Flags to create an archive.
   20449 AR_FLAGS=$lt_AR_FLAGS
   20450 
   20451 # How to feed a file listing to the archiver.
   20452 archiver_list_spec=$lt_archiver_list_spec
   20453 
   20454 # A symbol stripping program.
   20455 STRIP=$lt_STRIP
   20456 
   20457 # Commands used to install an old-style archive.
   20458 RANLIB=$lt_RANLIB
   20459 old_postinstall_cmds=$lt_old_postinstall_cmds
   20460 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   20461 
   20462 # Whether to use a lock for old archive extraction.
   20463 lock_old_archive_extraction=$lock_old_archive_extraction
   20464 
   20465 # A C compiler.
   20466 LTCC=$lt_CC
   20467 
   20468 # LTCC compiler flags.
   20469 LTCFLAGS=$lt_CFLAGS
   20470 
   20471 # Take the output of nm and produce a listing of raw symbols and C names.
   20472 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   20473 
   20474 # Transform the output of nm in a proper C declaration.
   20475 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   20476 
   20477 # Transform the output of nm into a list of symbols to manually relocate.
   20478 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   20479 
   20480 # Transform the output of nm in a C name address pair.
   20481 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   20482 
   20483 # Transform the output of nm in a C name address pair when lib prefix is needed.
   20484 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   20485 
   20486 # The name lister interface.
   20487 nm_interface=$lt_lt_cv_nm_interface
   20488 
   20489 # Specify filename containing input files for \$NM.
   20490 nm_file_list_spec=$lt_nm_file_list_spec
   20491 
   20492 # The root where to search for dependent libraries,and where our libraries should be installed.
   20493 lt_sysroot=$lt_sysroot
   20494 
   20495 # Command to truncate a binary pipe.
   20496 lt_truncate_bin=$lt_lt_cv_truncate_bin
   20497 
   20498 # The name of the directory that contains temporary libtool files.
   20499 objdir=$objdir
   20500 
   20501 # Used to examine libraries when file_magic_cmd begins with "file".
   20502 MAGIC_CMD=$MAGIC_CMD
   20503 
   20504 # Must we lock files when doing compilation?
   20505 need_locks=$lt_need_locks
   20506 
   20507 # Manifest tool.
   20508 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   20509 
   20510 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   20511 DSYMUTIL=$lt_DSYMUTIL
   20512 
   20513 # Tool to change global to local symbols on Mac OS X.
   20514 NMEDIT=$lt_NMEDIT
   20515 
   20516 # Tool to manipulate fat objects and archives on Mac OS X.
   20517 LIPO=$lt_LIPO
   20518 
   20519 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   20520 OTOOL=$lt_OTOOL
   20521 
   20522 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   20523 OTOOL64=$lt_OTOOL64
   20524 
   20525 # Old archive suffix (normally "a").
   20526 libext=$libext
   20527 
   20528 # Shared library suffix (normally ".so").
   20529 shrext_cmds=$lt_shrext_cmds
   20530 
   20531 # The commands to extract the exported symbol list from a shared archive.
   20532 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   20533 
   20534 # Variables whose values should be saved in libtool wrapper scripts and
   20535 # restored at link time.
   20536 variables_saved_for_relink=$lt_variables_saved_for_relink
   20537 
   20538 # Do we need the "lib" prefix for modules?
   20539 need_lib_prefix=$need_lib_prefix
   20540 
   20541 # Do we need a version for libraries?
   20542 need_version=$need_version
   20543 
   20544 # Library versioning type.
   20545 version_type=$version_type
   20546 
   20547 # Shared library runtime path variable.
   20548 runpath_var=$runpath_var
   20549 
   20550 # Shared library path variable.
   20551 shlibpath_var=$shlibpath_var
   20552 
   20553 # Is shlibpath searched before the hard-coded library search path?
   20554 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   20555 
   20556 # Format of library name prefix.
   20557 libname_spec=$lt_libname_spec
   20558 
   20559 # List of archive names.  First name is the real one, the rest are links.
   20560 # The last name is the one that the linker finds with -lNAME
   20561 library_names_spec=$lt_library_names_spec
   20562 
   20563 # The coded name of the library, if different from the real name.
   20564 soname_spec=$lt_soname_spec
   20565 
   20566 # Permission mode override for installation of shared libraries.
   20567 install_override_mode=$lt_install_override_mode
   20568 
   20569 # Command to use after installation of a shared archive.
   20570 postinstall_cmds=$lt_postinstall_cmds
   20571 
   20572 # Command to use after uninstallation of a shared archive.
   20573 postuninstall_cmds=$lt_postuninstall_cmds
   20574 
   20575 # Commands used to finish a libtool library installation in a directory.
   20576 finish_cmds=$lt_finish_cmds
   20577 
   20578 # As "finish_cmds", except a single script fragment to be evaled but
   20579 # not shown.
   20580 finish_eval=$lt_finish_eval
   20581 
   20582 # Whether we should hardcode library paths into libraries.
   20583 hardcode_into_libs=$hardcode_into_libs
   20584 
   20585 # Compile-time system search path for libraries.
   20586 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   20587 
   20588 # Detected run-time system search path for libraries.
   20589 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   20590 
   20591 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   20592 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   20593 
   20594 # Whether dlopen is supported.
   20595 dlopen_support=$enable_dlopen
   20596 
   20597 # Whether dlopen of programs is supported.
   20598 dlopen_self=$enable_dlopen_self
   20599 
   20600 # Whether dlopen of statically linked programs is supported.
   20601 dlopen_self_static=$enable_dlopen_self_static
   20602 
   20603 # Commands to strip libraries.
   20604 old_striplib=$lt_old_striplib
   20605 striplib=$lt_striplib
   20606 
   20607 
   20608 # The linker used to build libraries.
   20609 LD=$lt_LD
   20610 
   20611 # How to create reloadable object files.
   20612 reload_flag=$lt_reload_flag
   20613 reload_cmds=$lt_reload_cmds
   20614 
   20615 # Commands used to build an old-style archive.
   20616 old_archive_cmds=$lt_old_archive_cmds
   20617 
   20618 # A language specific compiler.
   20619 CC=$lt_compiler
   20620 
   20621 # Is the compiler the GNU compiler?
   20622 with_gcc=$GCC
   20623 
   20624 # Compiler flag to turn off builtin functions.
   20625 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   20626 
   20627 # Additional compiler flags for building library objects.
   20628 pic_flag=$lt_lt_prog_compiler_pic
   20629 
   20630 # How to pass a linker flag through the compiler.
   20631 wl=$lt_lt_prog_compiler_wl
   20632 
   20633 # Compiler flag to prevent dynamic linking.
   20634 link_static_flag=$lt_lt_prog_compiler_static
   20635 
   20636 # Does compiler simultaneously support -c and -o options?
   20637 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   20638 
   20639 # Whether or not to add -lc for building shared libraries.
   20640 build_libtool_need_lc=$archive_cmds_need_lc
   20641 
   20642 # Whether or not to disallow shared libs when runtime libs are static.
   20643 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   20644 
   20645 # Compiler flag to allow reflexive dlopens.
   20646 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   20647 
   20648 # Compiler flag to generate shared objects directly from archives.
   20649 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   20650 
   20651 # Whether the compiler copes with passing no objects directly.
   20652 compiler_needs_object=$lt_compiler_needs_object
   20653 
   20654 # Create an old-style archive from a shared archive.
   20655 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   20656 
   20657 # Create a temporary old-style archive to link instead of a shared archive.
   20658 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   20659 
   20660 # Commands used to build a shared archive.
   20661 archive_cmds=$lt_archive_cmds
   20662 archive_expsym_cmds=$lt_archive_expsym_cmds
   20663 
   20664 # Commands used to build a loadable module if different from building
   20665 # a shared archive.
   20666 module_cmds=$lt_module_cmds
   20667 module_expsym_cmds=$lt_module_expsym_cmds
   20668 
   20669 # Whether we are building with GNU ld or not.
   20670 with_gnu_ld=$lt_with_gnu_ld
   20671 
   20672 # Flag that allows shared libraries with undefined symbols to be built.
   20673 allow_undefined_flag=$lt_allow_undefined_flag
   20674 
   20675 # Flag that enforces no undefined symbols.
   20676 no_undefined_flag=$lt_no_undefined_flag
   20677 
   20678 # Flag to hardcode \$libdir into a binary during linking.
   20679 # This must work even if \$libdir does not exist
   20680 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   20681 
   20682 # Whether we need a single "-rpath" flag with a separated argument.
   20683 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   20684 
   20685 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   20686 # DIR into the resulting binary.
   20687 hardcode_direct=$hardcode_direct
   20688 
   20689 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   20690 # DIR into the resulting binary and the resulting library dependency is
   20691 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   20692 # library is relocated.
   20693 hardcode_direct_absolute=$hardcode_direct_absolute
   20694 
   20695 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   20696 # into the resulting binary.
   20697 hardcode_minus_L=$hardcode_minus_L
   20698 
   20699 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   20700 # into the resulting binary.
   20701 hardcode_shlibpath_var=$hardcode_shlibpath_var
   20702 
   20703 # Set to "yes" if building a shared library automatically hardcodes DIR
   20704 # into the library and all subsequent libraries and executables linked
   20705 # against it.
   20706 hardcode_automatic=$hardcode_automatic
   20707 
   20708 # Set to yes if linker adds runtime paths of dependent libraries
   20709 # to runtime path list.
   20710 inherit_rpath=$inherit_rpath
   20711 
   20712 # Whether libtool must link a program against all its dependency libraries.
   20713 link_all_deplibs=$link_all_deplibs
   20714 
   20715 # Set to "yes" if exported symbols are required.
   20716 always_export_symbols=$always_export_symbols
   20717 
   20718 # The commands to list exported symbols.
   20719 export_symbols_cmds=$lt_export_symbols_cmds
   20720 
   20721 # Symbols that should not be listed in the preloaded symbols.
   20722 exclude_expsyms=$lt_exclude_expsyms
   20723 
   20724 # Symbols that must always be exported.
   20725 include_expsyms=$lt_include_expsyms
   20726 
   20727 # Commands necessary for linking programs (against libraries) with templates.
   20728 prelink_cmds=$lt_prelink_cmds
   20729 
   20730 # Commands necessary for finishing linking programs.
   20731 postlink_cmds=$lt_postlink_cmds
   20732 
   20733 # Specify filename containing input files.
   20734 file_list_spec=$lt_file_list_spec
   20735 
   20736 # How to hardcode a shared library path into an executable.
   20737 hardcode_action=$hardcode_action
   20738 
   20739 # ### END LIBTOOL CONFIG
   20740 
   20741 _LT_EOF
   20742 
   20743     cat <<'_LT_EOF' >> "$cfgfile"
   20744 
   20745 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   20746 
   20747 # func_munge_path_list VARIABLE PATH
   20748 # -----------------------------------
   20749 # VARIABLE is name of variable containing _space_ separated list of
   20750 # directories to be munged by the contents of PATH, which is string
   20751 # having a format:
   20752 # "DIR[:DIR]:"
   20753 #       string "DIR[ DIR]" will be prepended to VARIABLE
   20754 # ":DIR[:DIR]"
   20755 #       string "DIR[ DIR]" will be appended to VARIABLE
   20756 # "DIRP[:DIRP]::[DIRA:]DIRA"
   20757 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   20758 #       "DIRA[ DIRA]" will be appended to VARIABLE
   20759 # "DIR[:DIR]"
   20760 #       VARIABLE will be replaced by "DIR[ DIR]"
   20761 func_munge_path_list ()
   20762 {
   20763     case x$2 in
   20764     x)
   20765         ;;
   20766     *:)
   20767         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   20768         ;;
   20769     x:*)
   20770         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   20771         ;;
   20772     *::*)
   20773         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   20774         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   20775         ;;
   20776     *)
   20777         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   20778         ;;
   20779     esac
   20780 }
   20781 
   20782 
   20783 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   20784 func_cc_basename ()
   20785 {
   20786     for cc_temp in $*""; do
   20787       case $cc_temp in
   20788         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   20789         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   20790         \-*) ;;
   20791         *) break;;
   20792       esac
   20793     done
   20794     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   20795 }
   20796 
   20797 
   20798 # ### END FUNCTIONS SHARED WITH CONFIGURE
   20799 
   20800 _LT_EOF
   20801 
   20802   case $host_os in
   20803   aix3*)
   20804     cat <<\_LT_EOF >> "$cfgfile"
   20805 # AIX sometimes has problems with the GCC collect2 program.  For some
   20806 # reason, if we set the COLLECT_NAMES environment variable, the problems
   20807 # vanish in a puff of smoke.
   20808 if test set != "${COLLECT_NAMES+set}"; then
   20809   COLLECT_NAMES=
   20810   export COLLECT_NAMES
   20811 fi
   20812 _LT_EOF
   20813     ;;
   20814   esac
   20815 
   20816 
   20817 ltmain=$ac_aux_dir/ltmain.sh
   20818 
   20819 
   20820   # We use sed instead of cat because bash on DJGPP gets confused if
   20821   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   20822   # text mode, it properly converts lines to CR/LF.  This bash problem
   20823   # is reportedly fixed, but why not run on old versions too?
   20824   sed '$q' "$ltmain" >> "$cfgfile" \
   20825      || (rm -f "$cfgfile"; exit 1)
   20826 
   20827    mv -f "$cfgfile" "$ofile" ||
   20828     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20829   chmod +x "$ofile"
   20830 
   20831  ;;
   20832 
   20833   esac
   20834 done # for ac_tag
   20835 
   20836 
   20837 as_fn_exit 0
   20838 _ACEOF
   20839 ac_clean_files=$ac_clean_files_save
   20840 
   20841 test $ac_write_fail = 0 ||
   20842   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20843 
   20844 
   20845 # configure is writing to config.log, and then calls config.status.
   20846 # config.status does its own redirection, appending to config.log.
   20847 # Unfortunately, on DOS this fails, as config.log is still kept open
   20848 # by configure, so config.status won't be able to write to it; its
   20849 # output is simply discarded.  So we exec the FD to /dev/null,
   20850 # effectively closing config.log, so it can be properly (re)opened and
   20851 # appended to by config.status.  When coming back to configure, we
   20852 # need to make the FD available again.
   20853 if test "$no_create" != yes; then
   20854   ac_cs_success=:
   20855   ac_config_status_args=
   20856   test "$silent" = yes &&
   20857     ac_config_status_args="$ac_config_status_args --quiet"
   20858   exec 5>/dev/null
   20859   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20860   exec 5>>config.log
   20861   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20862   # would make configure fail if this is the last instruction.
   20863   $ac_cs_success || as_fn_exit 1
   20864 fi
   20865 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20866   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20867 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20868 fi
   20869 
   20870