Home | History | Annotate | Line # | Download | only in dist
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.72 for xf86-video-r128 6.13.0.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/driver/xf86-video-r128/-/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation,
      9 # Inc.
     10 #
     11 #
     12 # This configure script is free software; the Free Software Foundation
     13 # gives unlimited permission to copy, distribute and modify it.
     14 ## -------------------- ##
     15 ## M4sh Initialization. ##
     16 ## -------------------- ##
     17 
     18 # Be more Bourne compatible
     19 DUALCASE=1; export DUALCASE # for MKS sh
     20 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     21 then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else case e in #(
     29   e) case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac ;;
     35 esac
     36 fi
     37 
     38 
     39 
     40 # Reset variables that may have inherited troublesome values from
     41 # the environment.
     42 
     43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
     44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
     45 # side effect of setting IFS to empty, thus disabling word splitting.)
     46 # Quoting is to prevent editors from complaining about space-tab.
     47 as_nl='
     48 '
     49 export as_nl
     50 IFS=" ""	$as_nl"
     51 
     52 PS1='$ '
     53 PS2='> '
     54 PS4='+ '
     55 
     56 # Ensure predictable behavior from utilities with locale-dependent output.
     57 LC_ALL=C
     58 export LC_ALL
     59 LANGUAGE=C
     60 export LANGUAGE
     61 
     62 # We cannot yet rely on "unset" to work, but we need these variables
     63 # to be unset--not just set to an empty or harmless value--now, to
     64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
     65 # also avoids known problems related to "unset" and subshell syntax
     66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
     67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
     68 do eval test \${$as_var+y} \
     69   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     70 done
     71 
     72 # Ensure that fds 0, 1, and 2 are open.
     73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
     74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
     75 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
     76 
     77 # The user is always right.
     78 if ${PATH_SEPARATOR+false} :; then
     79   PATH_SEPARATOR=:
     80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     82       PATH_SEPARATOR=';'
     83   }
     84 fi
     85 
     86 
     87 # Find who we are.  Look in the path if we contain no directory separator.
     88 as_myself=
     89 case $0 in #((
     90   *[\\/]* ) as_myself=$0 ;;
     91   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     92 for as_dir in $PATH
     93 do
     94   IFS=$as_save_IFS
     95   case $as_dir in #(((
     96     '') as_dir=./ ;;
     97     */) ;;
     98     *) as_dir=$as_dir/ ;;
     99   esac
    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   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 
    117 # Use a proper internal environment variable to ensure we don't fall
    118   # into an infinite loop, continuously re-executing ourselves.
    119   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    120     _as_can_reexec=no; export _as_can_reexec;
    121     # We cannot yet assume a decent shell, so we have to provide a
    122 # neutralization value for shells without unset; and this also
    123 # works around shells that cannot unset nonexistent variables.
    124 # Preserve -v and -x to the replacement shell.
    125 BASH_ENV=/dev/null
    126 ENV=/dev/null
    127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    128 case $- in # ((((
    129   *v*x* | *x*v* ) as_opts=-vx ;;
    130   *v* ) as_opts=-v ;;
    131   *x* ) as_opts=-x ;;
    132   * ) as_opts= ;;
    133 esac
    134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    135 # Admittedly, this is quite paranoid, since all the known shells bail
    136 # out after a failed 'exec'.
    137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    138 exit 255
    139   fi
    140   # We don't want this to propagate to other subprocesses.
    141           { _as_can_reexec=; unset _as_can_reexec;}
    142 if test "x$CONFIG_SHELL" = x; then
    143   as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    144 then :
    145   emulate sh
    146   NULLCMD=:
    147   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    148   # is contrary to our usage.  Disable this feature.
    149   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    150   setopt NO_GLOB_SUBST
    151 else case e in #(
    152   e) case \`(set -o) 2>/dev/null\` in #(
    153   *posix*) :
    154     set -o posix ;; #(
    155   *) :
    156      ;;
    157 esac ;;
    158 esac
    159 fi
    160 "
    161   as_required="as_fn_return () { (exit \$1); }
    162 as_fn_success () { as_fn_return 0; }
    163 as_fn_failure () { as_fn_return 1; }
    164 as_fn_ret_success () { return 0; }
    165 as_fn_ret_failure () { return 1; }
    166 
    167 exitcode=0
    168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
    173 then :
    174 
    175 else case e in #(
    176   e) exitcode=1; echo positional parameters were not saved. ;;
    177 esac
    178 fi
    179 test x\$exitcode = x0 || exit 1
    180 blah=\$(echo \$(echo blah))
    181 test x\"\$blah\" = xblah || exit 1
    182 test -x / || exit 1"
    183   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    184   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    185   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    186   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    187 test \$(( 1 + 1 )) = 2 || exit 1
    188 
    189   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    190     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    191     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    192     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    193     PATH=/empty FPATH=/empty; export PATH FPATH
    194     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    195       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    196   if (eval "$as_required") 2>/dev/null
    197 then :
    198   as_have_required=yes
    199 else case e in #(
    200   e) as_have_required=no ;;
    201 esac
    202 fi
    203   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    204 then :
    205 
    206 else case e in #(
    207   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    208 as_found=false
    209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    210 do
    211   IFS=$as_save_IFS
    212   case $as_dir in #(((
    213     '') as_dir=./ ;;
    214     */) ;;
    215     *) as_dir=$as_dir/ ;;
    216   esac
    217   as_found=:
    218   case $as_dir in #(
    219 	 /*)
    220 	   for as_base in sh bash ksh sh5; do
    221 	     # Try only shells that exist, to save several forks.
    222 	     as_shell=$as_dir$as_base
    223 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    224 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    225 then :
    226   CONFIG_SHELL=$as_shell as_have_required=yes
    227 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    228 then :
    229   break 2
    230 fi
    231 fi
    232 	   done;;
    233        esac
    234   as_found=false
    235 done
    236 IFS=$as_save_IFS
    237 if $as_found
    238 then :
    239 
    240 else case e in #(
    241   e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    243 then :
    244   CONFIG_SHELL=$SHELL as_have_required=yes
    245 fi ;;
    246 esac
    247 fi
    248 
    249 
    250       if test "x$CONFIG_SHELL" != x
    251 then :
    252   export CONFIG_SHELL
    253              # We cannot yet assume a decent shell, so we have to provide a
    254 # neutralization value for shells without unset; and this also
    255 # works around shells that cannot unset nonexistent variables.
    256 # Preserve -v and -x to the replacement shell.
    257 BASH_ENV=/dev/null
    258 ENV=/dev/null
    259 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    260 case $- in # ((((
    261   *v*x* | *x*v* ) as_opts=-vx ;;
    262   *v* ) as_opts=-v ;;
    263   *x* ) as_opts=-x ;;
    264   * ) as_opts= ;;
    265 esac
    266 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    267 # Admittedly, this is quite paranoid, since all the known shells bail
    268 # out after a failed 'exec'.
    269 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    270 exit 255
    271 fi
    272 
    273     if test x$as_have_required = xno
    274 then :
    275   printf "%s\n" "$0: This script requires a shell more modern than all"
    276   printf "%s\n" "$0: the shells that I found on your system."
    277   if test ${ZSH_VERSION+y} ; then
    278     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    279     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    280   else
    281     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    282 $0: https://gitlab.freedesktop.org/xorg/driver/xf86-video-r128/-/issues
    283 $0: about your system, including any error possibly output
    284 $0: before this message. Then install a modern shell, or
    285 $0: manually run the script under such a shell if you do
    286 $0: have one."
    287   fi
    288   exit 1
    289 fi ;;
    290 esac
    291 fi
    292 fi
    293 SHELL=${CONFIG_SHELL-/bin/sh}
    294 export SHELL
    295 # Unset more variables known to interfere with behavior of common tools.
    296 CLICOLOR_FORCE= GREP_OPTIONS=
    297 unset CLICOLOR_FORCE GREP_OPTIONS
    298 
    299 ## --------------------- ##
    300 ## M4sh Shell Functions. ##
    301 ## --------------------- ##
    302 # as_fn_unset VAR
    303 # ---------------
    304 # Portably unset VAR.
    305 as_fn_unset ()
    306 {
    307   { eval $1=; unset $1;}
    308 }
    309 as_unset=as_fn_unset
    310 
    311 
    312 # as_fn_set_status STATUS
    313 # -----------------------
    314 # Set $? to STATUS, without forking.
    315 as_fn_set_status ()
    316 {
    317   return $1
    318 } # as_fn_set_status
    319 
    320 # as_fn_exit STATUS
    321 # -----------------
    322 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    323 as_fn_exit ()
    324 {
    325   set +e
    326   as_fn_set_status $1
    327   exit $1
    328 } # as_fn_exit
    329 
    330 # as_fn_mkdir_p
    331 # -------------
    332 # Create "$as_dir" as a directory, including parents if necessary.
    333 as_fn_mkdir_p ()
    334 {
    335 
    336   case $as_dir in #(
    337   -*) as_dir=./$as_dir;;
    338   esac
    339   test -d "$as_dir" || eval $as_mkdir_p || {
    340     as_dirs=
    341     while :; do
    342       case $as_dir in #(
    343       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    344       *) as_qdir=$as_dir;;
    345       esac
    346       as_dirs="'$as_qdir' $as_dirs"
    347       as_dir=`$as_dirname -- "$as_dir" ||
    348 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    349 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    350 	 X"$as_dir" : 'X\(//\)$' \| \
    351 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    352 printf "%s\n" X"$as_dir" |
    353     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    354 	    s//\1/
    355 	    q
    356 	  }
    357 	  /^X\(\/\/\)[^/].*/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  /^X\(\/\/\)$/{
    362 	    s//\1/
    363 	    q
    364 	  }
    365 	  /^X\(\/\).*/{
    366 	    s//\1/
    367 	    q
    368 	  }
    369 	  s/.*/./; q'`
    370       test -d "$as_dir" && break
    371     done
    372     test -z "$as_dirs" || eval "mkdir $as_dirs"
    373   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    374 
    375 
    376 } # as_fn_mkdir_p
    377 
    378 # as_fn_executable_p FILE
    379 # -----------------------
    380 # Test if FILE is an executable regular file.
    381 as_fn_executable_p ()
    382 {
    383   test -f "$1" && test -x "$1"
    384 } # as_fn_executable_p
    385 # as_fn_append VAR VALUE
    386 # ----------------------
    387 # Append the text in VALUE to the end of the definition contained in VAR. Take
    388 # advantage of any shell optimizations that allow amortized linear growth over
    389 # repeated appends, instead of the typical quadratic growth present in naive
    390 # implementations.
    391 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    392 then :
    393   eval 'as_fn_append ()
    394   {
    395     eval $1+=\$2
    396   }'
    397 else case e in #(
    398   e) as_fn_append ()
    399   {
    400     eval $1=\$$1\$2
    401   } ;;
    402 esac
    403 fi # as_fn_append
    404 
    405 # as_fn_arith ARG...
    406 # ------------------
    407 # Perform arithmetic evaluation on the ARGs, and store the result in the
    408 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    409 # must be portable across $(()) and expr.
    410 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    411 then :
    412   eval 'as_fn_arith ()
    413   {
    414     as_val=$(( $* ))
    415   }'
    416 else case e in #(
    417   e) as_fn_arith ()
    418   {
    419     as_val=`expr "$@" || test $? -eq 1`
    420   } ;;
    421 esac
    422 fi # as_fn_arith
    423 
    424 
    425 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    426 # ----------------------------------------
    427 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    428 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    429 # script with STATUS, using 1 if that was 0.
    430 as_fn_error ()
    431 {
    432   as_status=$1; test $as_status -eq 0 && as_status=1
    433   if test "$4"; then
    434     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    435     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    436   fi
    437   printf "%s\n" "$as_me: error: $2" >&2
    438   as_fn_exit $as_status
    439 } # as_fn_error
    440 
    441 if expr a : '\(a\)' >/dev/null 2>&1 &&
    442    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    443   as_expr=expr
    444 else
    445   as_expr=false
    446 fi
    447 
    448 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    449   as_basename=basename
    450 else
    451   as_basename=false
    452 fi
    453 
    454 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    455   as_dirname=dirname
    456 else
    457   as_dirname=false
    458 fi
    459 
    460 as_me=`$as_basename -- "$0" ||
    461 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    462 	 X"$0" : 'X\(//\)$' \| \
    463 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    464 printf "%s\n" X/"$0" |
    465     sed '/^.*\/\([^/][^/]*\)\/*$/{
    466 	    s//\1/
    467 	    q
    468 	  }
    469 	  /^X\/\(\/\/\)$/{
    470 	    s//\1/
    471 	    q
    472 	  }
    473 	  /^X\/\(\/\).*/{
    474 	    s//\1/
    475 	    q
    476 	  }
    477 	  s/.*/./; q'`
    478 
    479 # Avoid depending upon Character Ranges.
    480 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    481 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    482 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    483 as_cr_digits='0123456789'
    484 as_cr_alnum=$as_cr_Letters$as_cr_digits
    485 
    486 
    487   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    488   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    489   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    490   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    491   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    492   sed -n '
    493     p
    494     /[$]LINENO/=
    495   ' <$as_myself |
    496     sed '
    497       t clear
    498       :clear
    499       s/[$]LINENO.*/&-/
    500       t lineno
    501       b
    502       :lineno
    503       N
    504       :loop
    505       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    506       t loop
    507       s/-\n.*//
    508     ' >$as_me.lineno &&
    509   chmod +x "$as_me.lineno" ||
    510     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    511 
    512   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    513   # already done that, so ensure we don't try to do so again and fall
    514   # in an infinite loop.  This has already happened in practice.
    515   _as_can_reexec=no; export _as_can_reexec
    516   # Don't try to exec as it changes $[0], causing all sort of problems
    517   # (the dirname of $[0] is not the place where we might find the
    518   # original and so on.  Autoconf is especially sensitive to this).
    519   . "./$as_me.lineno"
    520   # Exit status is that of the last command.
    521   exit
    522 }
    523 
    524 
    525 # Determine whether it's possible to make 'echo' print without a newline.
    526 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    527 # for compatibility with existing Makefiles.
    528 ECHO_C= ECHO_N= ECHO_T=
    529 case `echo -n x` in #(((((
    530 -n*)
    531   case `echo 'xy\c'` in
    532   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    533   xy)  ECHO_C='\c';;
    534   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    535        ECHO_T='	';;
    536   esac;;
    537 *)
    538   ECHO_N='-n';;
    539 esac
    540 
    541 # For backward compatibility with old third-party macros, we provide
    542 # the shell variables $as_echo and $as_echo_n.  New code should use
    543 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    544 as_echo='printf %s\n'
    545 as_echo_n='printf %s'
    546 
    547 rm -f conf$$ conf$$.exe conf$$.file
    548 if test -d conf$$.dir; then
    549   rm -f conf$$.dir/conf$$.file
    550 else
    551   rm -f conf$$.dir
    552   mkdir conf$$.dir 2>/dev/null
    553 fi
    554 if (echo >conf$$.file) 2>/dev/null; then
    555   if ln -s conf$$.file conf$$ 2>/dev/null; then
    556     as_ln_s='ln -s'
    557     # ... but there are two gotchas:
    558     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
    559     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
    560     # In both cases, we have to default to 'cp -pR'.
    561     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    562       as_ln_s='cp -pR'
    563   elif ln conf$$.file conf$$ 2>/dev/null; then
    564     as_ln_s=ln
    565   else
    566     as_ln_s='cp -pR'
    567   fi
    568 else
    569   as_ln_s='cp -pR'
    570 fi
    571 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    572 rmdir conf$$.dir 2>/dev/null
    573 
    574 if mkdir -p . 2>/dev/null; then
    575   as_mkdir_p='mkdir -p "$as_dir"'
    576 else
    577   test -d ./-p && rmdir ./-p
    578   as_mkdir_p=false
    579 fi
    580 
    581 as_test_x='test -x'
    582 as_executable_p=as_fn_executable_p
    583 
    584 # Sed expression to map a string onto a valid CPP name.
    585 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
    586 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
    587 
    588 # Sed expression to map a string onto a valid variable name.
    589 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
    590 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
    591 
    592 SHELL=${CONFIG_SHELL-/bin/sh}
    593 
    594 
    595 test -n "$DJDIR" || exec 7<&0 </dev/null
    596 exec 6>&1
    597 
    598 # Name of the host.
    599 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    600 # so uname gets run too.
    601 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    602 
    603 #
    604 # Initializations.
    605 #
    606 ac_default_prefix=/usr/local
    607 ac_clean_files=
    608 ac_config_libobj_dir=.
    609 LIBOBJS=
    610 cross_compiling=no
    611 subdirs=
    612 MFLAGS=
    613 MAKEFLAGS=
    614 
    615 # Identity of this package.
    616 PACKAGE_NAME='xf86-video-r128'
    617 PACKAGE_TARNAME='xf86-video-r128'
    618 PACKAGE_VERSION='6.13.0'
    619 PACKAGE_STRING='xf86-video-r128 6.13.0'
    620 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/driver/xf86-video-r128/-/issues'
    621 PACKAGE_URL=''
    622 
    623 ac_unique_file="Makefile.am"
    624 # Factoring default headers for most tests.
    625 ac_includes_default="\
    626 #include <stddef.h>
    627 #ifdef HAVE_STDIO_H
    628 # include <stdio.h>
    629 #endif
    630 #ifdef HAVE_STDLIB_H
    631 # include <stdlib.h>
    632 #endif
    633 #ifdef HAVE_STRING_H
    634 # include <string.h>
    635 #endif
    636 #ifdef HAVE_INTTYPES_H
    637 # include <inttypes.h>
    638 #endif
    639 #ifdef HAVE_STDINT_H
    640 # include <stdint.h>
    641 #endif
    642 #ifdef HAVE_STRINGS_H
    643 # include <strings.h>
    644 #endif
    645 #ifdef HAVE_SYS_TYPES_H
    646 # include <sys/types.h>
    647 #endif
    648 #ifdef HAVE_SYS_STAT_H
    649 # include <sys/stat.h>
    650 #endif
    651 #ifdef HAVE_UNISTD_H
    652 # include <unistd.h>
    653 #endif"
    654 
    655 ac_header_c_list=
    656 ac_subst_vars='am__EXEEXT_FALSE
    657 am__EXEEXT_TRUE
    658 LTLIBOBJS
    659 LIBOBJS
    660 DRIVER_NAME
    661 moduledir
    662 XSERVER_LIBPCIACCESS_FALSE
    663 XSERVER_LIBPCIACCESS_TRUE
    664 PCIACCESS_LIBS
    665 PCIACCESS_CFLAGS
    666 USE_EXA_FALSE
    667 USE_EXA_TRUE
    668 CPP
    669 DRI_LIBS
    670 DRI_CFLAGS
    671 DRI_FALSE
    672 DRI_TRUE
    673 HAVE_XEXTPROTO_71_FALSE
    674 HAVE_XEXTPROTO_71_TRUE
    675 XEXT_LIBS
    676 XEXT_CFLAGS
    677 XORG_LIBS
    678 XORG_CFLAGS
    679 LT_SYS_LIBRARY_PATH
    680 OTOOL64
    681 OTOOL
    682 LIPO
    683 NMEDIT
    684 DSYMUTIL
    685 MANIFEST_TOOL
    686 RANLIB
    687 ac_ct_AR
    688 AR
    689 DLLTOOL
    690 OBJDUMP
    691 FILECMD
    692 LN_S
    693 NM
    694 ac_ct_DUMPBIN
    695 DUMPBIN
    696 LD
    697 FGREP
    698 EGREP
    699 GREP
    700 LIBTOOL
    701 MAN_SUBSTS
    702 XORG_MAN_PAGE
    703 ADMIN_MAN_DIR
    704 DRIVER_MAN_DIR
    705 MISC_MAN_DIR
    706 FILE_MAN_DIR
    707 LIB_MAN_DIR
    708 APP_MAN_DIR
    709 ADMIN_MAN_SUFFIX
    710 DRIVER_MAN_SUFFIX
    711 MISC_MAN_SUFFIX
    712 FILE_MAN_SUFFIX
    713 LIB_MAN_SUFFIX
    714 APP_MAN_SUFFIX
    715 SED
    716 host_os
    717 host_vendor
    718 host_cpu
    719 host
    720 build_os
    721 build_vendor
    722 build_cpu
    723 build
    724 INSTALL_CMD
    725 PKG_CONFIG_LIBDIR
    726 PKG_CONFIG_PATH
    727 PKG_CONFIG
    728 CHANGELOG_CMD
    729 STRICT_CFLAGS
    730 CWARNFLAGS
    731 BASE_CFLAGS
    732 am__fastdepCC_FALSE
    733 am__fastdepCC_TRUE
    734 CCDEPMODE
    735 am__nodep
    736 AMDEPBACKSLASH
    737 AMDEP_FALSE
    738 AMDEP_TRUE
    739 am__include
    740 DEPDIR
    741 OBJEXT
    742 EXEEXT
    743 ac_ct_CC
    744 CPPFLAGS
    745 LDFLAGS
    746 CFLAGS
    747 CC
    748 am__xargs_n
    749 am__rm_f_notfound
    750 AM_BACKSLASH
    751 AM_DEFAULT_VERBOSITY
    752 AM_DEFAULT_V
    753 AM_V
    754 CSCOPE
    755 ETAGS
    756 CTAGS
    757 am__untar
    758 am__tar
    759 AMTAR
    760 am__leading_dot
    761 SET_MAKE
    762 AWK
    763 mkdir_p
    764 MKDIR_P
    765 INSTALL_STRIP_PROGRAM
    766 STRIP
    767 install_sh
    768 MAKEINFO
    769 AUTOHEADER
    770 AUTOMAKE
    771 AUTOCONF
    772 ACLOCAL
    773 VERSION
    774 PACKAGE
    775 CYGPATH_W
    776 am__isrc
    777 INSTALL_DATA
    778 INSTALL_SCRIPT
    779 INSTALL_PROGRAM
    780 target_alias
    781 host_alias
    782 build_alias
    783 LIBS
    784 ECHO_T
    785 ECHO_N
    786 ECHO_C
    787 DEFS
    788 mandir
    789 localedir
    790 libdir
    791 psdir
    792 pdfdir
    793 dvidir
    794 htmldir
    795 infodir
    796 docdir
    797 oldincludedir
    798 includedir
    799 runstatedir
    800 localstatedir
    801 sharedstatedir
    802 sysconfdir
    803 datadir
    804 datarootdir
    805 libexecdir
    806 sbindir
    807 bindir
    808 program_transform_name
    809 prefix
    810 exec_prefix
    811 PACKAGE_URL
    812 PACKAGE_BUGREPORT
    813 PACKAGE_STRING
    814 PACKAGE_VERSION
    815 PACKAGE_TARNAME
    816 PACKAGE_NAME
    817 PATH_SEPARATOR
    818 SHELL
    819 am__quote'
    820 ac_subst_files=''
    821 ac_user_opts='
    822 enable_option_checking
    823 enable_silent_rules
    824 enable_dependency_tracking
    825 enable_selective_werror
    826 enable_strict_compilation
    827 enable_static
    828 enable_shared
    829 enable_pic
    830 with_pic
    831 enable_fast_install
    832 enable_aix_soname
    833 with_aix_soname
    834 with_gnu_ld
    835 with_sysroot
    836 enable_libtool_lock
    837 with_xorg_module_dir
    838 enable_dri
    839 enable_exa
    840 '
    841       ac_precious_vars='build_alias
    842 host_alias
    843 target_alias
    844 CC
    845 CFLAGS
    846 LDFLAGS
    847 LIBS
    848 CPPFLAGS
    849 PKG_CONFIG
    850 PKG_CONFIG_PATH
    851 PKG_CONFIG_LIBDIR
    852 LT_SYS_LIBRARY_PATH
    853 XORG_CFLAGS
    854 XORG_LIBS
    855 XEXT_CFLAGS
    856 XEXT_LIBS
    857 DRI_CFLAGS
    858 DRI_LIBS
    859 CPP
    860 PCIACCESS_CFLAGS
    861 PCIACCESS_LIBS'
    862 
    863 
    864 # Initialize some variables set by options.
    865 ac_init_help=
    866 ac_init_version=false
    867 ac_unrecognized_opts=
    868 ac_unrecognized_sep=
    869 # The variables have the same names as the options, with
    870 # dashes changed to underlines.
    871 cache_file=/dev/null
    872 exec_prefix=NONE
    873 no_create=
    874 no_recursion=
    875 prefix=NONE
    876 program_prefix=NONE
    877 program_suffix=NONE
    878 program_transform_name=s,x,x,
    879 silent=
    880 site=
    881 srcdir=
    882 verbose=
    883 x_includes=NONE
    884 x_libraries=NONE
    885 
    886 # Installation directory options.
    887 # These are left unexpanded so users can "make install exec_prefix=/foo"
    888 # and all the variables that are supposed to be based on exec_prefix
    889 # by default will actually change.
    890 # Use braces instead of parens because sh, perl, etc. also accept them.
    891 # (The list follows the same order as the GNU Coding Standards.)
    892 bindir='${exec_prefix}/bin'
    893 sbindir='${exec_prefix}/sbin'
    894 libexecdir='${exec_prefix}/libexec'
    895 datarootdir='${prefix}/share'
    896 datadir='${datarootdir}'
    897 sysconfdir='${prefix}/etc'
    898 sharedstatedir='${prefix}/com'
    899 localstatedir='${prefix}/var'
    900 runstatedir='${localstatedir}/run'
    901 includedir='${prefix}/include'
    902 oldincludedir='/usr/include'
    903 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    904 infodir='${datarootdir}/info'
    905 htmldir='${docdir}'
    906 dvidir='${docdir}'
    907 pdfdir='${docdir}'
    908 psdir='${docdir}'
    909 libdir='${exec_prefix}/lib'
    910 localedir='${datarootdir}/locale'
    911 mandir='${datarootdir}/man'
    912 
    913 ac_prev=
    914 ac_dashdash=
    915 for ac_option
    916 do
    917   # If the previous option needs an argument, assign it.
    918   if test -n "$ac_prev"; then
    919     eval $ac_prev=\$ac_option
    920     ac_prev=
    921     continue
    922   fi
    923 
    924   case $ac_option in
    925   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    926   *=)   ac_optarg= ;;
    927   *)    ac_optarg=yes ;;
    928   esac
    929 
    930   case $ac_dashdash$ac_option in
    931   --)
    932     ac_dashdash=yes ;;
    933 
    934   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    935     ac_prev=bindir ;;
    936   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    937     bindir=$ac_optarg ;;
    938 
    939   -build | --build | --buil | --bui | --bu)
    940     ac_prev=build_alias ;;
    941   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    942     build_alias=$ac_optarg ;;
    943 
    944   -cache-file | --cache-file | --cache-fil | --cache-fi \
    945   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    946     ac_prev=cache_file ;;
    947   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    948   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    949     cache_file=$ac_optarg ;;
    950 
    951   --config-cache | -C)
    952     cache_file=config.cache ;;
    953 
    954   -datadir | --datadir | --datadi | --datad)
    955     ac_prev=datadir ;;
    956   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    957     datadir=$ac_optarg ;;
    958 
    959   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    960   | --dataroo | --dataro | --datar)
    961     ac_prev=datarootdir ;;
    962   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    963   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    964     datarootdir=$ac_optarg ;;
    965 
    966   -disable-* | --disable-*)
    967     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    968     # Reject names that are not valid shell variable names.
    969     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    970       as_fn_error $? "invalid feature name: '$ac_useropt'"
    971     ac_useropt_orig=$ac_useropt
    972     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    973     case $ac_user_opts in
    974       *"
    975 "enable_$ac_useropt"
    976 "*) ;;
    977       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    978 	 ac_unrecognized_sep=', ';;
    979     esac
    980     eval enable_$ac_useropt=no ;;
    981 
    982   -docdir | --docdir | --docdi | --doc | --do)
    983     ac_prev=docdir ;;
    984   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    985     docdir=$ac_optarg ;;
    986 
    987   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    988     ac_prev=dvidir ;;
    989   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    990     dvidir=$ac_optarg ;;
    991 
    992   -enable-* | --enable-*)
    993     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    994     # Reject names that are not valid shell variable names.
    995     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    996       as_fn_error $? "invalid feature name: '$ac_useropt'"
    997     ac_useropt_orig=$ac_useropt
    998     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    999     case $ac_user_opts in
   1000       *"
   1001 "enable_$ac_useropt"
   1002 "*) ;;
   1003       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1004 	 ac_unrecognized_sep=', ';;
   1005     esac
   1006     eval enable_$ac_useropt=\$ac_optarg ;;
   1007 
   1008   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1009   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1010   | --exec | --exe | --ex)
   1011     ac_prev=exec_prefix ;;
   1012   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1013   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1014   | --exec=* | --exe=* | --ex=*)
   1015     exec_prefix=$ac_optarg ;;
   1016 
   1017   -gas | --gas | --ga | --g)
   1018     # Obsolete; use --with-gas.
   1019     with_gas=yes ;;
   1020 
   1021   -help | --help | --hel | --he | -h)
   1022     ac_init_help=long ;;
   1023   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1024     ac_init_help=recursive ;;
   1025   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1026     ac_init_help=short ;;
   1027 
   1028   -host | --host | --hos | --ho)
   1029     ac_prev=host_alias ;;
   1030   -host=* | --host=* | --hos=* | --ho=*)
   1031     host_alias=$ac_optarg ;;
   1032 
   1033   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1034     ac_prev=htmldir ;;
   1035   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1036   | --ht=*)
   1037     htmldir=$ac_optarg ;;
   1038 
   1039   -includedir | --includedir | --includedi | --included | --include \
   1040   | --includ | --inclu | --incl | --inc)
   1041     ac_prev=includedir ;;
   1042   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1043   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1044     includedir=$ac_optarg ;;
   1045 
   1046   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1047     ac_prev=infodir ;;
   1048   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1049     infodir=$ac_optarg ;;
   1050 
   1051   -libdir | --libdir | --libdi | --libd)
   1052     ac_prev=libdir ;;
   1053   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1054     libdir=$ac_optarg ;;
   1055 
   1056   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1057   | --libexe | --libex | --libe)
   1058     ac_prev=libexecdir ;;
   1059   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1060   | --libexe=* | --libex=* | --libe=*)
   1061     libexecdir=$ac_optarg ;;
   1062 
   1063   -localedir | --localedir | --localedi | --localed | --locale)
   1064     ac_prev=localedir ;;
   1065   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1066     localedir=$ac_optarg ;;
   1067 
   1068   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1069   | --localstate | --localstat | --localsta | --localst | --locals)
   1070     ac_prev=localstatedir ;;
   1071   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1072   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1073     localstatedir=$ac_optarg ;;
   1074 
   1075   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1076     ac_prev=mandir ;;
   1077   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1078     mandir=$ac_optarg ;;
   1079 
   1080   -nfp | --nfp | --nf)
   1081     # Obsolete; use --without-fp.
   1082     with_fp=no ;;
   1083 
   1084   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1085   | --no-cr | --no-c | -n)
   1086     no_create=yes ;;
   1087 
   1088   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1089   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1090     no_recursion=yes ;;
   1091 
   1092   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1093   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1094   | --oldin | --oldi | --old | --ol | --o)
   1095     ac_prev=oldincludedir ;;
   1096   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1097   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1098   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1099     oldincludedir=$ac_optarg ;;
   1100 
   1101   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1102     ac_prev=prefix ;;
   1103   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1104     prefix=$ac_optarg ;;
   1105 
   1106   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1107   | --program-pre | --program-pr | --program-p)
   1108     ac_prev=program_prefix ;;
   1109   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1110   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1111     program_prefix=$ac_optarg ;;
   1112 
   1113   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1114   | --program-suf | --program-su | --program-s)
   1115     ac_prev=program_suffix ;;
   1116   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1117   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1118     program_suffix=$ac_optarg ;;
   1119 
   1120   -program-transform-name | --program-transform-name \
   1121   | --program-transform-nam | --program-transform-na \
   1122   | --program-transform-n | --program-transform- \
   1123   | --program-transform | --program-transfor \
   1124   | --program-transfo | --program-transf \
   1125   | --program-trans | --program-tran \
   1126   | --progr-tra | --program-tr | --program-t)
   1127     ac_prev=program_transform_name ;;
   1128   -program-transform-name=* | --program-transform-name=* \
   1129   | --program-transform-nam=* | --program-transform-na=* \
   1130   | --program-transform-n=* | --program-transform-=* \
   1131   | --program-transform=* | --program-transfor=* \
   1132   | --program-transfo=* | --program-transf=* \
   1133   | --program-trans=* | --program-tran=* \
   1134   | --progr-tra=* | --program-tr=* | --program-t=*)
   1135     program_transform_name=$ac_optarg ;;
   1136 
   1137   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1138     ac_prev=pdfdir ;;
   1139   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1140     pdfdir=$ac_optarg ;;
   1141 
   1142   -psdir | --psdir | --psdi | --psd | --ps)
   1143     ac_prev=psdir ;;
   1144   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1145     psdir=$ac_optarg ;;
   1146 
   1147   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1148   | -silent | --silent | --silen | --sile | --sil)
   1149     silent=yes ;;
   1150 
   1151   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1152   | --runstate | --runstat | --runsta | --runst | --runs \
   1153   | --run | --ru | --r)
   1154     ac_prev=runstatedir ;;
   1155   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1156   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1157   | --run=* | --ru=* | --r=*)
   1158     runstatedir=$ac_optarg ;;
   1159 
   1160   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1161     ac_prev=sbindir ;;
   1162   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1163   | --sbi=* | --sb=*)
   1164     sbindir=$ac_optarg ;;
   1165 
   1166   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1167   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1168   | --sharedst | --shareds | --shared | --share | --shar \
   1169   | --sha | --sh)
   1170     ac_prev=sharedstatedir ;;
   1171   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1172   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1173   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1174   | --sha=* | --sh=*)
   1175     sharedstatedir=$ac_optarg ;;
   1176 
   1177   -site | --site | --sit)
   1178     ac_prev=site ;;
   1179   -site=* | --site=* | --sit=*)
   1180     site=$ac_optarg ;;
   1181 
   1182   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1183     ac_prev=srcdir ;;
   1184   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1185     srcdir=$ac_optarg ;;
   1186 
   1187   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1188   | --syscon | --sysco | --sysc | --sys | --sy)
   1189     ac_prev=sysconfdir ;;
   1190   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1191   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1192     sysconfdir=$ac_optarg ;;
   1193 
   1194   -target | --target | --targe | --targ | --tar | --ta | --t)
   1195     ac_prev=target_alias ;;
   1196   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1197     target_alias=$ac_optarg ;;
   1198 
   1199   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1200     verbose=yes ;;
   1201 
   1202   -version | --version | --versio | --versi | --vers | -V)
   1203     ac_init_version=: ;;
   1204 
   1205   -with-* | --with-*)
   1206     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1207     # Reject names that are not valid shell variable names.
   1208     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1209       as_fn_error $? "invalid package name: '$ac_useropt'"
   1210     ac_useropt_orig=$ac_useropt
   1211     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1212     case $ac_user_opts in
   1213       *"
   1214 "with_$ac_useropt"
   1215 "*) ;;
   1216       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1217 	 ac_unrecognized_sep=', ';;
   1218     esac
   1219     eval with_$ac_useropt=\$ac_optarg ;;
   1220 
   1221   -without-* | --without-*)
   1222     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1223     # Reject names that are not valid shell variable names.
   1224     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1225       as_fn_error $? "invalid package name: '$ac_useropt'"
   1226     ac_useropt_orig=$ac_useropt
   1227     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1228     case $ac_user_opts in
   1229       *"
   1230 "with_$ac_useropt"
   1231 "*) ;;
   1232       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1233 	 ac_unrecognized_sep=', ';;
   1234     esac
   1235     eval with_$ac_useropt=no ;;
   1236 
   1237   --x)
   1238     # Obsolete; use --with-x.
   1239     with_x=yes ;;
   1240 
   1241   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1242   | --x-incl | --x-inc | --x-in | --x-i)
   1243     ac_prev=x_includes ;;
   1244   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1245   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1246     x_includes=$ac_optarg ;;
   1247 
   1248   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1249   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1250     ac_prev=x_libraries ;;
   1251   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1252   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1253     x_libraries=$ac_optarg ;;
   1254 
   1255   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1256 Try '$0 --help' for more information"
   1257     ;;
   1258 
   1259   *=*)
   1260     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1261     # Reject names that are not valid shell variable names.
   1262     case $ac_envvar in #(
   1263       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1264       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1265     esac
   1266     eval $ac_envvar=\$ac_optarg
   1267     export $ac_envvar ;;
   1268 
   1269   *)
   1270     # FIXME: should be removed in autoconf 3.0.
   1271     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1272     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1273       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1274     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1275     ;;
   1276 
   1277   esac
   1278 done
   1279 
   1280 if test -n "$ac_prev"; then
   1281   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1282   as_fn_error $? "missing argument to $ac_option"
   1283 fi
   1284 
   1285 if test -n "$ac_unrecognized_opts"; then
   1286   case $enable_option_checking in
   1287     no) ;;
   1288     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1289     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1290   esac
   1291 fi
   1292 
   1293 # Check all directory arguments for consistency.
   1294 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1295 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1296 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1297 		libdir localedir mandir runstatedir
   1298 do
   1299   eval ac_val=\$$ac_var
   1300   # Remove trailing slashes.
   1301   case $ac_val in
   1302     */ )
   1303       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1304       eval $ac_var=\$ac_val;;
   1305   esac
   1306   # Be sure to have absolute directory names.
   1307   case $ac_val in
   1308     [\\/$]* | ?:[\\/]* )  continue;;
   1309     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1310   esac
   1311   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1312 done
   1313 
   1314 # There might be people who depend on the old broken behavior: '$host'
   1315 # used to hold the argument of --host etc.
   1316 # FIXME: To remove some day.
   1317 build=$build_alias
   1318 host=$host_alias
   1319 target=$target_alias
   1320 
   1321 # FIXME: To remove some day.
   1322 if test "x$host_alias" != x; then
   1323   if test "x$build_alias" = x; then
   1324     cross_compiling=maybe
   1325   elif test "x$build_alias" != "x$host_alias"; then
   1326     cross_compiling=yes
   1327   fi
   1328 fi
   1329 
   1330 ac_tool_prefix=
   1331 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1332 
   1333 test "$silent" = yes && exec 6>/dev/null
   1334 
   1335 
   1336 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1337 ac_ls_di=`ls -di .` &&
   1338 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1339   as_fn_error $? "working directory cannot be determined"
   1340 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1341   as_fn_error $? "pwd does not report name of working directory"
   1342 
   1343 
   1344 # Find the source files, if location was not specified.
   1345 if test -z "$srcdir"; then
   1346   ac_srcdir_defaulted=yes
   1347   # Try the directory containing this script, then the parent directory.
   1348   ac_confdir=`$as_dirname -- "$as_myself" ||
   1349 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1350 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1351 	 X"$as_myself" : 'X\(//\)$' \| \
   1352 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1353 printf "%s\n" X"$as_myself" |
   1354     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1355 	    s//\1/
   1356 	    q
   1357 	  }
   1358 	  /^X\(\/\/\)[^/].*/{
   1359 	    s//\1/
   1360 	    q
   1361 	  }
   1362 	  /^X\(\/\/\)$/{
   1363 	    s//\1/
   1364 	    q
   1365 	  }
   1366 	  /^X\(\/\).*/{
   1367 	    s//\1/
   1368 	    q
   1369 	  }
   1370 	  s/.*/./; q'`
   1371   srcdir=$ac_confdir
   1372   if test ! -r "$srcdir/$ac_unique_file"; then
   1373     srcdir=..
   1374   fi
   1375 else
   1376   ac_srcdir_defaulted=no
   1377 fi
   1378 if test ! -r "$srcdir/$ac_unique_file"; then
   1379   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1380   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1381 fi
   1382 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1383 ac_abs_confdir=`(
   1384 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1385 	pwd)`
   1386 # When building in place, set srcdir=.
   1387 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1388   srcdir=.
   1389 fi
   1390 # Remove unnecessary trailing slashes from srcdir.
   1391 # Double slashes in file names in object file debugging info
   1392 # mess up M-x gdb in Emacs.
   1393 case $srcdir in
   1394 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1395 esac
   1396 for ac_var in $ac_precious_vars; do
   1397   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1398   eval ac_env_${ac_var}_value=\$${ac_var}
   1399   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1400   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1401 done
   1402 
   1403 #
   1404 # Report the --help message.
   1405 #
   1406 if test "$ac_init_help" = "long"; then
   1407   # Omit some internal or obsolete options to make the list less imposing.
   1408   # This message is too long to be a string in the A/UX 3.1 sh.
   1409   cat <<_ACEOF
   1410 'configure' configures xf86-video-r128 6.13.0 to adapt to many kinds of systems.
   1411 
   1412 Usage: $0 [OPTION]... [VAR=VALUE]...
   1413 
   1414 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1415 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1416 
   1417 Defaults for the options are specified in brackets.
   1418 
   1419 Configuration:
   1420   -h, --help              display this help and exit
   1421       --help=short        display options specific to this package
   1422       --help=recursive    display the short help of all the included packages
   1423   -V, --version           display version information and exit
   1424   -q, --quiet, --silent   do not print 'checking ...' messages
   1425       --cache-file=FILE   cache test results in FILE [disabled]
   1426   -C, --config-cache      alias for '--cache-file=config.cache'
   1427   -n, --no-create         do not create output files
   1428       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1429 
   1430 Installation directories:
   1431   --prefix=PREFIX         install architecture-independent files in PREFIX
   1432                           [$ac_default_prefix]
   1433   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1434                           [PREFIX]
   1435 
   1436 By default, 'make install' will install all the files in
   1437 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1438 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1439 for instance '--prefix=\$HOME'.
   1440 
   1441 For better control, use the options below.
   1442 
   1443 Fine tuning of the installation directories:
   1444   --bindir=DIR            user executables [EPREFIX/bin]
   1445   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1446   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1447   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1448   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1449   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1450   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1451   --libdir=DIR            object code libraries [EPREFIX/lib]
   1452   --includedir=DIR        C header files [PREFIX/include]
   1453   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1454   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1455   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1456   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1457   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1458   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1459   --docdir=DIR            documentation root [DATAROOTDIR/doc/xf86-video-r128]
   1460   --htmldir=DIR           html documentation [DOCDIR]
   1461   --dvidir=DIR            dvi documentation [DOCDIR]
   1462   --pdfdir=DIR            pdf documentation [DOCDIR]
   1463   --psdir=DIR             ps documentation [DOCDIR]
   1464 _ACEOF
   1465 
   1466   cat <<\_ACEOF
   1467 
   1468 Program names:
   1469   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1470   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1471   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1472 
   1473 System types:
   1474   --build=BUILD     configure for building on BUILD [guessed]
   1475   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1476 _ACEOF
   1477 fi
   1478 
   1479 if test -n "$ac_init_help"; then
   1480   case $ac_init_help in
   1481      short | recursive ) echo "Configuration of xf86-video-r128 6.13.0:";;
   1482    esac
   1483   cat <<\_ACEOF
   1484 
   1485 Optional Features:
   1486   --disable-option-checking  ignore unrecognized --enable/--with options
   1487   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1488   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1489   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1490   --disable-silent-rules  verbose build output (undo: "make V=0")
   1491   --enable-dependency-tracking
   1492                           do not reject slow dependency extractors
   1493   --disable-dependency-tracking
   1494                           speeds up one-time build
   1495   --disable-selective-werror
   1496                           Turn off selective compiler errors. (default:
   1497                           enabled)
   1498   --enable-strict-compilation
   1499                           Enable all warnings from compiler and make them
   1500                           errors (default: disabled)
   1501   --enable-static[=PKGS]  build static libraries [default=no]
   1502   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1503   --enable-pic[=PKGS]     try to use only PIC/non-PIC objects [default=use
   1504                           both]
   1505   --enable-fast-install[=PKGS]
   1506                           optimize for fast installation [default=yes]
   1507   --enable-aix-soname=aix|svr4|both
   1508                           shared library versioning (aka "SONAME") variant to
   1509                           provide on AIX, [default=aix].
   1510   --disable-libtool-lock  avoid locking (might break parallel builds)
   1511   --disable-dri           Disable DRI support [[default=auto]]
   1512   --disable-exa           Disable EXA support [[default=enabled]]
   1513 
   1514 Optional Packages:
   1515   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1516   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1517   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1518   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1519                           compiler's sysroot if not specified).
   1520   --with-xorg-module-dir=DIR
   1521                           Default xorg module directory
   1522                           [[default=$libdir/xorg/modules]]
   1523 
   1524 Some influential environment variables:
   1525   CC          C compiler command
   1526   CFLAGS      C compiler flags
   1527   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1528               nonstandard directory <lib dir>
   1529   LIBS        libraries to pass to the linker, e.g. -l<library>
   1530   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1531               you have headers in a nonstandard directory <include dir>
   1532   PKG_CONFIG  path to pkg-config utility
   1533   PKG_CONFIG_PATH
   1534               directories to add to pkg-config's search path
   1535   PKG_CONFIG_LIBDIR
   1536               path overriding pkg-config's built-in search path
   1537   LT_SYS_LIBRARY_PATH
   1538               User-defined run-time library search path.
   1539   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1540   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1541   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
   1542   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
   1543   DRI_CFLAGS  C compiler flags for DRI, overriding pkg-config
   1544   DRI_LIBS    linker flags for DRI, overriding pkg-config
   1545   CPP         C preprocessor
   1546   PCIACCESS_CFLAGS
   1547               C compiler flags for PCIACCESS, overriding pkg-config
   1548   PCIACCESS_LIBS
   1549               linker flags for PCIACCESS, overriding pkg-config
   1550 
   1551 Use these variables to override the choices made by 'configure' or to help
   1552 it to find libraries and programs with nonstandard names/locations.
   1553 
   1554 Report bugs to <https://gitlab.freedesktop.org/xorg/driver/xf86-video-r128/-/issues>.
   1555 _ACEOF
   1556 ac_status=$?
   1557 fi
   1558 
   1559 if test "$ac_init_help" = "recursive"; then
   1560   # If there are subdirs, report their specific --help.
   1561   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1562     test -d "$ac_dir" ||
   1563       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1564       continue
   1565     ac_builddir=.
   1566 
   1567 case "$ac_dir" in
   1568 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1569 *)
   1570   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1571   # A ".." for each directory in $ac_dir_suffix.
   1572   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1573   case $ac_top_builddir_sub in
   1574   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1575   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1576   esac ;;
   1577 esac
   1578 ac_abs_top_builddir=$ac_pwd
   1579 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1580 # for backward compatibility:
   1581 ac_top_builddir=$ac_top_build_prefix
   1582 
   1583 case $srcdir in
   1584   .)  # We are building in place.
   1585     ac_srcdir=.
   1586     ac_top_srcdir=$ac_top_builddir_sub
   1587     ac_abs_top_srcdir=$ac_pwd ;;
   1588   [\\/]* | ?:[\\/]* )  # Absolute name.
   1589     ac_srcdir=$srcdir$ac_dir_suffix;
   1590     ac_top_srcdir=$srcdir
   1591     ac_abs_top_srcdir=$srcdir ;;
   1592   *) # Relative name.
   1593     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1594     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1595     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1596 esac
   1597 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1598 
   1599     cd "$ac_dir" || { ac_status=$?; continue; }
   1600     # Check for configure.gnu first; this name is used for a wrapper for
   1601     # Metaconfig's "Configure" on case-insensitive file systems.
   1602     if test -f "$ac_srcdir/configure.gnu"; then
   1603       echo &&
   1604       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1605     elif test -f "$ac_srcdir/configure"; then
   1606       echo &&
   1607       $SHELL "$ac_srcdir/configure" --help=recursive
   1608     else
   1609       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1610     fi || ac_status=$?
   1611     cd "$ac_pwd" || { ac_status=$?; break; }
   1612   done
   1613 fi
   1614 
   1615 test -n "$ac_init_help" && exit $ac_status
   1616 if $ac_init_version; then
   1617   cat <<\_ACEOF
   1618 xf86-video-r128 configure 6.13.0
   1619 generated by GNU Autoconf 2.72
   1620 
   1621 Copyright (C) 2023 Free Software Foundation, Inc.
   1622 This configure script is free software; the Free Software Foundation
   1623 gives unlimited permission to copy, distribute and modify it.
   1624 _ACEOF
   1625   exit
   1626 fi
   1627 
   1628 ## ------------------------ ##
   1629 ## Autoconf initialization. ##
   1630 ## ------------------------ ##
   1631 
   1632 # ac_fn_c_try_compile LINENO
   1633 # --------------------------
   1634 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1635 ac_fn_c_try_compile ()
   1636 {
   1637   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1638   rm -f conftest.$ac_objext conftest.beam
   1639   if { { ac_try="$ac_compile"
   1640 case "(($ac_try" in
   1641   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1642   *) ac_try_echo=$ac_try;;
   1643 esac
   1644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1645 printf "%s\n" "$ac_try_echo"; } >&5
   1646   (eval "$ac_compile") 2>conftest.err
   1647   ac_status=$?
   1648   if test -s conftest.err; then
   1649     grep -v '^ *+' conftest.err >conftest.er1
   1650     cat conftest.er1 >&5
   1651     mv -f conftest.er1 conftest.err
   1652   fi
   1653   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1654   test $ac_status = 0; } && {
   1655 	 test -z "$ac_c_werror_flag" ||
   1656 	 test ! -s conftest.err
   1657        } && test -s conftest.$ac_objext
   1658 then :
   1659   ac_retval=0
   1660 else case e in #(
   1661   e) printf "%s\n" "$as_me: failed program was:" >&5
   1662 sed 's/^/| /' conftest.$ac_ext >&5
   1663 
   1664 	ac_retval=1 ;;
   1665 esac
   1666 fi
   1667   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1668   as_fn_set_status $ac_retval
   1669 
   1670 } # ac_fn_c_try_compile
   1671 
   1672 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1673 # ------------------------------------------------------------------
   1674 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1675 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1676 ac_fn_check_decl ()
   1677 {
   1678   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1679   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1680   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1681 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1682 if eval test \${$3+y}
   1683 then :
   1684   printf %s "(cached) " >&6
   1685 else case e in #(
   1686   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1687   eval ac_save_FLAGS=\$$6
   1688   as_fn_append $6 " $5"
   1689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1690 /* end confdefs.h.  */
   1691 $4
   1692 int
   1693 main (void)
   1694 {
   1695 #ifndef $as_decl_name
   1696 #ifdef __cplusplus
   1697   (void) $as_decl_use;
   1698 #else
   1699   (void) $as_decl_name;
   1700 #endif
   1701 #endif
   1702 
   1703   ;
   1704   return 0;
   1705 }
   1706 _ACEOF
   1707 if ac_fn_c_try_compile "$LINENO"
   1708 then :
   1709   eval "$3=yes"
   1710 else case e in #(
   1711   e) eval "$3=no" ;;
   1712 esac
   1713 fi
   1714 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1715   eval $6=\$ac_save_FLAGS
   1716  ;;
   1717 esac
   1718 fi
   1719 eval ac_res=\$$3
   1720 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1721 printf "%s\n" "$ac_res" >&6; }
   1722   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1723 
   1724 } # ac_fn_check_decl
   1725 
   1726 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1727 # -------------------------------------------------------
   1728 # Tests whether HEADER exists and can be compiled using the include files in
   1729 # INCLUDES, setting the cache variable VAR accordingly.
   1730 ac_fn_c_check_header_compile ()
   1731 {
   1732   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1733   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1734 printf %s "checking for $2... " >&6; }
   1735 if eval test \${$3+y}
   1736 then :
   1737   printf %s "(cached) " >&6
   1738 else case e in #(
   1739   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1740 /* end confdefs.h.  */
   1741 $4
   1742 #include <$2>
   1743 _ACEOF
   1744 if ac_fn_c_try_compile "$LINENO"
   1745 then :
   1746   eval "$3=yes"
   1747 else case e in #(
   1748   e) eval "$3=no" ;;
   1749 esac
   1750 fi
   1751 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1752 esac
   1753 fi
   1754 eval ac_res=\$$3
   1755 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1756 printf "%s\n" "$ac_res" >&6; }
   1757   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1758 
   1759 } # ac_fn_c_check_header_compile
   1760 
   1761 # ac_fn_c_try_link LINENO
   1762 # -----------------------
   1763 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1764 ac_fn_c_try_link ()
   1765 {
   1766   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1767   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1768   if { { ac_try="$ac_link"
   1769 case "(($ac_try" in
   1770   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1771   *) ac_try_echo=$ac_try;;
   1772 esac
   1773 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1774 printf "%s\n" "$ac_try_echo"; } >&5
   1775   (eval "$ac_link") 2>conftest.err
   1776   ac_status=$?
   1777   if test -s conftest.err; then
   1778     grep -v '^ *+' conftest.err >conftest.er1
   1779     cat conftest.er1 >&5
   1780     mv -f conftest.er1 conftest.err
   1781   fi
   1782   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1783   test $ac_status = 0; } && {
   1784 	 test -z "$ac_c_werror_flag" ||
   1785 	 test ! -s conftest.err
   1786        } && test -s conftest$ac_exeext && {
   1787 	 test "$cross_compiling" = yes ||
   1788 	 test -x conftest$ac_exeext
   1789        }
   1790 then :
   1791   ac_retval=0
   1792 else case e in #(
   1793   e) printf "%s\n" "$as_me: failed program was:" >&5
   1794 sed 's/^/| /' conftest.$ac_ext >&5
   1795 
   1796 	ac_retval=1 ;;
   1797 esac
   1798 fi
   1799   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1800   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1801   # interfere with the next link command; also delete a directory that is
   1802   # left behind by Apple's compiler.  We do this before executing the actions.
   1803   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1804   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1805   as_fn_set_status $ac_retval
   1806 
   1807 } # ac_fn_c_try_link
   1808 
   1809 # ac_fn_c_check_func LINENO FUNC VAR
   1810 # ----------------------------------
   1811 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1812 ac_fn_c_check_func ()
   1813 {
   1814   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1815   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1816 printf %s "checking for $2... " >&6; }
   1817 if eval test \${$3+y}
   1818 then :
   1819   printf %s "(cached) " >&6
   1820 else case e in #(
   1821   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1822 /* end confdefs.h.  */
   1823 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1824    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1825 #define $2 innocuous_$2
   1826 
   1827 /* System header to define __stub macros and hopefully few prototypes,
   1828    which can conflict with char $2 (void); below.  */
   1829 
   1830 #include <limits.h>
   1831 #undef $2
   1832 
   1833 /* Override any GCC internal prototype to avoid an error.
   1834    Use char because int might match the return type of a GCC
   1835    builtin and then its argument prototype would still apply.  */
   1836 #ifdef __cplusplus
   1837 extern "C"
   1838 #endif
   1839 char $2 (void);
   1840 /* The GNU C library defines this for functions which it implements
   1841     to always fail with ENOSYS.  Some functions are actually named
   1842     something starting with __ and the normal name is an alias.  */
   1843 #if defined __stub_$2 || defined __stub___$2
   1844 choke me
   1845 #endif
   1846 
   1847 int
   1848 main (void)
   1849 {
   1850 return $2 ();
   1851   ;
   1852   return 0;
   1853 }
   1854 _ACEOF
   1855 if ac_fn_c_try_link "$LINENO"
   1856 then :
   1857   eval "$3=yes"
   1858 else case e in #(
   1859   e) eval "$3=no" ;;
   1860 esac
   1861 fi
   1862 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1863     conftest$ac_exeext conftest.$ac_ext ;;
   1864 esac
   1865 fi
   1866 eval ac_res=\$$3
   1867 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1868 printf "%s\n" "$ac_res" >&6; }
   1869   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1870 
   1871 } # ac_fn_c_check_func
   1872 
   1873 # ac_fn_c_try_cpp LINENO
   1874 # ----------------------
   1875 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1876 ac_fn_c_try_cpp ()
   1877 {
   1878   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1879   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1880 case "(($ac_try" in
   1881   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1882   *) ac_try_echo=$ac_try;;
   1883 esac
   1884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1885 printf "%s\n" "$ac_try_echo"; } >&5
   1886   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1887   ac_status=$?
   1888   if test -s conftest.err; then
   1889     grep -v '^ *+' conftest.err >conftest.er1
   1890     cat conftest.er1 >&5
   1891     mv -f conftest.er1 conftest.err
   1892   fi
   1893   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1894   test $ac_status = 0; } > conftest.i && {
   1895 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1896 	 test ! -s conftest.err
   1897        }
   1898 then :
   1899   ac_retval=0
   1900 else case e in #(
   1901   e) printf "%s\n" "$as_me: failed program was:" >&5
   1902 sed 's/^/| /' conftest.$ac_ext >&5
   1903 
   1904     ac_retval=1 ;;
   1905 esac
   1906 fi
   1907   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1908   as_fn_set_status $ac_retval
   1909 
   1910 } # ac_fn_c_try_cpp
   1911 ac_configure_args_raw=
   1912 for ac_arg
   1913 do
   1914   case $ac_arg in
   1915   *\'*)
   1916     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1917   esac
   1918   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1919 done
   1920 
   1921 case $ac_configure_args_raw in
   1922   *$as_nl*)
   1923     ac_safe_unquote= ;;
   1924   *)
   1925     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1926     ac_unsafe_a="$ac_unsafe_z#~"
   1927     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1928     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1929 esac
   1930 
   1931 cat >config.log <<_ACEOF
   1932 This file contains any messages produced by compilers while
   1933 running configure, to aid debugging if configure makes a mistake.
   1934 
   1935 It was created by xf86-video-r128 $as_me 6.13.0, which was
   1936 generated by GNU Autoconf 2.72.  Invocation command line was
   1937 
   1938   $ $0$ac_configure_args_raw
   1939 
   1940 _ACEOF
   1941 exec 5>>config.log
   1942 {
   1943 cat <<_ASUNAME
   1944 ## --------- ##
   1945 ## Platform. ##
   1946 ## --------- ##
   1947 
   1948 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1949 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1950 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1951 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1952 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1953 
   1954 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1955 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1956 
   1957 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1958 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1959 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1960 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1961 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1962 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1963 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1964 
   1965 _ASUNAME
   1966 
   1967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1968 for as_dir in $PATH
   1969 do
   1970   IFS=$as_save_IFS
   1971   case $as_dir in #(((
   1972     '') as_dir=./ ;;
   1973     */) ;;
   1974     *) as_dir=$as_dir/ ;;
   1975   esac
   1976     printf "%s\n" "PATH: $as_dir"
   1977   done
   1978 IFS=$as_save_IFS
   1979 
   1980 } >&5
   1981 
   1982 cat >&5 <<_ACEOF
   1983 
   1984 
   1985 ## ----------- ##
   1986 ## Core tests. ##
   1987 ## ----------- ##
   1988 
   1989 _ACEOF
   1990 
   1991 
   1992 # Keep a trace of the command line.
   1993 # Strip out --no-create and --no-recursion so they do not pile up.
   1994 # Strip out --silent because we don't want to record it for future runs.
   1995 # Also quote any args containing shell meta-characters.
   1996 # Make two passes to allow for proper duplicate-argument suppression.
   1997 ac_configure_args=
   1998 ac_configure_args0=
   1999 ac_configure_args1=
   2000 ac_must_keep_next=false
   2001 for ac_pass in 1 2
   2002 do
   2003   for ac_arg
   2004   do
   2005     case $ac_arg in
   2006     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2007     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2008     | -silent | --silent | --silen | --sile | --sil)
   2009       continue ;;
   2010     *\'*)
   2011       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2012     esac
   2013     case $ac_pass in
   2014     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2015     2)
   2016       as_fn_append ac_configure_args1 " '$ac_arg'"
   2017       if test $ac_must_keep_next = true; then
   2018 	ac_must_keep_next=false # Got value, back to normal.
   2019       else
   2020 	case $ac_arg in
   2021 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2022 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2023 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2024 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2025 	    case "$ac_configure_args0 " in
   2026 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2027 	    esac
   2028 	    ;;
   2029 	  -* ) ac_must_keep_next=true ;;
   2030 	esac
   2031       fi
   2032       as_fn_append ac_configure_args " '$ac_arg'"
   2033       ;;
   2034     esac
   2035   done
   2036 done
   2037 { ac_configure_args0=; unset ac_configure_args0;}
   2038 { ac_configure_args1=; unset ac_configure_args1;}
   2039 
   2040 # When interrupted or exit'd, cleanup temporary files, and complete
   2041 # config.log.  We remove comments because anyway the quotes in there
   2042 # would cause problems or look ugly.
   2043 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2044 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2045 trap 'exit_status=$?
   2046   # Sanitize IFS.
   2047   IFS=" ""	$as_nl"
   2048   # Save into config.log some information that might help in debugging.
   2049   {
   2050     echo
   2051 
   2052     printf "%s\n" "## ---------------- ##
   2053 ## Cache variables. ##
   2054 ## ---------------- ##"
   2055     echo
   2056     # The following way of writing the cache mishandles newlines in values,
   2057 (
   2058   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2059     eval ac_val=\$$ac_var
   2060     case $ac_val in #(
   2061     *${as_nl}*)
   2062       case $ac_var in #(
   2063       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2064 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2065       esac
   2066       case $ac_var in #(
   2067       _ | IFS | as_nl) ;; #(
   2068       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2069       *) { eval $ac_var=; unset $ac_var;} ;;
   2070       esac ;;
   2071     esac
   2072   done
   2073   (set) 2>&1 |
   2074     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2075     *${as_nl}ac_space=\ *)
   2076       sed -n \
   2077 	"s/'\''/'\''\\\\'\'''\''/g;
   2078 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2079       ;; #(
   2080     *)
   2081       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2082       ;;
   2083     esac |
   2084     sort
   2085 )
   2086     echo
   2087 
   2088     printf "%s\n" "## ----------------- ##
   2089 ## Output variables. ##
   2090 ## ----------------- ##"
   2091     echo
   2092     for ac_var in $ac_subst_vars
   2093     do
   2094       eval ac_val=\$$ac_var
   2095       case $ac_val in
   2096       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2097       esac
   2098       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2099     done | sort
   2100     echo
   2101 
   2102     if test -n "$ac_subst_files"; then
   2103       printf "%s\n" "## ------------------- ##
   2104 ## File substitutions. ##
   2105 ## ------------------- ##"
   2106       echo
   2107       for ac_var in $ac_subst_files
   2108       do
   2109 	eval ac_val=\$$ac_var
   2110 	case $ac_val in
   2111 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2112 	esac
   2113 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2114       done | sort
   2115       echo
   2116     fi
   2117 
   2118     if test -s confdefs.h; then
   2119       printf "%s\n" "## ----------- ##
   2120 ## confdefs.h. ##
   2121 ## ----------- ##"
   2122       echo
   2123       cat confdefs.h
   2124       echo
   2125     fi
   2126     test "$ac_signal" != 0 &&
   2127       printf "%s\n" "$as_me: caught signal $ac_signal"
   2128     printf "%s\n" "$as_me: exit $exit_status"
   2129   } >&5
   2130   rm -f core *.core core.conftest.* &&
   2131     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2132     exit $exit_status
   2133 ' 0
   2134 for ac_signal in 1 2 13 15; do
   2135   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2136 done
   2137 ac_signal=0
   2138 
   2139 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2140 rm -f -r conftest* confdefs.h
   2141 
   2142 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2143 
   2144 # Predefined preprocessor variables.
   2145 
   2146 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2147 
   2148 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2149 
   2150 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2151 
   2152 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2153 
   2154 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2155 
   2156 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2157 
   2158 
   2159 # Let the site file select an alternate cache file if it wants to.
   2160 # Prefer an explicitly selected file to automatically selected ones.
   2161 if test -n "$CONFIG_SITE"; then
   2162   ac_site_files="$CONFIG_SITE"
   2163 elif test "x$prefix" != xNONE; then
   2164   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2165 else
   2166   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2167 fi
   2168 
   2169 for ac_site_file in $ac_site_files
   2170 do
   2171   case $ac_site_file in #(
   2172   */*) :
   2173      ;; #(
   2174   *) :
   2175     ac_site_file=./$ac_site_file ;;
   2176 esac
   2177   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2178     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2179 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2180     sed 's/^/| /' "$ac_site_file" >&5
   2181     . "$ac_site_file" \
   2182       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2183 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2184 as_fn_error $? "failed to load site script $ac_site_file
   2185 See 'config.log' for more details" "$LINENO" 5; }
   2186   fi
   2187 done
   2188 
   2189 if test -r "$cache_file"; then
   2190   # Some versions of bash will fail to source /dev/null (special files
   2191   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2192   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2193     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2194 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2195     case $cache_file in
   2196       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2197       *)                      . "./$cache_file";;
   2198     esac
   2199   fi
   2200 else
   2201   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2202 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2203   >$cache_file
   2204 fi
   2205 
   2206 # Test code for whether the C compiler supports C89 (global declarations)
   2207 ac_c_conftest_c89_globals='
   2208 /* Does the compiler advertise C89 conformance?
   2209    Do not test the value of __STDC__, because some compilers set it to 0
   2210    while being otherwise adequately conformant. */
   2211 #if !defined __STDC__
   2212 # error "Compiler does not advertise C89 conformance"
   2213 #endif
   2214 
   2215 #include <stddef.h>
   2216 #include <stdarg.h>
   2217 struct stat;
   2218 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2219 struct buf { int x; };
   2220 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2221 static char *e (char **p, int i)
   2222 {
   2223   return p[i];
   2224 }
   2225 static char *f (char * (*g) (char **, int), char **p, ...)
   2226 {
   2227   char *s;
   2228   va_list v;
   2229   va_start (v,p);
   2230   s = g (p, va_arg (v,int));
   2231   va_end (v);
   2232   return s;
   2233 }
   2234 
   2235 /* C89 style stringification. */
   2236 #define noexpand_stringify(a) #a
   2237 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2238 
   2239 /* C89 style token pasting.  Exercises some of the corner cases that
   2240    e.g. old MSVC gets wrong, but not very hard. */
   2241 #define noexpand_concat(a,b) a##b
   2242 #define expand_concat(a,b) noexpand_concat(a,b)
   2243 extern int vA;
   2244 extern int vbee;
   2245 #define aye A
   2246 #define bee B
   2247 int *pvA = &expand_concat(v,aye);
   2248 int *pvbee = &noexpand_concat(v,bee);
   2249 
   2250 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2251    function prototypes and stuff, but not \xHH hex character constants.
   2252    These do not provoke an error unfortunately, instead are silently treated
   2253    as an "x".  The following induces an error, until -std is added to get
   2254    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2255    array size at least.  It is necessary to write \x00 == 0 to get something
   2256    that is true only with -std.  */
   2257 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2258 
   2259 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2260    inside strings and character constants.  */
   2261 #define FOO(x) '\''x'\''
   2262 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2263 
   2264 int test (int i, double x);
   2265 struct s1 {int (*f) (int a);};
   2266 struct s2 {int (*f) (double a);};
   2267 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2268                int, int);'
   2269 
   2270 # Test code for whether the C compiler supports C89 (body of main).
   2271 ac_c_conftest_c89_main='
   2272 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2273 '
   2274 
   2275 # Test code for whether the C compiler supports C99 (global declarations)
   2276 ac_c_conftest_c99_globals='
   2277 /* Does the compiler advertise C99 conformance? */
   2278 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2279 # error "Compiler does not advertise C99 conformance"
   2280 #endif
   2281 
   2282 // See if C++-style comments work.
   2283 
   2284 #include <stdbool.h>
   2285 extern int puts (const char *);
   2286 extern int printf (const char *, ...);
   2287 extern int dprintf (int, const char *, ...);
   2288 extern void *malloc (size_t);
   2289 extern void free (void *);
   2290 
   2291 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2292 // dprintf is used instead of fprintf to avoid needing to declare
   2293 // FILE and stderr.
   2294 #define debug(...) dprintf (2, __VA_ARGS__)
   2295 #define showlist(...) puts (#__VA_ARGS__)
   2296 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2297 static void
   2298 test_varargs_macros (void)
   2299 {
   2300   int x = 1234;
   2301   int y = 5678;
   2302   debug ("Flag");
   2303   debug ("X = %d\n", x);
   2304   showlist (The first, second, and third items.);
   2305   report (x>y, "x is %d but y is %d", x, y);
   2306 }
   2307 
   2308 // Check long long types.
   2309 #define BIG64 18446744073709551615ull
   2310 #define BIG32 4294967295ul
   2311 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2312 #if !BIG_OK
   2313   #error "your preprocessor is broken"
   2314 #endif
   2315 #if BIG_OK
   2316 #else
   2317   #error "your preprocessor is broken"
   2318 #endif
   2319 static long long int bignum = -9223372036854775807LL;
   2320 static unsigned long long int ubignum = BIG64;
   2321 
   2322 struct incomplete_array
   2323 {
   2324   int datasize;
   2325   double data[];
   2326 };
   2327 
   2328 struct named_init {
   2329   int number;
   2330   const wchar_t *name;
   2331   double average;
   2332 };
   2333 
   2334 typedef const char *ccp;
   2335 
   2336 static inline int
   2337 test_restrict (ccp restrict text)
   2338 {
   2339   // Iterate through items via the restricted pointer.
   2340   // Also check for declarations in for loops.
   2341   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2342     continue;
   2343   return 0;
   2344 }
   2345 
   2346 // Check varargs and va_copy.
   2347 static bool
   2348 test_varargs (const char *format, ...)
   2349 {
   2350   va_list args;
   2351   va_start (args, format);
   2352   va_list args_copy;
   2353   va_copy (args_copy, args);
   2354 
   2355   const char *str = "";
   2356   int number = 0;
   2357   float fnumber = 0;
   2358 
   2359   while (*format)
   2360     {
   2361       switch (*format++)
   2362 	{
   2363 	case '\''s'\'': // string
   2364 	  str = va_arg (args_copy, const char *);
   2365 	  break;
   2366 	case '\''d'\'': // int
   2367 	  number = va_arg (args_copy, int);
   2368 	  break;
   2369 	case '\''f'\'': // float
   2370 	  fnumber = va_arg (args_copy, double);
   2371 	  break;
   2372 	default:
   2373 	  break;
   2374 	}
   2375     }
   2376   va_end (args_copy);
   2377   va_end (args);
   2378 
   2379   return *str && number && fnumber;
   2380 }
   2381 '
   2382 
   2383 # Test code for whether the C compiler supports C99 (body of main).
   2384 ac_c_conftest_c99_main='
   2385   // Check bool.
   2386   _Bool success = false;
   2387   success |= (argc != 0);
   2388 
   2389   // Check restrict.
   2390   if (test_restrict ("String literal") == 0)
   2391     success = true;
   2392   char *restrict newvar = "Another string";
   2393 
   2394   // Check varargs.
   2395   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2396   test_varargs_macros ();
   2397 
   2398   // Check flexible array members.
   2399   struct incomplete_array *ia =
   2400     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2401   ia->datasize = 10;
   2402   for (int i = 0; i < ia->datasize; ++i)
   2403     ia->data[i] = i * 1.234;
   2404   // Work around memory leak warnings.
   2405   free (ia);
   2406 
   2407   // Check named initializers.
   2408   struct named_init ni = {
   2409     .number = 34,
   2410     .name = L"Test wide string",
   2411     .average = 543.34343,
   2412   };
   2413 
   2414   ni.number = 58;
   2415 
   2416   int dynamic_array[ni.number];
   2417   dynamic_array[0] = argv[0][0];
   2418   dynamic_array[ni.number - 1] = 543;
   2419 
   2420   // work around unused variable warnings
   2421   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2422 	 || dynamic_array[ni.number - 1] != 543);
   2423 '
   2424 
   2425 # Test code for whether the C compiler supports C11 (global declarations)
   2426 ac_c_conftest_c11_globals='
   2427 /* Does the compiler advertise C11 conformance? */
   2428 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2429 # error "Compiler does not advertise C11 conformance"
   2430 #endif
   2431 
   2432 // Check _Alignas.
   2433 char _Alignas (double) aligned_as_double;
   2434 char _Alignas (0) no_special_alignment;
   2435 extern char aligned_as_int;
   2436 char _Alignas (0) _Alignas (int) aligned_as_int;
   2437 
   2438 // Check _Alignof.
   2439 enum
   2440 {
   2441   int_alignment = _Alignof (int),
   2442   int_array_alignment = _Alignof (int[100]),
   2443   char_alignment = _Alignof (char)
   2444 };
   2445 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2446 
   2447 // Check _Noreturn.
   2448 int _Noreturn does_not_return (void) { for (;;) continue; }
   2449 
   2450 // Check _Static_assert.
   2451 struct test_static_assert
   2452 {
   2453   int x;
   2454   _Static_assert (sizeof (int) <= sizeof (long int),
   2455                   "_Static_assert does not work in struct");
   2456   long int y;
   2457 };
   2458 
   2459 // Check UTF-8 literals.
   2460 #define u8 syntax error!
   2461 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2462 
   2463 // Check duplicate typedefs.
   2464 typedef long *long_ptr;
   2465 typedef long int *long_ptr;
   2466 typedef long_ptr long_ptr;
   2467 
   2468 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2469 struct anonymous
   2470 {
   2471   union {
   2472     struct { int i; int j; };
   2473     struct { int k; long int l; } w;
   2474   };
   2475   int m;
   2476 } v1;
   2477 '
   2478 
   2479 # Test code for whether the C compiler supports C11 (body of main).
   2480 ac_c_conftest_c11_main='
   2481   _Static_assert ((offsetof (struct anonymous, i)
   2482 		   == offsetof (struct anonymous, w.k)),
   2483 		  "Anonymous union alignment botch");
   2484   v1.i = 2;
   2485   v1.w.k = 5;
   2486   ok |= v1.i != 5;
   2487 '
   2488 
   2489 # Test code for whether the C compiler supports C11 (complete).
   2490 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2491 ${ac_c_conftest_c99_globals}
   2492 ${ac_c_conftest_c11_globals}
   2493 
   2494 int
   2495 main (int argc, char **argv)
   2496 {
   2497   int ok = 0;
   2498   ${ac_c_conftest_c89_main}
   2499   ${ac_c_conftest_c99_main}
   2500   ${ac_c_conftest_c11_main}
   2501   return ok;
   2502 }
   2503 "
   2504 
   2505 # Test code for whether the C compiler supports C99 (complete).
   2506 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2507 ${ac_c_conftest_c99_globals}
   2508 
   2509 int
   2510 main (int argc, char **argv)
   2511 {
   2512   int ok = 0;
   2513   ${ac_c_conftest_c89_main}
   2514   ${ac_c_conftest_c99_main}
   2515   return ok;
   2516 }
   2517 "
   2518 
   2519 # Test code for whether the C compiler supports C89 (complete).
   2520 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2521 
   2522 int
   2523 main (int argc, char **argv)
   2524 {
   2525   int ok = 0;
   2526   ${ac_c_conftest_c89_main}
   2527   return ok;
   2528 }
   2529 "
   2530 
   2531 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2532 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2533 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2534 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2535 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2536 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2537 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2538 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2539 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2540 
   2541 # Auxiliary files required by this configure script.
   2542 ac_aux_files="ltmain.sh config.guess config.sub compile missing install-sh"
   2543 
   2544 # Locations in which to look for auxiliary files.
   2545 ac_aux_dir_candidates="${srcdir}/."
   2546 
   2547 # Search for a directory containing all of the required auxiliary files,
   2548 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2549 # If we don't find one directory that contains all the files we need,
   2550 # we report the set of missing files from the *first* directory in
   2551 # $ac_aux_dir_candidates and give up.
   2552 ac_missing_aux_files=""
   2553 ac_first_candidate=:
   2554 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2556 as_found=false
   2557 for as_dir in $ac_aux_dir_candidates
   2558 do
   2559   IFS=$as_save_IFS
   2560   case $as_dir in #(((
   2561     '') as_dir=./ ;;
   2562     */) ;;
   2563     *) as_dir=$as_dir/ ;;
   2564   esac
   2565   as_found=:
   2566 
   2567   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2568   ac_aux_dir_found=yes
   2569   ac_install_sh=
   2570   for ac_aux in $ac_aux_files
   2571   do
   2572     # As a special case, if "install-sh" is required, that requirement
   2573     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2574     # and $ac_install_sh is set appropriately for whichever one is found.
   2575     if test x"$ac_aux" = x"install-sh"
   2576     then
   2577       if test -f "${as_dir}install-sh"; then
   2578         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2579         ac_install_sh="${as_dir}install-sh -c"
   2580       elif test -f "${as_dir}install.sh"; then
   2581         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2582         ac_install_sh="${as_dir}install.sh -c"
   2583       elif test -f "${as_dir}shtool"; then
   2584         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2585         ac_install_sh="${as_dir}shtool install -c"
   2586       else
   2587         ac_aux_dir_found=no
   2588         if $ac_first_candidate; then
   2589           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2590         else
   2591           break
   2592         fi
   2593       fi
   2594     else
   2595       if test -f "${as_dir}${ac_aux}"; then
   2596         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2597       else
   2598         ac_aux_dir_found=no
   2599         if $ac_first_candidate; then
   2600           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2601         else
   2602           break
   2603         fi
   2604       fi
   2605     fi
   2606   done
   2607   if test "$ac_aux_dir_found" = yes; then
   2608     ac_aux_dir="$as_dir"
   2609     break
   2610   fi
   2611   ac_first_candidate=false
   2612 
   2613   as_found=false
   2614 done
   2615 IFS=$as_save_IFS
   2616 if $as_found
   2617 then :
   2618 
   2619 else case e in #(
   2620   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2621 esac
   2622 fi
   2623 
   2624 
   2625 # These three variables are undocumented and unsupported,
   2626 # and are intended to be withdrawn in a future Autoconf release.
   2627 # They can cause serious problems if a builder's source tree is in a directory
   2628 # whose full name contains unusual characters.
   2629 if test -f "${ac_aux_dir}config.guess"; then
   2630   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2631 fi
   2632 if test -f "${ac_aux_dir}config.sub"; then
   2633   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2634 fi
   2635 if test -f "$ac_aux_dir/configure"; then
   2636   ac_configure="$SHELL ${ac_aux_dir}configure"
   2637 fi
   2638 
   2639 # Check that the precious variables saved in the cache have kept the same
   2640 # value.
   2641 ac_cache_corrupted=false
   2642 for ac_var in $ac_precious_vars; do
   2643   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2644   eval ac_new_set=\$ac_env_${ac_var}_set
   2645   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2646   eval ac_new_val=\$ac_env_${ac_var}_value
   2647   case $ac_old_set,$ac_new_set in
   2648     set,)
   2649       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2650 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2651       ac_cache_corrupted=: ;;
   2652     ,set)
   2653       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2654 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2655       ac_cache_corrupted=: ;;
   2656     ,);;
   2657     *)
   2658       if test "x$ac_old_val" != "x$ac_new_val"; then
   2659 	# differences in whitespace do not lead to failure.
   2660 	ac_old_val_w=`echo x $ac_old_val`
   2661 	ac_new_val_w=`echo x $ac_new_val`
   2662 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2663 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2664 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2665 	  ac_cache_corrupted=:
   2666 	else
   2667 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2668 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2669 	  eval $ac_var=\$ac_old_val
   2670 	fi
   2671 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2672 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   2673 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2674 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   2675       fi;;
   2676   esac
   2677   # Pass precious variables to config.status.
   2678   if test "$ac_new_set" = set; then
   2679     case $ac_new_val in
   2680     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2681     *) ac_arg=$ac_var=$ac_new_val ;;
   2682     esac
   2683     case " $ac_configure_args " in
   2684       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2685       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2686     esac
   2687   fi
   2688 done
   2689 if $ac_cache_corrupted; then
   2690   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2691 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2692   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2693 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2694   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2695 	    and start over" "$LINENO" 5
   2696 fi
   2697 ## -------------------- ##
   2698 ## Main body of script. ##
   2699 ## -------------------- ##
   2700 
   2701 ac_ext=c
   2702 ac_cpp='$CPP $CPPFLAGS'
   2703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2706 
   2707 
   2708 
   2709 ac_config_headers="$ac_config_headers config.h"
   2710 
   2711 
   2712 
   2713 # Initialize Automake
   2714 am__api_version='1.17'
   2715 
   2716 
   2717 
   2718   # Find a good install program.  We prefer a C program (faster),
   2719 # so one script is as good as another.  But avoid the broken or
   2720 # incompatible versions:
   2721 # SysV /etc/install, /usr/sbin/install
   2722 # SunOS /usr/etc/install
   2723 # IRIX /sbin/install
   2724 # AIX /bin/install
   2725 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2726 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2727 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2728 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2729 # OS/2's system install, which has a completely different semantic
   2730 # ./install, which can be erroneously created by make from ./install.sh.
   2731 # Reject install programs that cannot install multiple files.
   2732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2733 printf %s "checking for a BSD-compatible install... " >&6; }
   2734 if test -z "$INSTALL"; then
   2735 if test ${ac_cv_path_install+y}
   2736 then :
   2737   printf %s "(cached) " >&6
   2738 else case e in #(
   2739   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2740 for as_dir in $PATH
   2741 do
   2742   IFS=$as_save_IFS
   2743   case $as_dir in #(((
   2744     '') as_dir=./ ;;
   2745     */) ;;
   2746     *) as_dir=$as_dir/ ;;
   2747   esac
   2748     # Account for fact that we put trailing slashes in our PATH walk.
   2749 case $as_dir in #((
   2750   ./ | /[cC]/* | \
   2751   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2752   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2753   /usr/ucb/* ) ;;
   2754   *)
   2755     # OSF1 and SCO ODT 3.0 have their own names for install.
   2756     # Don't use installbsd from OSF since it installs stuff as root
   2757     # by default.
   2758     for ac_prog in ginstall scoinst install; do
   2759       for ac_exec_ext in '' $ac_executable_extensions; do
   2760 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2761 	  if test $ac_prog = install &&
   2762 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2763 	    # AIX install.  It has an incompatible calling convention.
   2764 	    :
   2765 	  elif test $ac_prog = install &&
   2766 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2767 	    # program-specific install script used by HP pwplus--don't use.
   2768 	    :
   2769 	  else
   2770 	    rm -rf conftest.one conftest.two conftest.dir
   2771 	    echo one > conftest.one
   2772 	    echo two > conftest.two
   2773 	    mkdir conftest.dir
   2774 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2775 	      test -s conftest.one && test -s conftest.two &&
   2776 	      test -s conftest.dir/conftest.one &&
   2777 	      test -s conftest.dir/conftest.two
   2778 	    then
   2779 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2780 	      break 3
   2781 	    fi
   2782 	  fi
   2783 	fi
   2784       done
   2785     done
   2786     ;;
   2787 esac
   2788 
   2789   done
   2790 IFS=$as_save_IFS
   2791 
   2792 rm -rf conftest.one conftest.two conftest.dir
   2793  ;;
   2794 esac
   2795 fi
   2796   if test ${ac_cv_path_install+y}; then
   2797     INSTALL=$ac_cv_path_install
   2798   else
   2799     # As a last resort, use the slow shell script.  Don't cache a
   2800     # value for INSTALL within a source directory, because that will
   2801     # break other packages using the cache if that directory is
   2802     # removed, or if the value is a relative name.
   2803     INSTALL=$ac_install_sh
   2804   fi
   2805 fi
   2806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2807 printf "%s\n" "$INSTALL" >&6; }
   2808 
   2809 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2810 # It thinks the first close brace ends the variable substitution.
   2811 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2812 
   2813 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2814 
   2815 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2816 
   2817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   2818 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   2819 if test ${am_cv_sleep_fractional_seconds+y}
   2820 then :
   2821   printf %s "(cached) " >&6
   2822 else case e in #(
   2823   e) if sleep 0.001 2>/dev/null
   2824 then :
   2825   am_cv_sleep_fractional_seconds=yes
   2826 else case e in #(
   2827   e) am_cv_sleep_fractional_seconds=no ;;
   2828 esac
   2829 fi
   2830  ;;
   2831 esac
   2832 fi
   2833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   2834 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
   2835 
   2836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   2837 printf %s "checking filesystem timestamp resolution... " >&6; }
   2838 if test ${am_cv_filesystem_timestamp_resolution+y}
   2839 then :
   2840   printf %s "(cached) " >&6
   2841 else case e in #(
   2842   e) # Default to the worst case.
   2843 am_cv_filesystem_timestamp_resolution=2
   2844 
   2845 # Only try to go finer than 1 sec if sleep can do it.
   2846 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   2847 # - 1 sec is not much of a win compared to 2 sec, and
   2848 # - it takes 2 seconds to perform the test whether 1 sec works.
   2849 #
   2850 # Instead, just use the default 2s on platforms that have 1s resolution,
   2851 # accept the extra 1s delay when using $sleep in the Automake tests, in
   2852 # exchange for not incurring the 2s delay for running the test for all
   2853 # packages.
   2854 #
   2855 am_try_resolutions=
   2856 if test "$am_cv_sleep_fractional_seconds" = yes; then
   2857   # Even a millisecond often causes a bunch of false positives,
   2858   # so just try a hundredth of a second. The time saved between .001 and
   2859   # .01 is not terribly consequential.
   2860   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   2861 fi
   2862 
   2863 # In order to catch current-generation FAT out, we must *modify* files
   2864 # that already exist; the *creation* timestamp is finer.  Use names
   2865 # that make ls -t sort them differently when they have equal
   2866 # timestamps than when they have distinct timestamps, keeping
   2867 # in mind that ls -t prints the *newest* file first.
   2868 rm -f conftest.ts?
   2869 : > conftest.ts1
   2870 : > conftest.ts2
   2871 : > conftest.ts3
   2872 
   2873 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   2874 # clobber the current shell's arguments. (Outer-level square brackets
   2875 # are removed by m4; they're present so that m4 does not expand
   2876 # <dollar><star>; be careful, easy to get confused.)
   2877 if (
   2878      set X `ls -t conftest.ts[12]` &&
   2879      {
   2880        test "$*" != "X conftest.ts1 conftest.ts2" ||
   2881        test "$*" != "X conftest.ts2 conftest.ts1";
   2882      }
   2883 ); then :; else
   2884   # If neither matched, then we have a broken ls.  This can happen
   2885   # if, for instance, CONFIG_SHELL is bash and it inherits a
   2886   # broken ls alias from the environment.  This has actually
   2887   # happened.  Such a system could not be considered "sane".
   2888   printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   2889   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2890 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2891 as_fn_error $? "ls -t produces unexpected output.
   2892 Make sure there is not a broken ls alias in your environment.
   2893 See 'config.log' for more details" "$LINENO" 5; }
   2894 fi
   2895 
   2896 for am_try_res in $am_try_resolutions; do
   2897   # Any one fine-grained sleep might happen to cross the boundary
   2898   # between two values of a coarser actual resolution, but if we do
   2899   # two fine-grained sleeps in a row, at least one of them will fall
   2900   # entirely within a coarse interval.
   2901   echo alpha > conftest.ts1
   2902   sleep $am_try_res
   2903   echo beta > conftest.ts2
   2904   sleep $am_try_res
   2905   echo gamma > conftest.ts3
   2906 
   2907   # We assume that 'ls -t' will make use of high-resolution
   2908   # timestamps if the operating system supports them at all.
   2909   if (set X `ls -t conftest.ts?` &&
   2910       test "$2" = conftest.ts3 &&
   2911       test "$3" = conftest.ts2 &&
   2912       test "$4" = conftest.ts1); then
   2913     #
   2914     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   2915     # because we don't need to test make.
   2916     make_ok=true
   2917     if test $am_try_res != 1; then
   2918       # But if we've succeeded so far with a subsecond resolution, we
   2919       # have one more thing to check: make. It can happen that
   2920       # everything else supports the subsecond mtimes, but make doesn't;
   2921       # notably on macOS, which ships make 3.81 from 2006 (the last one
   2922       # released under GPLv2). https://bugs.gnu.org/68808
   2923       #
   2924       # We test $MAKE if it is defined in the environment, else "make".
   2925       # It might get overridden later, but our hope is that in practice
   2926       # it does not matter: it is the system "make" which is (by far)
   2927       # the most likely to be broken, whereas if the user overrides it,
   2928       # probably they did so with a better, or at least not worse, make.
   2929       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   2930       #
   2931       # Create a Makefile (real tab character here):
   2932       rm -f conftest.mk
   2933       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   2934       echo '	touch conftest.ts2' >>conftest.mk
   2935       #
   2936       # Now, running
   2937       #   touch conftest.ts1; touch conftest.ts2; make
   2938       # should touch ts1 because ts2 is newer. This could happen by luck,
   2939       # but most often, it will fail if make's support is insufficient. So
   2940       # test for several consecutive successes.
   2941       #
   2942       # (We reuse conftest.ts[12] because we still want to modify existing
   2943       # files, not create new ones, per above.)
   2944       n=0
   2945       make=${MAKE-make}
   2946       until test $n -eq 3; do
   2947         echo one > conftest.ts1
   2948         sleep $am_try_res
   2949         echo two > conftest.ts2 # ts2 should now be newer than ts1
   2950         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   2951           make_ok=false
   2952           break # out of $n loop
   2953         fi
   2954         n=`expr $n + 1`
   2955       done
   2956     fi
   2957     #
   2958     if $make_ok; then
   2959       # Everything we know to check worked out, so call this resolution good.
   2960       am_cv_filesystem_timestamp_resolution=$am_try_res
   2961       break # out of $am_try_res loop
   2962     fi
   2963     # Otherwise, we'll go on to check the next resolution.
   2964   fi
   2965 done
   2966 rm -f conftest.ts?
   2967 # (end _am_filesystem_timestamp_resolution)
   2968  ;;
   2969 esac
   2970 fi
   2971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   2972 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
   2973 
   2974 # This check should not be cached, as it may vary across builds of
   2975 # different projects.
   2976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2977 printf %s "checking whether build environment is sane... " >&6; }
   2978 # Reject unsafe characters in $srcdir or the absolute working directory
   2979 # name.  Accept space and tab only in the latter.
   2980 am_lf='
   2981 '
   2982 case `pwd` in
   2983   *[\\\"\#\$\&\'\`$am_lf]*)
   2984     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2985 esac
   2986 case $srcdir in
   2987   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2988     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2989 esac
   2990 
   2991 # Do 'set' in a subshell so we don't clobber the current shell's
   2992 # arguments.  Must try -L first in case configure is actually a
   2993 # symlink; some systems play weird games with the mod time of symlinks
   2994 # (eg FreeBSD returns the mod time of the symlink's containing
   2995 # directory).
   2996 am_build_env_is_sane=no
   2997 am_has_slept=no
   2998 rm -f conftest.file
   2999 for am_try in 1 2; do
   3000   echo "timestamp, slept: $am_has_slept" > conftest.file
   3001   if (
   3002     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3003     if test "$*" = "X"; then
   3004       # -L didn't work.
   3005       set X `ls -t "$srcdir/configure" conftest.file`
   3006     fi
   3007     test "$2" = conftest.file
   3008   ); then
   3009     am_build_env_is_sane=yes
   3010     break
   3011   fi
   3012   # Just in case.
   3013   sleep "$am_cv_filesystem_timestamp_resolution"
   3014   am_has_slept=yes
   3015 done
   3016 
   3017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   3018 printf "%s\n" "$am_build_env_is_sane" >&6; }
   3019 if test "$am_build_env_is_sane" = no; then
   3020   as_fn_error $? "newly created file is older than distributed files!
   3021 Check your system clock" "$LINENO" 5
   3022 fi
   3023 
   3024 # If we didn't sleep, we still need to ensure time stamps of config.status and
   3025 # generated files are strictly newer.
   3026 am_sleep_pid=
   3027 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   3028 then :
   3029 
   3030 else case e in #(
   3031   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   3032   am_sleep_pid=$!
   3033  ;;
   3034 esac
   3035 fi
   3036 
   3037 rm -f conftest.file
   3038 
   3039 test "$program_prefix" != NONE &&
   3040   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3041 # Use a double $ so make ignores it.
   3042 test "$program_suffix" != NONE &&
   3043   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3044 # Double any \ or $.
   3045 # By default was 's,x,x', remove it if useless.
   3046 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3047 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   3048 
   3049 
   3050 # Expand $ac_aux_dir to an absolute path.
   3051 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   3052 
   3053 
   3054   if test x"${MISSING+set}" != xset; then
   3055   MISSING="\${SHELL} '$am_aux_dir/missing'"
   3056 fi
   3057 # Use eval to expand $SHELL
   3058 if eval "$MISSING --is-lightweight"; then
   3059   am_missing_run="$MISSING "
   3060 else
   3061   am_missing_run=
   3062   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3063 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3064 fi
   3065 
   3066 if test x"${install_sh+set}" != xset; then
   3067   case $am_aux_dir in
   3068   *\ * | *\	*)
   3069     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3070   *)
   3071     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3072   esac
   3073 fi
   3074 
   3075 # Installed binaries are usually stripped using 'strip' when the user
   3076 # run "make install-strip".  However 'strip' might not be the right
   3077 # tool to use in cross-compilation environments, therefore Automake
   3078 # will honor the 'STRIP' environment variable to overrule this program.
   3079 if test "$cross_compiling" != no; then
   3080   if test -n "$ac_tool_prefix"; then
   3081   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3082 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3084 printf %s "checking for $ac_word... " >&6; }
   3085 if test ${ac_cv_prog_STRIP+y}
   3086 then :
   3087   printf %s "(cached) " >&6
   3088 else case e in #(
   3089   e) if test -n "$STRIP"; then
   3090   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3091 else
   3092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3093 for as_dir in $PATH
   3094 do
   3095   IFS=$as_save_IFS
   3096   case $as_dir in #(((
   3097     '') as_dir=./ ;;
   3098     */) ;;
   3099     *) as_dir=$as_dir/ ;;
   3100   esac
   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_STRIP="${ac_tool_prefix}strip"
   3104     printf "%s\n" "$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 esac
   3113 fi
   3114 STRIP=$ac_cv_prog_STRIP
   3115 if test -n "$STRIP"; then
   3116   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3117 printf "%s\n" "$STRIP" >&6; }
   3118 else
   3119   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3120 printf "%s\n" "no" >&6; }
   3121 fi
   3122 
   3123 
   3124 fi
   3125 if test -z "$ac_cv_prog_STRIP"; then
   3126   ac_ct_STRIP=$STRIP
   3127   # Extract the first word of "strip", so it can be a program name with args.
   3128 set dummy strip; ac_word=$2
   3129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3130 printf %s "checking for $ac_word... " >&6; }
   3131 if test ${ac_cv_prog_ac_ct_STRIP+y}
   3132 then :
   3133   printf %s "(cached) " >&6
   3134 else case e in #(
   3135   e) if test -n "$ac_ct_STRIP"; then
   3136   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3137 else
   3138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3139 for as_dir in $PATH
   3140 do
   3141   IFS=$as_save_IFS
   3142   case $as_dir in #(((
   3143     '') as_dir=./ ;;
   3144     */) ;;
   3145     *) as_dir=$as_dir/ ;;
   3146   esac
   3147     for ac_exec_ext in '' $ac_executable_extensions; do
   3148   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3149     ac_cv_prog_ac_ct_STRIP="strip"
   3150     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3151     break 2
   3152   fi
   3153 done
   3154   done
   3155 IFS=$as_save_IFS
   3156 
   3157 fi ;;
   3158 esac
   3159 fi
   3160 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3161 if test -n "$ac_ct_STRIP"; then
   3162   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3163 printf "%s\n" "$ac_ct_STRIP" >&6; }
   3164 else
   3165   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3166 printf "%s\n" "no" >&6; }
   3167 fi
   3168 
   3169   if test "x$ac_ct_STRIP" = x; then
   3170     STRIP=":"
   3171   else
   3172     case $cross_compiling:$ac_tool_warned in
   3173 yes:)
   3174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3175 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3176 ac_tool_warned=yes ;;
   3177 esac
   3178     STRIP=$ac_ct_STRIP
   3179   fi
   3180 else
   3181   STRIP="$ac_cv_prog_STRIP"
   3182 fi
   3183 
   3184 fi
   3185 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3186 
   3187 
   3188   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3189 printf %s "checking for a race-free mkdir -p... " >&6; }
   3190 if test -z "$MKDIR_P"; then
   3191   if test ${ac_cv_path_mkdir+y}
   3192 then :
   3193   printf %s "(cached) " >&6
   3194 else case e in #(
   3195   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3196 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3197 do
   3198   IFS=$as_save_IFS
   3199   case $as_dir in #(((
   3200     '') as_dir=./ ;;
   3201     */) ;;
   3202     *) as_dir=$as_dir/ ;;
   3203   esac
   3204     for ac_prog in mkdir gmkdir; do
   3205 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3206 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3207 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3208 	     'mkdir ('*'coreutils) '* | \
   3209 	     *'BusyBox '* | \
   3210 	     'mkdir (fileutils) '4.1*)
   3211 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3212 	       break 3;;
   3213 	   esac
   3214 	 done
   3215        done
   3216   done
   3217 IFS=$as_save_IFS
   3218  ;;
   3219 esac
   3220 fi
   3221 
   3222   test -d ./--version && rmdir ./--version
   3223   if test ${ac_cv_path_mkdir+y}; then
   3224     MKDIR_P="$ac_cv_path_mkdir -p"
   3225   else
   3226     # As a last resort, use plain mkdir -p,
   3227     # in the hope it doesn't have the bugs of ancient mkdir.
   3228     MKDIR_P='mkdir -p'
   3229   fi
   3230 fi
   3231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3232 printf "%s\n" "$MKDIR_P" >&6; }
   3233 
   3234 for ac_prog in gawk mawk nawk awk
   3235 do
   3236   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3237 set dummy $ac_prog; ac_word=$2
   3238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3239 printf %s "checking for $ac_word... " >&6; }
   3240 if test ${ac_cv_prog_AWK+y}
   3241 then :
   3242   printf %s "(cached) " >&6
   3243 else case e in #(
   3244   e) if test -n "$AWK"; then
   3245   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3246 else
   3247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3248 for as_dir in $PATH
   3249 do
   3250   IFS=$as_save_IFS
   3251   case $as_dir in #(((
   3252     '') as_dir=./ ;;
   3253     */) ;;
   3254     *) as_dir=$as_dir/ ;;
   3255   esac
   3256     for ac_exec_ext in '' $ac_executable_extensions; do
   3257   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3258     ac_cv_prog_AWK="$ac_prog"
   3259     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3260     break 2
   3261   fi
   3262 done
   3263   done
   3264 IFS=$as_save_IFS
   3265 
   3266 fi ;;
   3267 esac
   3268 fi
   3269 AWK=$ac_cv_prog_AWK
   3270 if test -n "$AWK"; then
   3271   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3272 printf "%s\n" "$AWK" >&6; }
   3273 else
   3274   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3275 printf "%s\n" "no" >&6; }
   3276 fi
   3277 
   3278 
   3279   test -n "$AWK" && break
   3280 done
   3281 
   3282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3283 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3284 set x ${MAKE-make}
   3285 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3286 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3287 then :
   3288   printf %s "(cached) " >&6
   3289 else case e in #(
   3290   e) cat >conftest.make <<\_ACEOF
   3291 SHELL = /bin/sh
   3292 all:
   3293 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3294 _ACEOF
   3295 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3296 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3297   *@@@%%%=?*=@@@%%%*)
   3298     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3299   *)
   3300     eval ac_cv_prog_make_${ac_make}_set=no;;
   3301 esac
   3302 rm -f conftest.make ;;
   3303 esac
   3304 fi
   3305 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3306   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3307 printf "%s\n" "yes" >&6; }
   3308   SET_MAKE=
   3309 else
   3310   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3311 printf "%s\n" "no" >&6; }
   3312   SET_MAKE="MAKE=${MAKE-make}"
   3313 fi
   3314 
   3315 rm -rf .tst 2>/dev/null
   3316 mkdir .tst 2>/dev/null
   3317 if test -d .tst; then
   3318   am__leading_dot=.
   3319 else
   3320   am__leading_dot=_
   3321 fi
   3322 rmdir .tst 2>/dev/null
   3323 
   3324 AM_DEFAULT_VERBOSITY=1
   3325 # Check whether --enable-silent-rules was given.
   3326 if test ${enable_silent_rules+y}
   3327 then :
   3328   enableval=$enable_silent_rules;
   3329 fi
   3330 
   3331 am_make=${MAKE-make}
   3332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3333 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3334 if test ${am_cv_make_support_nested_variables+y}
   3335 then :
   3336   printf %s "(cached) " >&6
   3337 else case e in #(
   3338   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   3339 BAR0=false
   3340 BAR1=true
   3341 V=1
   3342 am__doit:
   3343 	@$(TRUE)
   3344 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3345   am_cv_make_support_nested_variables=yes
   3346 else
   3347   am_cv_make_support_nested_variables=no
   3348 fi ;;
   3349 esac
   3350 fi
   3351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3352 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3353 AM_BACKSLASH='\'
   3354 
   3355 am__rm_f_notfound=
   3356 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   3357 then :
   3358 
   3359 else case e in #(
   3360   e) am__rm_f_notfound='""' ;;
   3361 esac
   3362 fi
   3363 
   3364 
   3365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   3366 printf %s "checking xargs -n works... " >&6; }
   3367 if test ${am_cv_xargs_n_works+y}
   3368 then :
   3369   printf %s "(cached) " >&6
   3370 else case e in #(
   3371   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   3372 3"
   3373 then :
   3374   am_cv_xargs_n_works=yes
   3375 else case e in #(
   3376   e) am_cv_xargs_n_works=no ;;
   3377 esac
   3378 fi ;;
   3379 esac
   3380 fi
   3381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   3382 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
   3383 if test "$am_cv_xargs_n_works" = yes
   3384 then :
   3385   am__xargs_n='xargs -n'
   3386 else case e in #(
   3387   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   3388  ;;
   3389 esac
   3390 fi
   3391 
   3392 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3393   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3394   # is not polluted with repeated "-I."
   3395   am__isrc=' -I$(srcdir)'
   3396   # test to see if srcdir already configured
   3397   if test -f $srcdir/config.status; then
   3398     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3399   fi
   3400 fi
   3401 
   3402 # test whether we have cygpath
   3403 if test -z "$CYGPATH_W"; then
   3404   if (cygpath --version) >/dev/null 2>/dev/null; then
   3405     CYGPATH_W='cygpath -w'
   3406   else
   3407     CYGPATH_W=echo
   3408   fi
   3409 fi
   3410 
   3411 
   3412 # Define the identity of the package.
   3413  PACKAGE='xf86-video-r128'
   3414  VERSION='6.13.0'
   3415 
   3416 
   3417 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3418 
   3419 
   3420 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3421 
   3422 # Some tools Automake needs.
   3423 
   3424 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3425 
   3426 
   3427 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3428 
   3429 
   3430 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3431 
   3432 
   3433 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3434 
   3435 
   3436 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3437 
   3438 # For better backward compatibility.  To be removed once Automake 1.9.x
   3439 # dies out for good.  For more background, see:
   3440 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3441 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3442 mkdir_p='$(MKDIR_P)'
   3443 
   3444 # We need awk for the "check" target (and possibly the TAP driver).  The
   3445 # system "awk" is bad on some platforms.
   3446 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3447 # in the wild :-(  We should find a proper way to deprecate it ...
   3448 AMTAR='$${TAR-tar}'
   3449 
   3450 
   3451 # We'll loop over all known methods to create a tar archive until one works.
   3452 _am_tools='gnutar  pax cpio none'
   3453 
   3454 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3455 
   3456 
   3457 
   3458 
   3459 
   3460 # Variables for tags utilities; see am/tags.am
   3461 if test -z "$CTAGS"; then
   3462   CTAGS=ctags
   3463 fi
   3464 
   3465 if test -z "$ETAGS"; then
   3466   ETAGS=etags
   3467 fi
   3468 
   3469 if test -z "$CSCOPE"; then
   3470   CSCOPE=cscope
   3471 fi
   3472 
   3473 
   3474 
   3475 
   3476 
   3477 
   3478 
   3479 
   3480 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   3481 
   3482 
   3483 
   3484 
   3485 
   3486 
   3487 
   3488 
   3489 
   3490 
   3491 
   3492 
   3493 
   3494 
   3495 
   3496 
   3497 
   3498 
   3499 
   3500 
   3501 DEPDIR="${am__leading_dot}deps"
   3502 
   3503 ac_config_commands="$ac_config_commands depfiles"
   3504 
   3505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3506 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3507 cat > confinc.mk << 'END'
   3508 am__doit:
   3509 	@echo this is the am__doit target >confinc.out
   3510 .PHONY: am__doit
   3511 END
   3512 am__include="#"
   3513 am__quote=
   3514 # BSD make does it like this.
   3515 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3516 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3517 echo 'include confinc.mk # ignored' > confmf.GNU
   3518 _am_result=no
   3519 for s in GNU BSD; do
   3520   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3521    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3522    ac_status=$?
   3523    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3524    (exit $ac_status); }
   3525   case $?:`cat confinc.out 2>/dev/null` in #(
   3526   '0:this is the am__doit target') :
   3527     case $s in #(
   3528   BSD) :
   3529     am__include='.include' am__quote='"' ;; #(
   3530   *) :
   3531     am__include='include' am__quote='' ;;
   3532 esac ;; #(
   3533   *) :
   3534      ;;
   3535 esac
   3536   if test "$am__include" != "#"; then
   3537     _am_result="yes ($s style)"
   3538     break
   3539   fi
   3540 done
   3541 rm -f confinc.* confmf.*
   3542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3543 printf "%s\n" "${_am_result}" >&6; }
   3544 
   3545 # Check whether --enable-dependency-tracking was given.
   3546 if test ${enable_dependency_tracking+y}
   3547 then :
   3548   enableval=$enable_dependency_tracking;
   3549 fi
   3550 
   3551 if test "x$enable_dependency_tracking" != xno; then
   3552   am_depcomp="$ac_aux_dir/depcomp"
   3553   AMDEPBACKSLASH='\'
   3554   am__nodep='_no'
   3555 fi
   3556  if test "x$enable_dependency_tracking" != xno; then
   3557   AMDEP_TRUE=
   3558   AMDEP_FALSE='#'
   3559 else
   3560   AMDEP_TRUE='#'
   3561   AMDEP_FALSE=
   3562 fi
   3563 
   3564 
   3565 ac_ext=c
   3566 ac_cpp='$CPP $CPPFLAGS'
   3567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3570 if test -n "$ac_tool_prefix"; then
   3571   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3572 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3574 printf %s "checking for $ac_word... " >&6; }
   3575 if test ${ac_cv_prog_CC+y}
   3576 then :
   3577   printf %s "(cached) " >&6
   3578 else case e in #(
   3579   e) if test -n "$CC"; then
   3580   ac_cv_prog_CC="$CC" # Let the user override the test.
   3581 else
   3582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3583 for as_dir in $PATH
   3584 do
   3585   IFS=$as_save_IFS
   3586   case $as_dir in #(((
   3587     '') as_dir=./ ;;
   3588     */) ;;
   3589     *) as_dir=$as_dir/ ;;
   3590   esac
   3591     for ac_exec_ext in '' $ac_executable_extensions; do
   3592   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3593     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3594     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3595     break 2
   3596   fi
   3597 done
   3598   done
   3599 IFS=$as_save_IFS
   3600 
   3601 fi ;;
   3602 esac
   3603 fi
   3604 CC=$ac_cv_prog_CC
   3605 if test -n "$CC"; then
   3606   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3607 printf "%s\n" "$CC" >&6; }
   3608 else
   3609   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3610 printf "%s\n" "no" >&6; }
   3611 fi
   3612 
   3613 
   3614 fi
   3615 if test -z "$ac_cv_prog_CC"; then
   3616   ac_ct_CC=$CC
   3617   # Extract the first word of "gcc", so it can be a program name with args.
   3618 set dummy gcc; ac_word=$2
   3619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3620 printf %s "checking for $ac_word... " >&6; }
   3621 if test ${ac_cv_prog_ac_ct_CC+y}
   3622 then :
   3623   printf %s "(cached) " >&6
   3624 else case e in #(
   3625   e) if test -n "$ac_ct_CC"; then
   3626   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3627 else
   3628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3629 for as_dir in $PATH
   3630 do
   3631   IFS=$as_save_IFS
   3632   case $as_dir in #(((
   3633     '') as_dir=./ ;;
   3634     */) ;;
   3635     *) as_dir=$as_dir/ ;;
   3636   esac
   3637     for ac_exec_ext in '' $ac_executable_extensions; do
   3638   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3639     ac_cv_prog_ac_ct_CC="gcc"
   3640     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3641     break 2
   3642   fi
   3643 done
   3644   done
   3645 IFS=$as_save_IFS
   3646 
   3647 fi ;;
   3648 esac
   3649 fi
   3650 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3651 if test -n "$ac_ct_CC"; then
   3652   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3653 printf "%s\n" "$ac_ct_CC" >&6; }
   3654 else
   3655   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3656 printf "%s\n" "no" >&6; }
   3657 fi
   3658 
   3659   if test "x$ac_ct_CC" = x; then
   3660     CC=""
   3661   else
   3662     case $cross_compiling:$ac_tool_warned in
   3663 yes:)
   3664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3665 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3666 ac_tool_warned=yes ;;
   3667 esac
   3668     CC=$ac_ct_CC
   3669   fi
   3670 else
   3671   CC="$ac_cv_prog_CC"
   3672 fi
   3673 
   3674 if test -z "$CC"; then
   3675           if test -n "$ac_tool_prefix"; then
   3676     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3677 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3679 printf %s "checking for $ac_word... " >&6; }
   3680 if test ${ac_cv_prog_CC+y}
   3681 then :
   3682   printf %s "(cached) " >&6
   3683 else case e in #(
   3684   e) if test -n "$CC"; then
   3685   ac_cv_prog_CC="$CC" # Let the user override the test.
   3686 else
   3687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3688 for as_dir in $PATH
   3689 do
   3690   IFS=$as_save_IFS
   3691   case $as_dir in #(((
   3692     '') as_dir=./ ;;
   3693     */) ;;
   3694     *) as_dir=$as_dir/ ;;
   3695   esac
   3696     for ac_exec_ext in '' $ac_executable_extensions; do
   3697   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3698     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3699     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3700     break 2
   3701   fi
   3702 done
   3703   done
   3704 IFS=$as_save_IFS
   3705 
   3706 fi ;;
   3707 esac
   3708 fi
   3709 CC=$ac_cv_prog_CC
   3710 if test -n "$CC"; then
   3711   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3712 printf "%s\n" "$CC" >&6; }
   3713 else
   3714   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3715 printf "%s\n" "no" >&6; }
   3716 fi
   3717 
   3718 
   3719   fi
   3720 fi
   3721 if test -z "$CC"; then
   3722   # Extract the first word of "cc", so it can be a program name with args.
   3723 set dummy cc; ac_word=$2
   3724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3725 printf %s "checking for $ac_word... " >&6; }
   3726 if test ${ac_cv_prog_CC+y}
   3727 then :
   3728   printf %s "(cached) " >&6
   3729 else case e in #(
   3730   e) if test -n "$CC"; then
   3731   ac_cv_prog_CC="$CC" # Let the user override the test.
   3732 else
   3733   ac_prog_rejected=no
   3734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3735 for as_dir in $PATH
   3736 do
   3737   IFS=$as_save_IFS
   3738   case $as_dir in #(((
   3739     '') as_dir=./ ;;
   3740     */) ;;
   3741     *) as_dir=$as_dir/ ;;
   3742   esac
   3743     for ac_exec_ext in '' $ac_executable_extensions; do
   3744   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3745     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3746        ac_prog_rejected=yes
   3747        continue
   3748      fi
   3749     ac_cv_prog_CC="cc"
   3750     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3751     break 2
   3752   fi
   3753 done
   3754   done
   3755 IFS=$as_save_IFS
   3756 
   3757 if test $ac_prog_rejected = yes; then
   3758   # We found a bogon in the path, so make sure we never use it.
   3759   set dummy $ac_cv_prog_CC
   3760   shift
   3761   if test $# != 0; then
   3762     # We chose a different compiler from the bogus one.
   3763     # However, it has the same basename, so the bogon will be chosen
   3764     # first if we set CC to just the basename; use the full file name.
   3765     shift
   3766     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3767   fi
   3768 fi
   3769 fi ;;
   3770 esac
   3771 fi
   3772 CC=$ac_cv_prog_CC
   3773 if test -n "$CC"; then
   3774   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3775 printf "%s\n" "$CC" >&6; }
   3776 else
   3777   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3778 printf "%s\n" "no" >&6; }
   3779 fi
   3780 
   3781 
   3782 fi
   3783 if test -z "$CC"; then
   3784   if test -n "$ac_tool_prefix"; then
   3785   for ac_prog in cl.exe
   3786   do
   3787     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3788 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3790 printf %s "checking for $ac_word... " >&6; }
   3791 if test ${ac_cv_prog_CC+y}
   3792 then :
   3793   printf %s "(cached) " >&6
   3794 else case e in #(
   3795   e) if test -n "$CC"; then
   3796   ac_cv_prog_CC="$CC" # Let the user override the test.
   3797 else
   3798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3799 for as_dir in $PATH
   3800 do
   3801   IFS=$as_save_IFS
   3802   case $as_dir in #(((
   3803     '') as_dir=./ ;;
   3804     */) ;;
   3805     *) as_dir=$as_dir/ ;;
   3806   esac
   3807     for ac_exec_ext in '' $ac_executable_extensions; do
   3808   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3809     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3810     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3811     break 2
   3812   fi
   3813 done
   3814   done
   3815 IFS=$as_save_IFS
   3816 
   3817 fi ;;
   3818 esac
   3819 fi
   3820 CC=$ac_cv_prog_CC
   3821 if test -n "$CC"; then
   3822   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3823 printf "%s\n" "$CC" >&6; }
   3824 else
   3825   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3826 printf "%s\n" "no" >&6; }
   3827 fi
   3828 
   3829 
   3830     test -n "$CC" && break
   3831   done
   3832 fi
   3833 if test -z "$CC"; then
   3834   ac_ct_CC=$CC
   3835   for ac_prog in cl.exe
   3836 do
   3837   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3838 set dummy $ac_prog; ac_word=$2
   3839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3840 printf %s "checking for $ac_word... " >&6; }
   3841 if test ${ac_cv_prog_ac_ct_CC+y}
   3842 then :
   3843   printf %s "(cached) " >&6
   3844 else case e in #(
   3845   e) if test -n "$ac_ct_CC"; then
   3846   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3847 else
   3848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3849 for as_dir in $PATH
   3850 do
   3851   IFS=$as_save_IFS
   3852   case $as_dir in #(((
   3853     '') as_dir=./ ;;
   3854     */) ;;
   3855     *) as_dir=$as_dir/ ;;
   3856   esac
   3857     for ac_exec_ext in '' $ac_executable_extensions; do
   3858   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3859     ac_cv_prog_ac_ct_CC="$ac_prog"
   3860     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3861     break 2
   3862   fi
   3863 done
   3864   done
   3865 IFS=$as_save_IFS
   3866 
   3867 fi ;;
   3868 esac
   3869 fi
   3870 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3871 if test -n "$ac_ct_CC"; then
   3872   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3873 printf "%s\n" "$ac_ct_CC" >&6; }
   3874 else
   3875   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3876 printf "%s\n" "no" >&6; }
   3877 fi
   3878 
   3879 
   3880   test -n "$ac_ct_CC" && break
   3881 done
   3882 
   3883   if test "x$ac_ct_CC" = x; then
   3884     CC=""
   3885   else
   3886     case $cross_compiling:$ac_tool_warned in
   3887 yes:)
   3888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3889 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3890 ac_tool_warned=yes ;;
   3891 esac
   3892     CC=$ac_ct_CC
   3893   fi
   3894 fi
   3895 
   3896 fi
   3897 if test -z "$CC"; then
   3898   if test -n "$ac_tool_prefix"; then
   3899   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3900 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3902 printf %s "checking for $ac_word... " >&6; }
   3903 if test ${ac_cv_prog_CC+y}
   3904 then :
   3905   printf %s "(cached) " >&6
   3906 else case e in #(
   3907   e) if test -n "$CC"; then
   3908   ac_cv_prog_CC="$CC" # Let the user override the test.
   3909 else
   3910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3911 for as_dir in $PATH
   3912 do
   3913   IFS=$as_save_IFS
   3914   case $as_dir in #(((
   3915     '') as_dir=./ ;;
   3916     */) ;;
   3917     *) as_dir=$as_dir/ ;;
   3918   esac
   3919     for ac_exec_ext in '' $ac_executable_extensions; do
   3920   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3921     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3922     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3923     break 2
   3924   fi
   3925 done
   3926   done
   3927 IFS=$as_save_IFS
   3928 
   3929 fi ;;
   3930 esac
   3931 fi
   3932 CC=$ac_cv_prog_CC
   3933 if test -n "$CC"; then
   3934   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3935 printf "%s\n" "$CC" >&6; }
   3936 else
   3937   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3938 printf "%s\n" "no" >&6; }
   3939 fi
   3940 
   3941 
   3942 fi
   3943 if test -z "$ac_cv_prog_CC"; then
   3944   ac_ct_CC=$CC
   3945   # Extract the first word of "clang", so it can be a program name with args.
   3946 set dummy clang; ac_word=$2
   3947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3948 printf %s "checking for $ac_word... " >&6; }
   3949 if test ${ac_cv_prog_ac_ct_CC+y}
   3950 then :
   3951   printf %s "(cached) " >&6
   3952 else case e in #(
   3953   e) if test -n "$ac_ct_CC"; then
   3954   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3955 else
   3956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3957 for as_dir in $PATH
   3958 do
   3959   IFS=$as_save_IFS
   3960   case $as_dir in #(((
   3961     '') as_dir=./ ;;
   3962     */) ;;
   3963     *) as_dir=$as_dir/ ;;
   3964   esac
   3965     for ac_exec_ext in '' $ac_executable_extensions; do
   3966   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3967     ac_cv_prog_ac_ct_CC="clang"
   3968     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3969     break 2
   3970   fi
   3971 done
   3972   done
   3973 IFS=$as_save_IFS
   3974 
   3975 fi ;;
   3976 esac
   3977 fi
   3978 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3979 if test -n "$ac_ct_CC"; then
   3980   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3981 printf "%s\n" "$ac_ct_CC" >&6; }
   3982 else
   3983   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3984 printf "%s\n" "no" >&6; }
   3985 fi
   3986 
   3987   if test "x$ac_ct_CC" = x; then
   3988     CC=""
   3989   else
   3990     case $cross_compiling:$ac_tool_warned in
   3991 yes:)
   3992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3993 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3994 ac_tool_warned=yes ;;
   3995 esac
   3996     CC=$ac_ct_CC
   3997   fi
   3998 else
   3999   CC="$ac_cv_prog_CC"
   4000 fi
   4001 
   4002 fi
   4003 
   4004 
   4005 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4006 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4007 as_fn_error $? "no acceptable C compiler found in \$PATH
   4008 See 'config.log' for more details" "$LINENO" 5; }
   4009 
   4010 # Provide some information about the compiler.
   4011 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4012 set X $ac_compile
   4013 ac_compiler=$2
   4014 for ac_option in --version -v -V -qversion -version; do
   4015   { { ac_try="$ac_compiler $ac_option >&5"
   4016 case "(($ac_try" in
   4017   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4018   *) ac_try_echo=$ac_try;;
   4019 esac
   4020 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4021 printf "%s\n" "$ac_try_echo"; } >&5
   4022   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4023   ac_status=$?
   4024   if test -s conftest.err; then
   4025     sed '10a\
   4026 ... rest of stderr output deleted ...
   4027          10q' conftest.err >conftest.er1
   4028     cat conftest.er1 >&5
   4029   fi
   4030   rm -f conftest.er1 conftest.err
   4031   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4032   test $ac_status = 0; }
   4033 done
   4034 
   4035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4036 /* end confdefs.h.  */
   4037 
   4038 int
   4039 main (void)
   4040 {
   4041 
   4042   ;
   4043   return 0;
   4044 }
   4045 _ACEOF
   4046 ac_clean_files_save=$ac_clean_files
   4047 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4048 # Try to create an executable without -o first, disregard a.out.
   4049 # It will help us diagnose broken compilers, and finding out an intuition
   4050 # of exeext.
   4051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4052 printf %s "checking whether the C compiler works... " >&6; }
   4053 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4054 
   4055 # The possible output files:
   4056 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4057 
   4058 ac_rmfiles=
   4059 for ac_file in $ac_files
   4060 do
   4061   case $ac_file in
   4062     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4063     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4064   esac
   4065 done
   4066 rm -f $ac_rmfiles
   4067 
   4068 if { { ac_try="$ac_link_default"
   4069 case "(($ac_try" in
   4070   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4071   *) ac_try_echo=$ac_try;;
   4072 esac
   4073 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4074 printf "%s\n" "$ac_try_echo"; } >&5
   4075   (eval "$ac_link_default") 2>&5
   4076   ac_status=$?
   4077   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4078   test $ac_status = 0; }
   4079 then :
   4080   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   4081 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   4082 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4083 # so that the user can short-circuit this test for compilers unknown to
   4084 # Autoconf.
   4085 for ac_file in $ac_files ''
   4086 do
   4087   test -f "$ac_file" || continue
   4088   case $ac_file in
   4089     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4090 	;;
   4091     [ab].out )
   4092 	# We found the default executable, but exeext='' is most
   4093 	# certainly right.
   4094 	break;;
   4095     *.* )
   4096 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4097 	then :; else
   4098 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4099 	fi
   4100 	# We set ac_cv_exeext here because the later test for it is not
   4101 	# safe: cross compilers may not add the suffix if given an '-o'
   4102 	# argument, so we may need to know it at that point already.
   4103 	# Even if this section looks crufty: it has the advantage of
   4104 	# actually working.
   4105 	break;;
   4106     * )
   4107 	break;;
   4108   esac
   4109 done
   4110 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4111 
   4112 else case e in #(
   4113   e) ac_file='' ;;
   4114 esac
   4115 fi
   4116 if test -z "$ac_file"
   4117 then :
   4118   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4119 printf "%s\n" "no" >&6; }
   4120 printf "%s\n" "$as_me: failed program was:" >&5
   4121 sed 's/^/| /' conftest.$ac_ext >&5
   4122 
   4123 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4124 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4125 as_fn_error 77 "C compiler cannot create executables
   4126 See 'config.log' for more details" "$LINENO" 5; }
   4127 else case e in #(
   4128   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4129 printf "%s\n" "yes" >&6; } ;;
   4130 esac
   4131 fi
   4132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4133 printf %s "checking for C compiler default output file name... " >&6; }
   4134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4135 printf "%s\n" "$ac_file" >&6; }
   4136 ac_exeext=$ac_cv_exeext
   4137 
   4138 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4139 ac_clean_files=$ac_clean_files_save
   4140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4141 printf %s "checking for suffix of executables... " >&6; }
   4142 if { { ac_try="$ac_link"
   4143 case "(($ac_try" in
   4144   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4145   *) ac_try_echo=$ac_try;;
   4146 esac
   4147 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4148 printf "%s\n" "$ac_try_echo"; } >&5
   4149   (eval "$ac_link") 2>&5
   4150   ac_status=$?
   4151   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4152   test $ac_status = 0; }
   4153 then :
   4154   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   4155 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   4156 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   4157 # 'rm'.
   4158 for ac_file in conftest.exe conftest conftest.*; do
   4159   test -f "$ac_file" || continue
   4160   case $ac_file in
   4161     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4162     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4163 	  break;;
   4164     * ) break;;
   4165   esac
   4166 done
   4167 else case e in #(
   4168   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4169 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4170 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4171 See 'config.log' for more details" "$LINENO" 5; } ;;
   4172 esac
   4173 fi
   4174 rm -f conftest conftest$ac_cv_exeext
   4175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4176 printf "%s\n" "$ac_cv_exeext" >&6; }
   4177 
   4178 rm -f conftest.$ac_ext
   4179 EXEEXT=$ac_cv_exeext
   4180 ac_exeext=$EXEEXT
   4181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4182 /* end confdefs.h.  */
   4183 #include <stdio.h>
   4184 int
   4185 main (void)
   4186 {
   4187 FILE *f = fopen ("conftest.out", "w");
   4188  if (!f)
   4189   return 1;
   4190  return ferror (f) || fclose (f) != 0;
   4191 
   4192   ;
   4193   return 0;
   4194 }
   4195 _ACEOF
   4196 ac_clean_files="$ac_clean_files conftest.out"
   4197 # Check that the compiler produces executables we can run.  If not, either
   4198 # the compiler is broken, or we cross compile.
   4199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4200 printf %s "checking whether we are cross compiling... " >&6; }
   4201 if test "$cross_compiling" != yes; then
   4202   { { ac_try="$ac_link"
   4203 case "(($ac_try" in
   4204   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4205   *) ac_try_echo=$ac_try;;
   4206 esac
   4207 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4208 printf "%s\n" "$ac_try_echo"; } >&5
   4209   (eval "$ac_link") 2>&5
   4210   ac_status=$?
   4211   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4212   test $ac_status = 0; }
   4213   if { ac_try='./conftest$ac_cv_exeext'
   4214   { { case "(($ac_try" in
   4215   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4216   *) ac_try_echo=$ac_try;;
   4217 esac
   4218 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4219 printf "%s\n" "$ac_try_echo"; } >&5
   4220   (eval "$ac_try") 2>&5
   4221   ac_status=$?
   4222   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4223   test $ac_status = 0; }; }; then
   4224     cross_compiling=no
   4225   else
   4226     if test "$cross_compiling" = maybe; then
   4227 	cross_compiling=yes
   4228     else
   4229 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4230 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4231 as_fn_error 77 "cannot run C compiled programs.
   4232 If you meant to cross compile, use '--host'.
   4233 See 'config.log' for more details" "$LINENO" 5; }
   4234     fi
   4235   fi
   4236 fi
   4237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4238 printf "%s\n" "$cross_compiling" >&6; }
   4239 
   4240 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   4241   conftest.o conftest.obj conftest.out
   4242 ac_clean_files=$ac_clean_files_save
   4243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4244 printf %s "checking for suffix of object files... " >&6; }
   4245 if test ${ac_cv_objext+y}
   4246 then :
   4247   printf %s "(cached) " >&6
   4248 else case e in #(
   4249   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4250 /* end confdefs.h.  */
   4251 
   4252 int
   4253 main (void)
   4254 {
   4255 
   4256   ;
   4257   return 0;
   4258 }
   4259 _ACEOF
   4260 rm -f conftest.o conftest.obj
   4261 if { { ac_try="$ac_compile"
   4262 case "(($ac_try" in
   4263   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4264   *) ac_try_echo=$ac_try;;
   4265 esac
   4266 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4267 printf "%s\n" "$ac_try_echo"; } >&5
   4268   (eval "$ac_compile") 2>&5
   4269   ac_status=$?
   4270   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4271   test $ac_status = 0; }
   4272 then :
   4273   for ac_file in conftest.o conftest.obj conftest.*; do
   4274   test -f "$ac_file" || continue;
   4275   case $ac_file in
   4276     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4277     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4278        break;;
   4279   esac
   4280 done
   4281 else case e in #(
   4282   e) printf "%s\n" "$as_me: failed program was:" >&5
   4283 sed 's/^/| /' conftest.$ac_ext >&5
   4284 
   4285 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4286 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4287 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4288 See 'config.log' for more details" "$LINENO" 5; } ;;
   4289 esac
   4290 fi
   4291 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   4292 esac
   4293 fi
   4294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4295 printf "%s\n" "$ac_cv_objext" >&6; }
   4296 OBJEXT=$ac_cv_objext
   4297 ac_objext=$OBJEXT
   4298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4299 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4300 if test ${ac_cv_c_compiler_gnu+y}
   4301 then :
   4302   printf %s "(cached) " >&6
   4303 else case e in #(
   4304   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4305 /* end confdefs.h.  */
   4306 
   4307 int
   4308 main (void)
   4309 {
   4310 #ifndef __GNUC__
   4311        choke me
   4312 #endif
   4313 
   4314   ;
   4315   return 0;
   4316 }
   4317 _ACEOF
   4318 if ac_fn_c_try_compile "$LINENO"
   4319 then :
   4320   ac_compiler_gnu=yes
   4321 else case e in #(
   4322   e) ac_compiler_gnu=no ;;
   4323 esac
   4324 fi
   4325 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4326 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4327  ;;
   4328 esac
   4329 fi
   4330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4331 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4333 
   4334 if test $ac_compiler_gnu = yes; then
   4335   GCC=yes
   4336 else
   4337   GCC=
   4338 fi
   4339 ac_test_CFLAGS=${CFLAGS+y}
   4340 ac_save_CFLAGS=$CFLAGS
   4341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4342 printf %s "checking whether $CC accepts -g... " >&6; }
   4343 if test ${ac_cv_prog_cc_g+y}
   4344 then :
   4345   printf %s "(cached) " >&6
   4346 else case e in #(
   4347   e) ac_save_c_werror_flag=$ac_c_werror_flag
   4348    ac_c_werror_flag=yes
   4349    ac_cv_prog_cc_g=no
   4350    CFLAGS="-g"
   4351    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4352 /* end confdefs.h.  */
   4353 
   4354 int
   4355 main (void)
   4356 {
   4357 
   4358   ;
   4359   return 0;
   4360 }
   4361 _ACEOF
   4362 if ac_fn_c_try_compile "$LINENO"
   4363 then :
   4364   ac_cv_prog_cc_g=yes
   4365 else case e in #(
   4366   e) CFLAGS=""
   4367       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4368 /* end confdefs.h.  */
   4369 
   4370 int
   4371 main (void)
   4372 {
   4373 
   4374   ;
   4375   return 0;
   4376 }
   4377 _ACEOF
   4378 if ac_fn_c_try_compile "$LINENO"
   4379 then :
   4380 
   4381 else case e in #(
   4382   e) ac_c_werror_flag=$ac_save_c_werror_flag
   4383 	 CFLAGS="-g"
   4384 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4385 /* end confdefs.h.  */
   4386 
   4387 int
   4388 main (void)
   4389 {
   4390 
   4391   ;
   4392   return 0;
   4393 }
   4394 _ACEOF
   4395 if ac_fn_c_try_compile "$LINENO"
   4396 then :
   4397   ac_cv_prog_cc_g=yes
   4398 fi
   4399 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4400 esac
   4401 fi
   4402 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4403 esac
   4404 fi
   4405 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4406    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   4407 esac
   4408 fi
   4409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4410 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4411 if test $ac_test_CFLAGS; then
   4412   CFLAGS=$ac_save_CFLAGS
   4413 elif test $ac_cv_prog_cc_g = yes; then
   4414   if test "$GCC" = yes; then
   4415     CFLAGS="-g -O2"
   4416   else
   4417     CFLAGS="-g"
   4418   fi
   4419 else
   4420   if test "$GCC" = yes; then
   4421     CFLAGS="-O2"
   4422   else
   4423     CFLAGS=
   4424   fi
   4425 fi
   4426 ac_prog_cc_stdc=no
   4427 if test x$ac_prog_cc_stdc = xno
   4428 then :
   4429   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4430 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4431 if test ${ac_cv_prog_cc_c11+y}
   4432 then :
   4433   printf %s "(cached) " >&6
   4434 else case e in #(
   4435   e) ac_cv_prog_cc_c11=no
   4436 ac_save_CC=$CC
   4437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4438 /* end confdefs.h.  */
   4439 $ac_c_conftest_c11_program
   4440 _ACEOF
   4441 for ac_arg in '' -std=gnu11
   4442 do
   4443   CC="$ac_save_CC $ac_arg"
   4444   if ac_fn_c_try_compile "$LINENO"
   4445 then :
   4446   ac_cv_prog_cc_c11=$ac_arg
   4447 fi
   4448 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4449   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4450 done
   4451 rm -f conftest.$ac_ext
   4452 CC=$ac_save_CC ;;
   4453 esac
   4454 fi
   4455 
   4456 if test "x$ac_cv_prog_cc_c11" = xno
   4457 then :
   4458   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4459 printf "%s\n" "unsupported" >&6; }
   4460 else case e in #(
   4461   e) if test "x$ac_cv_prog_cc_c11" = x
   4462 then :
   4463   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4464 printf "%s\n" "none needed" >&6; }
   4465 else case e in #(
   4466   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4467 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4468      CC="$CC $ac_cv_prog_cc_c11" ;;
   4469 esac
   4470 fi
   4471   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4472   ac_prog_cc_stdc=c11 ;;
   4473 esac
   4474 fi
   4475 fi
   4476 if test x$ac_prog_cc_stdc = xno
   4477 then :
   4478   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4479 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4480 if test ${ac_cv_prog_cc_c99+y}
   4481 then :
   4482   printf %s "(cached) " >&6
   4483 else case e in #(
   4484   e) ac_cv_prog_cc_c99=no
   4485 ac_save_CC=$CC
   4486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4487 /* end confdefs.h.  */
   4488 $ac_c_conftest_c99_program
   4489 _ACEOF
   4490 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4491 do
   4492   CC="$ac_save_CC $ac_arg"
   4493   if ac_fn_c_try_compile "$LINENO"
   4494 then :
   4495   ac_cv_prog_cc_c99=$ac_arg
   4496 fi
   4497 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4498   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4499 done
   4500 rm -f conftest.$ac_ext
   4501 CC=$ac_save_CC ;;
   4502 esac
   4503 fi
   4504 
   4505 if test "x$ac_cv_prog_cc_c99" = xno
   4506 then :
   4507   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4508 printf "%s\n" "unsupported" >&6; }
   4509 else case e in #(
   4510   e) if test "x$ac_cv_prog_cc_c99" = x
   4511 then :
   4512   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4513 printf "%s\n" "none needed" >&6; }
   4514 else case e in #(
   4515   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4516 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4517      CC="$CC $ac_cv_prog_cc_c99" ;;
   4518 esac
   4519 fi
   4520   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4521   ac_prog_cc_stdc=c99 ;;
   4522 esac
   4523 fi
   4524 fi
   4525 if test x$ac_prog_cc_stdc = xno
   4526 then :
   4527   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4528 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4529 if test ${ac_cv_prog_cc_c89+y}
   4530 then :
   4531   printf %s "(cached) " >&6
   4532 else case e in #(
   4533   e) ac_cv_prog_cc_c89=no
   4534 ac_save_CC=$CC
   4535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4536 /* end confdefs.h.  */
   4537 $ac_c_conftest_c89_program
   4538 _ACEOF
   4539 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4540 do
   4541   CC="$ac_save_CC $ac_arg"
   4542   if ac_fn_c_try_compile "$LINENO"
   4543 then :
   4544   ac_cv_prog_cc_c89=$ac_arg
   4545 fi
   4546 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4547   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4548 done
   4549 rm -f conftest.$ac_ext
   4550 CC=$ac_save_CC ;;
   4551 esac
   4552 fi
   4553 
   4554 if test "x$ac_cv_prog_cc_c89" = xno
   4555 then :
   4556   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4557 printf "%s\n" "unsupported" >&6; }
   4558 else case e in #(
   4559   e) if test "x$ac_cv_prog_cc_c89" = x
   4560 then :
   4561   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4562 printf "%s\n" "none needed" >&6; }
   4563 else case e in #(
   4564   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4565 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4566      CC="$CC $ac_cv_prog_cc_c89" ;;
   4567 esac
   4568 fi
   4569   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4570   ac_prog_cc_stdc=c89 ;;
   4571 esac
   4572 fi
   4573 fi
   4574 
   4575 ac_ext=c
   4576 ac_cpp='$CPP $CPPFLAGS'
   4577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4580 
   4581 
   4582   ac_ext=c
   4583 ac_cpp='$CPP $CPPFLAGS'
   4584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4588 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4589 if test ${am_cv_prog_cc_c_o+y}
   4590 then :
   4591   printf %s "(cached) " >&6
   4592 else case e in #(
   4593   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4594 /* end confdefs.h.  */
   4595 
   4596 int
   4597 main (void)
   4598 {
   4599 
   4600   ;
   4601   return 0;
   4602 }
   4603 _ACEOF
   4604   # Make sure it works both with $CC and with simple cc.
   4605   # Following AC_PROG_CC_C_O, we do the test twice because some
   4606   # compilers refuse to overwrite an existing .o file with -o,
   4607   # though they will create one.
   4608   am_cv_prog_cc_c_o=yes
   4609   for am_i in 1 2; do
   4610     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4611    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4612    ac_status=$?
   4613    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4614    (exit $ac_status); } \
   4615          && test -f conftest2.$ac_objext; then
   4616       : OK
   4617     else
   4618       am_cv_prog_cc_c_o=no
   4619       break
   4620     fi
   4621   done
   4622   rm -f core conftest*
   4623   unset am_i ;;
   4624 esac
   4625 fi
   4626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4627 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4628 if test "$am_cv_prog_cc_c_o" != yes; then
   4629    # Losing compiler, so override with the script.
   4630    # FIXME: It is wrong to rewrite CC.
   4631    # But if we don't then we get into trouble of one sort or another.
   4632    # A longer-term fix would be to have automake use am__CC in this case,
   4633    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4634    CC="$am_aux_dir/compile $CC"
   4635 fi
   4636 ac_ext=c
   4637 ac_cpp='$CPP $CPPFLAGS'
   4638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4641 
   4642 
   4643 depcc="$CC"   am_compiler_list=
   4644 
   4645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4646 printf %s "checking dependency style of $depcc... " >&6; }
   4647 if test ${am_cv_CC_dependencies_compiler_type+y}
   4648 then :
   4649   printf %s "(cached) " >&6
   4650 else case e in #(
   4651   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4652   # We make a subdir and do the tests there.  Otherwise we can end up
   4653   # making bogus files that we don't know about and never remove.  For
   4654   # instance it was reported that on HP-UX the gcc test will end up
   4655   # making a dummy file named 'D' -- because '-MD' means "put the output
   4656   # in D".
   4657   rm -rf conftest.dir
   4658   mkdir conftest.dir
   4659   # Copy depcomp to subdir because otherwise we won't find it if we're
   4660   # using a relative directory.
   4661   cp "$am_depcomp" conftest.dir
   4662   cd conftest.dir
   4663   # We will build objects and dependencies in a subdirectory because
   4664   # it helps to detect inapplicable dependency modes.  For instance
   4665   # both Tru64's cc and ICC support -MD to output dependencies as a
   4666   # side effect of compilation, but ICC will put the dependencies in
   4667   # the current directory while Tru64 will put them in the object
   4668   # directory.
   4669   mkdir sub
   4670 
   4671   am_cv_CC_dependencies_compiler_type=none
   4672   if test "$am_compiler_list" = ""; then
   4673      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4674   fi
   4675   am__universal=false
   4676   case " $depcc " in #(
   4677      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4678      esac
   4679 
   4680   for depmode in $am_compiler_list; do
   4681     # Setup a source with many dependencies, because some compilers
   4682     # like to wrap large dependency lists on column 80 (with \), and
   4683     # we should not choose a depcomp mode which is confused by this.
   4684     #
   4685     # We need to recreate these files for each test, as the compiler may
   4686     # overwrite some of them when testing with obscure command lines.
   4687     # This happens at least with the AIX C compiler.
   4688     : > sub/conftest.c
   4689     for i in 1 2 3 4 5 6; do
   4690       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4691       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4692       # Solaris 10 /bin/sh.
   4693       echo '/* dummy */' > sub/conftst$i.h
   4694     done
   4695     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4696 
   4697     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4698     # mode.  It turns out that the SunPro C++ compiler does not properly
   4699     # handle '-M -o', and we need to detect this.  Also, some Intel
   4700     # versions had trouble with output in subdirs.
   4701     am__obj=sub/conftest.${OBJEXT-o}
   4702     am__minus_obj="-o $am__obj"
   4703     case $depmode in
   4704     gcc)
   4705       # This depmode causes a compiler race in universal mode.
   4706       test "$am__universal" = false || continue
   4707       ;;
   4708     nosideeffect)
   4709       # After this tag, mechanisms are not by side-effect, so they'll
   4710       # only be used when explicitly requested.
   4711       if test "x$enable_dependency_tracking" = xyes; then
   4712 	continue
   4713       else
   4714 	break
   4715       fi
   4716       ;;
   4717     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4718       # This compiler won't grok '-c -o', but also, the minuso test has
   4719       # not run yet.  These depmodes are late enough in the game, and
   4720       # so weak that their functioning should not be impacted.
   4721       am__obj=conftest.${OBJEXT-o}
   4722       am__minus_obj=
   4723       ;;
   4724     none) break ;;
   4725     esac
   4726     if depmode=$depmode \
   4727        source=sub/conftest.c object=$am__obj \
   4728        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4729        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4730          >/dev/null 2>conftest.err &&
   4731        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4732        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4733        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4734        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4735       # icc doesn't choke on unknown options, it will just issue warnings
   4736       # or remarks (even with -Werror).  So we grep stderr for any message
   4737       # that says an option was ignored or not supported.
   4738       # When given -MP, icc 7.0 and 7.1 complain thus:
   4739       #   icc: Command line warning: ignoring option '-M'; no argument required
   4740       # The diagnosis changed in icc 8.0:
   4741       #   icc: Command line remark: option '-MP' not supported
   4742       if (grep 'ignoring option' conftest.err ||
   4743           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4744         am_cv_CC_dependencies_compiler_type=$depmode
   4745         break
   4746       fi
   4747     fi
   4748   done
   4749 
   4750   cd ..
   4751   rm -rf conftest.dir
   4752 else
   4753   am_cv_CC_dependencies_compiler_type=none
   4754 fi
   4755  ;;
   4756 esac
   4757 fi
   4758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4759 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4760 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4761 
   4762  if
   4763   test "x$enable_dependency_tracking" != xno \
   4764   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4765   am__fastdepCC_TRUE=
   4766   am__fastdepCC_FALSE='#'
   4767 else
   4768   am__fastdepCC_TRUE='#'
   4769   am__fastdepCC_FALSE=
   4770 fi
   4771 
   4772 
   4773 
   4774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4775 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4776 if test ${ac_cv_c_undeclared_builtin_options+y}
   4777 then :
   4778   printf %s "(cached) " >&6
   4779 else case e in #(
   4780   e) ac_save_CFLAGS=$CFLAGS
   4781    ac_cv_c_undeclared_builtin_options='cannot detect'
   4782    for ac_arg in '' -fno-builtin; do
   4783      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4784      # This test program should *not* compile successfully.
   4785      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4786 /* end confdefs.h.  */
   4787 
   4788 int
   4789 main (void)
   4790 {
   4791 (void) strchr;
   4792   ;
   4793   return 0;
   4794 }
   4795 _ACEOF
   4796 if ac_fn_c_try_compile "$LINENO"
   4797 then :
   4798 
   4799 else case e in #(
   4800   e) # This test program should compile successfully.
   4801         # No library function is consistently available on
   4802         # freestanding implementations, so test against a dummy
   4803         # declaration.  Include always-available headers on the
   4804         # off chance that they somehow elicit warnings.
   4805         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4806 /* end confdefs.h.  */
   4807 #include <float.h>
   4808 #include <limits.h>
   4809 #include <stdarg.h>
   4810 #include <stddef.h>
   4811 extern void ac_decl (int, char *);
   4812 
   4813 int
   4814 main (void)
   4815 {
   4816 (void) ac_decl (0, (char *) 0);
   4817   (void) ac_decl;
   4818 
   4819   ;
   4820   return 0;
   4821 }
   4822 _ACEOF
   4823 if ac_fn_c_try_compile "$LINENO"
   4824 then :
   4825   if test x"$ac_arg" = x
   4826 then :
   4827   ac_cv_c_undeclared_builtin_options='none needed'
   4828 else case e in #(
   4829   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   4830 esac
   4831 fi
   4832           break
   4833 fi
   4834 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4835 esac
   4836 fi
   4837 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4838     done
   4839     CFLAGS=$ac_save_CFLAGS
   4840    ;;
   4841 esac
   4842 fi
   4843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4844 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4845   case $ac_cv_c_undeclared_builtin_options in #(
   4846   'cannot detect') :
   4847     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4848 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4849 as_fn_error $? "cannot make $CC report undeclared builtins
   4850 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   4851   'none needed') :
   4852     ac_c_undeclared_builtin_options='' ;; #(
   4853   *) :
   4854     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4855 esac
   4856 
   4857 ac_header= ac_cache=
   4858 for ac_item in $ac_header_c_list
   4859 do
   4860   if test $ac_cache; then
   4861     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4862     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4863       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4864     fi
   4865     ac_header= ac_cache=
   4866   elif test $ac_header; then
   4867     ac_cache=$ac_item
   4868   else
   4869     ac_header=$ac_item
   4870   fi
   4871 done
   4872 
   4873 
   4874 
   4875 
   4876 
   4877 
   4878 
   4879 
   4880 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4881 then :
   4882 
   4883 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4884 
   4885 fi
   4886 
   4887 
   4888 
   4889 
   4890 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4891 if test "x$ac_cv_have_decl___clang__" = xyes
   4892 then :
   4893   CLANGCC="yes"
   4894 else case e in #(
   4895   e) CLANGCC="no" ;;
   4896 esac
   4897 fi
   4898 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4899 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4900 then :
   4901   INTELCC="yes"
   4902 else case e in #(
   4903   e) INTELCC="no" ;;
   4904 esac
   4905 fi
   4906 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4907 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4908 then :
   4909   SUNCC="yes"
   4910 else case e in #(
   4911   e) SUNCC="no" ;;
   4912 esac
   4913 fi
   4914 
   4915 
   4916 
   4917 
   4918 
   4919 
   4920 
   4921 
   4922 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4923 	if test -n "$ac_tool_prefix"; then
   4924   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4925 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4927 printf %s "checking for $ac_word... " >&6; }
   4928 if test ${ac_cv_path_PKG_CONFIG+y}
   4929 then :
   4930   printf %s "(cached) " >&6
   4931 else case e in #(
   4932   e) case $PKG_CONFIG in
   4933   [\\/]* | ?:[\\/]*)
   4934   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4935   ;;
   4936   *)
   4937   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4938 for as_dir in $PATH
   4939 do
   4940   IFS=$as_save_IFS
   4941   case $as_dir in #(((
   4942     '') as_dir=./ ;;
   4943     */) ;;
   4944     *) as_dir=$as_dir/ ;;
   4945   esac
   4946     for ac_exec_ext in '' $ac_executable_extensions; do
   4947   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4948     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4949     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4950     break 2
   4951   fi
   4952 done
   4953   done
   4954 IFS=$as_save_IFS
   4955 
   4956   ;;
   4957 esac ;;
   4958 esac
   4959 fi
   4960 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4961 if test -n "$PKG_CONFIG"; then
   4962   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4963 printf "%s\n" "$PKG_CONFIG" >&6; }
   4964 else
   4965   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4966 printf "%s\n" "no" >&6; }
   4967 fi
   4968 
   4969 
   4970 fi
   4971 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4972   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4973   # Extract the first word of "pkg-config", so it can be a program name with args.
   4974 set dummy pkg-config; ac_word=$2
   4975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4976 printf %s "checking for $ac_word... " >&6; }
   4977 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4978 then :
   4979   printf %s "(cached) " >&6
   4980 else case e in #(
   4981   e) case $ac_pt_PKG_CONFIG in
   4982   [\\/]* | ?:[\\/]*)
   4983   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4984   ;;
   4985   *)
   4986   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4987 for as_dir in $PATH
   4988 do
   4989   IFS=$as_save_IFS
   4990   case $as_dir in #(((
   4991     '') as_dir=./ ;;
   4992     */) ;;
   4993     *) as_dir=$as_dir/ ;;
   4994   esac
   4995     for ac_exec_ext in '' $ac_executable_extensions; do
   4996   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4997     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4998     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4999     break 2
   5000   fi
   5001 done
   5002   done
   5003 IFS=$as_save_IFS
   5004 
   5005   ;;
   5006 esac ;;
   5007 esac
   5008 fi
   5009 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   5010 if test -n "$ac_pt_PKG_CONFIG"; then
   5011   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   5012 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   5013 else
   5014   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5015 printf "%s\n" "no" >&6; }
   5016 fi
   5017 
   5018   if test "x$ac_pt_PKG_CONFIG" = x; then
   5019     PKG_CONFIG=""
   5020   else
   5021     case $cross_compiling:$ac_tool_warned in
   5022 yes:)
   5023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5024 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5025 ac_tool_warned=yes ;;
   5026 esac
   5027     PKG_CONFIG=$ac_pt_PKG_CONFIG
   5028   fi
   5029 else
   5030   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   5031 fi
   5032 
   5033 fi
   5034 if test -n "$PKG_CONFIG"; then
   5035 	_pkg_min_version=0.9.0
   5036 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   5037 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   5038 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   5039 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5040 printf "%s\n" "yes" >&6; }
   5041 	else
   5042 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5043 printf "%s\n" "no" >&6; }
   5044 		PKG_CONFIG=""
   5045 	fi
   5046 fi
   5047 
   5048 
   5049   # Make sure we can run config.sub.
   5050 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   5051   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   5052 
   5053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   5054 printf %s "checking build system type... " >&6; }
   5055 if test ${ac_cv_build+y}
   5056 then :
   5057   printf %s "(cached) " >&6
   5058 else case e in #(
   5059   e) ac_build_alias=$build_alias
   5060 test "x$ac_build_alias" = x &&
   5061   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   5062 test "x$ac_build_alias" = x &&
   5063   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   5064 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   5065   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   5066  ;;
   5067 esac
   5068 fi
   5069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   5070 printf "%s\n" "$ac_cv_build" >&6; }
   5071 case $ac_cv_build in
   5072 *-*-*) ;;
   5073 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   5074 esac
   5075 build=$ac_cv_build
   5076 ac_save_IFS=$IFS; IFS='-'
   5077 set x $ac_cv_build
   5078 shift
   5079 build_cpu=$1
   5080 build_vendor=$2
   5081 shift; shift
   5082 # Remember, the first character of IFS is used to create $*,
   5083 # except with old shells:
   5084 build_os=$*
   5085 IFS=$ac_save_IFS
   5086 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   5087 
   5088 
   5089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   5090 printf %s "checking host system type... " >&6; }
   5091 if test ${ac_cv_host+y}
   5092 then :
   5093   printf %s "(cached) " >&6
   5094 else case e in #(
   5095   e) if test "x$host_alias" = x; then
   5096   ac_cv_host=$ac_cv_build
   5097 else
   5098   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   5099     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   5100 fi
   5101  ;;
   5102 esac
   5103 fi
   5104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   5105 printf "%s\n" "$ac_cv_host" >&6; }
   5106 case $ac_cv_host in
   5107 *-*-*) ;;
   5108 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   5109 esac
   5110 host=$ac_cv_host
   5111 ac_save_IFS=$IFS; IFS='-'
   5112 set x $ac_cv_host
   5113 shift
   5114 host_cpu=$1
   5115 host_vendor=$2
   5116 shift; shift
   5117 # Remember, the first character of IFS is used to create $*,
   5118 # except with old shells:
   5119 host_os=$*
   5120 IFS=$ac_save_IFS
   5121 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   5122 
   5123 
   5124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5125 printf %s "checking for a sed that does not truncate output... " >&6; }
   5126 if test ${ac_cv_path_SED+y}
   5127 then :
   5128   printf %s "(cached) " >&6
   5129 else case e in #(
   5130   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5131      for ac_i in 1 2 3 4 5 6 7; do
   5132        ac_script="$ac_script$as_nl$ac_script"
   5133      done
   5134      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5135      { ac_script=; unset ac_script;}
   5136      if test -z "$SED"; then
   5137   ac_path_SED_found=false
   5138   # Loop through the user's path and test for each of PROGNAME-LIST
   5139   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5140 for as_dir in $PATH
   5141 do
   5142   IFS=$as_save_IFS
   5143   case $as_dir in #(((
   5144     '') as_dir=./ ;;
   5145     */) ;;
   5146     *) as_dir=$as_dir/ ;;
   5147   esac
   5148     for ac_prog in sed gsed
   5149    do
   5150     for ac_exec_ext in '' $ac_executable_extensions; do
   5151       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5152       as_fn_executable_p "$ac_path_SED" || continue
   5153 # Check for GNU ac_path_SED and select it if it is found.
   5154   # Check for GNU $ac_path_SED
   5155 case `"$ac_path_SED" --version 2>&1` in #(
   5156 *GNU*)
   5157   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5158 #(
   5159 *)
   5160   ac_count=0
   5161   printf %s 0123456789 >"conftest.in"
   5162   while :
   5163   do
   5164     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5165     mv "conftest.tmp" "conftest.in"
   5166     cp "conftest.in" "conftest.nl"
   5167     printf "%s\n" '' >> "conftest.nl"
   5168     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5169     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5170     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5171     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5172       # Best one so far, save it but keep looking for a better one
   5173       ac_cv_path_SED="$ac_path_SED"
   5174       ac_path_SED_max=$ac_count
   5175     fi
   5176     # 10*(2^10) chars as input seems more than enough
   5177     test $ac_count -gt 10 && break
   5178   done
   5179   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5180 esac
   5181 
   5182       $ac_path_SED_found && break 3
   5183     done
   5184   done
   5185   done
   5186 IFS=$as_save_IFS
   5187   if test -z "$ac_cv_path_SED"; then
   5188     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5189   fi
   5190 else
   5191   ac_cv_path_SED=$SED
   5192 fi
   5193  ;;
   5194 esac
   5195 fi
   5196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5197 printf "%s\n" "$ac_cv_path_SED" >&6; }
   5198  SED="$ac_cv_path_SED"
   5199   rm -f conftest.sed
   5200 
   5201 
   5202 
   5203 
   5204 
   5205 
   5206 # Check whether --enable-selective-werror was given.
   5207 if test ${enable_selective_werror+y}
   5208 then :
   5209   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5210 else case e in #(
   5211   e) SELECTIVE_WERROR=yes ;;
   5212 esac
   5213 fi
   5214 
   5215 
   5216 
   5217 
   5218 
   5219 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5220 if test "x$SUNCC" = "xyes"; then
   5221     BASE_CFLAGS="-v"
   5222 else
   5223     BASE_CFLAGS=""
   5224 fi
   5225 
   5226 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5227 
   5228 
   5229 
   5230 
   5231 
   5232 
   5233 
   5234 
   5235 
   5236 
   5237 
   5238 
   5239 
   5240 xorg_testset_save_CFLAGS="$CFLAGS"
   5241 
   5242 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5243 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5244 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5245 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5246 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5247 then :
   5248   printf %s "(cached) " >&6
   5249 else case e in #(
   5250   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5251 /* end confdefs.h.  */
   5252 int i;
   5253 _ACEOF
   5254 if ac_fn_c_try_compile "$LINENO"
   5255 then :
   5256   xorg_cv_cc_flag_unknown_warning_option=yes
   5257 else case e in #(
   5258   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5259 esac
   5260 fi
   5261 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5262 esac
   5263 fi
   5264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5265 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5266 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5267 	CFLAGS="$xorg_testset_save_CFLAGS"
   5268 fi
   5269 
   5270 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5271 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5272 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5273 	fi
   5274 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5275 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5276 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5277 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5278 then :
   5279   printf %s "(cached) " >&6
   5280 else case e in #(
   5281   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5282 /* end confdefs.h.  */
   5283 int i;
   5284 _ACEOF
   5285 if ac_fn_c_try_compile "$LINENO"
   5286 then :
   5287   xorg_cv_cc_flag_unused_command_line_argument=yes
   5288 else case e in #(
   5289   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5290 esac
   5291 fi
   5292 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5293 esac
   5294 fi
   5295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5296 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5297 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5298 	CFLAGS="$xorg_testset_save_CFLAGS"
   5299 fi
   5300 
   5301 found="no"
   5302 
   5303 	if test $found = "no" ; then
   5304 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5305 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5306 		fi
   5307 
   5308 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5309 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5310 		fi
   5311 
   5312 		CFLAGS="$CFLAGS -Wall"
   5313 
   5314 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5315 printf %s "checking if $CC supports -Wall... " >&6; }
   5316 		cacheid=xorg_cv_cc_flag__Wall
   5317 		if eval test \${$cacheid+y}
   5318 then :
   5319   printf %s "(cached) " >&6
   5320 else case e in #(
   5321   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5322 /* end confdefs.h.  */
   5323 int i;
   5324 int
   5325 main (void)
   5326 {
   5327 
   5328   ;
   5329   return 0;
   5330 }
   5331 _ACEOF
   5332 if ac_fn_c_try_link "$LINENO"
   5333 then :
   5334   eval $cacheid=yes
   5335 else case e in #(
   5336   e) eval $cacheid=no ;;
   5337 esac
   5338 fi
   5339 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5340     conftest$ac_exeext conftest.$ac_ext ;;
   5341 esac
   5342 fi
   5343 
   5344 
   5345 		CFLAGS="$xorg_testset_save_CFLAGS"
   5346 
   5347 		eval supported=\$$cacheid
   5348 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5349 printf "%s\n" "$supported" >&6; }
   5350 		if test "$supported" = "yes" ; then
   5351 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5352 			found="yes"
   5353 		fi
   5354 	fi
   5355 
   5356 
   5357 
   5358 
   5359 
   5360 
   5361 
   5362 
   5363 
   5364 
   5365 
   5366 
   5367 
   5368 
   5369 
   5370 xorg_testset_save_CFLAGS="$CFLAGS"
   5371 
   5372 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5373 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5374 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5375 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5376 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5377 then :
   5378   printf %s "(cached) " >&6
   5379 else case e in #(
   5380   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5381 /* end confdefs.h.  */
   5382 int i;
   5383 _ACEOF
   5384 if ac_fn_c_try_compile "$LINENO"
   5385 then :
   5386   xorg_cv_cc_flag_unknown_warning_option=yes
   5387 else case e in #(
   5388   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5389 esac
   5390 fi
   5391 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5392 esac
   5393 fi
   5394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5395 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5396 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5397 	CFLAGS="$xorg_testset_save_CFLAGS"
   5398 fi
   5399 
   5400 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5401 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5402 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5403 	fi
   5404 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5405 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5406 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5407 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5408 then :
   5409   printf %s "(cached) " >&6
   5410 else case e in #(
   5411   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5412 /* end confdefs.h.  */
   5413 int i;
   5414 _ACEOF
   5415 if ac_fn_c_try_compile "$LINENO"
   5416 then :
   5417   xorg_cv_cc_flag_unused_command_line_argument=yes
   5418 else case e in #(
   5419   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5420 esac
   5421 fi
   5422 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5423 esac
   5424 fi
   5425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5426 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5427 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5428 	CFLAGS="$xorg_testset_save_CFLAGS"
   5429 fi
   5430 
   5431 found="no"
   5432 
   5433 	if test $found = "no" ; then
   5434 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5435 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5436 		fi
   5437 
   5438 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5439 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5440 		fi
   5441 
   5442 		CFLAGS="$CFLAGS -Wpointer-arith"
   5443 
   5444 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5445 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5446 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5447 		if eval test \${$cacheid+y}
   5448 then :
   5449   printf %s "(cached) " >&6
   5450 else case e in #(
   5451   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5452 /* end confdefs.h.  */
   5453 int i;
   5454 int
   5455 main (void)
   5456 {
   5457 
   5458   ;
   5459   return 0;
   5460 }
   5461 _ACEOF
   5462 if ac_fn_c_try_link "$LINENO"
   5463 then :
   5464   eval $cacheid=yes
   5465 else case e in #(
   5466   e) eval $cacheid=no ;;
   5467 esac
   5468 fi
   5469 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5470     conftest$ac_exeext conftest.$ac_ext ;;
   5471 esac
   5472 fi
   5473 
   5474 
   5475 		CFLAGS="$xorg_testset_save_CFLAGS"
   5476 
   5477 		eval supported=\$$cacheid
   5478 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5479 printf "%s\n" "$supported" >&6; }
   5480 		if test "$supported" = "yes" ; then
   5481 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5482 			found="yes"
   5483 		fi
   5484 	fi
   5485 
   5486 
   5487 
   5488 
   5489 
   5490 
   5491 
   5492 
   5493 
   5494 
   5495 
   5496 
   5497 
   5498 
   5499 
   5500 xorg_testset_save_CFLAGS="$CFLAGS"
   5501 
   5502 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5503 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5504 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5505 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5506 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5507 then :
   5508   printf %s "(cached) " >&6
   5509 else case e in #(
   5510   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5511 /* end confdefs.h.  */
   5512 int i;
   5513 _ACEOF
   5514 if ac_fn_c_try_compile "$LINENO"
   5515 then :
   5516   xorg_cv_cc_flag_unknown_warning_option=yes
   5517 else case e in #(
   5518   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5519 esac
   5520 fi
   5521 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5522 esac
   5523 fi
   5524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5525 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5526 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5527 	CFLAGS="$xorg_testset_save_CFLAGS"
   5528 fi
   5529 
   5530 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5531 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5532 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5533 	fi
   5534 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5535 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5536 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5537 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5538 then :
   5539   printf %s "(cached) " >&6
   5540 else case e in #(
   5541   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5542 /* end confdefs.h.  */
   5543 int i;
   5544 _ACEOF
   5545 if ac_fn_c_try_compile "$LINENO"
   5546 then :
   5547   xorg_cv_cc_flag_unused_command_line_argument=yes
   5548 else case e in #(
   5549   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5550 esac
   5551 fi
   5552 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5553 esac
   5554 fi
   5555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5556 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5557 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5558 	CFLAGS="$xorg_testset_save_CFLAGS"
   5559 fi
   5560 
   5561 found="no"
   5562 
   5563 	if test $found = "no" ; then
   5564 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5565 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5566 		fi
   5567 
   5568 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5569 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5570 		fi
   5571 
   5572 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5573 
   5574 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5575 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5576 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5577 		if eval test \${$cacheid+y}
   5578 then :
   5579   printf %s "(cached) " >&6
   5580 else case e in #(
   5581   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5582 /* end confdefs.h.  */
   5583 int i;
   5584 int
   5585 main (void)
   5586 {
   5587 
   5588   ;
   5589   return 0;
   5590 }
   5591 _ACEOF
   5592 if ac_fn_c_try_link "$LINENO"
   5593 then :
   5594   eval $cacheid=yes
   5595 else case e in #(
   5596   e) eval $cacheid=no ;;
   5597 esac
   5598 fi
   5599 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5600     conftest$ac_exeext conftest.$ac_ext ;;
   5601 esac
   5602 fi
   5603 
   5604 
   5605 		CFLAGS="$xorg_testset_save_CFLAGS"
   5606 
   5607 		eval supported=\$$cacheid
   5608 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5609 printf "%s\n" "$supported" >&6; }
   5610 		if test "$supported" = "yes" ; then
   5611 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5612 			found="yes"
   5613 		fi
   5614 	fi
   5615 
   5616 
   5617 
   5618 
   5619 
   5620 
   5621 
   5622 
   5623 
   5624 
   5625 
   5626 
   5627 
   5628 
   5629 
   5630 xorg_testset_save_CFLAGS="$CFLAGS"
   5631 
   5632 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5633 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5634 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5635 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5636 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5637 then :
   5638   printf %s "(cached) " >&6
   5639 else case e in #(
   5640   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5641 /* end confdefs.h.  */
   5642 int i;
   5643 _ACEOF
   5644 if ac_fn_c_try_compile "$LINENO"
   5645 then :
   5646   xorg_cv_cc_flag_unknown_warning_option=yes
   5647 else case e in #(
   5648   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5649 esac
   5650 fi
   5651 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5652 esac
   5653 fi
   5654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5655 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5656 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5657 	CFLAGS="$xorg_testset_save_CFLAGS"
   5658 fi
   5659 
   5660 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5661 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5662 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5663 	fi
   5664 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5665 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5666 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5667 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5668 then :
   5669   printf %s "(cached) " >&6
   5670 else case e in #(
   5671   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5672 /* end confdefs.h.  */
   5673 int i;
   5674 _ACEOF
   5675 if ac_fn_c_try_compile "$LINENO"
   5676 then :
   5677   xorg_cv_cc_flag_unused_command_line_argument=yes
   5678 else case e in #(
   5679   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5680 esac
   5681 fi
   5682 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5683 esac
   5684 fi
   5685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5686 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5687 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5688 	CFLAGS="$xorg_testset_save_CFLAGS"
   5689 fi
   5690 
   5691 found="no"
   5692 
   5693 	if test $found = "no" ; then
   5694 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5695 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5696 		fi
   5697 
   5698 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5699 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5700 		fi
   5701 
   5702 		CFLAGS="$CFLAGS -Wformat=2"
   5703 
   5704 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5705 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5706 		cacheid=xorg_cv_cc_flag__Wformat_2
   5707 		if eval test \${$cacheid+y}
   5708 then :
   5709   printf %s "(cached) " >&6
   5710 else case e in #(
   5711   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5712 /* end confdefs.h.  */
   5713 int i;
   5714 int
   5715 main (void)
   5716 {
   5717 
   5718   ;
   5719   return 0;
   5720 }
   5721 _ACEOF
   5722 if ac_fn_c_try_link "$LINENO"
   5723 then :
   5724   eval $cacheid=yes
   5725 else case e in #(
   5726   e) eval $cacheid=no ;;
   5727 esac
   5728 fi
   5729 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5730     conftest$ac_exeext conftest.$ac_ext ;;
   5731 esac
   5732 fi
   5733 
   5734 
   5735 		CFLAGS="$xorg_testset_save_CFLAGS"
   5736 
   5737 		eval supported=\$$cacheid
   5738 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5739 printf "%s\n" "$supported" >&6; }
   5740 		if test "$supported" = "yes" ; then
   5741 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5742 			found="yes"
   5743 		fi
   5744 	fi
   5745 
   5746 	if test $found = "no" ; then
   5747 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5748 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5749 		fi
   5750 
   5751 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5752 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5753 		fi
   5754 
   5755 		CFLAGS="$CFLAGS -Wformat"
   5756 
   5757 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5758 printf %s "checking if $CC supports -Wformat... " >&6; }
   5759 		cacheid=xorg_cv_cc_flag__Wformat
   5760 		if eval test \${$cacheid+y}
   5761 then :
   5762   printf %s "(cached) " >&6
   5763 else case e in #(
   5764   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5765 /* end confdefs.h.  */
   5766 int i;
   5767 int
   5768 main (void)
   5769 {
   5770 
   5771   ;
   5772   return 0;
   5773 }
   5774 _ACEOF
   5775 if ac_fn_c_try_link "$LINENO"
   5776 then :
   5777   eval $cacheid=yes
   5778 else case e in #(
   5779   e) eval $cacheid=no ;;
   5780 esac
   5781 fi
   5782 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5783     conftest$ac_exeext conftest.$ac_ext ;;
   5784 esac
   5785 fi
   5786 
   5787 
   5788 		CFLAGS="$xorg_testset_save_CFLAGS"
   5789 
   5790 		eval supported=\$$cacheid
   5791 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5792 printf "%s\n" "$supported" >&6; }
   5793 		if test "$supported" = "yes" ; then
   5794 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5795 			found="yes"
   5796 		fi
   5797 	fi
   5798 
   5799 
   5800 
   5801 
   5802 
   5803 
   5804 
   5805 
   5806 
   5807 
   5808 
   5809 
   5810 
   5811 
   5812 
   5813 
   5814 
   5815 xorg_testset_save_CFLAGS="$CFLAGS"
   5816 
   5817 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5818 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5819 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5820 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5821 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5822 then :
   5823   printf %s "(cached) " >&6
   5824 else case e in #(
   5825   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5826 /* end confdefs.h.  */
   5827 int i;
   5828 _ACEOF
   5829 if ac_fn_c_try_compile "$LINENO"
   5830 then :
   5831   xorg_cv_cc_flag_unknown_warning_option=yes
   5832 else case e in #(
   5833   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5834 esac
   5835 fi
   5836 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5837 esac
   5838 fi
   5839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5840 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5841 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5842 	CFLAGS="$xorg_testset_save_CFLAGS"
   5843 fi
   5844 
   5845 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5846 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5847 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5848 	fi
   5849 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5850 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5851 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5852 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5853 then :
   5854   printf %s "(cached) " >&6
   5855 else case e in #(
   5856   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5857 /* end confdefs.h.  */
   5858 int i;
   5859 _ACEOF
   5860 if ac_fn_c_try_compile "$LINENO"
   5861 then :
   5862   xorg_cv_cc_flag_unused_command_line_argument=yes
   5863 else case e in #(
   5864   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5865 esac
   5866 fi
   5867 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5868 esac
   5869 fi
   5870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5871 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5872 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5873 	CFLAGS="$xorg_testset_save_CFLAGS"
   5874 fi
   5875 
   5876 found="no"
   5877 
   5878 	if test $found = "no" ; then
   5879 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5880 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5881 		fi
   5882 
   5883 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5884 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5885 		fi
   5886 
   5887 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5888 
   5889 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5890 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5891 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5892 		if eval test \${$cacheid+y}
   5893 then :
   5894   printf %s "(cached) " >&6
   5895 else case e in #(
   5896   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5897 /* end confdefs.h.  */
   5898 int i;
   5899 int
   5900 main (void)
   5901 {
   5902 
   5903   ;
   5904   return 0;
   5905 }
   5906 _ACEOF
   5907 if ac_fn_c_try_link "$LINENO"
   5908 then :
   5909   eval $cacheid=yes
   5910 else case e in #(
   5911   e) eval $cacheid=no ;;
   5912 esac
   5913 fi
   5914 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5915     conftest$ac_exeext conftest.$ac_ext ;;
   5916 esac
   5917 fi
   5918 
   5919 
   5920 		CFLAGS="$xorg_testset_save_CFLAGS"
   5921 
   5922 		eval supported=\$$cacheid
   5923 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5924 printf "%s\n" "$supported" >&6; }
   5925 		if test "$supported" = "yes" ; then
   5926 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5927 			found="yes"
   5928 		fi
   5929 	fi
   5930 
   5931 
   5932 
   5933 
   5934 
   5935 
   5936 
   5937 
   5938 
   5939 
   5940 
   5941 
   5942 
   5943 
   5944 
   5945 xorg_testset_save_CFLAGS="$CFLAGS"
   5946 
   5947 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5948 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5949 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5950 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5951 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5952 then :
   5953   printf %s "(cached) " >&6
   5954 else case e in #(
   5955   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5956 /* end confdefs.h.  */
   5957 int i;
   5958 _ACEOF
   5959 if ac_fn_c_try_compile "$LINENO"
   5960 then :
   5961   xorg_cv_cc_flag_unknown_warning_option=yes
   5962 else case e in #(
   5963   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5964 esac
   5965 fi
   5966 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5967 esac
   5968 fi
   5969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5970 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5971 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5972 	CFLAGS="$xorg_testset_save_CFLAGS"
   5973 fi
   5974 
   5975 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5976 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5977 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5978 	fi
   5979 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5980 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5981 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5982 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5983 then :
   5984   printf %s "(cached) " >&6
   5985 else case e in #(
   5986   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5987 /* end confdefs.h.  */
   5988 int i;
   5989 _ACEOF
   5990 if ac_fn_c_try_compile "$LINENO"
   5991 then :
   5992   xorg_cv_cc_flag_unused_command_line_argument=yes
   5993 else case e in #(
   5994   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5995 esac
   5996 fi
   5997 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5998 esac
   5999 fi
   6000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6001 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6002 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6003 	CFLAGS="$xorg_testset_save_CFLAGS"
   6004 fi
   6005 
   6006 found="no"
   6007 
   6008 	if test $found = "no" ; then
   6009 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6010 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6011 		fi
   6012 
   6013 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6014 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6015 		fi
   6016 
   6017 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   6018 
   6019 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   6020 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   6021 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   6022 		if eval test \${$cacheid+y}
   6023 then :
   6024   printf %s "(cached) " >&6
   6025 else case e in #(
   6026   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6027 /* end confdefs.h.  */
   6028 int i;
   6029 int
   6030 main (void)
   6031 {
   6032 
   6033   ;
   6034   return 0;
   6035 }
   6036 _ACEOF
   6037 if ac_fn_c_try_link "$LINENO"
   6038 then :
   6039   eval $cacheid=yes
   6040 else case e in #(
   6041   e) eval $cacheid=no ;;
   6042 esac
   6043 fi
   6044 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6045     conftest$ac_exeext conftest.$ac_ext ;;
   6046 esac
   6047 fi
   6048 
   6049 
   6050 		CFLAGS="$xorg_testset_save_CFLAGS"
   6051 
   6052 		eval supported=\$$cacheid
   6053 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6054 printf "%s\n" "$supported" >&6; }
   6055 		if test "$supported" = "yes" ; then
   6056 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   6057 			found="yes"
   6058 		fi
   6059 	fi
   6060 
   6061 
   6062 
   6063 
   6064 
   6065 
   6066 
   6067 
   6068 
   6069 
   6070 
   6071 
   6072 
   6073 
   6074 
   6075 xorg_testset_save_CFLAGS="$CFLAGS"
   6076 
   6077 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6078 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6079 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6080 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6081 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6082 then :
   6083   printf %s "(cached) " >&6
   6084 else case e in #(
   6085   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6086 /* end confdefs.h.  */
   6087 int i;
   6088 _ACEOF
   6089 if ac_fn_c_try_compile "$LINENO"
   6090 then :
   6091   xorg_cv_cc_flag_unknown_warning_option=yes
   6092 else case e in #(
   6093   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6094 esac
   6095 fi
   6096 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6097 esac
   6098 fi
   6099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6100 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6101 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6102 	CFLAGS="$xorg_testset_save_CFLAGS"
   6103 fi
   6104 
   6105 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6106 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6107 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6108 	fi
   6109 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6110 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6111 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6112 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6113 then :
   6114   printf %s "(cached) " >&6
   6115 else case e in #(
   6116   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6117 /* end confdefs.h.  */
   6118 int i;
   6119 _ACEOF
   6120 if ac_fn_c_try_compile "$LINENO"
   6121 then :
   6122   xorg_cv_cc_flag_unused_command_line_argument=yes
   6123 else case e in #(
   6124   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6125 esac
   6126 fi
   6127 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6128 esac
   6129 fi
   6130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6131 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6132 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6133 	CFLAGS="$xorg_testset_save_CFLAGS"
   6134 fi
   6135 
   6136 found="no"
   6137 
   6138 	if test $found = "no" ; then
   6139 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6140 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6141 		fi
   6142 
   6143 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6144 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6145 		fi
   6146 
   6147 		CFLAGS="$CFLAGS -Wnested-externs"
   6148 
   6149 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   6150 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   6151 		cacheid=xorg_cv_cc_flag__Wnested_externs
   6152 		if eval test \${$cacheid+y}
   6153 then :
   6154   printf %s "(cached) " >&6
   6155 else case e in #(
   6156   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6157 /* end confdefs.h.  */
   6158 int i;
   6159 int
   6160 main (void)
   6161 {
   6162 
   6163   ;
   6164   return 0;
   6165 }
   6166 _ACEOF
   6167 if ac_fn_c_try_link "$LINENO"
   6168 then :
   6169   eval $cacheid=yes
   6170 else case e in #(
   6171   e) eval $cacheid=no ;;
   6172 esac
   6173 fi
   6174 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6175     conftest$ac_exeext conftest.$ac_ext ;;
   6176 esac
   6177 fi
   6178 
   6179 
   6180 		CFLAGS="$xorg_testset_save_CFLAGS"
   6181 
   6182 		eval supported=\$$cacheid
   6183 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6184 printf "%s\n" "$supported" >&6; }
   6185 		if test "$supported" = "yes" ; then
   6186 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   6187 			found="yes"
   6188 		fi
   6189 	fi
   6190 
   6191 
   6192 
   6193 
   6194 
   6195 
   6196 
   6197 
   6198 
   6199 
   6200 
   6201 
   6202 
   6203 
   6204 
   6205 xorg_testset_save_CFLAGS="$CFLAGS"
   6206 
   6207 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6208 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6209 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6210 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6211 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6212 then :
   6213   printf %s "(cached) " >&6
   6214 else case e in #(
   6215   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6216 /* end confdefs.h.  */
   6217 int i;
   6218 _ACEOF
   6219 if ac_fn_c_try_compile "$LINENO"
   6220 then :
   6221   xorg_cv_cc_flag_unknown_warning_option=yes
   6222 else case e in #(
   6223   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6224 esac
   6225 fi
   6226 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6227 esac
   6228 fi
   6229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6230 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6231 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6232 	CFLAGS="$xorg_testset_save_CFLAGS"
   6233 fi
   6234 
   6235 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6236 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6237 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6238 	fi
   6239 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6240 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6241 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6242 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6243 then :
   6244   printf %s "(cached) " >&6
   6245 else case e in #(
   6246   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6247 /* end confdefs.h.  */
   6248 int i;
   6249 _ACEOF
   6250 if ac_fn_c_try_compile "$LINENO"
   6251 then :
   6252   xorg_cv_cc_flag_unused_command_line_argument=yes
   6253 else case e in #(
   6254   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6255 esac
   6256 fi
   6257 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6258 esac
   6259 fi
   6260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6261 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6262 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6263 	CFLAGS="$xorg_testset_save_CFLAGS"
   6264 fi
   6265 
   6266 found="no"
   6267 
   6268 	if test $found = "no" ; then
   6269 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6270 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6271 		fi
   6272 
   6273 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6274 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6275 		fi
   6276 
   6277 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6278 
   6279 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6280 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   6281 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6282 		if eval test \${$cacheid+y}
   6283 then :
   6284   printf %s "(cached) " >&6
   6285 else case e in #(
   6286   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6287 /* end confdefs.h.  */
   6288 int i;
   6289 int
   6290 main (void)
   6291 {
   6292 
   6293   ;
   6294   return 0;
   6295 }
   6296 _ACEOF
   6297 if ac_fn_c_try_link "$LINENO"
   6298 then :
   6299   eval $cacheid=yes
   6300 else case e in #(
   6301   e) eval $cacheid=no ;;
   6302 esac
   6303 fi
   6304 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6305     conftest$ac_exeext conftest.$ac_ext ;;
   6306 esac
   6307 fi
   6308 
   6309 
   6310 		CFLAGS="$xorg_testset_save_CFLAGS"
   6311 
   6312 		eval supported=\$$cacheid
   6313 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6314 printf "%s\n" "$supported" >&6; }
   6315 		if test "$supported" = "yes" ; then
   6316 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6317 			found="yes"
   6318 		fi
   6319 	fi
   6320 
   6321 
   6322 
   6323 
   6324 
   6325 
   6326 
   6327 
   6328 
   6329 
   6330 
   6331 
   6332 
   6333 
   6334 
   6335 xorg_testset_save_CFLAGS="$CFLAGS"
   6336 
   6337 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6338 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6339 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6340 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6341 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6342 then :
   6343   printf %s "(cached) " >&6
   6344 else case e in #(
   6345   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6346 /* end confdefs.h.  */
   6347 int i;
   6348 _ACEOF
   6349 if ac_fn_c_try_compile "$LINENO"
   6350 then :
   6351   xorg_cv_cc_flag_unknown_warning_option=yes
   6352 else case e in #(
   6353   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6354 esac
   6355 fi
   6356 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6357 esac
   6358 fi
   6359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6360 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6361 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6362 	CFLAGS="$xorg_testset_save_CFLAGS"
   6363 fi
   6364 
   6365 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6366 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6367 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6368 	fi
   6369 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6370 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6371 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6372 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6373 then :
   6374   printf %s "(cached) " >&6
   6375 else case e in #(
   6376   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6377 /* end confdefs.h.  */
   6378 int i;
   6379 _ACEOF
   6380 if ac_fn_c_try_compile "$LINENO"
   6381 then :
   6382   xorg_cv_cc_flag_unused_command_line_argument=yes
   6383 else case e in #(
   6384   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6385 esac
   6386 fi
   6387 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6388 esac
   6389 fi
   6390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6391 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6392 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6393 	CFLAGS="$xorg_testset_save_CFLAGS"
   6394 fi
   6395 
   6396 found="no"
   6397 
   6398 	if test $found = "no" ; then
   6399 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6400 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6401 		fi
   6402 
   6403 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6404 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6405 		fi
   6406 
   6407 		CFLAGS="$CFLAGS -Wold-style-definition"
   6408 
   6409 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6410 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6411 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6412 		if eval test \${$cacheid+y}
   6413 then :
   6414   printf %s "(cached) " >&6
   6415 else case e in #(
   6416   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6417 /* end confdefs.h.  */
   6418 int i;
   6419 int
   6420 main (void)
   6421 {
   6422 
   6423   ;
   6424   return 0;
   6425 }
   6426 _ACEOF
   6427 if ac_fn_c_try_link "$LINENO"
   6428 then :
   6429   eval $cacheid=yes
   6430 else case e in #(
   6431   e) eval $cacheid=no ;;
   6432 esac
   6433 fi
   6434 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6435     conftest$ac_exeext conftest.$ac_ext ;;
   6436 esac
   6437 fi
   6438 
   6439 
   6440 		CFLAGS="$xorg_testset_save_CFLAGS"
   6441 
   6442 		eval supported=\$$cacheid
   6443 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6444 printf "%s\n" "$supported" >&6; }
   6445 		if test "$supported" = "yes" ; then
   6446 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6447 			found="yes"
   6448 		fi
   6449 	fi
   6450 
   6451 	if test $found = "no" ; then
   6452 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6453 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6454 		fi
   6455 
   6456 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6457 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6458 		fi
   6459 
   6460 		CFLAGS="$CFLAGS -fd"
   6461 
   6462 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6463 printf %s "checking if $CC supports -fd... " >&6; }
   6464 		cacheid=xorg_cv_cc_flag__fd
   6465 		if eval test \${$cacheid+y}
   6466 then :
   6467   printf %s "(cached) " >&6
   6468 else case e in #(
   6469   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6470 /* end confdefs.h.  */
   6471 int i;
   6472 int
   6473 main (void)
   6474 {
   6475 
   6476   ;
   6477   return 0;
   6478 }
   6479 _ACEOF
   6480 if ac_fn_c_try_link "$LINENO"
   6481 then :
   6482   eval $cacheid=yes
   6483 else case e in #(
   6484   e) eval $cacheid=no ;;
   6485 esac
   6486 fi
   6487 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6488     conftest$ac_exeext conftest.$ac_ext ;;
   6489 esac
   6490 fi
   6491 
   6492 
   6493 		CFLAGS="$xorg_testset_save_CFLAGS"
   6494 
   6495 		eval supported=\$$cacheid
   6496 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6497 printf "%s\n" "$supported" >&6; }
   6498 		if test "$supported" = "yes" ; then
   6499 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6500 			found="yes"
   6501 		fi
   6502 	fi
   6503 
   6504 
   6505 
   6506 
   6507 
   6508 # This chunk adds additional warnings that could catch undesired effects.
   6509 
   6510 
   6511 
   6512 
   6513 
   6514 
   6515 
   6516 
   6517 
   6518 
   6519 
   6520 
   6521 
   6522 xorg_testset_save_CFLAGS="$CFLAGS"
   6523 
   6524 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6525 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6526 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6527 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6528 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6529 then :
   6530   printf %s "(cached) " >&6
   6531 else case e in #(
   6532   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6533 /* end confdefs.h.  */
   6534 int i;
   6535 _ACEOF
   6536 if ac_fn_c_try_compile "$LINENO"
   6537 then :
   6538   xorg_cv_cc_flag_unknown_warning_option=yes
   6539 else case e in #(
   6540   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6541 esac
   6542 fi
   6543 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6544 esac
   6545 fi
   6546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6547 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6548 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6549 	CFLAGS="$xorg_testset_save_CFLAGS"
   6550 fi
   6551 
   6552 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6553 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6554 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6555 	fi
   6556 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6557 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6558 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6559 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6560 then :
   6561   printf %s "(cached) " >&6
   6562 else case e in #(
   6563   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6564 /* end confdefs.h.  */
   6565 int i;
   6566 _ACEOF
   6567 if ac_fn_c_try_compile "$LINENO"
   6568 then :
   6569   xorg_cv_cc_flag_unused_command_line_argument=yes
   6570 else case e in #(
   6571   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6572 esac
   6573 fi
   6574 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6575 esac
   6576 fi
   6577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6578 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6579 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6580 	CFLAGS="$xorg_testset_save_CFLAGS"
   6581 fi
   6582 
   6583 found="no"
   6584 
   6585 	if test $found = "no" ; then
   6586 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6587 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6588 		fi
   6589 
   6590 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6591 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6592 		fi
   6593 
   6594 		CFLAGS="$CFLAGS -Wunused"
   6595 
   6596 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6597 printf %s "checking if $CC supports -Wunused... " >&6; }
   6598 		cacheid=xorg_cv_cc_flag__Wunused
   6599 		if eval test \${$cacheid+y}
   6600 then :
   6601   printf %s "(cached) " >&6
   6602 else case e in #(
   6603   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6604 /* end confdefs.h.  */
   6605 int i;
   6606 int
   6607 main (void)
   6608 {
   6609 
   6610   ;
   6611   return 0;
   6612 }
   6613 _ACEOF
   6614 if ac_fn_c_try_link "$LINENO"
   6615 then :
   6616   eval $cacheid=yes
   6617 else case e in #(
   6618   e) eval $cacheid=no ;;
   6619 esac
   6620 fi
   6621 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6622     conftest$ac_exeext conftest.$ac_ext ;;
   6623 esac
   6624 fi
   6625 
   6626 
   6627 		CFLAGS="$xorg_testset_save_CFLAGS"
   6628 
   6629 		eval supported=\$$cacheid
   6630 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6631 printf "%s\n" "$supported" >&6; }
   6632 		if test "$supported" = "yes" ; then
   6633 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6634 			found="yes"
   6635 		fi
   6636 	fi
   6637 
   6638 
   6639 
   6640 
   6641 
   6642 
   6643 
   6644 
   6645 
   6646 
   6647 
   6648 
   6649 
   6650 
   6651 
   6652 xorg_testset_save_CFLAGS="$CFLAGS"
   6653 
   6654 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6655 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6656 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6657 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6658 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6659 then :
   6660   printf %s "(cached) " >&6
   6661 else case e in #(
   6662   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6663 /* end confdefs.h.  */
   6664 int i;
   6665 _ACEOF
   6666 if ac_fn_c_try_compile "$LINENO"
   6667 then :
   6668   xorg_cv_cc_flag_unknown_warning_option=yes
   6669 else case e in #(
   6670   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6671 esac
   6672 fi
   6673 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6674 esac
   6675 fi
   6676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6677 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6678 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6679 	CFLAGS="$xorg_testset_save_CFLAGS"
   6680 fi
   6681 
   6682 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6683 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6684 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6685 	fi
   6686 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6687 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6688 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6689 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6690 then :
   6691   printf %s "(cached) " >&6
   6692 else case e in #(
   6693   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6694 /* end confdefs.h.  */
   6695 int i;
   6696 _ACEOF
   6697 if ac_fn_c_try_compile "$LINENO"
   6698 then :
   6699   xorg_cv_cc_flag_unused_command_line_argument=yes
   6700 else case e in #(
   6701   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6702 esac
   6703 fi
   6704 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6705 esac
   6706 fi
   6707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6708 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6709 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6710 	CFLAGS="$xorg_testset_save_CFLAGS"
   6711 fi
   6712 
   6713 found="no"
   6714 
   6715 	if test $found = "no" ; then
   6716 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6717 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6718 		fi
   6719 
   6720 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6721 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6722 		fi
   6723 
   6724 		CFLAGS="$CFLAGS -Wuninitialized"
   6725 
   6726 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6727 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6728 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6729 		if eval test \${$cacheid+y}
   6730 then :
   6731   printf %s "(cached) " >&6
   6732 else case e in #(
   6733   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6734 /* end confdefs.h.  */
   6735 int i;
   6736 int
   6737 main (void)
   6738 {
   6739 
   6740   ;
   6741   return 0;
   6742 }
   6743 _ACEOF
   6744 if ac_fn_c_try_link "$LINENO"
   6745 then :
   6746   eval $cacheid=yes
   6747 else case e in #(
   6748   e) eval $cacheid=no ;;
   6749 esac
   6750 fi
   6751 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6752     conftest$ac_exeext conftest.$ac_ext ;;
   6753 esac
   6754 fi
   6755 
   6756 
   6757 		CFLAGS="$xorg_testset_save_CFLAGS"
   6758 
   6759 		eval supported=\$$cacheid
   6760 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6761 printf "%s\n" "$supported" >&6; }
   6762 		if test "$supported" = "yes" ; then
   6763 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6764 			found="yes"
   6765 		fi
   6766 	fi
   6767 
   6768 
   6769 
   6770 
   6771 
   6772 
   6773 
   6774 
   6775 
   6776 
   6777 
   6778 
   6779 
   6780 
   6781 
   6782 xorg_testset_save_CFLAGS="$CFLAGS"
   6783 
   6784 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6785 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6786 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6787 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6788 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6789 then :
   6790   printf %s "(cached) " >&6
   6791 else case e in #(
   6792   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6793 /* end confdefs.h.  */
   6794 int i;
   6795 _ACEOF
   6796 if ac_fn_c_try_compile "$LINENO"
   6797 then :
   6798   xorg_cv_cc_flag_unknown_warning_option=yes
   6799 else case e in #(
   6800   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6801 esac
   6802 fi
   6803 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6804 esac
   6805 fi
   6806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6807 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6808 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6809 	CFLAGS="$xorg_testset_save_CFLAGS"
   6810 fi
   6811 
   6812 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6813 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6814 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6815 	fi
   6816 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6817 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6818 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6819 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6820 then :
   6821   printf %s "(cached) " >&6
   6822 else case e in #(
   6823   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6824 /* end confdefs.h.  */
   6825 int i;
   6826 _ACEOF
   6827 if ac_fn_c_try_compile "$LINENO"
   6828 then :
   6829   xorg_cv_cc_flag_unused_command_line_argument=yes
   6830 else case e in #(
   6831   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6832 esac
   6833 fi
   6834 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6835 esac
   6836 fi
   6837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6838 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6839 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6840 	CFLAGS="$xorg_testset_save_CFLAGS"
   6841 fi
   6842 
   6843 found="no"
   6844 
   6845 	if test $found = "no" ; then
   6846 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6847 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6848 		fi
   6849 
   6850 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6851 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6852 		fi
   6853 
   6854 		CFLAGS="$CFLAGS -Wshadow"
   6855 
   6856 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6857 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6858 		cacheid=xorg_cv_cc_flag__Wshadow
   6859 		if eval test \${$cacheid+y}
   6860 then :
   6861   printf %s "(cached) " >&6
   6862 else case e in #(
   6863   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6864 /* end confdefs.h.  */
   6865 int i;
   6866 int
   6867 main (void)
   6868 {
   6869 
   6870   ;
   6871   return 0;
   6872 }
   6873 _ACEOF
   6874 if ac_fn_c_try_link "$LINENO"
   6875 then :
   6876   eval $cacheid=yes
   6877 else case e in #(
   6878   e) eval $cacheid=no ;;
   6879 esac
   6880 fi
   6881 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6882     conftest$ac_exeext conftest.$ac_ext ;;
   6883 esac
   6884 fi
   6885 
   6886 
   6887 		CFLAGS="$xorg_testset_save_CFLAGS"
   6888 
   6889 		eval supported=\$$cacheid
   6890 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6891 printf "%s\n" "$supported" >&6; }
   6892 		if test "$supported" = "yes" ; then
   6893 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6894 			found="yes"
   6895 		fi
   6896 	fi
   6897 
   6898 
   6899 
   6900 
   6901 
   6902 
   6903 
   6904 
   6905 
   6906 
   6907 
   6908 
   6909 
   6910 
   6911 
   6912 xorg_testset_save_CFLAGS="$CFLAGS"
   6913 
   6914 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6915 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6916 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6917 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6918 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6919 then :
   6920   printf %s "(cached) " >&6
   6921 else case e in #(
   6922   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6923 /* end confdefs.h.  */
   6924 int i;
   6925 _ACEOF
   6926 if ac_fn_c_try_compile "$LINENO"
   6927 then :
   6928   xorg_cv_cc_flag_unknown_warning_option=yes
   6929 else case e in #(
   6930   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6931 esac
   6932 fi
   6933 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6934 esac
   6935 fi
   6936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6937 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6938 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6939 	CFLAGS="$xorg_testset_save_CFLAGS"
   6940 fi
   6941 
   6942 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6943 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6944 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6945 	fi
   6946 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6947 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6948 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6949 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6950 then :
   6951   printf %s "(cached) " >&6
   6952 else case e in #(
   6953   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6954 /* end confdefs.h.  */
   6955 int i;
   6956 _ACEOF
   6957 if ac_fn_c_try_compile "$LINENO"
   6958 then :
   6959   xorg_cv_cc_flag_unused_command_line_argument=yes
   6960 else case e in #(
   6961   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6962 esac
   6963 fi
   6964 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6965 esac
   6966 fi
   6967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6968 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6969 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6970 	CFLAGS="$xorg_testset_save_CFLAGS"
   6971 fi
   6972 
   6973 found="no"
   6974 
   6975 	if test $found = "no" ; then
   6976 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6977 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6978 		fi
   6979 
   6980 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6981 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6982 		fi
   6983 
   6984 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6985 
   6986 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6987 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6988 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6989 		if eval test \${$cacheid+y}
   6990 then :
   6991   printf %s "(cached) " >&6
   6992 else case e in #(
   6993   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6994 /* end confdefs.h.  */
   6995 int i;
   6996 int
   6997 main (void)
   6998 {
   6999 
   7000   ;
   7001   return 0;
   7002 }
   7003 _ACEOF
   7004 if ac_fn_c_try_link "$LINENO"
   7005 then :
   7006   eval $cacheid=yes
   7007 else case e in #(
   7008   e) eval $cacheid=no ;;
   7009 esac
   7010 fi
   7011 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7012     conftest$ac_exeext conftest.$ac_ext ;;
   7013 esac
   7014 fi
   7015 
   7016 
   7017 		CFLAGS="$xorg_testset_save_CFLAGS"
   7018 
   7019 		eval supported=\$$cacheid
   7020 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7021 printf "%s\n" "$supported" >&6; }
   7022 		if test "$supported" = "yes" ; then
   7023 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   7024 			found="yes"
   7025 		fi
   7026 	fi
   7027 
   7028 
   7029 
   7030 
   7031 
   7032 
   7033 
   7034 
   7035 
   7036 
   7037 
   7038 
   7039 
   7040 
   7041 
   7042 xorg_testset_save_CFLAGS="$CFLAGS"
   7043 
   7044 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7045 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7046 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7047 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7048 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7049 then :
   7050   printf %s "(cached) " >&6
   7051 else case e in #(
   7052   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7053 /* end confdefs.h.  */
   7054 int i;
   7055 _ACEOF
   7056 if ac_fn_c_try_compile "$LINENO"
   7057 then :
   7058   xorg_cv_cc_flag_unknown_warning_option=yes
   7059 else case e in #(
   7060   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7061 esac
   7062 fi
   7063 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7064 esac
   7065 fi
   7066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7067 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7068 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7069 	CFLAGS="$xorg_testset_save_CFLAGS"
   7070 fi
   7071 
   7072 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7073 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7074 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7075 	fi
   7076 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7077 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7078 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7079 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7080 then :
   7081   printf %s "(cached) " >&6
   7082 else case e in #(
   7083   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7084 /* end confdefs.h.  */
   7085 int i;
   7086 _ACEOF
   7087 if ac_fn_c_try_compile "$LINENO"
   7088 then :
   7089   xorg_cv_cc_flag_unused_command_line_argument=yes
   7090 else case e in #(
   7091   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7092 esac
   7093 fi
   7094 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7095 esac
   7096 fi
   7097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7098 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7099 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7100 	CFLAGS="$xorg_testset_save_CFLAGS"
   7101 fi
   7102 
   7103 found="no"
   7104 
   7105 	if test $found = "no" ; then
   7106 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7107 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7108 		fi
   7109 
   7110 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7111 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7112 		fi
   7113 
   7114 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   7115 
   7116 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   7117 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   7118 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   7119 		if eval test \${$cacheid+y}
   7120 then :
   7121   printf %s "(cached) " >&6
   7122 else case e in #(
   7123   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7124 /* end confdefs.h.  */
   7125 int i;
   7126 int
   7127 main (void)
   7128 {
   7129 
   7130   ;
   7131   return 0;
   7132 }
   7133 _ACEOF
   7134 if ac_fn_c_try_link "$LINENO"
   7135 then :
   7136   eval $cacheid=yes
   7137 else case e in #(
   7138   e) eval $cacheid=no ;;
   7139 esac
   7140 fi
   7141 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7142     conftest$ac_exeext conftest.$ac_ext ;;
   7143 esac
   7144 fi
   7145 
   7146 
   7147 		CFLAGS="$xorg_testset_save_CFLAGS"
   7148 
   7149 		eval supported=\$$cacheid
   7150 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7151 printf "%s\n" "$supported" >&6; }
   7152 		if test "$supported" = "yes" ; then
   7153 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   7154 			found="yes"
   7155 		fi
   7156 	fi
   7157 
   7158 
   7159 
   7160 
   7161 
   7162 
   7163 
   7164 
   7165 
   7166 
   7167 
   7168 
   7169 
   7170 
   7171 
   7172 xorg_testset_save_CFLAGS="$CFLAGS"
   7173 
   7174 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7175 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7176 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7177 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7178 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7179 then :
   7180   printf %s "(cached) " >&6
   7181 else case e in #(
   7182   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7183 /* end confdefs.h.  */
   7184 int i;
   7185 _ACEOF
   7186 if ac_fn_c_try_compile "$LINENO"
   7187 then :
   7188   xorg_cv_cc_flag_unknown_warning_option=yes
   7189 else case e in #(
   7190   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7191 esac
   7192 fi
   7193 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7194 esac
   7195 fi
   7196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7197 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7198 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7199 	CFLAGS="$xorg_testset_save_CFLAGS"
   7200 fi
   7201 
   7202 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7203 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7204 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7205 	fi
   7206 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7207 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7208 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7209 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7210 then :
   7211   printf %s "(cached) " >&6
   7212 else case e in #(
   7213   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7214 /* end confdefs.h.  */
   7215 int i;
   7216 _ACEOF
   7217 if ac_fn_c_try_compile "$LINENO"
   7218 then :
   7219   xorg_cv_cc_flag_unused_command_line_argument=yes
   7220 else case e in #(
   7221   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7222 esac
   7223 fi
   7224 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7225 esac
   7226 fi
   7227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7228 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7229 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7230 	CFLAGS="$xorg_testset_save_CFLAGS"
   7231 fi
   7232 
   7233 found="no"
   7234 
   7235 	if test $found = "no" ; then
   7236 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7237 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7238 		fi
   7239 
   7240 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7241 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7242 		fi
   7243 
   7244 		CFLAGS="$CFLAGS -Wredundant-decls"
   7245 
   7246 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7247 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7248 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7249 		if eval test \${$cacheid+y}
   7250 then :
   7251   printf %s "(cached) " >&6
   7252 else case e in #(
   7253   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7254 /* end confdefs.h.  */
   7255 int i;
   7256 int
   7257 main (void)
   7258 {
   7259 
   7260   ;
   7261   return 0;
   7262 }
   7263 _ACEOF
   7264 if ac_fn_c_try_link "$LINENO"
   7265 then :
   7266   eval $cacheid=yes
   7267 else case e in #(
   7268   e) eval $cacheid=no ;;
   7269 esac
   7270 fi
   7271 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7272     conftest$ac_exeext conftest.$ac_ext ;;
   7273 esac
   7274 fi
   7275 
   7276 
   7277 		CFLAGS="$xorg_testset_save_CFLAGS"
   7278 
   7279 		eval supported=\$$cacheid
   7280 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7281 printf "%s\n" "$supported" >&6; }
   7282 		if test "$supported" = "yes" ; then
   7283 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7284 			found="yes"
   7285 		fi
   7286 	fi
   7287 
   7288 
   7289 
   7290 
   7291 
   7292 
   7293 
   7294 
   7295 
   7296 
   7297 
   7298 
   7299 
   7300 
   7301 
   7302 xorg_testset_save_CFLAGS="$CFLAGS"
   7303 
   7304 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7305 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7306 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7307 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7308 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7309 then :
   7310   printf %s "(cached) " >&6
   7311 else case e in #(
   7312   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7313 /* end confdefs.h.  */
   7314 int i;
   7315 _ACEOF
   7316 if ac_fn_c_try_compile "$LINENO"
   7317 then :
   7318   xorg_cv_cc_flag_unknown_warning_option=yes
   7319 else case e in #(
   7320   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7321 esac
   7322 fi
   7323 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7324 esac
   7325 fi
   7326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7327 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7328 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7329 	CFLAGS="$xorg_testset_save_CFLAGS"
   7330 fi
   7331 
   7332 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7333 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7334 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7335 	fi
   7336 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7337 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7338 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7339 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7340 then :
   7341   printf %s "(cached) " >&6
   7342 else case e in #(
   7343   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7344 /* end confdefs.h.  */
   7345 int i;
   7346 _ACEOF
   7347 if ac_fn_c_try_compile "$LINENO"
   7348 then :
   7349   xorg_cv_cc_flag_unused_command_line_argument=yes
   7350 else case e in #(
   7351   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7352 esac
   7353 fi
   7354 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7355 esac
   7356 fi
   7357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7358 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7359 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7360 	CFLAGS="$xorg_testset_save_CFLAGS"
   7361 fi
   7362 
   7363 found="no"
   7364 
   7365 	if test $found = "no" ; then
   7366 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7367 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7368 		fi
   7369 
   7370 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7371 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7372 		fi
   7373 
   7374 		CFLAGS="$CFLAGS -Wlogical-op"
   7375 
   7376 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7377 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7378 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7379 		if eval test \${$cacheid+y}
   7380 then :
   7381   printf %s "(cached) " >&6
   7382 else case e in #(
   7383   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7384 /* end confdefs.h.  */
   7385 int i;
   7386 int
   7387 main (void)
   7388 {
   7389 
   7390   ;
   7391   return 0;
   7392 }
   7393 _ACEOF
   7394 if ac_fn_c_try_link "$LINENO"
   7395 then :
   7396   eval $cacheid=yes
   7397 else case e in #(
   7398   e) eval $cacheid=no ;;
   7399 esac
   7400 fi
   7401 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7402     conftest$ac_exeext conftest.$ac_ext ;;
   7403 esac
   7404 fi
   7405 
   7406 
   7407 		CFLAGS="$xorg_testset_save_CFLAGS"
   7408 
   7409 		eval supported=\$$cacheid
   7410 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7411 printf "%s\n" "$supported" >&6; }
   7412 		if test "$supported" = "yes" ; then
   7413 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7414 			found="yes"
   7415 		fi
   7416 	fi
   7417 
   7418 
   7419 
   7420 # These are currently disabled because they are noisy.  They will be enabled
   7421 # in the future once the codebase is sufficiently modernized to silence
   7422 # them.  For now, I don't want them to drown out the other warnings.
   7423 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7424 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7425 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7426 
   7427 # Turn some warnings into errors, so we don't accidentally get successful builds
   7428 # when there are problems that should be fixed.
   7429 
   7430 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7431 
   7432 
   7433 
   7434 
   7435 
   7436 
   7437 
   7438 
   7439 
   7440 
   7441 
   7442 
   7443 
   7444 xorg_testset_save_CFLAGS="$CFLAGS"
   7445 
   7446 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7447 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7448 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7449 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7450 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7451 then :
   7452   printf %s "(cached) " >&6
   7453 else case e in #(
   7454   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7455 /* end confdefs.h.  */
   7456 int i;
   7457 _ACEOF
   7458 if ac_fn_c_try_compile "$LINENO"
   7459 then :
   7460   xorg_cv_cc_flag_unknown_warning_option=yes
   7461 else case e in #(
   7462   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7463 esac
   7464 fi
   7465 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7466 esac
   7467 fi
   7468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7469 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7470 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7471 	CFLAGS="$xorg_testset_save_CFLAGS"
   7472 fi
   7473 
   7474 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7475 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7476 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7477 	fi
   7478 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7479 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7480 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7481 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7482 then :
   7483   printf %s "(cached) " >&6
   7484 else case e in #(
   7485   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7486 /* end confdefs.h.  */
   7487 int i;
   7488 _ACEOF
   7489 if ac_fn_c_try_compile "$LINENO"
   7490 then :
   7491   xorg_cv_cc_flag_unused_command_line_argument=yes
   7492 else case e in #(
   7493   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7494 esac
   7495 fi
   7496 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7497 esac
   7498 fi
   7499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7500 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7501 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7502 	CFLAGS="$xorg_testset_save_CFLAGS"
   7503 fi
   7504 
   7505 found="no"
   7506 
   7507 	if test $found = "no" ; then
   7508 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7509 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7510 		fi
   7511 
   7512 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7513 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7514 		fi
   7515 
   7516 		CFLAGS="$CFLAGS -Werror=implicit"
   7517 
   7518 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7519 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7520 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7521 		if eval test \${$cacheid+y}
   7522 then :
   7523   printf %s "(cached) " >&6
   7524 else case e in #(
   7525   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7526 /* end confdefs.h.  */
   7527 int i;
   7528 int
   7529 main (void)
   7530 {
   7531 
   7532   ;
   7533   return 0;
   7534 }
   7535 _ACEOF
   7536 if ac_fn_c_try_link "$LINENO"
   7537 then :
   7538   eval $cacheid=yes
   7539 else case e in #(
   7540   e) eval $cacheid=no ;;
   7541 esac
   7542 fi
   7543 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7544     conftest$ac_exeext conftest.$ac_ext ;;
   7545 esac
   7546 fi
   7547 
   7548 
   7549 		CFLAGS="$xorg_testset_save_CFLAGS"
   7550 
   7551 		eval supported=\$$cacheid
   7552 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7553 printf "%s\n" "$supported" >&6; }
   7554 		if test "$supported" = "yes" ; then
   7555 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7556 			found="yes"
   7557 		fi
   7558 	fi
   7559 
   7560 	if test $found = "no" ; then
   7561 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7562 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7563 		fi
   7564 
   7565 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7566 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7567 		fi
   7568 
   7569 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7570 
   7571 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   7572 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7573 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7574 		if eval test \${$cacheid+y}
   7575 then :
   7576   printf %s "(cached) " >&6
   7577 else case e in #(
   7578   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7579 /* end confdefs.h.  */
   7580 int i;
   7581 int
   7582 main (void)
   7583 {
   7584 
   7585   ;
   7586   return 0;
   7587 }
   7588 _ACEOF
   7589 if ac_fn_c_try_link "$LINENO"
   7590 then :
   7591   eval $cacheid=yes
   7592 else case e in #(
   7593   e) eval $cacheid=no ;;
   7594 esac
   7595 fi
   7596 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7597     conftest$ac_exeext conftest.$ac_ext ;;
   7598 esac
   7599 fi
   7600 
   7601 
   7602 		CFLAGS="$xorg_testset_save_CFLAGS"
   7603 
   7604 		eval supported=\$$cacheid
   7605 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7606 printf "%s\n" "$supported" >&6; }
   7607 		if test "$supported" = "yes" ; then
   7608 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7609 			found="yes"
   7610 		fi
   7611 	fi
   7612 
   7613 
   7614 
   7615 
   7616 
   7617 
   7618 
   7619 
   7620 
   7621 
   7622 
   7623 
   7624 
   7625 
   7626 
   7627 xorg_testset_save_CFLAGS="$CFLAGS"
   7628 
   7629 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7630 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7631 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7632 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7633 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7634 then :
   7635   printf %s "(cached) " >&6
   7636 else case e in #(
   7637   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7638 /* end confdefs.h.  */
   7639 int i;
   7640 _ACEOF
   7641 if ac_fn_c_try_compile "$LINENO"
   7642 then :
   7643   xorg_cv_cc_flag_unknown_warning_option=yes
   7644 else case e in #(
   7645   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7646 esac
   7647 fi
   7648 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7649 esac
   7650 fi
   7651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7652 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7653 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7654 	CFLAGS="$xorg_testset_save_CFLAGS"
   7655 fi
   7656 
   7657 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7658 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7659 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7660 	fi
   7661 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7662 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7663 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7664 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7665 then :
   7666   printf %s "(cached) " >&6
   7667 else case e in #(
   7668   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7669 /* end confdefs.h.  */
   7670 int i;
   7671 _ACEOF
   7672 if ac_fn_c_try_compile "$LINENO"
   7673 then :
   7674   xorg_cv_cc_flag_unused_command_line_argument=yes
   7675 else case e in #(
   7676   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7677 esac
   7678 fi
   7679 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7680 esac
   7681 fi
   7682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7683 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7684 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7685 	CFLAGS="$xorg_testset_save_CFLAGS"
   7686 fi
   7687 
   7688 found="no"
   7689 
   7690 	if test $found = "no" ; then
   7691 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7692 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7693 		fi
   7694 
   7695 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7696 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7697 		fi
   7698 
   7699 		CFLAGS="$CFLAGS -Werror=nonnull"
   7700 
   7701 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7702 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7703 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7704 		if eval test \${$cacheid+y}
   7705 then :
   7706   printf %s "(cached) " >&6
   7707 else case e in #(
   7708   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7709 /* end confdefs.h.  */
   7710 int i;
   7711 int
   7712 main (void)
   7713 {
   7714 
   7715   ;
   7716   return 0;
   7717 }
   7718 _ACEOF
   7719 if ac_fn_c_try_link "$LINENO"
   7720 then :
   7721   eval $cacheid=yes
   7722 else case e in #(
   7723   e) eval $cacheid=no ;;
   7724 esac
   7725 fi
   7726 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7727     conftest$ac_exeext conftest.$ac_ext ;;
   7728 esac
   7729 fi
   7730 
   7731 
   7732 		CFLAGS="$xorg_testset_save_CFLAGS"
   7733 
   7734 		eval supported=\$$cacheid
   7735 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7736 printf "%s\n" "$supported" >&6; }
   7737 		if test "$supported" = "yes" ; then
   7738 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7739 			found="yes"
   7740 		fi
   7741 	fi
   7742 
   7743 
   7744 
   7745 
   7746 
   7747 
   7748 
   7749 
   7750 
   7751 
   7752 
   7753 
   7754 
   7755 
   7756 
   7757 xorg_testset_save_CFLAGS="$CFLAGS"
   7758 
   7759 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7760 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7761 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7762 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7763 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7764 then :
   7765   printf %s "(cached) " >&6
   7766 else case e in #(
   7767   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7768 /* end confdefs.h.  */
   7769 int i;
   7770 _ACEOF
   7771 if ac_fn_c_try_compile "$LINENO"
   7772 then :
   7773   xorg_cv_cc_flag_unknown_warning_option=yes
   7774 else case e in #(
   7775   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7776 esac
   7777 fi
   7778 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7779 esac
   7780 fi
   7781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7782 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7783 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7784 	CFLAGS="$xorg_testset_save_CFLAGS"
   7785 fi
   7786 
   7787 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7788 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7789 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7790 	fi
   7791 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7792 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7793 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7794 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7795 then :
   7796   printf %s "(cached) " >&6
   7797 else case e in #(
   7798   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7799 /* end confdefs.h.  */
   7800 int i;
   7801 _ACEOF
   7802 if ac_fn_c_try_compile "$LINENO"
   7803 then :
   7804   xorg_cv_cc_flag_unused_command_line_argument=yes
   7805 else case e in #(
   7806   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7807 esac
   7808 fi
   7809 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7810 esac
   7811 fi
   7812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7813 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7814 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7815 	CFLAGS="$xorg_testset_save_CFLAGS"
   7816 fi
   7817 
   7818 found="no"
   7819 
   7820 	if test $found = "no" ; then
   7821 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7822 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7823 		fi
   7824 
   7825 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7826 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7827 		fi
   7828 
   7829 		CFLAGS="$CFLAGS -Werror=init-self"
   7830 
   7831 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7832 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7833 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7834 		if eval test \${$cacheid+y}
   7835 then :
   7836   printf %s "(cached) " >&6
   7837 else case e in #(
   7838   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7839 /* end confdefs.h.  */
   7840 int i;
   7841 int
   7842 main (void)
   7843 {
   7844 
   7845   ;
   7846   return 0;
   7847 }
   7848 _ACEOF
   7849 if ac_fn_c_try_link "$LINENO"
   7850 then :
   7851   eval $cacheid=yes
   7852 else case e in #(
   7853   e) eval $cacheid=no ;;
   7854 esac
   7855 fi
   7856 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7857     conftest$ac_exeext conftest.$ac_ext ;;
   7858 esac
   7859 fi
   7860 
   7861 
   7862 		CFLAGS="$xorg_testset_save_CFLAGS"
   7863 
   7864 		eval supported=\$$cacheid
   7865 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7866 printf "%s\n" "$supported" >&6; }
   7867 		if test "$supported" = "yes" ; then
   7868 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7869 			found="yes"
   7870 		fi
   7871 	fi
   7872 
   7873 
   7874 
   7875 
   7876 
   7877 
   7878 
   7879 
   7880 
   7881 
   7882 
   7883 
   7884 
   7885 
   7886 
   7887 xorg_testset_save_CFLAGS="$CFLAGS"
   7888 
   7889 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7890 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7891 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7892 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7893 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7894 then :
   7895   printf %s "(cached) " >&6
   7896 else case e in #(
   7897   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7898 /* end confdefs.h.  */
   7899 int i;
   7900 _ACEOF
   7901 if ac_fn_c_try_compile "$LINENO"
   7902 then :
   7903   xorg_cv_cc_flag_unknown_warning_option=yes
   7904 else case e in #(
   7905   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7906 esac
   7907 fi
   7908 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7909 esac
   7910 fi
   7911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7912 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7913 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7914 	CFLAGS="$xorg_testset_save_CFLAGS"
   7915 fi
   7916 
   7917 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7918 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7919 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7920 	fi
   7921 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7922 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7923 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7924 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7925 then :
   7926   printf %s "(cached) " >&6
   7927 else case e in #(
   7928   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7929 /* end confdefs.h.  */
   7930 int i;
   7931 _ACEOF
   7932 if ac_fn_c_try_compile "$LINENO"
   7933 then :
   7934   xorg_cv_cc_flag_unused_command_line_argument=yes
   7935 else case e in #(
   7936   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7937 esac
   7938 fi
   7939 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7940 esac
   7941 fi
   7942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7943 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7944 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7945 	CFLAGS="$xorg_testset_save_CFLAGS"
   7946 fi
   7947 
   7948 found="no"
   7949 
   7950 	if test $found = "no" ; then
   7951 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7952 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7953 		fi
   7954 
   7955 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7956 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7957 		fi
   7958 
   7959 		CFLAGS="$CFLAGS -Werror=main"
   7960 
   7961 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7962 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7963 		cacheid=xorg_cv_cc_flag__Werror_main
   7964 		if eval test \${$cacheid+y}
   7965 then :
   7966   printf %s "(cached) " >&6
   7967 else case e in #(
   7968   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7969 /* end confdefs.h.  */
   7970 int i;
   7971 int
   7972 main (void)
   7973 {
   7974 
   7975   ;
   7976   return 0;
   7977 }
   7978 _ACEOF
   7979 if ac_fn_c_try_link "$LINENO"
   7980 then :
   7981   eval $cacheid=yes
   7982 else case e in #(
   7983   e) eval $cacheid=no ;;
   7984 esac
   7985 fi
   7986 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7987     conftest$ac_exeext conftest.$ac_ext ;;
   7988 esac
   7989 fi
   7990 
   7991 
   7992 		CFLAGS="$xorg_testset_save_CFLAGS"
   7993 
   7994 		eval supported=\$$cacheid
   7995 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7996 printf "%s\n" "$supported" >&6; }
   7997 		if test "$supported" = "yes" ; then
   7998 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7999 			found="yes"
   8000 		fi
   8001 	fi
   8002 
   8003 
   8004 
   8005 
   8006 
   8007 
   8008 
   8009 
   8010 
   8011 
   8012 
   8013 
   8014 
   8015 
   8016 
   8017 xorg_testset_save_CFLAGS="$CFLAGS"
   8018 
   8019 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8020 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8021 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8022 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8023 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8024 then :
   8025   printf %s "(cached) " >&6
   8026 else case e in #(
   8027   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8028 /* end confdefs.h.  */
   8029 int i;
   8030 _ACEOF
   8031 if ac_fn_c_try_compile "$LINENO"
   8032 then :
   8033   xorg_cv_cc_flag_unknown_warning_option=yes
   8034 else case e in #(
   8035   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8036 esac
   8037 fi
   8038 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8039 esac
   8040 fi
   8041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8042 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8043 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8044 	CFLAGS="$xorg_testset_save_CFLAGS"
   8045 fi
   8046 
   8047 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8048 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8049 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8050 	fi
   8051 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8052 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8053 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8054 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8055 then :
   8056   printf %s "(cached) " >&6
   8057 else case e in #(
   8058   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8059 /* end confdefs.h.  */
   8060 int i;
   8061 _ACEOF
   8062 if ac_fn_c_try_compile "$LINENO"
   8063 then :
   8064   xorg_cv_cc_flag_unused_command_line_argument=yes
   8065 else case e in #(
   8066   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8067 esac
   8068 fi
   8069 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8070 esac
   8071 fi
   8072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8073 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8074 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8075 	CFLAGS="$xorg_testset_save_CFLAGS"
   8076 fi
   8077 
   8078 found="no"
   8079 
   8080 	if test $found = "no" ; then
   8081 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8082 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8083 		fi
   8084 
   8085 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8086 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8087 		fi
   8088 
   8089 		CFLAGS="$CFLAGS -Werror=missing-braces"
   8090 
   8091 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   8092 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   8093 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   8094 		if eval test \${$cacheid+y}
   8095 then :
   8096   printf %s "(cached) " >&6
   8097 else case e in #(
   8098   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8099 /* end confdefs.h.  */
   8100 int i;
   8101 int
   8102 main (void)
   8103 {
   8104 
   8105   ;
   8106   return 0;
   8107 }
   8108 _ACEOF
   8109 if ac_fn_c_try_link "$LINENO"
   8110 then :
   8111   eval $cacheid=yes
   8112 else case e in #(
   8113   e) eval $cacheid=no ;;
   8114 esac
   8115 fi
   8116 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8117     conftest$ac_exeext conftest.$ac_ext ;;
   8118 esac
   8119 fi
   8120 
   8121 
   8122 		CFLAGS="$xorg_testset_save_CFLAGS"
   8123 
   8124 		eval supported=\$$cacheid
   8125 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8126 printf "%s\n" "$supported" >&6; }
   8127 		if test "$supported" = "yes" ; then
   8128 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   8129 			found="yes"
   8130 		fi
   8131 	fi
   8132 
   8133 
   8134 
   8135 
   8136 
   8137 
   8138 
   8139 
   8140 
   8141 
   8142 
   8143 
   8144 
   8145 
   8146 
   8147 xorg_testset_save_CFLAGS="$CFLAGS"
   8148 
   8149 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8150 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8151 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8152 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8153 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8154 then :
   8155   printf %s "(cached) " >&6
   8156 else case e in #(
   8157   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8158 /* end confdefs.h.  */
   8159 int i;
   8160 _ACEOF
   8161 if ac_fn_c_try_compile "$LINENO"
   8162 then :
   8163   xorg_cv_cc_flag_unknown_warning_option=yes
   8164 else case e in #(
   8165   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8166 esac
   8167 fi
   8168 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8169 esac
   8170 fi
   8171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8172 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8173 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8174 	CFLAGS="$xorg_testset_save_CFLAGS"
   8175 fi
   8176 
   8177 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8178 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8179 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8180 	fi
   8181 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8182 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8183 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8184 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8185 then :
   8186   printf %s "(cached) " >&6
   8187 else case e in #(
   8188   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8189 /* end confdefs.h.  */
   8190 int i;
   8191 _ACEOF
   8192 if ac_fn_c_try_compile "$LINENO"
   8193 then :
   8194   xorg_cv_cc_flag_unused_command_line_argument=yes
   8195 else case e in #(
   8196   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8197 esac
   8198 fi
   8199 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8200 esac
   8201 fi
   8202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8203 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8204 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8205 	CFLAGS="$xorg_testset_save_CFLAGS"
   8206 fi
   8207 
   8208 found="no"
   8209 
   8210 	if test $found = "no" ; then
   8211 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8212 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8213 		fi
   8214 
   8215 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8216 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8217 		fi
   8218 
   8219 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8220 
   8221 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8222 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   8223 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8224 		if eval test \${$cacheid+y}
   8225 then :
   8226   printf %s "(cached) " >&6
   8227 else case e in #(
   8228   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8229 /* end confdefs.h.  */
   8230 int i;
   8231 int
   8232 main (void)
   8233 {
   8234 
   8235   ;
   8236   return 0;
   8237 }
   8238 _ACEOF
   8239 if ac_fn_c_try_link "$LINENO"
   8240 then :
   8241   eval $cacheid=yes
   8242 else case e in #(
   8243   e) eval $cacheid=no ;;
   8244 esac
   8245 fi
   8246 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8247     conftest$ac_exeext conftest.$ac_ext ;;
   8248 esac
   8249 fi
   8250 
   8251 
   8252 		CFLAGS="$xorg_testset_save_CFLAGS"
   8253 
   8254 		eval supported=\$$cacheid
   8255 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8256 printf "%s\n" "$supported" >&6; }
   8257 		if test "$supported" = "yes" ; then
   8258 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8259 			found="yes"
   8260 		fi
   8261 	fi
   8262 
   8263 
   8264 
   8265 
   8266 
   8267 
   8268 
   8269 
   8270 
   8271 
   8272 
   8273 
   8274 
   8275 
   8276 
   8277 xorg_testset_save_CFLAGS="$CFLAGS"
   8278 
   8279 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8280 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8281 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8282 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8283 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8284 then :
   8285   printf %s "(cached) " >&6
   8286 else case e in #(
   8287   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8288 /* end confdefs.h.  */
   8289 int i;
   8290 _ACEOF
   8291 if ac_fn_c_try_compile "$LINENO"
   8292 then :
   8293   xorg_cv_cc_flag_unknown_warning_option=yes
   8294 else case e in #(
   8295   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8296 esac
   8297 fi
   8298 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8299 esac
   8300 fi
   8301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8302 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8303 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8304 	CFLAGS="$xorg_testset_save_CFLAGS"
   8305 fi
   8306 
   8307 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8308 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8309 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8310 	fi
   8311 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8312 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8313 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8314 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8315 then :
   8316   printf %s "(cached) " >&6
   8317 else case e in #(
   8318   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8319 /* end confdefs.h.  */
   8320 int i;
   8321 _ACEOF
   8322 if ac_fn_c_try_compile "$LINENO"
   8323 then :
   8324   xorg_cv_cc_flag_unused_command_line_argument=yes
   8325 else case e in #(
   8326   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8327 esac
   8328 fi
   8329 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8330 esac
   8331 fi
   8332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8333 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8334 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8335 	CFLAGS="$xorg_testset_save_CFLAGS"
   8336 fi
   8337 
   8338 found="no"
   8339 
   8340 	if test $found = "no" ; then
   8341 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8342 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8343 		fi
   8344 
   8345 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8346 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8347 		fi
   8348 
   8349 		CFLAGS="$CFLAGS -Werror=return-type"
   8350 
   8351 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8352 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8353 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8354 		if eval test \${$cacheid+y}
   8355 then :
   8356   printf %s "(cached) " >&6
   8357 else case e in #(
   8358   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8359 /* end confdefs.h.  */
   8360 int i;
   8361 int
   8362 main (void)
   8363 {
   8364 
   8365   ;
   8366   return 0;
   8367 }
   8368 _ACEOF
   8369 if ac_fn_c_try_link "$LINENO"
   8370 then :
   8371   eval $cacheid=yes
   8372 else case e in #(
   8373   e) eval $cacheid=no ;;
   8374 esac
   8375 fi
   8376 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8377     conftest$ac_exeext conftest.$ac_ext ;;
   8378 esac
   8379 fi
   8380 
   8381 
   8382 		CFLAGS="$xorg_testset_save_CFLAGS"
   8383 
   8384 		eval supported=\$$cacheid
   8385 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8386 printf "%s\n" "$supported" >&6; }
   8387 		if test "$supported" = "yes" ; then
   8388 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8389 			found="yes"
   8390 		fi
   8391 	fi
   8392 
   8393 	if test $found = "no" ; then
   8394 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8395 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8396 		fi
   8397 
   8398 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8399 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8400 		fi
   8401 
   8402 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8403 
   8404 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8405 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8406 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8407 		if eval test \${$cacheid+y}
   8408 then :
   8409   printf %s "(cached) " >&6
   8410 else case e in #(
   8411   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8412 /* end confdefs.h.  */
   8413 int i;
   8414 int
   8415 main (void)
   8416 {
   8417 
   8418   ;
   8419   return 0;
   8420 }
   8421 _ACEOF
   8422 if ac_fn_c_try_link "$LINENO"
   8423 then :
   8424   eval $cacheid=yes
   8425 else case e in #(
   8426   e) eval $cacheid=no ;;
   8427 esac
   8428 fi
   8429 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8430     conftest$ac_exeext conftest.$ac_ext ;;
   8431 esac
   8432 fi
   8433 
   8434 
   8435 		CFLAGS="$xorg_testset_save_CFLAGS"
   8436 
   8437 		eval supported=\$$cacheid
   8438 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8439 printf "%s\n" "$supported" >&6; }
   8440 		if test "$supported" = "yes" ; then
   8441 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8442 			found="yes"
   8443 		fi
   8444 	fi
   8445 
   8446 
   8447 
   8448 
   8449 
   8450 
   8451 
   8452 
   8453 
   8454 
   8455 
   8456 
   8457 
   8458 
   8459 
   8460 xorg_testset_save_CFLAGS="$CFLAGS"
   8461 
   8462 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8463 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8464 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8465 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8466 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8467 then :
   8468   printf %s "(cached) " >&6
   8469 else case e in #(
   8470   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8471 /* end confdefs.h.  */
   8472 int i;
   8473 _ACEOF
   8474 if ac_fn_c_try_compile "$LINENO"
   8475 then :
   8476   xorg_cv_cc_flag_unknown_warning_option=yes
   8477 else case e in #(
   8478   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8479 esac
   8480 fi
   8481 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8482 esac
   8483 fi
   8484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8485 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8486 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8487 	CFLAGS="$xorg_testset_save_CFLAGS"
   8488 fi
   8489 
   8490 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8491 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8492 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8493 	fi
   8494 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8495 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8496 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8497 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8498 then :
   8499   printf %s "(cached) " >&6
   8500 else case e in #(
   8501   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8502 /* end confdefs.h.  */
   8503 int i;
   8504 _ACEOF
   8505 if ac_fn_c_try_compile "$LINENO"
   8506 then :
   8507   xorg_cv_cc_flag_unused_command_line_argument=yes
   8508 else case e in #(
   8509   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8510 esac
   8511 fi
   8512 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8513 esac
   8514 fi
   8515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8516 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8517 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8518 	CFLAGS="$xorg_testset_save_CFLAGS"
   8519 fi
   8520 
   8521 found="no"
   8522 
   8523 	if test $found = "no" ; then
   8524 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8525 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8526 		fi
   8527 
   8528 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8529 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8530 		fi
   8531 
   8532 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8533 
   8534 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8535 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8536 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8537 		if eval test \${$cacheid+y}
   8538 then :
   8539   printf %s "(cached) " >&6
   8540 else case e in #(
   8541   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8542 /* end confdefs.h.  */
   8543 int i;
   8544 int
   8545 main (void)
   8546 {
   8547 
   8548   ;
   8549   return 0;
   8550 }
   8551 _ACEOF
   8552 if ac_fn_c_try_link "$LINENO"
   8553 then :
   8554   eval $cacheid=yes
   8555 else case e in #(
   8556   e) eval $cacheid=no ;;
   8557 esac
   8558 fi
   8559 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8560     conftest$ac_exeext conftest.$ac_ext ;;
   8561 esac
   8562 fi
   8563 
   8564 
   8565 		CFLAGS="$xorg_testset_save_CFLAGS"
   8566 
   8567 		eval supported=\$$cacheid
   8568 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8569 printf "%s\n" "$supported" >&6; }
   8570 		if test "$supported" = "yes" ; then
   8571 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8572 			found="yes"
   8573 		fi
   8574 	fi
   8575 
   8576 
   8577 
   8578 
   8579 
   8580 
   8581 
   8582 
   8583 
   8584 
   8585 
   8586 
   8587 
   8588 
   8589 
   8590 xorg_testset_save_CFLAGS="$CFLAGS"
   8591 
   8592 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8593 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8594 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8595 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8596 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8597 then :
   8598   printf %s "(cached) " >&6
   8599 else case e in #(
   8600   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8601 /* end confdefs.h.  */
   8602 int i;
   8603 _ACEOF
   8604 if ac_fn_c_try_compile "$LINENO"
   8605 then :
   8606   xorg_cv_cc_flag_unknown_warning_option=yes
   8607 else case e in #(
   8608   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8609 esac
   8610 fi
   8611 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8612 esac
   8613 fi
   8614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8615 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8616 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8617 	CFLAGS="$xorg_testset_save_CFLAGS"
   8618 fi
   8619 
   8620 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8621 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8622 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8623 	fi
   8624 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8625 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8626 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8627 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8628 then :
   8629   printf %s "(cached) " >&6
   8630 else case e in #(
   8631   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8632 /* end confdefs.h.  */
   8633 int i;
   8634 _ACEOF
   8635 if ac_fn_c_try_compile "$LINENO"
   8636 then :
   8637   xorg_cv_cc_flag_unused_command_line_argument=yes
   8638 else case e in #(
   8639   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8640 esac
   8641 fi
   8642 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8643 esac
   8644 fi
   8645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8646 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8647 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8648 	CFLAGS="$xorg_testset_save_CFLAGS"
   8649 fi
   8650 
   8651 found="no"
   8652 
   8653 	if test $found = "no" ; then
   8654 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8655 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8656 		fi
   8657 
   8658 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8659 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8660 		fi
   8661 
   8662 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8663 
   8664 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8665 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8666 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8667 		if eval test \${$cacheid+y}
   8668 then :
   8669   printf %s "(cached) " >&6
   8670 else case e in #(
   8671   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8672 /* end confdefs.h.  */
   8673 int i;
   8674 int
   8675 main (void)
   8676 {
   8677 
   8678   ;
   8679   return 0;
   8680 }
   8681 _ACEOF
   8682 if ac_fn_c_try_link "$LINENO"
   8683 then :
   8684   eval $cacheid=yes
   8685 else case e in #(
   8686   e) eval $cacheid=no ;;
   8687 esac
   8688 fi
   8689 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8690     conftest$ac_exeext conftest.$ac_ext ;;
   8691 esac
   8692 fi
   8693 
   8694 
   8695 		CFLAGS="$xorg_testset_save_CFLAGS"
   8696 
   8697 		eval supported=\$$cacheid
   8698 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8699 printf "%s\n" "$supported" >&6; }
   8700 		if test "$supported" = "yes" ; then
   8701 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8702 			found="yes"
   8703 		fi
   8704 	fi
   8705 
   8706 
   8707 
   8708 
   8709 
   8710 
   8711 
   8712 
   8713 
   8714 
   8715 
   8716 
   8717 
   8718 
   8719 
   8720 xorg_testset_save_CFLAGS="$CFLAGS"
   8721 
   8722 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8723 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8724 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8725 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8726 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8727 then :
   8728   printf %s "(cached) " >&6
   8729 else case e in #(
   8730   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8731 /* end confdefs.h.  */
   8732 int i;
   8733 _ACEOF
   8734 if ac_fn_c_try_compile "$LINENO"
   8735 then :
   8736   xorg_cv_cc_flag_unknown_warning_option=yes
   8737 else case e in #(
   8738   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8739 esac
   8740 fi
   8741 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8742 esac
   8743 fi
   8744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8745 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8746 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8747 	CFLAGS="$xorg_testset_save_CFLAGS"
   8748 fi
   8749 
   8750 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8751 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8752 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8753 	fi
   8754 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8755 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8756 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8757 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8758 then :
   8759   printf %s "(cached) " >&6
   8760 else case e in #(
   8761   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8762 /* end confdefs.h.  */
   8763 int i;
   8764 _ACEOF
   8765 if ac_fn_c_try_compile "$LINENO"
   8766 then :
   8767   xorg_cv_cc_flag_unused_command_line_argument=yes
   8768 else case e in #(
   8769   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8770 esac
   8771 fi
   8772 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8773 esac
   8774 fi
   8775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8776 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8777 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8778 	CFLAGS="$xorg_testset_save_CFLAGS"
   8779 fi
   8780 
   8781 found="no"
   8782 
   8783 	if test $found = "no" ; then
   8784 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8785 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8786 		fi
   8787 
   8788 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8789 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8790 		fi
   8791 
   8792 		CFLAGS="$CFLAGS -Werror=write-strings"
   8793 
   8794 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8795 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8796 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8797 		if eval test \${$cacheid+y}
   8798 then :
   8799   printf %s "(cached) " >&6
   8800 else case e in #(
   8801   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8802 /* end confdefs.h.  */
   8803 int i;
   8804 int
   8805 main (void)
   8806 {
   8807 
   8808   ;
   8809   return 0;
   8810 }
   8811 _ACEOF
   8812 if ac_fn_c_try_link "$LINENO"
   8813 then :
   8814   eval $cacheid=yes
   8815 else case e in #(
   8816   e) eval $cacheid=no ;;
   8817 esac
   8818 fi
   8819 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8820     conftest$ac_exeext conftest.$ac_ext ;;
   8821 esac
   8822 fi
   8823 
   8824 
   8825 		CFLAGS="$xorg_testset_save_CFLAGS"
   8826 
   8827 		eval supported=\$$cacheid
   8828 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8829 printf "%s\n" "$supported" >&6; }
   8830 		if test "$supported" = "yes" ; then
   8831 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8832 			found="yes"
   8833 		fi
   8834 	fi
   8835 
   8836 
   8837 
   8838 
   8839 
   8840 
   8841 
   8842 
   8843 
   8844 
   8845 
   8846 
   8847 
   8848 
   8849 
   8850 xorg_testset_save_CFLAGS="$CFLAGS"
   8851 
   8852 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8853 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8854 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8855 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8856 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8857 then :
   8858   printf %s "(cached) " >&6
   8859 else case e in #(
   8860   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8861 /* end confdefs.h.  */
   8862 int i;
   8863 _ACEOF
   8864 if ac_fn_c_try_compile "$LINENO"
   8865 then :
   8866   xorg_cv_cc_flag_unknown_warning_option=yes
   8867 else case e in #(
   8868   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8869 esac
   8870 fi
   8871 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8872 esac
   8873 fi
   8874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8875 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8876 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8877 	CFLAGS="$xorg_testset_save_CFLAGS"
   8878 fi
   8879 
   8880 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8881 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8882 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8883 	fi
   8884 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8885 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8886 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8887 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8888 then :
   8889   printf %s "(cached) " >&6
   8890 else case e in #(
   8891   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8892 /* end confdefs.h.  */
   8893 int i;
   8894 _ACEOF
   8895 if ac_fn_c_try_compile "$LINENO"
   8896 then :
   8897   xorg_cv_cc_flag_unused_command_line_argument=yes
   8898 else case e in #(
   8899   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8900 esac
   8901 fi
   8902 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8903 esac
   8904 fi
   8905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8906 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8907 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8908 	CFLAGS="$xorg_testset_save_CFLAGS"
   8909 fi
   8910 
   8911 found="no"
   8912 
   8913 	if test $found = "no" ; then
   8914 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8915 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8916 		fi
   8917 
   8918 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8919 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8920 		fi
   8921 
   8922 		CFLAGS="$CFLAGS -Werror=address"
   8923 
   8924 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8925 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8926 		cacheid=xorg_cv_cc_flag__Werror_address
   8927 		if eval test \${$cacheid+y}
   8928 then :
   8929   printf %s "(cached) " >&6
   8930 else case e in #(
   8931   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8932 /* end confdefs.h.  */
   8933 int i;
   8934 int
   8935 main (void)
   8936 {
   8937 
   8938   ;
   8939   return 0;
   8940 }
   8941 _ACEOF
   8942 if ac_fn_c_try_link "$LINENO"
   8943 then :
   8944   eval $cacheid=yes
   8945 else case e in #(
   8946   e) eval $cacheid=no ;;
   8947 esac
   8948 fi
   8949 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8950     conftest$ac_exeext conftest.$ac_ext ;;
   8951 esac
   8952 fi
   8953 
   8954 
   8955 		CFLAGS="$xorg_testset_save_CFLAGS"
   8956 
   8957 		eval supported=\$$cacheid
   8958 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8959 printf "%s\n" "$supported" >&6; }
   8960 		if test "$supported" = "yes" ; then
   8961 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8962 			found="yes"
   8963 		fi
   8964 	fi
   8965 
   8966 
   8967 
   8968 
   8969 
   8970 
   8971 
   8972 
   8973 
   8974 
   8975 
   8976 
   8977 
   8978 
   8979 
   8980 xorg_testset_save_CFLAGS="$CFLAGS"
   8981 
   8982 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8983 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8984 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8985 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8986 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8987 then :
   8988   printf %s "(cached) " >&6
   8989 else case e in #(
   8990   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8991 /* end confdefs.h.  */
   8992 int i;
   8993 _ACEOF
   8994 if ac_fn_c_try_compile "$LINENO"
   8995 then :
   8996   xorg_cv_cc_flag_unknown_warning_option=yes
   8997 else case e in #(
   8998   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8999 esac
   9000 fi
   9001 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9002 esac
   9003 fi
   9004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9005 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9006 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9007 	CFLAGS="$xorg_testset_save_CFLAGS"
   9008 fi
   9009 
   9010 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9011 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9012 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9013 	fi
   9014 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9015 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9016 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9017 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9018 then :
   9019   printf %s "(cached) " >&6
   9020 else case e in #(
   9021   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9022 /* end confdefs.h.  */
   9023 int i;
   9024 _ACEOF
   9025 if ac_fn_c_try_compile "$LINENO"
   9026 then :
   9027   xorg_cv_cc_flag_unused_command_line_argument=yes
   9028 else case e in #(
   9029   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9030 esac
   9031 fi
   9032 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9033 esac
   9034 fi
   9035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9036 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9037 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9038 	CFLAGS="$xorg_testset_save_CFLAGS"
   9039 fi
   9040 
   9041 found="no"
   9042 
   9043 	if test $found = "no" ; then
   9044 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9045 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9046 		fi
   9047 
   9048 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9049 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9050 		fi
   9051 
   9052 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   9053 
   9054 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   9055 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   9056 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   9057 		if eval test \${$cacheid+y}
   9058 then :
   9059   printf %s "(cached) " >&6
   9060 else case e in #(
   9061   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9062 /* end confdefs.h.  */
   9063 int i;
   9064 int
   9065 main (void)
   9066 {
   9067 
   9068   ;
   9069   return 0;
   9070 }
   9071 _ACEOF
   9072 if ac_fn_c_try_link "$LINENO"
   9073 then :
   9074   eval $cacheid=yes
   9075 else case e in #(
   9076   e) eval $cacheid=no ;;
   9077 esac
   9078 fi
   9079 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9080     conftest$ac_exeext conftest.$ac_ext ;;
   9081 esac
   9082 fi
   9083 
   9084 
   9085 		CFLAGS="$xorg_testset_save_CFLAGS"
   9086 
   9087 		eval supported=\$$cacheid
   9088 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9089 printf "%s\n" "$supported" >&6; }
   9090 		if test "$supported" = "yes" ; then
   9091 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   9092 			found="yes"
   9093 		fi
   9094 	fi
   9095 
   9096 	if test $found = "no" ; then
   9097 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9098 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9099 		fi
   9100 
   9101 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9102 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9103 		fi
   9104 
   9105 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9106 
   9107 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   9108 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   9109 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   9110 		if eval test \${$cacheid+y}
   9111 then :
   9112   printf %s "(cached) " >&6
   9113 else case e in #(
   9114   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9115 /* end confdefs.h.  */
   9116 int i;
   9117 int
   9118 main (void)
   9119 {
   9120 
   9121   ;
   9122   return 0;
   9123 }
   9124 _ACEOF
   9125 if ac_fn_c_try_link "$LINENO"
   9126 then :
   9127   eval $cacheid=yes
   9128 else case e in #(
   9129   e) eval $cacheid=no ;;
   9130 esac
   9131 fi
   9132 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9133     conftest$ac_exeext conftest.$ac_ext ;;
   9134 esac
   9135 fi
   9136 
   9137 
   9138 		CFLAGS="$xorg_testset_save_CFLAGS"
   9139 
   9140 		eval supported=\$$cacheid
   9141 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9142 printf "%s\n" "$supported" >&6; }
   9143 		if test "$supported" = "yes" ; then
   9144 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9145 			found="yes"
   9146 		fi
   9147 	fi
   9148 
   9149 
   9150 
   9151 
   9152 
   9153 
   9154 
   9155 
   9156 
   9157 
   9158 
   9159 
   9160 
   9161 
   9162 
   9163 xorg_testset_save_CFLAGS="$CFLAGS"
   9164 
   9165 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9166 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9167 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9168 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9169 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9170 then :
   9171   printf %s "(cached) " >&6
   9172 else case e in #(
   9173   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9174 /* end confdefs.h.  */
   9175 int i;
   9176 _ACEOF
   9177 if ac_fn_c_try_compile "$LINENO"
   9178 then :
   9179   xorg_cv_cc_flag_unknown_warning_option=yes
   9180 else case e in #(
   9181   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9182 esac
   9183 fi
   9184 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9185 esac
   9186 fi
   9187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9188 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9189 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9190 	CFLAGS="$xorg_testset_save_CFLAGS"
   9191 fi
   9192 
   9193 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9194 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9195 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9196 	fi
   9197 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9198 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9199 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9200 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9201 then :
   9202   printf %s "(cached) " >&6
   9203 else case e in #(
   9204   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9205 /* end confdefs.h.  */
   9206 int i;
   9207 _ACEOF
   9208 if ac_fn_c_try_compile "$LINENO"
   9209 then :
   9210   xorg_cv_cc_flag_unused_command_line_argument=yes
   9211 else case e in #(
   9212   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9213 esac
   9214 fi
   9215 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9216 esac
   9217 fi
   9218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9219 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9220 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9221 	CFLAGS="$xorg_testset_save_CFLAGS"
   9222 fi
   9223 
   9224 found="no"
   9225 
   9226 	if test $found = "no" ; then
   9227 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9228 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9229 		fi
   9230 
   9231 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9232 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9233 		fi
   9234 
   9235 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   9236 
   9237 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   9238 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   9239 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   9240 		if eval test \${$cacheid+y}
   9241 then :
   9242   printf %s "(cached) " >&6
   9243 else case e in #(
   9244   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9245 /* end confdefs.h.  */
   9246 int i;
   9247 int
   9248 main (void)
   9249 {
   9250 
   9251   ;
   9252   return 0;
   9253 }
   9254 _ACEOF
   9255 if ac_fn_c_try_link "$LINENO"
   9256 then :
   9257   eval $cacheid=yes
   9258 else case e in #(
   9259   e) eval $cacheid=no ;;
   9260 esac
   9261 fi
   9262 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9263     conftest$ac_exeext conftest.$ac_ext ;;
   9264 esac
   9265 fi
   9266 
   9267 
   9268 		CFLAGS="$xorg_testset_save_CFLAGS"
   9269 
   9270 		eval supported=\$$cacheid
   9271 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9272 printf "%s\n" "$supported" >&6; }
   9273 		if test "$supported" = "yes" ; then
   9274 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   9275 			found="yes"
   9276 		fi
   9277 	fi
   9278 
   9279  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   9280 else
   9281 { printf "%s\n" "$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
   9282 printf "%s\n" "$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;}
   9283 
   9284 
   9285 
   9286 
   9287 
   9288 
   9289 
   9290 
   9291 
   9292 
   9293 
   9294 
   9295 
   9296 xorg_testset_save_CFLAGS="$CFLAGS"
   9297 
   9298 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9299 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9300 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9301 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9302 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9303 then :
   9304   printf %s "(cached) " >&6
   9305 else case e in #(
   9306   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9307 /* end confdefs.h.  */
   9308 int i;
   9309 _ACEOF
   9310 if ac_fn_c_try_compile "$LINENO"
   9311 then :
   9312   xorg_cv_cc_flag_unknown_warning_option=yes
   9313 else case e in #(
   9314   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9315 esac
   9316 fi
   9317 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9318 esac
   9319 fi
   9320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9321 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9322 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9323 	CFLAGS="$xorg_testset_save_CFLAGS"
   9324 fi
   9325 
   9326 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9327 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9328 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9329 	fi
   9330 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9331 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9332 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9333 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9334 then :
   9335   printf %s "(cached) " >&6
   9336 else case e in #(
   9337   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9338 /* end confdefs.h.  */
   9339 int i;
   9340 _ACEOF
   9341 if ac_fn_c_try_compile "$LINENO"
   9342 then :
   9343   xorg_cv_cc_flag_unused_command_line_argument=yes
   9344 else case e in #(
   9345   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9346 esac
   9347 fi
   9348 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9349 esac
   9350 fi
   9351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9352 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9353 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9354 	CFLAGS="$xorg_testset_save_CFLAGS"
   9355 fi
   9356 
   9357 found="no"
   9358 
   9359 	if test $found = "no" ; then
   9360 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9361 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9362 		fi
   9363 
   9364 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9365 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9366 		fi
   9367 
   9368 		CFLAGS="$CFLAGS -Wimplicit"
   9369 
   9370 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9371 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9372 		cacheid=xorg_cv_cc_flag__Wimplicit
   9373 		if eval test \${$cacheid+y}
   9374 then :
   9375   printf %s "(cached) " >&6
   9376 else case e in #(
   9377   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9378 /* end confdefs.h.  */
   9379 int i;
   9380 int
   9381 main (void)
   9382 {
   9383 
   9384   ;
   9385   return 0;
   9386 }
   9387 _ACEOF
   9388 if ac_fn_c_try_link "$LINENO"
   9389 then :
   9390   eval $cacheid=yes
   9391 else case e in #(
   9392   e) eval $cacheid=no ;;
   9393 esac
   9394 fi
   9395 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9396     conftest$ac_exeext conftest.$ac_ext ;;
   9397 esac
   9398 fi
   9399 
   9400 
   9401 		CFLAGS="$xorg_testset_save_CFLAGS"
   9402 
   9403 		eval supported=\$$cacheid
   9404 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9405 printf "%s\n" "$supported" >&6; }
   9406 		if test "$supported" = "yes" ; then
   9407 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9408 			found="yes"
   9409 		fi
   9410 	fi
   9411 
   9412 
   9413 
   9414 
   9415 
   9416 
   9417 
   9418 
   9419 
   9420 
   9421 
   9422 
   9423 
   9424 
   9425 
   9426 xorg_testset_save_CFLAGS="$CFLAGS"
   9427 
   9428 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9429 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9430 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9431 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9432 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9433 then :
   9434   printf %s "(cached) " >&6
   9435 else case e in #(
   9436   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9437 /* end confdefs.h.  */
   9438 int i;
   9439 _ACEOF
   9440 if ac_fn_c_try_compile "$LINENO"
   9441 then :
   9442   xorg_cv_cc_flag_unknown_warning_option=yes
   9443 else case e in #(
   9444   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9445 esac
   9446 fi
   9447 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9448 esac
   9449 fi
   9450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9451 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9452 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9453 	CFLAGS="$xorg_testset_save_CFLAGS"
   9454 fi
   9455 
   9456 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9457 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9458 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9459 	fi
   9460 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9461 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9462 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9463 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9464 then :
   9465   printf %s "(cached) " >&6
   9466 else case e in #(
   9467   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9468 /* end confdefs.h.  */
   9469 int i;
   9470 _ACEOF
   9471 if ac_fn_c_try_compile "$LINENO"
   9472 then :
   9473   xorg_cv_cc_flag_unused_command_line_argument=yes
   9474 else case e in #(
   9475   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9476 esac
   9477 fi
   9478 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9479 esac
   9480 fi
   9481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9482 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9483 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9484 	CFLAGS="$xorg_testset_save_CFLAGS"
   9485 fi
   9486 
   9487 found="no"
   9488 
   9489 	if test $found = "no" ; then
   9490 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9491 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9492 		fi
   9493 
   9494 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9495 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9496 		fi
   9497 
   9498 		CFLAGS="$CFLAGS -Wnonnull"
   9499 
   9500 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9501 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9502 		cacheid=xorg_cv_cc_flag__Wnonnull
   9503 		if eval test \${$cacheid+y}
   9504 then :
   9505   printf %s "(cached) " >&6
   9506 else case e in #(
   9507   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9508 /* end confdefs.h.  */
   9509 int i;
   9510 int
   9511 main (void)
   9512 {
   9513 
   9514   ;
   9515   return 0;
   9516 }
   9517 _ACEOF
   9518 if ac_fn_c_try_link "$LINENO"
   9519 then :
   9520   eval $cacheid=yes
   9521 else case e in #(
   9522   e) eval $cacheid=no ;;
   9523 esac
   9524 fi
   9525 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9526     conftest$ac_exeext conftest.$ac_ext ;;
   9527 esac
   9528 fi
   9529 
   9530 
   9531 		CFLAGS="$xorg_testset_save_CFLAGS"
   9532 
   9533 		eval supported=\$$cacheid
   9534 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9535 printf "%s\n" "$supported" >&6; }
   9536 		if test "$supported" = "yes" ; then
   9537 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9538 			found="yes"
   9539 		fi
   9540 	fi
   9541 
   9542 
   9543 
   9544 
   9545 
   9546 
   9547 
   9548 
   9549 
   9550 
   9551 
   9552 
   9553 
   9554 
   9555 
   9556 xorg_testset_save_CFLAGS="$CFLAGS"
   9557 
   9558 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9559 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9560 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9561 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9562 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9563 then :
   9564   printf %s "(cached) " >&6
   9565 else case e in #(
   9566   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9567 /* end confdefs.h.  */
   9568 int i;
   9569 _ACEOF
   9570 if ac_fn_c_try_compile "$LINENO"
   9571 then :
   9572   xorg_cv_cc_flag_unknown_warning_option=yes
   9573 else case e in #(
   9574   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9575 esac
   9576 fi
   9577 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9578 esac
   9579 fi
   9580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9581 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9582 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9583 	CFLAGS="$xorg_testset_save_CFLAGS"
   9584 fi
   9585 
   9586 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9587 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9588 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9589 	fi
   9590 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9591 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9592 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9593 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9594 then :
   9595   printf %s "(cached) " >&6
   9596 else case e in #(
   9597   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9598 /* end confdefs.h.  */
   9599 int i;
   9600 _ACEOF
   9601 if ac_fn_c_try_compile "$LINENO"
   9602 then :
   9603   xorg_cv_cc_flag_unused_command_line_argument=yes
   9604 else case e in #(
   9605   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9606 esac
   9607 fi
   9608 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9609 esac
   9610 fi
   9611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9612 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9613 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9614 	CFLAGS="$xorg_testset_save_CFLAGS"
   9615 fi
   9616 
   9617 found="no"
   9618 
   9619 	if test $found = "no" ; then
   9620 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9621 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9622 		fi
   9623 
   9624 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9625 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9626 		fi
   9627 
   9628 		CFLAGS="$CFLAGS -Winit-self"
   9629 
   9630 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9631 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9632 		cacheid=xorg_cv_cc_flag__Winit_self
   9633 		if eval test \${$cacheid+y}
   9634 then :
   9635   printf %s "(cached) " >&6
   9636 else case e in #(
   9637   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9638 /* end confdefs.h.  */
   9639 int i;
   9640 int
   9641 main (void)
   9642 {
   9643 
   9644   ;
   9645   return 0;
   9646 }
   9647 _ACEOF
   9648 if ac_fn_c_try_link "$LINENO"
   9649 then :
   9650   eval $cacheid=yes
   9651 else case e in #(
   9652   e) eval $cacheid=no ;;
   9653 esac
   9654 fi
   9655 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9656     conftest$ac_exeext conftest.$ac_ext ;;
   9657 esac
   9658 fi
   9659 
   9660 
   9661 		CFLAGS="$xorg_testset_save_CFLAGS"
   9662 
   9663 		eval supported=\$$cacheid
   9664 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9665 printf "%s\n" "$supported" >&6; }
   9666 		if test "$supported" = "yes" ; then
   9667 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9668 			found="yes"
   9669 		fi
   9670 	fi
   9671 
   9672 
   9673 
   9674 
   9675 
   9676 
   9677 
   9678 
   9679 
   9680 
   9681 
   9682 
   9683 
   9684 
   9685 
   9686 xorg_testset_save_CFLAGS="$CFLAGS"
   9687 
   9688 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9689 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9690 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9691 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9692 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9693 then :
   9694   printf %s "(cached) " >&6
   9695 else case e in #(
   9696   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9697 /* end confdefs.h.  */
   9698 int i;
   9699 _ACEOF
   9700 if ac_fn_c_try_compile "$LINENO"
   9701 then :
   9702   xorg_cv_cc_flag_unknown_warning_option=yes
   9703 else case e in #(
   9704   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9705 esac
   9706 fi
   9707 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9708 esac
   9709 fi
   9710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9711 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9712 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9713 	CFLAGS="$xorg_testset_save_CFLAGS"
   9714 fi
   9715 
   9716 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9717 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9718 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9719 	fi
   9720 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9721 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9722 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9723 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9724 then :
   9725   printf %s "(cached) " >&6
   9726 else case e in #(
   9727   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9728 /* end confdefs.h.  */
   9729 int i;
   9730 _ACEOF
   9731 if ac_fn_c_try_compile "$LINENO"
   9732 then :
   9733   xorg_cv_cc_flag_unused_command_line_argument=yes
   9734 else case e in #(
   9735   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9736 esac
   9737 fi
   9738 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9739 esac
   9740 fi
   9741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9742 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9743 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9744 	CFLAGS="$xorg_testset_save_CFLAGS"
   9745 fi
   9746 
   9747 found="no"
   9748 
   9749 	if test $found = "no" ; then
   9750 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9751 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9752 		fi
   9753 
   9754 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9755 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9756 		fi
   9757 
   9758 		CFLAGS="$CFLAGS -Wmain"
   9759 
   9760 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9761 printf %s "checking if $CC supports -Wmain... " >&6; }
   9762 		cacheid=xorg_cv_cc_flag__Wmain
   9763 		if eval test \${$cacheid+y}
   9764 then :
   9765   printf %s "(cached) " >&6
   9766 else case e in #(
   9767   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9768 /* end confdefs.h.  */
   9769 int i;
   9770 int
   9771 main (void)
   9772 {
   9773 
   9774   ;
   9775   return 0;
   9776 }
   9777 _ACEOF
   9778 if ac_fn_c_try_link "$LINENO"
   9779 then :
   9780   eval $cacheid=yes
   9781 else case e in #(
   9782   e) eval $cacheid=no ;;
   9783 esac
   9784 fi
   9785 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9786     conftest$ac_exeext conftest.$ac_ext ;;
   9787 esac
   9788 fi
   9789 
   9790 
   9791 		CFLAGS="$xorg_testset_save_CFLAGS"
   9792 
   9793 		eval supported=\$$cacheid
   9794 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9795 printf "%s\n" "$supported" >&6; }
   9796 		if test "$supported" = "yes" ; then
   9797 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9798 			found="yes"
   9799 		fi
   9800 	fi
   9801 
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 
   9813 
   9814 
   9815 
   9816 xorg_testset_save_CFLAGS="$CFLAGS"
   9817 
   9818 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9819 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9820 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9821 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9822 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9823 then :
   9824   printf %s "(cached) " >&6
   9825 else case e in #(
   9826   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9827 /* end confdefs.h.  */
   9828 int i;
   9829 _ACEOF
   9830 if ac_fn_c_try_compile "$LINENO"
   9831 then :
   9832   xorg_cv_cc_flag_unknown_warning_option=yes
   9833 else case e in #(
   9834   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9835 esac
   9836 fi
   9837 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9838 esac
   9839 fi
   9840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9841 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9842 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9843 	CFLAGS="$xorg_testset_save_CFLAGS"
   9844 fi
   9845 
   9846 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9847 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9848 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9849 	fi
   9850 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9851 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9852 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9853 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9854 then :
   9855   printf %s "(cached) " >&6
   9856 else case e in #(
   9857   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9858 /* end confdefs.h.  */
   9859 int i;
   9860 _ACEOF
   9861 if ac_fn_c_try_compile "$LINENO"
   9862 then :
   9863   xorg_cv_cc_flag_unused_command_line_argument=yes
   9864 else case e in #(
   9865   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9866 esac
   9867 fi
   9868 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9869 esac
   9870 fi
   9871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9872 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9873 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9874 	CFLAGS="$xorg_testset_save_CFLAGS"
   9875 fi
   9876 
   9877 found="no"
   9878 
   9879 	if test $found = "no" ; then
   9880 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9881 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9882 		fi
   9883 
   9884 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9885 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9886 		fi
   9887 
   9888 		CFLAGS="$CFLAGS -Wmissing-braces"
   9889 
   9890 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9891 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9892 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9893 		if eval test \${$cacheid+y}
   9894 then :
   9895   printf %s "(cached) " >&6
   9896 else case e in #(
   9897   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9898 /* end confdefs.h.  */
   9899 int i;
   9900 int
   9901 main (void)
   9902 {
   9903 
   9904   ;
   9905   return 0;
   9906 }
   9907 _ACEOF
   9908 if ac_fn_c_try_link "$LINENO"
   9909 then :
   9910   eval $cacheid=yes
   9911 else case e in #(
   9912   e) eval $cacheid=no ;;
   9913 esac
   9914 fi
   9915 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9916     conftest$ac_exeext conftest.$ac_ext ;;
   9917 esac
   9918 fi
   9919 
   9920 
   9921 		CFLAGS="$xorg_testset_save_CFLAGS"
   9922 
   9923 		eval supported=\$$cacheid
   9924 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9925 printf "%s\n" "$supported" >&6; }
   9926 		if test "$supported" = "yes" ; then
   9927 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9928 			found="yes"
   9929 		fi
   9930 	fi
   9931 
   9932 
   9933 
   9934 
   9935 
   9936 
   9937 
   9938 
   9939 
   9940 
   9941 
   9942 
   9943 
   9944 
   9945 
   9946 xorg_testset_save_CFLAGS="$CFLAGS"
   9947 
   9948 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9949 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9950 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9951 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9952 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9953 then :
   9954   printf %s "(cached) " >&6
   9955 else case e in #(
   9956   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9957 /* end confdefs.h.  */
   9958 int i;
   9959 _ACEOF
   9960 if ac_fn_c_try_compile "$LINENO"
   9961 then :
   9962   xorg_cv_cc_flag_unknown_warning_option=yes
   9963 else case e in #(
   9964   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9965 esac
   9966 fi
   9967 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9968 esac
   9969 fi
   9970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9971 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9972 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9973 	CFLAGS="$xorg_testset_save_CFLAGS"
   9974 fi
   9975 
   9976 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9977 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9978 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9979 	fi
   9980 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9981 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9982 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9983 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9984 then :
   9985   printf %s "(cached) " >&6
   9986 else case e in #(
   9987   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9988 /* end confdefs.h.  */
   9989 int i;
   9990 _ACEOF
   9991 if ac_fn_c_try_compile "$LINENO"
   9992 then :
   9993   xorg_cv_cc_flag_unused_command_line_argument=yes
   9994 else case e in #(
   9995   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9996 esac
   9997 fi
   9998 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9999 esac
   10000 fi
   10001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10002 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10003 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10004 	CFLAGS="$xorg_testset_save_CFLAGS"
   10005 fi
   10006 
   10007 found="no"
   10008 
   10009 	if test $found = "no" ; then
   10010 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10011 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10012 		fi
   10013 
   10014 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10015 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10016 		fi
   10017 
   10018 		CFLAGS="$CFLAGS -Wsequence-point"
   10019 
   10020 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   10021 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   10022 		cacheid=xorg_cv_cc_flag__Wsequence_point
   10023 		if eval test \${$cacheid+y}
   10024 then :
   10025   printf %s "(cached) " >&6
   10026 else case e in #(
   10027   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10028 /* end confdefs.h.  */
   10029 int i;
   10030 int
   10031 main (void)
   10032 {
   10033 
   10034   ;
   10035   return 0;
   10036 }
   10037 _ACEOF
   10038 if ac_fn_c_try_link "$LINENO"
   10039 then :
   10040   eval $cacheid=yes
   10041 else case e in #(
   10042   e) eval $cacheid=no ;;
   10043 esac
   10044 fi
   10045 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10046     conftest$ac_exeext conftest.$ac_ext ;;
   10047 esac
   10048 fi
   10049 
   10050 
   10051 		CFLAGS="$xorg_testset_save_CFLAGS"
   10052 
   10053 		eval supported=\$$cacheid
   10054 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10055 printf "%s\n" "$supported" >&6; }
   10056 		if test "$supported" = "yes" ; then
   10057 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   10058 			found="yes"
   10059 		fi
   10060 	fi
   10061 
   10062 
   10063 
   10064 
   10065 
   10066 
   10067 
   10068 
   10069 
   10070 
   10071 
   10072 
   10073 
   10074 
   10075 
   10076 xorg_testset_save_CFLAGS="$CFLAGS"
   10077 
   10078 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10079 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10080 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10081 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10082 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10083 then :
   10084   printf %s "(cached) " >&6
   10085 else case e in #(
   10086   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10087 /* end confdefs.h.  */
   10088 int i;
   10089 _ACEOF
   10090 if ac_fn_c_try_compile "$LINENO"
   10091 then :
   10092   xorg_cv_cc_flag_unknown_warning_option=yes
   10093 else case e in #(
   10094   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10095 esac
   10096 fi
   10097 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10098 esac
   10099 fi
   10100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10101 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10102 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10103 	CFLAGS="$xorg_testset_save_CFLAGS"
   10104 fi
   10105 
   10106 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10107 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10108 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10109 	fi
   10110 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10111 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10112 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10113 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10114 then :
   10115   printf %s "(cached) " >&6
   10116 else case e in #(
   10117   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10118 /* end confdefs.h.  */
   10119 int i;
   10120 _ACEOF
   10121 if ac_fn_c_try_compile "$LINENO"
   10122 then :
   10123   xorg_cv_cc_flag_unused_command_line_argument=yes
   10124 else case e in #(
   10125   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10126 esac
   10127 fi
   10128 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10129 esac
   10130 fi
   10131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10132 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10133 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10134 	CFLAGS="$xorg_testset_save_CFLAGS"
   10135 fi
   10136 
   10137 found="no"
   10138 
   10139 	if test $found = "no" ; then
   10140 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10141 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10142 		fi
   10143 
   10144 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10145 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10146 		fi
   10147 
   10148 		CFLAGS="$CFLAGS -Wreturn-type"
   10149 
   10150 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   10151 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   10152 		cacheid=xorg_cv_cc_flag__Wreturn_type
   10153 		if eval test \${$cacheid+y}
   10154 then :
   10155   printf %s "(cached) " >&6
   10156 else case e in #(
   10157   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10158 /* end confdefs.h.  */
   10159 int i;
   10160 int
   10161 main (void)
   10162 {
   10163 
   10164   ;
   10165   return 0;
   10166 }
   10167 _ACEOF
   10168 if ac_fn_c_try_link "$LINENO"
   10169 then :
   10170   eval $cacheid=yes
   10171 else case e in #(
   10172   e) eval $cacheid=no ;;
   10173 esac
   10174 fi
   10175 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10176     conftest$ac_exeext conftest.$ac_ext ;;
   10177 esac
   10178 fi
   10179 
   10180 
   10181 		CFLAGS="$xorg_testset_save_CFLAGS"
   10182 
   10183 		eval supported=\$$cacheid
   10184 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10185 printf "%s\n" "$supported" >&6; }
   10186 		if test "$supported" = "yes" ; then
   10187 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   10188 			found="yes"
   10189 		fi
   10190 	fi
   10191 
   10192 
   10193 
   10194 
   10195 
   10196 
   10197 
   10198 
   10199 
   10200 
   10201 
   10202 
   10203 
   10204 
   10205 
   10206 xorg_testset_save_CFLAGS="$CFLAGS"
   10207 
   10208 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10209 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10210 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10211 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10212 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10213 then :
   10214   printf %s "(cached) " >&6
   10215 else case e in #(
   10216   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10217 /* end confdefs.h.  */
   10218 int i;
   10219 _ACEOF
   10220 if ac_fn_c_try_compile "$LINENO"
   10221 then :
   10222   xorg_cv_cc_flag_unknown_warning_option=yes
   10223 else case e in #(
   10224   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10225 esac
   10226 fi
   10227 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10228 esac
   10229 fi
   10230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10231 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10232 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10233 	CFLAGS="$xorg_testset_save_CFLAGS"
   10234 fi
   10235 
   10236 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10237 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10238 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10239 	fi
   10240 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10241 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10242 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10243 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10244 then :
   10245   printf %s "(cached) " >&6
   10246 else case e in #(
   10247   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10248 /* end confdefs.h.  */
   10249 int i;
   10250 _ACEOF
   10251 if ac_fn_c_try_compile "$LINENO"
   10252 then :
   10253   xorg_cv_cc_flag_unused_command_line_argument=yes
   10254 else case e in #(
   10255   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10256 esac
   10257 fi
   10258 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10259 esac
   10260 fi
   10261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10262 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10263 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10264 	CFLAGS="$xorg_testset_save_CFLAGS"
   10265 fi
   10266 
   10267 found="no"
   10268 
   10269 	if test $found = "no" ; then
   10270 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10271 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10272 		fi
   10273 
   10274 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10275 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10276 		fi
   10277 
   10278 		CFLAGS="$CFLAGS -Wtrigraphs"
   10279 
   10280 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   10281 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   10282 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   10283 		if eval test \${$cacheid+y}
   10284 then :
   10285   printf %s "(cached) " >&6
   10286 else case e in #(
   10287   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10288 /* end confdefs.h.  */
   10289 int i;
   10290 int
   10291 main (void)
   10292 {
   10293 
   10294   ;
   10295   return 0;
   10296 }
   10297 _ACEOF
   10298 if ac_fn_c_try_link "$LINENO"
   10299 then :
   10300   eval $cacheid=yes
   10301 else case e in #(
   10302   e) eval $cacheid=no ;;
   10303 esac
   10304 fi
   10305 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10306     conftest$ac_exeext conftest.$ac_ext ;;
   10307 esac
   10308 fi
   10309 
   10310 
   10311 		CFLAGS="$xorg_testset_save_CFLAGS"
   10312 
   10313 		eval supported=\$$cacheid
   10314 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10315 printf "%s\n" "$supported" >&6; }
   10316 		if test "$supported" = "yes" ; then
   10317 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   10318 			found="yes"
   10319 		fi
   10320 	fi
   10321 
   10322 
   10323 
   10324 
   10325 
   10326 
   10327 
   10328 
   10329 
   10330 
   10331 
   10332 
   10333 
   10334 
   10335 
   10336 xorg_testset_save_CFLAGS="$CFLAGS"
   10337 
   10338 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10339 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10340 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10341 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10342 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10343 then :
   10344   printf %s "(cached) " >&6
   10345 else case e in #(
   10346   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10347 /* end confdefs.h.  */
   10348 int i;
   10349 _ACEOF
   10350 if ac_fn_c_try_compile "$LINENO"
   10351 then :
   10352   xorg_cv_cc_flag_unknown_warning_option=yes
   10353 else case e in #(
   10354   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10355 esac
   10356 fi
   10357 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10358 esac
   10359 fi
   10360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10361 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10362 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10363 	CFLAGS="$xorg_testset_save_CFLAGS"
   10364 fi
   10365 
   10366 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10367 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10368 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10369 	fi
   10370 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10371 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10372 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10373 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10374 then :
   10375   printf %s "(cached) " >&6
   10376 else case e in #(
   10377   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10378 /* end confdefs.h.  */
   10379 int i;
   10380 _ACEOF
   10381 if ac_fn_c_try_compile "$LINENO"
   10382 then :
   10383   xorg_cv_cc_flag_unused_command_line_argument=yes
   10384 else case e in #(
   10385   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10386 esac
   10387 fi
   10388 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10389 esac
   10390 fi
   10391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10392 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10393 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10394 	CFLAGS="$xorg_testset_save_CFLAGS"
   10395 fi
   10396 
   10397 found="no"
   10398 
   10399 	if test $found = "no" ; then
   10400 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10401 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10402 		fi
   10403 
   10404 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10405 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10406 		fi
   10407 
   10408 		CFLAGS="$CFLAGS -Warray-bounds"
   10409 
   10410 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10411 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10412 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10413 		if eval test \${$cacheid+y}
   10414 then :
   10415   printf %s "(cached) " >&6
   10416 else case e in #(
   10417   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10418 /* end confdefs.h.  */
   10419 int i;
   10420 int
   10421 main (void)
   10422 {
   10423 
   10424   ;
   10425   return 0;
   10426 }
   10427 _ACEOF
   10428 if ac_fn_c_try_link "$LINENO"
   10429 then :
   10430   eval $cacheid=yes
   10431 else case e in #(
   10432   e) eval $cacheid=no ;;
   10433 esac
   10434 fi
   10435 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10436     conftest$ac_exeext conftest.$ac_ext ;;
   10437 esac
   10438 fi
   10439 
   10440 
   10441 		CFLAGS="$xorg_testset_save_CFLAGS"
   10442 
   10443 		eval supported=\$$cacheid
   10444 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10445 printf "%s\n" "$supported" >&6; }
   10446 		if test "$supported" = "yes" ; then
   10447 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10448 			found="yes"
   10449 		fi
   10450 	fi
   10451 
   10452 
   10453 
   10454 
   10455 
   10456 
   10457 
   10458 
   10459 
   10460 
   10461 
   10462 
   10463 
   10464 
   10465 
   10466 xorg_testset_save_CFLAGS="$CFLAGS"
   10467 
   10468 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10469 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10470 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10471 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10472 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10473 then :
   10474   printf %s "(cached) " >&6
   10475 else case e in #(
   10476   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10477 /* end confdefs.h.  */
   10478 int i;
   10479 _ACEOF
   10480 if ac_fn_c_try_compile "$LINENO"
   10481 then :
   10482   xorg_cv_cc_flag_unknown_warning_option=yes
   10483 else case e in #(
   10484   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10485 esac
   10486 fi
   10487 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10488 esac
   10489 fi
   10490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10491 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10492 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10493 	CFLAGS="$xorg_testset_save_CFLAGS"
   10494 fi
   10495 
   10496 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10497 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10498 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10499 	fi
   10500 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10501 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10502 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10503 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10504 then :
   10505   printf %s "(cached) " >&6
   10506 else case e in #(
   10507   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10508 /* end confdefs.h.  */
   10509 int i;
   10510 _ACEOF
   10511 if ac_fn_c_try_compile "$LINENO"
   10512 then :
   10513   xorg_cv_cc_flag_unused_command_line_argument=yes
   10514 else case e in #(
   10515   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10516 esac
   10517 fi
   10518 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10519 esac
   10520 fi
   10521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10522 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10523 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10524 	CFLAGS="$xorg_testset_save_CFLAGS"
   10525 fi
   10526 
   10527 found="no"
   10528 
   10529 	if test $found = "no" ; then
   10530 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10531 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10532 		fi
   10533 
   10534 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10535 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10536 		fi
   10537 
   10538 		CFLAGS="$CFLAGS -Wwrite-strings"
   10539 
   10540 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10541 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10542 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10543 		if eval test \${$cacheid+y}
   10544 then :
   10545   printf %s "(cached) " >&6
   10546 else case e in #(
   10547   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10548 /* end confdefs.h.  */
   10549 int i;
   10550 int
   10551 main (void)
   10552 {
   10553 
   10554   ;
   10555   return 0;
   10556 }
   10557 _ACEOF
   10558 if ac_fn_c_try_link "$LINENO"
   10559 then :
   10560   eval $cacheid=yes
   10561 else case e in #(
   10562   e) eval $cacheid=no ;;
   10563 esac
   10564 fi
   10565 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10566     conftest$ac_exeext conftest.$ac_ext ;;
   10567 esac
   10568 fi
   10569 
   10570 
   10571 		CFLAGS="$xorg_testset_save_CFLAGS"
   10572 
   10573 		eval supported=\$$cacheid
   10574 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10575 printf "%s\n" "$supported" >&6; }
   10576 		if test "$supported" = "yes" ; then
   10577 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10578 			found="yes"
   10579 		fi
   10580 	fi
   10581 
   10582 
   10583 
   10584 
   10585 
   10586 
   10587 
   10588 
   10589 
   10590 
   10591 
   10592 
   10593 
   10594 
   10595 
   10596 xorg_testset_save_CFLAGS="$CFLAGS"
   10597 
   10598 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10599 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10600 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10601 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10602 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10603 then :
   10604   printf %s "(cached) " >&6
   10605 else case e in #(
   10606   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10607 /* end confdefs.h.  */
   10608 int i;
   10609 _ACEOF
   10610 if ac_fn_c_try_compile "$LINENO"
   10611 then :
   10612   xorg_cv_cc_flag_unknown_warning_option=yes
   10613 else case e in #(
   10614   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10615 esac
   10616 fi
   10617 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10618 esac
   10619 fi
   10620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10621 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10622 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10623 	CFLAGS="$xorg_testset_save_CFLAGS"
   10624 fi
   10625 
   10626 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10627 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10628 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10629 	fi
   10630 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10631 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10632 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10633 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10634 then :
   10635   printf %s "(cached) " >&6
   10636 else case e in #(
   10637   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10638 /* end confdefs.h.  */
   10639 int i;
   10640 _ACEOF
   10641 if ac_fn_c_try_compile "$LINENO"
   10642 then :
   10643   xorg_cv_cc_flag_unused_command_line_argument=yes
   10644 else case e in #(
   10645   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10646 esac
   10647 fi
   10648 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10649 esac
   10650 fi
   10651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10652 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10653 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10654 	CFLAGS="$xorg_testset_save_CFLAGS"
   10655 fi
   10656 
   10657 found="no"
   10658 
   10659 	if test $found = "no" ; then
   10660 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10661 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10662 		fi
   10663 
   10664 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10665 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10666 		fi
   10667 
   10668 		CFLAGS="$CFLAGS -Waddress"
   10669 
   10670 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10671 printf %s "checking if $CC supports -Waddress... " >&6; }
   10672 		cacheid=xorg_cv_cc_flag__Waddress
   10673 		if eval test \${$cacheid+y}
   10674 then :
   10675   printf %s "(cached) " >&6
   10676 else case e in #(
   10677   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10678 /* end confdefs.h.  */
   10679 int i;
   10680 int
   10681 main (void)
   10682 {
   10683 
   10684   ;
   10685   return 0;
   10686 }
   10687 _ACEOF
   10688 if ac_fn_c_try_link "$LINENO"
   10689 then :
   10690   eval $cacheid=yes
   10691 else case e in #(
   10692   e) eval $cacheid=no ;;
   10693 esac
   10694 fi
   10695 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10696     conftest$ac_exeext conftest.$ac_ext ;;
   10697 esac
   10698 fi
   10699 
   10700 
   10701 		CFLAGS="$xorg_testset_save_CFLAGS"
   10702 
   10703 		eval supported=\$$cacheid
   10704 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10705 printf "%s\n" "$supported" >&6; }
   10706 		if test "$supported" = "yes" ; then
   10707 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10708 			found="yes"
   10709 		fi
   10710 	fi
   10711 
   10712 
   10713 
   10714 
   10715 
   10716 
   10717 
   10718 
   10719 
   10720 
   10721 
   10722 
   10723 
   10724 
   10725 
   10726 xorg_testset_save_CFLAGS="$CFLAGS"
   10727 
   10728 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10729 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10730 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10731 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10732 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10733 then :
   10734   printf %s "(cached) " >&6
   10735 else case e in #(
   10736   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10737 /* end confdefs.h.  */
   10738 int i;
   10739 _ACEOF
   10740 if ac_fn_c_try_compile "$LINENO"
   10741 then :
   10742   xorg_cv_cc_flag_unknown_warning_option=yes
   10743 else case e in #(
   10744   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10745 esac
   10746 fi
   10747 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10748 esac
   10749 fi
   10750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10751 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10752 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10753 	CFLAGS="$xorg_testset_save_CFLAGS"
   10754 fi
   10755 
   10756 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10757 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10758 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10759 	fi
   10760 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10761 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10762 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10763 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10764 then :
   10765   printf %s "(cached) " >&6
   10766 else case e in #(
   10767   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10768 /* end confdefs.h.  */
   10769 int i;
   10770 _ACEOF
   10771 if ac_fn_c_try_compile "$LINENO"
   10772 then :
   10773   xorg_cv_cc_flag_unused_command_line_argument=yes
   10774 else case e in #(
   10775   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10776 esac
   10777 fi
   10778 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10779 esac
   10780 fi
   10781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10782 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10783 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10784 	CFLAGS="$xorg_testset_save_CFLAGS"
   10785 fi
   10786 
   10787 found="no"
   10788 
   10789 	if test $found = "no" ; then
   10790 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10791 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10792 		fi
   10793 
   10794 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10795 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10796 		fi
   10797 
   10798 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10799 
   10800 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10801 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10802 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10803 		if eval test \${$cacheid+y}
   10804 then :
   10805   printf %s "(cached) " >&6
   10806 else case e in #(
   10807   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10808 /* end confdefs.h.  */
   10809 int i;
   10810 int
   10811 main (void)
   10812 {
   10813 
   10814   ;
   10815   return 0;
   10816 }
   10817 _ACEOF
   10818 if ac_fn_c_try_link "$LINENO"
   10819 then :
   10820   eval $cacheid=yes
   10821 else case e in #(
   10822   e) eval $cacheid=no ;;
   10823 esac
   10824 fi
   10825 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10826     conftest$ac_exeext conftest.$ac_ext ;;
   10827 esac
   10828 fi
   10829 
   10830 
   10831 		CFLAGS="$xorg_testset_save_CFLAGS"
   10832 
   10833 		eval supported=\$$cacheid
   10834 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10835 printf "%s\n" "$supported" >&6; }
   10836 		if test "$supported" = "yes" ; then
   10837 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10838 			found="yes"
   10839 		fi
   10840 	fi
   10841 
   10842 
   10843 
   10844 
   10845 
   10846 
   10847 
   10848 
   10849 
   10850 
   10851 
   10852 
   10853 
   10854 
   10855 
   10856 xorg_testset_save_CFLAGS="$CFLAGS"
   10857 
   10858 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10859 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10860 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10861 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10862 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10863 then :
   10864   printf %s "(cached) " >&6
   10865 else case e in #(
   10866   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10867 /* end confdefs.h.  */
   10868 int i;
   10869 _ACEOF
   10870 if ac_fn_c_try_compile "$LINENO"
   10871 then :
   10872   xorg_cv_cc_flag_unknown_warning_option=yes
   10873 else case e in #(
   10874   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10875 esac
   10876 fi
   10877 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10878 esac
   10879 fi
   10880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10881 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10882 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10883 	CFLAGS="$xorg_testset_save_CFLAGS"
   10884 fi
   10885 
   10886 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10887 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10888 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10889 	fi
   10890 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10891 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10892 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10893 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10894 then :
   10895   printf %s "(cached) " >&6
   10896 else case e in #(
   10897   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10898 /* end confdefs.h.  */
   10899 int i;
   10900 _ACEOF
   10901 if ac_fn_c_try_compile "$LINENO"
   10902 then :
   10903   xorg_cv_cc_flag_unused_command_line_argument=yes
   10904 else case e in #(
   10905   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10906 esac
   10907 fi
   10908 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10909 esac
   10910 fi
   10911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10912 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10913 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10914 	CFLAGS="$xorg_testset_save_CFLAGS"
   10915 fi
   10916 
   10917 found="no"
   10918 
   10919 	if test $found = "no" ; then
   10920 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10921 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10922 		fi
   10923 
   10924 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10925 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10926 		fi
   10927 
   10928 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10929 
   10930 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10931 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10932 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10933 		if eval test \${$cacheid+y}
   10934 then :
   10935   printf %s "(cached) " >&6
   10936 else case e in #(
   10937   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10938 /* end confdefs.h.  */
   10939 int i;
   10940 int
   10941 main (void)
   10942 {
   10943 
   10944   ;
   10945   return 0;
   10946 }
   10947 _ACEOF
   10948 if ac_fn_c_try_link "$LINENO"
   10949 then :
   10950   eval $cacheid=yes
   10951 else case e in #(
   10952   e) eval $cacheid=no ;;
   10953 esac
   10954 fi
   10955 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10956     conftest$ac_exeext conftest.$ac_ext ;;
   10957 esac
   10958 fi
   10959 
   10960 
   10961 		CFLAGS="$xorg_testset_save_CFLAGS"
   10962 
   10963 		eval supported=\$$cacheid
   10964 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10965 printf "%s\n" "$supported" >&6; }
   10966 		if test "$supported" = "yes" ; then
   10967 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10968 			found="yes"
   10969 		fi
   10970 	fi
   10971 
   10972 
   10973 fi
   10974 
   10975 
   10976 
   10977 
   10978 
   10979 
   10980 
   10981 		CWARNFLAGS="$BASE_CFLAGS"
   10982 		if  test "x$GCC" = xyes ; then
   10983 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10984 		fi
   10985 
   10986 
   10987 
   10988 
   10989 
   10990 
   10991 
   10992 
   10993 # Check whether --enable-strict-compilation was given.
   10994 if test ${enable_strict_compilation+y}
   10995 then :
   10996   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10997 else case e in #(
   10998   e) STRICT_COMPILE=no ;;
   10999 esac
   11000 fi
   11001 
   11002 
   11003 
   11004 
   11005 
   11006 
   11007 STRICT_CFLAGS=""
   11008 
   11009 
   11010 
   11011 
   11012 
   11013 
   11014 
   11015 
   11016 
   11017 
   11018 
   11019 
   11020 
   11021 xorg_testset_save_CFLAGS="$CFLAGS"
   11022 
   11023 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11024 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11025 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11026 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11027 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11028 then :
   11029   printf %s "(cached) " >&6
   11030 else case e in #(
   11031   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11032 /* end confdefs.h.  */
   11033 int i;
   11034 _ACEOF
   11035 if ac_fn_c_try_compile "$LINENO"
   11036 then :
   11037   xorg_cv_cc_flag_unknown_warning_option=yes
   11038 else case e in #(
   11039   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11040 esac
   11041 fi
   11042 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11043 esac
   11044 fi
   11045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11046 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11047 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11048 	CFLAGS="$xorg_testset_save_CFLAGS"
   11049 fi
   11050 
   11051 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11052 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11053 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11054 	fi
   11055 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11056 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11057 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11058 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11059 then :
   11060   printf %s "(cached) " >&6
   11061 else case e in #(
   11062   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11063 /* end confdefs.h.  */
   11064 int i;
   11065 _ACEOF
   11066 if ac_fn_c_try_compile "$LINENO"
   11067 then :
   11068   xorg_cv_cc_flag_unused_command_line_argument=yes
   11069 else case e in #(
   11070   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11071 esac
   11072 fi
   11073 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11074 esac
   11075 fi
   11076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11077 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11078 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11079 	CFLAGS="$xorg_testset_save_CFLAGS"
   11080 fi
   11081 
   11082 found="no"
   11083 
   11084 	if test $found = "no" ; then
   11085 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11086 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11087 		fi
   11088 
   11089 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11090 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11091 		fi
   11092 
   11093 		CFLAGS="$CFLAGS -pedantic"
   11094 
   11095 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   11096 printf %s "checking if $CC supports -pedantic... " >&6; }
   11097 		cacheid=xorg_cv_cc_flag__pedantic
   11098 		if eval test \${$cacheid+y}
   11099 then :
   11100   printf %s "(cached) " >&6
   11101 else case e in #(
   11102   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11103 /* end confdefs.h.  */
   11104 int i;
   11105 int
   11106 main (void)
   11107 {
   11108 
   11109   ;
   11110   return 0;
   11111 }
   11112 _ACEOF
   11113 if ac_fn_c_try_link "$LINENO"
   11114 then :
   11115   eval $cacheid=yes
   11116 else case e in #(
   11117   e) eval $cacheid=no ;;
   11118 esac
   11119 fi
   11120 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11121     conftest$ac_exeext conftest.$ac_ext ;;
   11122 esac
   11123 fi
   11124 
   11125 
   11126 		CFLAGS="$xorg_testset_save_CFLAGS"
   11127 
   11128 		eval supported=\$$cacheid
   11129 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11130 printf "%s\n" "$supported" >&6; }
   11131 		if test "$supported" = "yes" ; then
   11132 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   11133 			found="yes"
   11134 		fi
   11135 	fi
   11136 
   11137 
   11138 
   11139 
   11140 
   11141 
   11142 
   11143 
   11144 
   11145 
   11146 
   11147 
   11148 
   11149 
   11150 
   11151 xorg_testset_save_CFLAGS="$CFLAGS"
   11152 
   11153 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11154 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11155 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11156 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11157 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11158 then :
   11159   printf %s "(cached) " >&6
   11160 else case e in #(
   11161   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11162 /* end confdefs.h.  */
   11163 int i;
   11164 _ACEOF
   11165 if ac_fn_c_try_compile "$LINENO"
   11166 then :
   11167   xorg_cv_cc_flag_unknown_warning_option=yes
   11168 else case e in #(
   11169   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11170 esac
   11171 fi
   11172 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11173 esac
   11174 fi
   11175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11176 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11177 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11178 	CFLAGS="$xorg_testset_save_CFLAGS"
   11179 fi
   11180 
   11181 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11182 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11183 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11184 	fi
   11185 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11186 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11187 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11188 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11189 then :
   11190   printf %s "(cached) " >&6
   11191 else case e in #(
   11192   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11193 /* end confdefs.h.  */
   11194 int i;
   11195 _ACEOF
   11196 if ac_fn_c_try_compile "$LINENO"
   11197 then :
   11198   xorg_cv_cc_flag_unused_command_line_argument=yes
   11199 else case e in #(
   11200   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11201 esac
   11202 fi
   11203 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11204 esac
   11205 fi
   11206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11207 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11208 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11209 	CFLAGS="$xorg_testset_save_CFLAGS"
   11210 fi
   11211 
   11212 found="no"
   11213 
   11214 	if test $found = "no" ; then
   11215 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11216 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11217 		fi
   11218 
   11219 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11220 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11221 		fi
   11222 
   11223 		CFLAGS="$CFLAGS -Werror"
   11224 
   11225 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   11226 printf %s "checking if $CC supports -Werror... " >&6; }
   11227 		cacheid=xorg_cv_cc_flag__Werror
   11228 		if eval test \${$cacheid+y}
   11229 then :
   11230   printf %s "(cached) " >&6
   11231 else case e in #(
   11232   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11233 /* end confdefs.h.  */
   11234 int i;
   11235 int
   11236 main (void)
   11237 {
   11238 
   11239   ;
   11240   return 0;
   11241 }
   11242 _ACEOF
   11243 if ac_fn_c_try_link "$LINENO"
   11244 then :
   11245   eval $cacheid=yes
   11246 else case e in #(
   11247   e) eval $cacheid=no ;;
   11248 esac
   11249 fi
   11250 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11251     conftest$ac_exeext conftest.$ac_ext ;;
   11252 esac
   11253 fi
   11254 
   11255 
   11256 		CFLAGS="$xorg_testset_save_CFLAGS"
   11257 
   11258 		eval supported=\$$cacheid
   11259 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11260 printf "%s\n" "$supported" >&6; }
   11261 		if test "$supported" = "yes" ; then
   11262 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   11263 			found="yes"
   11264 		fi
   11265 	fi
   11266 
   11267 	if test $found = "no" ; then
   11268 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11269 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11270 		fi
   11271 
   11272 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11273 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11274 		fi
   11275 
   11276 		CFLAGS="$CFLAGS -errwarn"
   11277 
   11278 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   11279 printf %s "checking if $CC supports -errwarn... " >&6; }
   11280 		cacheid=xorg_cv_cc_flag__errwarn
   11281 		if eval test \${$cacheid+y}
   11282 then :
   11283   printf %s "(cached) " >&6
   11284 else case e in #(
   11285   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11286 /* end confdefs.h.  */
   11287 int i;
   11288 int
   11289 main (void)
   11290 {
   11291 
   11292   ;
   11293   return 0;
   11294 }
   11295 _ACEOF
   11296 if ac_fn_c_try_link "$LINENO"
   11297 then :
   11298   eval $cacheid=yes
   11299 else case e in #(
   11300   e) eval $cacheid=no ;;
   11301 esac
   11302 fi
   11303 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11304     conftest$ac_exeext conftest.$ac_ext ;;
   11305 esac
   11306 fi
   11307 
   11308 
   11309 		CFLAGS="$xorg_testset_save_CFLAGS"
   11310 
   11311 		eval supported=\$$cacheid
   11312 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11313 printf "%s\n" "$supported" >&6; }
   11314 		if test "$supported" = "yes" ; then
   11315 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   11316 			found="yes"
   11317 		fi
   11318 	fi
   11319 
   11320 
   11321 
   11322 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   11323 # activate it with -Werror, so we add it here explicitly.
   11324 
   11325 
   11326 
   11327 
   11328 
   11329 
   11330 
   11331 
   11332 
   11333 
   11334 
   11335 
   11336 
   11337 xorg_testset_save_CFLAGS="$CFLAGS"
   11338 
   11339 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11340 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11341 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11342 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11343 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11344 then :
   11345   printf %s "(cached) " >&6
   11346 else case e in #(
   11347   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11348 /* end confdefs.h.  */
   11349 int i;
   11350 _ACEOF
   11351 if ac_fn_c_try_compile "$LINENO"
   11352 then :
   11353   xorg_cv_cc_flag_unknown_warning_option=yes
   11354 else case e in #(
   11355   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11356 esac
   11357 fi
   11358 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11359 esac
   11360 fi
   11361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11362 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11363 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11364 	CFLAGS="$xorg_testset_save_CFLAGS"
   11365 fi
   11366 
   11367 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11368 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11369 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11370 	fi
   11371 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11372 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11373 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11374 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11375 then :
   11376   printf %s "(cached) " >&6
   11377 else case e in #(
   11378   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11379 /* end confdefs.h.  */
   11380 int i;
   11381 _ACEOF
   11382 if ac_fn_c_try_compile "$LINENO"
   11383 then :
   11384   xorg_cv_cc_flag_unused_command_line_argument=yes
   11385 else case e in #(
   11386   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11387 esac
   11388 fi
   11389 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11390 esac
   11391 fi
   11392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11393 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11394 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11395 	CFLAGS="$xorg_testset_save_CFLAGS"
   11396 fi
   11397 
   11398 found="no"
   11399 
   11400 	if test $found = "no" ; then
   11401 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11402 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11403 		fi
   11404 
   11405 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11406 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11407 		fi
   11408 
   11409 		CFLAGS="$CFLAGS -Werror=attributes"
   11410 
   11411 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11412 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11413 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11414 		if eval test \${$cacheid+y}
   11415 then :
   11416   printf %s "(cached) " >&6
   11417 else case e in #(
   11418   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11419 /* end confdefs.h.  */
   11420 int i;
   11421 int
   11422 main (void)
   11423 {
   11424 
   11425   ;
   11426   return 0;
   11427 }
   11428 _ACEOF
   11429 if ac_fn_c_try_link "$LINENO"
   11430 then :
   11431   eval $cacheid=yes
   11432 else case e in #(
   11433   e) eval $cacheid=no ;;
   11434 esac
   11435 fi
   11436 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11437     conftest$ac_exeext conftest.$ac_ext ;;
   11438 esac
   11439 fi
   11440 
   11441 
   11442 		CFLAGS="$xorg_testset_save_CFLAGS"
   11443 
   11444 		eval supported=\$$cacheid
   11445 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11446 printf "%s\n" "$supported" >&6; }
   11447 		if test "$supported" = "yes" ; then
   11448 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11449 			found="yes"
   11450 		fi
   11451 	fi
   11452 
   11453 
   11454 
   11455 if test "x$STRICT_COMPILE" = "xyes"; then
   11456     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11457     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11458 fi
   11459 
   11460 
   11461 
   11462 
   11463 
   11464 
   11465 
   11466 
   11467 cat >>confdefs.h <<_ACEOF
   11468 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11469 _ACEOF
   11470 
   11471 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11472 	if test "x$PVM" = "x"; then
   11473 		PVM="0"
   11474 	fi
   11475 
   11476 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11477 
   11478 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11479 	if test "x$PVP" = "x"; then
   11480 		PVP="0"
   11481 	fi
   11482 
   11483 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11484 
   11485 
   11486 
   11487 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11488 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11489 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11490 touch \$(top_srcdir)/ChangeLog; \
   11491 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11492 
   11493 
   11494 
   11495 
   11496 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11497 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11498 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11499 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11500 touch \$(top_srcdir)/INSTALL; \
   11501 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11502 
   11503 
   11504 
   11505 
   11506 
   11507 
   11508 case $host_os in
   11509     solaris*)
   11510         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11511         # check for a man page file found in later versions that use
   11512         # traditional section numbers instead
   11513         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11514 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11515 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11516 then :
   11517   printf %s "(cached) " >&6
   11518 else case e in #(
   11519   e) test "$cross_compiling" = yes &&
   11520   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11521 if test -r "/usr/share/man/man7/attributes.7"; then
   11522   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11523 else
   11524   ac_cv_file__usr_share_man_man7_attributes_7=no
   11525 fi ;;
   11526 esac
   11527 fi
   11528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11529 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11530 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11531 then :
   11532   SYSV_MAN_SECTIONS=false
   11533 else case e in #(
   11534   e) SYSV_MAN_SECTIONS=true ;;
   11535 esac
   11536 fi
   11537 
   11538         ;;
   11539     *) SYSV_MAN_SECTIONS=false ;;
   11540 esac
   11541 
   11542 if test x$APP_MAN_SUFFIX = x    ; then
   11543     APP_MAN_SUFFIX=1
   11544 fi
   11545 if test x$APP_MAN_DIR = x    ; then
   11546     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11547 fi
   11548 
   11549 if test x$LIB_MAN_SUFFIX = x    ; then
   11550     LIB_MAN_SUFFIX=3
   11551 fi
   11552 if test x$LIB_MAN_DIR = x    ; then
   11553     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11554 fi
   11555 
   11556 if test x$FILE_MAN_SUFFIX = x    ; then
   11557     case $SYSV_MAN_SECTIONS in
   11558 	true)				FILE_MAN_SUFFIX=4  ;;
   11559 	*)				FILE_MAN_SUFFIX=5  ;;
   11560     esac
   11561 fi
   11562 if test x$FILE_MAN_DIR = x    ; then
   11563     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11564 fi
   11565 
   11566 if test x$MISC_MAN_SUFFIX = x    ; then
   11567     case $SYSV_MAN_SECTIONS in
   11568 	true)				MISC_MAN_SUFFIX=5  ;;
   11569 	*)				MISC_MAN_SUFFIX=7  ;;
   11570     esac
   11571 fi
   11572 if test x$MISC_MAN_DIR = x    ; then
   11573     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11574 fi
   11575 
   11576 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11577     case $SYSV_MAN_SECTIONS in
   11578 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11579 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11580     esac
   11581 fi
   11582 if test x$DRIVER_MAN_DIR = x    ; then
   11583     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11584 fi
   11585 
   11586 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11587     case $SYSV_MAN_SECTIONS in
   11588 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11589 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11590     esac
   11591 fi
   11592 if test x$ADMIN_MAN_DIR = x    ; then
   11593     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11594 fi
   11595 
   11596 
   11597 
   11598 
   11599 
   11600 
   11601 
   11602 
   11603 
   11604 
   11605 
   11606 
   11607 
   11608 
   11609 
   11610 XORG_MAN_PAGE="X Version 11"
   11611 
   11612 MAN_SUBSTS="\
   11613 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11614 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11615 	-e 's|__xservername__|Xorg|g' \
   11616 	-e 's|__xconfigfile__|xorg.conf|g' \
   11617 	-e 's|__projectroot__|\$(prefix)|g' \
   11618 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11619 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11620 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11621 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11622 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11623 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11624 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11625 
   11626 
   11627 
   11628 
   11629 AM_DEFAULT_VERBOSITY=0
   11630 
   11631 
   11632 
   11633 # Initialize libtool
   11634 case `pwd` in
   11635   *\ * | *\	*)
   11636     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   11637 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   11638 esac
   11639 
   11640 
   11641 
   11642 macro_version='2.5.3'
   11643 macro_revision='2.5.3'
   11644 
   11645 
   11646 
   11647 
   11648 
   11649 
   11650 
   11651 
   11652 
   11653 
   11654 
   11655 
   11656 
   11657 
   11658 ltmain=$ac_aux_dir/ltmain.sh
   11659 
   11660 # Backslashify metacharacters that are still active within
   11661 # double-quoted strings.
   11662 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   11663 
   11664 # Same as above, but do not quote variable references.
   11665 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   11666 
   11667 # Sed substitution to delay expansion of an escaped shell variable in a
   11668 # double_quote_subst'ed string.
   11669 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   11670 
   11671 # Sed substitution to delay expansion of an escaped single quote.
   11672 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   11673 
   11674 # Sed substitution to avoid accidental globbing in evaled expressions
   11675 no_glob_subst='s/\*/\\\*/g'
   11676 
   11677 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11678 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   11679 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   11680 
   11681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   11682 printf %s "checking how to print strings... " >&6; }
   11683 # Test print first, because it will be a builtin if present.
   11684 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   11685    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   11686   ECHO='print -r --'
   11687 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   11688   ECHO='printf %s\n'
   11689 else
   11690   # Use this function as a fallback that always works.
   11691   func_fallback_echo ()
   11692   {
   11693     eval 'cat <<_LTECHO_EOF
   11694 $1
   11695 _LTECHO_EOF'
   11696   }
   11697   ECHO='func_fallback_echo'
   11698 fi
   11699 
   11700 # func_echo_all arg...
   11701 # Invoke $ECHO with all args, space-separated.
   11702 func_echo_all ()
   11703 {
   11704     $ECHO ""
   11705 }
   11706 
   11707 case $ECHO in
   11708   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   11709 printf "%s\n" "printf" >&6; } ;;
   11710   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   11711 printf "%s\n" "print -r" >&6; } ;;
   11712   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   11713 printf "%s\n" "cat" >&6; } ;;
   11714 esac
   11715 
   11716 
   11717 
   11718 
   11719 
   11720 
   11721 
   11722 
   11723 
   11724 
   11725 
   11726 
   11727 
   11728 
   11729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   11730 printf %s "checking for a sed that does not truncate output... " >&6; }
   11731 if test ${ac_cv_path_SED+y}
   11732 then :
   11733   printf %s "(cached) " >&6
   11734 else case e in #(
   11735   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   11736      for ac_i in 1 2 3 4 5 6 7; do
   11737        ac_script="$ac_script$as_nl$ac_script"
   11738      done
   11739      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   11740      { ac_script=; unset ac_script;}
   11741      if test -z "$SED"; then
   11742   ac_path_SED_found=false
   11743   # Loop through the user's path and test for each of PROGNAME-LIST
   11744   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11745 for as_dir in $PATH
   11746 do
   11747   IFS=$as_save_IFS
   11748   case $as_dir in #(((
   11749     '') as_dir=./ ;;
   11750     */) ;;
   11751     *) as_dir=$as_dir/ ;;
   11752   esac
   11753     for ac_prog in sed gsed
   11754    do
   11755     for ac_exec_ext in '' $ac_executable_extensions; do
   11756       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   11757       as_fn_executable_p "$ac_path_SED" || continue
   11758 # Check for GNU ac_path_SED and select it if it is found.
   11759   # Check for GNU $ac_path_SED
   11760 case `"$ac_path_SED" --version 2>&1` in #(
   11761 *GNU*)
   11762   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   11763 #(
   11764 *)
   11765   ac_count=0
   11766   printf %s 0123456789 >"conftest.in"
   11767   while :
   11768   do
   11769     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11770     mv "conftest.tmp" "conftest.in"
   11771     cp "conftest.in" "conftest.nl"
   11772     printf "%s\n" '' >> "conftest.nl"
   11773     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11774     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11775     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11776     if test $ac_count -gt ${ac_path_SED_max-0}; then
   11777       # Best one so far, save it but keep looking for a better one
   11778       ac_cv_path_SED="$ac_path_SED"
   11779       ac_path_SED_max=$ac_count
   11780     fi
   11781     # 10*(2^10) chars as input seems more than enough
   11782     test $ac_count -gt 10 && break
   11783   done
   11784   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11785 esac
   11786 
   11787       $ac_path_SED_found && break 3
   11788     done
   11789   done
   11790   done
   11791 IFS=$as_save_IFS
   11792   if test -z "$ac_cv_path_SED"; then
   11793     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   11794   fi
   11795 else
   11796   ac_cv_path_SED=$SED
   11797 fi
   11798  ;;
   11799 esac
   11800 fi
   11801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   11802 printf "%s\n" "$ac_cv_path_SED" >&6; }
   11803  SED="$ac_cv_path_SED"
   11804   rm -f conftest.sed
   11805 
   11806 test -z "$SED" && SED=sed
   11807 Xsed="$SED -e 1s/^X//"
   11808 
   11809 
   11810 
   11811 
   11812 
   11813 
   11814 
   11815 
   11816 
   11817 
   11818 
   11819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   11820 printf %s "checking for grep that handles long lines and -e... " >&6; }
   11821 if test ${ac_cv_path_GREP+y}
   11822 then :
   11823   printf %s "(cached) " >&6
   11824 else case e in #(
   11825   e) if test -z "$GREP"; then
   11826   ac_path_GREP_found=false
   11827   # Loop through the user's path and test for each of PROGNAME-LIST
   11828   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11829 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11830 do
   11831   IFS=$as_save_IFS
   11832   case $as_dir in #(((
   11833     '') as_dir=./ ;;
   11834     */) ;;
   11835     *) as_dir=$as_dir/ ;;
   11836   esac
   11837     for ac_prog in grep ggrep
   11838    do
   11839     for ac_exec_ext in '' $ac_executable_extensions; do
   11840       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   11841       as_fn_executable_p "$ac_path_GREP" || continue
   11842 # Check for GNU ac_path_GREP and select it if it is found.
   11843   # Check for GNU $ac_path_GREP
   11844 case `"$ac_path_GREP" --version 2>&1` in #(
   11845 *GNU*)
   11846   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   11847 #(
   11848 *)
   11849   ac_count=0
   11850   printf %s 0123456789 >"conftest.in"
   11851   while :
   11852   do
   11853     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11854     mv "conftest.tmp" "conftest.in"
   11855     cp "conftest.in" "conftest.nl"
   11856     printf "%s\n" 'GREP' >> "conftest.nl"
   11857     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11858     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11859     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11860     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   11861       # Best one so far, save it but keep looking for a better one
   11862       ac_cv_path_GREP="$ac_path_GREP"
   11863       ac_path_GREP_max=$ac_count
   11864     fi
   11865     # 10*(2^10) chars as input seems more than enough
   11866     test $ac_count -gt 10 && break
   11867   done
   11868   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11869 esac
   11870 
   11871       $ac_path_GREP_found && break 3
   11872     done
   11873   done
   11874   done
   11875 IFS=$as_save_IFS
   11876   if test -z "$ac_cv_path_GREP"; then
   11877     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11878   fi
   11879 else
   11880   ac_cv_path_GREP=$GREP
   11881 fi
   11882  ;;
   11883 esac
   11884 fi
   11885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   11886 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   11887  GREP="$ac_cv_path_GREP"
   11888 
   11889 
   11890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   11891 printf %s "checking for egrep... " >&6; }
   11892 if test ${ac_cv_path_EGREP+y}
   11893 then :
   11894   printf %s "(cached) " >&6
   11895 else case e in #(
   11896   e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   11897    then ac_cv_path_EGREP="$GREP -E"
   11898    else
   11899      if test -z "$EGREP"; then
   11900   ac_path_EGREP_found=false
   11901   # Loop through the user's path and test for each of PROGNAME-LIST
   11902   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11903 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11904 do
   11905   IFS=$as_save_IFS
   11906   case $as_dir in #(((
   11907     '') as_dir=./ ;;
   11908     */) ;;
   11909     *) as_dir=$as_dir/ ;;
   11910   esac
   11911     for ac_prog in egrep
   11912    do
   11913     for ac_exec_ext in '' $ac_executable_extensions; do
   11914       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   11915       as_fn_executable_p "$ac_path_EGREP" || continue
   11916 # Check for GNU ac_path_EGREP and select it if it is found.
   11917   # Check for GNU $ac_path_EGREP
   11918 case `"$ac_path_EGREP" --version 2>&1` in #(
   11919 *GNU*)
   11920   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   11921 #(
   11922 *)
   11923   ac_count=0
   11924   printf %s 0123456789 >"conftest.in"
   11925   while :
   11926   do
   11927     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11928     mv "conftest.tmp" "conftest.in"
   11929     cp "conftest.in" "conftest.nl"
   11930     printf "%s\n" 'EGREP' >> "conftest.nl"
   11931     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11932     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11933     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11934     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   11935       # Best one so far, save it but keep looking for a better one
   11936       ac_cv_path_EGREP="$ac_path_EGREP"
   11937       ac_path_EGREP_max=$ac_count
   11938     fi
   11939     # 10*(2^10) chars as input seems more than enough
   11940     test $ac_count -gt 10 && break
   11941   done
   11942   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11943 esac
   11944 
   11945       $ac_path_EGREP_found && break 3
   11946     done
   11947   done
   11948   done
   11949 IFS=$as_save_IFS
   11950   if test -z "$ac_cv_path_EGREP"; then
   11951     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11952   fi
   11953 else
   11954   ac_cv_path_EGREP=$EGREP
   11955 fi
   11956 
   11957    fi ;;
   11958 esac
   11959 fi
   11960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   11961 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   11962  EGREP="$ac_cv_path_EGREP"
   11963 
   11964          EGREP_TRADITIONAL=$EGREP
   11965  ac_cv_path_EGREP_TRADITIONAL=$EGREP
   11966 
   11967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   11968 printf %s "checking for fgrep... " >&6; }
   11969 if test ${ac_cv_path_FGREP+y}
   11970 then :
   11971   printf %s "(cached) " >&6
   11972 else case e in #(
   11973   e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   11974    then ac_cv_path_FGREP="$GREP -F"
   11975    else
   11976      if test -z "$FGREP"; then
   11977   ac_path_FGREP_found=false
   11978   # Loop through the user's path and test for each of PROGNAME-LIST
   11979   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11980 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11981 do
   11982   IFS=$as_save_IFS
   11983   case $as_dir in #(((
   11984     '') as_dir=./ ;;
   11985     */) ;;
   11986     *) as_dir=$as_dir/ ;;
   11987   esac
   11988     for ac_prog in fgrep
   11989    do
   11990     for ac_exec_ext in '' $ac_executable_extensions; do
   11991       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   11992       as_fn_executable_p "$ac_path_FGREP" || continue
   11993 # Check for GNU ac_path_FGREP and select it if it is found.
   11994   # Check for GNU $ac_path_FGREP
   11995 case `"$ac_path_FGREP" --version 2>&1` in #(
   11996 *GNU*)
   11997   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   11998 #(
   11999 *)
   12000   ac_count=0
   12001   printf %s 0123456789 >"conftest.in"
   12002   while :
   12003   do
   12004     cat "conftest.in" "conftest.in" >"conftest.tmp"
   12005     mv "conftest.tmp" "conftest.in"
   12006     cp "conftest.in" "conftest.nl"
   12007     printf "%s\n" 'FGREP' >> "conftest.nl"
   12008     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   12009     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   12010     as_fn_arith $ac_count + 1 && ac_count=$as_val
   12011     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   12012       # Best one so far, save it but keep looking for a better one
   12013       ac_cv_path_FGREP="$ac_path_FGREP"
   12014       ac_path_FGREP_max=$ac_count
   12015     fi
   12016     # 10*(2^10) chars as input seems more than enough
   12017     test $ac_count -gt 10 && break
   12018   done
   12019   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   12020 esac
   12021 
   12022       $ac_path_FGREP_found && break 3
   12023     done
   12024   done
   12025   done
   12026 IFS=$as_save_IFS
   12027   if test -z "$ac_cv_path_FGREP"; then
   12028     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   12029   fi
   12030 else
   12031   ac_cv_path_FGREP=$FGREP
   12032 fi
   12033 
   12034    fi ;;
   12035 esac
   12036 fi
   12037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   12038 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   12039  FGREP="$ac_cv_path_FGREP"
   12040 
   12041 
   12042 test -z "$GREP" && GREP=grep
   12043 
   12044 
   12045 
   12046 
   12047 
   12048 
   12049 
   12050 
   12051 
   12052 
   12053 
   12054 
   12055 
   12056 
   12057 
   12058 
   12059 
   12060 
   12061 
   12062 # Check whether --with-gnu-ld was given.
   12063 if test ${with_gnu_ld+y}
   12064 then :
   12065   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   12066 else case e in #(
   12067   e) with_gnu_ld=no ;;
   12068 esac
   12069 fi
   12070 
   12071 ac_prog=ld
   12072 if test yes = "$GCC"; then
   12073   # Check if gcc -print-prog-name=ld gives a path.
   12074   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   12075 printf %s "checking for ld used by $CC... " >&6; }
   12076   case $host in
   12077   *-*-mingw* | *-*-windows*)
   12078     # gcc leaves a trailing carriage return, which upsets mingw
   12079     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   12080   *)
   12081     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   12082   esac
   12083   case $ac_prog in
   12084     # Accept absolute paths.
   12085     [\\/]* | ?:[\\/]*)
   12086       re_direlt='/[^/][^/]*/\.\./'
   12087       # Canonicalize the pathname of ld
   12088       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   12089       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   12090 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   12091       done
   12092       test -z "$LD" && LD=$ac_prog
   12093       ;;
   12094   "")
   12095     # If it fails, then pretend we aren't using GCC.
   12096     ac_prog=ld
   12097     ;;
   12098   *)
   12099     # If it is relative, then search for the first ld in PATH.
   12100     with_gnu_ld=unknown
   12101     ;;
   12102   esac
   12103 elif test yes = "$with_gnu_ld"; then
   12104   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   12105 printf %s "checking for GNU ld... " >&6; }
   12106 else
   12107   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   12108 printf %s "checking for non-GNU ld... " >&6; }
   12109 fi
   12110 if test ${lt_cv_path_LD+y}
   12111 then :
   12112   printf %s "(cached) " >&6
   12113 else case e in #(
   12114   e) if test -z "$LD"; then
   12115   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   12116   for ac_dir in $PATH; do
   12117     IFS=$lt_save_ifs
   12118     test -z "$ac_dir" && ac_dir=.
   12119     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   12120       lt_cv_path_LD=$ac_dir/$ac_prog
   12121       # Check to see if the program is GNU ld.  I'd rather use --version,
   12122       # but apparently some variants of GNU ld only accept -v.
   12123       # Break only if it was the GNU/non-GNU ld that we prefer.
   12124       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   12125       *GNU* | *'with BFD'*)
   12126 	test no != "$with_gnu_ld" && break
   12127 	;;
   12128       *)
   12129 	test yes != "$with_gnu_ld" && break
   12130 	;;
   12131       esac
   12132     fi
   12133   done
   12134   IFS=$lt_save_ifs
   12135 else
   12136   lt_cv_path_LD=$LD # Let the user override the test with a path.
   12137 fi ;;
   12138 esac
   12139 fi
   12140 
   12141 LD=$lt_cv_path_LD
   12142 if test -n "$LD"; then
   12143   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   12144 printf "%s\n" "$LD" >&6; }
   12145 else
   12146   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12147 printf "%s\n" "no" >&6; }
   12148 fi
   12149 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   12150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   12151 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   12152 if test ${lt_cv_prog_gnu_ld+y}
   12153 then :
   12154   printf %s "(cached) " >&6
   12155 else case e in #(
   12156   e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
   12157 case `$LD -v 2>&1 </dev/null` in
   12158 *GNU* | *'with BFD'*)
   12159   lt_cv_prog_gnu_ld=yes
   12160   ;;
   12161 *)
   12162   lt_cv_prog_gnu_ld=no
   12163   ;;
   12164 esac ;;
   12165 esac
   12166 fi
   12167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   12168 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   12169 with_gnu_ld=$lt_cv_prog_gnu_ld
   12170 
   12171 
   12172 
   12173 
   12174 
   12175 
   12176 
   12177 
   12178 
   12179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   12180 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   12181 if test ${lt_cv_path_NM+y}
   12182 then :
   12183   printf %s "(cached) " >&6
   12184 else case e in #(
   12185   e) if test -n "$NM"; then
   12186   # Let the user override the test.
   12187   lt_cv_path_NM=$NM
   12188 else
   12189   lt_nm_to_check=${ac_tool_prefix}nm
   12190   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   12191     lt_nm_to_check="$lt_nm_to_check nm"
   12192   fi
   12193   for lt_tmp_nm in $lt_nm_to_check; do
   12194     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   12195     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   12196       IFS=$lt_save_ifs
   12197       test -z "$ac_dir" && ac_dir=.
   12198       tmp_nm=$ac_dir/$lt_tmp_nm
   12199       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   12200 	# Check to see if the nm accepts a BSD-compat flag.
   12201 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   12202 	#   nm: unknown option "B" ignored
   12203 	# Tru64's nm complains that /dev/null is an invalid object file
   12204 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   12205 	case $build_os in
   12206 	mingw* | windows*) lt_bad_file=conftest.nm/nofile ;;
   12207 	*) lt_bad_file=/dev/null ;;
   12208 	esac
   12209 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   12210 	*$lt_bad_file* | *'Invalid file or object type'*)
   12211 	  lt_cv_path_NM="$tmp_nm -B"
   12212 	  break 2
   12213 	  ;;
   12214 	*)
   12215 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   12216 	  */dev/null*)
   12217 	    lt_cv_path_NM="$tmp_nm -p"
   12218 	    break 2
   12219 	    ;;
   12220 	  *)
   12221 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   12222 	    continue # so that we can try to find one that supports BSD flags
   12223 	    ;;
   12224 	  esac
   12225 	  ;;
   12226 	esac
   12227       fi
   12228     done
   12229     IFS=$lt_save_ifs
   12230   done
   12231   : ${lt_cv_path_NM=no}
   12232 fi ;;
   12233 esac
   12234 fi
   12235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   12236 printf "%s\n" "$lt_cv_path_NM" >&6; }
   12237 if test no != "$lt_cv_path_NM"; then
   12238   NM=$lt_cv_path_NM
   12239 else
   12240   # Didn't find any BSD compatible name lister, look for dumpbin.
   12241   if test -n "$DUMPBIN"; then :
   12242     # Let the user override the test.
   12243   else
   12244     if test -n "$ac_tool_prefix"; then
   12245   for ac_prog in dumpbin "link -dump"
   12246   do
   12247     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   12248 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   12249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12250 printf %s "checking for $ac_word... " >&6; }
   12251 if test ${ac_cv_prog_DUMPBIN+y}
   12252 then :
   12253   printf %s "(cached) " >&6
   12254 else case e in #(
   12255   e) if test -n "$DUMPBIN"; then
   12256   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   12257 else
   12258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12259 for as_dir in $PATH
   12260 do
   12261   IFS=$as_save_IFS
   12262   case $as_dir in #(((
   12263     '') as_dir=./ ;;
   12264     */) ;;
   12265     *) as_dir=$as_dir/ ;;
   12266   esac
   12267     for ac_exec_ext in '' $ac_executable_extensions; do
   12268   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12269     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   12270     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12271     break 2
   12272   fi
   12273 done
   12274   done
   12275 IFS=$as_save_IFS
   12276 
   12277 fi ;;
   12278 esac
   12279 fi
   12280 DUMPBIN=$ac_cv_prog_DUMPBIN
   12281 if test -n "$DUMPBIN"; then
   12282   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   12283 printf "%s\n" "$DUMPBIN" >&6; }
   12284 else
   12285   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12286 printf "%s\n" "no" >&6; }
   12287 fi
   12288 
   12289 
   12290     test -n "$DUMPBIN" && break
   12291   done
   12292 fi
   12293 if test -z "$DUMPBIN"; then
   12294   ac_ct_DUMPBIN=$DUMPBIN
   12295   for ac_prog in dumpbin "link -dump"
   12296 do
   12297   # Extract the first word of "$ac_prog", so it can be a program name with args.
   12298 set dummy $ac_prog; ac_word=$2
   12299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12300 printf %s "checking for $ac_word... " >&6; }
   12301 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   12302 then :
   12303   printf %s "(cached) " >&6
   12304 else case e in #(
   12305   e) if test -n "$ac_ct_DUMPBIN"; then
   12306   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   12307 else
   12308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12309 for as_dir in $PATH
   12310 do
   12311   IFS=$as_save_IFS
   12312   case $as_dir in #(((
   12313     '') as_dir=./ ;;
   12314     */) ;;
   12315     *) as_dir=$as_dir/ ;;
   12316   esac
   12317     for ac_exec_ext in '' $ac_executable_extensions; do
   12318   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12319     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   12320     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12321     break 2
   12322   fi
   12323 done
   12324   done
   12325 IFS=$as_save_IFS
   12326 
   12327 fi ;;
   12328 esac
   12329 fi
   12330 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   12331 if test -n "$ac_ct_DUMPBIN"; then
   12332   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   12333 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   12334 else
   12335   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12336 printf "%s\n" "no" >&6; }
   12337 fi
   12338 
   12339 
   12340   test -n "$ac_ct_DUMPBIN" && break
   12341 done
   12342 
   12343   if test "x$ac_ct_DUMPBIN" = x; then
   12344     DUMPBIN=":"
   12345   else
   12346     case $cross_compiling:$ac_tool_warned in
   12347 yes:)
   12348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12349 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12350 ac_tool_warned=yes ;;
   12351 esac
   12352     DUMPBIN=$ac_ct_DUMPBIN
   12353   fi
   12354 fi
   12355 
   12356     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   12357     *COFF*)
   12358       DUMPBIN="$DUMPBIN -symbols -headers"
   12359       ;;
   12360     *)
   12361       DUMPBIN=:
   12362       ;;
   12363     esac
   12364   fi
   12365 
   12366   if test : != "$DUMPBIN"; then
   12367     NM=$DUMPBIN
   12368   fi
   12369 fi
   12370 test -z "$NM" && NM=nm
   12371 
   12372 
   12373 
   12374 
   12375 
   12376 
   12377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   12378 printf %s "checking the name lister ($NM) interface... " >&6; }
   12379 if test ${lt_cv_nm_interface+y}
   12380 then :
   12381   printf %s "(cached) " >&6
   12382 else case e in #(
   12383   e) lt_cv_nm_interface="BSD nm"
   12384   echo "int some_variable = 0;" > conftest.$ac_ext
   12385   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   12386   (eval "$ac_compile" 2>conftest.err)
   12387   cat conftest.err >&5
   12388   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   12389   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   12390   cat conftest.err >&5
   12391   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   12392   cat conftest.out >&5
   12393   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   12394     lt_cv_nm_interface="MS dumpbin"
   12395   fi
   12396   rm -f conftest* ;;
   12397 esac
   12398 fi
   12399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   12400 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   12401 
   12402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   12403 printf %s "checking whether ln -s works... " >&6; }
   12404 LN_S=$as_ln_s
   12405 if test "$LN_S" = "ln -s"; then
   12406   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12407 printf "%s\n" "yes" >&6; }
   12408 else
   12409   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   12410 printf "%s\n" "no, using $LN_S" >&6; }
   12411 fi
   12412 
   12413 # find the maximum length of command line arguments
   12414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   12415 printf %s "checking the maximum length of command line arguments... " >&6; }
   12416 if test ${lt_cv_sys_max_cmd_len+y}
   12417 then :
   12418   printf %s "(cached) " >&6
   12419 else case e in #(
   12420   e)   i=0
   12421   teststring=ABCD
   12422 
   12423   case $build_os in
   12424   msdosdjgpp*)
   12425     # On DJGPP, this test can blow up pretty badly due to problems in libc
   12426     # (any single argument exceeding 2000 bytes causes a buffer overrun
   12427     # during glob expansion).  Even if it were fixed, the result of this
   12428     # check would be larger than it should be.
   12429     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   12430     ;;
   12431 
   12432   gnu*)
   12433     # Under GNU Hurd, this test is not required because there is
   12434     # no limit to the length of command line arguments.
   12435     # Libtool will interpret -1 as no limit whatsoever
   12436     lt_cv_sys_max_cmd_len=-1;
   12437     ;;
   12438 
   12439   cygwin* | mingw* | windows* | cegcc*)
   12440     # On Win9x/ME, this test blows up -- it succeeds, but takes
   12441     # about 5 minutes as the teststring grows exponentially.
   12442     # Worse, since 9x/ME are not pre-emptively multitasking,
   12443     # you end up with a "frozen" computer, even though with patience
   12444     # the test eventually succeeds (with a max line length of 256k).
   12445     # Instead, let's just punt: use the minimum linelength reported by
   12446     # all of the supported platforms: 8192 (on NT/2K/XP).
   12447     lt_cv_sys_max_cmd_len=8192;
   12448     ;;
   12449 
   12450   mint*)
   12451     # On MiNT this can take a long time and run out of memory.
   12452     lt_cv_sys_max_cmd_len=8192;
   12453     ;;
   12454 
   12455   amigaos*)
   12456     # On AmigaOS with pdksh, this test takes hours, literally.
   12457     # So we just punt and use a minimum line length of 8192.
   12458     lt_cv_sys_max_cmd_len=8192;
   12459     ;;
   12460 
   12461   darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   12462     # This has been around since 386BSD, at least.  Likely further.
   12463     if test -x /sbin/sysctl; then
   12464       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   12465     elif test -x /usr/sbin/sysctl; then
   12466       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   12467     else
   12468       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   12469     fi
   12470     # And add a safety zone
   12471     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   12472     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   12473     ;;
   12474 
   12475   interix*)
   12476     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   12477     lt_cv_sys_max_cmd_len=196608
   12478     ;;
   12479 
   12480   os2*)
   12481     # The test takes a long time on OS/2.
   12482     lt_cv_sys_max_cmd_len=8192
   12483     ;;
   12484 
   12485   osf*)
   12486     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   12487     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   12488     # nice to cause kernel panics so lets avoid the loop below.
   12489     # First set a reasonable default.
   12490     lt_cv_sys_max_cmd_len=16384
   12491     #
   12492     if test -x /sbin/sysconfig; then
   12493       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   12494         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   12495       esac
   12496     fi
   12497     ;;
   12498   sco3.2v5*)
   12499     lt_cv_sys_max_cmd_len=102400
   12500     ;;
   12501   sysv5* | sco5v6* | sysv4.2uw2*)
   12502     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   12503     if test -n "$kargmax"; then
   12504       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   12505     else
   12506       lt_cv_sys_max_cmd_len=32768
   12507     fi
   12508     ;;
   12509   *)
   12510     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   12511     if test -n "$lt_cv_sys_max_cmd_len" && \
   12512        test undefined != "$lt_cv_sys_max_cmd_len"; then
   12513       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   12514       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   12515     else
   12516       # Make teststring a little bigger before we do anything with it.
   12517       # a 1K string should be a reasonable start.
   12518       for i in 1 2 3 4 5 6 7 8; do
   12519         teststring=$teststring$teststring
   12520       done
   12521       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   12522       # If test is not a shell built-in, we'll probably end up computing a
   12523       # maximum length that is only half of the actual maximum length, but
   12524       # we can't tell.
   12525       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   12526 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   12527 	      test 17 != "$i" # 1/2 MB should be enough
   12528       do
   12529         i=`expr $i + 1`
   12530         teststring=$teststring$teststring
   12531       done
   12532       # Only check the string length outside the loop.
   12533       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   12534       teststring=
   12535       # Add a significant safety factor because C++ compilers can tack on
   12536       # massive amounts of additional arguments before passing them to the
   12537       # linker.  It appears as though 1/2 is a usable value.
   12538       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   12539     fi
   12540     ;;
   12541   esac
   12542  ;;
   12543 esac
   12544 fi
   12545 
   12546 if test -n "$lt_cv_sys_max_cmd_len"; then
   12547   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   12548 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   12549 else
   12550   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   12551 printf "%s\n" "none" >&6; }
   12552 fi
   12553 max_cmd_len=$lt_cv_sys_max_cmd_len
   12554 
   12555 
   12556 
   12557 
   12558 
   12559 
   12560 : ${CP="cp -f"}
   12561 : ${MV="mv -f"}
   12562 : ${RM="rm -f"}
   12563 
   12564 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   12565   lt_unset=unset
   12566 else
   12567   lt_unset=false
   12568 fi
   12569 
   12570 
   12571 
   12572 
   12573 
   12574 # test EBCDIC or ASCII
   12575 case `echo X|tr X '\101'` in
   12576  A) # ASCII based system
   12577     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   12578   lt_SP2NL='tr \040 \012'
   12579   lt_NL2SP='tr \015\012 \040\040'
   12580   ;;
   12581  *) # EBCDIC based system
   12582   lt_SP2NL='tr \100 \n'
   12583   lt_NL2SP='tr \r\n \100\100'
   12584   ;;
   12585 esac
   12586 
   12587 
   12588 
   12589 
   12590 
   12591 
   12592 
   12593 
   12594 
   12595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   12596 printf %s "checking how to convert $build file names to $host format... " >&6; }
   12597 if test ${lt_cv_to_host_file_cmd+y}
   12598 then :
   12599   printf %s "(cached) " >&6
   12600 else case e in #(
   12601   e) case $host in
   12602   *-*-mingw* )
   12603     case $build in
   12604       *-*-mingw* | *-*-windows* ) # actually msys
   12605         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   12606         ;;
   12607       *-*-cygwin* )
   12608         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   12609         ;;
   12610       * ) # otherwise, assume *nix
   12611         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   12612         ;;
   12613     esac
   12614     ;;
   12615   *-*-cygwin* )
   12616     case $build in
   12617       *-*-mingw* | *-*-windows* ) # actually msys
   12618         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   12619         ;;
   12620       *-*-cygwin* )
   12621         lt_cv_to_host_file_cmd=func_convert_file_noop
   12622         ;;
   12623       * ) # otherwise, assume *nix
   12624         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   12625         ;;
   12626     esac
   12627     ;;
   12628   * ) # unhandled hosts (and "normal" native builds)
   12629     lt_cv_to_host_file_cmd=func_convert_file_noop
   12630     ;;
   12631 esac
   12632  ;;
   12633 esac
   12634 fi
   12635 
   12636 to_host_file_cmd=$lt_cv_to_host_file_cmd
   12637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   12638 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   12639 
   12640 
   12641 
   12642 
   12643 
   12644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   12645 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   12646 if test ${lt_cv_to_tool_file_cmd+y}
   12647 then :
   12648   printf %s "(cached) " >&6
   12649 else case e in #(
   12650   e) #assume ordinary cross tools, or native build.
   12651 lt_cv_to_tool_file_cmd=func_convert_file_noop
   12652 case $host in
   12653   *-*-mingw* | *-*-windows* )
   12654     case $build in
   12655       *-*-mingw* | *-*-windows* ) # actually msys
   12656         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   12657         ;;
   12658     esac
   12659     ;;
   12660 esac
   12661  ;;
   12662 esac
   12663 fi
   12664 
   12665 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   12666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   12667 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   12668 
   12669 
   12670 
   12671 
   12672 
   12673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   12674 printf %s "checking for $LD option to reload object files... " >&6; }
   12675 if test ${lt_cv_ld_reload_flag+y}
   12676 then :
   12677   printf %s "(cached) " >&6
   12678 else case e in #(
   12679   e) lt_cv_ld_reload_flag='-r' ;;
   12680 esac
   12681 fi
   12682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   12683 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   12684 reload_flag=$lt_cv_ld_reload_flag
   12685 case $reload_flag in
   12686 "" | " "*) ;;
   12687 *) reload_flag=" $reload_flag" ;;
   12688 esac
   12689 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   12690 case $host_os in
   12691   cygwin* | mingw* | windows* | pw32* | cegcc*)
   12692     if test yes != "$GCC"; then
   12693       reload_cmds=false
   12694     fi
   12695     ;;
   12696   darwin*)
   12697     if test yes = "$GCC"; then
   12698       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   12699     else
   12700       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   12701     fi
   12702     ;;
   12703 esac
   12704 
   12705 
   12706 
   12707 
   12708 
   12709 
   12710 
   12711 
   12712 
   12713 # Extract the first word of "file", so it can be a program name with args.
   12714 set dummy file; ac_word=$2
   12715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12716 printf %s "checking for $ac_word... " >&6; }
   12717 if test ${ac_cv_prog_FILECMD+y}
   12718 then :
   12719   printf %s "(cached) " >&6
   12720 else case e in #(
   12721   e) if test -n "$FILECMD"; then
   12722   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   12723 else
   12724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12725 for as_dir in $PATH
   12726 do
   12727   IFS=$as_save_IFS
   12728   case $as_dir in #(((
   12729     '') as_dir=./ ;;
   12730     */) ;;
   12731     *) as_dir=$as_dir/ ;;
   12732   esac
   12733     for ac_exec_ext in '' $ac_executable_extensions; do
   12734   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12735     ac_cv_prog_FILECMD="file"
   12736     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12737     break 2
   12738   fi
   12739 done
   12740   done
   12741 IFS=$as_save_IFS
   12742 
   12743   test -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":"
   12744 fi ;;
   12745 esac
   12746 fi
   12747 FILECMD=$ac_cv_prog_FILECMD
   12748 if test -n "$FILECMD"; then
   12749   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   12750 printf "%s\n" "$FILECMD" >&6; }
   12751 else
   12752   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12753 printf "%s\n" "no" >&6; }
   12754 fi
   12755 
   12756 
   12757 
   12758 
   12759 
   12760 
   12761 
   12762 
   12763 if test -n "$ac_tool_prefix"; then
   12764   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   12765 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   12766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12767 printf %s "checking for $ac_word... " >&6; }
   12768 if test ${ac_cv_prog_OBJDUMP+y}
   12769 then :
   12770   printf %s "(cached) " >&6
   12771 else case e in #(
   12772   e) if test -n "$OBJDUMP"; then
   12773   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   12774 else
   12775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12776 for as_dir in $PATH
   12777 do
   12778   IFS=$as_save_IFS
   12779   case $as_dir in #(((
   12780     '') as_dir=./ ;;
   12781     */) ;;
   12782     *) as_dir=$as_dir/ ;;
   12783   esac
   12784     for ac_exec_ext in '' $ac_executable_extensions; do
   12785   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12786     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   12787     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12788     break 2
   12789   fi
   12790 done
   12791   done
   12792 IFS=$as_save_IFS
   12793 
   12794 fi ;;
   12795 esac
   12796 fi
   12797 OBJDUMP=$ac_cv_prog_OBJDUMP
   12798 if test -n "$OBJDUMP"; then
   12799   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   12800 printf "%s\n" "$OBJDUMP" >&6; }
   12801 else
   12802   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12803 printf "%s\n" "no" >&6; }
   12804 fi
   12805 
   12806 
   12807 fi
   12808 if test -z "$ac_cv_prog_OBJDUMP"; then
   12809   ac_ct_OBJDUMP=$OBJDUMP
   12810   # Extract the first word of "objdump", so it can be a program name with args.
   12811 set dummy objdump; ac_word=$2
   12812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12813 printf %s "checking for $ac_word... " >&6; }
   12814 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   12815 then :
   12816   printf %s "(cached) " >&6
   12817 else case e in #(
   12818   e) if test -n "$ac_ct_OBJDUMP"; then
   12819   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   12820 else
   12821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12822 for as_dir in $PATH
   12823 do
   12824   IFS=$as_save_IFS
   12825   case $as_dir in #(((
   12826     '') as_dir=./ ;;
   12827     */) ;;
   12828     *) as_dir=$as_dir/ ;;
   12829   esac
   12830     for ac_exec_ext in '' $ac_executable_extensions; do
   12831   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12832     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   12833     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12834     break 2
   12835   fi
   12836 done
   12837   done
   12838 IFS=$as_save_IFS
   12839 
   12840 fi ;;
   12841 esac
   12842 fi
   12843 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   12844 if test -n "$ac_ct_OBJDUMP"; then
   12845   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   12846 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   12847 else
   12848   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12849 printf "%s\n" "no" >&6; }
   12850 fi
   12851 
   12852   if test "x$ac_ct_OBJDUMP" = x; then
   12853     OBJDUMP="false"
   12854   else
   12855     case $cross_compiling:$ac_tool_warned in
   12856 yes:)
   12857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12858 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12859 ac_tool_warned=yes ;;
   12860 esac
   12861     OBJDUMP=$ac_ct_OBJDUMP
   12862   fi
   12863 else
   12864   OBJDUMP="$ac_cv_prog_OBJDUMP"
   12865 fi
   12866 
   12867 test -z "$OBJDUMP" && OBJDUMP=objdump
   12868 
   12869 
   12870 
   12871 
   12872 
   12873 
   12874 
   12875 
   12876 
   12877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   12878 printf %s "checking how to recognize dependent libraries... " >&6; }
   12879 if test ${lt_cv_deplibs_check_method+y}
   12880 then :
   12881   printf %s "(cached) " >&6
   12882 else case e in #(
   12883   e) lt_cv_file_magic_cmd='$MAGIC_CMD'
   12884 lt_cv_file_magic_test_file=
   12885 lt_cv_deplibs_check_method='unknown'
   12886 # Need to set the preceding variable on all platforms that support
   12887 # interlibrary dependencies.
   12888 # 'none' -- dependencies not supported.
   12889 # 'unknown' -- same as none, but documents that we really don't know.
   12890 # 'pass_all' -- all dependencies passed with no checks.
   12891 # 'file_magic [[regex]]' -- check by looking for files in library path
   12892 # that responds to the $file_magic_cmd with a given extended regex.
   12893 # If you have 'file' or equivalent on your system and you're not sure
   12894 # whether 'pass_all' will *always* work, you probably want this one.
   12895 
   12896 case $host_os in
   12897 aix[4-9]*)
   12898   lt_cv_deplibs_check_method=pass_all
   12899   ;;
   12900 
   12901 beos*)
   12902   lt_cv_deplibs_check_method=pass_all
   12903   ;;
   12904 
   12905 bsdi[45]*)
   12906   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   12907   lt_cv_file_magic_cmd='$FILECMD -L'
   12908   lt_cv_file_magic_test_file=/shlib/libc.so
   12909   ;;
   12910 
   12911 cygwin*)
   12912   # func_win32_libid is a shell function defined in ltmain.sh
   12913   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   12914   lt_cv_file_magic_cmd='func_win32_libid'
   12915   ;;
   12916 
   12917 mingw* | windows* | pw32*)
   12918   # Base MSYS/MinGW do not provide the 'file' command needed by
   12919   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   12920   # unless we find 'file', for example because we are cross-compiling.
   12921   if ( file / ) >/dev/null 2>&1; then
   12922     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   12923     lt_cv_file_magic_cmd='func_win32_libid'
   12924   else
   12925     # Keep this pattern in sync with the one in func_win32_libid.
   12926     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)'
   12927     lt_cv_file_magic_cmd='$OBJDUMP -f'
   12928   fi
   12929   ;;
   12930 
   12931 cegcc*)
   12932   # use the weaker test based on 'objdump'. See mingw*.
   12933   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   12934   lt_cv_file_magic_cmd='$OBJDUMP -f'
   12935   ;;
   12936 
   12937 darwin* | rhapsody*)
   12938   lt_cv_deplibs_check_method=pass_all
   12939   ;;
   12940 
   12941 freebsd* | dragonfly* | midnightbsd*)
   12942   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   12943     case $host_cpu in
   12944     i*86 )
   12945       # Not sure whether the presence of OpenBSD here was a mistake.
   12946       # Let's accept both of them until this is cleared up.
   12947       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   12948       lt_cv_file_magic_cmd=$FILECMD
   12949       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   12950       ;;
   12951     esac
   12952   else
   12953     lt_cv_deplibs_check_method=pass_all
   12954   fi
   12955   ;;
   12956 
   12957 haiku*)
   12958   lt_cv_deplibs_check_method=pass_all
   12959   ;;
   12960 
   12961 hpux10.20* | hpux11*)
   12962   lt_cv_file_magic_cmd=$FILECMD
   12963   case $host_cpu in
   12964   ia64*)
   12965     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   12966     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   12967     ;;
   12968   hppa*64*)
   12969     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]'
   12970     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   12971     ;;
   12972   *)
   12973     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   12974     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   12975     ;;
   12976   esac
   12977   ;;
   12978 
   12979 interix[3-9]*)
   12980   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   12981   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   12982   ;;
   12983 
   12984 irix5* | irix6* | nonstopux*)
   12985   case $LD in
   12986   *-32|*"-32 ") libmagic=32-bit;;
   12987   *-n32|*"-n32 ") libmagic=N32;;
   12988   *-64|*"-64 ") libmagic=64-bit;;
   12989   *) libmagic=never-match;;
   12990   esac
   12991   lt_cv_deplibs_check_method=pass_all
   12992   ;;
   12993 
   12994 # This must be glibc/ELF.
   12995 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12996   lt_cv_deplibs_check_method=pass_all
   12997   ;;
   12998 
   12999 netbsd*)
   13000   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   13001     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   13002   else
   13003     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   13004   fi
   13005   ;;
   13006 
   13007 newos6*)
   13008   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   13009   lt_cv_file_magic_cmd=$FILECMD
   13010   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   13011   ;;
   13012 
   13013 *nto* | *qnx*)
   13014   lt_cv_deplibs_check_method=pass_all
   13015   ;;
   13016 
   13017 openbsd*)
   13018   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   13019     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   13020   else
   13021     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   13022   fi
   13023   ;;
   13024 
   13025 osf3* | osf4* | osf5*)
   13026   lt_cv_deplibs_check_method=pass_all
   13027   ;;
   13028 
   13029 rdos*)
   13030   lt_cv_deplibs_check_method=pass_all
   13031   ;;
   13032 
   13033 solaris*)
   13034   lt_cv_deplibs_check_method=pass_all
   13035   ;;
   13036 
   13037 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13038   lt_cv_deplibs_check_method=pass_all
   13039   ;;
   13040 
   13041 sysv4 | sysv4.3*)
   13042   case $host_vendor in
   13043   motorola)
   13044     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]'
   13045     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   13046     ;;
   13047   ncr)
   13048     lt_cv_deplibs_check_method=pass_all
   13049     ;;
   13050   sequent)
   13051     lt_cv_file_magic_cmd='/bin/file'
   13052     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   13053     ;;
   13054   sni)
   13055     lt_cv_file_magic_cmd='/bin/file'
   13056     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   13057     lt_cv_file_magic_test_file=/lib/libc.so
   13058     ;;
   13059   siemens)
   13060     lt_cv_deplibs_check_method=pass_all
   13061     ;;
   13062   pc)
   13063     lt_cv_deplibs_check_method=pass_all
   13064     ;;
   13065   esac
   13066   ;;
   13067 
   13068 tpf*)
   13069   lt_cv_deplibs_check_method=pass_all
   13070   ;;
   13071 os2*)
   13072   lt_cv_deplibs_check_method=pass_all
   13073   ;;
   13074 esac
   13075  ;;
   13076 esac
   13077 fi
   13078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   13079 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   13080 
   13081 file_magic_glob=
   13082 want_nocaseglob=no
   13083 if test "$build" = "$host"; then
   13084   case $host_os in
   13085   mingw* | windows* | pw32*)
   13086     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   13087       want_nocaseglob=yes
   13088     else
   13089       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   13090     fi
   13091     ;;
   13092   esac
   13093 fi
   13094 
   13095 file_magic_cmd=$lt_cv_file_magic_cmd
   13096 deplibs_check_method=$lt_cv_deplibs_check_method
   13097 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   13098 
   13099 
   13100 
   13101 
   13102 
   13103 
   13104 
   13105 
   13106 
   13107 
   13108 
   13109 
   13110 
   13111 
   13112 
   13113 
   13114 
   13115 
   13116 
   13117 
   13118 
   13119 
   13120 if test -n "$ac_tool_prefix"; then
   13121   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   13122 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   13123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13124 printf %s "checking for $ac_word... " >&6; }
   13125 if test ${ac_cv_prog_DLLTOOL+y}
   13126 then :
   13127   printf %s "(cached) " >&6
   13128 else case e in #(
   13129   e) if test -n "$DLLTOOL"; then
   13130   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   13131 else
   13132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13133 for as_dir in $PATH
   13134 do
   13135   IFS=$as_save_IFS
   13136   case $as_dir in #(((
   13137     '') as_dir=./ ;;
   13138     */) ;;
   13139     *) as_dir=$as_dir/ ;;
   13140   esac
   13141     for ac_exec_ext in '' $ac_executable_extensions; do
   13142   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13143     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   13144     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13145     break 2
   13146   fi
   13147 done
   13148   done
   13149 IFS=$as_save_IFS
   13150 
   13151 fi ;;
   13152 esac
   13153 fi
   13154 DLLTOOL=$ac_cv_prog_DLLTOOL
   13155 if test -n "$DLLTOOL"; then
   13156   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   13157 printf "%s\n" "$DLLTOOL" >&6; }
   13158 else
   13159   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13160 printf "%s\n" "no" >&6; }
   13161 fi
   13162 
   13163 
   13164 fi
   13165 if test -z "$ac_cv_prog_DLLTOOL"; then
   13166   ac_ct_DLLTOOL=$DLLTOOL
   13167   # Extract the first word of "dlltool", so it can be a program name with args.
   13168 set dummy dlltool; ac_word=$2
   13169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13170 printf %s "checking for $ac_word... " >&6; }
   13171 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   13172 then :
   13173   printf %s "(cached) " >&6
   13174 else case e in #(
   13175   e) if test -n "$ac_ct_DLLTOOL"; then
   13176   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   13177 else
   13178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13179 for as_dir in $PATH
   13180 do
   13181   IFS=$as_save_IFS
   13182   case $as_dir in #(((
   13183     '') as_dir=./ ;;
   13184     */) ;;
   13185     *) as_dir=$as_dir/ ;;
   13186   esac
   13187     for ac_exec_ext in '' $ac_executable_extensions; do
   13188   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13189     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   13190     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13191     break 2
   13192   fi
   13193 done
   13194   done
   13195 IFS=$as_save_IFS
   13196 
   13197 fi ;;
   13198 esac
   13199 fi
   13200 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   13201 if test -n "$ac_ct_DLLTOOL"; then
   13202   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   13203 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   13204 else
   13205   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13206 printf "%s\n" "no" >&6; }
   13207 fi
   13208 
   13209   if test "x$ac_ct_DLLTOOL" = x; then
   13210     DLLTOOL="false"
   13211   else
   13212     case $cross_compiling:$ac_tool_warned in
   13213 yes:)
   13214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13215 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13216 ac_tool_warned=yes ;;
   13217 esac
   13218     DLLTOOL=$ac_ct_DLLTOOL
   13219   fi
   13220 else
   13221   DLLTOOL="$ac_cv_prog_DLLTOOL"
   13222 fi
   13223 
   13224 test -z "$DLLTOOL" && DLLTOOL=dlltool
   13225 
   13226 
   13227 
   13228 
   13229 
   13230 
   13231 
   13232 
   13233 
   13234 
   13235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   13236 printf %s "checking how to associate runtime and link libraries... " >&6; }
   13237 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   13238 then :
   13239   printf %s "(cached) " >&6
   13240 else case e in #(
   13241   e) lt_cv_sharedlib_from_linklib_cmd='unknown'
   13242 
   13243 case $host_os in
   13244 cygwin* | mingw* | windows* | pw32* | cegcc*)
   13245   # two different shell functions defined in ltmain.sh;
   13246   # decide which one to use based on capabilities of $DLLTOOL
   13247   case `$DLLTOOL --help 2>&1` in
   13248   *--identify-strict*)
   13249     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   13250     ;;
   13251   *)
   13252     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   13253     ;;
   13254   esac
   13255   ;;
   13256 *)
   13257   # fallback: assume linklib IS sharedlib
   13258   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   13259   ;;
   13260 esac
   13261  ;;
   13262 esac
   13263 fi
   13264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   13265 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   13266 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   13267 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   13268 
   13269 
   13270 
   13271 
   13272 
   13273 
   13274 
   13275 if test -n "$ac_tool_prefix"; then
   13276   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   13277 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   13278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13279 printf %s "checking for $ac_word... " >&6; }
   13280 if test ${ac_cv_prog_RANLIB+y}
   13281 then :
   13282   printf %s "(cached) " >&6
   13283 else case e in #(
   13284   e) if test -n "$RANLIB"; then
   13285   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   13286 else
   13287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13288 for as_dir in $PATH
   13289 do
   13290   IFS=$as_save_IFS
   13291   case $as_dir in #(((
   13292     '') as_dir=./ ;;
   13293     */) ;;
   13294     *) as_dir=$as_dir/ ;;
   13295   esac
   13296     for ac_exec_ext in '' $ac_executable_extensions; do
   13297   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13298     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   13299     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13300     break 2
   13301   fi
   13302 done
   13303   done
   13304 IFS=$as_save_IFS
   13305 
   13306 fi ;;
   13307 esac
   13308 fi
   13309 RANLIB=$ac_cv_prog_RANLIB
   13310 if test -n "$RANLIB"; then
   13311   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   13312 printf "%s\n" "$RANLIB" >&6; }
   13313 else
   13314   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13315 printf "%s\n" "no" >&6; }
   13316 fi
   13317 
   13318 
   13319 fi
   13320 if test -z "$ac_cv_prog_RANLIB"; then
   13321   ac_ct_RANLIB=$RANLIB
   13322   # Extract the first word of "ranlib", so it can be a program name with args.
   13323 set dummy ranlib; ac_word=$2
   13324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13325 printf %s "checking for $ac_word... " >&6; }
   13326 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   13327 then :
   13328   printf %s "(cached) " >&6
   13329 else case e in #(
   13330   e) if test -n "$ac_ct_RANLIB"; then
   13331   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   13332 else
   13333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13334 for as_dir in $PATH
   13335 do
   13336   IFS=$as_save_IFS
   13337   case $as_dir in #(((
   13338     '') as_dir=./ ;;
   13339     */) ;;
   13340     *) as_dir=$as_dir/ ;;
   13341   esac
   13342     for ac_exec_ext in '' $ac_executable_extensions; do
   13343   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13344     ac_cv_prog_ac_ct_RANLIB="ranlib"
   13345     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13346     break 2
   13347   fi
   13348 done
   13349   done
   13350 IFS=$as_save_IFS
   13351 
   13352 fi ;;
   13353 esac
   13354 fi
   13355 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   13356 if test -n "$ac_ct_RANLIB"; then
   13357   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   13358 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   13359 else
   13360   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13361 printf "%s\n" "no" >&6; }
   13362 fi
   13363 
   13364   if test "x$ac_ct_RANLIB" = x; then
   13365     RANLIB=":"
   13366   else
   13367     case $cross_compiling:$ac_tool_warned in
   13368 yes:)
   13369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13370 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13371 ac_tool_warned=yes ;;
   13372 esac
   13373     RANLIB=$ac_ct_RANLIB
   13374   fi
   13375 else
   13376   RANLIB="$ac_cv_prog_RANLIB"
   13377 fi
   13378 
   13379 if test -n "$ac_tool_prefix"; then
   13380   for ac_prog in ar
   13381   do
   13382     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   13383 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   13384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13385 printf %s "checking for $ac_word... " >&6; }
   13386 if test ${ac_cv_prog_AR+y}
   13387 then :
   13388   printf %s "(cached) " >&6
   13389 else case e in #(
   13390   e) if test -n "$AR"; then
   13391   ac_cv_prog_AR="$AR" # Let the user override the test.
   13392 else
   13393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13394 for as_dir in $PATH
   13395 do
   13396   IFS=$as_save_IFS
   13397   case $as_dir in #(((
   13398     '') as_dir=./ ;;
   13399     */) ;;
   13400     *) as_dir=$as_dir/ ;;
   13401   esac
   13402     for ac_exec_ext in '' $ac_executable_extensions; do
   13403   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13404     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   13405     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13406     break 2
   13407   fi
   13408 done
   13409   done
   13410 IFS=$as_save_IFS
   13411 
   13412 fi ;;
   13413 esac
   13414 fi
   13415 AR=$ac_cv_prog_AR
   13416 if test -n "$AR"; then
   13417   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   13418 printf "%s\n" "$AR" >&6; }
   13419 else
   13420   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13421 printf "%s\n" "no" >&6; }
   13422 fi
   13423 
   13424 
   13425     test -n "$AR" && break
   13426   done
   13427 fi
   13428 if test -z "$AR"; then
   13429   ac_ct_AR=$AR
   13430   for ac_prog in ar
   13431 do
   13432   # Extract the first word of "$ac_prog", so it can be a program name with args.
   13433 set dummy $ac_prog; ac_word=$2
   13434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13435 printf %s "checking for $ac_word... " >&6; }
   13436 if test ${ac_cv_prog_ac_ct_AR+y}
   13437 then :
   13438   printf %s "(cached) " >&6
   13439 else case e in #(
   13440   e) if test -n "$ac_ct_AR"; then
   13441   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   13442 else
   13443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13444 for as_dir in $PATH
   13445 do
   13446   IFS=$as_save_IFS
   13447   case $as_dir in #(((
   13448     '') as_dir=./ ;;
   13449     */) ;;
   13450     *) as_dir=$as_dir/ ;;
   13451   esac
   13452     for ac_exec_ext in '' $ac_executable_extensions; do
   13453   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13454     ac_cv_prog_ac_ct_AR="$ac_prog"
   13455     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13456     break 2
   13457   fi
   13458 done
   13459   done
   13460 IFS=$as_save_IFS
   13461 
   13462 fi ;;
   13463 esac
   13464 fi
   13465 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   13466 if test -n "$ac_ct_AR"; then
   13467   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   13468 printf "%s\n" "$ac_ct_AR" >&6; }
   13469 else
   13470   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13471 printf "%s\n" "no" >&6; }
   13472 fi
   13473 
   13474 
   13475   test -n "$ac_ct_AR" && break
   13476 done
   13477 
   13478   if test "x$ac_ct_AR" = x; then
   13479     AR="false"
   13480   else
   13481     case $cross_compiling:$ac_tool_warned in
   13482 yes:)
   13483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13484 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13485 ac_tool_warned=yes ;;
   13486 esac
   13487     AR=$ac_ct_AR
   13488   fi
   13489 fi
   13490 
   13491 : ${AR=ar}
   13492 
   13493 
   13494 
   13495 
   13496 
   13497 
   13498 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   13499 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   13500 # higher priority because that's what people were doing historically (setting
   13501 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   13502 # variable obsoleted/removed.
   13503 
   13504 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   13505 lt_ar_flags=$AR_FLAGS
   13506 
   13507 
   13508 
   13509 
   13510 
   13511 
   13512 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   13513 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   13514 
   13515 
   13516 
   13517 
   13518 
   13519 
   13520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   13521 printf %s "checking for archiver @FILE support... " >&6; }
   13522 if test ${lt_cv_ar_at_file+y}
   13523 then :
   13524   printf %s "(cached) " >&6
   13525 else case e in #(
   13526   e) lt_cv_ar_at_file=no
   13527    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13528 /* end confdefs.h.  */
   13529 
   13530 int
   13531 main (void)
   13532 {
   13533 
   13534   ;
   13535   return 0;
   13536 }
   13537 _ACEOF
   13538 if ac_fn_c_try_compile "$LINENO"
   13539 then :
   13540   echo conftest.$ac_objext > conftest.lst
   13541       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   13542       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   13543   (eval $lt_ar_try) 2>&5
   13544   ac_status=$?
   13545   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13546   test $ac_status = 0; }
   13547       if test 0 -eq "$ac_status"; then
   13548 	# Ensure the archiver fails upon bogus file names.
   13549 	rm -f conftest.$ac_objext libconftest.a
   13550 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   13551   (eval $lt_ar_try) 2>&5
   13552   ac_status=$?
   13553   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13554   test $ac_status = 0; }
   13555 	if test 0 -ne "$ac_status"; then
   13556           lt_cv_ar_at_file=@
   13557         fi
   13558       fi
   13559       rm -f conftest.* libconftest.a
   13560 
   13561 fi
   13562 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13563    ;;
   13564 esac
   13565 fi
   13566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   13567 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   13568 
   13569 if test no = "$lt_cv_ar_at_file"; then
   13570   archiver_list_spec=
   13571 else
   13572   archiver_list_spec=$lt_cv_ar_at_file
   13573 fi
   13574 
   13575 
   13576 
   13577 
   13578 
   13579 
   13580 
   13581 if test -n "$ac_tool_prefix"; then
   13582   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   13583 set dummy ${ac_tool_prefix}strip; ac_word=$2
   13584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13585 printf %s "checking for $ac_word... " >&6; }
   13586 if test ${ac_cv_prog_STRIP+y}
   13587 then :
   13588   printf %s "(cached) " >&6
   13589 else case e in #(
   13590   e) if test -n "$STRIP"; then
   13591   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   13592 else
   13593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13594 for as_dir in $PATH
   13595 do
   13596   IFS=$as_save_IFS
   13597   case $as_dir in #(((
   13598     '') as_dir=./ ;;
   13599     */) ;;
   13600     *) as_dir=$as_dir/ ;;
   13601   esac
   13602     for ac_exec_ext in '' $ac_executable_extensions; do
   13603   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13604     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   13605     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13606     break 2
   13607   fi
   13608 done
   13609   done
   13610 IFS=$as_save_IFS
   13611 
   13612 fi ;;
   13613 esac
   13614 fi
   13615 STRIP=$ac_cv_prog_STRIP
   13616 if test -n "$STRIP"; then
   13617   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   13618 printf "%s\n" "$STRIP" >&6; }
   13619 else
   13620   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13621 printf "%s\n" "no" >&6; }
   13622 fi
   13623 
   13624 
   13625 fi
   13626 if test -z "$ac_cv_prog_STRIP"; then
   13627   ac_ct_STRIP=$STRIP
   13628   # Extract the first word of "strip", so it can be a program name with args.
   13629 set dummy strip; ac_word=$2
   13630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13631 printf %s "checking for $ac_word... " >&6; }
   13632 if test ${ac_cv_prog_ac_ct_STRIP+y}
   13633 then :
   13634   printf %s "(cached) " >&6
   13635 else case e in #(
   13636   e) if test -n "$ac_ct_STRIP"; then
   13637   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   13638 else
   13639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13640 for as_dir in $PATH
   13641 do
   13642   IFS=$as_save_IFS
   13643   case $as_dir in #(((
   13644     '') as_dir=./ ;;
   13645     */) ;;
   13646     *) as_dir=$as_dir/ ;;
   13647   esac
   13648     for ac_exec_ext in '' $ac_executable_extensions; do
   13649   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13650     ac_cv_prog_ac_ct_STRIP="strip"
   13651     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13652     break 2
   13653   fi
   13654 done
   13655   done
   13656 IFS=$as_save_IFS
   13657 
   13658 fi ;;
   13659 esac
   13660 fi
   13661 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   13662 if test -n "$ac_ct_STRIP"; then
   13663   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   13664 printf "%s\n" "$ac_ct_STRIP" >&6; }
   13665 else
   13666   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13667 printf "%s\n" "no" >&6; }
   13668 fi
   13669 
   13670   if test "x$ac_ct_STRIP" = x; then
   13671     STRIP=":"
   13672   else
   13673     case $cross_compiling:$ac_tool_warned in
   13674 yes:)
   13675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13676 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13677 ac_tool_warned=yes ;;
   13678 esac
   13679     STRIP=$ac_ct_STRIP
   13680   fi
   13681 else
   13682   STRIP="$ac_cv_prog_STRIP"
   13683 fi
   13684 
   13685 test -z "$STRIP" && STRIP=:
   13686 
   13687 
   13688 
   13689 
   13690 
   13691 
   13692 
   13693 test -z "$RANLIB" && RANLIB=:
   13694 
   13695 
   13696 
   13697 
   13698 
   13699 
   13700 # Determine commands to create old-style static archives.
   13701 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   13702 old_postinstall_cmds='chmod 644 $oldlib'
   13703 old_postuninstall_cmds=
   13704 
   13705 if test -n "$RANLIB"; then
   13706   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   13707   old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   13708 fi
   13709 
   13710 case $host_os in
   13711   darwin*)
   13712     lock_old_archive_extraction=yes ;;
   13713   *)
   13714     lock_old_archive_extraction=no ;;
   13715 esac
   13716 
   13717 
   13718 
   13719 
   13720 
   13721 
   13722 
   13723 
   13724 
   13725 
   13726 
   13727 
   13728 
   13729 
   13730 
   13731 
   13732 
   13733 
   13734 
   13735 
   13736 
   13737 
   13738 
   13739 
   13740 
   13741 
   13742 
   13743 
   13744 
   13745 
   13746 
   13747 
   13748 
   13749 
   13750 
   13751 
   13752 
   13753 
   13754 
   13755 # If no C compiler was specified, use CC.
   13756 LTCC=${LTCC-"$CC"}
   13757 
   13758 # If no C compiler flags were specified, use CFLAGS.
   13759 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   13760 
   13761 # Allow CC to be a program name with arguments.
   13762 compiler=$CC
   13763 
   13764 
   13765 # Check for command to grab the raw symbol name followed by C symbol from nm.
   13766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   13767 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   13768 if test ${lt_cv_sys_global_symbol_pipe+y}
   13769 then :
   13770   printf %s "(cached) " >&6
   13771 else case e in #(
   13772   e)
   13773 # These are sane defaults that work on at least a few old systems.
   13774 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   13775 
   13776 # Character class describing NM global symbol codes.
   13777 symcode='[BCDEGRST]'
   13778 
   13779 # Regexp to match symbols that can be accessed directly from C.
   13780 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   13781 
   13782 # Define system-specific variables.
   13783 case $host_os in
   13784 aix*)
   13785   symcode='[BCDT]'
   13786   ;;
   13787 cygwin* | mingw* | windows* | pw32* | cegcc*)
   13788   symcode='[ABCDGISTW]'
   13789   ;;
   13790 hpux*)
   13791   if test ia64 = "$host_cpu"; then
   13792     symcode='[ABCDEGRST]'
   13793   fi
   13794   ;;
   13795 irix* | nonstopux*)
   13796   symcode='[BCDEGRST]'
   13797   ;;
   13798 osf*)
   13799   symcode='[BCDEGQRST]'
   13800   ;;
   13801 solaris*)
   13802   symcode='[BCDRT]'
   13803   ;;
   13804 sco3.2v5*)
   13805   symcode='[DT]'
   13806   ;;
   13807 sysv4.2uw2*)
   13808   symcode='[DT]'
   13809   ;;
   13810 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   13811   symcode='[ABDT]'
   13812   ;;
   13813 sysv4)
   13814   symcode='[DFNSTU]'
   13815   ;;
   13816 esac
   13817 
   13818 # If we're using GNU nm, then use its standard symbol codes.
   13819 case `$NM -V 2>&1` in
   13820 *GNU* | *'with BFD'*)
   13821   symcode='[ABCDGIRSTW]' ;;
   13822 esac
   13823 
   13824 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   13825   # Gets list of data symbols to import.
   13826   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   13827   # Adjust the below global symbol transforms to fixup imported variables.
   13828   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   13829   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   13830   lt_c_name_lib_hook="\
   13831   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   13832   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   13833 else
   13834   # Disable hooks by default.
   13835   lt_cv_sys_global_symbol_to_import=
   13836   lt_cdecl_hook=
   13837   lt_c_name_hook=
   13838   lt_c_name_lib_hook=
   13839 fi
   13840 
   13841 # Transform an extracted symbol line into a proper C declaration.
   13842 # Some systems (esp. on ia64) link data and code symbols differently,
   13843 # so use this general approach.
   13844 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   13845 $lt_cdecl_hook\
   13846 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   13847 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   13848 
   13849 # Transform an extracted symbol line into symbol name and symbol address
   13850 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   13851 $lt_c_name_hook\
   13852 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   13853 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   13854 
   13855 # Transform an extracted symbol line into symbol name with lib prefix and
   13856 # symbol address.
   13857 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   13858 $lt_c_name_lib_hook\
   13859 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   13860 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   13861 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   13862 
   13863 # Handle CRLF in mingw tool chain
   13864 opt_cr=
   13865 case $build_os in
   13866 mingw* | windows*)
   13867   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   13868   ;;
   13869 esac
   13870 
   13871 # Try without a prefix underscore, then with it.
   13872 for ac_symprfx in "" "_"; do
   13873 
   13874   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   13875   symxfrm="\\1 $ac_symprfx\\2 \\2"
   13876 
   13877   # Write the raw and C identifiers.
   13878   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   13879     # Fake it for dumpbin and say T for any non-static function,
   13880     # D for any global variable and I for any imported variable.
   13881     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   13882     # which start with @ or ?.
   13883     lt_cv_sys_global_symbol_pipe="$AWK '"\
   13884 "     {last_section=section; section=\$ 3};"\
   13885 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   13886 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   13887 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   13888 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   13889 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   13890 "     \$ 0!~/External *\|/{next};"\
   13891 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   13892 "     {if(hide[section]) next};"\
   13893 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   13894 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   13895 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   13896 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   13897 "     ' prfx=^$ac_symprfx"
   13898   else
   13899     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   13900   fi
   13901   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   13902 
   13903   # Check to see that the pipe works correctly.
   13904   pipe_works=no
   13905 
   13906   rm -f conftest*
   13907   cat > conftest.$ac_ext <<_LT_EOF
   13908 #ifdef __cplusplus
   13909 extern "C" {
   13910 #endif
   13911 char nm_test_var;
   13912 void nm_test_func(void);
   13913 void nm_test_func(void){}
   13914 #ifdef __cplusplus
   13915 }
   13916 #endif
   13917 int main(void){nm_test_var='a';nm_test_func();return(0);}
   13918 _LT_EOF
   13919 
   13920   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13921   (eval $ac_compile) 2>&5
   13922   ac_status=$?
   13923   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13924   test $ac_status = 0; }; then
   13925     # Now try to grab the symbols.
   13926     nlist=conftest.nm
   13927     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   13928   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   13929   ac_status=$?
   13930   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13931   test $ac_status = 0; } && test -s "$nlist"; then
   13932       # Try sorting and uniquifying the output.
   13933       if sort "$nlist" | uniq > "$nlist"T; then
   13934 	mv -f "$nlist"T "$nlist"
   13935       else
   13936 	rm -f "$nlist"T
   13937       fi
   13938 
   13939       # Make sure that we snagged all the symbols we need.
   13940       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   13941 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   13942 	  cat <<_LT_EOF > conftest.$ac_ext
   13943 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   13944 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   13945 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   13946    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   13947 # define LT_DLSYM_CONST
   13948 #elif defined __osf__
   13949 /* This system does not cope well with relocations in const data.  */
   13950 # define LT_DLSYM_CONST
   13951 #else
   13952 # define LT_DLSYM_CONST const
   13953 #endif
   13954 
   13955 #ifdef __cplusplus
   13956 extern "C" {
   13957 #endif
   13958 
   13959 _LT_EOF
   13960 	  # Now generate the symbol file.
   13961 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   13962 
   13963 	  cat <<_LT_EOF >> conftest.$ac_ext
   13964 
   13965 /* The mapping between symbol names and symbols.  */
   13966 LT_DLSYM_CONST struct {
   13967   const char *name;
   13968   void       *address;
   13969 }
   13970 lt__PROGRAM__LTX_preloaded_symbols[] =
   13971 {
   13972   { "@PROGRAM@", (void *) 0 },
   13973 _LT_EOF
   13974 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   13975 	  cat <<\_LT_EOF >> conftest.$ac_ext
   13976   {0, (void *) 0}
   13977 };
   13978 
   13979 /* This works around a problem in FreeBSD linker */
   13980 #ifdef FREEBSD_WORKAROUND
   13981 static const void *lt_preloaded_setup() {
   13982   return lt__PROGRAM__LTX_preloaded_symbols;
   13983 }
   13984 #endif
   13985 
   13986 #ifdef __cplusplus
   13987 }
   13988 #endif
   13989 _LT_EOF
   13990 	  # Now try linking the two files.
   13991 	  mv conftest.$ac_objext conftstm.$ac_objext
   13992 	  lt_globsym_save_LIBS=$LIBS
   13993 	  lt_globsym_save_CFLAGS=$CFLAGS
   13994 	  LIBS=conftstm.$ac_objext
   13995 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   13996 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13997   (eval $ac_link) 2>&5
   13998   ac_status=$?
   13999   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14000   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   14001 	    pipe_works=yes
   14002 	  fi
   14003 	  LIBS=$lt_globsym_save_LIBS
   14004 	  CFLAGS=$lt_globsym_save_CFLAGS
   14005 	else
   14006 	  echo "cannot find nm_test_func in $nlist" >&5
   14007 	fi
   14008       else
   14009 	echo "cannot find nm_test_var in $nlist" >&5
   14010       fi
   14011     else
   14012       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   14013     fi
   14014   else
   14015     echo "$progname: failed program was:" >&5
   14016     cat conftest.$ac_ext >&5
   14017   fi
   14018   rm -rf conftest* conftst*
   14019 
   14020   # Do not use the global_symbol_pipe unless it works.
   14021   if test yes = "$pipe_works"; then
   14022     break
   14023   else
   14024     lt_cv_sys_global_symbol_pipe=
   14025   fi
   14026 done
   14027  ;;
   14028 esac
   14029 fi
   14030 
   14031 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   14032   lt_cv_sys_global_symbol_to_cdecl=
   14033 fi
   14034 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   14035   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   14036 printf "%s\n" "failed" >&6; }
   14037 else
   14038   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   14039 printf "%s\n" "ok" >&6; }
   14040 fi
   14041 
   14042 # Response file support.
   14043 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   14044   nm_file_list_spec='@'
   14045 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   14046   nm_file_list_spec='@'
   14047 fi
   14048 
   14049 
   14050 
   14051 
   14052 
   14053 
   14054 
   14055 
   14056 
   14057 
   14058 
   14059 
   14060 
   14061 
   14062 
   14063 
   14064 
   14065 
   14066 
   14067 
   14068 
   14069 
   14070 
   14071 
   14072 
   14073 
   14074 
   14075 
   14076 
   14077 
   14078 
   14079 
   14080 
   14081 
   14082 
   14083 
   14084 
   14085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   14086 printf %s "checking for sysroot... " >&6; }
   14087 
   14088 # Check whether --with-sysroot was given.
   14089 if test ${with_sysroot+y}
   14090 then :
   14091   withval=$with_sysroot;
   14092 else case e in #(
   14093   e) with_sysroot=no ;;
   14094 esac
   14095 fi
   14096 
   14097 
   14098 lt_sysroot=
   14099 case $with_sysroot in #(
   14100  yes)
   14101    if test yes = "$GCC"; then
   14102      # Trim trailing / since we'll always append absolute paths and we want
   14103      # to avoid //, if only for less confusing output for the user.
   14104      lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'`
   14105    fi
   14106    ;; #(
   14107  /*)
   14108    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   14109    ;; #(
   14110  no|'')
   14111    ;; #(
   14112  *)
   14113    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   14114 printf "%s\n" "$with_sysroot" >&6; }
   14115    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   14116    ;;
   14117 esac
   14118 
   14119  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   14120 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   14121 
   14122 
   14123 
   14124 
   14125 
   14126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   14127 printf %s "checking for a working dd... " >&6; }
   14128 if test ${ac_cv_path_lt_DD+y}
   14129 then :
   14130   printf %s "(cached) " >&6
   14131 else case e in #(
   14132   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   14133 cat conftest.i conftest.i >conftest2.i
   14134 : ${lt_DD:=$DD}
   14135 if test -z "$lt_DD"; then
   14136   ac_path_lt_DD_found=false
   14137   # Loop through the user's path and test for each of PROGNAME-LIST
   14138   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14139 for as_dir in $PATH
   14140 do
   14141   IFS=$as_save_IFS
   14142   case $as_dir in #(((
   14143     '') as_dir=./ ;;
   14144     */) ;;
   14145     *) as_dir=$as_dir/ ;;
   14146   esac
   14147     for ac_prog in dd
   14148    do
   14149     for ac_exec_ext in '' $ac_executable_extensions; do
   14150       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   14151       as_fn_executable_p "$ac_path_lt_DD" || continue
   14152 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   14153   cmp -s conftest.i conftest.out \
   14154   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   14155 fi
   14156       $ac_path_lt_DD_found && break 3
   14157     done
   14158   done
   14159   done
   14160 IFS=$as_save_IFS
   14161   if test -z "$ac_cv_path_lt_DD"; then
   14162     :
   14163   fi
   14164 else
   14165   ac_cv_path_lt_DD=$lt_DD
   14166 fi
   14167 
   14168 rm -f conftest.i conftest2.i conftest.out ;;
   14169 esac
   14170 fi
   14171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   14172 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   14173 
   14174 
   14175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   14176 printf %s "checking how to truncate binary pipes... " >&6; }
   14177 if test ${lt_cv_truncate_bin+y}
   14178 then :
   14179   printf %s "(cached) " >&6
   14180 else case e in #(
   14181   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   14182 cat conftest.i conftest.i >conftest2.i
   14183 lt_cv_truncate_bin=
   14184 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   14185   cmp -s conftest.i conftest.out \
   14186   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   14187 fi
   14188 rm -f conftest.i conftest2.i conftest.out
   14189 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
   14190 esac
   14191 fi
   14192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   14193 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   14194 
   14195 
   14196 
   14197 
   14198 
   14199 
   14200 
   14201 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   14202 func_cc_basename ()
   14203 {
   14204     for cc_temp in $*""; do
   14205       case $cc_temp in
   14206         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14207         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14208         \-*) ;;
   14209         *) break;;
   14210       esac
   14211     done
   14212     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   14213 }
   14214 
   14215 # Check whether --enable-libtool-lock was given.
   14216 if test ${enable_libtool_lock+y}
   14217 then :
   14218   enableval=$enable_libtool_lock;
   14219 fi
   14220 
   14221 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   14222 
   14223 # Some flags need to be propagated to the compiler or linker for good
   14224 # libtool support.
   14225 case $host in
   14226 ia64-*-hpux*)
   14227   # Find out what ABI is being produced by ac_compile, and set mode
   14228   # options accordingly.
   14229   echo 'int i;' > conftest.$ac_ext
   14230   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14231   (eval $ac_compile) 2>&5
   14232   ac_status=$?
   14233   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14234   test $ac_status = 0; }; then
   14235     case `$FILECMD conftest.$ac_objext` in
   14236       *ELF-32*)
   14237 	HPUX_IA64_MODE=32
   14238 	;;
   14239       *ELF-64*)
   14240 	HPUX_IA64_MODE=64
   14241 	;;
   14242     esac
   14243   fi
   14244   rm -rf conftest*
   14245   ;;
   14246 *-*-irix6*)
   14247   # Find out what ABI is being produced by ac_compile, and set linker
   14248   # options accordingly.
   14249   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   14250   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14251   (eval $ac_compile) 2>&5
   14252   ac_status=$?
   14253   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14254   test $ac_status = 0; }; then
   14255     if test yes = "$lt_cv_prog_gnu_ld"; then
   14256       case `$FILECMD conftest.$ac_objext` in
   14257 	*32-bit*)
   14258 	  LD="${LD-ld} -melf32bsmip"
   14259 	  ;;
   14260 	*N32*)
   14261 	  LD="${LD-ld} -melf32bmipn32"
   14262 	  ;;
   14263 	*64-bit*)
   14264 	  LD="${LD-ld} -melf64bmip"
   14265 	;;
   14266       esac
   14267     else
   14268       case `$FILECMD conftest.$ac_objext` in
   14269 	*32-bit*)
   14270 	  LD="${LD-ld} -32"
   14271 	  ;;
   14272 	*N32*)
   14273 	  LD="${LD-ld} -n32"
   14274 	  ;;
   14275 	*64-bit*)
   14276 	  LD="${LD-ld} -64"
   14277 	  ;;
   14278       esac
   14279     fi
   14280   fi
   14281   rm -rf conftest*
   14282   ;;
   14283 
   14284 mips64*-*linux*)
   14285   # Find out what ABI is being produced by ac_compile, and set linker
   14286   # options accordingly.
   14287   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   14288   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14289   (eval $ac_compile) 2>&5
   14290   ac_status=$?
   14291   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14292   test $ac_status = 0; }; then
   14293     emul=elf
   14294     case `$FILECMD conftest.$ac_objext` in
   14295       *32-bit*)
   14296 	emul="${emul}32"
   14297 	;;
   14298       *64-bit*)
   14299 	emul="${emul}64"
   14300 	;;
   14301     esac
   14302     case `$FILECMD conftest.$ac_objext` in
   14303       *MSB*)
   14304 	emul="${emul}btsmip"
   14305 	;;
   14306       *LSB*)
   14307 	emul="${emul}ltsmip"
   14308 	;;
   14309     esac
   14310     case `$FILECMD conftest.$ac_objext` in
   14311       *N32*)
   14312 	emul="${emul}n32"
   14313 	;;
   14314     esac
   14315     LD="${LD-ld} -m $emul"
   14316   fi
   14317   rm -rf conftest*
   14318   ;;
   14319 
   14320 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   14321 s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*)
   14322   # Find out what ABI is being produced by ac_compile, and set linker
   14323   # options accordingly.  Note that the listed cases only cover the
   14324   # situations where additional linker options are needed (such as when
   14325   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   14326   # vice versa); the common cases where no linker options are needed do
   14327   # not appear in the list.
   14328   echo 'int i;' > conftest.$ac_ext
   14329   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14330   (eval $ac_compile) 2>&5
   14331   ac_status=$?
   14332   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14333   test $ac_status = 0; }; then
   14334     case `$FILECMD conftest.o` in
   14335       *32-bit*)
   14336 	case $host in
   14337 	  x86_64-*kfreebsd*-gnu)
   14338 	    LD="${LD-ld} -m elf_i386_fbsd"
   14339 	    ;;
   14340 	  x86_64-*linux*|x86_64-gnu*)
   14341 	    case `$FILECMD conftest.o` in
   14342 	      *x86-64*)
   14343 		LD="${LD-ld} -m elf32_x86_64"
   14344 		;;
   14345 	      *)
   14346 		LD="${LD-ld} -m elf_i386"
   14347 		;;
   14348 	    esac
   14349 	    ;;
   14350 	  powerpc64le-*linux*)
   14351 	    LD="${LD-ld} -m elf32lppclinux"
   14352 	    ;;
   14353 	  powerpc64-*linux*)
   14354 	    LD="${LD-ld} -m elf32ppclinux"
   14355 	    ;;
   14356 	  s390x-*linux*)
   14357 	    LD="${LD-ld} -m elf_s390"
   14358 	    ;;
   14359 	  sparc64-*linux*)
   14360 	    LD="${LD-ld} -m elf32_sparc"
   14361 	    ;;
   14362 	esac
   14363 	;;
   14364       *64-bit*)
   14365 	case $host in
   14366 	  x86_64-*kfreebsd*-gnu)
   14367 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   14368 	    ;;
   14369 	  x86_64-*linux*|x86_64-gnu*)
   14370 	    LD="${LD-ld} -m elf_x86_64"
   14371 	    ;;
   14372 	  powerpcle-*linux*)
   14373 	    LD="${LD-ld} -m elf64lppc"
   14374 	    ;;
   14375 	  powerpc-*linux*)
   14376 	    LD="${LD-ld} -m elf64ppc"
   14377 	    ;;
   14378 	  s390*-*linux*|s390*-*tpf*)
   14379 	    LD="${LD-ld} -m elf64_s390"
   14380 	    ;;
   14381 	  sparc*-*linux*)
   14382 	    LD="${LD-ld} -m elf64_sparc"
   14383 	    ;;
   14384 	esac
   14385 	;;
   14386     esac
   14387   fi
   14388   rm -rf conftest*
   14389   ;;
   14390 
   14391 *-*-sco3.2v5*)
   14392   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   14393   SAVE_CFLAGS=$CFLAGS
   14394   CFLAGS="$CFLAGS -belf"
   14395   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   14396 printf %s "checking whether the C compiler needs -belf... " >&6; }
   14397 if test ${lt_cv_cc_needs_belf+y}
   14398 then :
   14399   printf %s "(cached) " >&6
   14400 else case e in #(
   14401   e) ac_ext=c
   14402 ac_cpp='$CPP $CPPFLAGS'
   14403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14406 
   14407      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14408 /* end confdefs.h.  */
   14409 
   14410 int
   14411 main (void)
   14412 {
   14413 
   14414   ;
   14415   return 0;
   14416 }
   14417 _ACEOF
   14418 if ac_fn_c_try_link "$LINENO"
   14419 then :
   14420   lt_cv_cc_needs_belf=yes
   14421 else case e in #(
   14422   e) lt_cv_cc_needs_belf=no ;;
   14423 esac
   14424 fi
   14425 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14426     conftest$ac_exeext conftest.$ac_ext
   14427      ac_ext=c
   14428 ac_cpp='$CPP $CPPFLAGS'
   14429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14432  ;;
   14433 esac
   14434 fi
   14435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   14436 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   14437   if test yes != "$lt_cv_cc_needs_belf"; then
   14438     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   14439     CFLAGS=$SAVE_CFLAGS
   14440   fi
   14441   ;;
   14442 *-*solaris*)
   14443   # Find out what ABI is being produced by ac_compile, and set linker
   14444   # options accordingly.
   14445   echo 'int i;' > conftest.$ac_ext
   14446   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14447   (eval $ac_compile) 2>&5
   14448   ac_status=$?
   14449   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14450   test $ac_status = 0; }; then
   14451     case `$FILECMD conftest.o` in
   14452     *64-bit*)
   14453       case $lt_cv_prog_gnu_ld in
   14454       yes*)
   14455         case $host in
   14456         i?86-*-solaris*|x86_64-*-solaris*)
   14457           LD="${LD-ld} -m elf_x86_64"
   14458           ;;
   14459         sparc*-*-solaris*)
   14460           LD="${LD-ld} -m elf64_sparc"
   14461           ;;
   14462         esac
   14463         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   14464         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   14465           LD=${LD-ld}_sol2
   14466         fi
   14467         ;;
   14468       *)
   14469 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   14470 	  LD="${LD-ld} -64"
   14471 	fi
   14472 	;;
   14473       esac
   14474       ;;
   14475     esac
   14476   fi
   14477   rm -rf conftest*
   14478   ;;
   14479 esac
   14480 
   14481 need_locks=$enable_libtool_lock
   14482 
   14483 if test -n "$ac_tool_prefix"; then
   14484   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   14485 set dummy ${ac_tool_prefix}mt; ac_word=$2
   14486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14487 printf %s "checking for $ac_word... " >&6; }
   14488 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   14489 then :
   14490   printf %s "(cached) " >&6
   14491 else case e in #(
   14492   e) if test -n "$MANIFEST_TOOL"; then
   14493   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   14494 else
   14495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14496 for as_dir in $PATH
   14497 do
   14498   IFS=$as_save_IFS
   14499   case $as_dir in #(((
   14500     '') as_dir=./ ;;
   14501     */) ;;
   14502     *) as_dir=$as_dir/ ;;
   14503   esac
   14504     for ac_exec_ext in '' $ac_executable_extensions; do
   14505   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14506     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   14507     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14508     break 2
   14509   fi
   14510 done
   14511   done
   14512 IFS=$as_save_IFS
   14513 
   14514 fi ;;
   14515 esac
   14516 fi
   14517 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   14518 if test -n "$MANIFEST_TOOL"; then
   14519   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   14520 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   14521 else
   14522   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14523 printf "%s\n" "no" >&6; }
   14524 fi
   14525 
   14526 
   14527 fi
   14528 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   14529   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   14530   # Extract the first word of "mt", so it can be a program name with args.
   14531 set dummy mt; ac_word=$2
   14532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14533 printf %s "checking for $ac_word... " >&6; }
   14534 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   14535 then :
   14536   printf %s "(cached) " >&6
   14537 else case e in #(
   14538   e) if test -n "$ac_ct_MANIFEST_TOOL"; then
   14539   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   14540 else
   14541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14542 for as_dir in $PATH
   14543 do
   14544   IFS=$as_save_IFS
   14545   case $as_dir in #(((
   14546     '') as_dir=./ ;;
   14547     */) ;;
   14548     *) as_dir=$as_dir/ ;;
   14549   esac
   14550     for ac_exec_ext in '' $ac_executable_extensions; do
   14551   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14552     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   14553     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14554     break 2
   14555   fi
   14556 done
   14557   done
   14558 IFS=$as_save_IFS
   14559 
   14560 fi ;;
   14561 esac
   14562 fi
   14563 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   14564 if test -n "$ac_ct_MANIFEST_TOOL"; then
   14565   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   14566 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   14567 else
   14568   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14569 printf "%s\n" "no" >&6; }
   14570 fi
   14571 
   14572   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   14573     MANIFEST_TOOL=":"
   14574   else
   14575     case $cross_compiling:$ac_tool_warned in
   14576 yes:)
   14577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14578 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14579 ac_tool_warned=yes ;;
   14580 esac
   14581     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   14582   fi
   14583 else
   14584   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   14585 fi
   14586 
   14587 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   14588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   14589 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   14590 if test ${lt_cv_path_manifest_tool+y}
   14591 then :
   14592   printf %s "(cached) " >&6
   14593 else case e in #(
   14594   e) lt_cv_path_manifest_tool=no
   14595   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   14596   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   14597   cat conftest.err >&5
   14598   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   14599     lt_cv_path_manifest_tool=yes
   14600   fi
   14601   rm -f conftest* ;;
   14602 esac
   14603 fi
   14604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_manifest_tool" >&5
   14605 printf "%s\n" "$lt_cv_path_manifest_tool" >&6; }
   14606 if test yes != "$lt_cv_path_manifest_tool"; then
   14607   MANIFEST_TOOL=:
   14608 fi
   14609 
   14610 
   14611 
   14612 
   14613 
   14614 
   14615   case $host_os in
   14616     rhapsody* | darwin*)
   14617     if test -n "$ac_tool_prefix"; then
   14618   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   14619 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   14620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14621 printf %s "checking for $ac_word... " >&6; }
   14622 if test ${ac_cv_prog_DSYMUTIL+y}
   14623 then :
   14624   printf %s "(cached) " >&6
   14625 else case e in #(
   14626   e) if test -n "$DSYMUTIL"; then
   14627   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   14628 else
   14629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14630 for as_dir in $PATH
   14631 do
   14632   IFS=$as_save_IFS
   14633   case $as_dir in #(((
   14634     '') as_dir=./ ;;
   14635     */) ;;
   14636     *) as_dir=$as_dir/ ;;
   14637   esac
   14638     for ac_exec_ext in '' $ac_executable_extensions; do
   14639   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14640     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   14641     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14642     break 2
   14643   fi
   14644 done
   14645   done
   14646 IFS=$as_save_IFS
   14647 
   14648 fi ;;
   14649 esac
   14650 fi
   14651 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   14652 if test -n "$DSYMUTIL"; then
   14653   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   14654 printf "%s\n" "$DSYMUTIL" >&6; }
   14655 else
   14656   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14657 printf "%s\n" "no" >&6; }
   14658 fi
   14659 
   14660 
   14661 fi
   14662 if test -z "$ac_cv_prog_DSYMUTIL"; then
   14663   ac_ct_DSYMUTIL=$DSYMUTIL
   14664   # Extract the first word of "dsymutil", so it can be a program name with args.
   14665 set dummy dsymutil; ac_word=$2
   14666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14667 printf %s "checking for $ac_word... " >&6; }
   14668 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   14669 then :
   14670   printf %s "(cached) " >&6
   14671 else case e in #(
   14672   e) if test -n "$ac_ct_DSYMUTIL"; then
   14673   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   14674 else
   14675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14676 for as_dir in $PATH
   14677 do
   14678   IFS=$as_save_IFS
   14679   case $as_dir in #(((
   14680     '') as_dir=./ ;;
   14681     */) ;;
   14682     *) as_dir=$as_dir/ ;;
   14683   esac
   14684     for ac_exec_ext in '' $ac_executable_extensions; do
   14685   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14686     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   14687     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14688     break 2
   14689   fi
   14690 done
   14691   done
   14692 IFS=$as_save_IFS
   14693 
   14694 fi ;;
   14695 esac
   14696 fi
   14697 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   14698 if test -n "$ac_ct_DSYMUTIL"; then
   14699   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   14700 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   14701 else
   14702   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14703 printf "%s\n" "no" >&6; }
   14704 fi
   14705 
   14706   if test "x$ac_ct_DSYMUTIL" = x; then
   14707     DSYMUTIL=":"
   14708   else
   14709     case $cross_compiling:$ac_tool_warned in
   14710 yes:)
   14711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14712 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14713 ac_tool_warned=yes ;;
   14714 esac
   14715     DSYMUTIL=$ac_ct_DSYMUTIL
   14716   fi
   14717 else
   14718   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   14719 fi
   14720 
   14721     if test -n "$ac_tool_prefix"; then
   14722   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   14723 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   14724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14725 printf %s "checking for $ac_word... " >&6; }
   14726 if test ${ac_cv_prog_NMEDIT+y}
   14727 then :
   14728   printf %s "(cached) " >&6
   14729 else case e in #(
   14730   e) if test -n "$NMEDIT"; then
   14731   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   14732 else
   14733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14734 for as_dir in $PATH
   14735 do
   14736   IFS=$as_save_IFS
   14737   case $as_dir in #(((
   14738     '') as_dir=./ ;;
   14739     */) ;;
   14740     *) as_dir=$as_dir/ ;;
   14741   esac
   14742     for ac_exec_ext in '' $ac_executable_extensions; do
   14743   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14744     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   14745     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14746     break 2
   14747   fi
   14748 done
   14749   done
   14750 IFS=$as_save_IFS
   14751 
   14752 fi ;;
   14753 esac
   14754 fi
   14755 NMEDIT=$ac_cv_prog_NMEDIT
   14756 if test -n "$NMEDIT"; then
   14757   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   14758 printf "%s\n" "$NMEDIT" >&6; }
   14759 else
   14760   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14761 printf "%s\n" "no" >&6; }
   14762 fi
   14763 
   14764 
   14765 fi
   14766 if test -z "$ac_cv_prog_NMEDIT"; then
   14767   ac_ct_NMEDIT=$NMEDIT
   14768   # Extract the first word of "nmedit", so it can be a program name with args.
   14769 set dummy nmedit; ac_word=$2
   14770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14771 printf %s "checking for $ac_word... " >&6; }
   14772 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   14773 then :
   14774   printf %s "(cached) " >&6
   14775 else case e in #(
   14776   e) if test -n "$ac_ct_NMEDIT"; then
   14777   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   14778 else
   14779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14780 for as_dir in $PATH
   14781 do
   14782   IFS=$as_save_IFS
   14783   case $as_dir in #(((
   14784     '') as_dir=./ ;;
   14785     */) ;;
   14786     *) as_dir=$as_dir/ ;;
   14787   esac
   14788     for ac_exec_ext in '' $ac_executable_extensions; do
   14789   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14790     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   14791     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14792     break 2
   14793   fi
   14794 done
   14795   done
   14796 IFS=$as_save_IFS
   14797 
   14798 fi ;;
   14799 esac
   14800 fi
   14801 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   14802 if test -n "$ac_ct_NMEDIT"; then
   14803   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   14804 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   14805 else
   14806   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14807 printf "%s\n" "no" >&6; }
   14808 fi
   14809 
   14810   if test "x$ac_ct_NMEDIT" = x; then
   14811     NMEDIT=":"
   14812   else
   14813     case $cross_compiling:$ac_tool_warned in
   14814 yes:)
   14815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14816 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14817 ac_tool_warned=yes ;;
   14818 esac
   14819     NMEDIT=$ac_ct_NMEDIT
   14820   fi
   14821 else
   14822   NMEDIT="$ac_cv_prog_NMEDIT"
   14823 fi
   14824 
   14825     if test -n "$ac_tool_prefix"; then
   14826   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   14827 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   14828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14829 printf %s "checking for $ac_word... " >&6; }
   14830 if test ${ac_cv_prog_LIPO+y}
   14831 then :
   14832   printf %s "(cached) " >&6
   14833 else case e in #(
   14834   e) if test -n "$LIPO"; then
   14835   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   14836 else
   14837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14838 for as_dir in $PATH
   14839 do
   14840   IFS=$as_save_IFS
   14841   case $as_dir in #(((
   14842     '') as_dir=./ ;;
   14843     */) ;;
   14844     *) as_dir=$as_dir/ ;;
   14845   esac
   14846     for ac_exec_ext in '' $ac_executable_extensions; do
   14847   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14848     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   14849     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14850     break 2
   14851   fi
   14852 done
   14853   done
   14854 IFS=$as_save_IFS
   14855 
   14856 fi ;;
   14857 esac
   14858 fi
   14859 LIPO=$ac_cv_prog_LIPO
   14860 if test -n "$LIPO"; then
   14861   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   14862 printf "%s\n" "$LIPO" >&6; }
   14863 else
   14864   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14865 printf "%s\n" "no" >&6; }
   14866 fi
   14867 
   14868 
   14869 fi
   14870 if test -z "$ac_cv_prog_LIPO"; then
   14871   ac_ct_LIPO=$LIPO
   14872   # Extract the first word of "lipo", so it can be a program name with args.
   14873 set dummy lipo; ac_word=$2
   14874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14875 printf %s "checking for $ac_word... " >&6; }
   14876 if test ${ac_cv_prog_ac_ct_LIPO+y}
   14877 then :
   14878   printf %s "(cached) " >&6
   14879 else case e in #(
   14880   e) if test -n "$ac_ct_LIPO"; then
   14881   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   14882 else
   14883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14884 for as_dir in $PATH
   14885 do
   14886   IFS=$as_save_IFS
   14887   case $as_dir in #(((
   14888     '') as_dir=./ ;;
   14889     */) ;;
   14890     *) as_dir=$as_dir/ ;;
   14891   esac
   14892     for ac_exec_ext in '' $ac_executable_extensions; do
   14893   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14894     ac_cv_prog_ac_ct_LIPO="lipo"
   14895     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14896     break 2
   14897   fi
   14898 done
   14899   done
   14900 IFS=$as_save_IFS
   14901 
   14902 fi ;;
   14903 esac
   14904 fi
   14905 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   14906 if test -n "$ac_ct_LIPO"; then
   14907   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   14908 printf "%s\n" "$ac_ct_LIPO" >&6; }
   14909 else
   14910   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14911 printf "%s\n" "no" >&6; }
   14912 fi
   14913 
   14914   if test "x$ac_ct_LIPO" = x; then
   14915     LIPO=":"
   14916   else
   14917     case $cross_compiling:$ac_tool_warned in
   14918 yes:)
   14919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14920 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14921 ac_tool_warned=yes ;;
   14922 esac
   14923     LIPO=$ac_ct_LIPO
   14924   fi
   14925 else
   14926   LIPO="$ac_cv_prog_LIPO"
   14927 fi
   14928 
   14929     if test -n "$ac_tool_prefix"; then
   14930   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   14931 set dummy ${ac_tool_prefix}otool; ac_word=$2
   14932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14933 printf %s "checking for $ac_word... " >&6; }
   14934 if test ${ac_cv_prog_OTOOL+y}
   14935 then :
   14936   printf %s "(cached) " >&6
   14937 else case e in #(
   14938   e) if test -n "$OTOOL"; then
   14939   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   14940 else
   14941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14942 for as_dir in $PATH
   14943 do
   14944   IFS=$as_save_IFS
   14945   case $as_dir in #(((
   14946     '') as_dir=./ ;;
   14947     */) ;;
   14948     *) as_dir=$as_dir/ ;;
   14949   esac
   14950     for ac_exec_ext in '' $ac_executable_extensions; do
   14951   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14952     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   14953     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14954     break 2
   14955   fi
   14956 done
   14957   done
   14958 IFS=$as_save_IFS
   14959 
   14960 fi ;;
   14961 esac
   14962 fi
   14963 OTOOL=$ac_cv_prog_OTOOL
   14964 if test -n "$OTOOL"; then
   14965   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   14966 printf "%s\n" "$OTOOL" >&6; }
   14967 else
   14968   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14969 printf "%s\n" "no" >&6; }
   14970 fi
   14971 
   14972 
   14973 fi
   14974 if test -z "$ac_cv_prog_OTOOL"; then
   14975   ac_ct_OTOOL=$OTOOL
   14976   # Extract the first word of "otool", so it can be a program name with args.
   14977 set dummy otool; ac_word=$2
   14978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14979 printf %s "checking for $ac_word... " >&6; }
   14980 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   14981 then :
   14982   printf %s "(cached) " >&6
   14983 else case e in #(
   14984   e) if test -n "$ac_ct_OTOOL"; then
   14985   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   14986 else
   14987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14988 for as_dir in $PATH
   14989 do
   14990   IFS=$as_save_IFS
   14991   case $as_dir in #(((
   14992     '') as_dir=./ ;;
   14993     */) ;;
   14994     *) as_dir=$as_dir/ ;;
   14995   esac
   14996     for ac_exec_ext in '' $ac_executable_extensions; do
   14997   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14998     ac_cv_prog_ac_ct_OTOOL="otool"
   14999     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   15000     break 2
   15001   fi
   15002 done
   15003   done
   15004 IFS=$as_save_IFS
   15005 
   15006 fi ;;
   15007 esac
   15008 fi
   15009 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   15010 if test -n "$ac_ct_OTOOL"; then
   15011   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   15012 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   15013 else
   15014   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15015 printf "%s\n" "no" >&6; }
   15016 fi
   15017 
   15018   if test "x$ac_ct_OTOOL" = x; then
   15019     OTOOL=":"
   15020   else
   15021     case $cross_compiling:$ac_tool_warned in
   15022 yes:)
   15023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   15024 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   15025 ac_tool_warned=yes ;;
   15026 esac
   15027     OTOOL=$ac_ct_OTOOL
   15028   fi
   15029 else
   15030   OTOOL="$ac_cv_prog_OTOOL"
   15031 fi
   15032 
   15033     if test -n "$ac_tool_prefix"; then
   15034   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   15035 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   15036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15037 printf %s "checking for $ac_word... " >&6; }
   15038 if test ${ac_cv_prog_OTOOL64+y}
   15039 then :
   15040   printf %s "(cached) " >&6
   15041 else case e in #(
   15042   e) if test -n "$OTOOL64"; then
   15043   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   15044 else
   15045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15046 for as_dir in $PATH
   15047 do
   15048   IFS=$as_save_IFS
   15049   case $as_dir in #(((
   15050     '') as_dir=./ ;;
   15051     */) ;;
   15052     *) as_dir=$as_dir/ ;;
   15053   esac
   15054     for ac_exec_ext in '' $ac_executable_extensions; do
   15055   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   15056     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   15057     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   15058     break 2
   15059   fi
   15060 done
   15061   done
   15062 IFS=$as_save_IFS
   15063 
   15064 fi ;;
   15065 esac
   15066 fi
   15067 OTOOL64=$ac_cv_prog_OTOOL64
   15068 if test -n "$OTOOL64"; then
   15069   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   15070 printf "%s\n" "$OTOOL64" >&6; }
   15071 else
   15072   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15073 printf "%s\n" "no" >&6; }
   15074 fi
   15075 
   15076 
   15077 fi
   15078 if test -z "$ac_cv_prog_OTOOL64"; then
   15079   ac_ct_OTOOL64=$OTOOL64
   15080   # Extract the first word of "otool64", so it can be a program name with args.
   15081 set dummy otool64; ac_word=$2
   15082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15083 printf %s "checking for $ac_word... " >&6; }
   15084 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   15085 then :
   15086   printf %s "(cached) " >&6
   15087 else case e in #(
   15088   e) if test -n "$ac_ct_OTOOL64"; then
   15089   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   15090 else
   15091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15092 for as_dir in $PATH
   15093 do
   15094   IFS=$as_save_IFS
   15095   case $as_dir in #(((
   15096     '') as_dir=./ ;;
   15097     */) ;;
   15098     *) as_dir=$as_dir/ ;;
   15099   esac
   15100     for ac_exec_ext in '' $ac_executable_extensions; do
   15101   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   15102     ac_cv_prog_ac_ct_OTOOL64="otool64"
   15103     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   15104     break 2
   15105   fi
   15106 done
   15107   done
   15108 IFS=$as_save_IFS
   15109 
   15110 fi ;;
   15111 esac
   15112 fi
   15113 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   15114 if test -n "$ac_ct_OTOOL64"; then
   15115   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   15116 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   15117 else
   15118   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15119 printf "%s\n" "no" >&6; }
   15120 fi
   15121 
   15122   if test "x$ac_ct_OTOOL64" = x; then
   15123     OTOOL64=":"
   15124   else
   15125     case $cross_compiling:$ac_tool_warned in
   15126 yes:)
   15127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   15128 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   15129 ac_tool_warned=yes ;;
   15130 esac
   15131     OTOOL64=$ac_ct_OTOOL64
   15132   fi
   15133 else
   15134   OTOOL64="$ac_cv_prog_OTOOL64"
   15135 fi
   15136 
   15137 
   15138 
   15139 
   15140 
   15141 
   15142 
   15143 
   15144 
   15145 
   15146 
   15147 
   15148 
   15149 
   15150 
   15151 
   15152 
   15153 
   15154 
   15155 
   15156 
   15157 
   15158 
   15159 
   15160 
   15161 
   15162 
   15163     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   15164 printf %s "checking for -single_module linker flag... " >&6; }
   15165 if test ${lt_cv_apple_cc_single_mod+y}
   15166 then :
   15167   printf %s "(cached) " >&6
   15168 else case e in #(
   15169   e) lt_cv_apple_cc_single_mod=no
   15170       if test -z "$LT_MULTI_MODULE"; then
   15171 	# By default we will add the -single_module flag. You can override
   15172 	# by either setting the environment variable LT_MULTI_MODULE
   15173 	# non-empty at configure time, or by adding -multi_module to the
   15174 	# link flags.
   15175 	rm -rf libconftest.dylib*
   15176 	echo "int foo(void){return 1;}" > conftest.c
   15177 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   15178 -dynamiclib -Wl,-single_module conftest.c" >&5
   15179 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   15180 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   15181         _lt_result=$?
   15182 	# If there is a non-empty error log, and "single_module"
   15183 	# appears in it, assume the flag caused a linker warning
   15184         if test -s conftest.err && $GREP single_module conftest.err; then
   15185 	  cat conftest.err >&5
   15186 	# Otherwise, if the output was created with a 0 exit code from
   15187 	# the compiler, it worked.
   15188 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   15189 	  lt_cv_apple_cc_single_mod=yes
   15190 	else
   15191 	  cat conftest.err >&5
   15192 	fi
   15193 	rm -rf libconftest.dylib*
   15194 	rm -f conftest.*
   15195       fi ;;
   15196 esac
   15197 fi
   15198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   15199 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   15200 
   15201     # Feature test to disable chained fixups since it is not
   15202     # compatible with '-undefined dynamic_lookup'
   15203     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -no_fixup_chains linker flag" >&5
   15204 printf %s "checking for -no_fixup_chains linker flag... " >&6; }
   15205 if test ${lt_cv_support_no_fixup_chains+y}
   15206 then :
   15207   printf %s "(cached) " >&6
   15208 else case e in #(
   15209   e)  save_LDFLAGS=$LDFLAGS
   15210         LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains"
   15211         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15212 /* end confdefs.h.  */
   15213 
   15214 int
   15215 main (void)
   15216 {
   15217 
   15218   ;
   15219   return 0;
   15220 }
   15221 _ACEOF
   15222 if ac_fn_c_try_link "$LINENO"
   15223 then :
   15224   lt_cv_support_no_fixup_chains=yes
   15225 else case e in #(
   15226   e) lt_cv_support_no_fixup_chains=no
   15227          ;;
   15228 esac
   15229 fi
   15230 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15231     conftest$ac_exeext conftest.$ac_ext
   15232         LDFLAGS=$save_LDFLAGS
   15233 
   15234      ;;
   15235 esac
   15236 fi
   15237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_support_no_fixup_chains" >&5
   15238 printf "%s\n" "$lt_cv_support_no_fixup_chains" >&6; }
   15239 
   15240     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   15241 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   15242 if test ${lt_cv_ld_exported_symbols_list+y}
   15243 then :
   15244   printf %s "(cached) " >&6
   15245 else case e in #(
   15246   e) lt_cv_ld_exported_symbols_list=no
   15247       save_LDFLAGS=$LDFLAGS
   15248       echo "_main" > conftest.sym
   15249       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   15250       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15251 /* end confdefs.h.  */
   15252 
   15253 int
   15254 main (void)
   15255 {
   15256 
   15257   ;
   15258   return 0;
   15259 }
   15260 _ACEOF
   15261 if ac_fn_c_try_link "$LINENO"
   15262 then :
   15263   lt_cv_ld_exported_symbols_list=yes
   15264 else case e in #(
   15265   e) lt_cv_ld_exported_symbols_list=no ;;
   15266 esac
   15267 fi
   15268 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15269     conftest$ac_exeext conftest.$ac_ext
   15270 	LDFLAGS=$save_LDFLAGS
   15271      ;;
   15272 esac
   15273 fi
   15274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   15275 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   15276 
   15277     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   15278 printf %s "checking for -force_load linker flag... " >&6; }
   15279 if test ${lt_cv_ld_force_load+y}
   15280 then :
   15281   printf %s "(cached) " >&6
   15282 else case e in #(
   15283   e) lt_cv_ld_force_load=no
   15284       cat > conftest.c << _LT_EOF
   15285 int forced_loaded() { return 2;}
   15286 _LT_EOF
   15287       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   15288       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   15289       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   15290       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   15291       echo "$RANLIB libconftest.a" >&5
   15292       $RANLIB libconftest.a 2>&5
   15293       cat > conftest.c << _LT_EOF
   15294 int main(void) { return 0;}
   15295 _LT_EOF
   15296       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   15297       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   15298       _lt_result=$?
   15299       if test -s conftest.err && $GREP force_load conftest.err; then
   15300 	cat conftest.err >&5
   15301       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   15302 	lt_cv_ld_force_load=yes
   15303       else
   15304 	cat conftest.err >&5
   15305       fi
   15306         rm -f conftest.err libconftest.a conftest conftest.c
   15307         rm -rf conftest.dSYM
   15308      ;;
   15309 esac
   15310 fi
   15311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   15312 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   15313     case $host_os in
   15314     rhapsody* | darwin1.[012])
   15315       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   15316     darwin1.*)
   15317       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   15318     darwin*)
   15319       case $MACOSX_DEPLOYMENT_TARGET,$host in
   15320         10.[012],*|,*powerpc*-darwin[5-8]*)
   15321           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   15322         *)
   15323           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup'
   15324           if test yes = "$lt_cv_support_no_fixup_chains"; then
   15325             as_fn_append _lt_dar_allow_undefined ' $wl-no_fixup_chains'
   15326           fi
   15327         ;;
   15328       esac
   15329     ;;
   15330   esac
   15331     if test yes = "$lt_cv_apple_cc_single_mod"; then
   15332       _lt_dar_single_mod='$single_module'
   15333     fi
   15334     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   15335       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   15336     else
   15337       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   15338     fi
   15339     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   15340       _lt_dsymutil='~$DSYMUTIL $lib || :'
   15341     else
   15342       _lt_dsymutil=
   15343     fi
   15344     ;;
   15345   esac
   15346 
   15347 # func_munge_path_list VARIABLE PATH
   15348 # -----------------------------------
   15349 # VARIABLE is name of variable containing _space_ separated list of
   15350 # directories to be munged by the contents of PATH, which is string
   15351 # having a format:
   15352 # "DIR[:DIR]:"
   15353 #       string "DIR[ DIR]" will be prepended to VARIABLE
   15354 # ":DIR[:DIR]"
   15355 #       string "DIR[ DIR]" will be appended to VARIABLE
   15356 # "DIRP[:DIRP]::[DIRA:]DIRA"
   15357 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   15358 #       "DIRA[ DIRA]" will be appended to VARIABLE
   15359 # "DIR[:DIR]"
   15360 #       VARIABLE will be replaced by "DIR[ DIR]"
   15361 func_munge_path_list ()
   15362 {
   15363     case x$2 in
   15364     x)
   15365         ;;
   15366     *:)
   15367         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   15368         ;;
   15369     x:*)
   15370         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   15371         ;;
   15372     *::*)
   15373         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   15374         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   15375         ;;
   15376     *)
   15377         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   15378         ;;
   15379     esac
   15380 }
   15381 
   15382 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   15383 "
   15384 if test "x$ac_cv_header_dlfcn_h" = xyes
   15385 then :
   15386   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   15387 
   15388 fi
   15389 
   15390 
   15391 
   15392 
   15393 
   15394 # Set options
   15395 # Check whether --enable-static was given.
   15396 if test ${enable_static+y}
   15397 then :
   15398   enableval=$enable_static; p=${PACKAGE-default}
   15399     case $enableval in
   15400     yes) enable_static=yes ;;
   15401     no) enable_static=no ;;
   15402     *)
   15403      enable_static=no
   15404       # Look at the argument we got.  We use all the common list separators.
   15405       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15406       for pkg in $enableval; do
   15407 	IFS=$lt_save_ifs
   15408 	if test "X$pkg" = "X$p"; then
   15409 	  enable_static=yes
   15410 	fi
   15411       done
   15412       IFS=$lt_save_ifs
   15413       ;;
   15414     esac
   15415 else case e in #(
   15416   e) enable_static=no ;;
   15417 esac
   15418 fi
   15419 
   15420 
   15421 
   15422 
   15423 
   15424 
   15425 
   15426 
   15427 
   15428 
   15429         enable_dlopen=no
   15430 
   15431 
   15432   enable_win32_dll=no
   15433 
   15434 
   15435             # Check whether --enable-shared was given.
   15436 if test ${enable_shared+y}
   15437 then :
   15438   enableval=$enable_shared; p=${PACKAGE-default}
   15439     case $enableval in
   15440     yes) enable_shared=yes ;;
   15441     no) enable_shared=no ;;
   15442     *)
   15443       enable_shared=no
   15444       # Look at the argument we got.  We use all the common list separators.
   15445       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15446       for pkg in $enableval; do
   15447 	IFS=$lt_save_ifs
   15448 	if test "X$pkg" = "X$p"; then
   15449 	  enable_shared=yes
   15450 	fi
   15451       done
   15452       IFS=$lt_save_ifs
   15453       ;;
   15454     esac
   15455 else case e in #(
   15456   e) enable_shared=yes ;;
   15457 esac
   15458 fi
   15459 
   15460 
   15461 
   15462 
   15463 
   15464 
   15465 
   15466 
   15467 
   15468 
   15469   # Check whether --enable-pic was given.
   15470 if test ${enable_pic+y}
   15471 then :
   15472   enableval=$enable_pic; lt_p=${PACKAGE-default}
   15473      case $enableval in
   15474      yes|no) pic_mode=$enableval ;;
   15475      *)
   15476        pic_mode=default
   15477        # Look at the argument we got.  We use all the common list separators.
   15478        lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15479        for lt_pkg in $enableval; do
   15480 	 IFS=$lt_save_ifs
   15481 	 if test "X$lt_pkg" = "X$lt_p"; then
   15482 	   pic_mode=yes
   15483 	 fi
   15484        done
   15485        IFS=$lt_save_ifs
   15486        ;;
   15487      esac
   15488 else case e in #(
   15489   e)           # Check whether --with-pic was given.
   15490 if test ${with_pic+y}
   15491 then :
   15492   withval=$with_pic; lt_p=${PACKAGE-default}
   15493 	 case $withval in
   15494 	 yes|no) pic_mode=$withval ;;
   15495 	 *)
   15496 	   pic_mode=default
   15497 	   # Look at the argument we got.  We use all the common list separators.
   15498 	   lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15499 	   for lt_pkg in $withval; do
   15500 	     IFS=$lt_save_ifs
   15501 	     if test "X$lt_pkg" = "X$lt_p"; then
   15502 	       pic_mode=yes
   15503 	     fi
   15504 	   done
   15505 	   IFS=$lt_save_ifs
   15506 	   ;;
   15507 	 esac
   15508 else case e in #(
   15509   e) pic_mode=default ;;
   15510 esac
   15511 fi
   15512 
   15513      ;;
   15514 esac
   15515 fi
   15516 
   15517 
   15518 
   15519 
   15520 
   15521 
   15522 
   15523 
   15524   # Check whether --enable-fast-install was given.
   15525 if test ${enable_fast_install+y}
   15526 then :
   15527   enableval=$enable_fast_install; p=${PACKAGE-default}
   15528     case $enableval in
   15529     yes) enable_fast_install=yes ;;
   15530     no) enable_fast_install=no ;;
   15531     *)
   15532       enable_fast_install=no
   15533       # Look at the argument we got.  We use all the common list separators.
   15534       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15535       for pkg in $enableval; do
   15536 	IFS=$lt_save_ifs
   15537 	if test "X$pkg" = "X$p"; then
   15538 	  enable_fast_install=yes
   15539 	fi
   15540       done
   15541       IFS=$lt_save_ifs
   15542       ;;
   15543     esac
   15544 else case e in #(
   15545   e) enable_fast_install=yes ;;
   15546 esac
   15547 fi
   15548 
   15549 
   15550 
   15551 
   15552 
   15553 
   15554 
   15555 
   15556   shared_archive_member_spec=
   15557 case $host,$enable_shared in
   15558 power*-*-aix[5-9]*,yes)
   15559   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   15560 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   15561   # Check whether --enable-aix-soname was given.
   15562 if test ${enable_aix_soname+y}
   15563 then :
   15564   enableval=$enable_aix_soname; case $enableval in
   15565      aix|svr4|both)
   15566        ;;
   15567      *)
   15568        as_fn_error $? "Unknown argument to --enable-aix-soname" "$LINENO" 5
   15569        ;;
   15570      esac
   15571      lt_cv_with_aix_soname=$enable_aix_soname
   15572 else case e in #(
   15573   e) # Check whether --with-aix-soname was given.
   15574 if test ${with_aix_soname+y}
   15575 then :
   15576   withval=$with_aix_soname; case $withval in
   15577          aix|svr4|both)
   15578            ;;
   15579          *)
   15580            as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   15581            ;;
   15582          esac
   15583          lt_cv_with_aix_soname=$with_aix_soname
   15584 else case e in #(
   15585   e) if test ${lt_cv_with_aix_soname+y}
   15586 then :
   15587   printf %s "(cached) " >&6
   15588 else case e in #(
   15589   e) lt_cv_with_aix_soname=aix ;;
   15590 esac
   15591 fi
   15592  ;;
   15593 esac
   15594 fi
   15595 
   15596      enable_aix_soname=$lt_cv_with_aix_soname ;;
   15597 esac
   15598 fi
   15599 
   15600   with_aix_soname=$enable_aix_soname
   15601   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   15602 printf "%s\n" "$with_aix_soname" >&6; }
   15603   if test aix != "$with_aix_soname"; then
   15604     # For the AIX way of multilib, we name the shared archive member
   15605     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   15606     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   15607     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   15608     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   15609     if test 64 = "${OBJECT_MODE-32}"; then
   15610       shared_archive_member_spec=shr_64
   15611     else
   15612       shared_archive_member_spec=shr
   15613     fi
   15614   fi
   15615   ;;
   15616 *)
   15617   with_aix_soname=aix
   15618   ;;
   15619 esac
   15620 
   15621 
   15622 
   15623 
   15624 
   15625 
   15626 
   15627 
   15628 
   15629 
   15630 # This can be used to rebuild libtool when needed
   15631 LIBTOOL_DEPS=$ltmain
   15632 
   15633 # Always use our own libtool.
   15634 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   15635 
   15636 
   15637 
   15638 
   15639 
   15640 
   15641 
   15642 
   15643 
   15644 
   15645 
   15646 
   15647 
   15648 
   15649 
   15650 
   15651 
   15652 
   15653 
   15654 
   15655 
   15656 
   15657 
   15658 
   15659 
   15660 
   15661 
   15662 
   15663 
   15664 
   15665 test -z "$LN_S" && LN_S="ln -s"
   15666 
   15667 
   15668 
   15669 
   15670 
   15671 
   15672 
   15673 
   15674 
   15675 
   15676 
   15677 
   15678 
   15679 
   15680 if test -n "${ZSH_VERSION+set}"; then
   15681    setopt NO_GLOB_SUBST
   15682 fi
   15683 
   15684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   15685 printf %s "checking for objdir... " >&6; }
   15686 if test ${lt_cv_objdir+y}
   15687 then :
   15688   printf %s "(cached) " >&6
   15689 else case e in #(
   15690   e) rm -f .libs 2>/dev/null
   15691 mkdir .libs 2>/dev/null
   15692 if test -d .libs; then
   15693   lt_cv_objdir=.libs
   15694 else
   15695   # MS-DOS does not allow filenames that begin with a dot.
   15696   lt_cv_objdir=_libs
   15697 fi
   15698 rmdir .libs 2>/dev/null ;;
   15699 esac
   15700 fi
   15701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   15702 printf "%s\n" "$lt_cv_objdir" >&6; }
   15703 objdir=$lt_cv_objdir
   15704 
   15705 
   15706 
   15707 
   15708 
   15709 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   15710 
   15711 
   15712 
   15713 
   15714 case $host_os in
   15715 aix3*)
   15716   # AIX sometimes has problems with the GCC collect2 program.  For some
   15717   # reason, if we set the COLLECT_NAMES environment variable, the problems
   15718   # vanish in a puff of smoke.
   15719   if test set != "${COLLECT_NAMES+set}"; then
   15720     COLLECT_NAMES=
   15721     export COLLECT_NAMES
   15722   fi
   15723   ;;
   15724 esac
   15725 
   15726 # Global variables:
   15727 ofile=libtool
   15728 can_build_shared=yes
   15729 
   15730 # All known linkers require a '.a' archive for static linking (except MSVC and
   15731 # ICC, which need '.lib').
   15732 libext=a
   15733 
   15734 with_gnu_ld=$lt_cv_prog_gnu_ld
   15735 
   15736 old_CC=$CC
   15737 old_CFLAGS=$CFLAGS
   15738 
   15739 # Set sane defaults for various variables
   15740 test -z "$CC" && CC=cc
   15741 test -z "$LTCC" && LTCC=$CC
   15742 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   15743 test -z "$LD" && LD=ld
   15744 test -z "$ac_objext" && ac_objext=o
   15745 
   15746 func_cc_basename $compiler
   15747 cc_basename=$func_cc_basename_result
   15748 
   15749 
   15750 # Only perform the check for file, if the check method requires it
   15751 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   15752 case $deplibs_check_method in
   15753 file_magic*)
   15754   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   15755     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   15756 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   15757 if test ${lt_cv_path_MAGIC_CMD+y}
   15758 then :
   15759   printf %s "(cached) " >&6
   15760 else case e in #(
   15761   e) case $MAGIC_CMD in
   15762 [\\/*] |  ?:[\\/]*)
   15763   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   15764   ;;
   15765 *)
   15766   lt_save_MAGIC_CMD=$MAGIC_CMD
   15767   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   15768   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   15769   for ac_dir in $ac_dummy; do
   15770     IFS=$lt_save_ifs
   15771     test -z "$ac_dir" && ac_dir=.
   15772     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   15773       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   15774       if test -n "$file_magic_test_file"; then
   15775 	case $deplibs_check_method in
   15776 	"file_magic "*)
   15777 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   15778 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15779 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   15780 	    $EGREP "$file_magic_regex" > /dev/null; then
   15781 	    :
   15782 	  else
   15783 	    cat <<_LT_EOF 1>&2
   15784 
   15785 *** Warning: the command libtool uses to detect shared libraries,
   15786 *** $file_magic_cmd, produces output that libtool cannot recognize.
   15787 *** The result is that libtool may fail to recognize shared libraries
   15788 *** as such.  This will affect the creation of libtool libraries that
   15789 *** depend on shared libraries, but programs linked with such libtool
   15790 *** libraries will work regardless of this problem.  Nevertheless, you
   15791 *** may want to report the problem to your system manager and/or to
   15792 *** bug-libtool@gnu.org
   15793 
   15794 _LT_EOF
   15795 	  fi ;;
   15796 	esac
   15797       fi
   15798       break
   15799     fi
   15800   done
   15801   IFS=$lt_save_ifs
   15802   MAGIC_CMD=$lt_save_MAGIC_CMD
   15803   ;;
   15804 esac ;;
   15805 esac
   15806 fi
   15807 
   15808 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15809 if test -n "$MAGIC_CMD"; then
   15810   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   15811 printf "%s\n" "$MAGIC_CMD" >&6; }
   15812 else
   15813   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15814 printf "%s\n" "no" >&6; }
   15815 fi
   15816 
   15817 
   15818 
   15819 
   15820 
   15821 if test -z "$lt_cv_path_MAGIC_CMD"; then
   15822   if test -n "$ac_tool_prefix"; then
   15823     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   15824 printf %s "checking for file... " >&6; }
   15825 if test ${lt_cv_path_MAGIC_CMD+y}
   15826 then :
   15827   printf %s "(cached) " >&6
   15828 else case e in #(
   15829   e) case $MAGIC_CMD in
   15830 [\\/*] |  ?:[\\/]*)
   15831   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   15832   ;;
   15833 *)
   15834   lt_save_MAGIC_CMD=$MAGIC_CMD
   15835   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   15836   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   15837   for ac_dir in $ac_dummy; do
   15838     IFS=$lt_save_ifs
   15839     test -z "$ac_dir" && ac_dir=.
   15840     if test -f "$ac_dir/file"; then
   15841       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   15842       if test -n "$file_magic_test_file"; then
   15843 	case $deplibs_check_method in
   15844 	"file_magic "*)
   15845 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   15846 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15847 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   15848 	    $EGREP "$file_magic_regex" > /dev/null; then
   15849 	    :
   15850 	  else
   15851 	    cat <<_LT_EOF 1>&2
   15852 
   15853 *** Warning: the command libtool uses to detect shared libraries,
   15854 *** $file_magic_cmd, produces output that libtool cannot recognize.
   15855 *** The result is that libtool may fail to recognize shared libraries
   15856 *** as such.  This will affect the creation of libtool libraries that
   15857 *** depend on shared libraries, but programs linked with such libtool
   15858 *** libraries will work regardless of this problem.  Nevertheless, you
   15859 *** may want to report the problem to your system manager and/or to
   15860 *** bug-libtool@gnu.org
   15861 
   15862 _LT_EOF
   15863 	  fi ;;
   15864 	esac
   15865       fi
   15866       break
   15867     fi
   15868   done
   15869   IFS=$lt_save_ifs
   15870   MAGIC_CMD=$lt_save_MAGIC_CMD
   15871   ;;
   15872 esac ;;
   15873 esac
   15874 fi
   15875 
   15876 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15877 if test -n "$MAGIC_CMD"; then
   15878   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   15879 printf "%s\n" "$MAGIC_CMD" >&6; }
   15880 else
   15881   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15882 printf "%s\n" "no" >&6; }
   15883 fi
   15884 
   15885 
   15886   else
   15887     MAGIC_CMD=:
   15888   fi
   15889 fi
   15890 
   15891   fi
   15892   ;;
   15893 esac
   15894 
   15895 # Use C for the default configuration in the libtool script
   15896 
   15897 lt_save_CC=$CC
   15898 ac_ext=c
   15899 ac_cpp='$CPP $CPPFLAGS'
   15900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15903 
   15904 
   15905 # Source file extension for C test sources.
   15906 ac_ext=c
   15907 
   15908 # Object file extension for compiled C test sources.
   15909 objext=o
   15910 objext=$objext
   15911 
   15912 # Code to be used in simple compile tests
   15913 lt_simple_compile_test_code="int some_variable = 0;"
   15914 
   15915 # Code to be used in simple link tests
   15916 lt_simple_link_test_code='int main(void){return(0);}'
   15917 
   15918 
   15919 
   15920 
   15921 
   15922 
   15923 
   15924 # If no C compiler was specified, use CC.
   15925 LTCC=${LTCC-"$CC"}
   15926 
   15927 # If no C compiler flags were specified, use CFLAGS.
   15928 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   15929 
   15930 # Allow CC to be a program name with arguments.
   15931 compiler=$CC
   15932 
   15933 # Save the default compiler, since it gets overwritten when the other
   15934 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   15935 compiler_DEFAULT=$CC
   15936 
   15937 # save warnings/boilerplate of simple test code
   15938 ac_outfile=conftest.$ac_objext
   15939 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   15940 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   15941 _lt_compiler_boilerplate=`cat conftest.err`
   15942 $RM conftest*
   15943 
   15944 ac_outfile=conftest.$ac_objext
   15945 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   15946 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   15947 _lt_linker_boilerplate=`cat conftest.err`
   15948 $RM -r conftest*
   15949 
   15950 
   15951 if test -n "$compiler"; then
   15952 
   15953 lt_prog_compiler_no_builtin_flag=
   15954 
   15955 if test yes = "$GCC"; then
   15956   case $cc_basename in
   15957   nvcc*)
   15958     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   15959   *)
   15960     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   15961   esac
   15962 
   15963   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   15964 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   15965 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   15966 then :
   15967   printf %s "(cached) " >&6
   15968 else case e in #(
   15969   e) lt_cv_prog_compiler_rtti_exceptions=no
   15970    ac_outfile=conftest.$ac_objext
   15971    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15972    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   15973    # Insert the option either (1) after the last *FLAGS variable, or
   15974    # (2) before a word containing "conftest.", or (3) at the end.
   15975    # Note that $ac_compile itself does not contain backslashes and begins
   15976    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15977    # The option is referenced via a variable to avoid confusing sed.
   15978    lt_compile=`echo "$ac_compile" | $SED \
   15979    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15980    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15981    -e 's:$: $lt_compiler_flag:'`
   15982    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15983    (eval "$lt_compile" 2>conftest.err)
   15984    ac_status=$?
   15985    cat conftest.err >&5
   15986    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15987    if (exit $ac_status) && test -s "$ac_outfile"; then
   15988      # The compiler can only warn and ignore the option if not recognized
   15989      # So say no if there are warnings other than the usual output.
   15990      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   15991      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15992      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   15993        lt_cv_prog_compiler_rtti_exceptions=yes
   15994      fi
   15995    fi
   15996    $RM conftest*
   15997  ;;
   15998 esac
   15999 fi
   16000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   16001 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   16002 
   16003 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   16004     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   16005 else
   16006     :
   16007 fi
   16008 
   16009 fi
   16010 
   16011 
   16012 
   16013 
   16014 
   16015 
   16016   lt_prog_compiler_wl=
   16017 lt_prog_compiler_pic=
   16018 lt_prog_compiler_static=
   16019 
   16020 
   16021   if test yes = "$GCC"; then
   16022     lt_prog_compiler_wl='-Wl,'
   16023     lt_prog_compiler_static='-static'
   16024 
   16025     case $host_os in
   16026       aix*)
   16027       # All AIX code is PIC.
   16028       if test ia64 = "$host_cpu"; then
   16029 	# AIX 5 now supports IA64 processor
   16030 	lt_prog_compiler_static='-Bstatic'
   16031       fi
   16032       lt_prog_compiler_pic='-fPIC'
   16033       ;;
   16034 
   16035     amigaos*)
   16036       case $host_cpu in
   16037       powerpc)
   16038             # see comment about AmigaOS4 .so support
   16039             lt_prog_compiler_pic='-fPIC'
   16040         ;;
   16041       m68k)
   16042             # FIXME: we need at least 68020 code to build shared libraries, but
   16043             # adding the '-m68020' flag to GCC prevents building anything better,
   16044             # like '-m68040'.
   16045             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   16046         ;;
   16047       esac
   16048       ;;
   16049 
   16050     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   16051       # PIC is the default for these OSes.
   16052       ;;
   16053 
   16054     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   16055       # This hack is so that the source file can tell whether it is being
   16056       # built for inclusion in a dll (and should export symbols for example).
   16057       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   16058       # (--disable-auto-import) libraries
   16059       lt_prog_compiler_pic='-DDLL_EXPORT'
   16060       case $host_os in
   16061       os2*)
   16062 	lt_prog_compiler_static='$wl-static'
   16063 	;;
   16064       esac
   16065       ;;
   16066 
   16067     darwin* | rhapsody*)
   16068       # PIC is the default on this platform
   16069       # Common symbols not allowed in MH_DYLIB files
   16070       lt_prog_compiler_pic='-fno-common'
   16071       ;;
   16072 
   16073     haiku*)
   16074       # PIC is the default for Haiku.
   16075       # The "-static" flag exists, but is broken.
   16076       lt_prog_compiler_static=
   16077       ;;
   16078 
   16079     hpux*)
   16080       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   16081       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   16082       # sets the default TLS model and affects inlining.
   16083       case $host_cpu in
   16084       hppa*64*)
   16085 	# +Z the default
   16086 	;;
   16087       *)
   16088 	lt_prog_compiler_pic='-fPIC'
   16089 	;;
   16090       esac
   16091       ;;
   16092 
   16093     interix[3-9]*)
   16094       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   16095       # Instead, we relocate shared libraries at runtime.
   16096       ;;
   16097 
   16098     msdosdjgpp*)
   16099       # Just because we use GCC doesn't mean we suddenly get shared libraries
   16100       # on systems that don't support them.
   16101       lt_prog_compiler_can_build_shared=no
   16102       enable_shared=no
   16103       ;;
   16104 
   16105     *nto* | *qnx*)
   16106       # QNX uses GNU C++, but need to define -shared option too, otherwise
   16107       # it will coredump.
   16108       lt_prog_compiler_pic='-fPIC -shared'
   16109       ;;
   16110 
   16111     sysv4*MP*)
   16112       if test -d /usr/nec; then
   16113 	lt_prog_compiler_pic=-Kconform_pic
   16114       fi
   16115       ;;
   16116 
   16117     *)
   16118       lt_prog_compiler_pic='-fPIC'
   16119       ;;
   16120     esac
   16121 
   16122     case $cc_basename in
   16123     nvcc*) # Cuda Compiler Driver 2.2
   16124       lt_prog_compiler_wl='-Xlinker '
   16125       if test -n "$lt_prog_compiler_pic"; then
   16126         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   16127       fi
   16128       ;;
   16129     esac
   16130   else
   16131     # PORTME Check for flag to pass linker flags through the system compiler.
   16132     case $host_os in
   16133     aix*)
   16134       lt_prog_compiler_wl='-Wl,'
   16135       if test ia64 = "$host_cpu"; then
   16136 	# AIX 5 now supports IA64 processor
   16137 	lt_prog_compiler_static='-Bstatic'
   16138       else
   16139 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   16140       fi
   16141       ;;
   16142 
   16143     darwin* | rhapsody*)
   16144       # PIC is the default on this platform
   16145       # Common symbols not allowed in MH_DYLIB files
   16146       lt_prog_compiler_pic='-fno-common'
   16147       case $cc_basename in
   16148       nagfor*)
   16149         # NAG Fortran compiler
   16150         lt_prog_compiler_wl='-Wl,-Wl,,'
   16151         lt_prog_compiler_pic='-PIC'
   16152         lt_prog_compiler_static='-Bstatic'
   16153         ;;
   16154       esac
   16155       ;;
   16156 
   16157     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   16158       # This hack is so that the source file can tell whether it is being
   16159       # built for inclusion in a dll (and should export symbols for example).
   16160       lt_prog_compiler_pic='-DDLL_EXPORT'
   16161       case $host_os in
   16162       os2*)
   16163 	lt_prog_compiler_static='$wl-static'
   16164 	;;
   16165       esac
   16166       ;;
   16167 
   16168     hpux9* | hpux10* | hpux11*)
   16169       lt_prog_compiler_wl='-Wl,'
   16170       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16171       # not for PA HP-UX.
   16172       case $host_cpu in
   16173       hppa*64*|ia64*)
   16174 	# +Z the default
   16175 	;;
   16176       *)
   16177 	lt_prog_compiler_pic='+Z'
   16178 	;;
   16179       esac
   16180       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   16181       lt_prog_compiler_static='$wl-a ${wl}archive'
   16182       ;;
   16183 
   16184     irix5* | irix6* | nonstopux*)
   16185       lt_prog_compiler_wl='-Wl,'
   16186       # PIC (with -KPIC) is the default.
   16187       lt_prog_compiler_static='-non_shared'
   16188       ;;
   16189 
   16190     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   16191       case $cc_basename in
   16192       # old Intel for x86_64, which still supported -KPIC.
   16193       ecc*)
   16194 	lt_prog_compiler_wl='-Wl,'
   16195 	lt_prog_compiler_pic='-KPIC'
   16196 	lt_prog_compiler_static='-static'
   16197         ;;
   16198       *flang* | ftn)
   16199         # Flang compiler.
   16200 	lt_prog_compiler_wl='-Wl,'
   16201 	lt_prog_compiler_pic='-fPIC'
   16202 	lt_prog_compiler_static='-static'
   16203         ;;
   16204       # icc used to be incompatible with GCC.
   16205       # ICC 10 doesn't accept -KPIC any more.
   16206       icc* | ifort*)
   16207 	lt_prog_compiler_wl='-Wl,'
   16208 	lt_prog_compiler_pic='-fPIC'
   16209 	lt_prog_compiler_static='-static'
   16210         ;;
   16211       # Lahey Fortran 8.1.
   16212       lf95*)
   16213 	lt_prog_compiler_wl='-Wl,'
   16214 	lt_prog_compiler_pic='--shared'
   16215 	lt_prog_compiler_static='--static'
   16216 	;;
   16217       nagfor*)
   16218 	# NAG Fortran compiler
   16219 	lt_prog_compiler_wl='-Wl,-Wl,,'
   16220 	lt_prog_compiler_pic='-PIC'
   16221 	lt_prog_compiler_static='-Bstatic'
   16222 	;;
   16223       tcc*)
   16224 	# Fabrice Bellard et al's Tiny C Compiler
   16225 	lt_prog_compiler_wl='-Wl,'
   16226 	lt_prog_compiler_pic='-fPIC'
   16227 	lt_prog_compiler_static='-static'
   16228 	;;
   16229       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   16230         # Portland Group compilers (*not* the Pentium gcc compiler,
   16231 	# which looks to be a dead project)
   16232 	lt_prog_compiler_wl='-Wl,'
   16233 	lt_prog_compiler_pic='-fpic'
   16234 	lt_prog_compiler_static='-Bstatic'
   16235         ;;
   16236       ccc*)
   16237         lt_prog_compiler_wl='-Wl,'
   16238         # All Alpha code is PIC.
   16239         lt_prog_compiler_static='-non_shared'
   16240         ;;
   16241       xl* | bgxl* | bgf* | mpixl*)
   16242 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   16243 	lt_prog_compiler_wl='-Wl,'
   16244 	lt_prog_compiler_pic='-qpic'
   16245 	lt_prog_compiler_static='-qstaticlink'
   16246 	;;
   16247       *)
   16248 	case `$CC -V 2>&1 | $SED 5q` in
   16249 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   16250 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   16251 	  lt_prog_compiler_pic='-KPIC'
   16252 	  lt_prog_compiler_static='-Bstatic'
   16253 	  lt_prog_compiler_wl=''
   16254 	  ;;
   16255 	*Sun\ F* | *Sun*Fortran*)
   16256 	  lt_prog_compiler_pic='-KPIC'
   16257 	  lt_prog_compiler_static='-Bstatic'
   16258 	  lt_prog_compiler_wl='-Qoption ld '
   16259 	  ;;
   16260 	*Sun\ C*)
   16261 	  # Sun C 5.9
   16262 	  lt_prog_compiler_pic='-KPIC'
   16263 	  lt_prog_compiler_static='-Bstatic'
   16264 	  lt_prog_compiler_wl='-Wl,'
   16265 	  ;;
   16266         *Intel*\ [CF]*Compiler*)
   16267 	  lt_prog_compiler_wl='-Wl,'
   16268 	  lt_prog_compiler_pic='-fPIC'
   16269 	  lt_prog_compiler_static='-static'
   16270 	  ;;
   16271 	*Portland\ Group*)
   16272 	  lt_prog_compiler_wl='-Wl,'
   16273 	  lt_prog_compiler_pic='-fpic'
   16274 	  lt_prog_compiler_static='-Bstatic'
   16275 	  ;;
   16276 	esac
   16277 	;;
   16278       esac
   16279       ;;
   16280 
   16281     newsos6)
   16282       lt_prog_compiler_pic='-KPIC'
   16283       lt_prog_compiler_static='-Bstatic'
   16284       ;;
   16285 
   16286     *nto* | *qnx*)
   16287       # QNX uses GNU C++, but need to define -shared option too, otherwise
   16288       # it will coredump.
   16289       lt_prog_compiler_pic='-fPIC -shared'
   16290       ;;
   16291 
   16292     osf3* | osf4* | osf5*)
   16293       lt_prog_compiler_wl='-Wl,'
   16294       # All OSF/1 code is PIC.
   16295       lt_prog_compiler_static='-non_shared'
   16296       ;;
   16297 
   16298     rdos*)
   16299       lt_prog_compiler_static='-non_shared'
   16300       ;;
   16301 
   16302     solaris*)
   16303       lt_prog_compiler_pic='-KPIC'
   16304       lt_prog_compiler_static='-Bstatic'
   16305       case $cc_basename in
   16306       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   16307 	lt_prog_compiler_wl='-Qoption ld ';;
   16308       *)
   16309 	lt_prog_compiler_wl='-Wl,';;
   16310       esac
   16311       ;;
   16312 
   16313     sunos4*)
   16314       lt_prog_compiler_wl='-Qoption ld '
   16315       lt_prog_compiler_pic='-PIC'
   16316       lt_prog_compiler_static='-Bstatic'
   16317       ;;
   16318 
   16319     sysv4 | sysv4.2uw2* | sysv4.3*)
   16320       lt_prog_compiler_wl='-Wl,'
   16321       lt_prog_compiler_pic='-KPIC'
   16322       lt_prog_compiler_static='-Bstatic'
   16323       ;;
   16324 
   16325     sysv4*MP*)
   16326       if test -d /usr/nec; then
   16327 	lt_prog_compiler_pic='-Kconform_pic'
   16328 	lt_prog_compiler_static='-Bstatic'
   16329       fi
   16330       ;;
   16331 
   16332     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   16333       lt_prog_compiler_wl='-Wl,'
   16334       lt_prog_compiler_pic='-KPIC'
   16335       lt_prog_compiler_static='-Bstatic'
   16336       ;;
   16337 
   16338     unicos*)
   16339       lt_prog_compiler_wl='-Wl,'
   16340       lt_prog_compiler_can_build_shared=no
   16341       ;;
   16342 
   16343     uts4*)
   16344       lt_prog_compiler_pic='-pic'
   16345       lt_prog_compiler_static='-Bstatic'
   16346       ;;
   16347 
   16348     *)
   16349       lt_prog_compiler_can_build_shared=no
   16350       ;;
   16351     esac
   16352   fi
   16353 
   16354 case $host_os in
   16355   # For platforms that do not support PIC, -DPIC is meaningless:
   16356   *djgpp*)
   16357     lt_prog_compiler_pic=
   16358     ;;
   16359   *)
   16360     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   16361     ;;
   16362 esac
   16363 
   16364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   16365 printf %s "checking for $compiler option to produce PIC... " >&6; }
   16366 if test ${lt_cv_prog_compiler_pic+y}
   16367 then :
   16368   printf %s "(cached) " >&6
   16369 else case e in #(
   16370   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   16371 esac
   16372 fi
   16373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   16374 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   16375 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   16376 
   16377 #
   16378 # Check to make sure the PIC flag actually works.
   16379 #
   16380 if test -n "$lt_prog_compiler_pic"; then
   16381   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   16382 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   16383 if test ${lt_cv_prog_compiler_pic_works+y}
   16384 then :
   16385   printf %s "(cached) " >&6
   16386 else case e in #(
   16387   e) lt_cv_prog_compiler_pic_works=no
   16388    ac_outfile=conftest.$ac_objext
   16389    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16390    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   16391    # Insert the option either (1) after the last *FLAGS variable, or
   16392    # (2) before a word containing "conftest.", or (3) at the end.
   16393    # Note that $ac_compile itself does not contain backslashes and begins
   16394    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16395    # The option is referenced via a variable to avoid confusing sed.
   16396    lt_compile=`echo "$ac_compile" | $SED \
   16397    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16398    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16399    -e 's:$: $lt_compiler_flag:'`
   16400    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   16401    (eval "$lt_compile" 2>conftest.err)
   16402    ac_status=$?
   16403    cat conftest.err >&5
   16404    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16405    if (exit $ac_status) && test -s "$ac_outfile"; then
   16406      # The compiler can only warn and ignore the option if not recognized
   16407      # So say no if there are warnings other than the usual output.
   16408      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   16409      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16410      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16411        lt_cv_prog_compiler_pic_works=yes
   16412      fi
   16413    fi
   16414    $RM conftest*
   16415  ;;
   16416 esac
   16417 fi
   16418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   16419 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   16420 
   16421 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   16422     case $lt_prog_compiler_pic in
   16423      "" | " "*) ;;
   16424      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   16425      esac
   16426 else
   16427     lt_prog_compiler_pic=
   16428      lt_prog_compiler_can_build_shared=no
   16429 fi
   16430 
   16431 fi
   16432 
   16433 
   16434 
   16435 
   16436 
   16437 
   16438 
   16439 
   16440 
   16441 
   16442 
   16443 #
   16444 # Check to make sure the static flag actually works.
   16445 #
   16446 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   16447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   16448 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   16449 if test ${lt_cv_prog_compiler_static_works+y}
   16450 then :
   16451   printf %s "(cached) " >&6
   16452 else case e in #(
   16453   e) lt_cv_prog_compiler_static_works=no
   16454    save_LDFLAGS=$LDFLAGS
   16455    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   16456    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   16457    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   16458      # The linker can only warn and ignore the option if not recognized
   16459      # So say no if there are warnings
   16460      if test -s conftest.err; then
   16461        # Append any errors to the config.log.
   16462        cat conftest.err 1>&5
   16463        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   16464        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16465        if diff conftest.exp conftest.er2 >/dev/null; then
   16466          lt_cv_prog_compiler_static_works=yes
   16467        fi
   16468      else
   16469        lt_cv_prog_compiler_static_works=yes
   16470      fi
   16471    fi
   16472    $RM -r conftest*
   16473    LDFLAGS=$save_LDFLAGS
   16474  ;;
   16475 esac
   16476 fi
   16477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   16478 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   16479 
   16480 if test yes = "$lt_cv_prog_compiler_static_works"; then
   16481     :
   16482 else
   16483     lt_prog_compiler_static=
   16484 fi
   16485 
   16486 
   16487 
   16488 
   16489 
   16490 
   16491 
   16492   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   16493 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   16494 if test ${lt_cv_prog_compiler_c_o+y}
   16495 then :
   16496   printf %s "(cached) " >&6
   16497 else case e in #(
   16498   e) lt_cv_prog_compiler_c_o=no
   16499    $RM -r conftest 2>/dev/null
   16500    mkdir conftest
   16501    cd conftest
   16502    mkdir out
   16503    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16504 
   16505    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16506    # Insert the option either (1) after the last *FLAGS variable, or
   16507    # (2) before a word containing "conftest.", or (3) at the end.
   16508    # Note that $ac_compile itself does not contain backslashes and begins
   16509    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16510    lt_compile=`echo "$ac_compile" | $SED \
   16511    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16512    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16513    -e 's:$: $lt_compiler_flag:'`
   16514    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   16515    (eval "$lt_compile" 2>out/conftest.err)
   16516    ac_status=$?
   16517    cat out/conftest.err >&5
   16518    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16519    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16520    then
   16521      # The compiler can only warn and ignore the option if not recognized
   16522      # So say no if there are warnings
   16523      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   16524      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16525      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16526        lt_cv_prog_compiler_c_o=yes
   16527      fi
   16528    fi
   16529    chmod u+w . 2>&5
   16530    $RM conftest*
   16531    # SGI C++ compiler will create directory out/ii_files/ for
   16532    # template instantiation
   16533    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   16534    $RM out/* && rmdir out
   16535    cd ..
   16536    $RM -r conftest
   16537    $RM conftest*
   16538  ;;
   16539 esac
   16540 fi
   16541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   16542 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   16543 
   16544 
   16545 
   16546 
   16547 
   16548 
   16549   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   16550 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   16551 if test ${lt_cv_prog_compiler_c_o+y}
   16552 then :
   16553   printf %s "(cached) " >&6
   16554 else case e in #(
   16555   e) lt_cv_prog_compiler_c_o=no
   16556    $RM -r conftest 2>/dev/null
   16557    mkdir conftest
   16558    cd conftest
   16559    mkdir out
   16560    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16561 
   16562    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16563    # Insert the option either (1) after the last *FLAGS variable, or
   16564    # (2) before a word containing "conftest.", or (3) at the end.
   16565    # Note that $ac_compile itself does not contain backslashes and begins
   16566    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16567    lt_compile=`echo "$ac_compile" | $SED \
   16568    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16569    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16570    -e 's:$: $lt_compiler_flag:'`
   16571    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   16572    (eval "$lt_compile" 2>out/conftest.err)
   16573    ac_status=$?
   16574    cat out/conftest.err >&5
   16575    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16576    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16577    then
   16578      # The compiler can only warn and ignore the option if not recognized
   16579      # So say no if there are warnings
   16580      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   16581      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16582      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16583        lt_cv_prog_compiler_c_o=yes
   16584      fi
   16585    fi
   16586    chmod u+w . 2>&5
   16587    $RM conftest*
   16588    # SGI C++ compiler will create directory out/ii_files/ for
   16589    # template instantiation
   16590    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   16591    $RM out/* && rmdir out
   16592    cd ..
   16593    $RM -r conftest
   16594    $RM conftest*
   16595  ;;
   16596 esac
   16597 fi
   16598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   16599 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   16600 
   16601 
   16602 
   16603 
   16604 hard_links=nottested
   16605 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   16606   # do not overwrite the value of need_locks provided by the user
   16607   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   16608 printf %s "checking if we can lock with hard links... " >&6; }
   16609   hard_links=yes
   16610   $RM conftest*
   16611   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16612   touch conftest.a
   16613   ln conftest.a conftest.b 2>&5 || hard_links=no
   16614   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16615   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   16616 printf "%s\n" "$hard_links" >&6; }
   16617   if test no = "$hard_links"; then
   16618     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   16619 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   16620     need_locks=warn
   16621   fi
   16622 else
   16623   need_locks=no
   16624 fi
   16625 
   16626 
   16627 
   16628 
   16629 
   16630 
   16631   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   16632 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   16633 
   16634   runpath_var=
   16635   allow_undefined_flag=
   16636   always_export_symbols=no
   16637   archive_cmds=
   16638   archive_expsym_cmds=
   16639   compiler_needs_object=no
   16640   enable_shared_with_static_runtimes=no
   16641   export_dynamic_flag_spec=
   16642   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   16643   hardcode_automatic=no
   16644   hardcode_direct=no
   16645   hardcode_direct_absolute=no
   16646   hardcode_libdir_flag_spec=
   16647   hardcode_libdir_separator=
   16648   hardcode_minus_L=no
   16649   hardcode_shlibpath_var=unsupported
   16650   inherit_rpath=no
   16651   link_all_deplibs=unknown
   16652   module_cmds=
   16653   module_expsym_cmds=
   16654   old_archive_from_new_cmds=
   16655   old_archive_from_expsyms_cmds=
   16656   thread_safe_flag_spec=
   16657   whole_archive_flag_spec=
   16658   # include_expsyms should be a list of space-separated symbols to be *always*
   16659   # included in the symbol list
   16660   include_expsyms=
   16661   # exclude_expsyms can be an extended regexp of symbols to exclude
   16662   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   16663   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   16664   # as well as any symbol that contains 'd'.
   16665   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   16666   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   16667   # platforms (ab)use it in PIC code, but their linkers get confused if
   16668   # the symbol is explicitly referenced.  Since portable code cannot
   16669   # rely on this symbol name, it's probably fine to never include it in
   16670   # preloaded symbol tables.
   16671   # Exclude shared library initialization/finalization symbols.
   16672   extract_expsyms_cmds=
   16673 
   16674   case $host_os in
   16675   cygwin* | mingw* | windows* | pw32* | cegcc*)
   16676     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   16677     # When not using gcc, we currently assume that we are using
   16678     # Microsoft Visual C++ or Intel C++ Compiler.
   16679     if test yes != "$GCC"; then
   16680       with_gnu_ld=no
   16681     fi
   16682     ;;
   16683   interix*)
   16684     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   16685     with_gnu_ld=yes
   16686     ;;
   16687   openbsd*)
   16688     with_gnu_ld=no
   16689     ;;
   16690   esac
   16691 
   16692   ld_shlibs=yes
   16693 
   16694   # On some targets, GNU ld is compatible enough with the native linker
   16695   # that we're better off using the native interface for both.
   16696   lt_use_gnu_ld_interface=no
   16697   if test yes = "$with_gnu_ld"; then
   16698     case $host_os in
   16699       aix*)
   16700 	# The AIX port of GNU ld has always aspired to compatibility
   16701 	# with the native linker.  However, as the warning in the GNU ld
   16702 	# block says, versions before 2.19.5* couldn't really create working
   16703 	# shared libraries, regardless of the interface used.
   16704 	case `$LD -v 2>&1` in
   16705 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   16706 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   16707 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   16708 	  *)
   16709 	    lt_use_gnu_ld_interface=yes
   16710 	    ;;
   16711 	esac
   16712 	;;
   16713       *)
   16714 	lt_use_gnu_ld_interface=yes
   16715 	;;
   16716     esac
   16717   fi
   16718 
   16719   if test yes = "$lt_use_gnu_ld_interface"; then
   16720     # If archive_cmds runs LD, not CC, wlarc should be empty
   16721     wlarc='$wl'
   16722 
   16723     # Set some defaults for GNU ld with shared library support. These
   16724     # are reset later if shared libraries are not supported. Putting them
   16725     # here allows them to be overridden if necessary.
   16726     runpath_var=LD_RUN_PATH
   16727     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16728     export_dynamic_flag_spec='$wl--export-dynamic'
   16729     # ancient GNU ld didn't support --whole-archive et. al.
   16730     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   16731       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   16732     else
   16733       whole_archive_flag_spec=
   16734     fi
   16735     supports_anon_versioning=no
   16736     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   16737       *GNU\ gold*) supports_anon_versioning=yes ;;
   16738       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   16739       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   16740       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   16741       *\ 2.11.*) ;; # other 2.11 versions
   16742       *) supports_anon_versioning=yes ;;
   16743     esac
   16744 
   16745     # See if GNU ld supports shared libraries.
   16746     case $host_os in
   16747     aix[3-9]*)
   16748       # On AIX/PPC, the GNU linker is very broken
   16749       if test ia64 != "$host_cpu"; then
   16750 	ld_shlibs=no
   16751 	cat <<_LT_EOF 1>&2
   16752 
   16753 *** Warning: the GNU linker, at least up to release 2.19, is reported
   16754 *** to be unable to reliably create shared libraries on AIX.
   16755 *** Therefore, libtool is disabling shared libraries support.  If you
   16756 *** really care for shared libraries, you may want to install binutils
   16757 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   16758 *** You will then need to restart the configuration process.
   16759 
   16760 _LT_EOF
   16761       fi
   16762       ;;
   16763 
   16764     amigaos*)
   16765       case $host_cpu in
   16766       powerpc)
   16767             # see comment about AmigaOS4 .so support
   16768             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16769             archive_expsym_cmds=''
   16770         ;;
   16771       m68k)
   16772             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)'
   16773             hardcode_libdir_flag_spec='-L$libdir'
   16774             hardcode_minus_L=yes
   16775         ;;
   16776       esac
   16777       ;;
   16778 
   16779     beos*)
   16780       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16781 	allow_undefined_flag=unsupported
   16782 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   16783 	# support --undefined.  This deserves some investigation.  FIXME
   16784 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16785       else
   16786 	ld_shlibs=no
   16787       fi
   16788       ;;
   16789 
   16790     cygwin* | mingw* | windows* | pw32* | cegcc*)
   16791       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   16792       # as there is no search path for DLLs.
   16793       hardcode_libdir_flag_spec='-L$libdir'
   16794       export_dynamic_flag_spec='$wl--export-all-symbols'
   16795       allow_undefined_flag=unsupported
   16796       always_export_symbols=no
   16797       enable_shared_with_static_runtimes=yes
   16798       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'
   16799       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   16800 
   16801       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   16802         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16803 	# If the export-symbols file already is a .def file, use it as
   16804 	# is; otherwise, prepend EXPORTS...
   16805 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   16806           cp $export_symbols $output_objdir/$soname.def;
   16807         else
   16808           echo EXPORTS > $output_objdir/$soname.def;
   16809           cat $export_symbols >> $output_objdir/$soname.def;
   16810         fi~
   16811         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16812       else
   16813 	ld_shlibs=no
   16814       fi
   16815       ;;
   16816 
   16817     haiku*)
   16818       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16819       link_all_deplibs=yes
   16820       ;;
   16821 
   16822     os2*)
   16823       hardcode_libdir_flag_spec='-L$libdir'
   16824       hardcode_minus_L=yes
   16825       allow_undefined_flag=unsupported
   16826       shrext_cmds=.dll
   16827       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16828 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16829 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16830 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16831 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   16832 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16833 	emximp -o $lib $output_objdir/$libname.def'
   16834       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16835 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16836 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16837 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16838 	prefix_cmds="$SED"~
   16839 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   16840 	  prefix_cmds="$prefix_cmds -e 1d";
   16841 	fi~
   16842 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   16843 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   16844 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16845 	emximp -o $lib $output_objdir/$libname.def'
   16846       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   16847       enable_shared_with_static_runtimes=yes
   16848       file_list_spec='@'
   16849       ;;
   16850 
   16851     interix[3-9]*)
   16852       hardcode_direct=no
   16853       hardcode_shlibpath_var=no
   16854       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   16855       export_dynamic_flag_spec='$wl-E'
   16856       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   16857       # Instead, shared libraries are loaded at an image base (0x10000000 by
   16858       # default) and relocated if they conflict, which is a slow very memory
   16859       # consuming and fragmenting process.  To avoid this, we pick a random,
   16860       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   16861       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   16862       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   16863       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'
   16864       ;;
   16865 
   16866     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   16867       tmp_diet=no
   16868       if test linux-dietlibc = "$host_os"; then
   16869 	case $cc_basename in
   16870 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   16871 	esac
   16872       fi
   16873       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   16874 	 && test no = "$tmp_diet"
   16875       then
   16876 	tmp_addflag=' $pic_flag'
   16877 	tmp_sharedflag='-shared'
   16878 	case $cc_basename,$host_cpu in
   16879         pgcc*)				# Portland Group C compiler
   16880 	  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'
   16881 	  tmp_addflag=' $pic_flag'
   16882 	  ;;
   16883 	pgf77* | pgf90* | pgf95* | pgfortran*)
   16884 					# Portland Group f77 and f90 compilers
   16885 	  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'
   16886 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   16887 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   16888 	  tmp_addflag=' -i_dynamic' ;;
   16889 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   16890 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   16891 	ifc* | ifort*)			# Intel Fortran compiler
   16892 	  tmp_addflag=' -nofor_main' ;;
   16893 	lf95*)				# Lahey Fortran 8.1
   16894 	  whole_archive_flag_spec=
   16895 	  tmp_sharedflag='--shared' ;;
   16896         nagfor*)                        # NAGFOR 5.3
   16897           tmp_sharedflag='-Wl,-shared' ;;
   16898 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   16899 	  tmp_sharedflag='-qmkshrobj'
   16900 	  tmp_addflag= ;;
   16901 	nvcc*)	# Cuda Compiler Driver 2.2
   16902 	  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'
   16903 	  compiler_needs_object=yes
   16904 	  ;;
   16905 	esac
   16906 	case `$CC -V 2>&1 | $SED 5q` in
   16907 	*Sun\ C*)			# Sun C 5.9
   16908 	  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'
   16909 	  compiler_needs_object=yes
   16910 	  tmp_sharedflag='-G' ;;
   16911 	*Sun\ F*)			# Sun Fortran 8.3
   16912 	  tmp_sharedflag='-G' ;;
   16913 	esac
   16914 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16915 
   16916         if test yes = "$supports_anon_versioning"; then
   16917           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   16918             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   16919             echo "local: *; };" >> $output_objdir/$libname.ver~
   16920             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   16921         fi
   16922 
   16923 	case $cc_basename in
   16924 	tcc*)
   16925 	  export_dynamic_flag_spec='-rdynamic'
   16926 	  ;;
   16927 	xlf* | bgf* | bgxlf* | mpixlf*)
   16928 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   16929 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   16930 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16931 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   16932 	  if test yes = "$supports_anon_versioning"; then
   16933 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   16934               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   16935               echo "local: *; };" >> $output_objdir/$libname.ver~
   16936               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   16937 	  fi
   16938 	  ;;
   16939 	esac
   16940       else
   16941         ld_shlibs=no
   16942       fi
   16943       ;;
   16944 
   16945     netbsd*)
   16946       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   16947 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   16948 	wlarc=
   16949       else
   16950 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16951 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16952       fi
   16953       ;;
   16954 
   16955     solaris*)
   16956       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   16957 	ld_shlibs=no
   16958 	cat <<_LT_EOF 1>&2
   16959 
   16960 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   16961 *** create shared libraries on Solaris systems.  Therefore, libtool
   16962 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16963 *** binutils to release 2.9.1 or newer.  Another option is to modify
   16964 *** your PATH or compiler configuration so that the native linker is
   16965 *** used, and then restart.
   16966 
   16967 _LT_EOF
   16968       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16969 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16970 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16971       else
   16972 	ld_shlibs=no
   16973       fi
   16974       ;;
   16975 
   16976     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   16977       case `$LD -v 2>&1` in
   16978         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   16979 	ld_shlibs=no
   16980 	cat <<_LT_EOF 1>&2
   16981 
   16982 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   16983 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   16984 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16985 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   16986 *** your PATH or compiler configuration so that the native linker is
   16987 *** used, and then restart.
   16988 
   16989 _LT_EOF
   16990 	;;
   16991 	*)
   16992 	  # For security reasons, it is highly recommended that you always
   16993 	  # use absolute paths for naming shared libraries, and exclude the
   16994 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   16995 	  # requires that you compile everything twice, which is a pain.
   16996 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16997 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16998 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16999 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   17000 	  else
   17001 	    ld_shlibs=no
   17002 	  fi
   17003 	;;
   17004       esac
   17005       ;;
   17006 
   17007     sunos4*)
   17008       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17009       wlarc=
   17010       hardcode_direct=yes
   17011       hardcode_shlibpath_var=no
   17012       ;;
   17013 
   17014     *)
   17015       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   17016 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   17017 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   17018       else
   17019 	ld_shlibs=no
   17020       fi
   17021       ;;
   17022     esac
   17023 
   17024     if test no = "$ld_shlibs"; then
   17025       runpath_var=
   17026       hardcode_libdir_flag_spec=
   17027       export_dynamic_flag_spec=
   17028       whole_archive_flag_spec=
   17029     fi
   17030   else
   17031     # PORTME fill in a description of your system's linker (not GNU ld)
   17032     case $host_os in
   17033     aix3*)
   17034       allow_undefined_flag=unsupported
   17035       always_export_symbols=yes
   17036       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'
   17037       # Note: this linker hardcodes the directories in LIBPATH if there
   17038       # are no directories specified by -L.
   17039       hardcode_minus_L=yes
   17040       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   17041 	# Neither direct hardcoding nor static linking is supported with a
   17042 	# broken collect2.
   17043 	hardcode_direct=unsupported
   17044       fi
   17045       ;;
   17046 
   17047     aix[4-9]*)
   17048       if test ia64 = "$host_cpu"; then
   17049 	# On IA64, the linker does run time linking by default, so we don't
   17050 	# have to do anything special.
   17051 	aix_use_runtimelinking=no
   17052 	exp_sym_flag='-Bexport'
   17053 	no_entry_flag=
   17054       else
   17055 	# If we're using GNU nm, then we don't want the "-C" option.
   17056 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   17057 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   17058 	# weak defined symbols like other global defined symbols, whereas
   17059 	# GNU nm marks them as "W".
   17060 	# While the 'weak' keyword is ignored in the Export File, we need
   17061 	# it in the Import File for the 'aix-soname' feature, so we have
   17062 	# to replace the "-B" option with "-P" for AIX nm.
   17063 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   17064 	  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'
   17065 	else
   17066 	  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 == "L") || (\$ 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'
   17067 	fi
   17068 	aix_use_runtimelinking=no
   17069 
   17070 	# Test if we are trying to use run time linking or normal
   17071 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   17072 	# have runtime linking enabled, and use it for executables.
   17073 	# For shared libraries, we enable/disable runtime linking
   17074 	# depending on the kind of the shared library created -
   17075 	# when "with_aix_soname,aix_use_runtimelinking" is:
   17076 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   17077 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   17078 	#            lib.a           static archive
   17079 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   17080 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   17081 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   17082 	#            lib.a(lib.so.V) shared, rtl:no
   17083 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   17084 	#            lib.a           static archive
   17085 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   17086 	  for ld_flag in $LDFLAGS; do
   17087 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   17088 	    aix_use_runtimelinking=yes
   17089 	    break
   17090 	  fi
   17091 	  done
   17092 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   17093 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   17094 	    # so we don't have lib.a shared libs to link our executables.
   17095 	    # We have to force runtime linking in this case.
   17096 	    aix_use_runtimelinking=yes
   17097 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   17098 	  fi
   17099 	  ;;
   17100 	esac
   17101 
   17102 	exp_sym_flag='-bexport'
   17103 	no_entry_flag='-bnoentry'
   17104       fi
   17105 
   17106       # When large executables or shared objects are built, AIX ld can
   17107       # have problems creating the table of contents.  If linking a library
   17108       # or program results in "error TOC overflow" add -mminimal-toc to
   17109       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17110       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17111 
   17112       archive_cmds=''
   17113       hardcode_direct=yes
   17114       hardcode_direct_absolute=yes
   17115       hardcode_libdir_separator=':'
   17116       link_all_deplibs=yes
   17117       file_list_spec='$wl-f,'
   17118       case $with_aix_soname,$aix_use_runtimelinking in
   17119       aix,*) ;; # traditional, no import file
   17120       svr4,* | *,yes) # use import file
   17121 	# The Import File defines what to hardcode.
   17122 	hardcode_direct=no
   17123 	hardcode_direct_absolute=no
   17124 	;;
   17125       esac
   17126 
   17127       if test yes = "$GCC"; then
   17128 	case $host_os in aix4.[012]|aix4.[012].*)
   17129 	# We only want to do this on AIX 4.2 and lower, the check
   17130 	# below for broken collect2 doesn't work under 4.3+
   17131 	  collect2name=`$CC -print-prog-name=collect2`
   17132 	  if test -f "$collect2name" &&
   17133 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   17134 	  then
   17135 	  # We have reworked collect2
   17136 	  :
   17137 	  else
   17138 	  # We have old collect2
   17139 	  hardcode_direct=unsupported
   17140 	  # It fails to find uninstalled libraries when the uninstalled
   17141 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17142 	  # to unsupported forces relinking
   17143 	  hardcode_minus_L=yes
   17144 	  hardcode_libdir_flag_spec='-L$libdir'
   17145 	  hardcode_libdir_separator=
   17146 	  fi
   17147 	  ;;
   17148 	esac
   17149 	shared_flag='-shared'
   17150 	if test yes = "$aix_use_runtimelinking"; then
   17151 	  shared_flag="$shared_flag "'$wl-G'
   17152 	fi
   17153 	# Need to ensure runtime linking is disabled for the traditional
   17154 	# shared library, or the linker may eventually find shared libraries
   17155 	# /with/ Import File - we do not want to mix them.
   17156 	shared_flag_aix='-shared'
   17157 	shared_flag_svr4='-shared $wl-G'
   17158       else
   17159 	# not using gcc
   17160 	if test ia64 = "$host_cpu"; then
   17161 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17162 	# chokes on -Wl,-G. The following line is correct:
   17163 	  shared_flag='-G'
   17164 	else
   17165 	  if test yes = "$aix_use_runtimelinking"; then
   17166 	    shared_flag='$wl-G'
   17167 	  else
   17168 	    shared_flag='$wl-bM:SRE'
   17169 	  fi
   17170 	  shared_flag_aix='$wl-bM:SRE'
   17171 	  shared_flag_svr4='$wl-G'
   17172 	fi
   17173       fi
   17174 
   17175       export_dynamic_flag_spec='$wl-bexpall'
   17176       # It seems that -bexpall does not export symbols beginning with
   17177       # underscore (_), so it is better to generate a list of symbols to export.
   17178       always_export_symbols=yes
   17179       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   17180 	# Warning - without using the other runtime loading flags (-brtl),
   17181 	# -berok will link without error, but may produce a broken library.
   17182 	allow_undefined_flag='-berok'
   17183         # Determine the default libpath from the value encoded in an
   17184         # empty executable.
   17185         if test set = "${lt_cv_aix_libpath+set}"; then
   17186   aix_libpath=$lt_cv_aix_libpath
   17187 else
   17188   if test ${lt_cv_aix_libpath_+y}
   17189 then :
   17190   printf %s "(cached) " >&6
   17191 else case e in #(
   17192   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17193 /* end confdefs.h.  */
   17194 
   17195 int
   17196 main (void)
   17197 {
   17198 
   17199   ;
   17200   return 0;
   17201 }
   17202 _ACEOF
   17203 if ac_fn_c_try_link "$LINENO"
   17204 then :
   17205 
   17206   lt_aix_libpath_sed='
   17207       /Import File Strings/,/^$/ {
   17208 	  /^0/ {
   17209 	      s/^0  *\([^ ]*\) *$/\1/
   17210 	      p
   17211 	  }
   17212       }'
   17213   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17214   # Check for a 64-bit object if we didn't find anything.
   17215   if test -z "$lt_cv_aix_libpath_"; then
   17216     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17217   fi
   17218 fi
   17219 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17220     conftest$ac_exeext conftest.$ac_ext
   17221   if test -z "$lt_cv_aix_libpath_"; then
   17222     lt_cv_aix_libpath_=/usr/lib:/lib
   17223   fi
   17224    ;;
   17225 esac
   17226 fi
   17227 
   17228   aix_libpath=$lt_cv_aix_libpath_
   17229 fi
   17230 
   17231         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   17232         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
   17233       else
   17234 	if test ia64 = "$host_cpu"; then
   17235 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   17236 	  allow_undefined_flag="-z nodefs"
   17237 	  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"
   17238 	else
   17239 	 # Determine the default libpath from the value encoded in an
   17240 	 # empty executable.
   17241 	 if test set = "${lt_cv_aix_libpath+set}"; then
   17242   aix_libpath=$lt_cv_aix_libpath
   17243 else
   17244   if test ${lt_cv_aix_libpath_+y}
   17245 then :
   17246   printf %s "(cached) " >&6
   17247 else case e in #(
   17248   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17249 /* end confdefs.h.  */
   17250 
   17251 int
   17252 main (void)
   17253 {
   17254 
   17255   ;
   17256   return 0;
   17257 }
   17258 _ACEOF
   17259 if ac_fn_c_try_link "$LINENO"
   17260 then :
   17261 
   17262   lt_aix_libpath_sed='
   17263       /Import File Strings/,/^$/ {
   17264 	  /^0/ {
   17265 	      s/^0  *\([^ ]*\) *$/\1/
   17266 	      p
   17267 	  }
   17268       }'
   17269   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17270   # Check for a 64-bit object if we didn't find anything.
   17271   if test -z "$lt_cv_aix_libpath_"; then
   17272     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17273   fi
   17274 fi
   17275 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17276     conftest$ac_exeext conftest.$ac_ext
   17277   if test -z "$lt_cv_aix_libpath_"; then
   17278     lt_cv_aix_libpath_=/usr/lib:/lib
   17279   fi
   17280    ;;
   17281 esac
   17282 fi
   17283 
   17284   aix_libpath=$lt_cv_aix_libpath_
   17285 fi
   17286 
   17287 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   17288 	  # Warning - without using the other run time loading flags,
   17289 	  # -berok will link without error, but may produce a broken library.
   17290 	  no_undefined_flag=' $wl-bernotok'
   17291 	  allow_undefined_flag=' $wl-berok'
   17292 	  if test yes = "$with_gnu_ld"; then
   17293 	    # We only use this code for GNU lds that support --whole-archive.
   17294 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   17295 	  else
   17296 	    # Exported symbols can be pulled into shared objects from archives
   17297 	    whole_archive_flag_spec='$convenience'
   17298 	  fi
   17299 	  archive_cmds_need_lc=yes
   17300 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   17301 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   17302 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   17303 	  if test svr4 != "$with_aix_soname"; then
   17304 	    # This is similar to how AIX traditionally builds its shared libraries.
   17305 	    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'
   17306 	  fi
   17307 	  if test aix != "$with_aix_soname"; then
   17308 	    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'
   17309 	  else
   17310 	    # used by -dlpreopen to get the symbols
   17311 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   17312 	  fi
   17313 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   17314 	fi
   17315       fi
   17316       ;;
   17317 
   17318     amigaos*)
   17319       case $host_cpu in
   17320       powerpc)
   17321             # see comment about AmigaOS4 .so support
   17322             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   17323             archive_expsym_cmds=''
   17324         ;;
   17325       m68k)
   17326             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)'
   17327             hardcode_libdir_flag_spec='-L$libdir'
   17328             hardcode_minus_L=yes
   17329         ;;
   17330       esac
   17331       ;;
   17332 
   17333     bsdi[45]*)
   17334       export_dynamic_flag_spec=-rdynamic
   17335       ;;
   17336 
   17337     cygwin* | mingw* | windows* | pw32* | cegcc*)
   17338       # When not using gcc, we currently assume that we are using
   17339       # Microsoft Visual C++ or Intel C++ Compiler.
   17340       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17341       # no search path for DLLs.
   17342       case $cc_basename in
   17343       cl* | icl*)
   17344 	# Native MSVC or ICC
   17345 	hardcode_libdir_flag_spec=' '
   17346 	allow_undefined_flag=unsupported
   17347 	always_export_symbols=yes
   17348 	file_list_spec='@'
   17349 	# Tell ltmain to make .lib files, not .a files.
   17350 	libext=lib
   17351 	# Tell ltmain to make .dll files, not .so files.
   17352 	shrext_cmds=.dll
   17353 	# FIXME: Setting linknames here is a bad hack.
   17354 	archive_cmds='$CC -Fe $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   17355 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   17356             cp "$export_symbols" "$output_objdir/$soname.def";
   17357             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   17358           else
   17359             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   17360           fi~
   17361           $CC -Fe $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   17362           linknames='
   17363 	# The linker will not automatically build a static lib if we build a DLL.
   17364 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   17365 	enable_shared_with_static_runtimes=yes
   17366 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   17367 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   17368 	# Don't use ranlib
   17369 	old_postinstall_cmds='chmod 644 $oldlib'
   17370 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   17371           lt_tool_outputfile="@TOOL_OUTPUT@"~
   17372           case $lt_outputfile in
   17373             *.exe|*.EXE) ;;
   17374             *)
   17375               lt_outputfile=$lt_outputfile.exe
   17376               lt_tool_outputfile=$lt_tool_outputfile.exe
   17377               ;;
   17378           esac~
   17379           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   17380             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   17381             $RM "$lt_outputfile.manifest";
   17382           fi'
   17383 	;;
   17384       *)
   17385 	# Assume MSVC and ICC wrapper
   17386 	hardcode_libdir_flag_spec=' '
   17387 	allow_undefined_flag=unsupported
   17388 	# Tell ltmain to make .lib files, not .a files.
   17389 	libext=lib
   17390 	# Tell ltmain to make .dll files, not .so files.
   17391 	shrext_cmds=.dll
   17392 	# FIXME: Setting linknames here is a bad hack.
   17393 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   17394 	# The linker will automatically build a .lib file if we build a DLL.
   17395 	old_archive_from_new_cmds='true'
   17396 	# FIXME: Should let the user specify the lib program.
   17397 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   17398 	enable_shared_with_static_runtimes=yes
   17399 	;;
   17400       esac
   17401       ;;
   17402 
   17403     darwin* | rhapsody*)
   17404 
   17405 
   17406   archive_cmds_need_lc=no
   17407   hardcode_direct=no
   17408   hardcode_automatic=yes
   17409   hardcode_shlibpath_var=unsupported
   17410   if test yes = "$lt_cv_ld_force_load"; then
   17411     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\"`'
   17412 
   17413   else
   17414     whole_archive_flag_spec=''
   17415   fi
   17416   link_all_deplibs=yes
   17417   allow_undefined_flag=$_lt_dar_allow_undefined
   17418   case $cc_basename in
   17419      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   17420      *) _lt_dar_can_shared=$GCC ;;
   17421   esac
   17422   if test yes = "$_lt_dar_can_shared"; then
   17423     output_verbose_link_cmd=func_echo_all
   17424     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   17425     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   17426     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"
   17427     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"
   17428 
   17429   else
   17430   ld_shlibs=no
   17431   fi
   17432 
   17433       ;;
   17434 
   17435     dgux*)
   17436       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17437       hardcode_libdir_flag_spec='-L$libdir'
   17438       hardcode_shlibpath_var=no
   17439       ;;
   17440 
   17441     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   17442     # support.  Future versions do this automatically, but an explicit c++rt0.o
   17443     # does not break anything, and helps significantly (at the cost of a little
   17444     # extra space).
   17445     freebsd2.2*)
   17446       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   17447       hardcode_libdir_flag_spec='-R$libdir'
   17448       hardcode_direct=yes
   17449       hardcode_shlibpath_var=no
   17450       ;;
   17451 
   17452     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   17453     freebsd2.*)
   17454       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17455       hardcode_direct=yes
   17456       hardcode_minus_L=yes
   17457       hardcode_shlibpath_var=no
   17458       ;;
   17459 
   17460     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   17461     freebsd* | dragonfly* | midnightbsd*)
   17462       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17463       hardcode_libdir_flag_spec='-R$libdir'
   17464       hardcode_direct=yes
   17465       hardcode_shlibpath_var=no
   17466       ;;
   17467 
   17468     hpux9*)
   17469       if test yes = "$GCC"; then
   17470 	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'
   17471       else
   17472 	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'
   17473       fi
   17474       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   17475       hardcode_libdir_separator=:
   17476       hardcode_direct=yes
   17477 
   17478       # hardcode_minus_L: Not really in the search PATH,
   17479       # but as the default location of the library.
   17480       hardcode_minus_L=yes
   17481       export_dynamic_flag_spec='$wl-E'
   17482       ;;
   17483 
   17484     hpux10*)
   17485       if test yes,no = "$GCC,$with_gnu_ld"; then
   17486 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17487       else
   17488 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17489       fi
   17490       if test no = "$with_gnu_ld"; then
   17491 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   17492 	hardcode_libdir_separator=:
   17493 	hardcode_direct=yes
   17494 	hardcode_direct_absolute=yes
   17495 	export_dynamic_flag_spec='$wl-E'
   17496 	# hardcode_minus_L: Not really in the search PATH,
   17497 	# but as the default location of the library.
   17498 	hardcode_minus_L=yes
   17499       fi
   17500       ;;
   17501 
   17502     hpux11*)
   17503       if test yes,no = "$GCC,$with_gnu_ld"; then
   17504 	case $host_cpu in
   17505 	hppa*64*)
   17506 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   17507 	  ;;
   17508 	ia64*)
   17509 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17510 	  ;;
   17511 	*)
   17512 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17513 	  ;;
   17514 	esac
   17515       else
   17516 	case $host_cpu in
   17517 	hppa*64*)
   17518 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   17519 	  ;;
   17520 	ia64*)
   17521 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17522 	  ;;
   17523 	*)
   17524 
   17525 	  # Older versions of the 11.00 compiler do not understand -b yet
   17526 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   17527 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   17528 printf %s "checking if $CC understands -b... " >&6; }
   17529 if test ${lt_cv_prog_compiler__b+y}
   17530 then :
   17531   printf %s "(cached) " >&6
   17532 else case e in #(
   17533   e) lt_cv_prog_compiler__b=no
   17534    save_LDFLAGS=$LDFLAGS
   17535    LDFLAGS="$LDFLAGS -b"
   17536    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   17537    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17538      # The linker can only warn and ignore the option if not recognized
   17539      # So say no if there are warnings
   17540      if test -s conftest.err; then
   17541        # Append any errors to the config.log.
   17542        cat conftest.err 1>&5
   17543        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   17544        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17545        if diff conftest.exp conftest.er2 >/dev/null; then
   17546          lt_cv_prog_compiler__b=yes
   17547        fi
   17548      else
   17549        lt_cv_prog_compiler__b=yes
   17550      fi
   17551    fi
   17552    $RM -r conftest*
   17553    LDFLAGS=$save_LDFLAGS
   17554  ;;
   17555 esac
   17556 fi
   17557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   17558 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   17559 
   17560 if test yes = "$lt_cv_prog_compiler__b"; then
   17561     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17562 else
   17563     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17564 fi
   17565 
   17566 	  ;;
   17567 	esac
   17568       fi
   17569       if test no = "$with_gnu_ld"; then
   17570 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   17571 	hardcode_libdir_separator=:
   17572 
   17573 	case $host_cpu in
   17574 	hppa*64*|ia64*)
   17575 	  hardcode_direct=no
   17576 	  hardcode_shlibpath_var=no
   17577 	  ;;
   17578 	*)
   17579 	  hardcode_direct=yes
   17580 	  hardcode_direct_absolute=yes
   17581 	  export_dynamic_flag_spec='$wl-E'
   17582 
   17583 	  # hardcode_minus_L: Not really in the search PATH,
   17584 	  # but as the default location of the library.
   17585 	  hardcode_minus_L=yes
   17586 	  ;;
   17587 	esac
   17588       fi
   17589       ;;
   17590 
   17591     irix5* | irix6* | nonstopux*)
   17592       if test yes = "$GCC"; then
   17593 	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'
   17594 	# Try to use the -exported_symbol ld option, if it does not
   17595 	# work, assume that -exports_file does not work either and
   17596 	# implicitly export all symbols.
   17597 	# This should be the same for all languages, so no per-tag cache variable.
   17598 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   17599 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   17600 if test ${lt_cv_irix_exported_symbol+y}
   17601 then :
   17602   printf %s "(cached) " >&6
   17603 else case e in #(
   17604   e) save_LDFLAGS=$LDFLAGS
   17605 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   17606 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17607 /* end confdefs.h.  */
   17608 int foo (void) { return 0; }
   17609 _ACEOF
   17610 if ac_fn_c_try_link "$LINENO"
   17611 then :
   17612   lt_cv_irix_exported_symbol=yes
   17613 else case e in #(
   17614   e) lt_cv_irix_exported_symbol=no ;;
   17615 esac
   17616 fi
   17617 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17618     conftest$ac_exeext conftest.$ac_ext
   17619            LDFLAGS=$save_LDFLAGS ;;
   17620 esac
   17621 fi
   17622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   17623 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   17624 	if test yes = "$lt_cv_irix_exported_symbol"; then
   17625           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'
   17626 	fi
   17627       else
   17628 	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'
   17629 	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'
   17630       fi
   17631       archive_cmds_need_lc='no'
   17632       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17633       hardcode_libdir_separator=:
   17634       inherit_rpath=yes
   17635       link_all_deplibs=yes
   17636       ;;
   17637 
   17638     linux*)
   17639       case $cc_basename in
   17640       tcc*)
   17641 	# Fabrice Bellard et al's Tiny C Compiler
   17642 	ld_shlibs=yes
   17643 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17644 	;;
   17645       esac
   17646       ;;
   17647 
   17648     netbsd*)
   17649       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   17650 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   17651       else
   17652 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   17653       fi
   17654       hardcode_libdir_flag_spec='-R$libdir'
   17655       hardcode_direct=yes
   17656       hardcode_shlibpath_var=no
   17657       ;;
   17658 
   17659     newsos6)
   17660       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17661       hardcode_direct=yes
   17662       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17663       hardcode_libdir_separator=:
   17664       hardcode_shlibpath_var=no
   17665       ;;
   17666 
   17667     *nto* | *qnx*)
   17668       ;;
   17669 
   17670     openbsd*)
   17671       if test -f /usr/libexec/ld.so; then
   17672 	hardcode_direct=yes
   17673 	hardcode_shlibpath_var=no
   17674 	hardcode_direct_absolute=yes
   17675 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   17676 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17677 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   17678 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   17679 	  export_dynamic_flag_spec='$wl-E'
   17680 	else
   17681 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17682 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   17683 	fi
   17684       else
   17685 	ld_shlibs=no
   17686       fi
   17687       ;;
   17688 
   17689     os2*)
   17690       hardcode_libdir_flag_spec='-L$libdir'
   17691       hardcode_minus_L=yes
   17692       allow_undefined_flag=unsupported
   17693       shrext_cmds=.dll
   17694       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   17695 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   17696 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   17697 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   17698 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   17699 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   17700 	emximp -o $lib $output_objdir/$libname.def'
   17701       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   17702 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   17703 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   17704 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   17705 	prefix_cmds="$SED"~
   17706 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   17707 	  prefix_cmds="$prefix_cmds -e 1d";
   17708 	fi~
   17709 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   17710 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   17711 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   17712 	emximp -o $lib $output_objdir/$libname.def'
   17713       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   17714       enable_shared_with_static_runtimes=yes
   17715       file_list_spec='@'
   17716       ;;
   17717 
   17718     osf3*)
   17719       if test yes = "$GCC"; then
   17720 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   17721 	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'
   17722       else
   17723 	allow_undefined_flag=' -expect_unresolved \*'
   17724 	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'
   17725       fi
   17726       archive_cmds_need_lc='no'
   17727       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17728       hardcode_libdir_separator=:
   17729       ;;
   17730 
   17731     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   17732       if test yes = "$GCC"; then
   17733 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   17734 	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'
   17735 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17736       else
   17737 	allow_undefined_flag=' -expect_unresolved \*'
   17738 	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'
   17739 	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~
   17740           $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'
   17741 
   17742 	# Both c and cxx compiler support -rpath directly
   17743 	hardcode_libdir_flag_spec='-rpath $libdir'
   17744       fi
   17745       archive_cmds_need_lc='no'
   17746       hardcode_libdir_separator=:
   17747       ;;
   17748 
   17749     solaris*)
   17750       no_undefined_flag=' -z defs'
   17751       if test yes = "$GCC"; then
   17752 	wlarc='$wl'
   17753 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   17754 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   17755           $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'
   17756       else
   17757 	case `$CC -V 2>&1` in
   17758 	*"Compilers 5.0"*)
   17759 	  wlarc=''
   17760 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17761 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   17762             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   17763 	  ;;
   17764 	*)
   17765 	  wlarc='$wl'
   17766 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   17767 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   17768             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   17769 	  ;;
   17770 	esac
   17771       fi
   17772       hardcode_libdir_flag_spec='-R$libdir'
   17773       hardcode_shlibpath_var=no
   17774       case $host_os in
   17775       solaris2.[0-5] | solaris2.[0-5].*) ;;
   17776       *)
   17777 	# The compiler driver will combine and reorder linker options,
   17778 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   17779 	# but is careful enough not to reorder.
   17780 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   17781 	if test yes = "$GCC"; then
   17782 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   17783 	else
   17784 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   17785 	fi
   17786 	;;
   17787       esac
   17788       link_all_deplibs=yes
   17789       ;;
   17790 
   17791     sunos4*)
   17792       if test sequent = "$host_vendor"; then
   17793 	# Use $CC to link under sequent, because it throws in some extra .o
   17794 	# files that make .init and .fini sections work.
   17795 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   17796       else
   17797 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   17798       fi
   17799       hardcode_libdir_flag_spec='-L$libdir'
   17800       hardcode_direct=yes
   17801       hardcode_minus_L=yes
   17802       hardcode_shlibpath_var=no
   17803       ;;
   17804 
   17805     sysv4)
   17806       case $host_vendor in
   17807 	sni)
   17808 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17809 	  hardcode_direct=yes # is this really true???
   17810 	;;
   17811 	siemens)
   17812 	  ## LD is ld it makes a PLAMLIB
   17813 	  ## CC just makes a GrossModule.
   17814 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   17815 	  reload_cmds='$CC -r -o $output$reload_objs'
   17816 	  hardcode_direct=no
   17817         ;;
   17818 	motorola)
   17819 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17820 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   17821 	;;
   17822       esac
   17823       runpath_var='LD_RUN_PATH'
   17824       hardcode_shlibpath_var=no
   17825       ;;
   17826 
   17827     sysv4.3*)
   17828       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17829       hardcode_shlibpath_var=no
   17830       export_dynamic_flag_spec='-Bexport'
   17831       ;;
   17832 
   17833     sysv4*MP*)
   17834       if test -d /usr/nec; then
   17835 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17836 	hardcode_shlibpath_var=no
   17837 	runpath_var=LD_RUN_PATH
   17838 	hardcode_runpath_var=yes
   17839 	ld_shlibs=yes
   17840       fi
   17841       ;;
   17842 
   17843     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   17844       no_undefined_flag='$wl-z,text'
   17845       archive_cmds_need_lc=no
   17846       hardcode_shlibpath_var=no
   17847       runpath_var='LD_RUN_PATH'
   17848 
   17849       if test yes = "$GCC"; then
   17850 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17851 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17852       else
   17853 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17854 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17855       fi
   17856       ;;
   17857 
   17858     sysv5* | sco3.2v5* | sco5v6*)
   17859       # Note: We CANNOT use -z defs as we might desire, because we do not
   17860       # link with -lc, and that would cause any symbols used from libc to
   17861       # always be unresolved, which means just about no library would
   17862       # ever link correctly.  If we're not using GNU ld we use -z text
   17863       # though, which does catch some bad symbols but isn't as heavy-handed
   17864       # as -z defs.
   17865       no_undefined_flag='$wl-z,text'
   17866       allow_undefined_flag='$wl-z,nodefs'
   17867       archive_cmds_need_lc=no
   17868       hardcode_shlibpath_var=no
   17869       hardcode_libdir_flag_spec='$wl-R,$libdir'
   17870       hardcode_libdir_separator=':'
   17871       link_all_deplibs=yes
   17872       export_dynamic_flag_spec='$wl-Bexport'
   17873       runpath_var='LD_RUN_PATH'
   17874 
   17875       if test yes = "$GCC"; then
   17876 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17877 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17878       else
   17879 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17880 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17881       fi
   17882       ;;
   17883 
   17884     uts4*)
   17885       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17886       hardcode_libdir_flag_spec='-L$libdir'
   17887       hardcode_shlibpath_var=no
   17888       ;;
   17889 
   17890     *)
   17891       ld_shlibs=no
   17892       ;;
   17893     esac
   17894 
   17895     if test sni = "$host_vendor"; then
   17896       case $host in
   17897       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   17898 	export_dynamic_flag_spec='$wl-Blargedynsym'
   17899 	;;
   17900       esac
   17901     fi
   17902   fi
   17903 
   17904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   17905 printf "%s\n" "$ld_shlibs" >&6; }
   17906 test no = "$ld_shlibs" && can_build_shared=no
   17907 
   17908 with_gnu_ld=$with_gnu_ld
   17909 
   17910 
   17911 
   17912 
   17913 
   17914 
   17915 
   17916 
   17917 
   17918 
   17919 
   17920 
   17921 
   17922 
   17923 
   17924 #
   17925 # Do we need to explicitly link libc?
   17926 #
   17927 case "x$archive_cmds_need_lc" in
   17928 x|xyes)
   17929   # Assume -lc should be added
   17930   archive_cmds_need_lc=yes
   17931 
   17932   if test yes,yes = "$GCC,$enable_shared"; then
   17933     case $archive_cmds in
   17934     *'~'*)
   17935       # FIXME: we may have to deal with multi-command sequences.
   17936       ;;
   17937     '$CC '*)
   17938       # Test whether the compiler implicitly links with -lc since on some
   17939       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   17940       # to ld, don't add -lc before -lgcc.
   17941       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   17942 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   17943 if test ${lt_cv_archive_cmds_need_lc+y}
   17944 then :
   17945   printf %s "(cached) " >&6
   17946 else case e in #(
   17947   e) $RM conftest*
   17948 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17949 
   17950 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   17951   (eval $ac_compile) 2>&5
   17952   ac_status=$?
   17953   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17954   test $ac_status = 0; } 2>conftest.err; then
   17955 	  soname=conftest
   17956 	  lib=conftest
   17957 	  libobjs=conftest.$ac_objext
   17958 	  deplibs=
   17959 	  wl=$lt_prog_compiler_wl
   17960 	  pic_flag=$lt_prog_compiler_pic
   17961 	  compiler_flags=-v
   17962 	  linker_flags=-v
   17963 	  verstring=
   17964 	  output_objdir=.
   17965 	  libname=conftest
   17966 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   17967 	  allow_undefined_flag=
   17968 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   17969   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   17970   ac_status=$?
   17971   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17972   test $ac_status = 0; }
   17973 	  then
   17974 	    lt_cv_archive_cmds_need_lc=no
   17975 	  else
   17976 	    lt_cv_archive_cmds_need_lc=yes
   17977 	  fi
   17978 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   17979 	else
   17980 	  cat conftest.err 1>&5
   17981 	fi
   17982 	$RM conftest*
   17983 	 ;;
   17984 esac
   17985 fi
   17986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   17987 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   17988       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   17989       ;;
   17990     esac
   17991   fi
   17992   ;;
   17993 esac
   17994 
   17995 
   17996 
   17997 
   17998 
   17999 
   18000 
   18001 
   18002 
   18003 
   18004 
   18005 
   18006 
   18007 
   18008 
   18009 
   18010 
   18011 
   18012 
   18013 
   18014 
   18015 
   18016 
   18017 
   18018 
   18019 
   18020 
   18021 
   18022 
   18023 
   18024 
   18025 
   18026 
   18027 
   18028 
   18029 
   18030 
   18031 
   18032 
   18033 
   18034 
   18035 
   18036 
   18037 
   18038 
   18039 
   18040 
   18041 
   18042 
   18043 
   18044 
   18045 
   18046 
   18047 
   18048 
   18049 
   18050 
   18051 
   18052 
   18053 
   18054 
   18055 
   18056 
   18057 
   18058 
   18059 
   18060 
   18061 
   18062 
   18063 
   18064 
   18065 
   18066 
   18067 
   18068 
   18069 
   18070 
   18071 
   18072 
   18073 
   18074 
   18075 
   18076 
   18077 
   18078 
   18079 
   18080 
   18081 
   18082 
   18083 
   18084 
   18085 
   18086 
   18087 
   18088 
   18089 
   18090 
   18091 
   18092 
   18093 
   18094 
   18095 
   18096 
   18097 
   18098 
   18099 
   18100 
   18101 
   18102 
   18103 
   18104 
   18105 
   18106 
   18107 
   18108 
   18109 
   18110 
   18111 
   18112 
   18113 
   18114 
   18115 
   18116 
   18117 
   18118 
   18119 
   18120 
   18121 
   18122 
   18123 
   18124 
   18125 
   18126 
   18127 
   18128 
   18129 
   18130 
   18131 
   18132 
   18133 
   18134 
   18135 
   18136 
   18137 
   18138 
   18139 
   18140 
   18141 
   18142 
   18143 
   18144 
   18145 
   18146   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   18147 printf %s "checking dynamic linker characteristics... " >&6; }
   18148 
   18149 if test yes = "$GCC"; then
   18150   case $host_os in
   18151     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   18152     *) lt_awk_arg='/^libraries:/' ;;
   18153   esac
   18154   case $host_os in
   18155     mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   18156     *) lt_sed_strip_eq='s|=/|/|g' ;;
   18157   esac
   18158   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   18159   case $lt_search_path_spec in
   18160   *\;*)
   18161     # if the path contains ";" then we assume it to be the separator
   18162     # otherwise default to the standard path separator (i.e. ":") - it is
   18163     # assumed that no part of a normal pathname contains ";" but that should
   18164     # okay in the real world where ";" in dirpaths is itself problematic.
   18165     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   18166     ;;
   18167   *)
   18168     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   18169     ;;
   18170   esac
   18171   # Ok, now we have the path, separated by spaces, we can step through it
   18172   # and add multilib dir if necessary...
   18173   lt_tmp_lt_search_path_spec=
   18174   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   18175   # ...but if some path component already ends with the multilib dir we assume
   18176   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   18177   case "$lt_multi_os_dir; $lt_search_path_spec " in
   18178   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   18179     lt_multi_os_dir=
   18180     ;;
   18181   esac
   18182   for lt_sys_path in $lt_search_path_spec; do
   18183     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   18184       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   18185     elif test -n "$lt_multi_os_dir"; then
   18186       test -d "$lt_sys_path" && \
   18187 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   18188     fi
   18189   done
   18190   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   18191 BEGIN {RS = " "; FS = "/|\n";} {
   18192   lt_foo = "";
   18193   lt_count = 0;
   18194   for (lt_i = NF; lt_i > 0; lt_i--) {
   18195     if ($lt_i != "" && $lt_i != ".") {
   18196       if ($lt_i == "..") {
   18197         lt_count++;
   18198       } else {
   18199         if (lt_count == 0) {
   18200           lt_foo = "/" $lt_i lt_foo;
   18201         } else {
   18202           lt_count--;
   18203         }
   18204       }
   18205     }
   18206   }
   18207   if (lt_foo != "") { lt_freq[lt_foo]++; }
   18208   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   18209 }'`
   18210   # AWK program above erroneously prepends '/' to C:/dos/paths
   18211   # for these hosts.
   18212   case $host_os in
   18213     mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   18214       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   18215   esac
   18216   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   18217 else
   18218   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   18219 fi
   18220 library_names_spec=
   18221 libname_spec='lib$name'
   18222 soname_spec=
   18223 shrext_cmds=.so
   18224 postinstall_cmds=
   18225 postuninstall_cmds=
   18226 finish_cmds=
   18227 finish_eval=
   18228 shlibpath_var=
   18229 shlibpath_overrides_runpath=unknown
   18230 version_type=none
   18231 dynamic_linker="$host_os ld.so"
   18232 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   18233 need_lib_prefix=unknown
   18234 hardcode_into_libs=no
   18235 
   18236 # when you set need_version to no, make sure it does not cause -set_version
   18237 # flags to be left without arguments
   18238 need_version=unknown
   18239 
   18240 
   18241 
   18242 case $host_os in
   18243 aix3*)
   18244   version_type=linux # correct to gnu/linux during the next big refactor
   18245   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   18246   shlibpath_var=LIBPATH
   18247 
   18248   # AIX 3 has no versioning support, so we append a major version to the name.
   18249   soname_spec='$libname$release$shared_ext$major'
   18250   ;;
   18251 
   18252 aix[4-9]*)
   18253   version_type=linux # correct to gnu/linux during the next big refactor
   18254   need_lib_prefix=no
   18255   need_version=no
   18256   hardcode_into_libs=yes
   18257   if test ia64 = "$host_cpu"; then
   18258     # AIX 5 supports IA64
   18259     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   18260     shlibpath_var=LD_LIBRARY_PATH
   18261   else
   18262     # With GCC up to 2.95.x, collect2 would create an import file
   18263     # for dependence libraries.  The import file would start with
   18264     # the line '#! .'.  This would cause the generated library to
   18265     # depend on '.', always an invalid library.  This was fixed in
   18266     # development snapshots of GCC prior to 3.0.
   18267     case $host_os in
   18268       aix4 | aix4.[01] | aix4.[01].*)
   18269       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   18270 	   echo ' yes '
   18271 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   18272 	:
   18273       else
   18274 	can_build_shared=no
   18275       fi
   18276       ;;
   18277     esac
   18278     # Using Import Files as archive members, it is possible to support
   18279     # filename-based versioning of shared library archives on AIX. While
   18280     # this would work for both with and without runtime linking, it will
   18281     # prevent static linking of such archives. So we do filename-based
   18282     # shared library versioning with .so extension only, which is used
   18283     # when both runtime linking and shared linking is enabled.
   18284     # Unfortunately, runtime linking may impact performance, so we do
   18285     # not want this to be the default eventually. Also, we use the
   18286     # versioned .so libs for executables only if there is the -brtl
   18287     # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
   18288     # To allow for filename-based versioning support, we need to create
   18289     # libNAME.so.V as an archive file, containing:
   18290     # *) an Import File, referring to the versioned filename of the
   18291     #    archive as well as the shared archive member, telling the
   18292     #    bitwidth (32 or 64) of that shared object, and providing the
   18293     #    list of exported symbols of that shared object, eventually
   18294     #    decorated with the 'weak' keyword
   18295     # *) the shared object with the F_LOADONLY flag set, to really avoid
   18296     #    it being seen by the linker.
   18297     # At run time we better use the real file rather than another symlink,
   18298     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   18299 
   18300     case $with_aix_soname,$aix_use_runtimelinking in
   18301     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   18302     # soname into executable. Probably we can add versioning support to
   18303     # collect2, so additional links can be useful in future.
   18304     aix,yes) # traditional libtool
   18305       dynamic_linker='AIX unversionable lib.so'
   18306       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   18307       # instead of lib<name>.a to let people know that these are not
   18308       # typical AIX shared libraries.
   18309       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18310       ;;
   18311     aix,no) # traditional AIX only
   18312       dynamic_linker='AIX lib.a(lib.so.V)'
   18313       # We preserve .a as extension for shared libraries through AIX4.2
   18314       # and later when we are not doing run time linking.
   18315       library_names_spec='$libname$release.a $libname.a'
   18316       soname_spec='$libname$release$shared_ext$major'
   18317       ;;
   18318     svr4,*) # full svr4 only
   18319       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   18320       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   18321       # We do not specify a path in Import Files, so LIBPATH fires.
   18322       shlibpath_overrides_runpath=yes
   18323       ;;
   18324     *,yes) # both, prefer svr4
   18325       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   18326       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   18327       # unpreferred sharedlib libNAME.a needs extra handling
   18328       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"'
   18329       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"'
   18330       # We do not specify a path in Import Files, so LIBPATH fires.
   18331       shlibpath_overrides_runpath=yes
   18332       ;;
   18333     *,no) # both, prefer aix
   18334       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   18335       library_names_spec='$libname$release.a $libname.a'
   18336       soname_spec='$libname$release$shared_ext$major'
   18337       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   18338       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)'
   18339       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"'
   18340       ;;
   18341     esac
   18342     shlibpath_var=LIBPATH
   18343   fi
   18344   ;;
   18345 
   18346 amigaos*)
   18347   case $host_cpu in
   18348   powerpc)
   18349     # Since July 2007 AmigaOS4 officially supports .so libraries.
   18350     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   18351     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18352     ;;
   18353   m68k)
   18354     library_names_spec='$libname.ixlibrary $libname.a'
   18355     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   18356     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'
   18357     ;;
   18358   esac
   18359   ;;
   18360 
   18361 beos*)
   18362   library_names_spec='$libname$shared_ext'
   18363   dynamic_linker="$host_os ld.so"
   18364   shlibpath_var=LIBRARY_PATH
   18365   ;;
   18366 
   18367 bsdi[45]*)
   18368   version_type=linux # correct to gnu/linux during the next big refactor
   18369   need_version=no
   18370   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18371   soname_spec='$libname$release$shared_ext$major'
   18372   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   18373   shlibpath_var=LD_LIBRARY_PATH
   18374   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   18375   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   18376   # the default ld.so.conf also contains /usr/contrib/lib and
   18377   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   18378   # libtool to hard-code these into programs
   18379   ;;
   18380 
   18381 cygwin* | mingw* | windows* | pw32* | cegcc*)
   18382   version_type=windows
   18383   shrext_cmds=.dll
   18384   need_version=no
   18385   need_lib_prefix=no
   18386 
   18387   case $GCC,$cc_basename in
   18388   yes,*)
   18389     # gcc
   18390     library_names_spec='$libname.dll.a'
   18391     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18392     # If user builds GCC with mulitlibs enabled,
   18393     # it should just install on $(libdir)
   18394     # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
   18395     if test yes = $multilib; then
   18396     postinstall_cmds='base_file=`basename \$file`~
   18397       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   18398       dldir=$destdir/`dirname \$dlpath`~
   18399       $install_prog $dir/$dlname $destdir/$dlname~
   18400       chmod a+x $destdir/$dlname~
   18401       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   18402         eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
   18403       fi'
   18404     else
   18405     postinstall_cmds='base_file=`basename \$file`~
   18406       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   18407       dldir=$destdir/`dirname \$dlpath`~
   18408       test -d \$dldir || mkdir -p \$dldir~
   18409       $install_prog $dir/$dlname \$dldir/$dlname~
   18410       chmod a+x \$dldir/$dlname~
   18411       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   18412         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   18413       fi'
   18414     fi
   18415     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18416       dlpath=$dir/\$dldll~
   18417        $RM \$dlpath'
   18418     shlibpath_overrides_runpath=yes
   18419 
   18420     case $host_os in
   18421     cygwin*)
   18422       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18423       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18424 
   18425       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   18426       ;;
   18427     mingw* | windows* | cegcc*)
   18428       # MinGW DLLs use traditional 'lib' prefix
   18429       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18430       ;;
   18431     pw32*)
   18432       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18433       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18434       ;;
   18435     esac
   18436     dynamic_linker='Win32 ld.exe'
   18437     ;;
   18438 
   18439   *,cl* | *,icl*)
   18440     # Native MSVC or ICC
   18441     libname_spec='$name'
   18442     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18443     library_names_spec='$libname.dll.lib'
   18444 
   18445     case $build_os in
   18446     mingw* | windows*)
   18447       sys_lib_search_path_spec=
   18448       lt_save_ifs=$IFS
   18449       IFS=';'
   18450       for lt_path in $LIB
   18451       do
   18452         IFS=$lt_save_ifs
   18453         # Let DOS variable expansion print the short 8.3 style file name.
   18454         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   18455         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   18456       done
   18457       IFS=$lt_save_ifs
   18458       # Convert to MSYS style.
   18459       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   18460       ;;
   18461     cygwin*)
   18462       # Convert to unix form, then to dos form, then back to unix form
   18463       # but this time dos style (no spaces!) so that the unix form looks
   18464       # like /cygdrive/c/PROGRA~1:/cygdr...
   18465       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   18466       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   18467       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   18468       ;;
   18469     *)
   18470       sys_lib_search_path_spec=$LIB
   18471       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   18472         # It is most probably a Windows format PATH.
   18473         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18474       else
   18475         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   18476       fi
   18477       # FIXME: find the short name or the path components, as spaces are
   18478       # common. (e.g. "Program Files" -> "PROGRA~1")
   18479       ;;
   18480     esac
   18481 
   18482     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18483     postinstall_cmds='base_file=`basename \$file`~
   18484       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   18485       dldir=$destdir/`dirname \$dlpath`~
   18486       test -d \$dldir || mkdir -p \$dldir~
   18487       $install_prog $dir/$dlname \$dldir/$dlname'
   18488     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18489       dlpath=$dir/\$dldll~
   18490        $RM \$dlpath'
   18491     shlibpath_overrides_runpath=yes
   18492     dynamic_linker='Win32 link.exe'
   18493     ;;
   18494 
   18495   *)
   18496     # Assume MSVC and ICC wrapper
   18497     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   18498     dynamic_linker='Win32 ld.exe'
   18499     ;;
   18500   esac
   18501   # FIXME: first we should search . and the directory the executable is in
   18502   shlibpath_var=PATH
   18503   ;;
   18504 
   18505 darwin* | rhapsody*)
   18506   dynamic_linker="$host_os dyld"
   18507   version_type=darwin
   18508   need_lib_prefix=no
   18509   need_version=no
   18510   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   18511   soname_spec='$libname$release$major$shared_ext'
   18512   shlibpath_overrides_runpath=yes
   18513   shlibpath_var=DYLD_LIBRARY_PATH
   18514   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18515 
   18516   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   18517   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18518   ;;
   18519 
   18520 dgux*)
   18521   version_type=linux # correct to gnu/linux during the next big refactor
   18522   need_lib_prefix=no
   18523   need_version=no
   18524   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18525   soname_spec='$libname$release$shared_ext$major'
   18526   shlibpath_var=LD_LIBRARY_PATH
   18527   ;;
   18528 
   18529 freebsd* | dragonfly* | midnightbsd*)
   18530   # DragonFly does not have aout.  When/if they implement a new
   18531   # versioning mechanism, adjust this.
   18532   if test -x /usr/bin/objformat; then
   18533     objformat=`/usr/bin/objformat`
   18534   else
   18535     case $host_os in
   18536     freebsd[23].*) objformat=aout ;;
   18537     *) objformat=elf ;;
   18538     esac
   18539   fi
   18540   version_type=freebsd-$objformat
   18541   case $version_type in
   18542     freebsd-elf*)
   18543       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18544       soname_spec='$libname$release$shared_ext$major'
   18545       need_version=no
   18546       need_lib_prefix=no
   18547       ;;
   18548     freebsd-*)
   18549       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18550       need_version=yes
   18551       ;;
   18552   esac
   18553   case $host_cpu in
   18554     powerpc64)
   18555       # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
   18556       # binaries.  See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
   18557       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18558 /* end confdefs.h.  */
   18559 int test_pointer_size[sizeof (void *) - 5];
   18560 
   18561 _ACEOF
   18562 if ac_fn_c_try_compile "$LINENO"
   18563 then :
   18564   shlibpath_var=LD_LIBRARY_PATH
   18565 else case e in #(
   18566   e) shlibpath_var=LD_32_LIBRARY_PATH ;;
   18567 esac
   18568 fi
   18569 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18570       ;;
   18571     *)
   18572       shlibpath_var=LD_LIBRARY_PATH
   18573       ;;
   18574   esac
   18575   case $host_os in
   18576   freebsd2.*)
   18577     shlibpath_overrides_runpath=yes
   18578     ;;
   18579   freebsd3.[01]* | freebsdelf3.[01]*)
   18580     shlibpath_overrides_runpath=yes
   18581     hardcode_into_libs=yes
   18582     ;;
   18583   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18584   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18585     shlibpath_overrides_runpath=no
   18586     hardcode_into_libs=yes
   18587     ;;
   18588   *) # from 4.6 on, and DragonFly
   18589     shlibpath_overrides_runpath=yes
   18590     hardcode_into_libs=yes
   18591     ;;
   18592   esac
   18593   ;;
   18594 
   18595 haiku*)
   18596   version_type=linux # correct to gnu/linux during the next big refactor
   18597   need_lib_prefix=no
   18598   need_version=no
   18599   dynamic_linker="$host_os runtime_loader"
   18600   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18601   soname_spec='$libname$release$shared_ext$major'
   18602   shlibpath_var=LIBRARY_PATH
   18603   shlibpath_overrides_runpath=no
   18604   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   18605   hardcode_into_libs=yes
   18606   ;;
   18607 
   18608 hpux9* | hpux10* | hpux11*)
   18609   # Give a soname corresponding to the major version so that dld.sl refuses to
   18610   # link against other versions.
   18611   version_type=sunos
   18612   need_lib_prefix=no
   18613   need_version=no
   18614   case $host_cpu in
   18615   ia64*)
   18616     shrext_cmds='.so'
   18617     hardcode_into_libs=yes
   18618     dynamic_linker="$host_os dld.so"
   18619     shlibpath_var=LD_LIBRARY_PATH
   18620     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18621     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18622     soname_spec='$libname$release$shared_ext$major'
   18623     if test 32 = "$HPUX_IA64_MODE"; then
   18624       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18625       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   18626     else
   18627       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18628       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   18629     fi
   18630     ;;
   18631   hppa*64*)
   18632     shrext_cmds='.sl'
   18633     hardcode_into_libs=yes
   18634     dynamic_linker="$host_os dld.sl"
   18635     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18636     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18637     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18638     soname_spec='$libname$release$shared_ext$major'
   18639     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18640     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18641     ;;
   18642   *)
   18643     shrext_cmds='.sl'
   18644     dynamic_linker="$host_os dld.sl"
   18645     shlibpath_var=SHLIB_PATH
   18646     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18647     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18648     soname_spec='$libname$release$shared_ext$major'
   18649     ;;
   18650   esac
   18651   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   18652   postinstall_cmds='chmod 555 $lib'
   18653   # or fails outright, so override atomically:
   18654   install_override_mode=555
   18655   ;;
   18656 
   18657 interix[3-9]*)
   18658   version_type=linux # correct to gnu/linux during the next big refactor
   18659   need_lib_prefix=no
   18660   need_version=no
   18661   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18662   soname_spec='$libname$release$shared_ext$major'
   18663   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18664   shlibpath_var=LD_LIBRARY_PATH
   18665   shlibpath_overrides_runpath=no
   18666   hardcode_into_libs=yes
   18667   ;;
   18668 
   18669 irix5* | irix6* | nonstopux*)
   18670   case $host_os in
   18671     nonstopux*) version_type=nonstopux ;;
   18672     *)
   18673 	if test yes = "$lt_cv_prog_gnu_ld"; then
   18674 		version_type=linux # correct to gnu/linux during the next big refactor
   18675 	else
   18676 		version_type=irix
   18677 	fi ;;
   18678   esac
   18679   need_lib_prefix=no
   18680   need_version=no
   18681   soname_spec='$libname$release$shared_ext$major'
   18682   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   18683   case $host_os in
   18684   irix5* | nonstopux*)
   18685     libsuff= shlibsuff=
   18686     ;;
   18687   *)
   18688     case $LD in # libtool.m4 will add one of these switches to LD
   18689     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18690       libsuff= shlibsuff= libmagic=32-bit;;
   18691     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18692       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18693     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18694       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18695     *) libsuff= shlibsuff= libmagic=never-match;;
   18696     esac
   18697     ;;
   18698   esac
   18699   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18700   shlibpath_overrides_runpath=no
   18701   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   18702   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   18703   hardcode_into_libs=yes
   18704   ;;
   18705 
   18706 # No shared lib support for Linux oldld, aout, or coff.
   18707 linux*oldld* | linux*aout* | linux*coff*)
   18708   dynamic_linker=no
   18709   ;;
   18710 
   18711 linux*android*)
   18712   version_type=none # Android doesn't support versioned libraries.
   18713   need_lib_prefix=no
   18714   need_version=no
   18715   library_names_spec='$libname$release$shared_ext $libname$shared_ext'
   18716   soname_spec='$libname$release$shared_ext'
   18717   finish_cmds=
   18718   shlibpath_var=LD_LIBRARY_PATH
   18719   shlibpath_overrides_runpath=yes
   18720 
   18721   # This implies no fast_install, which is unacceptable.
   18722   # Some rework will be needed to allow for fast_install
   18723   # before this can be enabled.
   18724   hardcode_into_libs=yes
   18725 
   18726   dynamic_linker='Android linker'
   18727   # -rpath works at least for libraries that are not overridden by
   18728   # libraries installed in system locations.
   18729   hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   18730   ;;
   18731 
   18732 # This must be glibc/ELF.
   18733 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   18734   version_type=linux # correct to gnu/linux during the next big refactor
   18735   need_lib_prefix=no
   18736   need_version=no
   18737   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18738   soname_spec='$libname$release$shared_ext$major'
   18739   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18740   shlibpath_var=LD_LIBRARY_PATH
   18741   shlibpath_overrides_runpath=no
   18742 
   18743   # Some binutils ld are patched to set DT_RUNPATH
   18744   if test ${lt_cv_shlibpath_overrides_runpath+y}
   18745 then :
   18746   printf %s "(cached) " >&6
   18747 else case e in #(
   18748   e) lt_cv_shlibpath_overrides_runpath=no
   18749     save_LDFLAGS=$LDFLAGS
   18750     save_libdir=$libdir
   18751     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   18752 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   18753     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18754 /* end confdefs.h.  */
   18755 
   18756 int
   18757 main (void)
   18758 {
   18759 
   18760   ;
   18761   return 0;
   18762 }
   18763 _ACEOF
   18764 if ac_fn_c_try_link "$LINENO"
   18765 then :
   18766   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   18767 then :
   18768   lt_cv_shlibpath_overrides_runpath=yes
   18769 fi
   18770 fi
   18771 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18772     conftest$ac_exeext conftest.$ac_ext
   18773     LDFLAGS=$save_LDFLAGS
   18774     libdir=$save_libdir
   18775      ;;
   18776 esac
   18777 fi
   18778 
   18779   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   18780 
   18781   # This implies no fast_install, which is unacceptable.
   18782   # Some rework will be needed to allow for fast_install
   18783   # before this can be enabled.
   18784   hardcode_into_libs=yes
   18785 
   18786   # Ideally, we could use ldconfig to report *all* directories which are
   18787   # searched for libraries, however this is still not possible.  Aside from not
   18788   # being certain /sbin/ldconfig is available, command
   18789   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   18790   # even though it is searched at run-time.  Try to do the best guess by
   18791   # appending ld.so.conf contents (and includes) to the search path.
   18792   if test -f /etc/ld.so.conf; then
   18793     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' ' '`
   18794     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   18795   fi
   18796 
   18797   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18798   # powerpc, because MkLinux only supported shared libraries with the
   18799   # GNU dynamic linker.  Since this was broken with cross compilers,
   18800   # most powerpc-linux boxes support dynamic linking these days and
   18801   # people can always --disable-shared, the test was removed, and we
   18802   # assume the GNU/Linux dynamic linker is in use.
   18803   dynamic_linker='GNU/Linux ld.so'
   18804   ;;
   18805 
   18806 netbsd*)
   18807   version_type=sunos
   18808   need_lib_prefix=no
   18809   need_version=no
   18810   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   18811     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18812     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18813     dynamic_linker='NetBSD (a.out) ld.so'
   18814   else
   18815     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18816     soname_spec='$libname$release$shared_ext$major'
   18817     dynamic_linker='NetBSD ld.elf_so'
   18818   fi
   18819   shlibpath_var=LD_LIBRARY_PATH
   18820   shlibpath_overrides_runpath=yes
   18821   hardcode_into_libs=yes
   18822   ;;
   18823 
   18824 newsos6)
   18825   version_type=linux # correct to gnu/linux during the next big refactor
   18826   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18827   shlibpath_var=LD_LIBRARY_PATH
   18828   shlibpath_overrides_runpath=yes
   18829   ;;
   18830 
   18831 *nto* | *qnx*)
   18832   version_type=qnx
   18833   need_lib_prefix=no
   18834   need_version=no
   18835   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18836   soname_spec='$libname$release$shared_ext$major'
   18837   shlibpath_var=LD_LIBRARY_PATH
   18838   shlibpath_overrides_runpath=no
   18839   hardcode_into_libs=yes
   18840   dynamic_linker='ldqnx.so'
   18841   ;;
   18842 
   18843 openbsd*)
   18844   version_type=sunos
   18845   sys_lib_dlsearch_path_spec=/usr/lib
   18846   need_lib_prefix=no
   18847   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   18848     need_version=no
   18849   else
   18850     need_version=yes
   18851   fi
   18852   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18853   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18854   shlibpath_var=LD_LIBRARY_PATH
   18855   shlibpath_overrides_runpath=yes
   18856   ;;
   18857 
   18858 os2*)
   18859   libname_spec='$name'
   18860   version_type=windows
   18861   shrext_cmds=.dll
   18862   need_version=no
   18863   need_lib_prefix=no
   18864   # OS/2 can only load a DLL with a base name of 8 characters or less.
   18865   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   18866     v=$($ECHO $release$versuffix | tr -d .-);
   18867     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   18868     $ECHO $n$v`$shared_ext'
   18869   library_names_spec='${libname}_dll.$libext'
   18870   dynamic_linker='OS/2 ld.exe'
   18871   shlibpath_var=BEGINLIBPATH
   18872   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   18873   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18874   postinstall_cmds='base_file=`basename \$file`~
   18875     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   18876     dldir=$destdir/`dirname \$dlpath`~
   18877     test -d \$dldir || mkdir -p \$dldir~
   18878     $install_prog $dir/$dlname \$dldir/$dlname~
   18879     chmod a+x \$dldir/$dlname~
   18880     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   18881       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   18882     fi'
   18883   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   18884     dlpath=$dir/\$dldll~
   18885     $RM \$dlpath'
   18886   ;;
   18887 
   18888 osf3* | osf4* | osf5*)
   18889   version_type=osf
   18890   need_lib_prefix=no
   18891   need_version=no
   18892   soname_spec='$libname$release$shared_ext$major'
   18893   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18894   shlibpath_var=LD_LIBRARY_PATH
   18895   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18896   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18897   ;;
   18898 
   18899 rdos*)
   18900   dynamic_linker=no
   18901   ;;
   18902 
   18903 solaris*)
   18904   version_type=linux # correct to gnu/linux during the next big refactor
   18905   need_lib_prefix=no
   18906   need_version=no
   18907   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18908   soname_spec='$libname$release$shared_ext$major'
   18909   shlibpath_var=LD_LIBRARY_PATH
   18910   shlibpath_overrides_runpath=yes
   18911   hardcode_into_libs=yes
   18912   # ldd complains unless libraries are executable
   18913   postinstall_cmds='chmod +x $lib'
   18914   ;;
   18915 
   18916 sunos4*)
   18917   version_type=sunos
   18918   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18919   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18920   shlibpath_var=LD_LIBRARY_PATH
   18921   shlibpath_overrides_runpath=yes
   18922   if test yes = "$with_gnu_ld"; then
   18923     need_lib_prefix=no
   18924   fi
   18925   need_version=yes
   18926   ;;
   18927 
   18928 sysv4 | sysv4.3*)
   18929   version_type=linux # correct to gnu/linux during the next big refactor
   18930   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18931   soname_spec='$libname$release$shared_ext$major'
   18932   shlibpath_var=LD_LIBRARY_PATH
   18933   case $host_vendor in
   18934     sni)
   18935       shlibpath_overrides_runpath=no
   18936       need_lib_prefix=no
   18937       runpath_var=LD_RUN_PATH
   18938       ;;
   18939     siemens)
   18940       need_lib_prefix=no
   18941       ;;
   18942     motorola)
   18943       need_lib_prefix=no
   18944       need_version=no
   18945       shlibpath_overrides_runpath=no
   18946       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18947       ;;
   18948   esac
   18949   ;;
   18950 
   18951 sysv4*MP*)
   18952   if test -d /usr/nec; then
   18953     version_type=linux # correct to gnu/linux during the next big refactor
   18954     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   18955     soname_spec='$libname$shared_ext.$major'
   18956     shlibpath_var=LD_LIBRARY_PATH
   18957   fi
   18958   ;;
   18959 
   18960 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18961   version_type=sco
   18962   need_lib_prefix=no
   18963   need_version=no
   18964   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   18965   soname_spec='$libname$release$shared_ext$major'
   18966   shlibpath_var=LD_LIBRARY_PATH
   18967   shlibpath_overrides_runpath=yes
   18968   hardcode_into_libs=yes
   18969   if test yes = "$with_gnu_ld"; then
   18970     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18971   else
   18972     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18973     case $host_os in
   18974       sco3.2v5*)
   18975         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18976 	;;
   18977     esac
   18978   fi
   18979   sys_lib_dlsearch_path_spec='/usr/lib'
   18980   ;;
   18981 
   18982 tpf*)
   18983   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   18984   version_type=linux # correct to gnu/linux during the next big refactor
   18985   need_lib_prefix=no
   18986   need_version=no
   18987   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18988   shlibpath_var=LD_LIBRARY_PATH
   18989   shlibpath_overrides_runpath=no
   18990   hardcode_into_libs=yes
   18991   ;;
   18992 
   18993 uts4*)
   18994   version_type=linux # correct to gnu/linux during the next big refactor
   18995   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18996   soname_spec='$libname$release$shared_ext$major'
   18997   shlibpath_var=LD_LIBRARY_PATH
   18998   ;;
   18999 
   19000 *)
   19001   dynamic_linker=no
   19002   ;;
   19003 esac
   19004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   19005 printf "%s\n" "$dynamic_linker" >&6; }
   19006 test no = "$dynamic_linker" && can_build_shared=no
   19007 
   19008 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   19009 if test yes = "$GCC"; then
   19010   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   19011 fi
   19012 
   19013 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   19014   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   19015 fi
   19016 
   19017 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   19018   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   19019 fi
   19020 
   19021 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   19022 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   19023 
   19024 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   19025 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   19026 
   19027 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   19028 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   19029 
   19030 
   19031 
   19032 
   19033 
   19034 
   19035 
   19036 
   19037 
   19038 
   19039 
   19040 
   19041 
   19042 
   19043 
   19044 
   19045 
   19046 
   19047 
   19048 
   19049 
   19050 
   19051 
   19052 
   19053 
   19054 
   19055 
   19056 
   19057 
   19058 
   19059 
   19060 
   19061 
   19062 
   19063 
   19064 
   19065 
   19066 
   19067 
   19068 
   19069 
   19070 
   19071 
   19072 
   19073 
   19074 
   19075 
   19076 
   19077 
   19078 
   19079 
   19080 
   19081 
   19082 
   19083 
   19084 
   19085 
   19086 
   19087 
   19088 
   19089 
   19090 
   19091 
   19092 
   19093 
   19094 
   19095 
   19096 
   19097 
   19098 
   19099 
   19100 
   19101 
   19102 
   19103 
   19104 
   19105 
   19106 
   19107 
   19108 
   19109 
   19110 
   19111 
   19112 
   19113 
   19114 
   19115 
   19116 
   19117 
   19118 
   19119 
   19120 
   19121 
   19122 
   19123 
   19124 
   19125 
   19126   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   19127 printf %s "checking how to hardcode library paths into programs... " >&6; }
   19128 hardcode_action=
   19129 if test -n "$hardcode_libdir_flag_spec" ||
   19130    test -n "$runpath_var" ||
   19131    test yes = "$hardcode_automatic"; then
   19132 
   19133   # We can hardcode non-existent directories.
   19134   if test no != "$hardcode_direct" &&
   19135      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   19136      # have to relink, otherwise we might link with an installed library
   19137      # when we should be linking with a yet-to-be-installed one
   19138      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   19139      test no != "$hardcode_minus_L"; then
   19140     # Linking always hardcodes the temporary library directory.
   19141     hardcode_action=relink
   19142   else
   19143     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   19144     hardcode_action=immediate
   19145   fi
   19146 else
   19147   # We cannot hardcode anything, or else we can only hardcode existing
   19148   # directories.
   19149   hardcode_action=unsupported
   19150 fi
   19151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   19152 printf "%s\n" "$hardcode_action" >&6; }
   19153 
   19154 if test relink = "$hardcode_action" ||
   19155    test yes = "$inherit_rpath"; then
   19156   # Fast installation is not supported
   19157   enable_fast_install=no
   19158 elif test yes = "$shlibpath_overrides_runpath" ||
   19159      test no = "$enable_shared"; then
   19160   # Fast installation is not necessary
   19161   enable_fast_install=needless
   19162 fi
   19163 
   19164 
   19165 
   19166 
   19167 
   19168 
   19169   if test yes != "$enable_dlopen"; then
   19170   enable_dlopen=unknown
   19171   enable_dlopen_self=unknown
   19172   enable_dlopen_self_static=unknown
   19173 else
   19174   lt_cv_dlopen=no
   19175   lt_cv_dlopen_libs=
   19176 
   19177   case $host_os in
   19178   beos*)
   19179     lt_cv_dlopen=load_add_on
   19180     lt_cv_dlopen_libs=
   19181     lt_cv_dlopen_self=yes
   19182     ;;
   19183 
   19184   mingw* | windows* | pw32* | cegcc*)
   19185     lt_cv_dlopen=LoadLibrary
   19186     lt_cv_dlopen_libs=
   19187     ;;
   19188 
   19189   cygwin*)
   19190     lt_cv_dlopen=dlopen
   19191     lt_cv_dlopen_libs=
   19192     ;;
   19193 
   19194   darwin*)
   19195     # if libdl is installed we need to link against it
   19196     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   19197 printf %s "checking for dlopen in -ldl... " >&6; }
   19198 if test ${ac_cv_lib_dl_dlopen+y}
   19199 then :
   19200   printf %s "(cached) " >&6
   19201 else case e in #(
   19202   e) ac_check_lib_save_LIBS=$LIBS
   19203 LIBS="-ldl  $LIBS"
   19204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19205 /* end confdefs.h.  */
   19206 
   19207 /* Override any GCC internal prototype to avoid an error.
   19208    Use char because int might match the return type of a GCC
   19209    builtin and then its argument prototype would still apply.
   19210    The 'extern "C"' is for builds by C++ compilers;
   19211    although this is not generally supported in C code supporting it here
   19212    has little cost and some practical benefit (sr 110532).  */
   19213 #ifdef __cplusplus
   19214 extern "C"
   19215 #endif
   19216 char dlopen (void);
   19217 int
   19218 main (void)
   19219 {
   19220 return dlopen ();
   19221   ;
   19222   return 0;
   19223 }
   19224 _ACEOF
   19225 if ac_fn_c_try_link "$LINENO"
   19226 then :
   19227   ac_cv_lib_dl_dlopen=yes
   19228 else case e in #(
   19229   e) ac_cv_lib_dl_dlopen=no ;;
   19230 esac
   19231 fi
   19232 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19233     conftest$ac_exeext conftest.$ac_ext
   19234 LIBS=$ac_check_lib_save_LIBS ;;
   19235 esac
   19236 fi
   19237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   19238 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   19239 if test "x$ac_cv_lib_dl_dlopen" = xyes
   19240 then :
   19241   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   19242 else case e in #(
   19243   e)
   19244     lt_cv_dlopen=dyld
   19245     lt_cv_dlopen_libs=
   19246     lt_cv_dlopen_self=yes
   19247      ;;
   19248 esac
   19249 fi
   19250 
   19251     ;;
   19252 
   19253   tpf*)
   19254     # Don't try to run any link tests for TPF.  We know it's impossible
   19255     # because TPF is a cross-compiler, and we know how we open DSOs.
   19256     lt_cv_dlopen=dlopen
   19257     lt_cv_dlopen_libs=
   19258     lt_cv_dlopen_self=no
   19259     ;;
   19260 
   19261   *)
   19262     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   19263 if test "x$ac_cv_func_shl_load" = xyes
   19264 then :
   19265   lt_cv_dlopen=shl_load
   19266 else case e in #(
   19267   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   19268 printf %s "checking for shl_load in -ldld... " >&6; }
   19269 if test ${ac_cv_lib_dld_shl_load+y}
   19270 then :
   19271   printf %s "(cached) " >&6
   19272 else case e in #(
   19273   e) ac_check_lib_save_LIBS=$LIBS
   19274 LIBS="-ldld  $LIBS"
   19275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19276 /* end confdefs.h.  */
   19277 
   19278 /* Override any GCC internal prototype to avoid an error.
   19279    Use char because int might match the return type of a GCC
   19280    builtin and then its argument prototype would still apply.
   19281    The 'extern "C"' is for builds by C++ compilers;
   19282    although this is not generally supported in C code supporting it here
   19283    has little cost and some practical benefit (sr 110532).  */
   19284 #ifdef __cplusplus
   19285 extern "C"
   19286 #endif
   19287 char shl_load (void);
   19288 int
   19289 main (void)
   19290 {
   19291 return shl_load ();
   19292   ;
   19293   return 0;
   19294 }
   19295 _ACEOF
   19296 if ac_fn_c_try_link "$LINENO"
   19297 then :
   19298   ac_cv_lib_dld_shl_load=yes
   19299 else case e in #(
   19300   e) ac_cv_lib_dld_shl_load=no ;;
   19301 esac
   19302 fi
   19303 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19304     conftest$ac_exeext conftest.$ac_ext
   19305 LIBS=$ac_check_lib_save_LIBS ;;
   19306 esac
   19307 fi
   19308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   19309 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   19310 if test "x$ac_cv_lib_dld_shl_load" = xyes
   19311 then :
   19312   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   19313 else case e in #(
   19314   e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   19315 if test "x$ac_cv_func_dlopen" = xyes
   19316 then :
   19317   lt_cv_dlopen=dlopen
   19318 else case e in #(
   19319   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   19320 printf %s "checking for dlopen in -ldl... " >&6; }
   19321 if test ${ac_cv_lib_dl_dlopen+y}
   19322 then :
   19323   printf %s "(cached) " >&6
   19324 else case e in #(
   19325   e) ac_check_lib_save_LIBS=$LIBS
   19326 LIBS="-ldl  $LIBS"
   19327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19328 /* end confdefs.h.  */
   19329 
   19330 /* Override any GCC internal prototype to avoid an error.
   19331    Use char because int might match the return type of a GCC
   19332    builtin and then its argument prototype would still apply.
   19333    The 'extern "C"' is for builds by C++ compilers;
   19334    although this is not generally supported in C code supporting it here
   19335    has little cost and some practical benefit (sr 110532).  */
   19336 #ifdef __cplusplus
   19337 extern "C"
   19338 #endif
   19339 char dlopen (void);
   19340 int
   19341 main (void)
   19342 {
   19343 return dlopen ();
   19344   ;
   19345   return 0;
   19346 }
   19347 _ACEOF
   19348 if ac_fn_c_try_link "$LINENO"
   19349 then :
   19350   ac_cv_lib_dl_dlopen=yes
   19351 else case e in #(
   19352   e) ac_cv_lib_dl_dlopen=no ;;
   19353 esac
   19354 fi
   19355 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19356     conftest$ac_exeext conftest.$ac_ext
   19357 LIBS=$ac_check_lib_save_LIBS ;;
   19358 esac
   19359 fi
   19360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   19361 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   19362 if test "x$ac_cv_lib_dl_dlopen" = xyes
   19363 then :
   19364   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   19365 else case e in #(
   19366   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   19367 printf %s "checking for dlopen in -lsvld... " >&6; }
   19368 if test ${ac_cv_lib_svld_dlopen+y}
   19369 then :
   19370   printf %s "(cached) " >&6
   19371 else case e in #(
   19372   e) ac_check_lib_save_LIBS=$LIBS
   19373 LIBS="-lsvld  $LIBS"
   19374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19375 /* end confdefs.h.  */
   19376 
   19377 /* Override any GCC internal prototype to avoid an error.
   19378    Use char because int might match the return type of a GCC
   19379    builtin and then its argument prototype would still apply.
   19380    The 'extern "C"' is for builds by C++ compilers;
   19381    although this is not generally supported in C code supporting it here
   19382    has little cost and some practical benefit (sr 110532).  */
   19383 #ifdef __cplusplus
   19384 extern "C"
   19385 #endif
   19386 char dlopen (void);
   19387 int
   19388 main (void)
   19389 {
   19390 return dlopen ();
   19391   ;
   19392   return 0;
   19393 }
   19394 _ACEOF
   19395 if ac_fn_c_try_link "$LINENO"
   19396 then :
   19397   ac_cv_lib_svld_dlopen=yes
   19398 else case e in #(
   19399   e) ac_cv_lib_svld_dlopen=no ;;
   19400 esac
   19401 fi
   19402 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19403     conftest$ac_exeext conftest.$ac_ext
   19404 LIBS=$ac_check_lib_save_LIBS ;;
   19405 esac
   19406 fi
   19407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   19408 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   19409 if test "x$ac_cv_lib_svld_dlopen" = xyes
   19410 then :
   19411   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   19412 else case e in #(
   19413   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   19414 printf %s "checking for dld_link in -ldld... " >&6; }
   19415 if test ${ac_cv_lib_dld_dld_link+y}
   19416 then :
   19417   printf %s "(cached) " >&6
   19418 else case e in #(
   19419   e) ac_check_lib_save_LIBS=$LIBS
   19420 LIBS="-ldld  $LIBS"
   19421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19422 /* end confdefs.h.  */
   19423 
   19424 /* Override any GCC internal prototype to avoid an error.
   19425    Use char because int might match the return type of a GCC
   19426    builtin and then its argument prototype would still apply.
   19427    The 'extern "C"' is for builds by C++ compilers;
   19428    although this is not generally supported in C code supporting it here
   19429    has little cost and some practical benefit (sr 110532).  */
   19430 #ifdef __cplusplus
   19431 extern "C"
   19432 #endif
   19433 char dld_link (void);
   19434 int
   19435 main (void)
   19436 {
   19437 return dld_link ();
   19438   ;
   19439   return 0;
   19440 }
   19441 _ACEOF
   19442 if ac_fn_c_try_link "$LINENO"
   19443 then :
   19444   ac_cv_lib_dld_dld_link=yes
   19445 else case e in #(
   19446   e) ac_cv_lib_dld_dld_link=no ;;
   19447 esac
   19448 fi
   19449 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19450     conftest$ac_exeext conftest.$ac_ext
   19451 LIBS=$ac_check_lib_save_LIBS ;;
   19452 esac
   19453 fi
   19454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   19455 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   19456 if test "x$ac_cv_lib_dld_dld_link" = xyes
   19457 then :
   19458   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   19459 fi
   19460 
   19461 	       ;;
   19462 esac
   19463 fi
   19464 
   19465 	     ;;
   19466 esac
   19467 fi
   19468 
   19469 	   ;;
   19470 esac
   19471 fi
   19472 
   19473 	 ;;
   19474 esac
   19475 fi
   19476 
   19477        ;;
   19478 esac
   19479 fi
   19480 
   19481     ;;
   19482   esac
   19483 
   19484   if test no = "$lt_cv_dlopen"; then
   19485     enable_dlopen=no
   19486   else
   19487     enable_dlopen=yes
   19488   fi
   19489 
   19490   case $lt_cv_dlopen in
   19491   dlopen)
   19492     save_CPPFLAGS=$CPPFLAGS
   19493     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   19494 
   19495     save_LDFLAGS=$LDFLAGS
   19496     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   19497 
   19498     save_LIBS=$LIBS
   19499     LIBS="$lt_cv_dlopen_libs $LIBS"
   19500 
   19501     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   19502 printf %s "checking whether a program can dlopen itself... " >&6; }
   19503 if test ${lt_cv_dlopen_self+y}
   19504 then :
   19505   printf %s "(cached) " >&6
   19506 else case e in #(
   19507   e) 	  if test yes = "$cross_compiling"; then :
   19508   lt_cv_dlopen_self=cross
   19509 else
   19510   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   19511   lt_status=$lt_dlunknown
   19512   cat > conftest.$ac_ext <<_LT_EOF
   19513 #line $LINENO "configure"
   19514 #include "confdefs.h"
   19515 
   19516 #if HAVE_DLFCN_H
   19517 #include <dlfcn.h>
   19518 #endif
   19519 
   19520 #include <stdio.h>
   19521 
   19522 #ifdef RTLD_GLOBAL
   19523 #  define LT_DLGLOBAL		RTLD_GLOBAL
   19524 #else
   19525 #  ifdef DL_GLOBAL
   19526 #    define LT_DLGLOBAL		DL_GLOBAL
   19527 #  else
   19528 #    define LT_DLGLOBAL		0
   19529 #  endif
   19530 #endif
   19531 
   19532 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   19533    find out it does not work in some platform. */
   19534 #ifndef LT_DLLAZY_OR_NOW
   19535 #  ifdef RTLD_LAZY
   19536 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   19537 #  else
   19538 #    ifdef DL_LAZY
   19539 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   19540 #    else
   19541 #      ifdef RTLD_NOW
   19542 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   19543 #      else
   19544 #        ifdef DL_NOW
   19545 #          define LT_DLLAZY_OR_NOW	DL_NOW
   19546 #        else
   19547 #          define LT_DLLAZY_OR_NOW	0
   19548 #        endif
   19549 #      endif
   19550 #    endif
   19551 #  endif
   19552 #endif
   19553 
   19554 /* When -fvisibility=hidden is used, assume the code has been annotated
   19555    correspondingly for the symbols needed.  */
   19556 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   19557 int fnord (void) __attribute__((visibility("default")));
   19558 #endif
   19559 
   19560 int fnord (void) { return 42; }
   19561 int main (void)
   19562 {
   19563   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   19564   int status = $lt_dlunknown;
   19565 
   19566   if (self)
   19567     {
   19568       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   19569       else
   19570         {
   19571 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   19572           else puts (dlerror ());
   19573 	}
   19574       /* dlclose (self); */
   19575     }
   19576   else
   19577     puts (dlerror ());
   19578 
   19579   return status;
   19580 }
   19581 _LT_EOF
   19582   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   19583   (eval $ac_link) 2>&5
   19584   ac_status=$?
   19585   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19586   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   19587     (./conftest; exit; ) >&5 2>/dev/null
   19588     lt_status=$?
   19589     case x$lt_status in
   19590       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   19591       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   19592       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   19593     esac
   19594   else :
   19595     # compilation failed
   19596     lt_cv_dlopen_self=no
   19597   fi
   19598 fi
   19599 rm -fr conftest*
   19600 
   19601      ;;
   19602 esac
   19603 fi
   19604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   19605 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   19606 
   19607     if test yes = "$lt_cv_dlopen_self"; then
   19608       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   19609       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   19610 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   19611 if test ${lt_cv_dlopen_self_static+y}
   19612 then :
   19613   printf %s "(cached) " >&6
   19614 else case e in #(
   19615   e) 	  if test yes = "$cross_compiling"; then :
   19616   lt_cv_dlopen_self_static=cross
   19617 else
   19618   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   19619   lt_status=$lt_dlunknown
   19620   cat > conftest.$ac_ext <<_LT_EOF
   19621 #line $LINENO "configure"
   19622 #include "confdefs.h"
   19623 
   19624 #if HAVE_DLFCN_H
   19625 #include <dlfcn.h>
   19626 #endif
   19627 
   19628 #include <stdio.h>
   19629 
   19630 #ifdef RTLD_GLOBAL
   19631 #  define LT_DLGLOBAL		RTLD_GLOBAL
   19632 #else
   19633 #  ifdef DL_GLOBAL
   19634 #    define LT_DLGLOBAL		DL_GLOBAL
   19635 #  else
   19636 #    define LT_DLGLOBAL		0
   19637 #  endif
   19638 #endif
   19639 
   19640 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   19641    find out it does not work in some platform. */
   19642 #ifndef LT_DLLAZY_OR_NOW
   19643 #  ifdef RTLD_LAZY
   19644 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   19645 #  else
   19646 #    ifdef DL_LAZY
   19647 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   19648 #    else
   19649 #      ifdef RTLD_NOW
   19650 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   19651 #      else
   19652 #        ifdef DL_NOW
   19653 #          define LT_DLLAZY_OR_NOW	DL_NOW
   19654 #        else
   19655 #          define LT_DLLAZY_OR_NOW	0
   19656 #        endif
   19657 #      endif
   19658 #    endif
   19659 #  endif
   19660 #endif
   19661 
   19662 /* When -fvisibility=hidden is used, assume the code has been annotated
   19663    correspondingly for the symbols needed.  */
   19664 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   19665 int fnord (void) __attribute__((visibility("default")));
   19666 #endif
   19667 
   19668 int fnord (void) { return 42; }
   19669 int main (void)
   19670 {
   19671   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   19672   int status = $lt_dlunknown;
   19673 
   19674   if (self)
   19675     {
   19676       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   19677       else
   19678         {
   19679 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   19680           else puts (dlerror ());
   19681 	}
   19682       /* dlclose (self); */
   19683     }
   19684   else
   19685     puts (dlerror ());
   19686 
   19687   return status;
   19688 }
   19689 _LT_EOF
   19690   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   19691   (eval $ac_link) 2>&5
   19692   ac_status=$?
   19693   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19694   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   19695     (./conftest; exit; ) >&5 2>/dev/null
   19696     lt_status=$?
   19697     case x$lt_status in
   19698       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   19699       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   19700       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   19701     esac
   19702   else :
   19703     # compilation failed
   19704     lt_cv_dlopen_self_static=no
   19705   fi
   19706 fi
   19707 rm -fr conftest*
   19708 
   19709        ;;
   19710 esac
   19711 fi
   19712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   19713 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   19714     fi
   19715 
   19716     CPPFLAGS=$save_CPPFLAGS
   19717     LDFLAGS=$save_LDFLAGS
   19718     LIBS=$save_LIBS
   19719     ;;
   19720   esac
   19721 
   19722   case $lt_cv_dlopen_self in
   19723   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   19724   *) enable_dlopen_self=unknown ;;
   19725   esac
   19726 
   19727   case $lt_cv_dlopen_self_static in
   19728   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   19729   *) enable_dlopen_self_static=unknown ;;
   19730   esac
   19731 fi
   19732 
   19733 
   19734 
   19735 
   19736 
   19737 
   19738 
   19739 
   19740 
   19741 
   19742 
   19743 
   19744 
   19745 
   19746 
   19747 
   19748 
   19749 striplib=
   19750 old_striplib=
   19751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   19752 printf %s "checking whether stripping libraries is possible... " >&6; }
   19753 if test -z "$STRIP"; then
   19754   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19755 printf "%s\n" "no" >&6; }
   19756 else
   19757   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   19758     old_striplib="$STRIP --strip-debug"
   19759     striplib="$STRIP --strip-unneeded"
   19760     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19761 printf "%s\n" "yes" >&6; }
   19762   else
   19763     case $host_os in
   19764     darwin*)
   19765       # FIXME - insert some real tests, host_os isn't really good enough
   19766       striplib="$STRIP -x"
   19767       old_striplib="$STRIP -S"
   19768       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19769 printf "%s\n" "yes" >&6; }
   19770       ;;
   19771     freebsd*)
   19772       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   19773         old_striplib="$STRIP --strip-debug"
   19774         striplib="$STRIP --strip-unneeded"
   19775         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19776 printf "%s\n" "yes" >&6; }
   19777       else
   19778         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19779 printf "%s\n" "no" >&6; }
   19780       fi
   19781       ;;
   19782     *)
   19783       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19784 printf "%s\n" "no" >&6; }
   19785       ;;
   19786     esac
   19787   fi
   19788 fi
   19789 
   19790 
   19791 
   19792 
   19793 
   19794 
   19795 
   19796 
   19797 
   19798 
   19799 
   19800 
   19801   # Report what library types will actually be built
   19802   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   19803 printf %s "checking if libtool supports shared libraries... " >&6; }
   19804   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   19805 printf "%s\n" "$can_build_shared" >&6; }
   19806 
   19807   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   19808 printf %s "checking whether to build shared libraries... " >&6; }
   19809   test no = "$can_build_shared" && enable_shared=no
   19810 
   19811   # On AIX, shared libraries and static libraries use the same namespace, and
   19812   # are all built from PIC.
   19813   case $host_os in
   19814   aix3*)
   19815     test yes = "$enable_shared" && enable_static=no
   19816     if test -n "$RANLIB"; then
   19817       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   19818       postinstall_cmds='$RANLIB $lib'
   19819     fi
   19820     ;;
   19821 
   19822   aix[4-9]*)
   19823     if test ia64 != "$host_cpu"; then
   19824       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   19825       yes,aix,yes) ;;			# shared object as lib.so file only
   19826       yes,svr4,*) ;;			# shared object as lib.so archive member only
   19827       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   19828       esac
   19829     fi
   19830     ;;
   19831   esac
   19832   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   19833 printf "%s\n" "$enable_shared" >&6; }
   19834 
   19835   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   19836 printf %s "checking whether to build static libraries... " >&6; }
   19837   # Make sure either enable_shared or enable_static is yes.
   19838   test yes = "$enable_shared" || enable_static=yes
   19839   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   19840 printf "%s\n" "$enable_static" >&6; }
   19841 
   19842 
   19843 
   19844 
   19845 fi
   19846 ac_ext=c
   19847 ac_cpp='$CPP $CPPFLAGS'
   19848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19851 
   19852 CC=$lt_save_CC
   19853 
   19854 
   19855 
   19856 
   19857 
   19858 
   19859 
   19860 
   19861 
   19862 
   19863 
   19864 
   19865 
   19866 
   19867 
   19868         ac_config_commands="$ac_config_commands libtool"
   19869 
   19870 
   19871 
   19872 
   19873 # Only expand once:
   19874 
   19875 
   19876 
   19877 
   19878 
   19879 # Define a configure option for an alternate module directory
   19880 
   19881 # Check whether --with-xorg-module-dir was given.
   19882 if test ${with_xorg_module_dir+y}
   19883 then :
   19884   withval=$with_xorg_module_dir; moduledir="$withval"
   19885 else case e in #(
   19886   e) moduledir="$libdir/xorg/modules" ;;
   19887 esac
   19888 fi
   19889 
   19890 
   19891 # Check whether --enable-dri was given.
   19892 if test ${enable_dri+y}
   19893 then :
   19894   enableval=$enable_dri; DRI="$enableval"
   19895 else case e in #(
   19896   e) DRI=auto ;;
   19897 esac
   19898 fi
   19899 
   19900 
   19901 # Check whether --enable-exa was given.
   19902 if test ${enable_exa+y}
   19903 then :
   19904   enableval=$enable_exa; EXA="$enableval"
   19905 else case e in #(
   19906   e) EXA=yes ;;
   19907 esac
   19908 fi
   19909 
   19910 
   19911 # Store the list of server defined optional extensions in REQUIRED_MODULES
   19912 
   19913 
   19914 	SAVE_CFLAGS="$CFLAGS"
   19915 	CFLAGS="$CFLAGS `$PKG_CONFIG --cflags xorg-server`"
   19916 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19917 /* end confdefs.h.  */
   19918 
   19919 #include "xorg-server.h"
   19920 #if !defined RANDR
   19921 #error RANDR not defined
   19922 #endif
   19923 
   19924 int
   19925 main (void)
   19926 {
   19927 
   19928   ;
   19929   return 0;
   19930 }
   19931 _ACEOF
   19932 if ac_fn_c_try_compile "$LINENO"
   19933 then :
   19934   _EXT_CHECK=yes
   19935 else case e in #(
   19936   e) _EXT_CHECK=no ;;
   19937 esac
   19938 fi
   19939 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19940 	CFLAGS="$SAVE_CFLAGS"
   19941 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if RANDR is defined" >&5
   19942 printf %s "checking if RANDR is defined... " >&6; }
   19943 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   19944 printf "%s\n" "$_EXT_CHECK" >&6; }
   19945 	if test "$_EXT_CHECK" != no; then
   19946 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   19947 	fi
   19948 
   19949 
   19950 
   19951 	SAVE_CFLAGS="$CFLAGS"
   19952 	CFLAGS="$CFLAGS `$PKG_CONFIG --cflags xorg-server`"
   19953 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19954 /* end confdefs.h.  */
   19955 
   19956 #include "xorg-server.h"
   19957 #if !defined RENDER
   19958 #error RENDER not defined
   19959 #endif
   19960 
   19961 int
   19962 main (void)
   19963 {
   19964 
   19965   ;
   19966   return 0;
   19967 }
   19968 _ACEOF
   19969 if ac_fn_c_try_compile "$LINENO"
   19970 then :
   19971   _EXT_CHECK=yes
   19972 else case e in #(
   19973   e) _EXT_CHECK=no ;;
   19974 esac
   19975 fi
   19976 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19977 	CFLAGS="$SAVE_CFLAGS"
   19978 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if RENDER is defined" >&5
   19979 printf %s "checking if RENDER is defined... " >&6; }
   19980 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   19981 printf "%s\n" "$_EXT_CHECK" >&6; }
   19982 	if test "$_EXT_CHECK" != no; then
   19983 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   19984 	fi
   19985 
   19986 
   19987 
   19988 	SAVE_CFLAGS="$CFLAGS"
   19989 	CFLAGS="$CFLAGS `$PKG_CONFIG --cflags xorg-server`"
   19990 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19991 /* end confdefs.h.  */
   19992 
   19993 #include "xorg-server.h"
   19994 #if !defined XV
   19995 #error XV not defined
   19996 #endif
   19997 
   19998 int
   19999 main (void)
   20000 {
   20001 
   20002   ;
   20003   return 0;
   20004 }
   20005 _ACEOF
   20006 if ac_fn_c_try_compile "$LINENO"
   20007 then :
   20008   _EXT_CHECK=yes
   20009 else case e in #(
   20010   e) _EXT_CHECK=no ;;
   20011 esac
   20012 fi
   20013 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   20014 	CFLAGS="$SAVE_CFLAGS"
   20015 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if XV is defined" >&5
   20016 printf %s "checking if XV is defined... " >&6; }
   20017 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   20018 printf "%s\n" "$_EXT_CHECK" >&6; }
   20019 	if test "$_EXT_CHECK" != no; then
   20020 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   20021 	fi
   20022 
   20023 
   20024 
   20025 	SAVE_CFLAGS="$CFLAGS"
   20026 	CFLAGS="$CFLAGS `$PKG_CONFIG --cflags xorg-server`"
   20027 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20028 /* end confdefs.h.  */
   20029 
   20030 #include "xorg-server.h"
   20031 #if !defined XF86MISC
   20032 #error XF86MISC not defined
   20033 #endif
   20034 
   20035 int
   20036 main (void)
   20037 {
   20038 
   20039   ;
   20040   return 0;
   20041 }
   20042 _ACEOF
   20043 if ac_fn_c_try_compile "$LINENO"
   20044 then :
   20045   _EXT_CHECK=yes
   20046 else case e in #(
   20047   e) _EXT_CHECK=no ;;
   20048 esac
   20049 fi
   20050 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   20051 	CFLAGS="$SAVE_CFLAGS"
   20052 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if XF86MISC is defined" >&5
   20053 printf %s "checking if XF86MISC is defined... " >&6; }
   20054 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   20055 printf "%s\n" "$_EXT_CHECK" >&6; }
   20056 	if test "$_EXT_CHECK" != no; then
   20057 		REQUIRED_MODULES="$REQUIRED_MODULES xf86miscproto"
   20058 	fi
   20059 
   20060 
   20061 
   20062 	SAVE_CFLAGS="$CFLAGS"
   20063 	CFLAGS="$CFLAGS `$PKG_CONFIG --cflags xorg-server`"
   20064 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20065 /* end confdefs.h.  */
   20066 
   20067 #include "xorg-server.h"
   20068 #if !defined DPMSExtension
   20069 #error DPMSExtension not defined
   20070 #endif
   20071 
   20072 int
   20073 main (void)
   20074 {
   20075 
   20076   ;
   20077   return 0;
   20078 }
   20079 _ACEOF
   20080 if ac_fn_c_try_compile "$LINENO"
   20081 then :
   20082   _EXT_CHECK=yes
   20083 else case e in #(
   20084   e) _EXT_CHECK=no ;;
   20085 esac
   20086 fi
   20087 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   20088 	CFLAGS="$SAVE_CFLAGS"
   20089 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if DPMSExtension is defined" >&5
   20090 printf %s "checking if DPMSExtension is defined... " >&6; }
   20091 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   20092 printf "%s\n" "$_EXT_CHECK" >&6; }
   20093 	if test "$_EXT_CHECK" != no; then
   20094 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   20095 	fi
   20096 
   20097 
   20098 # Obtain compiler/linker options for the driver dependencies
   20099 
   20100 pkg_failed=no
   20101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   20102 printf %s "checking for XORG... " >&6; }
   20103 
   20104 if test -n "$XORG_CFLAGS"; then
   20105     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   20106  elif test -n "$PKG_CONFIG"; then
   20107     if test -n "$PKG_CONFIG" && \
   20108     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.18 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   20109   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.18 xproto fontsproto $REQUIRED_MODULES") 2>&5
   20110   ac_status=$?
   20111   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20112   test $ac_status = 0; }; then
   20113   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.18 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   20114 		      test "x$?" != "x0" && pkg_failed=yes
   20115 else
   20116   pkg_failed=yes
   20117 fi
   20118  else
   20119     pkg_failed=untried
   20120 fi
   20121 if test -n "$XORG_LIBS"; then
   20122     pkg_cv_XORG_LIBS="$XORG_LIBS"
   20123  elif test -n "$PKG_CONFIG"; then
   20124     if test -n "$PKG_CONFIG" && \
   20125     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.18 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   20126   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.18 xproto fontsproto $REQUIRED_MODULES") 2>&5
   20127   ac_status=$?
   20128   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20129   test $ac_status = 0; }; then
   20130   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.18 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   20131 		      test "x$?" != "x0" && pkg_failed=yes
   20132 else
   20133   pkg_failed=yes
   20134 fi
   20135  else
   20136     pkg_failed=untried
   20137 fi
   20138 
   20139 
   20140 
   20141 if test $pkg_failed = yes; then
   20142    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20143 printf "%s\n" "no" >&6; }
   20144 
   20145 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20146         _pkg_short_errors_supported=yes
   20147 else
   20148         _pkg_short_errors_supported=no
   20149 fi
   20150         if test $_pkg_short_errors_supported = yes; then
   20151 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xorg-server >= 1.18 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   20152         else
   20153 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xorg-server >= 1.18 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   20154         fi
   20155 	# Put the nasty error message in config.log where it belongs
   20156 	echo "$XORG_PKG_ERRORS" >&5
   20157 
   20158 	as_fn_error $? "Package requirements (xorg-server >= 1.18 xproto fontsproto $REQUIRED_MODULES) were not met:
   20159 
   20160 $XORG_PKG_ERRORS
   20161 
   20162 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20163 installed software in a non-standard prefix.
   20164 
   20165 Alternatively, you may set the environment variables XORG_CFLAGS
   20166 and XORG_LIBS to avoid the need to call pkg-config.
   20167 See the pkg-config man page for more details." "$LINENO" 5
   20168 elif test $pkg_failed = untried; then
   20169      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20170 printf "%s\n" "no" >&6; }
   20171 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   20172 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   20173 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   20174 is in your PATH or set the PKG_CONFIG environment variable to the full
   20175 path to pkg-config.
   20176 
   20177 Alternatively, you may set the environment variables XORG_CFLAGS
   20178 and XORG_LIBS to avoid the need to call pkg-config.
   20179 See the pkg-config man page for more details.
   20180 
   20181 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20182 See 'config.log' for more details" "$LINENO" 5; }
   20183 else
   20184 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   20185 	XORG_LIBS=$pkg_cv_XORG_LIBS
   20186         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20187 printf "%s\n" "yes" >&6; }
   20188 
   20189 fi
   20190 
   20191 pkg_failed=no
   20192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
   20193 printf %s "checking for XEXT... " >&6; }
   20194 
   20195 if test -n "$XEXT_CFLAGS"; then
   20196     pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
   20197  elif test -n "$PKG_CONFIG"; then
   20198     if test -n "$PKG_CONFIG" && \
   20199     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   20200   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   20201   ac_status=$?
   20202   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20203   test $ac_status = 0; }; then
   20204   pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xextproto >= 7.0.99.1" 2>/dev/null`
   20205 		      test "x$?" != "x0" && pkg_failed=yes
   20206 else
   20207   pkg_failed=yes
   20208 fi
   20209  else
   20210     pkg_failed=untried
   20211 fi
   20212 if test -n "$XEXT_LIBS"; then
   20213     pkg_cv_XEXT_LIBS="$XEXT_LIBS"
   20214  elif test -n "$PKG_CONFIG"; then
   20215     if test -n "$PKG_CONFIG" && \
   20216     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   20217   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   20218   ac_status=$?
   20219   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20220   test $ac_status = 0; }; then
   20221   pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xextproto >= 7.0.99.1" 2>/dev/null`
   20222 		      test "x$?" != "x0" && pkg_failed=yes
   20223 else
   20224   pkg_failed=yes
   20225 fi
   20226  else
   20227     pkg_failed=untried
   20228 fi
   20229 
   20230 
   20231 
   20232 if test $pkg_failed = yes; then
   20233    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20234 printf "%s\n" "no" >&6; }
   20235 
   20236 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20237         _pkg_short_errors_supported=yes
   20238 else
   20239         _pkg_short_errors_supported=no
   20240 fi
   20241         if test $_pkg_short_errors_supported = yes; then
   20242 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xextproto >= 7.0.99.1" 2>&1`
   20243         else
   20244 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xextproto >= 7.0.99.1" 2>&1`
   20245         fi
   20246 	# Put the nasty error message in config.log where it belongs
   20247 	echo "$XEXT_PKG_ERRORS" >&5
   20248 
   20249 	HAVE_XEXTPROTO_71="no"
   20250 elif test $pkg_failed = untried; then
   20251      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20252 printf "%s\n" "no" >&6; }
   20253 	HAVE_XEXTPROTO_71="no"
   20254 else
   20255 	XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
   20256 	XEXT_LIBS=$pkg_cv_XEXT_LIBS
   20257         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20258 printf "%s\n" "yes" >&6; }
   20259 	HAVE_XEXTPROTO_71="yes";
   20260 printf "%s\n" "#define HAVE_XEXTPROTO_71 1" >>confdefs.h
   20261 
   20262 fi
   20263  if  test "$HAVE_XEXTPROTO_71" = "yes" ; then
   20264   HAVE_XEXTPROTO_71_TRUE=
   20265   HAVE_XEXTPROTO_71_FALSE='#'
   20266 else
   20267   HAVE_XEXTPROTO_71_TRUE='#'
   20268   HAVE_XEXTPROTO_71_FALSE=
   20269 fi
   20270 
   20271 sdkdir=`$PKG_CONFIG --variable=sdkdir xorg-server`
   20272 
   20273 # Checks for libraries.
   20274 
   20275 if test "$DRI" != no; then
   20276 	if test -f "${sdkdir}/dri.h"; then
   20277 		have_dri_h="yes"
   20278 	else
   20279 		have_dri_h="no"
   20280 	fi
   20281 	if test -f "${sdkdir}/sarea.h"; then
   20282 		have_sarea_h="yes"
   20283 	else
   20284 		have_sarea_h="no"
   20285 	fi
   20286 	if test -f "${sdkdir}/dristruct.h"; then
   20287 		have_dristruct_h="yes"
   20288 	else
   20289 		have_dristruct_h="no"
   20290 	fi
   20291 	if test -f "${sdkdir}/damage.h"; then
   20292 		have_damage_h="yes"
   20293 	else
   20294 		have_damage_h="no"
   20295 	fi
   20296 fi
   20297 
   20298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to include DRI support" >&5
   20299 printf %s "checking whether to include DRI support... " >&6; }
   20300 if test x$DRI = xauto; then
   20301 	if test "$have_dri_h" = yes -a \
   20302                 "$have_sarea_h" = yes -a \
   20303                 "$have_dristruct_h" = yes; then
   20304 		DRI="yes"
   20305 	else
   20306 		DRI="no"
   20307 	fi
   20308 fi
   20309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DRI" >&5
   20310 printf "%s\n" "$DRI" >&6; }
   20311 
   20312  if test x$DRI = xyes; then
   20313   DRI_TRUE=
   20314   DRI_FALSE='#'
   20315 else
   20316   DRI_TRUE='#'
   20317   DRI_FALSE=
   20318 fi
   20319 
   20320 if test "$DRI" = yes; then
   20321 
   20322 pkg_failed=no
   20323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DRI" >&5
   20324 printf %s "checking for DRI... " >&6; }
   20325 
   20326 if test -n "$DRI_CFLAGS"; then
   20327     pkg_cv_DRI_CFLAGS="$DRI_CFLAGS"
   20328  elif test -n "$PKG_CONFIG"; then
   20329     if test -n "$PKG_CONFIG" && \
   20330     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.2 xf86driproto\""; } >&5
   20331   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.2 xf86driproto") 2>&5
   20332   ac_status=$?
   20333   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20334   test $ac_status = 0; }; then
   20335   pkg_cv_DRI_CFLAGS=`$PKG_CONFIG --cflags "libdrm >= 2.2 xf86driproto" 2>/dev/null`
   20336 		      test "x$?" != "x0" && pkg_failed=yes
   20337 else
   20338   pkg_failed=yes
   20339 fi
   20340  else
   20341     pkg_failed=untried
   20342 fi
   20343 if test -n "$DRI_LIBS"; then
   20344     pkg_cv_DRI_LIBS="$DRI_LIBS"
   20345  elif test -n "$PKG_CONFIG"; then
   20346     if test -n "$PKG_CONFIG" && \
   20347     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.2 xf86driproto\""; } >&5
   20348   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.2 xf86driproto") 2>&5
   20349   ac_status=$?
   20350   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20351   test $ac_status = 0; }; then
   20352   pkg_cv_DRI_LIBS=`$PKG_CONFIG --libs "libdrm >= 2.2 xf86driproto" 2>/dev/null`
   20353 		      test "x$?" != "x0" && pkg_failed=yes
   20354 else
   20355   pkg_failed=yes
   20356 fi
   20357  else
   20358     pkg_failed=untried
   20359 fi
   20360 
   20361 
   20362 
   20363 if test $pkg_failed = yes; then
   20364    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20365 printf "%s\n" "no" >&6; }
   20366 
   20367 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20368         _pkg_short_errors_supported=yes
   20369 else
   20370         _pkg_short_errors_supported=no
   20371 fi
   20372         if test $_pkg_short_errors_supported = yes; then
   20373 	        DRI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libdrm >= 2.2 xf86driproto" 2>&1`
   20374         else
   20375 	        DRI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libdrm >= 2.2 xf86driproto" 2>&1`
   20376         fi
   20377 	# Put the nasty error message in config.log where it belongs
   20378 	echo "$DRI_PKG_ERRORS" >&5
   20379 
   20380 	as_fn_error $? "Package requirements (libdrm >= 2.2 xf86driproto) were not met:
   20381 
   20382 $DRI_PKG_ERRORS
   20383 
   20384 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20385 installed software in a non-standard prefix.
   20386 
   20387 Alternatively, you may set the environment variables DRI_CFLAGS
   20388 and DRI_LIBS to avoid the need to call pkg-config.
   20389 See the pkg-config man page for more details." "$LINENO" 5
   20390 elif test $pkg_failed = untried; then
   20391      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20392 printf "%s\n" "no" >&6; }
   20393 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   20394 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   20395 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   20396 is in your PATH or set the PKG_CONFIG environment variable to the full
   20397 path to pkg-config.
   20398 
   20399 Alternatively, you may set the environment variables DRI_CFLAGS
   20400 and DRI_LIBS to avoid the need to call pkg-config.
   20401 See the pkg-config man page for more details.
   20402 
   20403 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20404 See 'config.log' for more details" "$LINENO" 5; }
   20405 else
   20406 	DRI_CFLAGS=$pkg_cv_DRI_CFLAGS
   20407 	DRI_LIBS=$pkg_cv_DRI_LIBS
   20408         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20409 printf "%s\n" "yes" >&6; }
   20410 
   20411 fi
   20412 
   20413 printf "%s\n" "#define R128DRI 1" >>confdefs.h
   20414 
   20415 
   20416 printf "%s\n" "#define R128DRI_DEVEL 1" >>confdefs.h
   20417 
   20418 fi
   20419 
   20420 SAVE_CPPFLAGS="$CPPFLAGS"
   20421 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   20422 # Properly handle EXA.
   20423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable EXA support" >&5
   20424 printf %s "checking whether to enable EXA support... " >&6; }
   20425 if test "x$EXA" = xyes; then
   20426         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20427 printf "%s\n" "yes" >&6; }
   20428         if test -f "${sdkdir}/exa.h"
   20429 then :
   20430   have_exa_h="yes"
   20431 else case e in #(
   20432   e) have_exa_h="no" ;;
   20433 esac
   20434 fi
   20435 else
   20436         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20437 printf "%s\n" "no" >&6; }
   20438 fi
   20439 
   20440 SAVE_CPPFLAGS="$CPPFLAGS"
   20441 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   20442 if test "x$have_exa_h" = xyes; then
   20443         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether EXA version is at least 2.0.0" >&5
   20444 printf %s "checking whether EXA version is at least 2.0.0... " >&6; }
   20445         ac_ext=c
   20446 ac_cpp='$CPP $CPPFLAGS'
   20447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   20451 printf %s "checking how to run the C preprocessor... " >&6; }
   20452 # On Suns, sometimes $CPP names a directory.
   20453 if test -n "$CPP" && test -d "$CPP"; then
   20454   CPP=
   20455 fi
   20456 if test -z "$CPP"; then
   20457   if test ${ac_cv_prog_CPP+y}
   20458 then :
   20459   printf %s "(cached) " >&6
   20460 else case e in #(
   20461   e)     # Double quotes because $CC needs to be expanded
   20462     for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
   20463     do
   20464       ac_preproc_ok=false
   20465 for ac_c_preproc_warn_flag in '' yes
   20466 do
   20467   # Use a header file that comes with gcc, so configuring glibc
   20468   # with a fresh cross-compiler works.
   20469   # On the NeXT, cc -E runs the code through the compiler's parser,
   20470   # not just through cpp. "Syntax error" is here to catch this case.
   20471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20472 /* end confdefs.h.  */
   20473 #include <limits.h>
   20474 		     Syntax error
   20475 _ACEOF
   20476 if ac_fn_c_try_cpp "$LINENO"
   20477 then :
   20478 
   20479 else case e in #(
   20480   e) # Broken: fails on valid input.
   20481 continue ;;
   20482 esac
   20483 fi
   20484 rm -f conftest.err conftest.i conftest.$ac_ext
   20485 
   20486   # OK, works on sane cases.  Now check whether nonexistent headers
   20487   # can be detected and how.
   20488   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20489 /* end confdefs.h.  */
   20490 #include <ac_nonexistent.h>
   20491 _ACEOF
   20492 if ac_fn_c_try_cpp "$LINENO"
   20493 then :
   20494   # Broken: success on invalid input.
   20495 continue
   20496 else case e in #(
   20497   e) # Passes both tests.
   20498 ac_preproc_ok=:
   20499 break ;;
   20500 esac
   20501 fi
   20502 rm -f conftest.err conftest.i conftest.$ac_ext
   20503 
   20504 done
   20505 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   20506 rm -f conftest.i conftest.err conftest.$ac_ext
   20507 if $ac_preproc_ok
   20508 then :
   20509   break
   20510 fi
   20511 
   20512     done
   20513     ac_cv_prog_CPP=$CPP
   20514    ;;
   20515 esac
   20516 fi
   20517   CPP=$ac_cv_prog_CPP
   20518 else
   20519   ac_cv_prog_CPP=$CPP
   20520 fi
   20521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   20522 printf "%s\n" "$CPP" >&6; }
   20523 ac_preproc_ok=false
   20524 for ac_c_preproc_warn_flag in '' yes
   20525 do
   20526   # Use a header file that comes with gcc, so configuring glibc
   20527   # with a fresh cross-compiler works.
   20528   # On the NeXT, cc -E runs the code through the compiler's parser,
   20529   # not just through cpp. "Syntax error" is here to catch this case.
   20530   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20531 /* end confdefs.h.  */
   20532 #include <limits.h>
   20533 		     Syntax error
   20534 _ACEOF
   20535 if ac_fn_c_try_cpp "$LINENO"
   20536 then :
   20537 
   20538 else case e in #(
   20539   e) # Broken: fails on valid input.
   20540 continue ;;
   20541 esac
   20542 fi
   20543 rm -f conftest.err conftest.i conftest.$ac_ext
   20544 
   20545   # OK, works on sane cases.  Now check whether nonexistent headers
   20546   # can be detected and how.
   20547   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20548 /* end confdefs.h.  */
   20549 #include <ac_nonexistent.h>
   20550 _ACEOF
   20551 if ac_fn_c_try_cpp "$LINENO"
   20552 then :
   20553   # Broken: success on invalid input.
   20554 continue
   20555 else case e in #(
   20556   e) # Passes both tests.
   20557 ac_preproc_ok=:
   20558 break ;;
   20559 esac
   20560 fi
   20561 rm -f conftest.err conftest.i conftest.$ac_ext
   20562 
   20563 done
   20564 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   20565 rm -f conftest.i conftest.err conftest.$ac_ext
   20566 if $ac_preproc_ok
   20567 then :
   20568 
   20569 else case e in #(
   20570   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   20571 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   20572 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   20573 See 'config.log' for more details" "$LINENO" 5; } ;;
   20574 esac
   20575 fi
   20576 
   20577 ac_ext=c
   20578 ac_cpp='$CPP $CPPFLAGS'
   20579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20582 
   20583 
   20584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20585 /* end confdefs.h.  */
   20586 
   20587 #include "xorg-server.h"
   20588 #include "exa.h"
   20589 #if EXA_VERSION_MAJOR < 2
   20590 #error OLD EXA!
   20591 #endif
   20592 
   20593 int
   20594 main (void)
   20595 {
   20596 
   20597   ;
   20598   return 0;
   20599 }
   20600 _ACEOF
   20601 if ac_fn_c_try_cpp "$LINENO"
   20602 then :
   20603   USE_EXA=yes
   20604 else case e in #(
   20605   e) USE_EXA=no ;;
   20606 esac
   20607 fi
   20608 rm -f conftest.err conftest.i conftest.$ac_ext
   20609         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_EXA" >&5
   20610 printf "%s\n" "$USE_EXA" >&6; }
   20611 
   20612         if test "x$USE_EXA" = xyes; then
   20613 
   20614 printf "%s\n" "#define USE_EXA 1" >>confdefs.h
   20615 
   20616         fi
   20617 fi
   20618 
   20619 ac_fn_check_decl "$LINENO" "XSERVER_LIBPCIACCESS" "ac_cv_have_decl_XSERVER_LIBPCIACCESS" "#include \"xorg-server.h\"
   20620 " "$ac_c_undeclared_builtin_options" "CFLAGS"
   20621 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = xyes
   20622 then :
   20623   XSERVER_LIBPCIACCESS=yes
   20624 else case e in #(
   20625   e) XSERVER_LIBPCIACCESS=no ;;
   20626 esac
   20627 fi
   20628 CPPFLAGS="$SAVE_CPPFLAGS"
   20629 
   20630  if test "x$USE_EXA" = xyes; then
   20631   USE_EXA_TRUE=
   20632   USE_EXA_FALSE='#'
   20633 else
   20634   USE_EXA_TRUE='#'
   20635   USE_EXA_FALSE=
   20636 fi
   20637 
   20638 
   20639 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   20640 
   20641 pkg_failed=no
   20642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PCIACCESS" >&5
   20643 printf %s "checking for PCIACCESS... " >&6; }
   20644 
   20645 if test -n "$PCIACCESS_CFLAGS"; then
   20646     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   20647  elif test -n "$PKG_CONFIG"; then
   20648     if test -n "$PKG_CONFIG" && \
   20649     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\""; } >&5
   20650   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   20651   ac_status=$?
   20652   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20653   test $ac_status = 0; }; then
   20654   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.8.0" 2>/dev/null`
   20655 		      test "x$?" != "x0" && pkg_failed=yes
   20656 else
   20657   pkg_failed=yes
   20658 fi
   20659  else
   20660     pkg_failed=untried
   20661 fi
   20662 if test -n "$PCIACCESS_LIBS"; then
   20663     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   20664  elif test -n "$PKG_CONFIG"; then
   20665     if test -n "$PKG_CONFIG" && \
   20666     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\""; } >&5
   20667   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   20668   ac_status=$?
   20669   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20670   test $ac_status = 0; }; then
   20671   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.8.0" 2>/dev/null`
   20672 		      test "x$?" != "x0" && pkg_failed=yes
   20673 else
   20674   pkg_failed=yes
   20675 fi
   20676  else
   20677     pkg_failed=untried
   20678 fi
   20679 
   20680 
   20681 
   20682 if test $pkg_failed = yes; then
   20683    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20684 printf "%s\n" "no" >&6; }
   20685 
   20686 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20687         _pkg_short_errors_supported=yes
   20688 else
   20689         _pkg_short_errors_supported=no
   20690 fi
   20691         if test $_pkg_short_errors_supported = yes; then
   20692 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pciaccess >= 0.8.0" 2>&1`
   20693         else
   20694 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pciaccess >= 0.8.0" 2>&1`
   20695         fi
   20696 	# Put the nasty error message in config.log where it belongs
   20697 	echo "$PCIACCESS_PKG_ERRORS" >&5
   20698 
   20699 	as_fn_error $? "Package requirements (pciaccess >= 0.8.0) were not met:
   20700 
   20701 $PCIACCESS_PKG_ERRORS
   20702 
   20703 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20704 installed software in a non-standard prefix.
   20705 
   20706 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   20707 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   20708 See the pkg-config man page for more details." "$LINENO" 5
   20709 elif test $pkg_failed = untried; then
   20710      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20711 printf "%s\n" "no" >&6; }
   20712 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   20713 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   20714 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   20715 is in your PATH or set the PKG_CONFIG environment variable to the full
   20716 path to pkg-config.
   20717 
   20718 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   20719 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   20720 See the pkg-config man page for more details.
   20721 
   20722 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20723 See 'config.log' for more details" "$LINENO" 5; }
   20724 else
   20725 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   20726 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   20727         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20728 printf "%s\n" "yes" >&6; }
   20729 
   20730 fi
   20731     XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS"
   20732 fi
   20733  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   20734   XSERVER_LIBPCIACCESS_TRUE=
   20735   XSERVER_LIBPCIACCESS_FALSE='#'
   20736 else
   20737   XSERVER_LIBPCIACCESS_TRUE='#'
   20738   XSERVER_LIBPCIACCESS_FALSE=
   20739 fi
   20740 
   20741 
   20742 ac_fn_c_check_header_compile "$LINENO" "dev/wscons/wsconsio.h" "ac_cv_header_dev_wscons_wsconsio_h" "$ac_includes_default"
   20743 if test "x$ac_cv_header_dev_wscons_wsconsio_h" = xyes
   20744 then :
   20745   printf "%s\n" "#define HAVE_DEV_WSCONS_WSCONSIO_H 1" >>confdefs.h
   20746 
   20747 fi
   20748 
   20749 
   20750 # Checks for headers/macros for byte swapping
   20751 # Known variants:
   20752 #	<byteswap.h> bswap_16, bswap_32, bswap_64  (glibc)
   20753 #	<sys/endian.h> __swap16, __swap32, __swap64 (OpenBSD)
   20754 #	<sys/endian.h> bswap16, bswap32, bswap64 (other BSD's)
   20755 #	and a fallback to local macros if none of the above are found
   20756 
   20757 # if <byteswap.h> is found, assume it's the correct version
   20758 ac_fn_c_check_header_compile "$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default"
   20759 if test "x$ac_cv_header_byteswap_h" = xyes
   20760 then :
   20761   printf "%s\n" "#define HAVE_BYTESWAP_H 1" >>confdefs.h
   20762 
   20763 fi
   20764 
   20765 
   20766 # if <sys/endian.h> is found, have to check which version
   20767 ac_fn_c_check_header_compile "$LINENO" "sys/endian.h" "ac_cv_header_sys_endian_h" "$ac_includes_default"
   20768 if test "x$ac_cv_header_sys_endian_h" = xyes
   20769 then :
   20770   HAVE_SYS_ENDIAN_H="yes"
   20771 else case e in #(
   20772   e) HAVE_SYS_ENDIAN_H="no" ;;
   20773 esac
   20774 fi
   20775 
   20776 
   20777 if test "x$HAVE_SYS_ENDIAN_H" = "xyes" ; then
   20778 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __swap16 variant of <sys/endian.h> byteswapping macros" >&5
   20779 printf %s "checking for __swap16 variant of <sys/endian.h> byteswapping macros... " >&6; }
   20780 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20781 /* end confdefs.h.  */
   20782 
   20783 #include <sys/types.h>
   20784 #include <sys/endian.h>
   20785 
   20786 int
   20787 main (void)
   20788 {
   20789 
   20790 int a = 1, b;
   20791 b = __swap16(a);
   20792 
   20793   ;
   20794   return 0;
   20795 }
   20796 
   20797 _ACEOF
   20798 if ac_fn_c_try_link "$LINENO"
   20799 then :
   20800   SYS_ENDIAN__SWAP='yes'
   20801 else case e in #(
   20802   e) SYS_ENDIAN__SWAP='no' ;;
   20803 esac
   20804 fi
   20805 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20806     conftest$ac_exeext conftest.$ac_ext
   20807 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SYS_ENDIAN__SWAP" >&5
   20808 printf "%s\n" "$SYS_ENDIAN__SWAP" >&6; }
   20809 
   20810 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bswap16 variant of <sys/endian.h> byteswapping macros" >&5
   20811 printf %s "checking for bswap16 variant of <sys/endian.h> byteswapping macros... " >&6; }
   20812 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20813 /* end confdefs.h.  */
   20814 
   20815 #include <sys/types.h>
   20816 #include <sys/endian.h>
   20817 
   20818 int
   20819 main (void)
   20820 {
   20821 
   20822 int a = 1, b;
   20823 b = bswap16(a);
   20824 
   20825   ;
   20826   return 0;
   20827 }
   20828 
   20829 _ACEOF
   20830 if ac_fn_c_try_link "$LINENO"
   20831 then :
   20832   SYS_ENDIAN_BSWAP='yes'
   20833 else case e in #(
   20834   e) SYS_ENDIAN_BSWAP='no' ;;
   20835 esac
   20836 fi
   20837 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20838     conftest$ac_exeext conftest.$ac_ext
   20839 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SYS_ENDIAN_BSWAP" >&5
   20840 printf "%s\n" "$SYS_ENDIAN_BSWAP" >&6; }
   20841 
   20842 	if test "$SYS_ENDIAN_BSWAP" = "yes" ; then
   20843 		USE_SYS_ENDIAN_H=yes
   20844 		BSWAP=bswap
   20845 	else
   20846 		if test "$SYS_ENDIAN__SWAP" = "yes" ; then
   20847 			USE_SYS_ENDIAN_H=yes
   20848 			BSWAP=__swap
   20849 		else
   20850 			USE_SYS_ENDIAN_H=no
   20851 		fi
   20852 	fi
   20853 
   20854 	if test "$USE_SYS_ENDIAN_H" = "yes" ; then
   20855 
   20856 printf "%s\n" "#define USE_SYS_ENDIAN_H 1" >>confdefs.h
   20857 
   20858 
   20859 printf "%s\n" "#define bswap_16 ${BSWAP}16" >>confdefs.h
   20860 
   20861 
   20862 printf "%s\n" "#define bswap_32 ${BSWAP}32" >>confdefs.h
   20863 
   20864 
   20865 printf "%s\n" "#define bswap_64 ${BSWAP}64" >>confdefs.h
   20866 
   20867 	fi
   20868 fi
   20869 
   20870 
   20871 
   20872 DRIVER_NAME=r128
   20873 
   20874 
   20875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Please change the Driver line in xorg.conf from \"ati\" to \"r128\" or install
   20876 the ati wrapper as well:
   20877     https://gitlab.freedesktop.org/xorg/driver/xf86-video-ati
   20878 " >&5
   20879 printf "%s\n" "$as_me: Please change the Driver line in xorg.conf from \"ati\" to \"r128\" or install
   20880 the ati wrapper as well:
   20881     https://gitlab.freedesktop.org/xorg/driver/xf86-video-ati
   20882 " >&6;}
   20883 
   20884 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   20885 
   20886 cat >confcache <<\_ACEOF
   20887 # This file is a shell script that caches the results of configure
   20888 # tests run on this system so they can be shared between configure
   20889 # scripts and configure runs, see configure's option --config-cache.
   20890 # It is not useful on other systems.  If it contains results you don't
   20891 # want to keep, you may remove or edit it.
   20892 #
   20893 # config.status only pays attention to the cache file if you give it
   20894 # the --recheck option to rerun configure.
   20895 #
   20896 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   20897 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   20898 # following values.
   20899 
   20900 _ACEOF
   20901 
   20902 # The following way of writing the cache mishandles newlines in values,
   20903 # but we know of no workaround that is simple, portable, and efficient.
   20904 # So, we kill variables containing newlines.
   20905 # Ultrix sh set writes to stderr and can't be redirected directly,
   20906 # and sets the high bit in the cache file unless we assign to the vars.
   20907 (
   20908   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   20909     eval ac_val=\$$ac_var
   20910     case $ac_val in #(
   20911     *${as_nl}*)
   20912       case $ac_var in #(
   20913       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   20914 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   20915       esac
   20916       case $ac_var in #(
   20917       _ | IFS | as_nl) ;; #(
   20918       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   20919       *) { eval $ac_var=; unset $ac_var;} ;;
   20920       esac ;;
   20921     esac
   20922   done
   20923 
   20924   (set) 2>&1 |
   20925     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   20926     *${as_nl}ac_space=\ *)
   20927       # 'set' does not quote correctly, so add quotes: double-quote
   20928       # substitution turns \\\\ into \\, and sed turns \\ into \.
   20929       sed -n \
   20930 	"s/'/'\\\\''/g;
   20931 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   20932       ;; #(
   20933     *)
   20934       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   20935       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   20936       ;;
   20937     esac |
   20938     sort
   20939 ) |
   20940   sed '
   20941      /^ac_cv_env_/b end
   20942      t clear
   20943      :clear
   20944      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   20945      t end
   20946      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   20947      :end' >>confcache
   20948 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   20949   if test -w "$cache_file"; then
   20950     if test "x$cache_file" != "x/dev/null"; then
   20951       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   20952 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   20953       if test ! -f "$cache_file" || test -h "$cache_file"; then
   20954 	cat confcache >"$cache_file"
   20955       else
   20956         case $cache_file in #(
   20957         */* | ?:*)
   20958 	  mv -f confcache "$cache_file"$$ &&
   20959 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   20960         *)
   20961 	  mv -f confcache "$cache_file" ;;
   20962 	esac
   20963       fi
   20964     fi
   20965   else
   20966     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   20967 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   20968   fi
   20969 fi
   20970 rm -f confcache
   20971 
   20972 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   20973 # Let make expand exec_prefix.
   20974 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   20975 
   20976 DEFS=-DHAVE_CONFIG_H
   20977 
   20978 ac_libobjs=
   20979 ac_ltlibobjs=
   20980 U=
   20981 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   20982   # 1. Remove the extension, and $U if already installed.
   20983   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   20984   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   20985   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   20986   #    will be set to the directory where LIBOBJS objects are built.
   20987   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   20988   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   20989 done
   20990 LIBOBJS=$ac_libobjs
   20991 
   20992 LTLIBOBJS=$ac_ltlibobjs
   20993 
   20994 
   20995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   20996 printf %s "checking that generated files are newer than configure... " >&6; }
   20997    if test -n "$am_sleep_pid"; then
   20998      # Hide warnings about reused PIDs.
   20999      wait $am_sleep_pid 2>/dev/null
   21000    fi
   21001    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   21002 printf "%s\n" "done" >&6; }
   21003 case $enable_silent_rules in # (((
   21004   yes) AM_DEFAULT_VERBOSITY=0;;
   21005    no) AM_DEFAULT_VERBOSITY=1;;
   21006 esac
   21007 if test $am_cv_make_support_nested_variables = yes; then
   21008     AM_V='$(V)'
   21009   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   21010 else
   21011   AM_V=$AM_DEFAULT_VERBOSITY
   21012   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   21013 fi
   21014 
   21015  if test -n "$EXEEXT"; then
   21016   am__EXEEXT_TRUE=
   21017   am__EXEEXT_FALSE='#'
   21018 else
   21019   am__EXEEXT_TRUE='#'
   21020   am__EXEEXT_FALSE=
   21021 fi
   21022 
   21023 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   21024   as_fn_error $? "conditional \"AMDEP\" was never defined.
   21025 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21026 fi
   21027 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   21028   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   21029 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21030 fi
   21031 if test -z "${HAVE_XEXTPROTO_71_TRUE}" && test -z "${HAVE_XEXTPROTO_71_FALSE}"; then
   21032   as_fn_error $? "conditional \"HAVE_XEXTPROTO_71\" was never defined.
   21033 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21034 fi
   21035 if test -z "${DRI_TRUE}" && test -z "${DRI_FALSE}"; then
   21036   as_fn_error $? "conditional \"DRI\" was never defined.
   21037 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21038 fi
   21039 if test -z "${USE_EXA_TRUE}" && test -z "${USE_EXA_FALSE}"; then
   21040   as_fn_error $? "conditional \"USE_EXA\" was never defined.
   21041 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21042 fi
   21043 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   21044   as_fn_error $? "conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   21045 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21046 fi
   21047 
   21048 : "${CONFIG_STATUS=./config.status}"
   21049 ac_write_fail=0
   21050 ac_clean_files_save=$ac_clean_files
   21051 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   21052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   21053 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   21054 as_write_fail=0
   21055 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   21056 #! $SHELL
   21057 # Generated by $as_me.
   21058 # Run this file to recreate the current configuration.
   21059 # Compiler output produced by configure, useful for debugging
   21060 # configure, is in config.log if it exists.
   21061 
   21062 debug=false
   21063 ac_cs_recheck=false
   21064 ac_cs_silent=false
   21065 
   21066 SHELL=\${CONFIG_SHELL-$SHELL}
   21067 export SHELL
   21068 _ASEOF
   21069 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   21070 ## -------------------- ##
   21071 ## M4sh Initialization. ##
   21072 ## -------------------- ##
   21073 
   21074 # Be more Bourne compatible
   21075 DUALCASE=1; export DUALCASE # for MKS sh
   21076 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   21077 then :
   21078   emulate sh
   21079   NULLCMD=:
   21080   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   21081   # is contrary to our usage.  Disable this feature.
   21082   alias -g '${1+"$@"}'='"$@"'
   21083   setopt NO_GLOB_SUBST
   21084 else case e in #(
   21085   e) case `(set -o) 2>/dev/null` in #(
   21086   *posix*) :
   21087     set -o posix ;; #(
   21088   *) :
   21089      ;;
   21090 esac ;;
   21091 esac
   21092 fi
   21093 
   21094 
   21095 
   21096 # Reset variables that may have inherited troublesome values from
   21097 # the environment.
   21098 
   21099 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   21100 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   21101 # side effect of setting IFS to empty, thus disabling word splitting.)
   21102 # Quoting is to prevent editors from complaining about space-tab.
   21103 as_nl='
   21104 '
   21105 export as_nl
   21106 IFS=" ""	$as_nl"
   21107 
   21108 PS1='$ '
   21109 PS2='> '
   21110 PS4='+ '
   21111 
   21112 # Ensure predictable behavior from utilities with locale-dependent output.
   21113 LC_ALL=C
   21114 export LC_ALL
   21115 LANGUAGE=C
   21116 export LANGUAGE
   21117 
   21118 # We cannot yet rely on "unset" to work, but we need these variables
   21119 # to be unset--not just set to an empty or harmless value--now, to
   21120 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   21121 # also avoids known problems related to "unset" and subshell syntax
   21122 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   21123 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   21124 do eval test \${$as_var+y} \
   21125   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   21126 done
   21127 
   21128 # Ensure that fds 0, 1, and 2 are open.
   21129 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   21130 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   21131 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   21132 
   21133 # The user is always right.
   21134 if ${PATH_SEPARATOR+false} :; then
   21135   PATH_SEPARATOR=:
   21136   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   21137     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   21138       PATH_SEPARATOR=';'
   21139   }
   21140 fi
   21141 
   21142 
   21143 # Find who we are.  Look in the path if we contain no directory separator.
   21144 as_myself=
   21145 case $0 in #((
   21146   *[\\/]* ) as_myself=$0 ;;
   21147   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21148 for as_dir in $PATH
   21149 do
   21150   IFS=$as_save_IFS
   21151   case $as_dir in #(((
   21152     '') as_dir=./ ;;
   21153     */) ;;
   21154     *) as_dir=$as_dir/ ;;
   21155   esac
   21156     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   21157   done
   21158 IFS=$as_save_IFS
   21159 
   21160      ;;
   21161 esac
   21162 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   21163 # in which case we are not to be found in the path.
   21164 if test "x$as_myself" = x; then
   21165   as_myself=$0
   21166 fi
   21167 if test ! -f "$as_myself"; then
   21168   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   21169   exit 1
   21170 fi
   21171 
   21172 
   21173 
   21174 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   21175 # ----------------------------------------
   21176 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   21177 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   21178 # script with STATUS, using 1 if that was 0.
   21179 as_fn_error ()
   21180 {
   21181   as_status=$1; test $as_status -eq 0 && as_status=1
   21182   if test "$4"; then
   21183     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   21184     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   21185   fi
   21186   printf "%s\n" "$as_me: error: $2" >&2
   21187   as_fn_exit $as_status
   21188 } # as_fn_error
   21189 
   21190 
   21191 # as_fn_set_status STATUS
   21192 # -----------------------
   21193 # Set $? to STATUS, without forking.
   21194 as_fn_set_status ()
   21195 {
   21196   return $1
   21197 } # as_fn_set_status
   21198 
   21199 # as_fn_exit STATUS
   21200 # -----------------
   21201 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   21202 as_fn_exit ()
   21203 {
   21204   set +e
   21205   as_fn_set_status $1
   21206   exit $1
   21207 } # as_fn_exit
   21208 
   21209 # as_fn_unset VAR
   21210 # ---------------
   21211 # Portably unset VAR.
   21212 as_fn_unset ()
   21213 {
   21214   { eval $1=; unset $1;}
   21215 }
   21216 as_unset=as_fn_unset
   21217 
   21218 # as_fn_append VAR VALUE
   21219 # ----------------------
   21220 # Append the text in VALUE to the end of the definition contained in VAR. Take
   21221 # advantage of any shell optimizations that allow amortized linear growth over
   21222 # repeated appends, instead of the typical quadratic growth present in naive
   21223 # implementations.
   21224 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   21225 then :
   21226   eval 'as_fn_append ()
   21227   {
   21228     eval $1+=\$2
   21229   }'
   21230 else case e in #(
   21231   e) as_fn_append ()
   21232   {
   21233     eval $1=\$$1\$2
   21234   } ;;
   21235 esac
   21236 fi # as_fn_append
   21237 
   21238 # as_fn_arith ARG...
   21239 # ------------------
   21240 # Perform arithmetic evaluation on the ARGs, and store the result in the
   21241 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   21242 # must be portable across $(()) and expr.
   21243 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   21244 then :
   21245   eval 'as_fn_arith ()
   21246   {
   21247     as_val=$(( $* ))
   21248   }'
   21249 else case e in #(
   21250   e) as_fn_arith ()
   21251   {
   21252     as_val=`expr "$@" || test $? -eq 1`
   21253   } ;;
   21254 esac
   21255 fi # as_fn_arith
   21256 
   21257 
   21258 if expr a : '\(a\)' >/dev/null 2>&1 &&
   21259    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   21260   as_expr=expr
   21261 else
   21262   as_expr=false
   21263 fi
   21264 
   21265 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   21266   as_basename=basename
   21267 else
   21268   as_basename=false
   21269 fi
   21270 
   21271 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   21272   as_dirname=dirname
   21273 else
   21274   as_dirname=false
   21275 fi
   21276 
   21277 as_me=`$as_basename -- "$0" ||
   21278 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   21279 	 X"$0" : 'X\(//\)$' \| \
   21280 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   21281 printf "%s\n" X/"$0" |
   21282     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21283 	    s//\1/
   21284 	    q
   21285 	  }
   21286 	  /^X\/\(\/\/\)$/{
   21287 	    s//\1/
   21288 	    q
   21289 	  }
   21290 	  /^X\/\(\/\).*/{
   21291 	    s//\1/
   21292 	    q
   21293 	  }
   21294 	  s/.*/./; q'`
   21295 
   21296 # Avoid depending upon Character Ranges.
   21297 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   21298 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   21299 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   21300 as_cr_digits='0123456789'
   21301 as_cr_alnum=$as_cr_Letters$as_cr_digits
   21302 
   21303 
   21304 # Determine whether it's possible to make 'echo' print without a newline.
   21305 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   21306 # for compatibility with existing Makefiles.
   21307 ECHO_C= ECHO_N= ECHO_T=
   21308 case `echo -n x` in #(((((
   21309 -n*)
   21310   case `echo 'xy\c'` in
   21311   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   21312   xy)  ECHO_C='\c';;
   21313   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   21314        ECHO_T='	';;
   21315   esac;;
   21316 *)
   21317   ECHO_N='-n';;
   21318 esac
   21319 
   21320 # For backward compatibility with old third-party macros, we provide
   21321 # the shell variables $as_echo and $as_echo_n.  New code should use
   21322 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   21323 as_echo='printf %s\n'
   21324 as_echo_n='printf %s'
   21325 
   21326 rm -f conf$$ conf$$.exe conf$$.file
   21327 if test -d conf$$.dir; then
   21328   rm -f conf$$.dir/conf$$.file
   21329 else
   21330   rm -f conf$$.dir
   21331   mkdir conf$$.dir 2>/dev/null
   21332 fi
   21333 if (echo >conf$$.file) 2>/dev/null; then
   21334   if ln -s conf$$.file conf$$ 2>/dev/null; then
   21335     as_ln_s='ln -s'
   21336     # ... but there are two gotchas:
   21337     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   21338     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   21339     # In both cases, we have to default to 'cp -pR'.
   21340     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   21341       as_ln_s='cp -pR'
   21342   elif ln conf$$.file conf$$ 2>/dev/null; then
   21343     as_ln_s=ln
   21344   else
   21345     as_ln_s='cp -pR'
   21346   fi
   21347 else
   21348   as_ln_s='cp -pR'
   21349 fi
   21350 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   21351 rmdir conf$$.dir 2>/dev/null
   21352 
   21353 
   21354 # as_fn_mkdir_p
   21355 # -------------
   21356 # Create "$as_dir" as a directory, including parents if necessary.
   21357 as_fn_mkdir_p ()
   21358 {
   21359 
   21360   case $as_dir in #(
   21361   -*) as_dir=./$as_dir;;
   21362   esac
   21363   test -d "$as_dir" || eval $as_mkdir_p || {
   21364     as_dirs=
   21365     while :; do
   21366       case $as_dir in #(
   21367       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   21368       *) as_qdir=$as_dir;;
   21369       esac
   21370       as_dirs="'$as_qdir' $as_dirs"
   21371       as_dir=`$as_dirname -- "$as_dir" ||
   21372 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21373 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   21374 	 X"$as_dir" : 'X\(//\)$' \| \
   21375 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   21376 printf "%s\n" X"$as_dir" |
   21377     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21378 	    s//\1/
   21379 	    q
   21380 	  }
   21381 	  /^X\(\/\/\)[^/].*/{
   21382 	    s//\1/
   21383 	    q
   21384 	  }
   21385 	  /^X\(\/\/\)$/{
   21386 	    s//\1/
   21387 	    q
   21388 	  }
   21389 	  /^X\(\/\).*/{
   21390 	    s//\1/
   21391 	    q
   21392 	  }
   21393 	  s/.*/./; q'`
   21394       test -d "$as_dir" && break
   21395     done
   21396     test -z "$as_dirs" || eval "mkdir $as_dirs"
   21397   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   21398 
   21399 
   21400 } # as_fn_mkdir_p
   21401 if mkdir -p . 2>/dev/null; then
   21402   as_mkdir_p='mkdir -p "$as_dir"'
   21403 else
   21404   test -d ./-p && rmdir ./-p
   21405   as_mkdir_p=false
   21406 fi
   21407 
   21408 
   21409 # as_fn_executable_p FILE
   21410 # -----------------------
   21411 # Test if FILE is an executable regular file.
   21412 as_fn_executable_p ()
   21413 {
   21414   test -f "$1" && test -x "$1"
   21415 } # as_fn_executable_p
   21416 as_test_x='test -x'
   21417 as_executable_p=as_fn_executable_p
   21418 
   21419 # Sed expression to map a string onto a valid CPP name.
   21420 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   21421 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   21422 
   21423 # Sed expression to map a string onto a valid variable name.
   21424 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   21425 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   21426 
   21427 
   21428 exec 6>&1
   21429 ## ----------------------------------- ##
   21430 ## Main body of $CONFIG_STATUS script. ##
   21431 ## ----------------------------------- ##
   21432 _ASEOF
   21433 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   21434 
   21435 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21436 # Save the log message, to keep $0 and so on meaningful, and to
   21437 # report actual input values of CONFIG_FILES etc. instead of their
   21438 # values after options handling.
   21439 ac_log="
   21440 This file was extended by xf86-video-r128 $as_me 6.13.0, which was
   21441 generated by GNU Autoconf 2.72.  Invocation command line was
   21442 
   21443   CONFIG_FILES    = $CONFIG_FILES
   21444   CONFIG_HEADERS  = $CONFIG_HEADERS
   21445   CONFIG_LINKS    = $CONFIG_LINKS
   21446   CONFIG_COMMANDS = $CONFIG_COMMANDS
   21447   $ $0 $@
   21448 
   21449 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   21450 "
   21451 
   21452 _ACEOF
   21453 
   21454 case $ac_config_files in *"
   21455 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   21456 esac
   21457 
   21458 case $ac_config_headers in *"
   21459 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   21460 esac
   21461 
   21462 
   21463 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21464 # Files that config.status was made for.
   21465 config_files="$ac_config_files"
   21466 config_headers="$ac_config_headers"
   21467 config_commands="$ac_config_commands"
   21468 
   21469 _ACEOF
   21470 
   21471 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21472 ac_cs_usage="\
   21473 '$as_me' instantiates files and other configuration actions
   21474 from templates according to the current configuration.  Unless the files
   21475 and actions are specified as TAGs, all are instantiated by default.
   21476 
   21477 Usage: $0 [OPTION]... [TAG]...
   21478 
   21479   -h, --help       print this help, then exit
   21480   -V, --version    print version number and configuration settings, then exit
   21481       --config     print configuration, then exit
   21482   -q, --quiet, --silent
   21483                    do not print progress messages
   21484   -d, --debug      don't remove temporary files
   21485       --recheck    update $as_me by reconfiguring in the same conditions
   21486       --file=FILE[:TEMPLATE]
   21487                    instantiate the configuration file FILE
   21488       --header=FILE[:TEMPLATE]
   21489                    instantiate the configuration header FILE
   21490 
   21491 Configuration files:
   21492 $config_files
   21493 
   21494 Configuration headers:
   21495 $config_headers
   21496 
   21497 Configuration commands:
   21498 $config_commands
   21499 
   21500 Report bugs to <https://gitlab.freedesktop.org/xorg/driver/xf86-video-r128/-/issues>."
   21501 
   21502 _ACEOF
   21503 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   21504 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   21505 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21506 ac_cs_config='$ac_cs_config_escaped'
   21507 ac_cs_version="\\
   21508 xf86-video-r128 config.status 6.13.0
   21509 configured by $0, generated by GNU Autoconf 2.72,
   21510   with options \\"\$ac_cs_config\\"
   21511 
   21512 Copyright (C) 2023 Free Software Foundation, Inc.
   21513 This config.status script is free software; the Free Software Foundation
   21514 gives unlimited permission to copy, distribute and modify it."
   21515 
   21516 ac_pwd='$ac_pwd'
   21517 srcdir='$srcdir'
   21518 INSTALL='$INSTALL'
   21519 MKDIR_P='$MKDIR_P'
   21520 AWK='$AWK'
   21521 test -n "\$AWK" || AWK=awk
   21522 _ACEOF
   21523 
   21524 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21525 # The default lists apply if the user does not specify any file.
   21526 ac_need_defaults=:
   21527 while test $# != 0
   21528 do
   21529   case $1 in
   21530   --*=?*)
   21531     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21532     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   21533     ac_shift=:
   21534     ;;
   21535   --*=)
   21536     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21537     ac_optarg=
   21538     ac_shift=:
   21539     ;;
   21540   *)
   21541     ac_option=$1
   21542     ac_optarg=$2
   21543     ac_shift=shift
   21544     ;;
   21545   esac
   21546 
   21547   case $ac_option in
   21548   # Handling of the options.
   21549   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   21550     ac_cs_recheck=: ;;
   21551   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   21552     printf "%s\n" "$ac_cs_version"; exit ;;
   21553   --config | --confi | --conf | --con | --co | --c )
   21554     printf "%s\n" "$ac_cs_config"; exit ;;
   21555   --debug | --debu | --deb | --de | --d | -d )
   21556     debug=: ;;
   21557   --file | --fil | --fi | --f )
   21558     $ac_shift
   21559     case $ac_optarg in
   21560     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21561     '') as_fn_error $? "missing file argument" ;;
   21562     esac
   21563     as_fn_append CONFIG_FILES " '$ac_optarg'"
   21564     ac_need_defaults=false;;
   21565   --header | --heade | --head | --hea )
   21566     $ac_shift
   21567     case $ac_optarg in
   21568     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21569     esac
   21570     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   21571     ac_need_defaults=false;;
   21572   --he | --h)
   21573     # Conflict between --help and --header
   21574     as_fn_error $? "ambiguous option: '$1'
   21575 Try '$0 --help' for more information.";;
   21576   --help | --hel | -h )
   21577     printf "%s\n" "$ac_cs_usage"; exit ;;
   21578   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   21579   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   21580     ac_cs_silent=: ;;
   21581 
   21582   # This is an error.
   21583   -*) as_fn_error $? "unrecognized option: '$1'
   21584 Try '$0 --help' for more information." ;;
   21585 
   21586   *) as_fn_append ac_config_targets " $1"
   21587      ac_need_defaults=false ;;
   21588 
   21589   esac
   21590   shift
   21591 done
   21592 
   21593 ac_configure_extra_args=
   21594 
   21595 if $ac_cs_silent; then
   21596   exec 6>/dev/null
   21597   ac_configure_extra_args="$ac_configure_extra_args --silent"
   21598 fi
   21599 
   21600 _ACEOF
   21601 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21602 if \$ac_cs_recheck; then
   21603   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   21604   shift
   21605   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   21606   CONFIG_SHELL='$SHELL'
   21607   export CONFIG_SHELL
   21608   exec "\$@"
   21609 fi
   21610 
   21611 _ACEOF
   21612 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21613 exec 5>>config.log
   21614 {
   21615   echo
   21616   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   21617 ## Running $as_me. ##
   21618 _ASBOX
   21619   printf "%s\n" "$ac_log"
   21620 } >&5
   21621 
   21622 _ACEOF
   21623 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21624 #
   21625 # INIT-COMMANDS
   21626 #
   21627 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   21628 
   21629 
   21630 # The HP-UX ksh and POSIX shell print the target directory to stdout
   21631 # if CDPATH is set.
   21632 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   21633 
   21634 sed_quote_subst='$sed_quote_subst'
   21635 double_quote_subst='$double_quote_subst'
   21636 delay_variable_subst='$delay_variable_subst'
   21637 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   21638 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   21639 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   21640 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   21641 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   21642 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   21643 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   21644 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   21645 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   21646 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   21647 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   21648 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   21649 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   21650 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   21651 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   21652 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   21653 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   21654 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   21655 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   21656 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   21657 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   21658 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   21659 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   21660 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   21661 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   21662 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   21663 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   21664 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   21665 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   21666 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   21667 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   21668 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   21669 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   21670 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   21671 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   21672 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   21673 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   21674 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   21675 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   21676 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   21677 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   21678 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   21679 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   21680 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   21681 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   21682 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   21683 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   21684 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   21685 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21686 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21687 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   21688 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   21689 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   21690 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   21691 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   21692 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   21693 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   21694 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   21695 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   21696 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   21697 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"`'
   21698 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   21699 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   21700 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   21701 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   21702 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   21703 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   21704 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   21705 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   21706 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   21707 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   21708 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   21709 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   21710 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   21711 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   21712 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   21713 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   21714 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   21715 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   21716 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   21717 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   21718 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21719 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   21720 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   21721 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   21722 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   21723 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   21724 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   21725 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21726 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   21727 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21728 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   21729 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21730 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   21731 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21732 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21733 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   21734 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   21735 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   21736 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   21737 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   21738 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21739 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   21740 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   21741 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   21742 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   21743 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   21744 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   21745 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   21746 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   21747 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   21748 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   21749 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   21750 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   21751 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   21752 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   21753 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   21754 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21755 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   21756 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   21757 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   21758 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   21759 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   21760 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21761 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21762 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   21763 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   21764 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   21765 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   21766 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   21767 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   21768 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   21769 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   21770 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   21771 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   21772 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   21773 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   21774 
   21775 LTCC='$LTCC'
   21776 LTCFLAGS='$LTCFLAGS'
   21777 compiler='$compiler_DEFAULT'
   21778 
   21779 # A function that is used when there is no print builtin or printf.
   21780 func_fallback_echo ()
   21781 {
   21782   eval 'cat <<_LTECHO_EOF
   21783 \$1
   21784 _LTECHO_EOF'
   21785 }
   21786 
   21787 # Quote evaled strings.
   21788 for var in SHELL \
   21789 ECHO \
   21790 PATH_SEPARATOR \
   21791 SED \
   21792 GREP \
   21793 EGREP \
   21794 FGREP \
   21795 LD \
   21796 NM \
   21797 LN_S \
   21798 lt_SP2NL \
   21799 lt_NL2SP \
   21800 reload_flag \
   21801 FILECMD \
   21802 OBJDUMP \
   21803 deplibs_check_method \
   21804 file_magic_cmd \
   21805 file_magic_glob \
   21806 want_nocaseglob \
   21807 DLLTOOL \
   21808 sharedlib_from_linklib_cmd \
   21809 AR \
   21810 archiver_list_spec \
   21811 STRIP \
   21812 RANLIB \
   21813 CC \
   21814 CFLAGS \
   21815 compiler \
   21816 lt_cv_sys_global_symbol_pipe \
   21817 lt_cv_sys_global_symbol_to_cdecl \
   21818 lt_cv_sys_global_symbol_to_import \
   21819 lt_cv_sys_global_symbol_to_c_name_address \
   21820 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   21821 lt_cv_nm_interface \
   21822 nm_file_list_spec \
   21823 lt_cv_truncate_bin \
   21824 lt_prog_compiler_no_builtin_flag \
   21825 lt_prog_compiler_pic \
   21826 lt_prog_compiler_wl \
   21827 lt_prog_compiler_static \
   21828 lt_cv_prog_compiler_c_o \
   21829 need_locks \
   21830 MANIFEST_TOOL \
   21831 DSYMUTIL \
   21832 NMEDIT \
   21833 LIPO \
   21834 OTOOL \
   21835 OTOOL64 \
   21836 shrext_cmds \
   21837 export_dynamic_flag_spec \
   21838 whole_archive_flag_spec \
   21839 compiler_needs_object \
   21840 with_gnu_ld \
   21841 allow_undefined_flag \
   21842 no_undefined_flag \
   21843 hardcode_libdir_flag_spec \
   21844 hardcode_libdir_separator \
   21845 exclude_expsyms \
   21846 include_expsyms \
   21847 file_list_spec \
   21848 variables_saved_for_relink \
   21849 libname_spec \
   21850 library_names_spec \
   21851 soname_spec \
   21852 install_override_mode \
   21853 finish_eval \
   21854 old_striplib \
   21855 striplib; do
   21856     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21857     *[\\\\\\\`\\"\\\$]*)
   21858       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21859       ;;
   21860     *)
   21861       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21862       ;;
   21863     esac
   21864 done
   21865 
   21866 # Double-quote double-evaled strings.
   21867 for var in reload_cmds \
   21868 old_postinstall_cmds \
   21869 old_postuninstall_cmds \
   21870 old_archive_cmds \
   21871 extract_expsyms_cmds \
   21872 old_archive_from_new_cmds \
   21873 old_archive_from_expsyms_cmds \
   21874 archive_cmds \
   21875 archive_expsym_cmds \
   21876 module_cmds \
   21877 module_expsym_cmds \
   21878 export_symbols_cmds \
   21879 prelink_cmds \
   21880 postlink_cmds \
   21881 postinstall_cmds \
   21882 postuninstall_cmds \
   21883 finish_cmds \
   21884 sys_lib_search_path_spec \
   21885 configure_time_dlsearch_path \
   21886 configure_time_lt_sys_library_path; do
   21887     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21888     *[\\\\\\\`\\"\\\$]*)
   21889       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21890       ;;
   21891     *)
   21892       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21893       ;;
   21894     esac
   21895 done
   21896 
   21897 ac_aux_dir='$ac_aux_dir'
   21898 
   21899 # See if we are running on zsh, and set the options that allow our
   21900 # commands through without removal of \ escapes INIT.
   21901 if test -n "\${ZSH_VERSION+set}"; then
   21902    setopt NO_GLOB_SUBST
   21903 fi
   21904 
   21905 
   21906     PACKAGE='$PACKAGE'
   21907     VERSION='$VERSION'
   21908     RM='$RM'
   21909     ofile='$ofile'
   21910 
   21911 
   21912 
   21913 
   21914 _ACEOF
   21915 
   21916 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21917 
   21918 # Handling of arguments.
   21919 for ac_config_target in $ac_config_targets
   21920 do
   21921   case $ac_config_target in
   21922     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   21923     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   21924     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   21925     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   21926     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   21927     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   21928 
   21929   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   21930   esac
   21931 done
   21932 
   21933 
   21934 # If the user did not use the arguments to specify the items to instantiate,
   21935 # then the envvar interface is used.  Set only those that are not.
   21936 # We use the long form for the default assignment because of an extremely
   21937 # bizarre bug on SunOS 4.1.3.
   21938 if $ac_need_defaults; then
   21939   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   21940   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   21941   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   21942 fi
   21943 
   21944 # Have a temporary directory for convenience.  Make it in the build tree
   21945 # simply because there is no reason against having it here, and in addition,
   21946 # creating and moving files from /tmp can sometimes cause problems.
   21947 # Hook for its removal unless debugging.
   21948 # Note that there is a small window in which the directory will not be cleaned:
   21949 # after its creation but before its name has been assigned to '$tmp'.
   21950 $debug ||
   21951 {
   21952   tmp= ac_tmp=
   21953   trap 'exit_status=$?
   21954   : "${ac_tmp:=$tmp}"
   21955   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   21956 ' 0
   21957   trap 'as_fn_exit 1' 1 2 13 15
   21958 }
   21959 # Create a (secure) tmp directory for tmp files.
   21960 
   21961 {
   21962   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   21963   test -d "$tmp"
   21964 }  ||
   21965 {
   21966   tmp=./conf$$-$RANDOM
   21967   (umask 077 && mkdir "$tmp")
   21968 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   21969 ac_tmp=$tmp
   21970 
   21971 # Set up the scripts for CONFIG_FILES section.
   21972 # No need to generate them if there are no CONFIG_FILES.
   21973 # This happens for instance with './config.status config.h'.
   21974 if test -n "$CONFIG_FILES"; then
   21975 
   21976 
   21977 ac_cr=`echo X | tr X '\015'`
   21978 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   21979 # But we know of no other shell where ac_cr would be empty at this
   21980 # point, so we can use a bashism as a fallback.
   21981 if test "x$ac_cr" = x; then
   21982   eval ac_cr=\$\'\\r\'
   21983 fi
   21984 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   21985 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   21986   ac_cs_awk_cr='\\r'
   21987 else
   21988   ac_cs_awk_cr=$ac_cr
   21989 fi
   21990 
   21991 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   21992 _ACEOF
   21993 
   21994 
   21995 {
   21996   echo "cat >conf$$subs.awk <<_ACEOF" &&
   21997   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   21998   echo "_ACEOF"
   21999 } >conf$$subs.sh ||
   22000   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22001 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   22002 ac_delim='%!_!# '
   22003 for ac_last_try in false false false false false :; do
   22004   . ./conf$$subs.sh ||
   22005     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22006 
   22007   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   22008   if test $ac_delim_n = $ac_delim_num; then
   22009     break
   22010   elif $ac_last_try; then
   22011     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22012   else
   22013     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22014   fi
   22015 done
   22016 rm -f conf$$subs.sh
   22017 
   22018 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22019 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   22020 _ACEOF
   22021 sed -n '
   22022 h
   22023 s/^/S["/; s/!.*/"]=/
   22024 p
   22025 g
   22026 s/^[^!]*!//
   22027 :repl
   22028 t repl
   22029 s/'"$ac_delim"'$//
   22030 t delim
   22031 :nl
   22032 h
   22033 s/\(.\{148\}\)..*/\1/
   22034 t more1
   22035 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   22036 p
   22037 n
   22038 b repl
   22039 :more1
   22040 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22041 p
   22042 g
   22043 s/.\{148\}//
   22044 t nl
   22045 :delim
   22046 h
   22047 s/\(.\{148\}\)..*/\1/
   22048 t more2
   22049 s/["\\]/\\&/g; s/^/"/; s/$/"/
   22050 p
   22051 b
   22052 :more2
   22053 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22054 p
   22055 g
   22056 s/.\{148\}//
   22057 t delim
   22058 ' <conf$$subs.awk | sed '
   22059 /^[^""]/{
   22060   N
   22061   s/\n//
   22062 }
   22063 ' >>$CONFIG_STATUS || ac_write_fail=1
   22064 rm -f conf$$subs.awk
   22065 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22066 _ACAWK
   22067 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   22068   for (key in S) S_is_set[key] = 1
   22069   FS = ""
   22070 
   22071 }
   22072 {
   22073   line = $ 0
   22074   nfields = split(line, field, "@")
   22075   substed = 0
   22076   len = length(field[1])
   22077   for (i = 2; i < nfields; i++) {
   22078     key = field[i]
   22079     keylen = length(key)
   22080     if (S_is_set[key]) {
   22081       value = S[key]
   22082       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   22083       len += length(value) + length(field[++i])
   22084       substed = 1
   22085     } else
   22086       len += 1 + keylen
   22087   }
   22088 
   22089   print line
   22090 }
   22091 
   22092 _ACAWK
   22093 _ACEOF
   22094 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22095 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   22096   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   22097 else
   22098   cat
   22099 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   22100   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   22101 _ACEOF
   22102 
   22103 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   22104 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   22105 # trailing colons and then remove the whole line if VPATH becomes empty
   22106 # (actually we leave an empty line to preserve line numbers).
   22107 if test "x$srcdir" = x.; then
   22108   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   22109 h
   22110 s///
   22111 s/^/:/
   22112 s/[	 ]*$/:/
   22113 s/:\$(srcdir):/:/g
   22114 s/:\${srcdir}:/:/g
   22115 s/:@srcdir@:/:/g
   22116 s/^:*//
   22117 s/:*$//
   22118 x
   22119 s/\(=[	 ]*\).*/\1/
   22120 G
   22121 s/\n//
   22122 s/^[^=]*=[	 ]*$//
   22123 }'
   22124 fi
   22125 
   22126 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22127 fi # test -n "$CONFIG_FILES"
   22128 
   22129 # Set up the scripts for CONFIG_HEADERS section.
   22130 # No need to generate them if there are no CONFIG_HEADERS.
   22131 # This happens for instance with './config.status Makefile'.
   22132 if test -n "$CONFIG_HEADERS"; then
   22133 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   22134 BEGIN {
   22135 _ACEOF
   22136 
   22137 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   22138 # here-document in config.status, that substitutes the proper values into
   22139 # config.h.in to produce config.h.
   22140 
   22141 # Create a delimiter string that does not exist in confdefs.h, to ease
   22142 # handling of long lines.
   22143 ac_delim='%!_!# '
   22144 for ac_last_try in false false :; do
   22145   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   22146   if test -z "$ac_tt"; then
   22147     break
   22148   elif $ac_last_try; then
   22149     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   22150   else
   22151     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22152   fi
   22153 done
   22154 
   22155 # For the awk script, D is an array of macro values keyed by name,
   22156 # likewise P contains macro parameters if any.  Preserve backslash
   22157 # newline sequences.
   22158 
   22159 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   22160 sed -n '
   22161 s/.\{148\}/&'"$ac_delim"'/g
   22162 t rset
   22163 :rset
   22164 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   22165 t def
   22166 d
   22167 :def
   22168 s/\\$//
   22169 t bsnl
   22170 s/["\\]/\\&/g
   22171 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22172 D["\1"]=" \3"/p
   22173 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   22174 d
   22175 :bsnl
   22176 s/["\\]/\\&/g
   22177 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22178 D["\1"]=" \3\\\\\\n"\\/p
   22179 t cont
   22180 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   22181 t cont
   22182 d
   22183 :cont
   22184 n
   22185 s/.\{148\}/&'"$ac_delim"'/g
   22186 t clear
   22187 :clear
   22188 s/\\$//
   22189 t bsnlc
   22190 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   22191 d
   22192 :bsnlc
   22193 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   22194 b cont
   22195 ' <confdefs.h | sed '
   22196 s/'"$ac_delim"'/"\\\
   22197 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   22198 
   22199 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22200   for (key in D) D_is_set[key] = 1
   22201   FS = ""
   22202 }
   22203 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   22204   line = \$ 0
   22205   split(line, arg, " ")
   22206   if (arg[1] == "#") {
   22207     defundef = arg[2]
   22208     mac1 = arg[3]
   22209   } else {
   22210     defundef = substr(arg[1], 2)
   22211     mac1 = arg[2]
   22212   }
   22213   split(mac1, mac2, "(") #)
   22214   macro = mac2[1]
   22215   prefix = substr(line, 1, index(line, defundef) - 1)
   22216   if (D_is_set[macro]) {
   22217     # Preserve the white space surrounding the "#".
   22218     print prefix "define", macro P[macro] D[macro]
   22219     next
   22220   } else {
   22221     # Replace #undef with comments.  This is necessary, for example,
   22222     # in the case of _POSIX_SOURCE, which is predefined and required
   22223     # on some systems where configure will not decide to define it.
   22224     if (defundef == "undef") {
   22225       print "/*", prefix defundef, macro, "*/"
   22226       next
   22227     }
   22228   }
   22229 }
   22230 { print }
   22231 _ACAWK
   22232 _ACEOF
   22233 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22234   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   22235 fi # test -n "$CONFIG_HEADERS"
   22236 
   22237 
   22238 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   22239 shift
   22240 for ac_tag
   22241 do
   22242   case $ac_tag in
   22243   :[FHLC]) ac_mode=$ac_tag; continue;;
   22244   esac
   22245   case $ac_mode$ac_tag in
   22246   :[FHL]*:*);;
   22247   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   22248   :[FH]-) ac_tag=-:-;;
   22249   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   22250   esac
   22251   ac_save_IFS=$IFS
   22252   IFS=:
   22253   set x $ac_tag
   22254   IFS=$ac_save_IFS
   22255   shift
   22256   ac_file=$1
   22257   shift
   22258 
   22259   case $ac_mode in
   22260   :L) ac_source=$1;;
   22261   :[FH])
   22262     ac_file_inputs=
   22263     for ac_f
   22264     do
   22265       case $ac_f in
   22266       -) ac_f="$ac_tmp/stdin";;
   22267       *) # Look for the file first in the build tree, then in the source tree
   22268 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   22269 	 # because $ac_f cannot contain ':'.
   22270 	 test -f "$ac_f" ||
   22271 	   case $ac_f in
   22272 	   [\\/$]*) false;;
   22273 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   22274 	   esac ||
   22275 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   22276       esac
   22277       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   22278       as_fn_append ac_file_inputs " '$ac_f'"
   22279     done
   22280 
   22281     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   22282     # use $as_me), people would be surprised to read:
   22283     #    /* config.h.  Generated by config.status.  */
   22284     configure_input='Generated from '`
   22285 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   22286 	`' by configure.'
   22287     if test x"$ac_file" != x-; then
   22288       configure_input="$ac_file.  $configure_input"
   22289       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   22290 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   22291     fi
   22292     # Neutralize special characters interpreted by sed in replacement strings.
   22293     case $configure_input in #(
   22294     *\&* | *\|* | *\\* )
   22295        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   22296        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   22297     *) ac_sed_conf_input=$configure_input;;
   22298     esac
   22299 
   22300     case $ac_tag in
   22301     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   22302       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   22303     esac
   22304     ;;
   22305   esac
   22306 
   22307   ac_dir=`$as_dirname -- "$ac_file" ||
   22308 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22309 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   22310 	 X"$ac_file" : 'X\(//\)$' \| \
   22311 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   22312 printf "%s\n" X"$ac_file" |
   22313     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22314 	    s//\1/
   22315 	    q
   22316 	  }
   22317 	  /^X\(\/\/\)[^/].*/{
   22318 	    s//\1/
   22319 	    q
   22320 	  }
   22321 	  /^X\(\/\/\)$/{
   22322 	    s//\1/
   22323 	    q
   22324 	  }
   22325 	  /^X\(\/\).*/{
   22326 	    s//\1/
   22327 	    q
   22328 	  }
   22329 	  s/.*/./; q'`
   22330   as_dir="$ac_dir"; as_fn_mkdir_p
   22331   ac_builddir=.
   22332 
   22333 case "$ac_dir" in
   22334 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22335 *)
   22336   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   22337   # A ".." for each directory in $ac_dir_suffix.
   22338   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   22339   case $ac_top_builddir_sub in
   22340   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22341   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   22342   esac ;;
   22343 esac
   22344 ac_abs_top_builddir=$ac_pwd
   22345 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   22346 # for backward compatibility:
   22347 ac_top_builddir=$ac_top_build_prefix
   22348 
   22349 case $srcdir in
   22350   .)  # We are building in place.
   22351     ac_srcdir=.
   22352     ac_top_srcdir=$ac_top_builddir_sub
   22353     ac_abs_top_srcdir=$ac_pwd ;;
   22354   [\\/]* | ?:[\\/]* )  # Absolute name.
   22355     ac_srcdir=$srcdir$ac_dir_suffix;
   22356     ac_top_srcdir=$srcdir
   22357     ac_abs_top_srcdir=$srcdir ;;
   22358   *) # Relative name.
   22359     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   22360     ac_top_srcdir=$ac_top_build_prefix$srcdir
   22361     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   22362 esac
   22363 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   22364 
   22365 
   22366   case $ac_mode in
   22367   :F)
   22368   #
   22369   # CONFIG_FILE
   22370   #
   22371 
   22372   case $INSTALL in
   22373   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   22374   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   22375   esac
   22376   ac_MKDIR_P=$MKDIR_P
   22377   case $MKDIR_P in
   22378   [\\/$]* | ?:[\\/]* ) ;;
   22379   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   22380   esac
   22381 _ACEOF
   22382 
   22383 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22384 # If the template does not know about datarootdir, expand it.
   22385 # FIXME: This hack should be removed a few years after 2.60.
   22386 ac_datarootdir_hack=; ac_datarootdir_seen=
   22387 ac_sed_dataroot='
   22388 /datarootdir/ {
   22389   p
   22390   q
   22391 }
   22392 /@datadir@/p
   22393 /@docdir@/p
   22394 /@infodir@/p
   22395 /@localedir@/p
   22396 /@mandir@/p'
   22397 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   22398 *datarootdir*) ac_datarootdir_seen=yes;;
   22399 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   22400   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   22401 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   22402 _ACEOF
   22403 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22404   ac_datarootdir_hack='
   22405   s&@datadir@&$datadir&g
   22406   s&@docdir@&$docdir&g
   22407   s&@infodir@&$infodir&g
   22408   s&@localedir@&$localedir&g
   22409   s&@mandir@&$mandir&g
   22410   s&\\\${datarootdir}&$datarootdir&g' ;;
   22411 esac
   22412 _ACEOF
   22413 
   22414 # Neutralize VPATH when '$srcdir' = '.'.
   22415 # Shell code in configure.ac might set extrasub.
   22416 # FIXME: do we really want to maintain this feature?
   22417 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22418 ac_sed_extra="$ac_vpsub
   22419 $extrasub
   22420 _ACEOF
   22421 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22422 :t
   22423 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   22424 s|@configure_input@|$ac_sed_conf_input|;t t
   22425 s&@top_builddir@&$ac_top_builddir_sub&;t t
   22426 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   22427 s&@srcdir@&$ac_srcdir&;t t
   22428 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   22429 s&@top_srcdir@&$ac_top_srcdir&;t t
   22430 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   22431 s&@builddir@&$ac_builddir&;t t
   22432 s&@abs_builddir@&$ac_abs_builddir&;t t
   22433 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   22434 s&@INSTALL@&$ac_INSTALL&;t t
   22435 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   22436 $ac_datarootdir_hack
   22437 "
   22438 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   22439   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22440 
   22441 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   22442   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   22443   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   22444       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   22445   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   22446 which seems to be undefined.  Please make sure it is defined" >&5
   22447 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   22448 which seems to be undefined.  Please make sure it is defined" >&2;}
   22449 
   22450   rm -f "$ac_tmp/stdin"
   22451   case $ac_file in
   22452   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   22453   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   22454   esac \
   22455   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22456  ;;
   22457   :H)
   22458   #
   22459   # CONFIG_HEADER
   22460   #
   22461   if test x"$ac_file" != x-; then
   22462     {
   22463       printf "%s\n" "/* $configure_input  */" >&1 \
   22464       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   22465     } >"$ac_tmp/config.h" \
   22466       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22467     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   22468       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   22469 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   22470     else
   22471       rm -f "$ac_file"
   22472       mv "$ac_tmp/config.h" "$ac_file" \
   22473 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22474     fi
   22475   else
   22476     printf "%s\n" "/* $configure_input  */" >&1 \
   22477       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   22478       || as_fn_error $? "could not create -" "$LINENO" 5
   22479   fi
   22480 # Compute "$ac_file"'s index in $config_headers.
   22481 _am_arg="$ac_file"
   22482 _am_stamp_count=1
   22483 for _am_header in $config_headers :; do
   22484   case $_am_header in
   22485     $_am_arg | $_am_arg:* )
   22486       break ;;
   22487     * )
   22488       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   22489   esac
   22490 done
   22491 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   22492 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22493 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   22494 	 X"$_am_arg" : 'X\(//\)$' \| \
   22495 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   22496 printf "%s\n" X"$_am_arg" |
   22497     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22498 	    s//\1/
   22499 	    q
   22500 	  }
   22501 	  /^X\(\/\/\)[^/].*/{
   22502 	    s//\1/
   22503 	    q
   22504 	  }
   22505 	  /^X\(\/\/\)$/{
   22506 	    s//\1/
   22507 	    q
   22508 	  }
   22509 	  /^X\(\/\).*/{
   22510 	    s//\1/
   22511 	    q
   22512 	  }
   22513 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   22514  ;;
   22515 
   22516   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   22517 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   22518  ;;
   22519   esac
   22520 
   22521 
   22522   case $ac_file$ac_mode in
   22523     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   22524   # Older Autoconf quotes --file arguments for eval, but not when files
   22525   # are listed without --file.  Let's play safe and only enable the eval
   22526   # if we detect the quoting.
   22527   # TODO: see whether this extra hack can be removed once we start
   22528   # requiring Autoconf 2.70 or later.
   22529   case $CONFIG_FILES in #(
   22530   *\'*) :
   22531     eval set x "$CONFIG_FILES" ;; #(
   22532   *) :
   22533     set x $CONFIG_FILES ;; #(
   22534   *) :
   22535      ;;
   22536 esac
   22537   shift
   22538   # Used to flag and report bootstrapping failures.
   22539   am_rc=0
   22540   for am_mf
   22541   do
   22542     # Strip MF so we end up with the name of the file.
   22543     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   22544     # Check whether this is an Automake generated Makefile which includes
   22545     # dependency-tracking related rules and includes.
   22546     # Grep'ing the whole file directly is not great: AIX grep has a line
   22547     # limit of 2048, but all sed's we know have understand at least 4000.
   22548     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   22549       || continue
   22550     am_dirpart=`$as_dirname -- "$am_mf" ||
   22551 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22552 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   22553 	 X"$am_mf" : 'X\(//\)$' \| \
   22554 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22555 printf "%s\n" X"$am_mf" |
   22556     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22557 	    s//\1/
   22558 	    q
   22559 	  }
   22560 	  /^X\(\/\/\)[^/].*/{
   22561 	    s//\1/
   22562 	    q
   22563 	  }
   22564 	  /^X\(\/\/\)$/{
   22565 	    s//\1/
   22566 	    q
   22567 	  }
   22568 	  /^X\(\/\).*/{
   22569 	    s//\1/
   22570 	    q
   22571 	  }
   22572 	  s/.*/./; q'`
   22573     am_filepart=`$as_basename -- "$am_mf" ||
   22574 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   22575 	 X"$am_mf" : 'X\(//\)$' \| \
   22576 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22577 printf "%s\n" X/"$am_mf" |
   22578     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22579 	    s//\1/
   22580 	    q
   22581 	  }
   22582 	  /^X\/\(\/\/\)$/{
   22583 	    s//\1/
   22584 	    q
   22585 	  }
   22586 	  /^X\/\(\/\).*/{
   22587 	    s//\1/
   22588 	    q
   22589 	  }
   22590 	  s/.*/./; q'`
   22591     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   22592       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22593         | $MAKE -f - am--depfiles" >&5
   22594    (cd "$am_dirpart" \
   22595       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22596         | $MAKE -f - am--depfiles) >&5 2>&5
   22597    ac_status=$?
   22598    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22599    (exit $ac_status); } || am_rc=$?
   22600   done
   22601   if test $am_rc -ne 0; then
   22602     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   22603 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   22604 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   22605     for automatic dependency tracking.  If GNU make was not used, consider
   22606     re-running the configure script with MAKE=\"gmake\" (or whatever is
   22607     necessary).  You can also try re-running configure with the
   22608     '--disable-dependency-tracking' option to at least be able to build
   22609     the package (albeit without support for automatic dependency tracking).
   22610 See 'config.log' for more details" "$LINENO" 5; }
   22611   fi
   22612   { am_dirpart=; unset am_dirpart;}
   22613   { am_filepart=; unset am_filepart;}
   22614   { am_mf=; unset am_mf;}
   22615   { am_rc=; unset am_rc;}
   22616   rm -f conftest-deps.mk
   22617 }
   22618  ;;
   22619     "libtool":C)
   22620 
   22621     # See if we are running on zsh, and set the options that allow our
   22622     # commands through without removal of \ escapes.
   22623     if test -n "${ZSH_VERSION+set}"; then
   22624       setopt NO_GLOB_SUBST
   22625     fi
   22626 
   22627     cfgfile=${ofile}T
   22628     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   22629     $RM "$cfgfile"
   22630 
   22631     cat <<_LT_EOF >> "$cfgfile"
   22632 #! $SHELL
   22633 # Generated automatically by $as_me ($PACKAGE) $VERSION
   22634 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   22635 
   22636 # Provide generalized library-building support services.
   22637 # Written by Gordon Matzigkeit, 1996
   22638 
   22639 # Copyright (C) 2024 Free Software Foundation, Inc.
   22640 # This is free software; see the source for copying conditions.  There is NO
   22641 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   22642 
   22643 # GNU Libtool is free software; you can redistribute it and/or modify
   22644 # it under the terms of the GNU General Public License as published by
   22645 # the Free Software Foundation; either version 2 of the License, or
   22646 # (at your option) any later version.
   22647 #
   22648 # As a special exception to the GNU General Public License, if you
   22649 # distribute this file as part of a program or library that is built
   22650 # using GNU Libtool, you may include this file under the  same
   22651 # distribution terms that you use for the rest of that program.
   22652 #
   22653 # GNU Libtool is distributed in the hope that it will be useful, but
   22654 # WITHOUT ANY WARRANTY; without even the implied warranty of
   22655 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   22656 # GNU General Public License for more details.
   22657 #
   22658 # You should have received a copy of the GNU General Public License
   22659 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   22660 
   22661 
   22662 # The names of the tagged configurations supported by this script.
   22663 available_tags=''
   22664 
   22665 # Configured defaults for sys_lib_dlsearch_path munging.
   22666 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   22667 
   22668 # ### BEGIN LIBTOOL CONFIG
   22669 
   22670 # Which release of libtool.m4 was used?
   22671 macro_version=$macro_version
   22672 macro_revision=$macro_revision
   22673 
   22674 # Whether or not to build static libraries.
   22675 build_old_libs=$enable_static
   22676 
   22677 # Whether or not to build shared libraries.
   22678 build_libtool_libs=$enable_shared
   22679 
   22680 # What type of objects to build.
   22681 pic_mode=$pic_mode
   22682 
   22683 # Whether or not to optimize for fast installation.
   22684 fast_install=$enable_fast_install
   22685 
   22686 # Shared archive member basename,for filename based shared library versioning on AIX.
   22687 shared_archive_member_spec=$shared_archive_member_spec
   22688 
   22689 # Shell to use when invoking shell scripts.
   22690 SHELL=$lt_SHELL
   22691 
   22692 # An echo program that protects backslashes.
   22693 ECHO=$lt_ECHO
   22694 
   22695 # The PATH separator for the build system.
   22696 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   22697 
   22698 # The host system.
   22699 host_alias=$host_alias
   22700 host=$host
   22701 host_os=$host_os
   22702 
   22703 # The build system.
   22704 build_alias=$build_alias
   22705 build=$build
   22706 build_os=$build_os
   22707 
   22708 # A sed program that does not truncate output.
   22709 SED=$lt_SED
   22710 
   22711 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   22712 Xsed="\$SED -e 1s/^X//"
   22713 
   22714 # A grep program that handles long lines.
   22715 GREP=$lt_GREP
   22716 
   22717 # An ERE matcher.
   22718 EGREP=$lt_EGREP
   22719 
   22720 # A literal string matcher.
   22721 FGREP=$lt_FGREP
   22722 
   22723 # A BSD- or MS-compatible name lister.
   22724 NM=$lt_NM
   22725 
   22726 # Whether we need soft or hard links.
   22727 LN_S=$lt_LN_S
   22728 
   22729 # What is the maximum length of a command?
   22730 max_cmd_len=$max_cmd_len
   22731 
   22732 # Object file suffix (normally "o").
   22733 objext=$ac_objext
   22734 
   22735 # Executable file suffix (normally "").
   22736 exeext=$exeext
   22737 
   22738 # whether the shell understands "unset".
   22739 lt_unset=$lt_unset
   22740 
   22741 # turn spaces into newlines.
   22742 SP2NL=$lt_lt_SP2NL
   22743 
   22744 # turn newlines into spaces.
   22745 NL2SP=$lt_lt_NL2SP
   22746 
   22747 # convert \$build file names to \$host format.
   22748 to_host_file_cmd=$lt_cv_to_host_file_cmd
   22749 
   22750 # convert \$build files to toolchain format.
   22751 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   22752 
   22753 # A file(cmd) program that detects file types.
   22754 FILECMD=$lt_FILECMD
   22755 
   22756 # An object symbol dumper.
   22757 OBJDUMP=$lt_OBJDUMP
   22758 
   22759 # Method to check whether dependent libraries are shared objects.
   22760 deplibs_check_method=$lt_deplibs_check_method
   22761 
   22762 # Command to use when deplibs_check_method = "file_magic".
   22763 file_magic_cmd=$lt_file_magic_cmd
   22764 
   22765 # How to find potential files when deplibs_check_method = "file_magic".
   22766 file_magic_glob=$lt_file_magic_glob
   22767 
   22768 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   22769 want_nocaseglob=$lt_want_nocaseglob
   22770 
   22771 # DLL creation program.
   22772 DLLTOOL=$lt_DLLTOOL
   22773 
   22774 # Command to associate shared and link libraries.
   22775 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   22776 
   22777 # The archiver.
   22778 AR=$lt_AR
   22779 
   22780 # Flags to create an archive (by configure).
   22781 lt_ar_flags=$lt_ar_flags
   22782 
   22783 # Flags to create an archive.
   22784 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   22785 
   22786 # How to feed a file listing to the archiver.
   22787 archiver_list_spec=$lt_archiver_list_spec
   22788 
   22789 # A symbol stripping program.
   22790 STRIP=$lt_STRIP
   22791 
   22792 # Commands used to install an old-style archive.
   22793 RANLIB=$lt_RANLIB
   22794 old_postinstall_cmds=$lt_old_postinstall_cmds
   22795 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   22796 
   22797 # Whether to use a lock for old archive extraction.
   22798 lock_old_archive_extraction=$lock_old_archive_extraction
   22799 
   22800 # A C compiler.
   22801 LTCC=$lt_CC
   22802 
   22803 # LTCC compiler flags.
   22804 LTCFLAGS=$lt_CFLAGS
   22805 
   22806 # Take the output of nm and produce a listing of raw symbols and C names.
   22807 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   22808 
   22809 # Transform the output of nm in a proper C declaration.
   22810 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   22811 
   22812 # Transform the output of nm into a list of symbols to manually relocate.
   22813 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   22814 
   22815 # Transform the output of nm in a C name address pair.
   22816 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   22817 
   22818 # Transform the output of nm in a C name address pair when lib prefix is needed.
   22819 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   22820 
   22821 # The name lister interface.
   22822 nm_interface=$lt_lt_cv_nm_interface
   22823 
   22824 # Specify filename containing input files for \$NM.
   22825 nm_file_list_spec=$lt_nm_file_list_spec
   22826 
   22827 # The root where to search for dependent libraries,and where our libraries should be installed.
   22828 lt_sysroot=$lt_sysroot
   22829 
   22830 # Command to truncate a binary pipe.
   22831 lt_truncate_bin=$lt_lt_cv_truncate_bin
   22832 
   22833 # The name of the directory that contains temporary libtool files.
   22834 objdir=$objdir
   22835 
   22836 # Used to examine libraries when file_magic_cmd begins with "file".
   22837 MAGIC_CMD=$MAGIC_CMD
   22838 
   22839 # Must we lock files when doing compilation?
   22840 need_locks=$lt_need_locks
   22841 
   22842 # Manifest tool.
   22843 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   22844 
   22845 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   22846 DSYMUTIL=$lt_DSYMUTIL
   22847 
   22848 # Tool to change global to local symbols on Mac OS X.
   22849 NMEDIT=$lt_NMEDIT
   22850 
   22851 # Tool to manipulate fat objects and archives on Mac OS X.
   22852 LIPO=$lt_LIPO
   22853 
   22854 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   22855 OTOOL=$lt_OTOOL
   22856 
   22857 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   22858 OTOOL64=$lt_OTOOL64
   22859 
   22860 # Old archive suffix (normally "a").
   22861 libext=$libext
   22862 
   22863 # Shared library suffix (normally ".so").
   22864 shrext_cmds=$lt_shrext_cmds
   22865 
   22866 # The commands to extract the exported symbol list from a shared archive.
   22867 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   22868 
   22869 # Variables whose values should be saved in libtool wrapper scripts and
   22870 # restored at link time.
   22871 variables_saved_for_relink=$lt_variables_saved_for_relink
   22872 
   22873 # Do we need the "lib" prefix for modules?
   22874 need_lib_prefix=$need_lib_prefix
   22875 
   22876 # Do we need a version for libraries?
   22877 need_version=$need_version
   22878 
   22879 # Library versioning type.
   22880 version_type=$version_type
   22881 
   22882 # Shared library runtime path variable.
   22883 runpath_var=$runpath_var
   22884 
   22885 # Shared library path variable.
   22886 shlibpath_var=$shlibpath_var
   22887 
   22888 # Is shlibpath searched before the hard-coded library search path?
   22889 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   22890 
   22891 # Format of library name prefix.
   22892 libname_spec=$lt_libname_spec
   22893 
   22894 # List of archive names.  First name is the real one, the rest are links.
   22895 # The last name is the one that the linker finds with -lNAME
   22896 library_names_spec=$lt_library_names_spec
   22897 
   22898 # The coded name of the library, if different from the real name.
   22899 soname_spec=$lt_soname_spec
   22900 
   22901 # Permission mode override for installation of shared libraries.
   22902 install_override_mode=$lt_install_override_mode
   22903 
   22904 # Command to use after installation of a shared archive.
   22905 postinstall_cmds=$lt_postinstall_cmds
   22906 
   22907 # Command to use after uninstallation of a shared archive.
   22908 postuninstall_cmds=$lt_postuninstall_cmds
   22909 
   22910 # Commands used to finish a libtool library installation in a directory.
   22911 finish_cmds=$lt_finish_cmds
   22912 
   22913 # As "finish_cmds", except a single script fragment to be evaled but
   22914 # not shown.
   22915 finish_eval=$lt_finish_eval
   22916 
   22917 # Whether we should hardcode library paths into libraries.
   22918 hardcode_into_libs=$hardcode_into_libs
   22919 
   22920 # Compile-time system search path for libraries.
   22921 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   22922 
   22923 # Detected run-time system search path for libraries.
   22924 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   22925 
   22926 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   22927 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   22928 
   22929 # Whether dlopen is supported.
   22930 dlopen_support=$enable_dlopen
   22931 
   22932 # Whether dlopen of programs is supported.
   22933 dlopen_self=$enable_dlopen_self
   22934 
   22935 # Whether dlopen of statically linked programs is supported.
   22936 dlopen_self_static=$enable_dlopen_self_static
   22937 
   22938 # Commands to strip libraries.
   22939 old_striplib=$lt_old_striplib
   22940 striplib=$lt_striplib
   22941 
   22942 
   22943 # The linker used to build libraries.
   22944 LD=$lt_LD
   22945 
   22946 # How to create reloadable object files.
   22947 reload_flag=$lt_reload_flag
   22948 reload_cmds=$lt_reload_cmds
   22949 
   22950 # Commands used to build an old-style archive.
   22951 old_archive_cmds=$lt_old_archive_cmds
   22952 
   22953 # A language specific compiler.
   22954 CC=$lt_compiler
   22955 
   22956 # Is the compiler the GNU compiler?
   22957 with_gcc=$GCC
   22958 
   22959 # Compiler flag to turn off builtin functions.
   22960 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   22961 
   22962 # Additional compiler flags for building library objects.
   22963 pic_flag=$lt_lt_prog_compiler_pic
   22964 
   22965 # How to pass a linker flag through the compiler.
   22966 wl=$lt_lt_prog_compiler_wl
   22967 
   22968 # Compiler flag to prevent dynamic linking.
   22969 link_static_flag=$lt_lt_prog_compiler_static
   22970 
   22971 # Does compiler simultaneously support -c and -o options?
   22972 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   22973 
   22974 # Whether or not to add -lc for building shared libraries.
   22975 build_libtool_need_lc=$archive_cmds_need_lc
   22976 
   22977 # Whether or not to disallow shared libs when runtime libs are static.
   22978 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   22979 
   22980 # Compiler flag to allow reflexive dlopens.
   22981 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   22982 
   22983 # Compiler flag to generate shared objects directly from archives.
   22984 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   22985 
   22986 # Whether the compiler copes with passing no objects directly.
   22987 compiler_needs_object=$lt_compiler_needs_object
   22988 
   22989 # Create an old-style archive from a shared archive.
   22990 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   22991 
   22992 # Create a temporary old-style archive to link instead of a shared archive.
   22993 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   22994 
   22995 # Commands used to build a shared archive.
   22996 archive_cmds=$lt_archive_cmds
   22997 archive_expsym_cmds=$lt_archive_expsym_cmds
   22998 
   22999 # Commands used to build a loadable module if different from building
   23000 # a shared archive.
   23001 module_cmds=$lt_module_cmds
   23002 module_expsym_cmds=$lt_module_expsym_cmds
   23003 
   23004 # Whether we are building with GNU ld or not.
   23005 with_gnu_ld=$lt_with_gnu_ld
   23006 
   23007 # Flag that allows shared libraries with undefined symbols to be built.
   23008 allow_undefined_flag=$lt_allow_undefined_flag
   23009 
   23010 # Flag that enforces no undefined symbols.
   23011 no_undefined_flag=$lt_no_undefined_flag
   23012 
   23013 # Flag to hardcode \$libdir into a binary during linking.
   23014 # This must work even if \$libdir does not exist
   23015 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   23016 
   23017 # Whether we need a single "-rpath" flag with a separated argument.
   23018 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   23019 
   23020 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   23021 # DIR into the resulting binary.
   23022 hardcode_direct=$hardcode_direct
   23023 
   23024 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   23025 # DIR into the resulting binary and the resulting library dependency is
   23026 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
   23027 # library is relocated.
   23028 hardcode_direct_absolute=$hardcode_direct_absolute
   23029 
   23030 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   23031 # into the resulting binary.
   23032 hardcode_minus_L=$hardcode_minus_L
   23033 
   23034 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   23035 # into the resulting binary.
   23036 hardcode_shlibpath_var=$hardcode_shlibpath_var
   23037 
   23038 # Set to "yes" if building a shared library automatically hardcodes DIR
   23039 # into the library and all subsequent libraries and executables linked
   23040 # against it.
   23041 hardcode_automatic=$hardcode_automatic
   23042 
   23043 # Set to yes if linker adds runtime paths of dependent libraries
   23044 # to runtime path list.
   23045 inherit_rpath=$inherit_rpath
   23046 
   23047 # Whether libtool must link a program against all its dependency libraries.
   23048 link_all_deplibs=$link_all_deplibs
   23049 
   23050 # Set to "yes" if exported symbols are required.
   23051 always_export_symbols=$always_export_symbols
   23052 
   23053 # The commands to list exported symbols.
   23054 export_symbols_cmds=$lt_export_symbols_cmds
   23055 
   23056 # Symbols that should not be listed in the preloaded symbols.
   23057 exclude_expsyms=$lt_exclude_expsyms
   23058 
   23059 # Symbols that must always be exported.
   23060 include_expsyms=$lt_include_expsyms
   23061 
   23062 # Commands necessary for linking programs (against libraries) with templates.
   23063 prelink_cmds=$lt_prelink_cmds
   23064 
   23065 # Commands necessary for finishing linking programs.
   23066 postlink_cmds=$lt_postlink_cmds
   23067 
   23068 # Specify filename containing input files.
   23069 file_list_spec=$lt_file_list_spec
   23070 
   23071 # How to hardcode a shared library path into an executable.
   23072 hardcode_action=$hardcode_action
   23073 
   23074 # ### END LIBTOOL CONFIG
   23075 
   23076 _LT_EOF
   23077 
   23078     cat <<'_LT_EOF' >> "$cfgfile"
   23079 
   23080 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   23081 
   23082 # func_munge_path_list VARIABLE PATH
   23083 # -----------------------------------
   23084 # VARIABLE is name of variable containing _space_ separated list of
   23085 # directories to be munged by the contents of PATH, which is string
   23086 # having a format:
   23087 # "DIR[:DIR]:"
   23088 #       string "DIR[ DIR]" will be prepended to VARIABLE
   23089 # ":DIR[:DIR]"
   23090 #       string "DIR[ DIR]" will be appended to VARIABLE
   23091 # "DIRP[:DIRP]::[DIRA:]DIRA"
   23092 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   23093 #       "DIRA[ DIRA]" will be appended to VARIABLE
   23094 # "DIR[:DIR]"
   23095 #       VARIABLE will be replaced by "DIR[ DIR]"
   23096 func_munge_path_list ()
   23097 {
   23098     case x$2 in
   23099     x)
   23100         ;;
   23101     *:)
   23102         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   23103         ;;
   23104     x:*)
   23105         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   23106         ;;
   23107     *::*)
   23108         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   23109         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   23110         ;;
   23111     *)
   23112         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   23113         ;;
   23114     esac
   23115 }
   23116 
   23117 
   23118 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   23119 func_cc_basename ()
   23120 {
   23121     for cc_temp in $*""; do
   23122       case $cc_temp in
   23123         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   23124         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   23125         \-*) ;;
   23126         *) break;;
   23127       esac
   23128     done
   23129     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   23130 }
   23131 
   23132 
   23133 # ### END FUNCTIONS SHARED WITH CONFIGURE
   23134 
   23135 _LT_EOF
   23136 
   23137   case $host_os in
   23138   aix3*)
   23139     cat <<\_LT_EOF >> "$cfgfile"
   23140 # AIX sometimes has problems with the GCC collect2 program.  For some
   23141 # reason, if we set the COLLECT_NAMES environment variable, the problems
   23142 # vanish in a puff of smoke.
   23143 if test set != "${COLLECT_NAMES+set}"; then
   23144   COLLECT_NAMES=
   23145   export COLLECT_NAMES
   23146 fi
   23147 _LT_EOF
   23148     ;;
   23149   esac
   23150 
   23151 
   23152 
   23153 ltmain=$ac_aux_dir/ltmain.sh
   23154 
   23155 
   23156   # We use sed instead of cat because bash on DJGPP gets confused if
   23157   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   23158   # text mode, it properly converts lines to CR/LF.  This bash problem
   23159   # is reportedly fixed, but why not run on old versions too?
   23160   $SED '$q' "$ltmain" >> "$cfgfile" \
   23161      || (rm -f "$cfgfile"; exit 1)
   23162 
   23163    mv -f "$cfgfile" "$ofile" ||
   23164     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   23165   chmod +x "$ofile"
   23166 
   23167  ;;
   23168 
   23169   esac
   23170 done # for ac_tag
   23171 
   23172 
   23173 as_fn_exit 0
   23174 _ACEOF
   23175 ac_clean_files=$ac_clean_files_save
   23176 
   23177 test $ac_write_fail = 0 ||
   23178   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   23179 
   23180 
   23181 # configure is writing to config.log, and then calls config.status.
   23182 # config.status does its own redirection, appending to config.log.
   23183 # Unfortunately, on DOS this fails, as config.log is still kept open
   23184 # by configure, so config.status won't be able to write to it; its
   23185 # output is simply discarded.  So we exec the FD to /dev/null,
   23186 # effectively closing config.log, so it can be properly (re)opened and
   23187 # appended to by config.status.  When coming back to configure, we
   23188 # need to make the FD available again.
   23189 if test "$no_create" != yes; then
   23190   ac_cs_success=:
   23191   ac_config_status_args=
   23192   test "$silent" = yes &&
   23193     ac_config_status_args="$ac_config_status_args --quiet"
   23194   exec 5>/dev/null
   23195   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   23196   exec 5>>config.log
   23197   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   23198   # would make configure fail if this is the last instruction.
   23199   $ac_cs_success || as_fn_exit 1
   23200 fi
   23201 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   23202   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   23203 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   23204 fi
   23205 
   23206 
   23207