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-chips 1.5.0.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/driver/xf86-video-chips/-/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-chips/-/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-chips'
    617 PACKAGE_TARNAME='xf86-video-chips'
    618 PACKAGE_VERSION='1.5.0'
    619 PACKAGE_STRING='xf86-video-chips 1.5.0'
    620 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/driver/xf86-video-chips/-/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 BUILD_UTILS_FALSE
    663 BUILD_UTILS_TRUE
    664 XAA_FALSE
    665 XAA_TRUE
    666 XSERVER_LIBPCIACCESS_FALSE
    667 XSERVER_LIBPCIACCESS_TRUE
    668 PCIACCESS_LIBS
    669 PCIACCESS_CFLAGS
    670 XORG_LIBS
    671 XORG_CFLAGS
    672 LT_SYS_LIBRARY_PATH
    673 OTOOL64
    674 OTOOL
    675 LIPO
    676 NMEDIT
    677 DSYMUTIL
    678 MANIFEST_TOOL
    679 RANLIB
    680 ac_ct_AR
    681 AR
    682 DLLTOOL
    683 OBJDUMP
    684 FILECMD
    685 LN_S
    686 NM
    687 ac_ct_DUMPBIN
    688 DUMPBIN
    689 LD
    690 FGREP
    691 EGREP
    692 GREP
    693 LIBTOOL
    694 MAN_SUBSTS
    695 XORG_MAN_PAGE
    696 ADMIN_MAN_DIR
    697 DRIVER_MAN_DIR
    698 MISC_MAN_DIR
    699 FILE_MAN_DIR
    700 LIB_MAN_DIR
    701 APP_MAN_DIR
    702 ADMIN_MAN_SUFFIX
    703 DRIVER_MAN_SUFFIX
    704 MISC_MAN_SUFFIX
    705 FILE_MAN_SUFFIX
    706 LIB_MAN_SUFFIX
    707 APP_MAN_SUFFIX
    708 SED
    709 host_os
    710 host_vendor
    711 host_cpu
    712 host
    713 build_os
    714 build_vendor
    715 build_cpu
    716 build
    717 INSTALL_CMD
    718 PKG_CONFIG_LIBDIR
    719 PKG_CONFIG_PATH
    720 PKG_CONFIG
    721 CHANGELOG_CMD
    722 STRICT_CFLAGS
    723 CWARNFLAGS
    724 BASE_CFLAGS
    725 am__fastdepCC_FALSE
    726 am__fastdepCC_TRUE
    727 CCDEPMODE
    728 am__nodep
    729 AMDEPBACKSLASH
    730 AMDEP_FALSE
    731 AMDEP_TRUE
    732 am__include
    733 DEPDIR
    734 OBJEXT
    735 EXEEXT
    736 ac_ct_CC
    737 CPPFLAGS
    738 LDFLAGS
    739 CFLAGS
    740 CC
    741 AM_BACKSLASH
    742 AM_DEFAULT_VERBOSITY
    743 AM_DEFAULT_V
    744 AM_V
    745 CSCOPE
    746 ETAGS
    747 CTAGS
    748 am__untar
    749 am__tar
    750 AMTAR
    751 am__leading_dot
    752 SET_MAKE
    753 AWK
    754 mkdir_p
    755 MKDIR_P
    756 INSTALL_STRIP_PROGRAM
    757 STRIP
    758 install_sh
    759 MAKEINFO
    760 AUTOHEADER
    761 AUTOMAKE
    762 AUTOCONF
    763 ACLOCAL
    764 VERSION
    765 PACKAGE
    766 CYGPATH_W
    767 am__isrc
    768 INSTALL_DATA
    769 INSTALL_SCRIPT
    770 INSTALL_PROGRAM
    771 target_alias
    772 host_alias
    773 build_alias
    774 LIBS
    775 ECHO_T
    776 ECHO_N
    777 ECHO_C
    778 DEFS
    779 mandir
    780 localedir
    781 libdir
    782 psdir
    783 pdfdir
    784 dvidir
    785 htmldir
    786 infodir
    787 docdir
    788 oldincludedir
    789 includedir
    790 runstatedir
    791 localstatedir
    792 sharedstatedir
    793 sysconfdir
    794 datadir
    795 datarootdir
    796 libexecdir
    797 sbindir
    798 bindir
    799 program_transform_name
    800 prefix
    801 exec_prefix
    802 PACKAGE_URL
    803 PACKAGE_BUGREPORT
    804 PACKAGE_STRING
    805 PACKAGE_VERSION
    806 PACKAGE_TARNAME
    807 PACKAGE_NAME
    808 PATH_SEPARATOR
    809 SHELL
    810 am__quote'
    811 ac_subst_files=''
    812 ac_user_opts='
    813 enable_option_checking
    814 enable_silent_rules
    815 enable_dependency_tracking
    816 enable_selective_werror
    817 enable_strict_compilation
    818 enable_static
    819 enable_shared
    820 with_pic
    821 enable_fast_install
    822 with_aix_soname
    823 with_gnu_ld
    824 with_sysroot
    825 enable_libtool_lock
    826 with_xorg_module_dir
    827 enable_xaa
    828 '
    829       ac_precious_vars='build_alias
    830 host_alias
    831 target_alias
    832 CC
    833 CFLAGS
    834 LDFLAGS
    835 LIBS
    836 CPPFLAGS
    837 PKG_CONFIG
    838 PKG_CONFIG_PATH
    839 PKG_CONFIG_LIBDIR
    840 LT_SYS_LIBRARY_PATH
    841 XORG_CFLAGS
    842 XORG_LIBS
    843 PCIACCESS_CFLAGS
    844 PCIACCESS_LIBS'
    845 
    846 
    847 # Initialize some variables set by options.
    848 ac_init_help=
    849 ac_init_version=false
    850 ac_unrecognized_opts=
    851 ac_unrecognized_sep=
    852 # The variables have the same names as the options, with
    853 # dashes changed to underlines.
    854 cache_file=/dev/null
    855 exec_prefix=NONE
    856 no_create=
    857 no_recursion=
    858 prefix=NONE
    859 program_prefix=NONE
    860 program_suffix=NONE
    861 program_transform_name=s,x,x,
    862 silent=
    863 site=
    864 srcdir=
    865 verbose=
    866 x_includes=NONE
    867 x_libraries=NONE
    868 
    869 # Installation directory options.
    870 # These are left unexpanded so users can "make install exec_prefix=/foo"
    871 # and all the variables that are supposed to be based on exec_prefix
    872 # by default will actually change.
    873 # Use braces instead of parens because sh, perl, etc. also accept them.
    874 # (The list follows the same order as the GNU Coding Standards.)
    875 bindir='${exec_prefix}/bin'
    876 sbindir='${exec_prefix}/sbin'
    877 libexecdir='${exec_prefix}/libexec'
    878 datarootdir='${prefix}/share'
    879 datadir='${datarootdir}'
    880 sysconfdir='${prefix}/etc'
    881 sharedstatedir='${prefix}/com'
    882 localstatedir='${prefix}/var'
    883 runstatedir='${localstatedir}/run'
    884 includedir='${prefix}/include'
    885 oldincludedir='/usr/include'
    886 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    887 infodir='${datarootdir}/info'
    888 htmldir='${docdir}'
    889 dvidir='${docdir}'
    890 pdfdir='${docdir}'
    891 psdir='${docdir}'
    892 libdir='${exec_prefix}/lib'
    893 localedir='${datarootdir}/locale'
    894 mandir='${datarootdir}/man'
    895 
    896 ac_prev=
    897 ac_dashdash=
    898 for ac_option
    899 do
    900   # If the previous option needs an argument, assign it.
    901   if test -n "$ac_prev"; then
    902     eval $ac_prev=\$ac_option
    903     ac_prev=
    904     continue
    905   fi
    906 
    907   case $ac_option in
    908   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    909   *=)   ac_optarg= ;;
    910   *)    ac_optarg=yes ;;
    911   esac
    912 
    913   case $ac_dashdash$ac_option in
    914   --)
    915     ac_dashdash=yes ;;
    916 
    917   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    918     ac_prev=bindir ;;
    919   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    920     bindir=$ac_optarg ;;
    921 
    922   -build | --build | --buil | --bui | --bu)
    923     ac_prev=build_alias ;;
    924   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    925     build_alias=$ac_optarg ;;
    926 
    927   -cache-file | --cache-file | --cache-fil | --cache-fi \
    928   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    929     ac_prev=cache_file ;;
    930   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    931   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    932     cache_file=$ac_optarg ;;
    933 
    934   --config-cache | -C)
    935     cache_file=config.cache ;;
    936 
    937   -datadir | --datadir | --datadi | --datad)
    938     ac_prev=datadir ;;
    939   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    940     datadir=$ac_optarg ;;
    941 
    942   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    943   | --dataroo | --dataro | --datar)
    944     ac_prev=datarootdir ;;
    945   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    946   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    947     datarootdir=$ac_optarg ;;
    948 
    949   -disable-* | --disable-*)
    950     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    951     # Reject names that are not valid shell variable names.
    952     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    953       as_fn_error $? "invalid feature name: '$ac_useropt'"
    954     ac_useropt_orig=$ac_useropt
    955     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    956     case $ac_user_opts in
    957       *"
    958 "enable_$ac_useropt"
    959 "*) ;;
    960       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    961 	 ac_unrecognized_sep=', ';;
    962     esac
    963     eval enable_$ac_useropt=no ;;
    964 
    965   -docdir | --docdir | --docdi | --doc | --do)
    966     ac_prev=docdir ;;
    967   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    968     docdir=$ac_optarg ;;
    969 
    970   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    971     ac_prev=dvidir ;;
    972   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    973     dvidir=$ac_optarg ;;
    974 
    975   -enable-* | --enable-*)
    976     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    977     # Reject names that are not valid shell variable names.
    978     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    979       as_fn_error $? "invalid feature name: '$ac_useropt'"
    980     ac_useropt_orig=$ac_useropt
    981     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    982     case $ac_user_opts in
    983       *"
    984 "enable_$ac_useropt"
    985 "*) ;;
    986       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    987 	 ac_unrecognized_sep=', ';;
    988     esac
    989     eval enable_$ac_useropt=\$ac_optarg ;;
    990 
    991   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    992   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    993   | --exec | --exe | --ex)
    994     ac_prev=exec_prefix ;;
    995   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    996   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    997   | --exec=* | --exe=* | --ex=*)
    998     exec_prefix=$ac_optarg ;;
    999 
   1000   -gas | --gas | --ga | --g)
   1001     # Obsolete; use --with-gas.
   1002     with_gas=yes ;;
   1003 
   1004   -help | --help | --hel | --he | -h)
   1005     ac_init_help=long ;;
   1006   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1007     ac_init_help=recursive ;;
   1008   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1009     ac_init_help=short ;;
   1010 
   1011   -host | --host | --hos | --ho)
   1012     ac_prev=host_alias ;;
   1013   -host=* | --host=* | --hos=* | --ho=*)
   1014     host_alias=$ac_optarg ;;
   1015 
   1016   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1017     ac_prev=htmldir ;;
   1018   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1019   | --ht=*)
   1020     htmldir=$ac_optarg ;;
   1021 
   1022   -includedir | --includedir | --includedi | --included | --include \
   1023   | --includ | --inclu | --incl | --inc)
   1024     ac_prev=includedir ;;
   1025   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1026   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1027     includedir=$ac_optarg ;;
   1028 
   1029   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1030     ac_prev=infodir ;;
   1031   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1032     infodir=$ac_optarg ;;
   1033 
   1034   -libdir | --libdir | --libdi | --libd)
   1035     ac_prev=libdir ;;
   1036   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1037     libdir=$ac_optarg ;;
   1038 
   1039   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1040   | --libexe | --libex | --libe)
   1041     ac_prev=libexecdir ;;
   1042   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1043   | --libexe=* | --libex=* | --libe=*)
   1044     libexecdir=$ac_optarg ;;
   1045 
   1046   -localedir | --localedir | --localedi | --localed | --locale)
   1047     ac_prev=localedir ;;
   1048   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1049     localedir=$ac_optarg ;;
   1050 
   1051   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1052   | --localstate | --localstat | --localsta | --localst | --locals)
   1053     ac_prev=localstatedir ;;
   1054   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1055   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1056     localstatedir=$ac_optarg ;;
   1057 
   1058   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1059     ac_prev=mandir ;;
   1060   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1061     mandir=$ac_optarg ;;
   1062 
   1063   -nfp | --nfp | --nf)
   1064     # Obsolete; use --without-fp.
   1065     with_fp=no ;;
   1066 
   1067   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1068   | --no-cr | --no-c | -n)
   1069     no_create=yes ;;
   1070 
   1071   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1072   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1073     no_recursion=yes ;;
   1074 
   1075   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1076   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1077   | --oldin | --oldi | --old | --ol | --o)
   1078     ac_prev=oldincludedir ;;
   1079   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1080   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1081   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1082     oldincludedir=$ac_optarg ;;
   1083 
   1084   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1085     ac_prev=prefix ;;
   1086   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1087     prefix=$ac_optarg ;;
   1088 
   1089   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1090   | --program-pre | --program-pr | --program-p)
   1091     ac_prev=program_prefix ;;
   1092   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1093   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1094     program_prefix=$ac_optarg ;;
   1095 
   1096   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1097   | --program-suf | --program-su | --program-s)
   1098     ac_prev=program_suffix ;;
   1099   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1100   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1101     program_suffix=$ac_optarg ;;
   1102 
   1103   -program-transform-name | --program-transform-name \
   1104   | --program-transform-nam | --program-transform-na \
   1105   | --program-transform-n | --program-transform- \
   1106   | --program-transform | --program-transfor \
   1107   | --program-transfo | --program-transf \
   1108   | --program-trans | --program-tran \
   1109   | --progr-tra | --program-tr | --program-t)
   1110     ac_prev=program_transform_name ;;
   1111   -program-transform-name=* | --program-transform-name=* \
   1112   | --program-transform-nam=* | --program-transform-na=* \
   1113   | --program-transform-n=* | --program-transform-=* \
   1114   | --program-transform=* | --program-transfor=* \
   1115   | --program-transfo=* | --program-transf=* \
   1116   | --program-trans=* | --program-tran=* \
   1117   | --progr-tra=* | --program-tr=* | --program-t=*)
   1118     program_transform_name=$ac_optarg ;;
   1119 
   1120   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1121     ac_prev=pdfdir ;;
   1122   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1123     pdfdir=$ac_optarg ;;
   1124 
   1125   -psdir | --psdir | --psdi | --psd | --ps)
   1126     ac_prev=psdir ;;
   1127   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1128     psdir=$ac_optarg ;;
   1129 
   1130   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1131   | -silent | --silent | --silen | --sile | --sil)
   1132     silent=yes ;;
   1133 
   1134   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1135   | --runstate | --runstat | --runsta | --runst | --runs \
   1136   | --run | --ru | --r)
   1137     ac_prev=runstatedir ;;
   1138   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1139   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1140   | --run=* | --ru=* | --r=*)
   1141     runstatedir=$ac_optarg ;;
   1142 
   1143   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1144     ac_prev=sbindir ;;
   1145   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1146   | --sbi=* | --sb=*)
   1147     sbindir=$ac_optarg ;;
   1148 
   1149   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1150   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1151   | --sharedst | --shareds | --shared | --share | --shar \
   1152   | --sha | --sh)
   1153     ac_prev=sharedstatedir ;;
   1154   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1155   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1156   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1157   | --sha=* | --sh=*)
   1158     sharedstatedir=$ac_optarg ;;
   1159 
   1160   -site | --site | --sit)
   1161     ac_prev=site ;;
   1162   -site=* | --site=* | --sit=*)
   1163     site=$ac_optarg ;;
   1164 
   1165   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1166     ac_prev=srcdir ;;
   1167   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1168     srcdir=$ac_optarg ;;
   1169 
   1170   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1171   | --syscon | --sysco | --sysc | --sys | --sy)
   1172     ac_prev=sysconfdir ;;
   1173   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1174   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1175     sysconfdir=$ac_optarg ;;
   1176 
   1177   -target | --target | --targe | --targ | --tar | --ta | --t)
   1178     ac_prev=target_alias ;;
   1179   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1180     target_alias=$ac_optarg ;;
   1181 
   1182   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1183     verbose=yes ;;
   1184 
   1185   -version | --version | --versio | --versi | --vers | -V)
   1186     ac_init_version=: ;;
   1187 
   1188   -with-* | --with-*)
   1189     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1190     # Reject names that are not valid shell variable names.
   1191     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1192       as_fn_error $? "invalid package name: '$ac_useropt'"
   1193     ac_useropt_orig=$ac_useropt
   1194     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1195     case $ac_user_opts in
   1196       *"
   1197 "with_$ac_useropt"
   1198 "*) ;;
   1199       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1200 	 ac_unrecognized_sep=', ';;
   1201     esac
   1202     eval with_$ac_useropt=\$ac_optarg ;;
   1203 
   1204   -without-* | --without-*)
   1205     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1206     # Reject names that are not valid shell variable names.
   1207     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1208       as_fn_error $? "invalid package name: '$ac_useropt'"
   1209     ac_useropt_orig=$ac_useropt
   1210     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1211     case $ac_user_opts in
   1212       *"
   1213 "with_$ac_useropt"
   1214 "*) ;;
   1215       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1216 	 ac_unrecognized_sep=', ';;
   1217     esac
   1218     eval with_$ac_useropt=no ;;
   1219 
   1220   --x)
   1221     # Obsolete; use --with-x.
   1222     with_x=yes ;;
   1223 
   1224   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1225   | --x-incl | --x-inc | --x-in | --x-i)
   1226     ac_prev=x_includes ;;
   1227   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1228   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1229     x_includes=$ac_optarg ;;
   1230 
   1231   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1232   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1233     ac_prev=x_libraries ;;
   1234   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1235   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1236     x_libraries=$ac_optarg ;;
   1237 
   1238   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1239 Try '$0 --help' for more information"
   1240     ;;
   1241 
   1242   *=*)
   1243     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1244     # Reject names that are not valid shell variable names.
   1245     case $ac_envvar in #(
   1246       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1247       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1248     esac
   1249     eval $ac_envvar=\$ac_optarg
   1250     export $ac_envvar ;;
   1251 
   1252   *)
   1253     # FIXME: should be removed in autoconf 3.0.
   1254     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1255     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1256       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1257     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1258     ;;
   1259 
   1260   esac
   1261 done
   1262 
   1263 if test -n "$ac_prev"; then
   1264   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1265   as_fn_error $? "missing argument to $ac_option"
   1266 fi
   1267 
   1268 if test -n "$ac_unrecognized_opts"; then
   1269   case $enable_option_checking in
   1270     no) ;;
   1271     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1272     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1273   esac
   1274 fi
   1275 
   1276 # Check all directory arguments for consistency.
   1277 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1278 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1279 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1280 		libdir localedir mandir runstatedir
   1281 do
   1282   eval ac_val=\$$ac_var
   1283   # Remove trailing slashes.
   1284   case $ac_val in
   1285     */ )
   1286       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1287       eval $ac_var=\$ac_val;;
   1288   esac
   1289   # Be sure to have absolute directory names.
   1290   case $ac_val in
   1291     [\\/$]* | ?:[\\/]* )  continue;;
   1292     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1293   esac
   1294   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1295 done
   1296 
   1297 # There might be people who depend on the old broken behavior: '$host'
   1298 # used to hold the argument of --host etc.
   1299 # FIXME: To remove some day.
   1300 build=$build_alias
   1301 host=$host_alias
   1302 target=$target_alias
   1303 
   1304 # FIXME: To remove some day.
   1305 if test "x$host_alias" != x; then
   1306   if test "x$build_alias" = x; then
   1307     cross_compiling=maybe
   1308   elif test "x$build_alias" != "x$host_alias"; then
   1309     cross_compiling=yes
   1310   fi
   1311 fi
   1312 
   1313 ac_tool_prefix=
   1314 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1315 
   1316 test "$silent" = yes && exec 6>/dev/null
   1317 
   1318 
   1319 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1320 ac_ls_di=`ls -di .` &&
   1321 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1322   as_fn_error $? "working directory cannot be determined"
   1323 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1324   as_fn_error $? "pwd does not report name of working directory"
   1325 
   1326 
   1327 # Find the source files, if location was not specified.
   1328 if test -z "$srcdir"; then
   1329   ac_srcdir_defaulted=yes
   1330   # Try the directory containing this script, then the parent directory.
   1331   ac_confdir=`$as_dirname -- "$as_myself" ||
   1332 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1333 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1334 	 X"$as_myself" : 'X\(//\)$' \| \
   1335 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1336 printf "%s\n" X"$as_myself" |
   1337     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1338 	    s//\1/
   1339 	    q
   1340 	  }
   1341 	  /^X\(\/\/\)[^/].*/{
   1342 	    s//\1/
   1343 	    q
   1344 	  }
   1345 	  /^X\(\/\/\)$/{
   1346 	    s//\1/
   1347 	    q
   1348 	  }
   1349 	  /^X\(\/\).*/{
   1350 	    s//\1/
   1351 	    q
   1352 	  }
   1353 	  s/.*/./; q'`
   1354   srcdir=$ac_confdir
   1355   if test ! -r "$srcdir/$ac_unique_file"; then
   1356     srcdir=..
   1357   fi
   1358 else
   1359   ac_srcdir_defaulted=no
   1360 fi
   1361 if test ! -r "$srcdir/$ac_unique_file"; then
   1362   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1363   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1364 fi
   1365 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1366 ac_abs_confdir=`(
   1367 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1368 	pwd)`
   1369 # When building in place, set srcdir=.
   1370 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1371   srcdir=.
   1372 fi
   1373 # Remove unnecessary trailing slashes from srcdir.
   1374 # Double slashes in file names in object file debugging info
   1375 # mess up M-x gdb in Emacs.
   1376 case $srcdir in
   1377 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1378 esac
   1379 for ac_var in $ac_precious_vars; do
   1380   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1381   eval ac_env_${ac_var}_value=\$${ac_var}
   1382   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1383   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1384 done
   1385 
   1386 #
   1387 # Report the --help message.
   1388 #
   1389 if test "$ac_init_help" = "long"; then
   1390   # Omit some internal or obsolete options to make the list less imposing.
   1391   # This message is too long to be a string in the A/UX 3.1 sh.
   1392   cat <<_ACEOF
   1393 'configure' configures xf86-video-chips 1.5.0 to adapt to many kinds of systems.
   1394 
   1395 Usage: $0 [OPTION]... [VAR=VALUE]...
   1396 
   1397 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1398 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1399 
   1400 Defaults for the options are specified in brackets.
   1401 
   1402 Configuration:
   1403   -h, --help              display this help and exit
   1404       --help=short        display options specific to this package
   1405       --help=recursive    display the short help of all the included packages
   1406   -V, --version           display version information and exit
   1407   -q, --quiet, --silent   do not print 'checking ...' messages
   1408       --cache-file=FILE   cache test results in FILE [disabled]
   1409   -C, --config-cache      alias for '--cache-file=config.cache'
   1410   -n, --no-create         do not create output files
   1411       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1412 
   1413 Installation directories:
   1414   --prefix=PREFIX         install architecture-independent files in PREFIX
   1415                           [$ac_default_prefix]
   1416   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1417                           [PREFIX]
   1418 
   1419 By default, 'make install' will install all the files in
   1420 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1421 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1422 for instance '--prefix=\$HOME'.
   1423 
   1424 For better control, use the options below.
   1425 
   1426 Fine tuning of the installation directories:
   1427   --bindir=DIR            user executables [EPREFIX/bin]
   1428   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1429   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1430   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1431   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1432   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1433   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1434   --libdir=DIR            object code libraries [EPREFIX/lib]
   1435   --includedir=DIR        C header files [PREFIX/include]
   1436   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1437   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1438   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1439   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1440   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1441   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1442   --docdir=DIR            documentation root
   1443                           [DATAROOTDIR/doc/xf86-video-chips]
   1444   --htmldir=DIR           html documentation [DOCDIR]
   1445   --dvidir=DIR            dvi documentation [DOCDIR]
   1446   --pdfdir=DIR            pdf documentation [DOCDIR]
   1447   --psdir=DIR             ps documentation [DOCDIR]
   1448 _ACEOF
   1449 
   1450   cat <<\_ACEOF
   1451 
   1452 Program names:
   1453   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1454   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1455   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1456 
   1457 System types:
   1458   --build=BUILD     configure for building on BUILD [guessed]
   1459   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1460 _ACEOF
   1461 fi
   1462 
   1463 if test -n "$ac_init_help"; then
   1464   case $ac_init_help in
   1465      short | recursive ) echo "Configuration of xf86-video-chips 1.5.0:";;
   1466    esac
   1467   cat <<\_ACEOF
   1468 
   1469 Optional Features:
   1470   --disable-option-checking  ignore unrecognized --enable/--with options
   1471   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1472   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1473   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1474   --disable-silent-rules  verbose build output (undo: "make V=0")
   1475   --enable-dependency-tracking
   1476                           do not reject slow dependency extractors
   1477   --disable-dependency-tracking
   1478                           speeds up one-time build
   1479   --disable-selective-werror
   1480                           Turn off selective compiler errors. (default:
   1481                           enabled)
   1482   --enable-strict-compilation
   1483                           Enable all warnings from compiler and make them
   1484                           errors (default: disabled)
   1485   --enable-static[=PKGS]  build static libraries [default=no]
   1486   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1487   --enable-fast-install[=PKGS]
   1488                           optimize for fast installation [default=yes]
   1489   --disable-libtool-lock  avoid locking (might break parallel builds)
   1490   --enable-xaa            Enable legacy X Acceleration Architecture (XAA)
   1491                           [default=auto]
   1492 
   1493 Optional Packages:
   1494   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1495   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1496   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1497                           both]
   1498   --with-aix-soname=aix|svr4|both
   1499                           shared library versioning (aka "SONAME") variant to
   1500                           provide on AIX, [default=aix].
   1501   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1502   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1503                           compiler's sysroot if not specified).
   1504   --with-xorg-module-dir=DIR
   1505                           Default xorg module directory
   1506                           [[default=$libdir/xorg/modules]]
   1507 
   1508 Some influential environment variables:
   1509   CC          C compiler command
   1510   CFLAGS      C compiler flags
   1511   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1512               nonstandard directory <lib dir>
   1513   LIBS        libraries to pass to the linker, e.g. -l<library>
   1514   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1515               you have headers in a nonstandard directory <include dir>
   1516   PKG_CONFIG  path to pkg-config utility
   1517   PKG_CONFIG_PATH
   1518               directories to add to pkg-config's search path
   1519   PKG_CONFIG_LIBDIR
   1520               path overriding pkg-config's built-in search path
   1521   LT_SYS_LIBRARY_PATH
   1522               User-defined run-time library search path.
   1523   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1524   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1525   PCIACCESS_CFLAGS
   1526               C compiler flags for PCIACCESS, overriding pkg-config
   1527   PCIACCESS_LIBS
   1528               linker flags for PCIACCESS, overriding pkg-config
   1529 
   1530 Use these variables to override the choices made by 'configure' or to help
   1531 it to find libraries and programs with nonstandard names/locations.
   1532 
   1533 Report bugs to <https://gitlab.freedesktop.org/xorg/driver/xf86-video-chips/-/issues>.
   1534 _ACEOF
   1535 ac_status=$?
   1536 fi
   1537 
   1538 if test "$ac_init_help" = "recursive"; then
   1539   # If there are subdirs, report their specific --help.
   1540   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1541     test -d "$ac_dir" ||
   1542       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1543       continue
   1544     ac_builddir=.
   1545 
   1546 case "$ac_dir" in
   1547 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1548 *)
   1549   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1550   # A ".." for each directory in $ac_dir_suffix.
   1551   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1552   case $ac_top_builddir_sub in
   1553   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1554   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1555   esac ;;
   1556 esac
   1557 ac_abs_top_builddir=$ac_pwd
   1558 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1559 # for backward compatibility:
   1560 ac_top_builddir=$ac_top_build_prefix
   1561 
   1562 case $srcdir in
   1563   .)  # We are building in place.
   1564     ac_srcdir=.
   1565     ac_top_srcdir=$ac_top_builddir_sub
   1566     ac_abs_top_srcdir=$ac_pwd ;;
   1567   [\\/]* | ?:[\\/]* )  # Absolute name.
   1568     ac_srcdir=$srcdir$ac_dir_suffix;
   1569     ac_top_srcdir=$srcdir
   1570     ac_abs_top_srcdir=$srcdir ;;
   1571   *) # Relative name.
   1572     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1573     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1574     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1575 esac
   1576 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1577 
   1578     cd "$ac_dir" || { ac_status=$?; continue; }
   1579     # Check for configure.gnu first; this name is used for a wrapper for
   1580     # Metaconfig's "Configure" on case-insensitive file systems.
   1581     if test -f "$ac_srcdir/configure.gnu"; then
   1582       echo &&
   1583       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1584     elif test -f "$ac_srcdir/configure"; then
   1585       echo &&
   1586       $SHELL "$ac_srcdir/configure" --help=recursive
   1587     else
   1588       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1589     fi || ac_status=$?
   1590     cd "$ac_pwd" || { ac_status=$?; break; }
   1591   done
   1592 fi
   1593 
   1594 test -n "$ac_init_help" && exit $ac_status
   1595 if $ac_init_version; then
   1596   cat <<\_ACEOF
   1597 xf86-video-chips configure 1.5.0
   1598 generated by GNU Autoconf 2.72
   1599 
   1600 Copyright (C) 2023 Free Software Foundation, Inc.
   1601 This configure script is free software; the Free Software Foundation
   1602 gives unlimited permission to copy, distribute and modify it.
   1603 _ACEOF
   1604   exit
   1605 fi
   1606 
   1607 ## ------------------------ ##
   1608 ## Autoconf initialization. ##
   1609 ## ------------------------ ##
   1610 
   1611 # ac_fn_c_try_compile LINENO
   1612 # --------------------------
   1613 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1614 ac_fn_c_try_compile ()
   1615 {
   1616   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1617   rm -f conftest.$ac_objext conftest.beam
   1618   if { { ac_try="$ac_compile"
   1619 case "(($ac_try" in
   1620   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1621   *) ac_try_echo=$ac_try;;
   1622 esac
   1623 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1624 printf "%s\n" "$ac_try_echo"; } >&5
   1625   (eval "$ac_compile") 2>conftest.err
   1626   ac_status=$?
   1627   if test -s conftest.err; then
   1628     grep -v '^ *+' conftest.err >conftest.er1
   1629     cat conftest.er1 >&5
   1630     mv -f conftest.er1 conftest.err
   1631   fi
   1632   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1633   test $ac_status = 0; } && {
   1634 	 test -z "$ac_c_werror_flag" ||
   1635 	 test ! -s conftest.err
   1636        } && test -s conftest.$ac_objext
   1637 then :
   1638   ac_retval=0
   1639 else case e in #(
   1640   e) printf "%s\n" "$as_me: failed program was:" >&5
   1641 sed 's/^/| /' conftest.$ac_ext >&5
   1642 
   1643 	ac_retval=1 ;;
   1644 esac
   1645 fi
   1646   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1647   as_fn_set_status $ac_retval
   1648 
   1649 } # ac_fn_c_try_compile
   1650 
   1651 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1652 # ------------------------------------------------------------------
   1653 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1654 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1655 ac_fn_check_decl ()
   1656 {
   1657   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1658   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1659   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1660 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1661 if eval test \${$3+y}
   1662 then :
   1663   printf %s "(cached) " >&6
   1664 else case e in #(
   1665   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1666   eval ac_save_FLAGS=\$$6
   1667   as_fn_append $6 " $5"
   1668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1669 /* end confdefs.h.  */
   1670 $4
   1671 int
   1672 main (void)
   1673 {
   1674 #ifndef $as_decl_name
   1675 #ifdef __cplusplus
   1676   (void) $as_decl_use;
   1677 #else
   1678   (void) $as_decl_name;
   1679 #endif
   1680 #endif
   1681 
   1682   ;
   1683   return 0;
   1684 }
   1685 _ACEOF
   1686 if ac_fn_c_try_compile "$LINENO"
   1687 then :
   1688   eval "$3=yes"
   1689 else case e in #(
   1690   e) eval "$3=no" ;;
   1691 esac
   1692 fi
   1693 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1694   eval $6=\$ac_save_FLAGS
   1695  ;;
   1696 esac
   1697 fi
   1698 eval ac_res=\$$3
   1699 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1700 printf "%s\n" "$ac_res" >&6; }
   1701   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1702 
   1703 } # ac_fn_check_decl
   1704 
   1705 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1706 # -------------------------------------------------------
   1707 # Tests whether HEADER exists and can be compiled using the include files in
   1708 # INCLUDES, setting the cache variable VAR accordingly.
   1709 ac_fn_c_check_header_compile ()
   1710 {
   1711   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1712   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1713 printf %s "checking for $2... " >&6; }
   1714 if eval test \${$3+y}
   1715 then :
   1716   printf %s "(cached) " >&6
   1717 else case e in #(
   1718   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1719 /* end confdefs.h.  */
   1720 $4
   1721 #include <$2>
   1722 _ACEOF
   1723 if ac_fn_c_try_compile "$LINENO"
   1724 then :
   1725   eval "$3=yes"
   1726 else case e in #(
   1727   e) eval "$3=no" ;;
   1728 esac
   1729 fi
   1730 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1731 esac
   1732 fi
   1733 eval ac_res=\$$3
   1734 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1735 printf "%s\n" "$ac_res" >&6; }
   1736   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1737 
   1738 } # ac_fn_c_check_header_compile
   1739 
   1740 # ac_fn_c_try_link LINENO
   1741 # -----------------------
   1742 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1743 ac_fn_c_try_link ()
   1744 {
   1745   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1746   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1747   if { { ac_try="$ac_link"
   1748 case "(($ac_try" in
   1749   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1750   *) ac_try_echo=$ac_try;;
   1751 esac
   1752 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1753 printf "%s\n" "$ac_try_echo"; } >&5
   1754   (eval "$ac_link") 2>conftest.err
   1755   ac_status=$?
   1756   if test -s conftest.err; then
   1757     grep -v '^ *+' conftest.err >conftest.er1
   1758     cat conftest.er1 >&5
   1759     mv -f conftest.er1 conftest.err
   1760   fi
   1761   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1762   test $ac_status = 0; } && {
   1763 	 test -z "$ac_c_werror_flag" ||
   1764 	 test ! -s conftest.err
   1765        } && test -s conftest$ac_exeext && {
   1766 	 test "$cross_compiling" = yes ||
   1767 	 test -x conftest$ac_exeext
   1768        }
   1769 then :
   1770   ac_retval=0
   1771 else case e in #(
   1772   e) printf "%s\n" "$as_me: failed program was:" >&5
   1773 sed 's/^/| /' conftest.$ac_ext >&5
   1774 
   1775 	ac_retval=1 ;;
   1776 esac
   1777 fi
   1778   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1779   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1780   # interfere with the next link command; also delete a directory that is
   1781   # left behind by Apple's compiler.  We do this before executing the actions.
   1782   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1783   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1784   as_fn_set_status $ac_retval
   1785 
   1786 } # ac_fn_c_try_link
   1787 
   1788 # ac_fn_c_check_func LINENO FUNC VAR
   1789 # ----------------------------------
   1790 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1791 ac_fn_c_check_func ()
   1792 {
   1793   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1794   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1795 printf %s "checking for $2... " >&6; }
   1796 if eval test \${$3+y}
   1797 then :
   1798   printf %s "(cached) " >&6
   1799 else case e in #(
   1800   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1801 /* end confdefs.h.  */
   1802 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1803    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1804 #define $2 innocuous_$2
   1805 
   1806 /* System header to define __stub macros and hopefully few prototypes,
   1807    which can conflict with char $2 (void); below.  */
   1808 
   1809 #include <limits.h>
   1810 #undef $2
   1811 
   1812 /* Override any GCC internal prototype to avoid an error.
   1813    Use char because int might match the return type of a GCC
   1814    builtin and then its argument prototype would still apply.  */
   1815 #ifdef __cplusplus
   1816 extern "C"
   1817 #endif
   1818 char $2 (void);
   1819 /* The GNU C library defines this for functions which it implements
   1820     to always fail with ENOSYS.  Some functions are actually named
   1821     something starting with __ and the normal name is an alias.  */
   1822 #if defined __stub_$2 || defined __stub___$2
   1823 choke me
   1824 #endif
   1825 
   1826 int
   1827 main (void)
   1828 {
   1829 return $2 ();
   1830   ;
   1831   return 0;
   1832 }
   1833 _ACEOF
   1834 if ac_fn_c_try_link "$LINENO"
   1835 then :
   1836   eval "$3=yes"
   1837 else case e in #(
   1838   e) eval "$3=no" ;;
   1839 esac
   1840 fi
   1841 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1842     conftest$ac_exeext conftest.$ac_ext ;;
   1843 esac
   1844 fi
   1845 eval ac_res=\$$3
   1846 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1847 printf "%s\n" "$ac_res" >&6; }
   1848   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1849 
   1850 } # ac_fn_c_check_func
   1851 ac_configure_args_raw=
   1852 for ac_arg
   1853 do
   1854   case $ac_arg in
   1855   *\'*)
   1856     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1857   esac
   1858   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1859 done
   1860 
   1861 case $ac_configure_args_raw in
   1862   *$as_nl*)
   1863     ac_safe_unquote= ;;
   1864   *)
   1865     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1866     ac_unsafe_a="$ac_unsafe_z#~"
   1867     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1868     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1869 esac
   1870 
   1871 cat >config.log <<_ACEOF
   1872 This file contains any messages produced by compilers while
   1873 running configure, to aid debugging if configure makes a mistake.
   1874 
   1875 It was created by xf86-video-chips $as_me 1.5.0, which was
   1876 generated by GNU Autoconf 2.72.  Invocation command line was
   1877 
   1878   $ $0$ac_configure_args_raw
   1879 
   1880 _ACEOF
   1881 exec 5>>config.log
   1882 {
   1883 cat <<_ASUNAME
   1884 ## --------- ##
   1885 ## Platform. ##
   1886 ## --------- ##
   1887 
   1888 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1889 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1890 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1891 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1892 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1893 
   1894 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1895 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1896 
   1897 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1898 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1899 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1900 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1901 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1902 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1903 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1904 
   1905 _ASUNAME
   1906 
   1907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1908 for as_dir in $PATH
   1909 do
   1910   IFS=$as_save_IFS
   1911   case $as_dir in #(((
   1912     '') as_dir=./ ;;
   1913     */) ;;
   1914     *) as_dir=$as_dir/ ;;
   1915   esac
   1916     printf "%s\n" "PATH: $as_dir"
   1917   done
   1918 IFS=$as_save_IFS
   1919 
   1920 } >&5
   1921 
   1922 cat >&5 <<_ACEOF
   1923 
   1924 
   1925 ## ----------- ##
   1926 ## Core tests. ##
   1927 ## ----------- ##
   1928 
   1929 _ACEOF
   1930 
   1931 
   1932 # Keep a trace of the command line.
   1933 # Strip out --no-create and --no-recursion so they do not pile up.
   1934 # Strip out --silent because we don't want to record it for future runs.
   1935 # Also quote any args containing shell meta-characters.
   1936 # Make two passes to allow for proper duplicate-argument suppression.
   1937 ac_configure_args=
   1938 ac_configure_args0=
   1939 ac_configure_args1=
   1940 ac_must_keep_next=false
   1941 for ac_pass in 1 2
   1942 do
   1943   for ac_arg
   1944   do
   1945     case $ac_arg in
   1946     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1947     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1948     | -silent | --silent | --silen | --sile | --sil)
   1949       continue ;;
   1950     *\'*)
   1951       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1952     esac
   1953     case $ac_pass in
   1954     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1955     2)
   1956       as_fn_append ac_configure_args1 " '$ac_arg'"
   1957       if test $ac_must_keep_next = true; then
   1958 	ac_must_keep_next=false # Got value, back to normal.
   1959       else
   1960 	case $ac_arg in
   1961 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1962 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1963 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1964 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1965 	    case "$ac_configure_args0 " in
   1966 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1967 	    esac
   1968 	    ;;
   1969 	  -* ) ac_must_keep_next=true ;;
   1970 	esac
   1971       fi
   1972       as_fn_append ac_configure_args " '$ac_arg'"
   1973       ;;
   1974     esac
   1975   done
   1976 done
   1977 { ac_configure_args0=; unset ac_configure_args0;}
   1978 { ac_configure_args1=; unset ac_configure_args1;}
   1979 
   1980 # When interrupted or exit'd, cleanup temporary files, and complete
   1981 # config.log.  We remove comments because anyway the quotes in there
   1982 # would cause problems or look ugly.
   1983 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1984 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1985 trap 'exit_status=$?
   1986   # Sanitize IFS.
   1987   IFS=" ""	$as_nl"
   1988   # Save into config.log some information that might help in debugging.
   1989   {
   1990     echo
   1991 
   1992     printf "%s\n" "## ---------------- ##
   1993 ## Cache variables. ##
   1994 ## ---------------- ##"
   1995     echo
   1996     # The following way of writing the cache mishandles newlines in values,
   1997 (
   1998   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1999     eval ac_val=\$$ac_var
   2000     case $ac_val in #(
   2001     *${as_nl}*)
   2002       case $ac_var in #(
   2003       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2004 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2005       esac
   2006       case $ac_var in #(
   2007       _ | IFS | as_nl) ;; #(
   2008       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2009       *) { eval $ac_var=; unset $ac_var;} ;;
   2010       esac ;;
   2011     esac
   2012   done
   2013   (set) 2>&1 |
   2014     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2015     *${as_nl}ac_space=\ *)
   2016       sed -n \
   2017 	"s/'\''/'\''\\\\'\'''\''/g;
   2018 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2019       ;; #(
   2020     *)
   2021       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2022       ;;
   2023     esac |
   2024     sort
   2025 )
   2026     echo
   2027 
   2028     printf "%s\n" "## ----------------- ##
   2029 ## Output variables. ##
   2030 ## ----------------- ##"
   2031     echo
   2032     for ac_var in $ac_subst_vars
   2033     do
   2034       eval ac_val=\$$ac_var
   2035       case $ac_val in
   2036       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2037       esac
   2038       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2039     done | sort
   2040     echo
   2041 
   2042     if test -n "$ac_subst_files"; then
   2043       printf "%s\n" "## ------------------- ##
   2044 ## File substitutions. ##
   2045 ## ------------------- ##"
   2046       echo
   2047       for ac_var in $ac_subst_files
   2048       do
   2049 	eval ac_val=\$$ac_var
   2050 	case $ac_val in
   2051 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2052 	esac
   2053 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2054       done | sort
   2055       echo
   2056     fi
   2057 
   2058     if test -s confdefs.h; then
   2059       printf "%s\n" "## ----------- ##
   2060 ## confdefs.h. ##
   2061 ## ----------- ##"
   2062       echo
   2063       cat confdefs.h
   2064       echo
   2065     fi
   2066     test "$ac_signal" != 0 &&
   2067       printf "%s\n" "$as_me: caught signal $ac_signal"
   2068     printf "%s\n" "$as_me: exit $exit_status"
   2069   } >&5
   2070   rm -f core *.core core.conftest.* &&
   2071     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2072     exit $exit_status
   2073 ' 0
   2074 for ac_signal in 1 2 13 15; do
   2075   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2076 done
   2077 ac_signal=0
   2078 
   2079 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2080 rm -f -r conftest* confdefs.h
   2081 
   2082 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2083 
   2084 # Predefined preprocessor variables.
   2085 
   2086 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2087 
   2088 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2089 
   2090 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2091 
   2092 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2093 
   2094 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2095 
   2096 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2097 
   2098 
   2099 # Let the site file select an alternate cache file if it wants to.
   2100 # Prefer an explicitly selected file to automatically selected ones.
   2101 if test -n "$CONFIG_SITE"; then
   2102   ac_site_files="$CONFIG_SITE"
   2103 elif test "x$prefix" != xNONE; then
   2104   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2105 else
   2106   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2107 fi
   2108 
   2109 for ac_site_file in $ac_site_files
   2110 do
   2111   case $ac_site_file in #(
   2112   */*) :
   2113      ;; #(
   2114   *) :
   2115     ac_site_file=./$ac_site_file ;;
   2116 esac
   2117   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2118     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2119 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2120     sed 's/^/| /' "$ac_site_file" >&5
   2121     . "$ac_site_file" \
   2122       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2123 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2124 as_fn_error $? "failed to load site script $ac_site_file
   2125 See 'config.log' for more details" "$LINENO" 5; }
   2126   fi
   2127 done
   2128 
   2129 if test -r "$cache_file"; then
   2130   # Some versions of bash will fail to source /dev/null (special files
   2131   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2132   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2133     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2134 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2135     case $cache_file in
   2136       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2137       *)                      . "./$cache_file";;
   2138     esac
   2139   fi
   2140 else
   2141   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2142 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2143   >$cache_file
   2144 fi
   2145 
   2146 # Test code for whether the C compiler supports C89 (global declarations)
   2147 ac_c_conftest_c89_globals='
   2148 /* Does the compiler advertise C89 conformance?
   2149    Do not test the value of __STDC__, because some compilers set it to 0
   2150    while being otherwise adequately conformant. */
   2151 #if !defined __STDC__
   2152 # error "Compiler does not advertise C89 conformance"
   2153 #endif
   2154 
   2155 #include <stddef.h>
   2156 #include <stdarg.h>
   2157 struct stat;
   2158 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2159 struct buf { int x; };
   2160 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2161 static char *e (char **p, int i)
   2162 {
   2163   return p[i];
   2164 }
   2165 static char *f (char * (*g) (char **, int), char **p, ...)
   2166 {
   2167   char *s;
   2168   va_list v;
   2169   va_start (v,p);
   2170   s = g (p, va_arg (v,int));
   2171   va_end (v);
   2172   return s;
   2173 }
   2174 
   2175 /* C89 style stringification. */
   2176 #define noexpand_stringify(a) #a
   2177 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2178 
   2179 /* C89 style token pasting.  Exercises some of the corner cases that
   2180    e.g. old MSVC gets wrong, but not very hard. */
   2181 #define noexpand_concat(a,b) a##b
   2182 #define expand_concat(a,b) noexpand_concat(a,b)
   2183 extern int vA;
   2184 extern int vbee;
   2185 #define aye A
   2186 #define bee B
   2187 int *pvA = &expand_concat(v,aye);
   2188 int *pvbee = &noexpand_concat(v,bee);
   2189 
   2190 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2191    function prototypes and stuff, but not \xHH hex character constants.
   2192    These do not provoke an error unfortunately, instead are silently treated
   2193    as an "x".  The following induces an error, until -std is added to get
   2194    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2195    array size at least.  It is necessary to write \x00 == 0 to get something
   2196    that is true only with -std.  */
   2197 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2198 
   2199 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2200    inside strings and character constants.  */
   2201 #define FOO(x) '\''x'\''
   2202 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2203 
   2204 int test (int i, double x);
   2205 struct s1 {int (*f) (int a);};
   2206 struct s2 {int (*f) (double a);};
   2207 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2208                int, int);'
   2209 
   2210 # Test code for whether the C compiler supports C89 (body of main).
   2211 ac_c_conftest_c89_main='
   2212 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2213 '
   2214 
   2215 # Test code for whether the C compiler supports C99 (global declarations)
   2216 ac_c_conftest_c99_globals='
   2217 /* Does the compiler advertise C99 conformance? */
   2218 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2219 # error "Compiler does not advertise C99 conformance"
   2220 #endif
   2221 
   2222 // See if C++-style comments work.
   2223 
   2224 #include <stdbool.h>
   2225 extern int puts (const char *);
   2226 extern int printf (const char *, ...);
   2227 extern int dprintf (int, const char *, ...);
   2228 extern void *malloc (size_t);
   2229 extern void free (void *);
   2230 
   2231 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2232 // dprintf is used instead of fprintf to avoid needing to declare
   2233 // FILE and stderr.
   2234 #define debug(...) dprintf (2, __VA_ARGS__)
   2235 #define showlist(...) puts (#__VA_ARGS__)
   2236 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2237 static void
   2238 test_varargs_macros (void)
   2239 {
   2240   int x = 1234;
   2241   int y = 5678;
   2242   debug ("Flag");
   2243   debug ("X = %d\n", x);
   2244   showlist (The first, second, and third items.);
   2245   report (x>y, "x is %d but y is %d", x, y);
   2246 }
   2247 
   2248 // Check long long types.
   2249 #define BIG64 18446744073709551615ull
   2250 #define BIG32 4294967295ul
   2251 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2252 #if !BIG_OK
   2253   #error "your preprocessor is broken"
   2254 #endif
   2255 #if BIG_OK
   2256 #else
   2257   #error "your preprocessor is broken"
   2258 #endif
   2259 static long long int bignum = -9223372036854775807LL;
   2260 static unsigned long long int ubignum = BIG64;
   2261 
   2262 struct incomplete_array
   2263 {
   2264   int datasize;
   2265   double data[];
   2266 };
   2267 
   2268 struct named_init {
   2269   int number;
   2270   const wchar_t *name;
   2271   double average;
   2272 };
   2273 
   2274 typedef const char *ccp;
   2275 
   2276 static inline int
   2277 test_restrict (ccp restrict text)
   2278 {
   2279   // Iterate through items via the restricted pointer.
   2280   // Also check for declarations in for loops.
   2281   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2282     continue;
   2283   return 0;
   2284 }
   2285 
   2286 // Check varargs and va_copy.
   2287 static bool
   2288 test_varargs (const char *format, ...)
   2289 {
   2290   va_list args;
   2291   va_start (args, format);
   2292   va_list args_copy;
   2293   va_copy (args_copy, args);
   2294 
   2295   const char *str = "";
   2296   int number = 0;
   2297   float fnumber = 0;
   2298 
   2299   while (*format)
   2300     {
   2301       switch (*format++)
   2302 	{
   2303 	case '\''s'\'': // string
   2304 	  str = va_arg (args_copy, const char *);
   2305 	  break;
   2306 	case '\''d'\'': // int
   2307 	  number = va_arg (args_copy, int);
   2308 	  break;
   2309 	case '\''f'\'': // float
   2310 	  fnumber = va_arg (args_copy, double);
   2311 	  break;
   2312 	default:
   2313 	  break;
   2314 	}
   2315     }
   2316   va_end (args_copy);
   2317   va_end (args);
   2318 
   2319   return *str && number && fnumber;
   2320 }
   2321 '
   2322 
   2323 # Test code for whether the C compiler supports C99 (body of main).
   2324 ac_c_conftest_c99_main='
   2325   // Check bool.
   2326   _Bool success = false;
   2327   success |= (argc != 0);
   2328 
   2329   // Check restrict.
   2330   if (test_restrict ("String literal") == 0)
   2331     success = true;
   2332   char *restrict newvar = "Another string";
   2333 
   2334   // Check varargs.
   2335   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2336   test_varargs_macros ();
   2337 
   2338   // Check flexible array members.
   2339   struct incomplete_array *ia =
   2340     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2341   ia->datasize = 10;
   2342   for (int i = 0; i < ia->datasize; ++i)
   2343     ia->data[i] = i * 1.234;
   2344   // Work around memory leak warnings.
   2345   free (ia);
   2346 
   2347   // Check named initializers.
   2348   struct named_init ni = {
   2349     .number = 34,
   2350     .name = L"Test wide string",
   2351     .average = 543.34343,
   2352   };
   2353 
   2354   ni.number = 58;
   2355 
   2356   int dynamic_array[ni.number];
   2357   dynamic_array[0] = argv[0][0];
   2358   dynamic_array[ni.number - 1] = 543;
   2359 
   2360   // work around unused variable warnings
   2361   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2362 	 || dynamic_array[ni.number - 1] != 543);
   2363 '
   2364 
   2365 # Test code for whether the C compiler supports C11 (global declarations)
   2366 ac_c_conftest_c11_globals='
   2367 /* Does the compiler advertise C11 conformance? */
   2368 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2369 # error "Compiler does not advertise C11 conformance"
   2370 #endif
   2371 
   2372 // Check _Alignas.
   2373 char _Alignas (double) aligned_as_double;
   2374 char _Alignas (0) no_special_alignment;
   2375 extern char aligned_as_int;
   2376 char _Alignas (0) _Alignas (int) aligned_as_int;
   2377 
   2378 // Check _Alignof.
   2379 enum
   2380 {
   2381   int_alignment = _Alignof (int),
   2382   int_array_alignment = _Alignof (int[100]),
   2383   char_alignment = _Alignof (char)
   2384 };
   2385 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2386 
   2387 // Check _Noreturn.
   2388 int _Noreturn does_not_return (void) { for (;;) continue; }
   2389 
   2390 // Check _Static_assert.
   2391 struct test_static_assert
   2392 {
   2393   int x;
   2394   _Static_assert (sizeof (int) <= sizeof (long int),
   2395                   "_Static_assert does not work in struct");
   2396   long int y;
   2397 };
   2398 
   2399 // Check UTF-8 literals.
   2400 #define u8 syntax error!
   2401 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2402 
   2403 // Check duplicate typedefs.
   2404 typedef long *long_ptr;
   2405 typedef long int *long_ptr;
   2406 typedef long_ptr long_ptr;
   2407 
   2408 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2409 struct anonymous
   2410 {
   2411   union {
   2412     struct { int i; int j; };
   2413     struct { int k; long int l; } w;
   2414   };
   2415   int m;
   2416 } v1;
   2417 '
   2418 
   2419 # Test code for whether the C compiler supports C11 (body of main).
   2420 ac_c_conftest_c11_main='
   2421   _Static_assert ((offsetof (struct anonymous, i)
   2422 		   == offsetof (struct anonymous, w.k)),
   2423 		  "Anonymous union alignment botch");
   2424   v1.i = 2;
   2425   v1.w.k = 5;
   2426   ok |= v1.i != 5;
   2427 '
   2428 
   2429 # Test code for whether the C compiler supports C11 (complete).
   2430 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2431 ${ac_c_conftest_c99_globals}
   2432 ${ac_c_conftest_c11_globals}
   2433 
   2434 int
   2435 main (int argc, char **argv)
   2436 {
   2437   int ok = 0;
   2438   ${ac_c_conftest_c89_main}
   2439   ${ac_c_conftest_c99_main}
   2440   ${ac_c_conftest_c11_main}
   2441   return ok;
   2442 }
   2443 "
   2444 
   2445 # Test code for whether the C compiler supports C99 (complete).
   2446 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2447 ${ac_c_conftest_c99_globals}
   2448 
   2449 int
   2450 main (int argc, char **argv)
   2451 {
   2452   int ok = 0;
   2453   ${ac_c_conftest_c89_main}
   2454   ${ac_c_conftest_c99_main}
   2455   return ok;
   2456 }
   2457 "
   2458 
   2459 # Test code for whether the C compiler supports C89 (complete).
   2460 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2461 
   2462 int
   2463 main (int argc, char **argv)
   2464 {
   2465   int ok = 0;
   2466   ${ac_c_conftest_c89_main}
   2467   return ok;
   2468 }
   2469 "
   2470 
   2471 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2472 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2473 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2474 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2475 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2476 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2477 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2478 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2479 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2480 
   2481 # Auxiliary files required by this configure script.
   2482 ac_aux_files="ltmain.sh config.guess config.sub compile missing install-sh"
   2483 
   2484 # Locations in which to look for auxiliary files.
   2485 ac_aux_dir_candidates="${srcdir}/."
   2486 
   2487 # Search for a directory containing all of the required auxiliary files,
   2488 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2489 # If we don't find one directory that contains all the files we need,
   2490 # we report the set of missing files from the *first* directory in
   2491 # $ac_aux_dir_candidates and give up.
   2492 ac_missing_aux_files=""
   2493 ac_first_candidate=:
   2494 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2496 as_found=false
   2497 for as_dir in $ac_aux_dir_candidates
   2498 do
   2499   IFS=$as_save_IFS
   2500   case $as_dir in #(((
   2501     '') as_dir=./ ;;
   2502     */) ;;
   2503     *) as_dir=$as_dir/ ;;
   2504   esac
   2505   as_found=:
   2506 
   2507   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2508   ac_aux_dir_found=yes
   2509   ac_install_sh=
   2510   for ac_aux in $ac_aux_files
   2511   do
   2512     # As a special case, if "install-sh" is required, that requirement
   2513     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2514     # and $ac_install_sh is set appropriately for whichever one is found.
   2515     if test x"$ac_aux" = x"install-sh"
   2516     then
   2517       if test -f "${as_dir}install-sh"; then
   2518         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2519         ac_install_sh="${as_dir}install-sh -c"
   2520       elif test -f "${as_dir}install.sh"; then
   2521         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2522         ac_install_sh="${as_dir}install.sh -c"
   2523       elif test -f "${as_dir}shtool"; then
   2524         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2525         ac_install_sh="${as_dir}shtool install -c"
   2526       else
   2527         ac_aux_dir_found=no
   2528         if $ac_first_candidate; then
   2529           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2530         else
   2531           break
   2532         fi
   2533       fi
   2534     else
   2535       if test -f "${as_dir}${ac_aux}"; then
   2536         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2537       else
   2538         ac_aux_dir_found=no
   2539         if $ac_first_candidate; then
   2540           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2541         else
   2542           break
   2543         fi
   2544       fi
   2545     fi
   2546   done
   2547   if test "$ac_aux_dir_found" = yes; then
   2548     ac_aux_dir="$as_dir"
   2549     break
   2550   fi
   2551   ac_first_candidate=false
   2552 
   2553   as_found=false
   2554 done
   2555 IFS=$as_save_IFS
   2556 if $as_found
   2557 then :
   2558 
   2559 else case e in #(
   2560   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2561 esac
   2562 fi
   2563 
   2564 
   2565 # These three variables are undocumented and unsupported,
   2566 # and are intended to be withdrawn in a future Autoconf release.
   2567 # They can cause serious problems if a builder's source tree is in a directory
   2568 # whose full name contains unusual characters.
   2569 if test -f "${ac_aux_dir}config.guess"; then
   2570   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2571 fi
   2572 if test -f "${ac_aux_dir}config.sub"; then
   2573   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2574 fi
   2575 if test -f "$ac_aux_dir/configure"; then
   2576   ac_configure="$SHELL ${ac_aux_dir}configure"
   2577 fi
   2578 
   2579 # Check that the precious variables saved in the cache have kept the same
   2580 # value.
   2581 ac_cache_corrupted=false
   2582 for ac_var in $ac_precious_vars; do
   2583   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2584   eval ac_new_set=\$ac_env_${ac_var}_set
   2585   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2586   eval ac_new_val=\$ac_env_${ac_var}_value
   2587   case $ac_old_set,$ac_new_set in
   2588     set,)
   2589       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2590 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2591       ac_cache_corrupted=: ;;
   2592     ,set)
   2593       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2594 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2595       ac_cache_corrupted=: ;;
   2596     ,);;
   2597     *)
   2598       if test "x$ac_old_val" != "x$ac_new_val"; then
   2599 	# differences in whitespace do not lead to failure.
   2600 	ac_old_val_w=`echo x $ac_old_val`
   2601 	ac_new_val_w=`echo x $ac_new_val`
   2602 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2603 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2604 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2605 	  ac_cache_corrupted=:
   2606 	else
   2607 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2608 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2609 	  eval $ac_var=\$ac_old_val
   2610 	fi
   2611 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2612 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   2613 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2614 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   2615       fi;;
   2616   esac
   2617   # Pass precious variables to config.status.
   2618   if test "$ac_new_set" = set; then
   2619     case $ac_new_val in
   2620     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2621     *) ac_arg=$ac_var=$ac_new_val ;;
   2622     esac
   2623     case " $ac_configure_args " in
   2624       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2625       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2626     esac
   2627   fi
   2628 done
   2629 if $ac_cache_corrupted; then
   2630   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2631 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2632   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2633 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2634   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2635 	    and start over" "$LINENO" 5
   2636 fi
   2637 ## -------------------- ##
   2638 ## Main body of script. ##
   2639 ## -------------------- ##
   2640 
   2641 ac_ext=c
   2642 ac_cpp='$CPP $CPPFLAGS'
   2643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2646 
   2647 
   2648 
   2649 ac_config_headers="$ac_config_headers config.h"
   2650 
   2651 
   2652 
   2653 # Initialize Automake
   2654 am__api_version='1.16'
   2655 
   2656 
   2657 
   2658   # Find a good install program.  We prefer a C program (faster),
   2659 # so one script is as good as another.  But avoid the broken or
   2660 # incompatible versions:
   2661 # SysV /etc/install, /usr/sbin/install
   2662 # SunOS /usr/etc/install
   2663 # IRIX /sbin/install
   2664 # AIX /bin/install
   2665 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2666 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2667 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2668 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2669 # OS/2's system install, which has a completely different semantic
   2670 # ./install, which can be erroneously created by make from ./install.sh.
   2671 # Reject install programs that cannot install multiple files.
   2672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2673 printf %s "checking for a BSD-compatible install... " >&6; }
   2674 if test -z "$INSTALL"; then
   2675 if test ${ac_cv_path_install+y}
   2676 then :
   2677   printf %s "(cached) " >&6
   2678 else case e in #(
   2679   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2680 for as_dir in $PATH
   2681 do
   2682   IFS=$as_save_IFS
   2683   case $as_dir in #(((
   2684     '') as_dir=./ ;;
   2685     */) ;;
   2686     *) as_dir=$as_dir/ ;;
   2687   esac
   2688     # Account for fact that we put trailing slashes in our PATH walk.
   2689 case $as_dir in #((
   2690   ./ | /[cC]/* | \
   2691   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2692   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2693   /usr/ucb/* ) ;;
   2694   *)
   2695     # OSF1 and SCO ODT 3.0 have their own names for install.
   2696     # Don't use installbsd from OSF since it installs stuff as root
   2697     # by default.
   2698     for ac_prog in ginstall scoinst install; do
   2699       for ac_exec_ext in '' $ac_executable_extensions; do
   2700 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2701 	  if test $ac_prog = install &&
   2702 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2703 	    # AIX install.  It has an incompatible calling convention.
   2704 	    :
   2705 	  elif test $ac_prog = install &&
   2706 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2707 	    # program-specific install script used by HP pwplus--don't use.
   2708 	    :
   2709 	  else
   2710 	    rm -rf conftest.one conftest.two conftest.dir
   2711 	    echo one > conftest.one
   2712 	    echo two > conftest.two
   2713 	    mkdir conftest.dir
   2714 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2715 	      test -s conftest.one && test -s conftest.two &&
   2716 	      test -s conftest.dir/conftest.one &&
   2717 	      test -s conftest.dir/conftest.two
   2718 	    then
   2719 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2720 	      break 3
   2721 	    fi
   2722 	  fi
   2723 	fi
   2724       done
   2725     done
   2726     ;;
   2727 esac
   2728 
   2729   done
   2730 IFS=$as_save_IFS
   2731 
   2732 rm -rf conftest.one conftest.two conftest.dir
   2733  ;;
   2734 esac
   2735 fi
   2736   if test ${ac_cv_path_install+y}; then
   2737     INSTALL=$ac_cv_path_install
   2738   else
   2739     # As a last resort, use the slow shell script.  Don't cache a
   2740     # value for INSTALL within a source directory, because that will
   2741     # break other packages using the cache if that directory is
   2742     # removed, or if the value is a relative name.
   2743     INSTALL=$ac_install_sh
   2744   fi
   2745 fi
   2746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2747 printf "%s\n" "$INSTALL" >&6; }
   2748 
   2749 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2750 # It thinks the first close brace ends the variable substitution.
   2751 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2752 
   2753 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2754 
   2755 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2756 
   2757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2758 printf %s "checking whether build environment is sane... " >&6; }
   2759 # Reject unsafe characters in $srcdir or the absolute working directory
   2760 # name.  Accept space and tab only in the latter.
   2761 am_lf='
   2762 '
   2763 case `pwd` in
   2764   *[\\\"\#\$\&\'\`$am_lf]*)
   2765     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2766 esac
   2767 case $srcdir in
   2768   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2769     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2770 esac
   2771 
   2772 # Do 'set' in a subshell so we don't clobber the current shell's
   2773 # arguments.  Must try -L first in case configure is actually a
   2774 # symlink; some systems play weird games with the mod time of symlinks
   2775 # (eg FreeBSD returns the mod time of the symlink's containing
   2776 # directory).
   2777 if (
   2778    am_has_slept=no
   2779    for am_try in 1 2; do
   2780      echo "timestamp, slept: $am_has_slept" > conftest.file
   2781      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2782      if test "$*" = "X"; then
   2783 	# -L didn't work.
   2784 	set X `ls -t "$srcdir/configure" conftest.file`
   2785      fi
   2786      if test "$*" != "X $srcdir/configure conftest.file" \
   2787 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2788 
   2789 	# If neither matched, then we have a broken ls.  This can happen
   2790 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2791 	# broken ls alias from the environment.  This has actually
   2792 	# happened.  Such a system could not be considered "sane".
   2793 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2794   alias in your environment" "$LINENO" 5
   2795      fi
   2796      if test "$2" = conftest.file || test $am_try -eq 2; then
   2797        break
   2798      fi
   2799      # Just in case.
   2800      sleep 1
   2801      am_has_slept=yes
   2802    done
   2803    test "$2" = conftest.file
   2804    )
   2805 then
   2806    # Ok.
   2807    :
   2808 else
   2809    as_fn_error $? "newly created file is older than distributed files!
   2810 Check your system clock" "$LINENO" 5
   2811 fi
   2812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2813 printf "%s\n" "yes" >&6; }
   2814 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2815 # generated files are strictly newer.
   2816 am_sleep_pid=
   2817 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2818   ( sleep 1 ) &
   2819   am_sleep_pid=$!
   2820 fi
   2821 
   2822 rm -f conftest.file
   2823 
   2824 test "$program_prefix" != NONE &&
   2825   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2826 # Use a double $ so make ignores it.
   2827 test "$program_suffix" != NONE &&
   2828   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2829 # Double any \ or $.
   2830 # By default was 's,x,x', remove it if useless.
   2831 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2832 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2833 
   2834 
   2835 # Expand $ac_aux_dir to an absolute path.
   2836 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2837 
   2838 
   2839   if test x"${MISSING+set}" != xset; then
   2840   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2841 fi
   2842 # Use eval to expand $SHELL
   2843 if eval "$MISSING --is-lightweight"; then
   2844   am_missing_run="$MISSING "
   2845 else
   2846   am_missing_run=
   2847   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2848 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2849 fi
   2850 
   2851 if test x"${install_sh+set}" != xset; then
   2852   case $am_aux_dir in
   2853   *\ * | *\	*)
   2854     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2855   *)
   2856     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2857   esac
   2858 fi
   2859 
   2860 # Installed binaries are usually stripped using 'strip' when the user
   2861 # run "make install-strip".  However 'strip' might not be the right
   2862 # tool to use in cross-compilation environments, therefore Automake
   2863 # will honor the 'STRIP' environment variable to overrule this program.
   2864 if test "$cross_compiling" != no; then
   2865   if test -n "$ac_tool_prefix"; then
   2866   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2867 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2869 printf %s "checking for $ac_word... " >&6; }
   2870 if test ${ac_cv_prog_STRIP+y}
   2871 then :
   2872   printf %s "(cached) " >&6
   2873 else case e in #(
   2874   e) if test -n "$STRIP"; then
   2875   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2876 else
   2877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2878 for as_dir in $PATH
   2879 do
   2880   IFS=$as_save_IFS
   2881   case $as_dir in #(((
   2882     '') as_dir=./ ;;
   2883     */) ;;
   2884     *) as_dir=$as_dir/ ;;
   2885   esac
   2886     for ac_exec_ext in '' $ac_executable_extensions; do
   2887   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2888     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2889     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2890     break 2
   2891   fi
   2892 done
   2893   done
   2894 IFS=$as_save_IFS
   2895 
   2896 fi ;;
   2897 esac
   2898 fi
   2899 STRIP=$ac_cv_prog_STRIP
   2900 if test -n "$STRIP"; then
   2901   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2902 printf "%s\n" "$STRIP" >&6; }
   2903 else
   2904   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2905 printf "%s\n" "no" >&6; }
   2906 fi
   2907 
   2908 
   2909 fi
   2910 if test -z "$ac_cv_prog_STRIP"; then
   2911   ac_ct_STRIP=$STRIP
   2912   # Extract the first word of "strip", so it can be a program name with args.
   2913 set dummy strip; ac_word=$2
   2914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2915 printf %s "checking for $ac_word... " >&6; }
   2916 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2917 then :
   2918   printf %s "(cached) " >&6
   2919 else case e in #(
   2920   e) if test -n "$ac_ct_STRIP"; then
   2921   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2922 else
   2923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2924 for as_dir in $PATH
   2925 do
   2926   IFS=$as_save_IFS
   2927   case $as_dir in #(((
   2928     '') as_dir=./ ;;
   2929     */) ;;
   2930     *) as_dir=$as_dir/ ;;
   2931   esac
   2932     for ac_exec_ext in '' $ac_executable_extensions; do
   2933   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2934     ac_cv_prog_ac_ct_STRIP="strip"
   2935     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2936     break 2
   2937   fi
   2938 done
   2939   done
   2940 IFS=$as_save_IFS
   2941 
   2942 fi ;;
   2943 esac
   2944 fi
   2945 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2946 if test -n "$ac_ct_STRIP"; then
   2947   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2948 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2949 else
   2950   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2951 printf "%s\n" "no" >&6; }
   2952 fi
   2953 
   2954   if test "x$ac_ct_STRIP" = x; then
   2955     STRIP=":"
   2956   else
   2957     case $cross_compiling:$ac_tool_warned in
   2958 yes:)
   2959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2960 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2961 ac_tool_warned=yes ;;
   2962 esac
   2963     STRIP=$ac_ct_STRIP
   2964   fi
   2965 else
   2966   STRIP="$ac_cv_prog_STRIP"
   2967 fi
   2968 
   2969 fi
   2970 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2971 
   2972 
   2973   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   2974 printf %s "checking for a race-free mkdir -p... " >&6; }
   2975 if test -z "$MKDIR_P"; then
   2976   if test ${ac_cv_path_mkdir+y}
   2977 then :
   2978   printf %s "(cached) " >&6
   2979 else case e in #(
   2980   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2981 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2982 do
   2983   IFS=$as_save_IFS
   2984   case $as_dir in #(((
   2985     '') as_dir=./ ;;
   2986     */) ;;
   2987     *) as_dir=$as_dir/ ;;
   2988   esac
   2989     for ac_prog in mkdir gmkdir; do
   2990 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2991 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   2992 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2993 	     'mkdir ('*'coreutils) '* | \
   2994 	     *'BusyBox '* | \
   2995 	     'mkdir (fileutils) '4.1*)
   2996 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   2997 	       break 3;;
   2998 	   esac
   2999 	 done
   3000        done
   3001   done
   3002 IFS=$as_save_IFS
   3003  ;;
   3004 esac
   3005 fi
   3006 
   3007   test -d ./--version && rmdir ./--version
   3008   if test ${ac_cv_path_mkdir+y}; then
   3009     MKDIR_P="$ac_cv_path_mkdir -p"
   3010   else
   3011     # As a last resort, use plain mkdir -p,
   3012     # in the hope it doesn't have the bugs of ancient mkdir.
   3013     MKDIR_P='mkdir -p'
   3014   fi
   3015 fi
   3016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3017 printf "%s\n" "$MKDIR_P" >&6; }
   3018 
   3019 for ac_prog in gawk mawk nawk awk
   3020 do
   3021   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3022 set dummy $ac_prog; ac_word=$2
   3023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3024 printf %s "checking for $ac_word... " >&6; }
   3025 if test ${ac_cv_prog_AWK+y}
   3026 then :
   3027   printf %s "(cached) " >&6
   3028 else case e in #(
   3029   e) if test -n "$AWK"; then
   3030   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3031 else
   3032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3033 for as_dir in $PATH
   3034 do
   3035   IFS=$as_save_IFS
   3036   case $as_dir in #(((
   3037     '') as_dir=./ ;;
   3038     */) ;;
   3039     *) as_dir=$as_dir/ ;;
   3040   esac
   3041     for ac_exec_ext in '' $ac_executable_extensions; do
   3042   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3043     ac_cv_prog_AWK="$ac_prog"
   3044     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3045     break 2
   3046   fi
   3047 done
   3048   done
   3049 IFS=$as_save_IFS
   3050 
   3051 fi ;;
   3052 esac
   3053 fi
   3054 AWK=$ac_cv_prog_AWK
   3055 if test -n "$AWK"; then
   3056   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3057 printf "%s\n" "$AWK" >&6; }
   3058 else
   3059   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3060 printf "%s\n" "no" >&6; }
   3061 fi
   3062 
   3063 
   3064   test -n "$AWK" && break
   3065 done
   3066 
   3067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3068 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3069 set x ${MAKE-make}
   3070 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3071 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3072 then :
   3073   printf %s "(cached) " >&6
   3074 else case e in #(
   3075   e) cat >conftest.make <<\_ACEOF
   3076 SHELL = /bin/sh
   3077 all:
   3078 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3079 _ACEOF
   3080 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3081 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3082   *@@@%%%=?*=@@@%%%*)
   3083     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3084   *)
   3085     eval ac_cv_prog_make_${ac_make}_set=no;;
   3086 esac
   3087 rm -f conftest.make ;;
   3088 esac
   3089 fi
   3090 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3091   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3092 printf "%s\n" "yes" >&6; }
   3093   SET_MAKE=
   3094 else
   3095   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3096 printf "%s\n" "no" >&6; }
   3097   SET_MAKE="MAKE=${MAKE-make}"
   3098 fi
   3099 
   3100 rm -rf .tst 2>/dev/null
   3101 mkdir .tst 2>/dev/null
   3102 if test -d .tst; then
   3103   am__leading_dot=.
   3104 else
   3105   am__leading_dot=_
   3106 fi
   3107 rmdir .tst 2>/dev/null
   3108 
   3109 # Check whether --enable-silent-rules was given.
   3110 if test ${enable_silent_rules+y}
   3111 then :
   3112   enableval=$enable_silent_rules;
   3113 fi
   3114 
   3115 case $enable_silent_rules in # (((
   3116   yes) AM_DEFAULT_VERBOSITY=0;;
   3117    no) AM_DEFAULT_VERBOSITY=1;;
   3118     *) AM_DEFAULT_VERBOSITY=1;;
   3119 esac
   3120 am_make=${MAKE-make}
   3121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3122 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3123 if test ${am_cv_make_support_nested_variables+y}
   3124 then :
   3125   printf %s "(cached) " >&6
   3126 else case e in #(
   3127   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   3128 BAR0=false
   3129 BAR1=true
   3130 V=1
   3131 am__doit:
   3132 	@$(TRUE)
   3133 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3134   am_cv_make_support_nested_variables=yes
   3135 else
   3136   am_cv_make_support_nested_variables=no
   3137 fi ;;
   3138 esac
   3139 fi
   3140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3141 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3142 if test $am_cv_make_support_nested_variables = yes; then
   3143     AM_V='$(V)'
   3144   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3145 else
   3146   AM_V=$AM_DEFAULT_VERBOSITY
   3147   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3148 fi
   3149 AM_BACKSLASH='\'
   3150 
   3151 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3152   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3153   # is not polluted with repeated "-I."
   3154   am__isrc=' -I$(srcdir)'
   3155   # test to see if srcdir already configured
   3156   if test -f $srcdir/config.status; then
   3157     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3158   fi
   3159 fi
   3160 
   3161 # test whether we have cygpath
   3162 if test -z "$CYGPATH_W"; then
   3163   if (cygpath --version) >/dev/null 2>/dev/null; then
   3164     CYGPATH_W='cygpath -w'
   3165   else
   3166     CYGPATH_W=echo
   3167   fi
   3168 fi
   3169 
   3170 
   3171 # Define the identity of the package.
   3172  PACKAGE='xf86-video-chips'
   3173  VERSION='1.5.0'
   3174 
   3175 
   3176 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3177 
   3178 
   3179 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3180 
   3181 # Some tools Automake needs.
   3182 
   3183 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3184 
   3185 
   3186 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3187 
   3188 
   3189 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3190 
   3191 
   3192 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3193 
   3194 
   3195 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3196 
   3197 # For better backward compatibility.  To be removed once Automake 1.9.x
   3198 # dies out for good.  For more background, see:
   3199 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3200 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3201 mkdir_p='$(MKDIR_P)'
   3202 
   3203 # We need awk for the "check" target (and possibly the TAP driver).  The
   3204 # system "awk" is bad on some platforms.
   3205 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3206 # in the wild :-(  We should find a proper way to deprecate it ...
   3207 AMTAR='$${TAR-tar}'
   3208 
   3209 
   3210 # We'll loop over all known methods to create a tar archive until one works.
   3211 _am_tools='gnutar  pax cpio none'
   3212 
   3213 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3214 
   3215 
   3216 
   3217 
   3218 
   3219 # Variables for tags utilities; see am/tags.am
   3220 if test -z "$CTAGS"; then
   3221   CTAGS=ctags
   3222 fi
   3223 
   3224 if test -z "$ETAGS"; then
   3225   ETAGS=etags
   3226 fi
   3227 
   3228 if test -z "$CSCOPE"; then
   3229   CSCOPE=cscope
   3230 fi
   3231 
   3232 
   3233 
   3234 # POSIX will say in a future version that running "rm -f" with no argument
   3235 # is OK; and we want to be able to make that assumption in our Makefile
   3236 # recipes.  So use an aggressive probe to check that the usage we want is
   3237 # actually supported "in the wild" to an acceptable degree.
   3238 # See automake bug#10828.
   3239 # To make any issue more visible, cause the running configure to be aborted
   3240 # by default if the 'rm' program in use doesn't match our expectations; the
   3241 # user can still override this though.
   3242 if rm -f && rm -fr && rm -rf; then : OK; else
   3243   cat >&2 <<'END'
   3244 Oops!
   3245 
   3246 Your 'rm' program seems unable to run without file operands specified
   3247 on the command line, even when the '-f' option is present.  This is contrary
   3248 to the behaviour of most rm programs out there, and not conforming with
   3249 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3250 
   3251 Please tell bug-automake@gnu.org about your system, including the value
   3252 of your $PATH and any error possibly output before this message.  This
   3253 can help us improve future automake versions.
   3254 
   3255 END
   3256   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3257     echo 'Configuration will proceed anyway, since you have set the' >&2
   3258     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3259     echo >&2
   3260   else
   3261     cat >&2 <<'END'
   3262 Aborting the configuration process, to ensure you take notice of the issue.
   3263 
   3264 You can download and install GNU coreutils to get an 'rm' implementation
   3265 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3266 
   3267 If you want to complete the configuration process using your problematic
   3268 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3269 to "yes", and re-run configure.
   3270 
   3271 END
   3272     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3273   fi
   3274 fi
   3275 
   3276 
   3277 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   3278 
   3279 
   3280 
   3281 
   3282 
   3283 
   3284 
   3285 
   3286 
   3287 
   3288 
   3289 
   3290 
   3291 
   3292 
   3293 
   3294 
   3295 
   3296 
   3297 
   3298 DEPDIR="${am__leading_dot}deps"
   3299 
   3300 ac_config_commands="$ac_config_commands depfiles"
   3301 
   3302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3303 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3304 cat > confinc.mk << 'END'
   3305 am__doit:
   3306 	@echo this is the am__doit target >confinc.out
   3307 .PHONY: am__doit
   3308 END
   3309 am__include="#"
   3310 am__quote=
   3311 # BSD make does it like this.
   3312 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3313 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3314 echo 'include confinc.mk # ignored' > confmf.GNU
   3315 _am_result=no
   3316 for s in GNU BSD; do
   3317   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3318    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3319    ac_status=$?
   3320    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3321    (exit $ac_status); }
   3322   case $?:`cat confinc.out 2>/dev/null` in #(
   3323   '0:this is the am__doit target') :
   3324     case $s in #(
   3325   BSD) :
   3326     am__include='.include' am__quote='"' ;; #(
   3327   *) :
   3328     am__include='include' am__quote='' ;;
   3329 esac ;; #(
   3330   *) :
   3331      ;;
   3332 esac
   3333   if test "$am__include" != "#"; then
   3334     _am_result="yes ($s style)"
   3335     break
   3336   fi
   3337 done
   3338 rm -f confinc.* confmf.*
   3339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3340 printf "%s\n" "${_am_result}" >&6; }
   3341 
   3342 # Check whether --enable-dependency-tracking was given.
   3343 if test ${enable_dependency_tracking+y}
   3344 then :
   3345   enableval=$enable_dependency_tracking;
   3346 fi
   3347 
   3348 if test "x$enable_dependency_tracking" != xno; then
   3349   am_depcomp="$ac_aux_dir/depcomp"
   3350   AMDEPBACKSLASH='\'
   3351   am__nodep='_no'
   3352 fi
   3353  if test "x$enable_dependency_tracking" != xno; then
   3354   AMDEP_TRUE=
   3355   AMDEP_FALSE='#'
   3356 else
   3357   AMDEP_TRUE='#'
   3358   AMDEP_FALSE=
   3359 fi
   3360 
   3361 
   3362 ac_ext=c
   3363 ac_cpp='$CPP $CPPFLAGS'
   3364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3367 if test -n "$ac_tool_prefix"; then
   3368   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3369 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3371 printf %s "checking for $ac_word... " >&6; }
   3372 if test ${ac_cv_prog_CC+y}
   3373 then :
   3374   printf %s "(cached) " >&6
   3375 else case e in #(
   3376   e) if test -n "$CC"; then
   3377   ac_cv_prog_CC="$CC" # Let the user override the test.
   3378 else
   3379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3380 for as_dir in $PATH
   3381 do
   3382   IFS=$as_save_IFS
   3383   case $as_dir in #(((
   3384     '') as_dir=./ ;;
   3385     */) ;;
   3386     *) as_dir=$as_dir/ ;;
   3387   esac
   3388     for ac_exec_ext in '' $ac_executable_extensions; do
   3389   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3390     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3391     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3392     break 2
   3393   fi
   3394 done
   3395   done
   3396 IFS=$as_save_IFS
   3397 
   3398 fi ;;
   3399 esac
   3400 fi
   3401 CC=$ac_cv_prog_CC
   3402 if test -n "$CC"; then
   3403   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3404 printf "%s\n" "$CC" >&6; }
   3405 else
   3406   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3407 printf "%s\n" "no" >&6; }
   3408 fi
   3409 
   3410 
   3411 fi
   3412 if test -z "$ac_cv_prog_CC"; then
   3413   ac_ct_CC=$CC
   3414   # Extract the first word of "gcc", so it can be a program name with args.
   3415 set dummy gcc; ac_word=$2
   3416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3417 printf %s "checking for $ac_word... " >&6; }
   3418 if test ${ac_cv_prog_ac_ct_CC+y}
   3419 then :
   3420   printf %s "(cached) " >&6
   3421 else case e in #(
   3422   e) if test -n "$ac_ct_CC"; then
   3423   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3424 else
   3425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3426 for as_dir in $PATH
   3427 do
   3428   IFS=$as_save_IFS
   3429   case $as_dir in #(((
   3430     '') as_dir=./ ;;
   3431     */) ;;
   3432     *) as_dir=$as_dir/ ;;
   3433   esac
   3434     for ac_exec_ext in '' $ac_executable_extensions; do
   3435   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3436     ac_cv_prog_ac_ct_CC="gcc"
   3437     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3438     break 2
   3439   fi
   3440 done
   3441   done
   3442 IFS=$as_save_IFS
   3443 
   3444 fi ;;
   3445 esac
   3446 fi
   3447 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3448 if test -n "$ac_ct_CC"; then
   3449   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3450 printf "%s\n" "$ac_ct_CC" >&6; }
   3451 else
   3452   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3453 printf "%s\n" "no" >&6; }
   3454 fi
   3455 
   3456   if test "x$ac_ct_CC" = x; then
   3457     CC=""
   3458   else
   3459     case $cross_compiling:$ac_tool_warned in
   3460 yes:)
   3461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3462 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3463 ac_tool_warned=yes ;;
   3464 esac
   3465     CC=$ac_ct_CC
   3466   fi
   3467 else
   3468   CC="$ac_cv_prog_CC"
   3469 fi
   3470 
   3471 if test -z "$CC"; then
   3472           if test -n "$ac_tool_prefix"; then
   3473     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3474 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3476 printf %s "checking for $ac_word... " >&6; }
   3477 if test ${ac_cv_prog_CC+y}
   3478 then :
   3479   printf %s "(cached) " >&6
   3480 else case e in #(
   3481   e) if test -n "$CC"; then
   3482   ac_cv_prog_CC="$CC" # Let the user override the test.
   3483 else
   3484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3485 for as_dir in $PATH
   3486 do
   3487   IFS=$as_save_IFS
   3488   case $as_dir in #(((
   3489     '') as_dir=./ ;;
   3490     */) ;;
   3491     *) as_dir=$as_dir/ ;;
   3492   esac
   3493     for ac_exec_ext in '' $ac_executable_extensions; do
   3494   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3495     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3496     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3497     break 2
   3498   fi
   3499 done
   3500   done
   3501 IFS=$as_save_IFS
   3502 
   3503 fi ;;
   3504 esac
   3505 fi
   3506 CC=$ac_cv_prog_CC
   3507 if test -n "$CC"; then
   3508   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3509 printf "%s\n" "$CC" >&6; }
   3510 else
   3511   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3512 printf "%s\n" "no" >&6; }
   3513 fi
   3514 
   3515 
   3516   fi
   3517 fi
   3518 if test -z "$CC"; then
   3519   # Extract the first word of "cc", so it can be a program name with args.
   3520 set dummy cc; ac_word=$2
   3521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3522 printf %s "checking for $ac_word... " >&6; }
   3523 if test ${ac_cv_prog_CC+y}
   3524 then :
   3525   printf %s "(cached) " >&6
   3526 else case e in #(
   3527   e) if test -n "$CC"; then
   3528   ac_cv_prog_CC="$CC" # Let the user override the test.
   3529 else
   3530   ac_prog_rejected=no
   3531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3532 for as_dir in $PATH
   3533 do
   3534   IFS=$as_save_IFS
   3535   case $as_dir in #(((
   3536     '') as_dir=./ ;;
   3537     */) ;;
   3538     *) as_dir=$as_dir/ ;;
   3539   esac
   3540     for ac_exec_ext in '' $ac_executable_extensions; do
   3541   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3542     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3543        ac_prog_rejected=yes
   3544        continue
   3545      fi
   3546     ac_cv_prog_CC="cc"
   3547     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3548     break 2
   3549   fi
   3550 done
   3551   done
   3552 IFS=$as_save_IFS
   3553 
   3554 if test $ac_prog_rejected = yes; then
   3555   # We found a bogon in the path, so make sure we never use it.
   3556   set dummy $ac_cv_prog_CC
   3557   shift
   3558   if test $# != 0; then
   3559     # We chose a different compiler from the bogus one.
   3560     # However, it has the same basename, so the bogon will be chosen
   3561     # first if we set CC to just the basename; use the full file name.
   3562     shift
   3563     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3564   fi
   3565 fi
   3566 fi ;;
   3567 esac
   3568 fi
   3569 CC=$ac_cv_prog_CC
   3570 if test -n "$CC"; then
   3571   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3572 printf "%s\n" "$CC" >&6; }
   3573 else
   3574   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3575 printf "%s\n" "no" >&6; }
   3576 fi
   3577 
   3578 
   3579 fi
   3580 if test -z "$CC"; then
   3581   if test -n "$ac_tool_prefix"; then
   3582   for ac_prog in cl.exe
   3583   do
   3584     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3585 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3587 printf %s "checking for $ac_word... " >&6; }
   3588 if test ${ac_cv_prog_CC+y}
   3589 then :
   3590   printf %s "(cached) " >&6
   3591 else case e in #(
   3592   e) if test -n "$CC"; then
   3593   ac_cv_prog_CC="$CC" # Let the user override the test.
   3594 else
   3595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3596 for as_dir in $PATH
   3597 do
   3598   IFS=$as_save_IFS
   3599   case $as_dir in #(((
   3600     '') as_dir=./ ;;
   3601     */) ;;
   3602     *) as_dir=$as_dir/ ;;
   3603   esac
   3604     for ac_exec_ext in '' $ac_executable_extensions; do
   3605   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3606     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3607     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3608     break 2
   3609   fi
   3610 done
   3611   done
   3612 IFS=$as_save_IFS
   3613 
   3614 fi ;;
   3615 esac
   3616 fi
   3617 CC=$ac_cv_prog_CC
   3618 if test -n "$CC"; then
   3619   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3620 printf "%s\n" "$CC" >&6; }
   3621 else
   3622   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3623 printf "%s\n" "no" >&6; }
   3624 fi
   3625 
   3626 
   3627     test -n "$CC" && break
   3628   done
   3629 fi
   3630 if test -z "$CC"; then
   3631   ac_ct_CC=$CC
   3632   for ac_prog in cl.exe
   3633 do
   3634   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3635 set dummy $ac_prog; ac_word=$2
   3636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3637 printf %s "checking for $ac_word... " >&6; }
   3638 if test ${ac_cv_prog_ac_ct_CC+y}
   3639 then :
   3640   printf %s "(cached) " >&6
   3641 else case e in #(
   3642   e) if test -n "$ac_ct_CC"; then
   3643   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3644 else
   3645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3646 for as_dir in $PATH
   3647 do
   3648   IFS=$as_save_IFS
   3649   case $as_dir in #(((
   3650     '') as_dir=./ ;;
   3651     */) ;;
   3652     *) as_dir=$as_dir/ ;;
   3653   esac
   3654     for ac_exec_ext in '' $ac_executable_extensions; do
   3655   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3656     ac_cv_prog_ac_ct_CC="$ac_prog"
   3657     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3658     break 2
   3659   fi
   3660 done
   3661   done
   3662 IFS=$as_save_IFS
   3663 
   3664 fi ;;
   3665 esac
   3666 fi
   3667 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3668 if test -n "$ac_ct_CC"; then
   3669   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3670 printf "%s\n" "$ac_ct_CC" >&6; }
   3671 else
   3672   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3673 printf "%s\n" "no" >&6; }
   3674 fi
   3675 
   3676 
   3677   test -n "$ac_ct_CC" && break
   3678 done
   3679 
   3680   if test "x$ac_ct_CC" = x; then
   3681     CC=""
   3682   else
   3683     case $cross_compiling:$ac_tool_warned in
   3684 yes:)
   3685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3686 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3687 ac_tool_warned=yes ;;
   3688 esac
   3689     CC=$ac_ct_CC
   3690   fi
   3691 fi
   3692 
   3693 fi
   3694 if test -z "$CC"; then
   3695   if test -n "$ac_tool_prefix"; then
   3696   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3697 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3699 printf %s "checking for $ac_word... " >&6; }
   3700 if test ${ac_cv_prog_CC+y}
   3701 then :
   3702   printf %s "(cached) " >&6
   3703 else case e in #(
   3704   e) if test -n "$CC"; then
   3705   ac_cv_prog_CC="$CC" # Let the user override the test.
   3706 else
   3707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3708 for as_dir in $PATH
   3709 do
   3710   IFS=$as_save_IFS
   3711   case $as_dir in #(((
   3712     '') as_dir=./ ;;
   3713     */) ;;
   3714     *) as_dir=$as_dir/ ;;
   3715   esac
   3716     for ac_exec_ext in '' $ac_executable_extensions; do
   3717   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3718     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3719     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3720     break 2
   3721   fi
   3722 done
   3723   done
   3724 IFS=$as_save_IFS
   3725 
   3726 fi ;;
   3727 esac
   3728 fi
   3729 CC=$ac_cv_prog_CC
   3730 if test -n "$CC"; then
   3731   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3732 printf "%s\n" "$CC" >&6; }
   3733 else
   3734   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3735 printf "%s\n" "no" >&6; }
   3736 fi
   3737 
   3738 
   3739 fi
   3740 if test -z "$ac_cv_prog_CC"; then
   3741   ac_ct_CC=$CC
   3742   # Extract the first word of "clang", so it can be a program name with args.
   3743 set dummy clang; ac_word=$2
   3744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3745 printf %s "checking for $ac_word... " >&6; }
   3746 if test ${ac_cv_prog_ac_ct_CC+y}
   3747 then :
   3748   printf %s "(cached) " >&6
   3749 else case e in #(
   3750   e) if test -n "$ac_ct_CC"; then
   3751   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3752 else
   3753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3754 for as_dir in $PATH
   3755 do
   3756   IFS=$as_save_IFS
   3757   case $as_dir in #(((
   3758     '') as_dir=./ ;;
   3759     */) ;;
   3760     *) as_dir=$as_dir/ ;;
   3761   esac
   3762     for ac_exec_ext in '' $ac_executable_extensions; do
   3763   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3764     ac_cv_prog_ac_ct_CC="clang"
   3765     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3766     break 2
   3767   fi
   3768 done
   3769   done
   3770 IFS=$as_save_IFS
   3771 
   3772 fi ;;
   3773 esac
   3774 fi
   3775 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3776 if test -n "$ac_ct_CC"; then
   3777   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3778 printf "%s\n" "$ac_ct_CC" >&6; }
   3779 else
   3780   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3781 printf "%s\n" "no" >&6; }
   3782 fi
   3783 
   3784   if test "x$ac_ct_CC" = x; then
   3785     CC=""
   3786   else
   3787     case $cross_compiling:$ac_tool_warned in
   3788 yes:)
   3789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3790 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3791 ac_tool_warned=yes ;;
   3792 esac
   3793     CC=$ac_ct_CC
   3794   fi
   3795 else
   3796   CC="$ac_cv_prog_CC"
   3797 fi
   3798 
   3799 fi
   3800 
   3801 
   3802 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3803 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3804 as_fn_error $? "no acceptable C compiler found in \$PATH
   3805 See 'config.log' for more details" "$LINENO" 5; }
   3806 
   3807 # Provide some information about the compiler.
   3808 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3809 set X $ac_compile
   3810 ac_compiler=$2
   3811 for ac_option in --version -v -V -qversion -version; do
   3812   { { ac_try="$ac_compiler $ac_option >&5"
   3813 case "(($ac_try" in
   3814   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3815   *) ac_try_echo=$ac_try;;
   3816 esac
   3817 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3818 printf "%s\n" "$ac_try_echo"; } >&5
   3819   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3820   ac_status=$?
   3821   if test -s conftest.err; then
   3822     sed '10a\
   3823 ... rest of stderr output deleted ...
   3824          10q' conftest.err >conftest.er1
   3825     cat conftest.er1 >&5
   3826   fi
   3827   rm -f conftest.er1 conftest.err
   3828   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3829   test $ac_status = 0; }
   3830 done
   3831 
   3832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3833 /* end confdefs.h.  */
   3834 
   3835 int
   3836 main (void)
   3837 {
   3838 
   3839   ;
   3840   return 0;
   3841 }
   3842 _ACEOF
   3843 ac_clean_files_save=$ac_clean_files
   3844 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3845 # Try to create an executable without -o first, disregard a.out.
   3846 # It will help us diagnose broken compilers, and finding out an intuition
   3847 # of exeext.
   3848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3849 printf %s "checking whether the C compiler works... " >&6; }
   3850 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3851 
   3852 # The possible output files:
   3853 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3854 
   3855 ac_rmfiles=
   3856 for ac_file in $ac_files
   3857 do
   3858   case $ac_file in
   3859     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3860     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3861   esac
   3862 done
   3863 rm -f $ac_rmfiles
   3864 
   3865 if { { ac_try="$ac_link_default"
   3866 case "(($ac_try" in
   3867   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3868   *) ac_try_echo=$ac_try;;
   3869 esac
   3870 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3871 printf "%s\n" "$ac_try_echo"; } >&5
   3872   (eval "$ac_link_default") 2>&5
   3873   ac_status=$?
   3874   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3875   test $ac_status = 0; }
   3876 then :
   3877   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   3878 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   3879 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3880 # so that the user can short-circuit this test for compilers unknown to
   3881 # Autoconf.
   3882 for ac_file in $ac_files ''
   3883 do
   3884   test -f "$ac_file" || continue
   3885   case $ac_file in
   3886     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3887 	;;
   3888     [ab].out )
   3889 	# We found the default executable, but exeext='' is most
   3890 	# certainly right.
   3891 	break;;
   3892     *.* )
   3893 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3894 	then :; else
   3895 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3896 	fi
   3897 	# We set ac_cv_exeext here because the later test for it is not
   3898 	# safe: cross compilers may not add the suffix if given an '-o'
   3899 	# argument, so we may need to know it at that point already.
   3900 	# Even if this section looks crufty: it has the advantage of
   3901 	# actually working.
   3902 	break;;
   3903     * )
   3904 	break;;
   3905   esac
   3906 done
   3907 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3908 
   3909 else case e in #(
   3910   e) ac_file='' ;;
   3911 esac
   3912 fi
   3913 if test -z "$ac_file"
   3914 then :
   3915   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3916 printf "%s\n" "no" >&6; }
   3917 printf "%s\n" "$as_me: failed program was:" >&5
   3918 sed 's/^/| /' conftest.$ac_ext >&5
   3919 
   3920 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3921 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3922 as_fn_error 77 "C compiler cannot create executables
   3923 See 'config.log' for more details" "$LINENO" 5; }
   3924 else case e in #(
   3925   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3926 printf "%s\n" "yes" >&6; } ;;
   3927 esac
   3928 fi
   3929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3930 printf %s "checking for C compiler default output file name... " >&6; }
   3931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3932 printf "%s\n" "$ac_file" >&6; }
   3933 ac_exeext=$ac_cv_exeext
   3934 
   3935 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3936 ac_clean_files=$ac_clean_files_save
   3937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3938 printf %s "checking for suffix of executables... " >&6; }
   3939 if { { ac_try="$ac_link"
   3940 case "(($ac_try" in
   3941   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3942   *) ac_try_echo=$ac_try;;
   3943 esac
   3944 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3945 printf "%s\n" "$ac_try_echo"; } >&5
   3946   (eval "$ac_link") 2>&5
   3947   ac_status=$?
   3948   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3949   test $ac_status = 0; }
   3950 then :
   3951   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   3952 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   3953 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   3954 # 'rm'.
   3955 for ac_file in conftest.exe conftest conftest.*; do
   3956   test -f "$ac_file" || continue
   3957   case $ac_file in
   3958     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3959     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3960 	  break;;
   3961     * ) break;;
   3962   esac
   3963 done
   3964 else case e in #(
   3965   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3966 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3967 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3968 See 'config.log' for more details" "$LINENO" 5; } ;;
   3969 esac
   3970 fi
   3971 rm -f conftest conftest$ac_cv_exeext
   3972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3973 printf "%s\n" "$ac_cv_exeext" >&6; }
   3974 
   3975 rm -f conftest.$ac_ext
   3976 EXEEXT=$ac_cv_exeext
   3977 ac_exeext=$EXEEXT
   3978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3979 /* end confdefs.h.  */
   3980 #include <stdio.h>
   3981 int
   3982 main (void)
   3983 {
   3984 FILE *f = fopen ("conftest.out", "w");
   3985  if (!f)
   3986   return 1;
   3987  return ferror (f) || fclose (f) != 0;
   3988 
   3989   ;
   3990   return 0;
   3991 }
   3992 _ACEOF
   3993 ac_clean_files="$ac_clean_files conftest.out"
   3994 # Check that the compiler produces executables we can run.  If not, either
   3995 # the compiler is broken, or we cross compile.
   3996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3997 printf %s "checking whether we are cross compiling... " >&6; }
   3998 if test "$cross_compiling" != yes; then
   3999   { { ac_try="$ac_link"
   4000 case "(($ac_try" in
   4001   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4002   *) ac_try_echo=$ac_try;;
   4003 esac
   4004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4005 printf "%s\n" "$ac_try_echo"; } >&5
   4006   (eval "$ac_link") 2>&5
   4007   ac_status=$?
   4008   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4009   test $ac_status = 0; }
   4010   if { ac_try='./conftest$ac_cv_exeext'
   4011   { { case "(($ac_try" in
   4012   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4013   *) ac_try_echo=$ac_try;;
   4014 esac
   4015 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4016 printf "%s\n" "$ac_try_echo"; } >&5
   4017   (eval "$ac_try") 2>&5
   4018   ac_status=$?
   4019   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4020   test $ac_status = 0; }; }; then
   4021     cross_compiling=no
   4022   else
   4023     if test "$cross_compiling" = maybe; then
   4024 	cross_compiling=yes
   4025     else
   4026 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4027 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4028 as_fn_error 77 "cannot run C compiled programs.
   4029 If you meant to cross compile, use '--host'.
   4030 See 'config.log' for more details" "$LINENO" 5; }
   4031     fi
   4032   fi
   4033 fi
   4034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4035 printf "%s\n" "$cross_compiling" >&6; }
   4036 
   4037 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   4038   conftest.o conftest.obj conftest.out
   4039 ac_clean_files=$ac_clean_files_save
   4040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4041 printf %s "checking for suffix of object files... " >&6; }
   4042 if test ${ac_cv_objext+y}
   4043 then :
   4044   printf %s "(cached) " >&6
   4045 else case e in #(
   4046   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4047 /* end confdefs.h.  */
   4048 
   4049 int
   4050 main (void)
   4051 {
   4052 
   4053   ;
   4054   return 0;
   4055 }
   4056 _ACEOF
   4057 rm -f conftest.o conftest.obj
   4058 if { { ac_try="$ac_compile"
   4059 case "(($ac_try" in
   4060   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4061   *) ac_try_echo=$ac_try;;
   4062 esac
   4063 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4064 printf "%s\n" "$ac_try_echo"; } >&5
   4065   (eval "$ac_compile") 2>&5
   4066   ac_status=$?
   4067   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4068   test $ac_status = 0; }
   4069 then :
   4070   for ac_file in conftest.o conftest.obj conftest.*; do
   4071   test -f "$ac_file" || continue;
   4072   case $ac_file in
   4073     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4074     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4075        break;;
   4076   esac
   4077 done
   4078 else case e in #(
   4079   e) printf "%s\n" "$as_me: failed program was:" >&5
   4080 sed 's/^/| /' conftest.$ac_ext >&5
   4081 
   4082 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4083 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4084 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4085 See 'config.log' for more details" "$LINENO" 5; } ;;
   4086 esac
   4087 fi
   4088 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   4089 esac
   4090 fi
   4091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4092 printf "%s\n" "$ac_cv_objext" >&6; }
   4093 OBJEXT=$ac_cv_objext
   4094 ac_objext=$OBJEXT
   4095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4096 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4097 if test ${ac_cv_c_compiler_gnu+y}
   4098 then :
   4099   printf %s "(cached) " >&6
   4100 else case e in #(
   4101   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4102 /* end confdefs.h.  */
   4103 
   4104 int
   4105 main (void)
   4106 {
   4107 #ifndef __GNUC__
   4108        choke me
   4109 #endif
   4110 
   4111   ;
   4112   return 0;
   4113 }
   4114 _ACEOF
   4115 if ac_fn_c_try_compile "$LINENO"
   4116 then :
   4117   ac_compiler_gnu=yes
   4118 else case e in #(
   4119   e) ac_compiler_gnu=no ;;
   4120 esac
   4121 fi
   4122 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4123 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4124  ;;
   4125 esac
   4126 fi
   4127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4128 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4130 
   4131 if test $ac_compiler_gnu = yes; then
   4132   GCC=yes
   4133 else
   4134   GCC=
   4135 fi
   4136 ac_test_CFLAGS=${CFLAGS+y}
   4137 ac_save_CFLAGS=$CFLAGS
   4138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4139 printf %s "checking whether $CC accepts -g... " >&6; }
   4140 if test ${ac_cv_prog_cc_g+y}
   4141 then :
   4142   printf %s "(cached) " >&6
   4143 else case e in #(
   4144   e) ac_save_c_werror_flag=$ac_c_werror_flag
   4145    ac_c_werror_flag=yes
   4146    ac_cv_prog_cc_g=no
   4147    CFLAGS="-g"
   4148    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4149 /* end confdefs.h.  */
   4150 
   4151 int
   4152 main (void)
   4153 {
   4154 
   4155   ;
   4156   return 0;
   4157 }
   4158 _ACEOF
   4159 if ac_fn_c_try_compile "$LINENO"
   4160 then :
   4161   ac_cv_prog_cc_g=yes
   4162 else case e in #(
   4163   e) CFLAGS=""
   4164       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4165 /* end confdefs.h.  */
   4166 
   4167 int
   4168 main (void)
   4169 {
   4170 
   4171   ;
   4172   return 0;
   4173 }
   4174 _ACEOF
   4175 if ac_fn_c_try_compile "$LINENO"
   4176 then :
   4177 
   4178 else case e in #(
   4179   e) ac_c_werror_flag=$ac_save_c_werror_flag
   4180 	 CFLAGS="-g"
   4181 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4182 /* end confdefs.h.  */
   4183 
   4184 int
   4185 main (void)
   4186 {
   4187 
   4188   ;
   4189   return 0;
   4190 }
   4191 _ACEOF
   4192 if ac_fn_c_try_compile "$LINENO"
   4193 then :
   4194   ac_cv_prog_cc_g=yes
   4195 fi
   4196 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4197 esac
   4198 fi
   4199 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4200 esac
   4201 fi
   4202 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4203    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   4204 esac
   4205 fi
   4206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4207 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4208 if test $ac_test_CFLAGS; then
   4209   CFLAGS=$ac_save_CFLAGS
   4210 elif test $ac_cv_prog_cc_g = yes; then
   4211   if test "$GCC" = yes; then
   4212     CFLAGS="-g -O2"
   4213   else
   4214     CFLAGS="-g"
   4215   fi
   4216 else
   4217   if test "$GCC" = yes; then
   4218     CFLAGS="-O2"
   4219   else
   4220     CFLAGS=
   4221   fi
   4222 fi
   4223 ac_prog_cc_stdc=no
   4224 if test x$ac_prog_cc_stdc = xno
   4225 then :
   4226   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4227 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4228 if test ${ac_cv_prog_cc_c11+y}
   4229 then :
   4230   printf %s "(cached) " >&6
   4231 else case e in #(
   4232   e) ac_cv_prog_cc_c11=no
   4233 ac_save_CC=$CC
   4234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4235 /* end confdefs.h.  */
   4236 $ac_c_conftest_c11_program
   4237 _ACEOF
   4238 for ac_arg in '' -std=gnu11
   4239 do
   4240   CC="$ac_save_CC $ac_arg"
   4241   if ac_fn_c_try_compile "$LINENO"
   4242 then :
   4243   ac_cv_prog_cc_c11=$ac_arg
   4244 fi
   4245 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4246   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4247 done
   4248 rm -f conftest.$ac_ext
   4249 CC=$ac_save_CC ;;
   4250 esac
   4251 fi
   4252 
   4253 if test "x$ac_cv_prog_cc_c11" = xno
   4254 then :
   4255   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4256 printf "%s\n" "unsupported" >&6; }
   4257 else case e in #(
   4258   e) if test "x$ac_cv_prog_cc_c11" = x
   4259 then :
   4260   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4261 printf "%s\n" "none needed" >&6; }
   4262 else case e in #(
   4263   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4264 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4265      CC="$CC $ac_cv_prog_cc_c11" ;;
   4266 esac
   4267 fi
   4268   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4269   ac_prog_cc_stdc=c11 ;;
   4270 esac
   4271 fi
   4272 fi
   4273 if test x$ac_prog_cc_stdc = xno
   4274 then :
   4275   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4276 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4277 if test ${ac_cv_prog_cc_c99+y}
   4278 then :
   4279   printf %s "(cached) " >&6
   4280 else case e in #(
   4281   e) ac_cv_prog_cc_c99=no
   4282 ac_save_CC=$CC
   4283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4284 /* end confdefs.h.  */
   4285 $ac_c_conftest_c99_program
   4286 _ACEOF
   4287 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4288 do
   4289   CC="$ac_save_CC $ac_arg"
   4290   if ac_fn_c_try_compile "$LINENO"
   4291 then :
   4292   ac_cv_prog_cc_c99=$ac_arg
   4293 fi
   4294 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4295   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4296 done
   4297 rm -f conftest.$ac_ext
   4298 CC=$ac_save_CC ;;
   4299 esac
   4300 fi
   4301 
   4302 if test "x$ac_cv_prog_cc_c99" = xno
   4303 then :
   4304   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4305 printf "%s\n" "unsupported" >&6; }
   4306 else case e in #(
   4307   e) if test "x$ac_cv_prog_cc_c99" = x
   4308 then :
   4309   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4310 printf "%s\n" "none needed" >&6; }
   4311 else case e in #(
   4312   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4313 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4314      CC="$CC $ac_cv_prog_cc_c99" ;;
   4315 esac
   4316 fi
   4317   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4318   ac_prog_cc_stdc=c99 ;;
   4319 esac
   4320 fi
   4321 fi
   4322 if test x$ac_prog_cc_stdc = xno
   4323 then :
   4324   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4325 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4326 if test ${ac_cv_prog_cc_c89+y}
   4327 then :
   4328   printf %s "(cached) " >&6
   4329 else case e in #(
   4330   e) ac_cv_prog_cc_c89=no
   4331 ac_save_CC=$CC
   4332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4333 /* end confdefs.h.  */
   4334 $ac_c_conftest_c89_program
   4335 _ACEOF
   4336 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4337 do
   4338   CC="$ac_save_CC $ac_arg"
   4339   if ac_fn_c_try_compile "$LINENO"
   4340 then :
   4341   ac_cv_prog_cc_c89=$ac_arg
   4342 fi
   4343 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4344   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4345 done
   4346 rm -f conftest.$ac_ext
   4347 CC=$ac_save_CC ;;
   4348 esac
   4349 fi
   4350 
   4351 if test "x$ac_cv_prog_cc_c89" = xno
   4352 then :
   4353   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4354 printf "%s\n" "unsupported" >&6; }
   4355 else case e in #(
   4356   e) if test "x$ac_cv_prog_cc_c89" = x
   4357 then :
   4358   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4359 printf "%s\n" "none needed" >&6; }
   4360 else case e in #(
   4361   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4362 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4363      CC="$CC $ac_cv_prog_cc_c89" ;;
   4364 esac
   4365 fi
   4366   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4367   ac_prog_cc_stdc=c89 ;;
   4368 esac
   4369 fi
   4370 fi
   4371 
   4372 ac_ext=c
   4373 ac_cpp='$CPP $CPPFLAGS'
   4374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4377 
   4378 
   4379   ac_ext=c
   4380 ac_cpp='$CPP $CPPFLAGS'
   4381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4385 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4386 if test ${am_cv_prog_cc_c_o+y}
   4387 then :
   4388   printf %s "(cached) " >&6
   4389 else case e in #(
   4390   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4391 /* end confdefs.h.  */
   4392 
   4393 int
   4394 main (void)
   4395 {
   4396 
   4397   ;
   4398   return 0;
   4399 }
   4400 _ACEOF
   4401   # Make sure it works both with $CC and with simple cc.
   4402   # Following AC_PROG_CC_C_O, we do the test twice because some
   4403   # compilers refuse to overwrite an existing .o file with -o,
   4404   # though they will create one.
   4405   am_cv_prog_cc_c_o=yes
   4406   for am_i in 1 2; do
   4407     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4408    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4409    ac_status=$?
   4410    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4411    (exit $ac_status); } \
   4412          && test -f conftest2.$ac_objext; then
   4413       : OK
   4414     else
   4415       am_cv_prog_cc_c_o=no
   4416       break
   4417     fi
   4418   done
   4419   rm -f core conftest*
   4420   unset am_i ;;
   4421 esac
   4422 fi
   4423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4424 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4425 if test "$am_cv_prog_cc_c_o" != yes; then
   4426    # Losing compiler, so override with the script.
   4427    # FIXME: It is wrong to rewrite CC.
   4428    # But if we don't then we get into trouble of one sort or another.
   4429    # A longer-term fix would be to have automake use am__CC in this case,
   4430    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4431    CC="$am_aux_dir/compile $CC"
   4432 fi
   4433 ac_ext=c
   4434 ac_cpp='$CPP $CPPFLAGS'
   4435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4438 
   4439 
   4440 depcc="$CC"   am_compiler_list=
   4441 
   4442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4443 printf %s "checking dependency style of $depcc... " >&6; }
   4444 if test ${am_cv_CC_dependencies_compiler_type+y}
   4445 then :
   4446   printf %s "(cached) " >&6
   4447 else case e in #(
   4448   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4449   # We make a subdir and do the tests there.  Otherwise we can end up
   4450   # making bogus files that we don't know about and never remove.  For
   4451   # instance it was reported that on HP-UX the gcc test will end up
   4452   # making a dummy file named 'D' -- because '-MD' means "put the output
   4453   # in D".
   4454   rm -rf conftest.dir
   4455   mkdir conftest.dir
   4456   # Copy depcomp to subdir because otherwise we won't find it if we're
   4457   # using a relative directory.
   4458   cp "$am_depcomp" conftest.dir
   4459   cd conftest.dir
   4460   # We will build objects and dependencies in a subdirectory because
   4461   # it helps to detect inapplicable dependency modes.  For instance
   4462   # both Tru64's cc and ICC support -MD to output dependencies as a
   4463   # side effect of compilation, but ICC will put the dependencies in
   4464   # the current directory while Tru64 will put them in the object
   4465   # directory.
   4466   mkdir sub
   4467 
   4468   am_cv_CC_dependencies_compiler_type=none
   4469   if test "$am_compiler_list" = ""; then
   4470      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4471   fi
   4472   am__universal=false
   4473   case " $depcc " in #(
   4474      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4475      esac
   4476 
   4477   for depmode in $am_compiler_list; do
   4478     # Setup a source with many dependencies, because some compilers
   4479     # like to wrap large dependency lists on column 80 (with \), and
   4480     # we should not choose a depcomp mode which is confused by this.
   4481     #
   4482     # We need to recreate these files for each test, as the compiler may
   4483     # overwrite some of them when testing with obscure command lines.
   4484     # This happens at least with the AIX C compiler.
   4485     : > sub/conftest.c
   4486     for i in 1 2 3 4 5 6; do
   4487       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4488       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4489       # Solaris 10 /bin/sh.
   4490       echo '/* dummy */' > sub/conftst$i.h
   4491     done
   4492     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4493 
   4494     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4495     # mode.  It turns out that the SunPro C++ compiler does not properly
   4496     # handle '-M -o', and we need to detect this.  Also, some Intel
   4497     # versions had trouble with output in subdirs.
   4498     am__obj=sub/conftest.${OBJEXT-o}
   4499     am__minus_obj="-o $am__obj"
   4500     case $depmode in
   4501     gcc)
   4502       # This depmode causes a compiler race in universal mode.
   4503       test "$am__universal" = false || continue
   4504       ;;
   4505     nosideeffect)
   4506       # After this tag, mechanisms are not by side-effect, so they'll
   4507       # only be used when explicitly requested.
   4508       if test "x$enable_dependency_tracking" = xyes; then
   4509 	continue
   4510       else
   4511 	break
   4512       fi
   4513       ;;
   4514     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4515       # This compiler won't grok '-c -o', but also, the minuso test has
   4516       # not run yet.  These depmodes are late enough in the game, and
   4517       # so weak that their functioning should not be impacted.
   4518       am__obj=conftest.${OBJEXT-o}
   4519       am__minus_obj=
   4520       ;;
   4521     none) break ;;
   4522     esac
   4523     if depmode=$depmode \
   4524        source=sub/conftest.c object=$am__obj \
   4525        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4526        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4527          >/dev/null 2>conftest.err &&
   4528        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4529        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4530        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4531        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4532       # icc doesn't choke on unknown options, it will just issue warnings
   4533       # or remarks (even with -Werror).  So we grep stderr for any message
   4534       # that says an option was ignored or not supported.
   4535       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4536       #   icc: Command line warning: ignoring option '-M'; no argument required
   4537       # The diagnosis changed in icc 8.0:
   4538       #   icc: Command line remark: option '-MP' not supported
   4539       if (grep 'ignoring option' conftest.err ||
   4540           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4541         am_cv_CC_dependencies_compiler_type=$depmode
   4542         break
   4543       fi
   4544     fi
   4545   done
   4546 
   4547   cd ..
   4548   rm -rf conftest.dir
   4549 else
   4550   am_cv_CC_dependencies_compiler_type=none
   4551 fi
   4552  ;;
   4553 esac
   4554 fi
   4555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4556 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4557 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4558 
   4559  if
   4560   test "x$enable_dependency_tracking" != xno \
   4561   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4562   am__fastdepCC_TRUE=
   4563   am__fastdepCC_FALSE='#'
   4564 else
   4565   am__fastdepCC_TRUE='#'
   4566   am__fastdepCC_FALSE=
   4567 fi
   4568 
   4569 
   4570 
   4571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4572 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4573 if test ${ac_cv_c_undeclared_builtin_options+y}
   4574 then :
   4575   printf %s "(cached) " >&6
   4576 else case e in #(
   4577   e) ac_save_CFLAGS=$CFLAGS
   4578    ac_cv_c_undeclared_builtin_options='cannot detect'
   4579    for ac_arg in '' -fno-builtin; do
   4580      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4581      # This test program should *not* compile successfully.
   4582      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4583 /* end confdefs.h.  */
   4584 
   4585 int
   4586 main (void)
   4587 {
   4588 (void) strchr;
   4589   ;
   4590   return 0;
   4591 }
   4592 _ACEOF
   4593 if ac_fn_c_try_compile "$LINENO"
   4594 then :
   4595 
   4596 else case e in #(
   4597   e) # This test program should compile successfully.
   4598         # No library function is consistently available on
   4599         # freestanding implementations, so test against a dummy
   4600         # declaration.  Include always-available headers on the
   4601         # off chance that they somehow elicit warnings.
   4602         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4603 /* end confdefs.h.  */
   4604 #include <float.h>
   4605 #include <limits.h>
   4606 #include <stdarg.h>
   4607 #include <stddef.h>
   4608 extern void ac_decl (int, char *);
   4609 
   4610 int
   4611 main (void)
   4612 {
   4613 (void) ac_decl (0, (char *) 0);
   4614   (void) ac_decl;
   4615 
   4616   ;
   4617   return 0;
   4618 }
   4619 _ACEOF
   4620 if ac_fn_c_try_compile "$LINENO"
   4621 then :
   4622   if test x"$ac_arg" = x
   4623 then :
   4624   ac_cv_c_undeclared_builtin_options='none needed'
   4625 else case e in #(
   4626   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   4627 esac
   4628 fi
   4629           break
   4630 fi
   4631 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4632 esac
   4633 fi
   4634 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4635     done
   4636     CFLAGS=$ac_save_CFLAGS
   4637    ;;
   4638 esac
   4639 fi
   4640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4641 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4642   case $ac_cv_c_undeclared_builtin_options in #(
   4643   'cannot detect') :
   4644     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4645 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4646 as_fn_error $? "cannot make $CC report undeclared builtins
   4647 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   4648   'none needed') :
   4649     ac_c_undeclared_builtin_options='' ;; #(
   4650   *) :
   4651     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4652 esac
   4653 
   4654 ac_header= ac_cache=
   4655 for ac_item in $ac_header_c_list
   4656 do
   4657   if test $ac_cache; then
   4658     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4659     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4660       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4661     fi
   4662     ac_header= ac_cache=
   4663   elif test $ac_header; then
   4664     ac_cache=$ac_item
   4665   else
   4666     ac_header=$ac_item
   4667   fi
   4668 done
   4669 
   4670 
   4671 
   4672 
   4673 
   4674 
   4675 
   4676 
   4677 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4678 then :
   4679 
   4680 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4681 
   4682 fi
   4683 
   4684 
   4685 
   4686 
   4687 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4688 if test "x$ac_cv_have_decl___clang__" = xyes
   4689 then :
   4690   CLANGCC="yes"
   4691 else case e in #(
   4692   e) CLANGCC="no" ;;
   4693 esac
   4694 fi
   4695 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4696 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4697 then :
   4698   INTELCC="yes"
   4699 else case e in #(
   4700   e) INTELCC="no" ;;
   4701 esac
   4702 fi
   4703 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4704 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4705 then :
   4706   SUNCC="yes"
   4707 else case e in #(
   4708   e) SUNCC="no" ;;
   4709 esac
   4710 fi
   4711 
   4712 
   4713 
   4714 
   4715 
   4716 
   4717 
   4718 
   4719 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4720 	if test -n "$ac_tool_prefix"; then
   4721   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4722 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4724 printf %s "checking for $ac_word... " >&6; }
   4725 if test ${ac_cv_path_PKG_CONFIG+y}
   4726 then :
   4727   printf %s "(cached) " >&6
   4728 else case e in #(
   4729   e) case $PKG_CONFIG in
   4730   [\\/]* | ?:[\\/]*)
   4731   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4732   ;;
   4733   *)
   4734   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4735 for as_dir in $PATH
   4736 do
   4737   IFS=$as_save_IFS
   4738   case $as_dir in #(((
   4739     '') as_dir=./ ;;
   4740     */) ;;
   4741     *) as_dir=$as_dir/ ;;
   4742   esac
   4743     for ac_exec_ext in '' $ac_executable_extensions; do
   4744   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4745     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4746     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4747     break 2
   4748   fi
   4749 done
   4750   done
   4751 IFS=$as_save_IFS
   4752 
   4753   ;;
   4754 esac ;;
   4755 esac
   4756 fi
   4757 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4758 if test -n "$PKG_CONFIG"; then
   4759   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4760 printf "%s\n" "$PKG_CONFIG" >&6; }
   4761 else
   4762   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4763 printf "%s\n" "no" >&6; }
   4764 fi
   4765 
   4766 
   4767 fi
   4768 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4769   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4770   # Extract the first word of "pkg-config", so it can be a program name with args.
   4771 set dummy pkg-config; ac_word=$2
   4772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4773 printf %s "checking for $ac_word... " >&6; }
   4774 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4775 then :
   4776   printf %s "(cached) " >&6
   4777 else case e in #(
   4778   e) case $ac_pt_PKG_CONFIG in
   4779   [\\/]* | ?:[\\/]*)
   4780   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4781   ;;
   4782   *)
   4783   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4784 for as_dir in $PATH
   4785 do
   4786   IFS=$as_save_IFS
   4787   case $as_dir in #(((
   4788     '') as_dir=./ ;;
   4789     */) ;;
   4790     *) as_dir=$as_dir/ ;;
   4791   esac
   4792     for ac_exec_ext in '' $ac_executable_extensions; do
   4793   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4794     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4795     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4796     break 2
   4797   fi
   4798 done
   4799   done
   4800 IFS=$as_save_IFS
   4801 
   4802   ;;
   4803 esac ;;
   4804 esac
   4805 fi
   4806 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4807 if test -n "$ac_pt_PKG_CONFIG"; then
   4808   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4809 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4810 else
   4811   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4812 printf "%s\n" "no" >&6; }
   4813 fi
   4814 
   4815   if test "x$ac_pt_PKG_CONFIG" = x; then
   4816     PKG_CONFIG=""
   4817   else
   4818     case $cross_compiling:$ac_tool_warned in
   4819 yes:)
   4820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4821 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4822 ac_tool_warned=yes ;;
   4823 esac
   4824     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4825   fi
   4826 else
   4827   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4828 fi
   4829 
   4830 fi
   4831 if test -n "$PKG_CONFIG"; then
   4832 	_pkg_min_version=0.9.0
   4833 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4834 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4835 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4836 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4837 printf "%s\n" "yes" >&6; }
   4838 	else
   4839 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4840 printf "%s\n" "no" >&6; }
   4841 		PKG_CONFIG=""
   4842 	fi
   4843 fi
   4844 
   4845 
   4846   # Make sure we can run config.sub.
   4847 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4848   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4849 
   4850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4851 printf %s "checking build system type... " >&6; }
   4852 if test ${ac_cv_build+y}
   4853 then :
   4854   printf %s "(cached) " >&6
   4855 else case e in #(
   4856   e) ac_build_alias=$build_alias
   4857 test "x$ac_build_alias" = x &&
   4858   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4859 test "x$ac_build_alias" = x &&
   4860   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4861 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4862   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4863  ;;
   4864 esac
   4865 fi
   4866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4867 printf "%s\n" "$ac_cv_build" >&6; }
   4868 case $ac_cv_build in
   4869 *-*-*) ;;
   4870 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4871 esac
   4872 build=$ac_cv_build
   4873 ac_save_IFS=$IFS; IFS='-'
   4874 set x $ac_cv_build
   4875 shift
   4876 build_cpu=$1
   4877 build_vendor=$2
   4878 shift; shift
   4879 # Remember, the first character of IFS is used to create $*,
   4880 # except with old shells:
   4881 build_os=$*
   4882 IFS=$ac_save_IFS
   4883 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4884 
   4885 
   4886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4887 printf %s "checking host system type... " >&6; }
   4888 if test ${ac_cv_host+y}
   4889 then :
   4890   printf %s "(cached) " >&6
   4891 else case e in #(
   4892   e) if test "x$host_alias" = x; then
   4893   ac_cv_host=$ac_cv_build
   4894 else
   4895   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4896     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4897 fi
   4898  ;;
   4899 esac
   4900 fi
   4901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4902 printf "%s\n" "$ac_cv_host" >&6; }
   4903 case $ac_cv_host in
   4904 *-*-*) ;;
   4905 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4906 esac
   4907 host=$ac_cv_host
   4908 ac_save_IFS=$IFS; IFS='-'
   4909 set x $ac_cv_host
   4910 shift
   4911 host_cpu=$1
   4912 host_vendor=$2
   4913 shift; shift
   4914 # Remember, the first character of IFS is used to create $*,
   4915 # except with old shells:
   4916 host_os=$*
   4917 IFS=$ac_save_IFS
   4918 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4919 
   4920 
   4921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4922 printf %s "checking for a sed that does not truncate output... " >&6; }
   4923 if test ${ac_cv_path_SED+y}
   4924 then :
   4925   printf %s "(cached) " >&6
   4926 else case e in #(
   4927   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4928      for ac_i in 1 2 3 4 5 6 7; do
   4929        ac_script="$ac_script$as_nl$ac_script"
   4930      done
   4931      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4932      { ac_script=; unset ac_script;}
   4933      if test -z "$SED"; then
   4934   ac_path_SED_found=false
   4935   # Loop through the user's path and test for each of PROGNAME-LIST
   4936   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4937 for as_dir in $PATH
   4938 do
   4939   IFS=$as_save_IFS
   4940   case $as_dir in #(((
   4941     '') as_dir=./ ;;
   4942     */) ;;
   4943     *) as_dir=$as_dir/ ;;
   4944   esac
   4945     for ac_prog in sed gsed
   4946    do
   4947     for ac_exec_ext in '' $ac_executable_extensions; do
   4948       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4949       as_fn_executable_p "$ac_path_SED" || continue
   4950 # Check for GNU ac_path_SED and select it if it is found.
   4951   # Check for GNU $ac_path_SED
   4952 case `"$ac_path_SED" --version 2>&1` in #(
   4953 *GNU*)
   4954   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4955 #(
   4956 *)
   4957   ac_count=0
   4958   printf %s 0123456789 >"conftest.in"
   4959   while :
   4960   do
   4961     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4962     mv "conftest.tmp" "conftest.in"
   4963     cp "conftest.in" "conftest.nl"
   4964     printf "%s\n" '' >> "conftest.nl"
   4965     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4966     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4967     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4968     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4969       # Best one so far, save it but keep looking for a better one
   4970       ac_cv_path_SED="$ac_path_SED"
   4971       ac_path_SED_max=$ac_count
   4972     fi
   4973     # 10*(2^10) chars as input seems more than enough
   4974     test $ac_count -gt 10 && break
   4975   done
   4976   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4977 esac
   4978 
   4979       $ac_path_SED_found && break 3
   4980     done
   4981   done
   4982   done
   4983 IFS=$as_save_IFS
   4984   if test -z "$ac_cv_path_SED"; then
   4985     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4986   fi
   4987 else
   4988   ac_cv_path_SED=$SED
   4989 fi
   4990  ;;
   4991 esac
   4992 fi
   4993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4994 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4995  SED="$ac_cv_path_SED"
   4996   rm -f conftest.sed
   4997 
   4998 
   4999 
   5000 
   5001 
   5002 
   5003 # Check whether --enable-selective-werror was given.
   5004 if test ${enable_selective_werror+y}
   5005 then :
   5006   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5007 else case e in #(
   5008   e) SELECTIVE_WERROR=yes ;;
   5009 esac
   5010 fi
   5011 
   5012 
   5013 
   5014 
   5015 
   5016 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5017 if test "x$SUNCC" = "xyes"; then
   5018     BASE_CFLAGS="-v"
   5019 else
   5020     BASE_CFLAGS=""
   5021 fi
   5022 
   5023 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5024 
   5025 
   5026 
   5027 
   5028 
   5029 
   5030 
   5031 
   5032 
   5033 
   5034 
   5035 
   5036 
   5037 xorg_testset_save_CFLAGS="$CFLAGS"
   5038 
   5039 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5040 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5041 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5042 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5043 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5044 then :
   5045   printf %s "(cached) " >&6
   5046 else case e in #(
   5047   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5048 /* end confdefs.h.  */
   5049 int i;
   5050 _ACEOF
   5051 if ac_fn_c_try_compile "$LINENO"
   5052 then :
   5053   xorg_cv_cc_flag_unknown_warning_option=yes
   5054 else case e in #(
   5055   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5056 esac
   5057 fi
   5058 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5059 esac
   5060 fi
   5061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5062 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5063 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5064 	CFLAGS="$xorg_testset_save_CFLAGS"
   5065 fi
   5066 
   5067 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5068 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5069 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5070 	fi
   5071 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5072 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5073 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5074 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5075 then :
   5076   printf %s "(cached) " >&6
   5077 else case e in #(
   5078   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5079 /* end confdefs.h.  */
   5080 int i;
   5081 _ACEOF
   5082 if ac_fn_c_try_compile "$LINENO"
   5083 then :
   5084   xorg_cv_cc_flag_unused_command_line_argument=yes
   5085 else case e in #(
   5086   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5087 esac
   5088 fi
   5089 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5090 esac
   5091 fi
   5092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5093 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5094 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5095 	CFLAGS="$xorg_testset_save_CFLAGS"
   5096 fi
   5097 
   5098 found="no"
   5099 
   5100 	if test $found = "no" ; then
   5101 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5102 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5103 		fi
   5104 
   5105 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5106 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5107 		fi
   5108 
   5109 		CFLAGS="$CFLAGS -Wall"
   5110 
   5111 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5112 printf %s "checking if $CC supports -Wall... " >&6; }
   5113 		cacheid=xorg_cv_cc_flag__Wall
   5114 		if eval test \${$cacheid+y}
   5115 then :
   5116   printf %s "(cached) " >&6
   5117 else case e in #(
   5118   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5119 /* end confdefs.h.  */
   5120 int i;
   5121 int
   5122 main (void)
   5123 {
   5124 
   5125   ;
   5126   return 0;
   5127 }
   5128 _ACEOF
   5129 if ac_fn_c_try_link "$LINENO"
   5130 then :
   5131   eval $cacheid=yes
   5132 else case e in #(
   5133   e) eval $cacheid=no ;;
   5134 esac
   5135 fi
   5136 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5137     conftest$ac_exeext conftest.$ac_ext ;;
   5138 esac
   5139 fi
   5140 
   5141 
   5142 		CFLAGS="$xorg_testset_save_CFLAGS"
   5143 
   5144 		eval supported=\$$cacheid
   5145 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5146 printf "%s\n" "$supported" >&6; }
   5147 		if test "$supported" = "yes" ; then
   5148 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5149 			found="yes"
   5150 		fi
   5151 	fi
   5152 
   5153 
   5154 
   5155 
   5156 
   5157 
   5158 
   5159 
   5160 
   5161 
   5162 
   5163 
   5164 
   5165 
   5166 
   5167 xorg_testset_save_CFLAGS="$CFLAGS"
   5168 
   5169 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5170 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5171 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5172 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5173 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5174 then :
   5175   printf %s "(cached) " >&6
   5176 else case e in #(
   5177   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5178 /* end confdefs.h.  */
   5179 int i;
   5180 _ACEOF
   5181 if ac_fn_c_try_compile "$LINENO"
   5182 then :
   5183   xorg_cv_cc_flag_unknown_warning_option=yes
   5184 else case e in #(
   5185   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5186 esac
   5187 fi
   5188 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5189 esac
   5190 fi
   5191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5192 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5193 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5194 	CFLAGS="$xorg_testset_save_CFLAGS"
   5195 fi
   5196 
   5197 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5198 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5199 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5200 	fi
   5201 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5202 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5203 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5204 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5205 then :
   5206   printf %s "(cached) " >&6
   5207 else case e in #(
   5208   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5209 /* end confdefs.h.  */
   5210 int i;
   5211 _ACEOF
   5212 if ac_fn_c_try_compile "$LINENO"
   5213 then :
   5214   xorg_cv_cc_flag_unused_command_line_argument=yes
   5215 else case e in #(
   5216   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5217 esac
   5218 fi
   5219 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5220 esac
   5221 fi
   5222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5223 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5224 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5225 	CFLAGS="$xorg_testset_save_CFLAGS"
   5226 fi
   5227 
   5228 found="no"
   5229 
   5230 	if test $found = "no" ; then
   5231 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5232 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5233 		fi
   5234 
   5235 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5236 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5237 		fi
   5238 
   5239 		CFLAGS="$CFLAGS -Wpointer-arith"
   5240 
   5241 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5242 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5243 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5244 		if eval test \${$cacheid+y}
   5245 then :
   5246   printf %s "(cached) " >&6
   5247 else case e in #(
   5248   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5249 /* end confdefs.h.  */
   5250 int i;
   5251 int
   5252 main (void)
   5253 {
   5254 
   5255   ;
   5256   return 0;
   5257 }
   5258 _ACEOF
   5259 if ac_fn_c_try_link "$LINENO"
   5260 then :
   5261   eval $cacheid=yes
   5262 else case e in #(
   5263   e) eval $cacheid=no ;;
   5264 esac
   5265 fi
   5266 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5267     conftest$ac_exeext conftest.$ac_ext ;;
   5268 esac
   5269 fi
   5270 
   5271 
   5272 		CFLAGS="$xorg_testset_save_CFLAGS"
   5273 
   5274 		eval supported=\$$cacheid
   5275 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5276 printf "%s\n" "$supported" >&6; }
   5277 		if test "$supported" = "yes" ; then
   5278 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5279 			found="yes"
   5280 		fi
   5281 	fi
   5282 
   5283 
   5284 
   5285 
   5286 
   5287 
   5288 
   5289 
   5290 
   5291 
   5292 
   5293 
   5294 
   5295 
   5296 
   5297 xorg_testset_save_CFLAGS="$CFLAGS"
   5298 
   5299 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5300 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5301 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5302 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5303 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5304 then :
   5305   printf %s "(cached) " >&6
   5306 else case e in #(
   5307   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5308 /* end confdefs.h.  */
   5309 int i;
   5310 _ACEOF
   5311 if ac_fn_c_try_compile "$LINENO"
   5312 then :
   5313   xorg_cv_cc_flag_unknown_warning_option=yes
   5314 else case e in #(
   5315   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5316 esac
   5317 fi
   5318 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5319 esac
   5320 fi
   5321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5322 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5323 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5324 	CFLAGS="$xorg_testset_save_CFLAGS"
   5325 fi
   5326 
   5327 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5328 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5329 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5330 	fi
   5331 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5332 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5333 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5334 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5335 then :
   5336   printf %s "(cached) " >&6
   5337 else case e in #(
   5338   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5339 /* end confdefs.h.  */
   5340 int i;
   5341 _ACEOF
   5342 if ac_fn_c_try_compile "$LINENO"
   5343 then :
   5344   xorg_cv_cc_flag_unused_command_line_argument=yes
   5345 else case e in #(
   5346   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5347 esac
   5348 fi
   5349 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5350 esac
   5351 fi
   5352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5353 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5354 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5355 	CFLAGS="$xorg_testset_save_CFLAGS"
   5356 fi
   5357 
   5358 found="no"
   5359 
   5360 	if test $found = "no" ; then
   5361 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5362 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5363 		fi
   5364 
   5365 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5366 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5367 		fi
   5368 
   5369 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5370 
   5371 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5372 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5373 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5374 		if eval test \${$cacheid+y}
   5375 then :
   5376   printf %s "(cached) " >&6
   5377 else case e in #(
   5378   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5379 /* end confdefs.h.  */
   5380 int i;
   5381 int
   5382 main (void)
   5383 {
   5384 
   5385   ;
   5386   return 0;
   5387 }
   5388 _ACEOF
   5389 if ac_fn_c_try_link "$LINENO"
   5390 then :
   5391   eval $cacheid=yes
   5392 else case e in #(
   5393   e) eval $cacheid=no ;;
   5394 esac
   5395 fi
   5396 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5397     conftest$ac_exeext conftest.$ac_ext ;;
   5398 esac
   5399 fi
   5400 
   5401 
   5402 		CFLAGS="$xorg_testset_save_CFLAGS"
   5403 
   5404 		eval supported=\$$cacheid
   5405 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5406 printf "%s\n" "$supported" >&6; }
   5407 		if test "$supported" = "yes" ; then
   5408 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5409 			found="yes"
   5410 		fi
   5411 	fi
   5412 
   5413 
   5414 
   5415 
   5416 
   5417 
   5418 
   5419 
   5420 
   5421 
   5422 
   5423 
   5424 
   5425 
   5426 
   5427 xorg_testset_save_CFLAGS="$CFLAGS"
   5428 
   5429 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5430 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5431 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5432 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5433 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5434 then :
   5435   printf %s "(cached) " >&6
   5436 else case e in #(
   5437   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5438 /* end confdefs.h.  */
   5439 int i;
   5440 _ACEOF
   5441 if ac_fn_c_try_compile "$LINENO"
   5442 then :
   5443   xorg_cv_cc_flag_unknown_warning_option=yes
   5444 else case e in #(
   5445   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5446 esac
   5447 fi
   5448 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5449 esac
   5450 fi
   5451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5452 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5453 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5454 	CFLAGS="$xorg_testset_save_CFLAGS"
   5455 fi
   5456 
   5457 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5458 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5459 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5460 	fi
   5461 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5462 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5463 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5464 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5465 then :
   5466   printf %s "(cached) " >&6
   5467 else case e in #(
   5468   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5469 /* end confdefs.h.  */
   5470 int i;
   5471 _ACEOF
   5472 if ac_fn_c_try_compile "$LINENO"
   5473 then :
   5474   xorg_cv_cc_flag_unused_command_line_argument=yes
   5475 else case e in #(
   5476   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5477 esac
   5478 fi
   5479 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5480 esac
   5481 fi
   5482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5483 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5484 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5485 	CFLAGS="$xorg_testset_save_CFLAGS"
   5486 fi
   5487 
   5488 found="no"
   5489 
   5490 	if test $found = "no" ; then
   5491 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5492 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5493 		fi
   5494 
   5495 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5496 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5497 		fi
   5498 
   5499 		CFLAGS="$CFLAGS -Wformat=2"
   5500 
   5501 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5502 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5503 		cacheid=xorg_cv_cc_flag__Wformat_2
   5504 		if eval test \${$cacheid+y}
   5505 then :
   5506   printf %s "(cached) " >&6
   5507 else case e in #(
   5508   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5509 /* end confdefs.h.  */
   5510 int i;
   5511 int
   5512 main (void)
   5513 {
   5514 
   5515   ;
   5516   return 0;
   5517 }
   5518 _ACEOF
   5519 if ac_fn_c_try_link "$LINENO"
   5520 then :
   5521   eval $cacheid=yes
   5522 else case e in #(
   5523   e) eval $cacheid=no ;;
   5524 esac
   5525 fi
   5526 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5527     conftest$ac_exeext conftest.$ac_ext ;;
   5528 esac
   5529 fi
   5530 
   5531 
   5532 		CFLAGS="$xorg_testset_save_CFLAGS"
   5533 
   5534 		eval supported=\$$cacheid
   5535 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5536 printf "%s\n" "$supported" >&6; }
   5537 		if test "$supported" = "yes" ; then
   5538 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5539 			found="yes"
   5540 		fi
   5541 	fi
   5542 
   5543 	if test $found = "no" ; then
   5544 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5545 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5546 		fi
   5547 
   5548 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5549 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5550 		fi
   5551 
   5552 		CFLAGS="$CFLAGS -Wformat"
   5553 
   5554 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5555 printf %s "checking if $CC supports -Wformat... " >&6; }
   5556 		cacheid=xorg_cv_cc_flag__Wformat
   5557 		if eval test \${$cacheid+y}
   5558 then :
   5559   printf %s "(cached) " >&6
   5560 else case e in #(
   5561   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5562 /* end confdefs.h.  */
   5563 int i;
   5564 int
   5565 main (void)
   5566 {
   5567 
   5568   ;
   5569   return 0;
   5570 }
   5571 _ACEOF
   5572 if ac_fn_c_try_link "$LINENO"
   5573 then :
   5574   eval $cacheid=yes
   5575 else case e in #(
   5576   e) eval $cacheid=no ;;
   5577 esac
   5578 fi
   5579 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5580     conftest$ac_exeext conftest.$ac_ext ;;
   5581 esac
   5582 fi
   5583 
   5584 
   5585 		CFLAGS="$xorg_testset_save_CFLAGS"
   5586 
   5587 		eval supported=\$$cacheid
   5588 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5589 printf "%s\n" "$supported" >&6; }
   5590 		if test "$supported" = "yes" ; then
   5591 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5592 			found="yes"
   5593 		fi
   5594 	fi
   5595 
   5596 
   5597 
   5598 
   5599 
   5600 
   5601 
   5602 
   5603 
   5604 
   5605 
   5606 
   5607 
   5608 
   5609 
   5610 
   5611 
   5612 xorg_testset_save_CFLAGS="$CFLAGS"
   5613 
   5614 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5615 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5616 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5617 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5618 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5619 then :
   5620   printf %s "(cached) " >&6
   5621 else case e in #(
   5622   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5623 /* end confdefs.h.  */
   5624 int i;
   5625 _ACEOF
   5626 if ac_fn_c_try_compile "$LINENO"
   5627 then :
   5628   xorg_cv_cc_flag_unknown_warning_option=yes
   5629 else case e in #(
   5630   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5631 esac
   5632 fi
   5633 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5634 esac
   5635 fi
   5636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5637 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5638 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5639 	CFLAGS="$xorg_testset_save_CFLAGS"
   5640 fi
   5641 
   5642 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5643 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5644 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5645 	fi
   5646 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5647 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5648 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5649 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5650 then :
   5651   printf %s "(cached) " >&6
   5652 else case e in #(
   5653   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5654 /* end confdefs.h.  */
   5655 int i;
   5656 _ACEOF
   5657 if ac_fn_c_try_compile "$LINENO"
   5658 then :
   5659   xorg_cv_cc_flag_unused_command_line_argument=yes
   5660 else case e in #(
   5661   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5662 esac
   5663 fi
   5664 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5665 esac
   5666 fi
   5667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5668 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5669 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5670 	CFLAGS="$xorg_testset_save_CFLAGS"
   5671 fi
   5672 
   5673 found="no"
   5674 
   5675 	if test $found = "no" ; then
   5676 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5677 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5678 		fi
   5679 
   5680 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5681 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5682 		fi
   5683 
   5684 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5685 
   5686 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5687 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5688 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5689 		if eval test \${$cacheid+y}
   5690 then :
   5691   printf %s "(cached) " >&6
   5692 else case e in #(
   5693   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5694 /* end confdefs.h.  */
   5695 int i;
   5696 int
   5697 main (void)
   5698 {
   5699 
   5700   ;
   5701   return 0;
   5702 }
   5703 _ACEOF
   5704 if ac_fn_c_try_link "$LINENO"
   5705 then :
   5706   eval $cacheid=yes
   5707 else case e in #(
   5708   e) eval $cacheid=no ;;
   5709 esac
   5710 fi
   5711 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5712     conftest$ac_exeext conftest.$ac_ext ;;
   5713 esac
   5714 fi
   5715 
   5716 
   5717 		CFLAGS="$xorg_testset_save_CFLAGS"
   5718 
   5719 		eval supported=\$$cacheid
   5720 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5721 printf "%s\n" "$supported" >&6; }
   5722 		if test "$supported" = "yes" ; then
   5723 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5724 			found="yes"
   5725 		fi
   5726 	fi
   5727 
   5728 
   5729 
   5730 
   5731 
   5732 
   5733 
   5734 
   5735 
   5736 
   5737 
   5738 
   5739 
   5740 
   5741 
   5742 xorg_testset_save_CFLAGS="$CFLAGS"
   5743 
   5744 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5745 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5746 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5747 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5748 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5749 then :
   5750   printf %s "(cached) " >&6
   5751 else case e in #(
   5752   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5753 /* end confdefs.h.  */
   5754 int i;
   5755 _ACEOF
   5756 if ac_fn_c_try_compile "$LINENO"
   5757 then :
   5758   xorg_cv_cc_flag_unknown_warning_option=yes
   5759 else case e in #(
   5760   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5761 esac
   5762 fi
   5763 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5764 esac
   5765 fi
   5766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5767 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5768 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5769 	CFLAGS="$xorg_testset_save_CFLAGS"
   5770 fi
   5771 
   5772 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5773 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5774 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5775 	fi
   5776 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5777 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5778 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5779 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5780 then :
   5781   printf %s "(cached) " >&6
   5782 else case e in #(
   5783   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5784 /* end confdefs.h.  */
   5785 int i;
   5786 _ACEOF
   5787 if ac_fn_c_try_compile "$LINENO"
   5788 then :
   5789   xorg_cv_cc_flag_unused_command_line_argument=yes
   5790 else case e in #(
   5791   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5792 esac
   5793 fi
   5794 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5795 esac
   5796 fi
   5797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5798 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5799 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5800 	CFLAGS="$xorg_testset_save_CFLAGS"
   5801 fi
   5802 
   5803 found="no"
   5804 
   5805 	if test $found = "no" ; then
   5806 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5807 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5808 		fi
   5809 
   5810 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5811 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5812 		fi
   5813 
   5814 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5815 
   5816 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5817 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5818 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5819 		if eval test \${$cacheid+y}
   5820 then :
   5821   printf %s "(cached) " >&6
   5822 else case e in #(
   5823   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5824 /* end confdefs.h.  */
   5825 int i;
   5826 int
   5827 main (void)
   5828 {
   5829 
   5830   ;
   5831   return 0;
   5832 }
   5833 _ACEOF
   5834 if ac_fn_c_try_link "$LINENO"
   5835 then :
   5836   eval $cacheid=yes
   5837 else case e in #(
   5838   e) eval $cacheid=no ;;
   5839 esac
   5840 fi
   5841 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5842     conftest$ac_exeext conftest.$ac_ext ;;
   5843 esac
   5844 fi
   5845 
   5846 
   5847 		CFLAGS="$xorg_testset_save_CFLAGS"
   5848 
   5849 		eval supported=\$$cacheid
   5850 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5851 printf "%s\n" "$supported" >&6; }
   5852 		if test "$supported" = "yes" ; then
   5853 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5854 			found="yes"
   5855 		fi
   5856 	fi
   5857 
   5858 
   5859 
   5860 
   5861 
   5862 
   5863 
   5864 
   5865 
   5866 
   5867 
   5868 
   5869 
   5870 
   5871 
   5872 xorg_testset_save_CFLAGS="$CFLAGS"
   5873 
   5874 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5875 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5876 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5877 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5878 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5879 then :
   5880   printf %s "(cached) " >&6
   5881 else case e in #(
   5882   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5883 /* end confdefs.h.  */
   5884 int i;
   5885 _ACEOF
   5886 if ac_fn_c_try_compile "$LINENO"
   5887 then :
   5888   xorg_cv_cc_flag_unknown_warning_option=yes
   5889 else case e in #(
   5890   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5891 esac
   5892 fi
   5893 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5894 esac
   5895 fi
   5896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5897 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5898 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5899 	CFLAGS="$xorg_testset_save_CFLAGS"
   5900 fi
   5901 
   5902 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5903 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5904 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5905 	fi
   5906 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5907 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5908 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5909 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5910 then :
   5911   printf %s "(cached) " >&6
   5912 else case e in #(
   5913   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5914 /* end confdefs.h.  */
   5915 int i;
   5916 _ACEOF
   5917 if ac_fn_c_try_compile "$LINENO"
   5918 then :
   5919   xorg_cv_cc_flag_unused_command_line_argument=yes
   5920 else case e in #(
   5921   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5922 esac
   5923 fi
   5924 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5925 esac
   5926 fi
   5927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5928 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5929 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5930 	CFLAGS="$xorg_testset_save_CFLAGS"
   5931 fi
   5932 
   5933 found="no"
   5934 
   5935 	if test $found = "no" ; then
   5936 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5937 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5938 		fi
   5939 
   5940 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5941 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5942 		fi
   5943 
   5944 		CFLAGS="$CFLAGS -Wnested-externs"
   5945 
   5946 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5947 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   5948 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5949 		if eval test \${$cacheid+y}
   5950 then :
   5951   printf %s "(cached) " >&6
   5952 else case e in #(
   5953   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5954 /* end confdefs.h.  */
   5955 int i;
   5956 int
   5957 main (void)
   5958 {
   5959 
   5960   ;
   5961   return 0;
   5962 }
   5963 _ACEOF
   5964 if ac_fn_c_try_link "$LINENO"
   5965 then :
   5966   eval $cacheid=yes
   5967 else case e in #(
   5968   e) eval $cacheid=no ;;
   5969 esac
   5970 fi
   5971 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5972     conftest$ac_exeext conftest.$ac_ext ;;
   5973 esac
   5974 fi
   5975 
   5976 
   5977 		CFLAGS="$xorg_testset_save_CFLAGS"
   5978 
   5979 		eval supported=\$$cacheid
   5980 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5981 printf "%s\n" "$supported" >&6; }
   5982 		if test "$supported" = "yes" ; then
   5983 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5984 			found="yes"
   5985 		fi
   5986 	fi
   5987 
   5988 
   5989 
   5990 
   5991 
   5992 
   5993 
   5994 
   5995 
   5996 
   5997 
   5998 
   5999 
   6000 
   6001 
   6002 xorg_testset_save_CFLAGS="$CFLAGS"
   6003 
   6004 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6005 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6006 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6007 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6008 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6009 then :
   6010   printf %s "(cached) " >&6
   6011 else case e in #(
   6012   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6013 /* end confdefs.h.  */
   6014 int i;
   6015 _ACEOF
   6016 if ac_fn_c_try_compile "$LINENO"
   6017 then :
   6018   xorg_cv_cc_flag_unknown_warning_option=yes
   6019 else case e in #(
   6020   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6021 esac
   6022 fi
   6023 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6024 esac
   6025 fi
   6026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6027 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6028 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6029 	CFLAGS="$xorg_testset_save_CFLAGS"
   6030 fi
   6031 
   6032 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6033 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6034 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6035 	fi
   6036 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6037 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6038 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6039 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6040 then :
   6041   printf %s "(cached) " >&6
   6042 else case e in #(
   6043   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6044 /* end confdefs.h.  */
   6045 int i;
   6046 _ACEOF
   6047 if ac_fn_c_try_compile "$LINENO"
   6048 then :
   6049   xorg_cv_cc_flag_unused_command_line_argument=yes
   6050 else case e in #(
   6051   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6052 esac
   6053 fi
   6054 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6055 esac
   6056 fi
   6057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6058 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6059 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6060 	CFLAGS="$xorg_testset_save_CFLAGS"
   6061 fi
   6062 
   6063 found="no"
   6064 
   6065 	if test $found = "no" ; then
   6066 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6067 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6068 		fi
   6069 
   6070 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6071 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6072 		fi
   6073 
   6074 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6075 
   6076 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6077 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   6078 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6079 		if eval test \${$cacheid+y}
   6080 then :
   6081   printf %s "(cached) " >&6
   6082 else case e in #(
   6083   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6084 /* end confdefs.h.  */
   6085 int i;
   6086 int
   6087 main (void)
   6088 {
   6089 
   6090   ;
   6091   return 0;
   6092 }
   6093 _ACEOF
   6094 if ac_fn_c_try_link "$LINENO"
   6095 then :
   6096   eval $cacheid=yes
   6097 else case e in #(
   6098   e) eval $cacheid=no ;;
   6099 esac
   6100 fi
   6101 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6102     conftest$ac_exeext conftest.$ac_ext ;;
   6103 esac
   6104 fi
   6105 
   6106 
   6107 		CFLAGS="$xorg_testset_save_CFLAGS"
   6108 
   6109 		eval supported=\$$cacheid
   6110 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6111 printf "%s\n" "$supported" >&6; }
   6112 		if test "$supported" = "yes" ; then
   6113 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6114 			found="yes"
   6115 		fi
   6116 	fi
   6117 
   6118 
   6119 
   6120 
   6121 
   6122 
   6123 
   6124 
   6125 
   6126 
   6127 
   6128 
   6129 
   6130 
   6131 
   6132 xorg_testset_save_CFLAGS="$CFLAGS"
   6133 
   6134 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6135 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6136 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6137 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6138 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6139 then :
   6140   printf %s "(cached) " >&6
   6141 else case e in #(
   6142   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6143 /* end confdefs.h.  */
   6144 int i;
   6145 _ACEOF
   6146 if ac_fn_c_try_compile "$LINENO"
   6147 then :
   6148   xorg_cv_cc_flag_unknown_warning_option=yes
   6149 else case e in #(
   6150   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6151 esac
   6152 fi
   6153 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6154 esac
   6155 fi
   6156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6157 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6158 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6159 	CFLAGS="$xorg_testset_save_CFLAGS"
   6160 fi
   6161 
   6162 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6163 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6164 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6165 	fi
   6166 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6167 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6168 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6169 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6170 then :
   6171   printf %s "(cached) " >&6
   6172 else case e in #(
   6173   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6174 /* end confdefs.h.  */
   6175 int i;
   6176 _ACEOF
   6177 if ac_fn_c_try_compile "$LINENO"
   6178 then :
   6179   xorg_cv_cc_flag_unused_command_line_argument=yes
   6180 else case e in #(
   6181   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6182 esac
   6183 fi
   6184 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6185 esac
   6186 fi
   6187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6188 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6189 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6190 	CFLAGS="$xorg_testset_save_CFLAGS"
   6191 fi
   6192 
   6193 found="no"
   6194 
   6195 	if test $found = "no" ; then
   6196 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6197 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6198 		fi
   6199 
   6200 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6201 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6202 		fi
   6203 
   6204 		CFLAGS="$CFLAGS -Wold-style-definition"
   6205 
   6206 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6207 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6208 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6209 		if eval test \${$cacheid+y}
   6210 then :
   6211   printf %s "(cached) " >&6
   6212 else case e in #(
   6213   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6214 /* end confdefs.h.  */
   6215 int i;
   6216 int
   6217 main (void)
   6218 {
   6219 
   6220   ;
   6221   return 0;
   6222 }
   6223 _ACEOF
   6224 if ac_fn_c_try_link "$LINENO"
   6225 then :
   6226   eval $cacheid=yes
   6227 else case e in #(
   6228   e) eval $cacheid=no ;;
   6229 esac
   6230 fi
   6231 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6232     conftest$ac_exeext conftest.$ac_ext ;;
   6233 esac
   6234 fi
   6235 
   6236 
   6237 		CFLAGS="$xorg_testset_save_CFLAGS"
   6238 
   6239 		eval supported=\$$cacheid
   6240 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6241 printf "%s\n" "$supported" >&6; }
   6242 		if test "$supported" = "yes" ; then
   6243 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6244 			found="yes"
   6245 		fi
   6246 	fi
   6247 
   6248 	if test $found = "no" ; then
   6249 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6250 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6251 		fi
   6252 
   6253 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6254 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6255 		fi
   6256 
   6257 		CFLAGS="$CFLAGS -fd"
   6258 
   6259 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6260 printf %s "checking if $CC supports -fd... " >&6; }
   6261 		cacheid=xorg_cv_cc_flag__fd
   6262 		if eval test \${$cacheid+y}
   6263 then :
   6264   printf %s "(cached) " >&6
   6265 else case e in #(
   6266   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6267 /* end confdefs.h.  */
   6268 int i;
   6269 int
   6270 main (void)
   6271 {
   6272 
   6273   ;
   6274   return 0;
   6275 }
   6276 _ACEOF
   6277 if ac_fn_c_try_link "$LINENO"
   6278 then :
   6279   eval $cacheid=yes
   6280 else case e in #(
   6281   e) eval $cacheid=no ;;
   6282 esac
   6283 fi
   6284 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6285     conftest$ac_exeext conftest.$ac_ext ;;
   6286 esac
   6287 fi
   6288 
   6289 
   6290 		CFLAGS="$xorg_testset_save_CFLAGS"
   6291 
   6292 		eval supported=\$$cacheid
   6293 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6294 printf "%s\n" "$supported" >&6; }
   6295 		if test "$supported" = "yes" ; then
   6296 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6297 			found="yes"
   6298 		fi
   6299 	fi
   6300 
   6301 
   6302 
   6303 
   6304 
   6305 
   6306 
   6307 
   6308 
   6309 
   6310 
   6311 
   6312 
   6313 
   6314 
   6315 xorg_testset_save_CFLAGS="$CFLAGS"
   6316 
   6317 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6318 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6319 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6320 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6321 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6322 then :
   6323   printf %s "(cached) " >&6
   6324 else case e in #(
   6325   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6326 /* end confdefs.h.  */
   6327 int i;
   6328 _ACEOF
   6329 if ac_fn_c_try_compile "$LINENO"
   6330 then :
   6331   xorg_cv_cc_flag_unknown_warning_option=yes
   6332 else case e in #(
   6333   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6334 esac
   6335 fi
   6336 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6337 esac
   6338 fi
   6339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6340 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6341 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6342 	CFLAGS="$xorg_testset_save_CFLAGS"
   6343 fi
   6344 
   6345 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6346 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6347 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6348 	fi
   6349 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6350 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6351 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6352 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6353 then :
   6354   printf %s "(cached) " >&6
   6355 else case e in #(
   6356   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6357 /* end confdefs.h.  */
   6358 int i;
   6359 _ACEOF
   6360 if ac_fn_c_try_compile "$LINENO"
   6361 then :
   6362   xorg_cv_cc_flag_unused_command_line_argument=yes
   6363 else case e in #(
   6364   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6365 esac
   6366 fi
   6367 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6368 esac
   6369 fi
   6370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6371 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6372 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6373 	CFLAGS="$xorg_testset_save_CFLAGS"
   6374 fi
   6375 
   6376 found="no"
   6377 
   6378 	if test $found = "no" ; then
   6379 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6380 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6381 		fi
   6382 
   6383 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6384 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6385 		fi
   6386 
   6387 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6388 
   6389 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6390 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6391 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6392 		if eval test \${$cacheid+y}
   6393 then :
   6394   printf %s "(cached) " >&6
   6395 else case e in #(
   6396   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6397 /* end confdefs.h.  */
   6398 int i;
   6399 int
   6400 main (void)
   6401 {
   6402 
   6403   ;
   6404   return 0;
   6405 }
   6406 _ACEOF
   6407 if ac_fn_c_try_link "$LINENO"
   6408 then :
   6409   eval $cacheid=yes
   6410 else case e in #(
   6411   e) eval $cacheid=no ;;
   6412 esac
   6413 fi
   6414 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6415     conftest$ac_exeext conftest.$ac_ext ;;
   6416 esac
   6417 fi
   6418 
   6419 
   6420 		CFLAGS="$xorg_testset_save_CFLAGS"
   6421 
   6422 		eval supported=\$$cacheid
   6423 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6424 printf "%s\n" "$supported" >&6; }
   6425 		if test "$supported" = "yes" ; then
   6426 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6427 			found="yes"
   6428 		fi
   6429 	fi
   6430 
   6431 
   6432 
   6433 
   6434 
   6435 # This chunk adds additional warnings that could catch undesired effects.
   6436 
   6437 
   6438 
   6439 
   6440 
   6441 
   6442 
   6443 
   6444 
   6445 
   6446 
   6447 
   6448 
   6449 xorg_testset_save_CFLAGS="$CFLAGS"
   6450 
   6451 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6452 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6453 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6454 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6455 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6456 then :
   6457   printf %s "(cached) " >&6
   6458 else case e in #(
   6459   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6460 /* end confdefs.h.  */
   6461 int i;
   6462 _ACEOF
   6463 if ac_fn_c_try_compile "$LINENO"
   6464 then :
   6465   xorg_cv_cc_flag_unknown_warning_option=yes
   6466 else case e in #(
   6467   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6468 esac
   6469 fi
   6470 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6471 esac
   6472 fi
   6473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6474 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6475 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6476 	CFLAGS="$xorg_testset_save_CFLAGS"
   6477 fi
   6478 
   6479 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6480 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6481 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6482 	fi
   6483 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6484 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6485 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6486 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6487 then :
   6488   printf %s "(cached) " >&6
   6489 else case e in #(
   6490   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6491 /* end confdefs.h.  */
   6492 int i;
   6493 _ACEOF
   6494 if ac_fn_c_try_compile "$LINENO"
   6495 then :
   6496   xorg_cv_cc_flag_unused_command_line_argument=yes
   6497 else case e in #(
   6498   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6499 esac
   6500 fi
   6501 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6502 esac
   6503 fi
   6504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6505 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6506 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6507 	CFLAGS="$xorg_testset_save_CFLAGS"
   6508 fi
   6509 
   6510 found="no"
   6511 
   6512 	if test $found = "no" ; then
   6513 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6514 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6515 		fi
   6516 
   6517 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6518 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6519 		fi
   6520 
   6521 		CFLAGS="$CFLAGS -Wunused"
   6522 
   6523 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6524 printf %s "checking if $CC supports -Wunused... " >&6; }
   6525 		cacheid=xorg_cv_cc_flag__Wunused
   6526 		if eval test \${$cacheid+y}
   6527 then :
   6528   printf %s "(cached) " >&6
   6529 else case e in #(
   6530   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6531 /* end confdefs.h.  */
   6532 int i;
   6533 int
   6534 main (void)
   6535 {
   6536 
   6537   ;
   6538   return 0;
   6539 }
   6540 _ACEOF
   6541 if ac_fn_c_try_link "$LINENO"
   6542 then :
   6543   eval $cacheid=yes
   6544 else case e in #(
   6545   e) eval $cacheid=no ;;
   6546 esac
   6547 fi
   6548 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6549     conftest$ac_exeext conftest.$ac_ext ;;
   6550 esac
   6551 fi
   6552 
   6553 
   6554 		CFLAGS="$xorg_testset_save_CFLAGS"
   6555 
   6556 		eval supported=\$$cacheid
   6557 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6558 printf "%s\n" "$supported" >&6; }
   6559 		if test "$supported" = "yes" ; then
   6560 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6561 			found="yes"
   6562 		fi
   6563 	fi
   6564 
   6565 
   6566 
   6567 
   6568 
   6569 
   6570 
   6571 
   6572 
   6573 
   6574 
   6575 
   6576 
   6577 
   6578 
   6579 xorg_testset_save_CFLAGS="$CFLAGS"
   6580 
   6581 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6582 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6583 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6584 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6585 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6586 then :
   6587   printf %s "(cached) " >&6
   6588 else case e in #(
   6589   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6590 /* end confdefs.h.  */
   6591 int i;
   6592 _ACEOF
   6593 if ac_fn_c_try_compile "$LINENO"
   6594 then :
   6595   xorg_cv_cc_flag_unknown_warning_option=yes
   6596 else case e in #(
   6597   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6598 esac
   6599 fi
   6600 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6601 esac
   6602 fi
   6603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6604 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6605 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6606 	CFLAGS="$xorg_testset_save_CFLAGS"
   6607 fi
   6608 
   6609 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6610 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6611 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6612 	fi
   6613 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6614 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6615 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6616 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6617 then :
   6618   printf %s "(cached) " >&6
   6619 else case e in #(
   6620   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6621 /* end confdefs.h.  */
   6622 int i;
   6623 _ACEOF
   6624 if ac_fn_c_try_compile "$LINENO"
   6625 then :
   6626   xorg_cv_cc_flag_unused_command_line_argument=yes
   6627 else case e in #(
   6628   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6629 esac
   6630 fi
   6631 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6632 esac
   6633 fi
   6634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6635 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6636 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6637 	CFLAGS="$xorg_testset_save_CFLAGS"
   6638 fi
   6639 
   6640 found="no"
   6641 
   6642 	if test $found = "no" ; then
   6643 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6644 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6645 		fi
   6646 
   6647 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6648 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6649 		fi
   6650 
   6651 		CFLAGS="$CFLAGS -Wuninitialized"
   6652 
   6653 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6654 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6655 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6656 		if eval test \${$cacheid+y}
   6657 then :
   6658   printf %s "(cached) " >&6
   6659 else case e in #(
   6660   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6661 /* end confdefs.h.  */
   6662 int i;
   6663 int
   6664 main (void)
   6665 {
   6666 
   6667   ;
   6668   return 0;
   6669 }
   6670 _ACEOF
   6671 if ac_fn_c_try_link "$LINENO"
   6672 then :
   6673   eval $cacheid=yes
   6674 else case e in #(
   6675   e) eval $cacheid=no ;;
   6676 esac
   6677 fi
   6678 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6679     conftest$ac_exeext conftest.$ac_ext ;;
   6680 esac
   6681 fi
   6682 
   6683 
   6684 		CFLAGS="$xorg_testset_save_CFLAGS"
   6685 
   6686 		eval supported=\$$cacheid
   6687 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6688 printf "%s\n" "$supported" >&6; }
   6689 		if test "$supported" = "yes" ; then
   6690 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6691 			found="yes"
   6692 		fi
   6693 	fi
   6694 
   6695 
   6696 
   6697 
   6698 
   6699 
   6700 
   6701 
   6702 
   6703 
   6704 
   6705 
   6706 
   6707 
   6708 
   6709 xorg_testset_save_CFLAGS="$CFLAGS"
   6710 
   6711 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6712 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6713 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6714 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6715 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6716 then :
   6717   printf %s "(cached) " >&6
   6718 else case e in #(
   6719   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6720 /* end confdefs.h.  */
   6721 int i;
   6722 _ACEOF
   6723 if ac_fn_c_try_compile "$LINENO"
   6724 then :
   6725   xorg_cv_cc_flag_unknown_warning_option=yes
   6726 else case e in #(
   6727   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6728 esac
   6729 fi
   6730 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6731 esac
   6732 fi
   6733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6734 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6735 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6736 	CFLAGS="$xorg_testset_save_CFLAGS"
   6737 fi
   6738 
   6739 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6740 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6741 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6742 	fi
   6743 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6744 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6745 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6746 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6747 then :
   6748   printf %s "(cached) " >&6
   6749 else case e in #(
   6750   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6751 /* end confdefs.h.  */
   6752 int i;
   6753 _ACEOF
   6754 if ac_fn_c_try_compile "$LINENO"
   6755 then :
   6756   xorg_cv_cc_flag_unused_command_line_argument=yes
   6757 else case e in #(
   6758   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6759 esac
   6760 fi
   6761 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6762 esac
   6763 fi
   6764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6765 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6766 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6767 	CFLAGS="$xorg_testset_save_CFLAGS"
   6768 fi
   6769 
   6770 found="no"
   6771 
   6772 	if test $found = "no" ; then
   6773 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6774 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6775 		fi
   6776 
   6777 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6778 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6779 		fi
   6780 
   6781 		CFLAGS="$CFLAGS -Wshadow"
   6782 
   6783 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6784 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6785 		cacheid=xorg_cv_cc_flag__Wshadow
   6786 		if eval test \${$cacheid+y}
   6787 then :
   6788   printf %s "(cached) " >&6
   6789 else case e in #(
   6790   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6791 /* end confdefs.h.  */
   6792 int i;
   6793 int
   6794 main (void)
   6795 {
   6796 
   6797   ;
   6798   return 0;
   6799 }
   6800 _ACEOF
   6801 if ac_fn_c_try_link "$LINENO"
   6802 then :
   6803   eval $cacheid=yes
   6804 else case e in #(
   6805   e) eval $cacheid=no ;;
   6806 esac
   6807 fi
   6808 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6809     conftest$ac_exeext conftest.$ac_ext ;;
   6810 esac
   6811 fi
   6812 
   6813 
   6814 		CFLAGS="$xorg_testset_save_CFLAGS"
   6815 
   6816 		eval supported=\$$cacheid
   6817 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6818 printf "%s\n" "$supported" >&6; }
   6819 		if test "$supported" = "yes" ; then
   6820 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6821 			found="yes"
   6822 		fi
   6823 	fi
   6824 
   6825 
   6826 
   6827 
   6828 
   6829 
   6830 
   6831 
   6832 
   6833 
   6834 
   6835 
   6836 
   6837 
   6838 
   6839 xorg_testset_save_CFLAGS="$CFLAGS"
   6840 
   6841 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6842 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6843 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6844 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6845 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6846 then :
   6847   printf %s "(cached) " >&6
   6848 else case e in #(
   6849   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6850 /* end confdefs.h.  */
   6851 int i;
   6852 _ACEOF
   6853 if ac_fn_c_try_compile "$LINENO"
   6854 then :
   6855   xorg_cv_cc_flag_unknown_warning_option=yes
   6856 else case e in #(
   6857   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6858 esac
   6859 fi
   6860 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6861 esac
   6862 fi
   6863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6864 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6865 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6866 	CFLAGS="$xorg_testset_save_CFLAGS"
   6867 fi
   6868 
   6869 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6870 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6871 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6872 	fi
   6873 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6874 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6875 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6876 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6877 then :
   6878   printf %s "(cached) " >&6
   6879 else case e in #(
   6880   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6881 /* end confdefs.h.  */
   6882 int i;
   6883 _ACEOF
   6884 if ac_fn_c_try_compile "$LINENO"
   6885 then :
   6886   xorg_cv_cc_flag_unused_command_line_argument=yes
   6887 else case e in #(
   6888   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6889 esac
   6890 fi
   6891 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6892 esac
   6893 fi
   6894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6895 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6896 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6897 	CFLAGS="$xorg_testset_save_CFLAGS"
   6898 fi
   6899 
   6900 found="no"
   6901 
   6902 	if test $found = "no" ; then
   6903 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6904 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6905 		fi
   6906 
   6907 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6908 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6909 		fi
   6910 
   6911 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6912 
   6913 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6914 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6915 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6916 		if eval test \${$cacheid+y}
   6917 then :
   6918   printf %s "(cached) " >&6
   6919 else case e in #(
   6920   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6921 /* end confdefs.h.  */
   6922 int i;
   6923 int
   6924 main (void)
   6925 {
   6926 
   6927   ;
   6928   return 0;
   6929 }
   6930 _ACEOF
   6931 if ac_fn_c_try_link "$LINENO"
   6932 then :
   6933   eval $cacheid=yes
   6934 else case e in #(
   6935   e) eval $cacheid=no ;;
   6936 esac
   6937 fi
   6938 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6939     conftest$ac_exeext conftest.$ac_ext ;;
   6940 esac
   6941 fi
   6942 
   6943 
   6944 		CFLAGS="$xorg_testset_save_CFLAGS"
   6945 
   6946 		eval supported=\$$cacheid
   6947 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6948 printf "%s\n" "$supported" >&6; }
   6949 		if test "$supported" = "yes" ; then
   6950 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6951 			found="yes"
   6952 		fi
   6953 	fi
   6954 
   6955 
   6956 
   6957 
   6958 
   6959 
   6960 
   6961 
   6962 
   6963 
   6964 
   6965 
   6966 
   6967 
   6968 
   6969 xorg_testset_save_CFLAGS="$CFLAGS"
   6970 
   6971 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6972 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6973 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6974 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6975 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6976 then :
   6977   printf %s "(cached) " >&6
   6978 else case e in #(
   6979   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6980 /* end confdefs.h.  */
   6981 int i;
   6982 _ACEOF
   6983 if ac_fn_c_try_compile "$LINENO"
   6984 then :
   6985   xorg_cv_cc_flag_unknown_warning_option=yes
   6986 else case e in #(
   6987   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6988 esac
   6989 fi
   6990 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6991 esac
   6992 fi
   6993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6994 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6995 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6996 	CFLAGS="$xorg_testset_save_CFLAGS"
   6997 fi
   6998 
   6999 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7000 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7001 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7002 	fi
   7003 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7004 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7005 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7006 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7007 then :
   7008   printf %s "(cached) " >&6
   7009 else case e in #(
   7010   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7011 /* end confdefs.h.  */
   7012 int i;
   7013 _ACEOF
   7014 if ac_fn_c_try_compile "$LINENO"
   7015 then :
   7016   xorg_cv_cc_flag_unused_command_line_argument=yes
   7017 else case e in #(
   7018   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7019 esac
   7020 fi
   7021 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7022 esac
   7023 fi
   7024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7025 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7026 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7027 	CFLAGS="$xorg_testset_save_CFLAGS"
   7028 fi
   7029 
   7030 found="no"
   7031 
   7032 	if test $found = "no" ; then
   7033 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7034 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7035 		fi
   7036 
   7037 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7038 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7039 		fi
   7040 
   7041 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   7042 
   7043 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   7044 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   7045 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   7046 		if eval test \${$cacheid+y}
   7047 then :
   7048   printf %s "(cached) " >&6
   7049 else case e in #(
   7050   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7051 /* end confdefs.h.  */
   7052 int i;
   7053 int
   7054 main (void)
   7055 {
   7056 
   7057   ;
   7058   return 0;
   7059 }
   7060 _ACEOF
   7061 if ac_fn_c_try_link "$LINENO"
   7062 then :
   7063   eval $cacheid=yes
   7064 else case e in #(
   7065   e) eval $cacheid=no ;;
   7066 esac
   7067 fi
   7068 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7069     conftest$ac_exeext conftest.$ac_ext ;;
   7070 esac
   7071 fi
   7072 
   7073 
   7074 		CFLAGS="$xorg_testset_save_CFLAGS"
   7075 
   7076 		eval supported=\$$cacheid
   7077 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7078 printf "%s\n" "$supported" >&6; }
   7079 		if test "$supported" = "yes" ; then
   7080 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   7081 			found="yes"
   7082 		fi
   7083 	fi
   7084 
   7085 
   7086 
   7087 
   7088 
   7089 
   7090 
   7091 
   7092 
   7093 
   7094 
   7095 
   7096 
   7097 
   7098 
   7099 xorg_testset_save_CFLAGS="$CFLAGS"
   7100 
   7101 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7102 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7103 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7104 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7105 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7106 then :
   7107   printf %s "(cached) " >&6
   7108 else case e in #(
   7109   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7110 /* end confdefs.h.  */
   7111 int i;
   7112 _ACEOF
   7113 if ac_fn_c_try_compile "$LINENO"
   7114 then :
   7115   xorg_cv_cc_flag_unknown_warning_option=yes
   7116 else case e in #(
   7117   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7118 esac
   7119 fi
   7120 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7121 esac
   7122 fi
   7123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7124 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7125 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7126 	CFLAGS="$xorg_testset_save_CFLAGS"
   7127 fi
   7128 
   7129 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7130 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7131 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7132 	fi
   7133 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7134 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7135 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7136 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7137 then :
   7138   printf %s "(cached) " >&6
   7139 else case e in #(
   7140   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7141 /* end confdefs.h.  */
   7142 int i;
   7143 _ACEOF
   7144 if ac_fn_c_try_compile "$LINENO"
   7145 then :
   7146   xorg_cv_cc_flag_unused_command_line_argument=yes
   7147 else case e in #(
   7148   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7149 esac
   7150 fi
   7151 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7152 esac
   7153 fi
   7154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7155 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7156 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7157 	CFLAGS="$xorg_testset_save_CFLAGS"
   7158 fi
   7159 
   7160 found="no"
   7161 
   7162 	if test $found = "no" ; then
   7163 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7164 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7165 		fi
   7166 
   7167 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7168 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7169 		fi
   7170 
   7171 		CFLAGS="$CFLAGS -Wredundant-decls"
   7172 
   7173 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7174 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7175 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7176 		if eval test \${$cacheid+y}
   7177 then :
   7178   printf %s "(cached) " >&6
   7179 else case e in #(
   7180   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7181 /* end confdefs.h.  */
   7182 int i;
   7183 int
   7184 main (void)
   7185 {
   7186 
   7187   ;
   7188   return 0;
   7189 }
   7190 _ACEOF
   7191 if ac_fn_c_try_link "$LINENO"
   7192 then :
   7193   eval $cacheid=yes
   7194 else case e in #(
   7195   e) eval $cacheid=no ;;
   7196 esac
   7197 fi
   7198 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7199     conftest$ac_exeext conftest.$ac_ext ;;
   7200 esac
   7201 fi
   7202 
   7203 
   7204 		CFLAGS="$xorg_testset_save_CFLAGS"
   7205 
   7206 		eval supported=\$$cacheid
   7207 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7208 printf "%s\n" "$supported" >&6; }
   7209 		if test "$supported" = "yes" ; then
   7210 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7211 			found="yes"
   7212 		fi
   7213 	fi
   7214 
   7215 
   7216 
   7217 
   7218 
   7219 
   7220 
   7221 
   7222 
   7223 
   7224 
   7225 
   7226 
   7227 
   7228 
   7229 xorg_testset_save_CFLAGS="$CFLAGS"
   7230 
   7231 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7232 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7233 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7234 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7235 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7236 then :
   7237   printf %s "(cached) " >&6
   7238 else case e in #(
   7239   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7240 /* end confdefs.h.  */
   7241 int i;
   7242 _ACEOF
   7243 if ac_fn_c_try_compile "$LINENO"
   7244 then :
   7245   xorg_cv_cc_flag_unknown_warning_option=yes
   7246 else case e in #(
   7247   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7248 esac
   7249 fi
   7250 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7251 esac
   7252 fi
   7253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7254 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7255 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7256 	CFLAGS="$xorg_testset_save_CFLAGS"
   7257 fi
   7258 
   7259 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7260 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7261 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7262 	fi
   7263 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7264 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7265 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7266 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7267 then :
   7268   printf %s "(cached) " >&6
   7269 else case e in #(
   7270   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7271 /* end confdefs.h.  */
   7272 int i;
   7273 _ACEOF
   7274 if ac_fn_c_try_compile "$LINENO"
   7275 then :
   7276   xorg_cv_cc_flag_unused_command_line_argument=yes
   7277 else case e in #(
   7278   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7279 esac
   7280 fi
   7281 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7282 esac
   7283 fi
   7284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7285 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7286 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7287 	CFLAGS="$xorg_testset_save_CFLAGS"
   7288 fi
   7289 
   7290 found="no"
   7291 
   7292 	if test $found = "no" ; then
   7293 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7294 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7295 		fi
   7296 
   7297 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7298 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7299 		fi
   7300 
   7301 		CFLAGS="$CFLAGS -Wlogical-op"
   7302 
   7303 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7304 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7305 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7306 		if eval test \${$cacheid+y}
   7307 then :
   7308   printf %s "(cached) " >&6
   7309 else case e in #(
   7310   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7311 /* end confdefs.h.  */
   7312 int i;
   7313 int
   7314 main (void)
   7315 {
   7316 
   7317   ;
   7318   return 0;
   7319 }
   7320 _ACEOF
   7321 if ac_fn_c_try_link "$LINENO"
   7322 then :
   7323   eval $cacheid=yes
   7324 else case e in #(
   7325   e) eval $cacheid=no ;;
   7326 esac
   7327 fi
   7328 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7329     conftest$ac_exeext conftest.$ac_ext ;;
   7330 esac
   7331 fi
   7332 
   7333 
   7334 		CFLAGS="$xorg_testset_save_CFLAGS"
   7335 
   7336 		eval supported=\$$cacheid
   7337 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7338 printf "%s\n" "$supported" >&6; }
   7339 		if test "$supported" = "yes" ; then
   7340 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7341 			found="yes"
   7342 		fi
   7343 	fi
   7344 
   7345 
   7346 
   7347 # These are currently disabled because they are noisy.  They will be enabled
   7348 # in the future once the codebase is sufficiently modernized to silence
   7349 # them.  For now, I don't want them to drown out the other warnings.
   7350 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7351 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7352 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7353 
   7354 # Turn some warnings into errors, so we don't accidentally get successful builds
   7355 # when there are problems that should be fixed.
   7356 
   7357 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7358 
   7359 
   7360 
   7361 
   7362 
   7363 
   7364 
   7365 
   7366 
   7367 
   7368 
   7369 
   7370 
   7371 xorg_testset_save_CFLAGS="$CFLAGS"
   7372 
   7373 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7374 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7375 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7376 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7377 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7378 then :
   7379   printf %s "(cached) " >&6
   7380 else case e in #(
   7381   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7382 /* end confdefs.h.  */
   7383 int i;
   7384 _ACEOF
   7385 if ac_fn_c_try_compile "$LINENO"
   7386 then :
   7387   xorg_cv_cc_flag_unknown_warning_option=yes
   7388 else case e in #(
   7389   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7390 esac
   7391 fi
   7392 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7393 esac
   7394 fi
   7395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7396 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7397 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7398 	CFLAGS="$xorg_testset_save_CFLAGS"
   7399 fi
   7400 
   7401 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7402 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7403 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7404 	fi
   7405 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7406 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7407 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7408 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7409 then :
   7410   printf %s "(cached) " >&6
   7411 else case e in #(
   7412   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7413 /* end confdefs.h.  */
   7414 int i;
   7415 _ACEOF
   7416 if ac_fn_c_try_compile "$LINENO"
   7417 then :
   7418   xorg_cv_cc_flag_unused_command_line_argument=yes
   7419 else case e in #(
   7420   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7421 esac
   7422 fi
   7423 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7424 esac
   7425 fi
   7426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7427 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7428 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7429 	CFLAGS="$xorg_testset_save_CFLAGS"
   7430 fi
   7431 
   7432 found="no"
   7433 
   7434 	if test $found = "no" ; then
   7435 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7436 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7437 		fi
   7438 
   7439 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7440 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7441 		fi
   7442 
   7443 		CFLAGS="$CFLAGS -Werror=implicit"
   7444 
   7445 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7446 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7447 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7448 		if eval test \${$cacheid+y}
   7449 then :
   7450   printf %s "(cached) " >&6
   7451 else case e in #(
   7452   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7453 /* end confdefs.h.  */
   7454 int i;
   7455 int
   7456 main (void)
   7457 {
   7458 
   7459   ;
   7460   return 0;
   7461 }
   7462 _ACEOF
   7463 if ac_fn_c_try_link "$LINENO"
   7464 then :
   7465   eval $cacheid=yes
   7466 else case e in #(
   7467   e) eval $cacheid=no ;;
   7468 esac
   7469 fi
   7470 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7471     conftest$ac_exeext conftest.$ac_ext ;;
   7472 esac
   7473 fi
   7474 
   7475 
   7476 		CFLAGS="$xorg_testset_save_CFLAGS"
   7477 
   7478 		eval supported=\$$cacheid
   7479 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7480 printf "%s\n" "$supported" >&6; }
   7481 		if test "$supported" = "yes" ; then
   7482 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7483 			found="yes"
   7484 		fi
   7485 	fi
   7486 
   7487 	if test $found = "no" ; then
   7488 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7489 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7490 		fi
   7491 
   7492 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7493 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7494 		fi
   7495 
   7496 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7497 
   7498 		{ 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
   7499 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7500 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7501 		if eval test \${$cacheid+y}
   7502 then :
   7503   printf %s "(cached) " >&6
   7504 else case e in #(
   7505   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7506 /* end confdefs.h.  */
   7507 int i;
   7508 int
   7509 main (void)
   7510 {
   7511 
   7512   ;
   7513   return 0;
   7514 }
   7515 _ACEOF
   7516 if ac_fn_c_try_link "$LINENO"
   7517 then :
   7518   eval $cacheid=yes
   7519 else case e in #(
   7520   e) eval $cacheid=no ;;
   7521 esac
   7522 fi
   7523 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7524     conftest$ac_exeext conftest.$ac_ext ;;
   7525 esac
   7526 fi
   7527 
   7528 
   7529 		CFLAGS="$xorg_testset_save_CFLAGS"
   7530 
   7531 		eval supported=\$$cacheid
   7532 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7533 printf "%s\n" "$supported" >&6; }
   7534 		if test "$supported" = "yes" ; then
   7535 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7536 			found="yes"
   7537 		fi
   7538 	fi
   7539 
   7540 
   7541 
   7542 
   7543 
   7544 
   7545 
   7546 
   7547 
   7548 
   7549 
   7550 
   7551 
   7552 
   7553 
   7554 xorg_testset_save_CFLAGS="$CFLAGS"
   7555 
   7556 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7557 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7558 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7559 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7560 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7561 then :
   7562   printf %s "(cached) " >&6
   7563 else case e in #(
   7564   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7565 /* end confdefs.h.  */
   7566 int i;
   7567 _ACEOF
   7568 if ac_fn_c_try_compile "$LINENO"
   7569 then :
   7570   xorg_cv_cc_flag_unknown_warning_option=yes
   7571 else case e in #(
   7572   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7573 esac
   7574 fi
   7575 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7576 esac
   7577 fi
   7578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7579 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7580 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7581 	CFLAGS="$xorg_testset_save_CFLAGS"
   7582 fi
   7583 
   7584 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7585 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7586 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7587 	fi
   7588 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7589 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7590 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7591 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7592 then :
   7593   printf %s "(cached) " >&6
   7594 else case e in #(
   7595   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7596 /* end confdefs.h.  */
   7597 int i;
   7598 _ACEOF
   7599 if ac_fn_c_try_compile "$LINENO"
   7600 then :
   7601   xorg_cv_cc_flag_unused_command_line_argument=yes
   7602 else case e in #(
   7603   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7604 esac
   7605 fi
   7606 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7607 esac
   7608 fi
   7609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7610 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7611 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7612 	CFLAGS="$xorg_testset_save_CFLAGS"
   7613 fi
   7614 
   7615 found="no"
   7616 
   7617 	if test $found = "no" ; then
   7618 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7619 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7620 		fi
   7621 
   7622 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7623 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7624 		fi
   7625 
   7626 		CFLAGS="$CFLAGS -Werror=nonnull"
   7627 
   7628 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7629 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7630 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7631 		if eval test \${$cacheid+y}
   7632 then :
   7633   printf %s "(cached) " >&6
   7634 else case e in #(
   7635   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7636 /* end confdefs.h.  */
   7637 int i;
   7638 int
   7639 main (void)
   7640 {
   7641 
   7642   ;
   7643   return 0;
   7644 }
   7645 _ACEOF
   7646 if ac_fn_c_try_link "$LINENO"
   7647 then :
   7648   eval $cacheid=yes
   7649 else case e in #(
   7650   e) eval $cacheid=no ;;
   7651 esac
   7652 fi
   7653 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7654     conftest$ac_exeext conftest.$ac_ext ;;
   7655 esac
   7656 fi
   7657 
   7658 
   7659 		CFLAGS="$xorg_testset_save_CFLAGS"
   7660 
   7661 		eval supported=\$$cacheid
   7662 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7663 printf "%s\n" "$supported" >&6; }
   7664 		if test "$supported" = "yes" ; then
   7665 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7666 			found="yes"
   7667 		fi
   7668 	fi
   7669 
   7670 
   7671 
   7672 
   7673 
   7674 
   7675 
   7676 
   7677 
   7678 
   7679 
   7680 
   7681 
   7682 
   7683 
   7684 xorg_testset_save_CFLAGS="$CFLAGS"
   7685 
   7686 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7687 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7688 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7689 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7690 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7691 then :
   7692   printf %s "(cached) " >&6
   7693 else case e in #(
   7694   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7695 /* end confdefs.h.  */
   7696 int i;
   7697 _ACEOF
   7698 if ac_fn_c_try_compile "$LINENO"
   7699 then :
   7700   xorg_cv_cc_flag_unknown_warning_option=yes
   7701 else case e in #(
   7702   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7703 esac
   7704 fi
   7705 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7706 esac
   7707 fi
   7708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7709 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7710 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7711 	CFLAGS="$xorg_testset_save_CFLAGS"
   7712 fi
   7713 
   7714 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7715 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7716 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7717 	fi
   7718 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7719 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7720 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7721 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7722 then :
   7723   printf %s "(cached) " >&6
   7724 else case e in #(
   7725   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7726 /* end confdefs.h.  */
   7727 int i;
   7728 _ACEOF
   7729 if ac_fn_c_try_compile "$LINENO"
   7730 then :
   7731   xorg_cv_cc_flag_unused_command_line_argument=yes
   7732 else case e in #(
   7733   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7734 esac
   7735 fi
   7736 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7737 esac
   7738 fi
   7739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7740 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7741 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7742 	CFLAGS="$xorg_testset_save_CFLAGS"
   7743 fi
   7744 
   7745 found="no"
   7746 
   7747 	if test $found = "no" ; then
   7748 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7749 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7750 		fi
   7751 
   7752 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7753 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7754 		fi
   7755 
   7756 		CFLAGS="$CFLAGS -Werror=init-self"
   7757 
   7758 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7759 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7760 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7761 		if eval test \${$cacheid+y}
   7762 then :
   7763   printf %s "(cached) " >&6
   7764 else case e in #(
   7765   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7766 /* end confdefs.h.  */
   7767 int i;
   7768 int
   7769 main (void)
   7770 {
   7771 
   7772   ;
   7773   return 0;
   7774 }
   7775 _ACEOF
   7776 if ac_fn_c_try_link "$LINENO"
   7777 then :
   7778   eval $cacheid=yes
   7779 else case e in #(
   7780   e) eval $cacheid=no ;;
   7781 esac
   7782 fi
   7783 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7784     conftest$ac_exeext conftest.$ac_ext ;;
   7785 esac
   7786 fi
   7787 
   7788 
   7789 		CFLAGS="$xorg_testset_save_CFLAGS"
   7790 
   7791 		eval supported=\$$cacheid
   7792 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7793 printf "%s\n" "$supported" >&6; }
   7794 		if test "$supported" = "yes" ; then
   7795 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7796 			found="yes"
   7797 		fi
   7798 	fi
   7799 
   7800 
   7801 
   7802 
   7803 
   7804 
   7805 
   7806 
   7807 
   7808 
   7809 
   7810 
   7811 
   7812 
   7813 
   7814 xorg_testset_save_CFLAGS="$CFLAGS"
   7815 
   7816 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7817 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7818 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7819 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7820 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7821 then :
   7822   printf %s "(cached) " >&6
   7823 else case e in #(
   7824   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7825 /* end confdefs.h.  */
   7826 int i;
   7827 _ACEOF
   7828 if ac_fn_c_try_compile "$LINENO"
   7829 then :
   7830   xorg_cv_cc_flag_unknown_warning_option=yes
   7831 else case e in #(
   7832   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7833 esac
   7834 fi
   7835 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7836 esac
   7837 fi
   7838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7839 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7840 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7841 	CFLAGS="$xorg_testset_save_CFLAGS"
   7842 fi
   7843 
   7844 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7845 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7846 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7847 	fi
   7848 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7849 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7850 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7851 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7852 then :
   7853   printf %s "(cached) " >&6
   7854 else case e in #(
   7855   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7856 /* end confdefs.h.  */
   7857 int i;
   7858 _ACEOF
   7859 if ac_fn_c_try_compile "$LINENO"
   7860 then :
   7861   xorg_cv_cc_flag_unused_command_line_argument=yes
   7862 else case e in #(
   7863   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7864 esac
   7865 fi
   7866 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7867 esac
   7868 fi
   7869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7870 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7871 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7872 	CFLAGS="$xorg_testset_save_CFLAGS"
   7873 fi
   7874 
   7875 found="no"
   7876 
   7877 	if test $found = "no" ; then
   7878 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7879 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7880 		fi
   7881 
   7882 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7883 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7884 		fi
   7885 
   7886 		CFLAGS="$CFLAGS -Werror=main"
   7887 
   7888 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7889 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7890 		cacheid=xorg_cv_cc_flag__Werror_main
   7891 		if eval test \${$cacheid+y}
   7892 then :
   7893   printf %s "(cached) " >&6
   7894 else case e in #(
   7895   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7896 /* end confdefs.h.  */
   7897 int i;
   7898 int
   7899 main (void)
   7900 {
   7901 
   7902   ;
   7903   return 0;
   7904 }
   7905 _ACEOF
   7906 if ac_fn_c_try_link "$LINENO"
   7907 then :
   7908   eval $cacheid=yes
   7909 else case e in #(
   7910   e) eval $cacheid=no ;;
   7911 esac
   7912 fi
   7913 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7914     conftest$ac_exeext conftest.$ac_ext ;;
   7915 esac
   7916 fi
   7917 
   7918 
   7919 		CFLAGS="$xorg_testset_save_CFLAGS"
   7920 
   7921 		eval supported=\$$cacheid
   7922 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7923 printf "%s\n" "$supported" >&6; }
   7924 		if test "$supported" = "yes" ; then
   7925 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7926 			found="yes"
   7927 		fi
   7928 	fi
   7929 
   7930 
   7931 
   7932 
   7933 
   7934 
   7935 
   7936 
   7937 
   7938 
   7939 
   7940 
   7941 
   7942 
   7943 
   7944 xorg_testset_save_CFLAGS="$CFLAGS"
   7945 
   7946 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7947 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7948 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7949 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7950 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7951 then :
   7952   printf %s "(cached) " >&6
   7953 else case e in #(
   7954   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7955 /* end confdefs.h.  */
   7956 int i;
   7957 _ACEOF
   7958 if ac_fn_c_try_compile "$LINENO"
   7959 then :
   7960   xorg_cv_cc_flag_unknown_warning_option=yes
   7961 else case e in #(
   7962   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7963 esac
   7964 fi
   7965 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7966 esac
   7967 fi
   7968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7969 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7970 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7971 	CFLAGS="$xorg_testset_save_CFLAGS"
   7972 fi
   7973 
   7974 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7975 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7976 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7977 	fi
   7978 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7979 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7980 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7981 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7982 then :
   7983   printf %s "(cached) " >&6
   7984 else case e in #(
   7985   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7986 /* end confdefs.h.  */
   7987 int i;
   7988 _ACEOF
   7989 if ac_fn_c_try_compile "$LINENO"
   7990 then :
   7991   xorg_cv_cc_flag_unused_command_line_argument=yes
   7992 else case e in #(
   7993   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7994 esac
   7995 fi
   7996 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7997 esac
   7998 fi
   7999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8000 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8001 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8002 	CFLAGS="$xorg_testset_save_CFLAGS"
   8003 fi
   8004 
   8005 found="no"
   8006 
   8007 	if test $found = "no" ; then
   8008 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8009 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8010 		fi
   8011 
   8012 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8013 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8014 		fi
   8015 
   8016 		CFLAGS="$CFLAGS -Werror=missing-braces"
   8017 
   8018 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   8019 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   8020 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   8021 		if eval test \${$cacheid+y}
   8022 then :
   8023   printf %s "(cached) " >&6
   8024 else case e in #(
   8025   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8026 /* end confdefs.h.  */
   8027 int i;
   8028 int
   8029 main (void)
   8030 {
   8031 
   8032   ;
   8033   return 0;
   8034 }
   8035 _ACEOF
   8036 if ac_fn_c_try_link "$LINENO"
   8037 then :
   8038   eval $cacheid=yes
   8039 else case e in #(
   8040   e) eval $cacheid=no ;;
   8041 esac
   8042 fi
   8043 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8044     conftest$ac_exeext conftest.$ac_ext ;;
   8045 esac
   8046 fi
   8047 
   8048 
   8049 		CFLAGS="$xorg_testset_save_CFLAGS"
   8050 
   8051 		eval supported=\$$cacheid
   8052 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8053 printf "%s\n" "$supported" >&6; }
   8054 		if test "$supported" = "yes" ; then
   8055 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   8056 			found="yes"
   8057 		fi
   8058 	fi
   8059 
   8060 
   8061 
   8062 
   8063 
   8064 
   8065 
   8066 
   8067 
   8068 
   8069 
   8070 
   8071 
   8072 
   8073 
   8074 xorg_testset_save_CFLAGS="$CFLAGS"
   8075 
   8076 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8077 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8078 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8079 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8080 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8081 then :
   8082   printf %s "(cached) " >&6
   8083 else case e in #(
   8084   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8085 /* end confdefs.h.  */
   8086 int i;
   8087 _ACEOF
   8088 if ac_fn_c_try_compile "$LINENO"
   8089 then :
   8090   xorg_cv_cc_flag_unknown_warning_option=yes
   8091 else case e in #(
   8092   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8093 esac
   8094 fi
   8095 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8096 esac
   8097 fi
   8098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8099 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8100 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8101 	CFLAGS="$xorg_testset_save_CFLAGS"
   8102 fi
   8103 
   8104 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8105 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8106 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8107 	fi
   8108 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8109 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8110 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8111 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8112 then :
   8113   printf %s "(cached) " >&6
   8114 else case e in #(
   8115   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8116 /* end confdefs.h.  */
   8117 int i;
   8118 _ACEOF
   8119 if ac_fn_c_try_compile "$LINENO"
   8120 then :
   8121   xorg_cv_cc_flag_unused_command_line_argument=yes
   8122 else case e in #(
   8123   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8124 esac
   8125 fi
   8126 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8127 esac
   8128 fi
   8129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8130 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8131 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8132 	CFLAGS="$xorg_testset_save_CFLAGS"
   8133 fi
   8134 
   8135 found="no"
   8136 
   8137 	if test $found = "no" ; then
   8138 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8139 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8140 		fi
   8141 
   8142 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8143 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8144 		fi
   8145 
   8146 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8147 
   8148 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8149 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   8150 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8151 		if eval test \${$cacheid+y}
   8152 then :
   8153   printf %s "(cached) " >&6
   8154 else case e in #(
   8155   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8156 /* end confdefs.h.  */
   8157 int i;
   8158 int
   8159 main (void)
   8160 {
   8161 
   8162   ;
   8163   return 0;
   8164 }
   8165 _ACEOF
   8166 if ac_fn_c_try_link "$LINENO"
   8167 then :
   8168   eval $cacheid=yes
   8169 else case e in #(
   8170   e) eval $cacheid=no ;;
   8171 esac
   8172 fi
   8173 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8174     conftest$ac_exeext conftest.$ac_ext ;;
   8175 esac
   8176 fi
   8177 
   8178 
   8179 		CFLAGS="$xorg_testset_save_CFLAGS"
   8180 
   8181 		eval supported=\$$cacheid
   8182 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8183 printf "%s\n" "$supported" >&6; }
   8184 		if test "$supported" = "yes" ; then
   8185 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8186 			found="yes"
   8187 		fi
   8188 	fi
   8189 
   8190 
   8191 
   8192 
   8193 
   8194 
   8195 
   8196 
   8197 
   8198 
   8199 
   8200 
   8201 
   8202 
   8203 
   8204 xorg_testset_save_CFLAGS="$CFLAGS"
   8205 
   8206 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8207 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8208 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8209 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8210 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8211 then :
   8212   printf %s "(cached) " >&6
   8213 else case e in #(
   8214   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8215 /* end confdefs.h.  */
   8216 int i;
   8217 _ACEOF
   8218 if ac_fn_c_try_compile "$LINENO"
   8219 then :
   8220   xorg_cv_cc_flag_unknown_warning_option=yes
   8221 else case e in #(
   8222   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8223 esac
   8224 fi
   8225 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8226 esac
   8227 fi
   8228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8229 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8230 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8231 	CFLAGS="$xorg_testset_save_CFLAGS"
   8232 fi
   8233 
   8234 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8235 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8236 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8237 	fi
   8238 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8239 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8240 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8241 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8242 then :
   8243   printf %s "(cached) " >&6
   8244 else case e in #(
   8245   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8246 /* end confdefs.h.  */
   8247 int i;
   8248 _ACEOF
   8249 if ac_fn_c_try_compile "$LINENO"
   8250 then :
   8251   xorg_cv_cc_flag_unused_command_line_argument=yes
   8252 else case e in #(
   8253   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8254 esac
   8255 fi
   8256 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8257 esac
   8258 fi
   8259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8260 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8261 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8262 	CFLAGS="$xorg_testset_save_CFLAGS"
   8263 fi
   8264 
   8265 found="no"
   8266 
   8267 	if test $found = "no" ; then
   8268 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8269 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8270 		fi
   8271 
   8272 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8273 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8274 		fi
   8275 
   8276 		CFLAGS="$CFLAGS -Werror=return-type"
   8277 
   8278 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8279 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8280 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8281 		if eval test \${$cacheid+y}
   8282 then :
   8283   printf %s "(cached) " >&6
   8284 else case e in #(
   8285   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8286 /* end confdefs.h.  */
   8287 int i;
   8288 int
   8289 main (void)
   8290 {
   8291 
   8292   ;
   8293   return 0;
   8294 }
   8295 _ACEOF
   8296 if ac_fn_c_try_link "$LINENO"
   8297 then :
   8298   eval $cacheid=yes
   8299 else case e in #(
   8300   e) eval $cacheid=no ;;
   8301 esac
   8302 fi
   8303 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8304     conftest$ac_exeext conftest.$ac_ext ;;
   8305 esac
   8306 fi
   8307 
   8308 
   8309 		CFLAGS="$xorg_testset_save_CFLAGS"
   8310 
   8311 		eval supported=\$$cacheid
   8312 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8313 printf "%s\n" "$supported" >&6; }
   8314 		if test "$supported" = "yes" ; then
   8315 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8316 			found="yes"
   8317 		fi
   8318 	fi
   8319 
   8320 	if test $found = "no" ; then
   8321 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8322 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8323 		fi
   8324 
   8325 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8326 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8327 		fi
   8328 
   8329 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8330 
   8331 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8332 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8333 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8334 		if eval test \${$cacheid+y}
   8335 then :
   8336   printf %s "(cached) " >&6
   8337 else case e in #(
   8338   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8339 /* end confdefs.h.  */
   8340 int i;
   8341 int
   8342 main (void)
   8343 {
   8344 
   8345   ;
   8346   return 0;
   8347 }
   8348 _ACEOF
   8349 if ac_fn_c_try_link "$LINENO"
   8350 then :
   8351   eval $cacheid=yes
   8352 else case e in #(
   8353   e) eval $cacheid=no ;;
   8354 esac
   8355 fi
   8356 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8357     conftest$ac_exeext conftest.$ac_ext ;;
   8358 esac
   8359 fi
   8360 
   8361 
   8362 		CFLAGS="$xorg_testset_save_CFLAGS"
   8363 
   8364 		eval supported=\$$cacheid
   8365 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8366 printf "%s\n" "$supported" >&6; }
   8367 		if test "$supported" = "yes" ; then
   8368 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8369 			found="yes"
   8370 		fi
   8371 	fi
   8372 
   8373 
   8374 
   8375 
   8376 
   8377 
   8378 
   8379 
   8380 
   8381 
   8382 
   8383 
   8384 
   8385 
   8386 
   8387 xorg_testset_save_CFLAGS="$CFLAGS"
   8388 
   8389 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8390 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8391 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8392 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8393 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8394 then :
   8395   printf %s "(cached) " >&6
   8396 else case e in #(
   8397   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8398 /* end confdefs.h.  */
   8399 int i;
   8400 _ACEOF
   8401 if ac_fn_c_try_compile "$LINENO"
   8402 then :
   8403   xorg_cv_cc_flag_unknown_warning_option=yes
   8404 else case e in #(
   8405   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8406 esac
   8407 fi
   8408 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8409 esac
   8410 fi
   8411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8412 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8413 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8414 	CFLAGS="$xorg_testset_save_CFLAGS"
   8415 fi
   8416 
   8417 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8418 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8419 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8420 	fi
   8421 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8422 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8423 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8424 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8425 then :
   8426   printf %s "(cached) " >&6
   8427 else case e in #(
   8428   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8429 /* end confdefs.h.  */
   8430 int i;
   8431 _ACEOF
   8432 if ac_fn_c_try_compile "$LINENO"
   8433 then :
   8434   xorg_cv_cc_flag_unused_command_line_argument=yes
   8435 else case e in #(
   8436   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8437 esac
   8438 fi
   8439 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8440 esac
   8441 fi
   8442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8443 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8444 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8445 	CFLAGS="$xorg_testset_save_CFLAGS"
   8446 fi
   8447 
   8448 found="no"
   8449 
   8450 	if test $found = "no" ; then
   8451 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8452 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8453 		fi
   8454 
   8455 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8456 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8457 		fi
   8458 
   8459 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8460 
   8461 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8462 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8463 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8464 		if eval test \${$cacheid+y}
   8465 then :
   8466   printf %s "(cached) " >&6
   8467 else case e in #(
   8468   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8469 /* end confdefs.h.  */
   8470 int i;
   8471 int
   8472 main (void)
   8473 {
   8474 
   8475   ;
   8476   return 0;
   8477 }
   8478 _ACEOF
   8479 if ac_fn_c_try_link "$LINENO"
   8480 then :
   8481   eval $cacheid=yes
   8482 else case e in #(
   8483   e) eval $cacheid=no ;;
   8484 esac
   8485 fi
   8486 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8487     conftest$ac_exeext conftest.$ac_ext ;;
   8488 esac
   8489 fi
   8490 
   8491 
   8492 		CFLAGS="$xorg_testset_save_CFLAGS"
   8493 
   8494 		eval supported=\$$cacheid
   8495 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8496 printf "%s\n" "$supported" >&6; }
   8497 		if test "$supported" = "yes" ; then
   8498 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8499 			found="yes"
   8500 		fi
   8501 	fi
   8502 
   8503 
   8504 
   8505 
   8506 
   8507 
   8508 
   8509 
   8510 
   8511 
   8512 
   8513 
   8514 
   8515 
   8516 
   8517 xorg_testset_save_CFLAGS="$CFLAGS"
   8518 
   8519 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8520 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8521 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8522 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8523 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8524 then :
   8525   printf %s "(cached) " >&6
   8526 else case e in #(
   8527   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8528 /* end confdefs.h.  */
   8529 int i;
   8530 _ACEOF
   8531 if ac_fn_c_try_compile "$LINENO"
   8532 then :
   8533   xorg_cv_cc_flag_unknown_warning_option=yes
   8534 else case e in #(
   8535   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8536 esac
   8537 fi
   8538 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8539 esac
   8540 fi
   8541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8542 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8543 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8544 	CFLAGS="$xorg_testset_save_CFLAGS"
   8545 fi
   8546 
   8547 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8548 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8549 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8550 	fi
   8551 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8552 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8553 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8554 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8555 then :
   8556   printf %s "(cached) " >&6
   8557 else case e in #(
   8558   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8559 /* end confdefs.h.  */
   8560 int i;
   8561 _ACEOF
   8562 if ac_fn_c_try_compile "$LINENO"
   8563 then :
   8564   xorg_cv_cc_flag_unused_command_line_argument=yes
   8565 else case e in #(
   8566   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8567 esac
   8568 fi
   8569 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8570 esac
   8571 fi
   8572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8573 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8574 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8575 	CFLAGS="$xorg_testset_save_CFLAGS"
   8576 fi
   8577 
   8578 found="no"
   8579 
   8580 	if test $found = "no" ; then
   8581 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8582 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8583 		fi
   8584 
   8585 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8586 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8587 		fi
   8588 
   8589 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8590 
   8591 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8592 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8593 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8594 		if eval test \${$cacheid+y}
   8595 then :
   8596   printf %s "(cached) " >&6
   8597 else case e in #(
   8598   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8599 /* end confdefs.h.  */
   8600 int i;
   8601 int
   8602 main (void)
   8603 {
   8604 
   8605   ;
   8606   return 0;
   8607 }
   8608 _ACEOF
   8609 if ac_fn_c_try_link "$LINENO"
   8610 then :
   8611   eval $cacheid=yes
   8612 else case e in #(
   8613   e) eval $cacheid=no ;;
   8614 esac
   8615 fi
   8616 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8617     conftest$ac_exeext conftest.$ac_ext ;;
   8618 esac
   8619 fi
   8620 
   8621 
   8622 		CFLAGS="$xorg_testset_save_CFLAGS"
   8623 
   8624 		eval supported=\$$cacheid
   8625 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8626 printf "%s\n" "$supported" >&6; }
   8627 		if test "$supported" = "yes" ; then
   8628 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8629 			found="yes"
   8630 		fi
   8631 	fi
   8632 
   8633 
   8634 
   8635 
   8636 
   8637 
   8638 
   8639 
   8640 
   8641 
   8642 
   8643 
   8644 
   8645 
   8646 
   8647 xorg_testset_save_CFLAGS="$CFLAGS"
   8648 
   8649 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8650 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8651 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8652 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8653 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8654 then :
   8655   printf %s "(cached) " >&6
   8656 else case e in #(
   8657   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8658 /* end confdefs.h.  */
   8659 int i;
   8660 _ACEOF
   8661 if ac_fn_c_try_compile "$LINENO"
   8662 then :
   8663   xorg_cv_cc_flag_unknown_warning_option=yes
   8664 else case e in #(
   8665   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8666 esac
   8667 fi
   8668 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8669 esac
   8670 fi
   8671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8672 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8673 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8674 	CFLAGS="$xorg_testset_save_CFLAGS"
   8675 fi
   8676 
   8677 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8678 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8679 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8680 	fi
   8681 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8682 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8683 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8684 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8685 then :
   8686   printf %s "(cached) " >&6
   8687 else case e in #(
   8688   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8689 /* end confdefs.h.  */
   8690 int i;
   8691 _ACEOF
   8692 if ac_fn_c_try_compile "$LINENO"
   8693 then :
   8694   xorg_cv_cc_flag_unused_command_line_argument=yes
   8695 else case e in #(
   8696   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8697 esac
   8698 fi
   8699 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8700 esac
   8701 fi
   8702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8703 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8704 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8705 	CFLAGS="$xorg_testset_save_CFLAGS"
   8706 fi
   8707 
   8708 found="no"
   8709 
   8710 	if test $found = "no" ; then
   8711 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8712 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8713 		fi
   8714 
   8715 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8716 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8717 		fi
   8718 
   8719 		CFLAGS="$CFLAGS -Werror=write-strings"
   8720 
   8721 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8722 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8723 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8724 		if eval test \${$cacheid+y}
   8725 then :
   8726   printf %s "(cached) " >&6
   8727 else case e in #(
   8728   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8729 /* end confdefs.h.  */
   8730 int i;
   8731 int
   8732 main (void)
   8733 {
   8734 
   8735   ;
   8736   return 0;
   8737 }
   8738 _ACEOF
   8739 if ac_fn_c_try_link "$LINENO"
   8740 then :
   8741   eval $cacheid=yes
   8742 else case e in #(
   8743   e) eval $cacheid=no ;;
   8744 esac
   8745 fi
   8746 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8747     conftest$ac_exeext conftest.$ac_ext ;;
   8748 esac
   8749 fi
   8750 
   8751 
   8752 		CFLAGS="$xorg_testset_save_CFLAGS"
   8753 
   8754 		eval supported=\$$cacheid
   8755 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8756 printf "%s\n" "$supported" >&6; }
   8757 		if test "$supported" = "yes" ; then
   8758 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8759 			found="yes"
   8760 		fi
   8761 	fi
   8762 
   8763 
   8764 
   8765 
   8766 
   8767 
   8768 
   8769 
   8770 
   8771 
   8772 
   8773 
   8774 
   8775 
   8776 
   8777 xorg_testset_save_CFLAGS="$CFLAGS"
   8778 
   8779 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8780 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8781 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8782 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8783 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8784 then :
   8785   printf %s "(cached) " >&6
   8786 else case e in #(
   8787   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8788 /* end confdefs.h.  */
   8789 int i;
   8790 _ACEOF
   8791 if ac_fn_c_try_compile "$LINENO"
   8792 then :
   8793   xorg_cv_cc_flag_unknown_warning_option=yes
   8794 else case e in #(
   8795   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8796 esac
   8797 fi
   8798 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8799 esac
   8800 fi
   8801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8802 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8803 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8804 	CFLAGS="$xorg_testset_save_CFLAGS"
   8805 fi
   8806 
   8807 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8808 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8809 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8810 	fi
   8811 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8812 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8813 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8814 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8815 then :
   8816   printf %s "(cached) " >&6
   8817 else case e in #(
   8818   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8819 /* end confdefs.h.  */
   8820 int i;
   8821 _ACEOF
   8822 if ac_fn_c_try_compile "$LINENO"
   8823 then :
   8824   xorg_cv_cc_flag_unused_command_line_argument=yes
   8825 else case e in #(
   8826   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8827 esac
   8828 fi
   8829 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8830 esac
   8831 fi
   8832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8833 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8834 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8835 	CFLAGS="$xorg_testset_save_CFLAGS"
   8836 fi
   8837 
   8838 found="no"
   8839 
   8840 	if test $found = "no" ; then
   8841 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8842 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8843 		fi
   8844 
   8845 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8846 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8847 		fi
   8848 
   8849 		CFLAGS="$CFLAGS -Werror=address"
   8850 
   8851 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8852 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8853 		cacheid=xorg_cv_cc_flag__Werror_address
   8854 		if eval test \${$cacheid+y}
   8855 then :
   8856   printf %s "(cached) " >&6
   8857 else case e in #(
   8858   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8859 /* end confdefs.h.  */
   8860 int i;
   8861 int
   8862 main (void)
   8863 {
   8864 
   8865   ;
   8866   return 0;
   8867 }
   8868 _ACEOF
   8869 if ac_fn_c_try_link "$LINENO"
   8870 then :
   8871   eval $cacheid=yes
   8872 else case e in #(
   8873   e) eval $cacheid=no ;;
   8874 esac
   8875 fi
   8876 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8877     conftest$ac_exeext conftest.$ac_ext ;;
   8878 esac
   8879 fi
   8880 
   8881 
   8882 		CFLAGS="$xorg_testset_save_CFLAGS"
   8883 
   8884 		eval supported=\$$cacheid
   8885 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8886 printf "%s\n" "$supported" >&6; }
   8887 		if test "$supported" = "yes" ; then
   8888 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8889 			found="yes"
   8890 		fi
   8891 	fi
   8892 
   8893 
   8894 
   8895 
   8896 
   8897 
   8898 
   8899 
   8900 
   8901 
   8902 
   8903 
   8904 
   8905 
   8906 
   8907 xorg_testset_save_CFLAGS="$CFLAGS"
   8908 
   8909 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8910 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8911 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8912 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8913 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8914 then :
   8915   printf %s "(cached) " >&6
   8916 else case e in #(
   8917   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8918 /* end confdefs.h.  */
   8919 int i;
   8920 _ACEOF
   8921 if ac_fn_c_try_compile "$LINENO"
   8922 then :
   8923   xorg_cv_cc_flag_unknown_warning_option=yes
   8924 else case e in #(
   8925   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8926 esac
   8927 fi
   8928 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8929 esac
   8930 fi
   8931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8932 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8933 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8934 	CFLAGS="$xorg_testset_save_CFLAGS"
   8935 fi
   8936 
   8937 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8938 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8939 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8940 	fi
   8941 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8942 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8943 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8944 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8945 then :
   8946   printf %s "(cached) " >&6
   8947 else case e in #(
   8948   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8949 /* end confdefs.h.  */
   8950 int i;
   8951 _ACEOF
   8952 if ac_fn_c_try_compile "$LINENO"
   8953 then :
   8954   xorg_cv_cc_flag_unused_command_line_argument=yes
   8955 else case e in #(
   8956   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8957 esac
   8958 fi
   8959 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8960 esac
   8961 fi
   8962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8963 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8964 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8965 	CFLAGS="$xorg_testset_save_CFLAGS"
   8966 fi
   8967 
   8968 found="no"
   8969 
   8970 	if test $found = "no" ; then
   8971 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8972 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8973 		fi
   8974 
   8975 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8976 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8977 		fi
   8978 
   8979 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8980 
   8981 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8982 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8983 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8984 		if eval test \${$cacheid+y}
   8985 then :
   8986   printf %s "(cached) " >&6
   8987 else case e in #(
   8988   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8989 /* end confdefs.h.  */
   8990 int i;
   8991 int
   8992 main (void)
   8993 {
   8994 
   8995   ;
   8996   return 0;
   8997 }
   8998 _ACEOF
   8999 if ac_fn_c_try_link "$LINENO"
   9000 then :
   9001   eval $cacheid=yes
   9002 else case e in #(
   9003   e) eval $cacheid=no ;;
   9004 esac
   9005 fi
   9006 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9007     conftest$ac_exeext conftest.$ac_ext ;;
   9008 esac
   9009 fi
   9010 
   9011 
   9012 		CFLAGS="$xorg_testset_save_CFLAGS"
   9013 
   9014 		eval supported=\$$cacheid
   9015 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9016 printf "%s\n" "$supported" >&6; }
   9017 		if test "$supported" = "yes" ; then
   9018 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   9019 			found="yes"
   9020 		fi
   9021 	fi
   9022 
   9023 	if test $found = "no" ; then
   9024 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9025 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9026 		fi
   9027 
   9028 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9029 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9030 		fi
   9031 
   9032 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9033 
   9034 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   9035 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   9036 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   9037 		if eval test \${$cacheid+y}
   9038 then :
   9039   printf %s "(cached) " >&6
   9040 else case e in #(
   9041   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9042 /* end confdefs.h.  */
   9043 int i;
   9044 int
   9045 main (void)
   9046 {
   9047 
   9048   ;
   9049   return 0;
   9050 }
   9051 _ACEOF
   9052 if ac_fn_c_try_link "$LINENO"
   9053 then :
   9054   eval $cacheid=yes
   9055 else case e in #(
   9056   e) eval $cacheid=no ;;
   9057 esac
   9058 fi
   9059 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9060     conftest$ac_exeext conftest.$ac_ext ;;
   9061 esac
   9062 fi
   9063 
   9064 
   9065 		CFLAGS="$xorg_testset_save_CFLAGS"
   9066 
   9067 		eval supported=\$$cacheid
   9068 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9069 printf "%s\n" "$supported" >&6; }
   9070 		if test "$supported" = "yes" ; then
   9071 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9072 			found="yes"
   9073 		fi
   9074 	fi
   9075 
   9076 
   9077 
   9078 
   9079 
   9080 
   9081 
   9082 
   9083 
   9084 
   9085 
   9086 
   9087 
   9088 
   9089 
   9090 xorg_testset_save_CFLAGS="$CFLAGS"
   9091 
   9092 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9093 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9094 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9095 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9096 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9097 then :
   9098   printf %s "(cached) " >&6
   9099 else case e in #(
   9100   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9101 /* end confdefs.h.  */
   9102 int i;
   9103 _ACEOF
   9104 if ac_fn_c_try_compile "$LINENO"
   9105 then :
   9106   xorg_cv_cc_flag_unknown_warning_option=yes
   9107 else case e in #(
   9108   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9109 esac
   9110 fi
   9111 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9112 esac
   9113 fi
   9114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9115 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9116 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9117 	CFLAGS="$xorg_testset_save_CFLAGS"
   9118 fi
   9119 
   9120 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9121 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9122 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9123 	fi
   9124 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9125 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9126 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9127 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9128 then :
   9129   printf %s "(cached) " >&6
   9130 else case e in #(
   9131   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9132 /* end confdefs.h.  */
   9133 int i;
   9134 _ACEOF
   9135 if ac_fn_c_try_compile "$LINENO"
   9136 then :
   9137   xorg_cv_cc_flag_unused_command_line_argument=yes
   9138 else case e in #(
   9139   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9140 esac
   9141 fi
   9142 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9143 esac
   9144 fi
   9145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9146 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9147 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9148 	CFLAGS="$xorg_testset_save_CFLAGS"
   9149 fi
   9150 
   9151 found="no"
   9152 
   9153 	if test $found = "no" ; then
   9154 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9155 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9156 		fi
   9157 
   9158 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9159 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9160 		fi
   9161 
   9162 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   9163 
   9164 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   9165 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   9166 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   9167 		if eval test \${$cacheid+y}
   9168 then :
   9169   printf %s "(cached) " >&6
   9170 else case e in #(
   9171   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9172 /* end confdefs.h.  */
   9173 int i;
   9174 int
   9175 main (void)
   9176 {
   9177 
   9178   ;
   9179   return 0;
   9180 }
   9181 _ACEOF
   9182 if ac_fn_c_try_link "$LINENO"
   9183 then :
   9184   eval $cacheid=yes
   9185 else case e in #(
   9186   e) eval $cacheid=no ;;
   9187 esac
   9188 fi
   9189 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9190     conftest$ac_exeext conftest.$ac_ext ;;
   9191 esac
   9192 fi
   9193 
   9194 
   9195 		CFLAGS="$xorg_testset_save_CFLAGS"
   9196 
   9197 		eval supported=\$$cacheid
   9198 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9199 printf "%s\n" "$supported" >&6; }
   9200 		if test "$supported" = "yes" ; then
   9201 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   9202 			found="yes"
   9203 		fi
   9204 	fi
   9205 
   9206  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   9207 else
   9208 { 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
   9209 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;}
   9210 
   9211 
   9212 
   9213 
   9214 
   9215 
   9216 
   9217 
   9218 
   9219 
   9220 
   9221 
   9222 
   9223 xorg_testset_save_CFLAGS="$CFLAGS"
   9224 
   9225 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9226 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9227 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9228 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9229 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9230 then :
   9231   printf %s "(cached) " >&6
   9232 else case e in #(
   9233   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9234 /* end confdefs.h.  */
   9235 int i;
   9236 _ACEOF
   9237 if ac_fn_c_try_compile "$LINENO"
   9238 then :
   9239   xorg_cv_cc_flag_unknown_warning_option=yes
   9240 else case e in #(
   9241   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9242 esac
   9243 fi
   9244 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9245 esac
   9246 fi
   9247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9248 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9249 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9250 	CFLAGS="$xorg_testset_save_CFLAGS"
   9251 fi
   9252 
   9253 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9254 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9255 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9256 	fi
   9257 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9258 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9259 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9260 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9261 then :
   9262   printf %s "(cached) " >&6
   9263 else case e in #(
   9264   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9265 /* end confdefs.h.  */
   9266 int i;
   9267 _ACEOF
   9268 if ac_fn_c_try_compile "$LINENO"
   9269 then :
   9270   xorg_cv_cc_flag_unused_command_line_argument=yes
   9271 else case e in #(
   9272   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9273 esac
   9274 fi
   9275 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9276 esac
   9277 fi
   9278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9279 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9280 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9281 	CFLAGS="$xorg_testset_save_CFLAGS"
   9282 fi
   9283 
   9284 found="no"
   9285 
   9286 	if test $found = "no" ; then
   9287 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9288 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9289 		fi
   9290 
   9291 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9292 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9293 		fi
   9294 
   9295 		CFLAGS="$CFLAGS -Wimplicit"
   9296 
   9297 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9298 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9299 		cacheid=xorg_cv_cc_flag__Wimplicit
   9300 		if eval test \${$cacheid+y}
   9301 then :
   9302   printf %s "(cached) " >&6
   9303 else case e in #(
   9304   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9305 /* end confdefs.h.  */
   9306 int i;
   9307 int
   9308 main (void)
   9309 {
   9310 
   9311   ;
   9312   return 0;
   9313 }
   9314 _ACEOF
   9315 if ac_fn_c_try_link "$LINENO"
   9316 then :
   9317   eval $cacheid=yes
   9318 else case e in #(
   9319   e) eval $cacheid=no ;;
   9320 esac
   9321 fi
   9322 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9323     conftest$ac_exeext conftest.$ac_ext ;;
   9324 esac
   9325 fi
   9326 
   9327 
   9328 		CFLAGS="$xorg_testset_save_CFLAGS"
   9329 
   9330 		eval supported=\$$cacheid
   9331 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9332 printf "%s\n" "$supported" >&6; }
   9333 		if test "$supported" = "yes" ; then
   9334 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9335 			found="yes"
   9336 		fi
   9337 	fi
   9338 
   9339 
   9340 
   9341 
   9342 
   9343 
   9344 
   9345 
   9346 
   9347 
   9348 
   9349 
   9350 
   9351 
   9352 
   9353 xorg_testset_save_CFLAGS="$CFLAGS"
   9354 
   9355 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9356 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9357 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9358 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9359 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9360 then :
   9361   printf %s "(cached) " >&6
   9362 else case e in #(
   9363   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9364 /* end confdefs.h.  */
   9365 int i;
   9366 _ACEOF
   9367 if ac_fn_c_try_compile "$LINENO"
   9368 then :
   9369   xorg_cv_cc_flag_unknown_warning_option=yes
   9370 else case e in #(
   9371   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9372 esac
   9373 fi
   9374 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9375 esac
   9376 fi
   9377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9378 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9379 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9380 	CFLAGS="$xorg_testset_save_CFLAGS"
   9381 fi
   9382 
   9383 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9384 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9385 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9386 	fi
   9387 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9388 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9389 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9390 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9391 then :
   9392   printf %s "(cached) " >&6
   9393 else case e in #(
   9394   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9395 /* end confdefs.h.  */
   9396 int i;
   9397 _ACEOF
   9398 if ac_fn_c_try_compile "$LINENO"
   9399 then :
   9400   xorg_cv_cc_flag_unused_command_line_argument=yes
   9401 else case e in #(
   9402   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9403 esac
   9404 fi
   9405 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9406 esac
   9407 fi
   9408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9409 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9410 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9411 	CFLAGS="$xorg_testset_save_CFLAGS"
   9412 fi
   9413 
   9414 found="no"
   9415 
   9416 	if test $found = "no" ; then
   9417 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9418 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9419 		fi
   9420 
   9421 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9422 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9423 		fi
   9424 
   9425 		CFLAGS="$CFLAGS -Wnonnull"
   9426 
   9427 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9428 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9429 		cacheid=xorg_cv_cc_flag__Wnonnull
   9430 		if eval test \${$cacheid+y}
   9431 then :
   9432   printf %s "(cached) " >&6
   9433 else case e in #(
   9434   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9435 /* end confdefs.h.  */
   9436 int i;
   9437 int
   9438 main (void)
   9439 {
   9440 
   9441   ;
   9442   return 0;
   9443 }
   9444 _ACEOF
   9445 if ac_fn_c_try_link "$LINENO"
   9446 then :
   9447   eval $cacheid=yes
   9448 else case e in #(
   9449   e) eval $cacheid=no ;;
   9450 esac
   9451 fi
   9452 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9453     conftest$ac_exeext conftest.$ac_ext ;;
   9454 esac
   9455 fi
   9456 
   9457 
   9458 		CFLAGS="$xorg_testset_save_CFLAGS"
   9459 
   9460 		eval supported=\$$cacheid
   9461 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9462 printf "%s\n" "$supported" >&6; }
   9463 		if test "$supported" = "yes" ; then
   9464 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9465 			found="yes"
   9466 		fi
   9467 	fi
   9468 
   9469 
   9470 
   9471 
   9472 
   9473 
   9474 
   9475 
   9476 
   9477 
   9478 
   9479 
   9480 
   9481 
   9482 
   9483 xorg_testset_save_CFLAGS="$CFLAGS"
   9484 
   9485 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9486 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9487 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9488 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9489 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9490 then :
   9491   printf %s "(cached) " >&6
   9492 else case e in #(
   9493   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9494 /* end confdefs.h.  */
   9495 int i;
   9496 _ACEOF
   9497 if ac_fn_c_try_compile "$LINENO"
   9498 then :
   9499   xorg_cv_cc_flag_unknown_warning_option=yes
   9500 else case e in #(
   9501   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9502 esac
   9503 fi
   9504 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9505 esac
   9506 fi
   9507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9508 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9509 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9510 	CFLAGS="$xorg_testset_save_CFLAGS"
   9511 fi
   9512 
   9513 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9514 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9515 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9516 	fi
   9517 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9518 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9519 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9520 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9521 then :
   9522   printf %s "(cached) " >&6
   9523 else case e in #(
   9524   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9525 /* end confdefs.h.  */
   9526 int i;
   9527 _ACEOF
   9528 if ac_fn_c_try_compile "$LINENO"
   9529 then :
   9530   xorg_cv_cc_flag_unused_command_line_argument=yes
   9531 else case e in #(
   9532   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9533 esac
   9534 fi
   9535 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9536 esac
   9537 fi
   9538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9539 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9540 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9541 	CFLAGS="$xorg_testset_save_CFLAGS"
   9542 fi
   9543 
   9544 found="no"
   9545 
   9546 	if test $found = "no" ; then
   9547 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9548 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9549 		fi
   9550 
   9551 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9552 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9553 		fi
   9554 
   9555 		CFLAGS="$CFLAGS -Winit-self"
   9556 
   9557 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9558 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9559 		cacheid=xorg_cv_cc_flag__Winit_self
   9560 		if eval test \${$cacheid+y}
   9561 then :
   9562   printf %s "(cached) " >&6
   9563 else case e in #(
   9564   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9565 /* end confdefs.h.  */
   9566 int i;
   9567 int
   9568 main (void)
   9569 {
   9570 
   9571   ;
   9572   return 0;
   9573 }
   9574 _ACEOF
   9575 if ac_fn_c_try_link "$LINENO"
   9576 then :
   9577   eval $cacheid=yes
   9578 else case e in #(
   9579   e) eval $cacheid=no ;;
   9580 esac
   9581 fi
   9582 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9583     conftest$ac_exeext conftest.$ac_ext ;;
   9584 esac
   9585 fi
   9586 
   9587 
   9588 		CFLAGS="$xorg_testset_save_CFLAGS"
   9589 
   9590 		eval supported=\$$cacheid
   9591 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9592 printf "%s\n" "$supported" >&6; }
   9593 		if test "$supported" = "yes" ; then
   9594 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9595 			found="yes"
   9596 		fi
   9597 	fi
   9598 
   9599 
   9600 
   9601 
   9602 
   9603 
   9604 
   9605 
   9606 
   9607 
   9608 
   9609 
   9610 
   9611 
   9612 
   9613 xorg_testset_save_CFLAGS="$CFLAGS"
   9614 
   9615 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9616 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9617 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9618 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9619 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9620 then :
   9621   printf %s "(cached) " >&6
   9622 else case e in #(
   9623   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9624 /* end confdefs.h.  */
   9625 int i;
   9626 _ACEOF
   9627 if ac_fn_c_try_compile "$LINENO"
   9628 then :
   9629   xorg_cv_cc_flag_unknown_warning_option=yes
   9630 else case e in #(
   9631   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9632 esac
   9633 fi
   9634 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9635 esac
   9636 fi
   9637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9638 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9639 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9640 	CFLAGS="$xorg_testset_save_CFLAGS"
   9641 fi
   9642 
   9643 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9644 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9645 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9646 	fi
   9647 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9648 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9649 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9650 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9651 then :
   9652   printf %s "(cached) " >&6
   9653 else case e in #(
   9654   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9655 /* end confdefs.h.  */
   9656 int i;
   9657 _ACEOF
   9658 if ac_fn_c_try_compile "$LINENO"
   9659 then :
   9660   xorg_cv_cc_flag_unused_command_line_argument=yes
   9661 else case e in #(
   9662   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9663 esac
   9664 fi
   9665 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9666 esac
   9667 fi
   9668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9669 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9670 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9671 	CFLAGS="$xorg_testset_save_CFLAGS"
   9672 fi
   9673 
   9674 found="no"
   9675 
   9676 	if test $found = "no" ; then
   9677 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9678 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9679 		fi
   9680 
   9681 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9682 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9683 		fi
   9684 
   9685 		CFLAGS="$CFLAGS -Wmain"
   9686 
   9687 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9688 printf %s "checking if $CC supports -Wmain... " >&6; }
   9689 		cacheid=xorg_cv_cc_flag__Wmain
   9690 		if eval test \${$cacheid+y}
   9691 then :
   9692   printf %s "(cached) " >&6
   9693 else case e in #(
   9694   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9695 /* end confdefs.h.  */
   9696 int i;
   9697 int
   9698 main (void)
   9699 {
   9700 
   9701   ;
   9702   return 0;
   9703 }
   9704 _ACEOF
   9705 if ac_fn_c_try_link "$LINENO"
   9706 then :
   9707   eval $cacheid=yes
   9708 else case e in #(
   9709   e) eval $cacheid=no ;;
   9710 esac
   9711 fi
   9712 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9713     conftest$ac_exeext conftest.$ac_ext ;;
   9714 esac
   9715 fi
   9716 
   9717 
   9718 		CFLAGS="$xorg_testset_save_CFLAGS"
   9719 
   9720 		eval supported=\$$cacheid
   9721 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9722 printf "%s\n" "$supported" >&6; }
   9723 		if test "$supported" = "yes" ; then
   9724 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9725 			found="yes"
   9726 		fi
   9727 	fi
   9728 
   9729 
   9730 
   9731 
   9732 
   9733 
   9734 
   9735 
   9736 
   9737 
   9738 
   9739 
   9740 
   9741 
   9742 
   9743 xorg_testset_save_CFLAGS="$CFLAGS"
   9744 
   9745 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9746 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9747 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9748 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9749 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9750 then :
   9751   printf %s "(cached) " >&6
   9752 else case e in #(
   9753   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9754 /* end confdefs.h.  */
   9755 int i;
   9756 _ACEOF
   9757 if ac_fn_c_try_compile "$LINENO"
   9758 then :
   9759   xorg_cv_cc_flag_unknown_warning_option=yes
   9760 else case e in #(
   9761   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9762 esac
   9763 fi
   9764 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9765 esac
   9766 fi
   9767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9768 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9769 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9770 	CFLAGS="$xorg_testset_save_CFLAGS"
   9771 fi
   9772 
   9773 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9774 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9775 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9776 	fi
   9777 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9778 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9779 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9780 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9781 then :
   9782   printf %s "(cached) " >&6
   9783 else case e in #(
   9784   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9785 /* end confdefs.h.  */
   9786 int i;
   9787 _ACEOF
   9788 if ac_fn_c_try_compile "$LINENO"
   9789 then :
   9790   xorg_cv_cc_flag_unused_command_line_argument=yes
   9791 else case e in #(
   9792   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9793 esac
   9794 fi
   9795 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9796 esac
   9797 fi
   9798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9799 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9800 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9801 	CFLAGS="$xorg_testset_save_CFLAGS"
   9802 fi
   9803 
   9804 found="no"
   9805 
   9806 	if test $found = "no" ; then
   9807 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9808 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9809 		fi
   9810 
   9811 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9812 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9813 		fi
   9814 
   9815 		CFLAGS="$CFLAGS -Wmissing-braces"
   9816 
   9817 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9818 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9819 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9820 		if eval test \${$cacheid+y}
   9821 then :
   9822   printf %s "(cached) " >&6
   9823 else case e in #(
   9824   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9825 /* end confdefs.h.  */
   9826 int i;
   9827 int
   9828 main (void)
   9829 {
   9830 
   9831   ;
   9832   return 0;
   9833 }
   9834 _ACEOF
   9835 if ac_fn_c_try_link "$LINENO"
   9836 then :
   9837   eval $cacheid=yes
   9838 else case e in #(
   9839   e) eval $cacheid=no ;;
   9840 esac
   9841 fi
   9842 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9843     conftest$ac_exeext conftest.$ac_ext ;;
   9844 esac
   9845 fi
   9846 
   9847 
   9848 		CFLAGS="$xorg_testset_save_CFLAGS"
   9849 
   9850 		eval supported=\$$cacheid
   9851 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9852 printf "%s\n" "$supported" >&6; }
   9853 		if test "$supported" = "yes" ; then
   9854 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9855 			found="yes"
   9856 		fi
   9857 	fi
   9858 
   9859 
   9860 
   9861 
   9862 
   9863 
   9864 
   9865 
   9866 
   9867 
   9868 
   9869 
   9870 
   9871 
   9872 
   9873 xorg_testset_save_CFLAGS="$CFLAGS"
   9874 
   9875 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9876 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9877 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9878 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9879 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9880 then :
   9881   printf %s "(cached) " >&6
   9882 else case e in #(
   9883   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9884 /* end confdefs.h.  */
   9885 int i;
   9886 _ACEOF
   9887 if ac_fn_c_try_compile "$LINENO"
   9888 then :
   9889   xorg_cv_cc_flag_unknown_warning_option=yes
   9890 else case e in #(
   9891   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9892 esac
   9893 fi
   9894 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9895 esac
   9896 fi
   9897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9898 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9899 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9900 	CFLAGS="$xorg_testset_save_CFLAGS"
   9901 fi
   9902 
   9903 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9904 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9905 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9906 	fi
   9907 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9908 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9909 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9910 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9911 then :
   9912   printf %s "(cached) " >&6
   9913 else case e in #(
   9914   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9915 /* end confdefs.h.  */
   9916 int i;
   9917 _ACEOF
   9918 if ac_fn_c_try_compile "$LINENO"
   9919 then :
   9920   xorg_cv_cc_flag_unused_command_line_argument=yes
   9921 else case e in #(
   9922   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9923 esac
   9924 fi
   9925 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9926 esac
   9927 fi
   9928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9929 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9930 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9931 	CFLAGS="$xorg_testset_save_CFLAGS"
   9932 fi
   9933 
   9934 found="no"
   9935 
   9936 	if test $found = "no" ; then
   9937 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9938 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9939 		fi
   9940 
   9941 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9942 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9943 		fi
   9944 
   9945 		CFLAGS="$CFLAGS -Wsequence-point"
   9946 
   9947 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9948 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9949 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9950 		if eval test \${$cacheid+y}
   9951 then :
   9952   printf %s "(cached) " >&6
   9953 else case e in #(
   9954   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9955 /* end confdefs.h.  */
   9956 int i;
   9957 int
   9958 main (void)
   9959 {
   9960 
   9961   ;
   9962   return 0;
   9963 }
   9964 _ACEOF
   9965 if ac_fn_c_try_link "$LINENO"
   9966 then :
   9967   eval $cacheid=yes
   9968 else case e in #(
   9969   e) eval $cacheid=no ;;
   9970 esac
   9971 fi
   9972 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9973     conftest$ac_exeext conftest.$ac_ext ;;
   9974 esac
   9975 fi
   9976 
   9977 
   9978 		CFLAGS="$xorg_testset_save_CFLAGS"
   9979 
   9980 		eval supported=\$$cacheid
   9981 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9982 printf "%s\n" "$supported" >&6; }
   9983 		if test "$supported" = "yes" ; then
   9984 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9985 			found="yes"
   9986 		fi
   9987 	fi
   9988 
   9989 
   9990 
   9991 
   9992 
   9993 
   9994 
   9995 
   9996 
   9997 
   9998 
   9999 
   10000 
   10001 
   10002 
   10003 xorg_testset_save_CFLAGS="$CFLAGS"
   10004 
   10005 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10006 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10007 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10008 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10009 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10010 then :
   10011   printf %s "(cached) " >&6
   10012 else case e in #(
   10013   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10014 /* end confdefs.h.  */
   10015 int i;
   10016 _ACEOF
   10017 if ac_fn_c_try_compile "$LINENO"
   10018 then :
   10019   xorg_cv_cc_flag_unknown_warning_option=yes
   10020 else case e in #(
   10021   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10022 esac
   10023 fi
   10024 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10025 esac
   10026 fi
   10027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10028 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10029 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10030 	CFLAGS="$xorg_testset_save_CFLAGS"
   10031 fi
   10032 
   10033 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10034 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10035 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10036 	fi
   10037 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10038 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10039 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10040 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10041 then :
   10042   printf %s "(cached) " >&6
   10043 else case e in #(
   10044   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10045 /* end confdefs.h.  */
   10046 int i;
   10047 _ACEOF
   10048 if ac_fn_c_try_compile "$LINENO"
   10049 then :
   10050   xorg_cv_cc_flag_unused_command_line_argument=yes
   10051 else case e in #(
   10052   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10053 esac
   10054 fi
   10055 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10056 esac
   10057 fi
   10058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10059 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10060 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10061 	CFLAGS="$xorg_testset_save_CFLAGS"
   10062 fi
   10063 
   10064 found="no"
   10065 
   10066 	if test $found = "no" ; then
   10067 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10068 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10069 		fi
   10070 
   10071 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10072 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10073 		fi
   10074 
   10075 		CFLAGS="$CFLAGS -Wreturn-type"
   10076 
   10077 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   10078 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   10079 		cacheid=xorg_cv_cc_flag__Wreturn_type
   10080 		if eval test \${$cacheid+y}
   10081 then :
   10082   printf %s "(cached) " >&6
   10083 else case e in #(
   10084   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10085 /* end confdefs.h.  */
   10086 int i;
   10087 int
   10088 main (void)
   10089 {
   10090 
   10091   ;
   10092   return 0;
   10093 }
   10094 _ACEOF
   10095 if ac_fn_c_try_link "$LINENO"
   10096 then :
   10097   eval $cacheid=yes
   10098 else case e in #(
   10099   e) eval $cacheid=no ;;
   10100 esac
   10101 fi
   10102 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10103     conftest$ac_exeext conftest.$ac_ext ;;
   10104 esac
   10105 fi
   10106 
   10107 
   10108 		CFLAGS="$xorg_testset_save_CFLAGS"
   10109 
   10110 		eval supported=\$$cacheid
   10111 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10112 printf "%s\n" "$supported" >&6; }
   10113 		if test "$supported" = "yes" ; then
   10114 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   10115 			found="yes"
   10116 		fi
   10117 	fi
   10118 
   10119 
   10120 
   10121 
   10122 
   10123 
   10124 
   10125 
   10126 
   10127 
   10128 
   10129 
   10130 
   10131 
   10132 
   10133 xorg_testset_save_CFLAGS="$CFLAGS"
   10134 
   10135 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10136 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10137 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10138 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10139 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10140 then :
   10141   printf %s "(cached) " >&6
   10142 else case e in #(
   10143   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10144 /* end confdefs.h.  */
   10145 int i;
   10146 _ACEOF
   10147 if ac_fn_c_try_compile "$LINENO"
   10148 then :
   10149   xorg_cv_cc_flag_unknown_warning_option=yes
   10150 else case e in #(
   10151   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10152 esac
   10153 fi
   10154 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10155 esac
   10156 fi
   10157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10158 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10159 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10160 	CFLAGS="$xorg_testset_save_CFLAGS"
   10161 fi
   10162 
   10163 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10164 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10165 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10166 	fi
   10167 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10168 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10169 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10170 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10171 then :
   10172   printf %s "(cached) " >&6
   10173 else case e in #(
   10174   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10175 /* end confdefs.h.  */
   10176 int i;
   10177 _ACEOF
   10178 if ac_fn_c_try_compile "$LINENO"
   10179 then :
   10180   xorg_cv_cc_flag_unused_command_line_argument=yes
   10181 else case e in #(
   10182   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10183 esac
   10184 fi
   10185 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10186 esac
   10187 fi
   10188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10189 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10190 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10191 	CFLAGS="$xorg_testset_save_CFLAGS"
   10192 fi
   10193 
   10194 found="no"
   10195 
   10196 	if test $found = "no" ; then
   10197 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10198 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10199 		fi
   10200 
   10201 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10202 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10203 		fi
   10204 
   10205 		CFLAGS="$CFLAGS -Wtrigraphs"
   10206 
   10207 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   10208 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   10209 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   10210 		if eval test \${$cacheid+y}
   10211 then :
   10212   printf %s "(cached) " >&6
   10213 else case e in #(
   10214   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10215 /* end confdefs.h.  */
   10216 int i;
   10217 int
   10218 main (void)
   10219 {
   10220 
   10221   ;
   10222   return 0;
   10223 }
   10224 _ACEOF
   10225 if ac_fn_c_try_link "$LINENO"
   10226 then :
   10227   eval $cacheid=yes
   10228 else case e in #(
   10229   e) eval $cacheid=no ;;
   10230 esac
   10231 fi
   10232 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10233     conftest$ac_exeext conftest.$ac_ext ;;
   10234 esac
   10235 fi
   10236 
   10237 
   10238 		CFLAGS="$xorg_testset_save_CFLAGS"
   10239 
   10240 		eval supported=\$$cacheid
   10241 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10242 printf "%s\n" "$supported" >&6; }
   10243 		if test "$supported" = "yes" ; then
   10244 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   10245 			found="yes"
   10246 		fi
   10247 	fi
   10248 
   10249 
   10250 
   10251 
   10252 
   10253 
   10254 
   10255 
   10256 
   10257 
   10258 
   10259 
   10260 
   10261 
   10262 
   10263 xorg_testset_save_CFLAGS="$CFLAGS"
   10264 
   10265 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10266 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10267 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10268 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10269 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10270 then :
   10271   printf %s "(cached) " >&6
   10272 else case e in #(
   10273   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10274 /* end confdefs.h.  */
   10275 int i;
   10276 _ACEOF
   10277 if ac_fn_c_try_compile "$LINENO"
   10278 then :
   10279   xorg_cv_cc_flag_unknown_warning_option=yes
   10280 else case e in #(
   10281   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10282 esac
   10283 fi
   10284 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10285 esac
   10286 fi
   10287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10288 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10289 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10290 	CFLAGS="$xorg_testset_save_CFLAGS"
   10291 fi
   10292 
   10293 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10294 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10295 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10296 	fi
   10297 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10298 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10299 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10300 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10301 then :
   10302   printf %s "(cached) " >&6
   10303 else case e in #(
   10304   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10305 /* end confdefs.h.  */
   10306 int i;
   10307 _ACEOF
   10308 if ac_fn_c_try_compile "$LINENO"
   10309 then :
   10310   xorg_cv_cc_flag_unused_command_line_argument=yes
   10311 else case e in #(
   10312   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10313 esac
   10314 fi
   10315 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10316 esac
   10317 fi
   10318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10319 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10320 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10321 	CFLAGS="$xorg_testset_save_CFLAGS"
   10322 fi
   10323 
   10324 found="no"
   10325 
   10326 	if test $found = "no" ; then
   10327 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10328 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10329 		fi
   10330 
   10331 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10332 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10333 		fi
   10334 
   10335 		CFLAGS="$CFLAGS -Warray-bounds"
   10336 
   10337 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10338 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10339 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10340 		if eval test \${$cacheid+y}
   10341 then :
   10342   printf %s "(cached) " >&6
   10343 else case e in #(
   10344   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10345 /* end confdefs.h.  */
   10346 int i;
   10347 int
   10348 main (void)
   10349 {
   10350 
   10351   ;
   10352   return 0;
   10353 }
   10354 _ACEOF
   10355 if ac_fn_c_try_link "$LINENO"
   10356 then :
   10357   eval $cacheid=yes
   10358 else case e in #(
   10359   e) eval $cacheid=no ;;
   10360 esac
   10361 fi
   10362 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10363     conftest$ac_exeext conftest.$ac_ext ;;
   10364 esac
   10365 fi
   10366 
   10367 
   10368 		CFLAGS="$xorg_testset_save_CFLAGS"
   10369 
   10370 		eval supported=\$$cacheid
   10371 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10372 printf "%s\n" "$supported" >&6; }
   10373 		if test "$supported" = "yes" ; then
   10374 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10375 			found="yes"
   10376 		fi
   10377 	fi
   10378 
   10379 
   10380 
   10381 
   10382 
   10383 
   10384 
   10385 
   10386 
   10387 
   10388 
   10389 
   10390 
   10391 
   10392 
   10393 xorg_testset_save_CFLAGS="$CFLAGS"
   10394 
   10395 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10396 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10397 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10398 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10399 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10400 then :
   10401   printf %s "(cached) " >&6
   10402 else case e in #(
   10403   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10404 /* end confdefs.h.  */
   10405 int i;
   10406 _ACEOF
   10407 if ac_fn_c_try_compile "$LINENO"
   10408 then :
   10409   xorg_cv_cc_flag_unknown_warning_option=yes
   10410 else case e in #(
   10411   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10412 esac
   10413 fi
   10414 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10415 esac
   10416 fi
   10417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10418 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10419 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10420 	CFLAGS="$xorg_testset_save_CFLAGS"
   10421 fi
   10422 
   10423 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10424 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10425 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10426 	fi
   10427 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10428 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10429 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10430 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10431 then :
   10432   printf %s "(cached) " >&6
   10433 else case e in #(
   10434   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10435 /* end confdefs.h.  */
   10436 int i;
   10437 _ACEOF
   10438 if ac_fn_c_try_compile "$LINENO"
   10439 then :
   10440   xorg_cv_cc_flag_unused_command_line_argument=yes
   10441 else case e in #(
   10442   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10443 esac
   10444 fi
   10445 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10446 esac
   10447 fi
   10448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10449 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10450 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10451 	CFLAGS="$xorg_testset_save_CFLAGS"
   10452 fi
   10453 
   10454 found="no"
   10455 
   10456 	if test $found = "no" ; then
   10457 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10458 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10459 		fi
   10460 
   10461 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10462 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10463 		fi
   10464 
   10465 		CFLAGS="$CFLAGS -Wwrite-strings"
   10466 
   10467 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10468 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10469 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10470 		if eval test \${$cacheid+y}
   10471 then :
   10472   printf %s "(cached) " >&6
   10473 else case e in #(
   10474   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10475 /* end confdefs.h.  */
   10476 int i;
   10477 int
   10478 main (void)
   10479 {
   10480 
   10481   ;
   10482   return 0;
   10483 }
   10484 _ACEOF
   10485 if ac_fn_c_try_link "$LINENO"
   10486 then :
   10487   eval $cacheid=yes
   10488 else case e in #(
   10489   e) eval $cacheid=no ;;
   10490 esac
   10491 fi
   10492 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10493     conftest$ac_exeext conftest.$ac_ext ;;
   10494 esac
   10495 fi
   10496 
   10497 
   10498 		CFLAGS="$xorg_testset_save_CFLAGS"
   10499 
   10500 		eval supported=\$$cacheid
   10501 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10502 printf "%s\n" "$supported" >&6; }
   10503 		if test "$supported" = "yes" ; then
   10504 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10505 			found="yes"
   10506 		fi
   10507 	fi
   10508 
   10509 
   10510 
   10511 
   10512 
   10513 
   10514 
   10515 
   10516 
   10517 
   10518 
   10519 
   10520 
   10521 
   10522 
   10523 xorg_testset_save_CFLAGS="$CFLAGS"
   10524 
   10525 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10526 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10527 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10528 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10529 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10530 then :
   10531   printf %s "(cached) " >&6
   10532 else case e in #(
   10533   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10534 /* end confdefs.h.  */
   10535 int i;
   10536 _ACEOF
   10537 if ac_fn_c_try_compile "$LINENO"
   10538 then :
   10539   xorg_cv_cc_flag_unknown_warning_option=yes
   10540 else case e in #(
   10541   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10542 esac
   10543 fi
   10544 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10545 esac
   10546 fi
   10547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10548 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10549 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10550 	CFLAGS="$xorg_testset_save_CFLAGS"
   10551 fi
   10552 
   10553 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10554 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10555 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10556 	fi
   10557 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10558 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10559 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10560 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10561 then :
   10562   printf %s "(cached) " >&6
   10563 else case e in #(
   10564   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10565 /* end confdefs.h.  */
   10566 int i;
   10567 _ACEOF
   10568 if ac_fn_c_try_compile "$LINENO"
   10569 then :
   10570   xorg_cv_cc_flag_unused_command_line_argument=yes
   10571 else case e in #(
   10572   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10573 esac
   10574 fi
   10575 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10576 esac
   10577 fi
   10578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10579 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10580 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10581 	CFLAGS="$xorg_testset_save_CFLAGS"
   10582 fi
   10583 
   10584 found="no"
   10585 
   10586 	if test $found = "no" ; then
   10587 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10588 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10589 		fi
   10590 
   10591 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10592 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10593 		fi
   10594 
   10595 		CFLAGS="$CFLAGS -Waddress"
   10596 
   10597 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10598 printf %s "checking if $CC supports -Waddress... " >&6; }
   10599 		cacheid=xorg_cv_cc_flag__Waddress
   10600 		if eval test \${$cacheid+y}
   10601 then :
   10602   printf %s "(cached) " >&6
   10603 else case e in #(
   10604   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10605 /* end confdefs.h.  */
   10606 int i;
   10607 int
   10608 main (void)
   10609 {
   10610 
   10611   ;
   10612   return 0;
   10613 }
   10614 _ACEOF
   10615 if ac_fn_c_try_link "$LINENO"
   10616 then :
   10617   eval $cacheid=yes
   10618 else case e in #(
   10619   e) eval $cacheid=no ;;
   10620 esac
   10621 fi
   10622 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10623     conftest$ac_exeext conftest.$ac_ext ;;
   10624 esac
   10625 fi
   10626 
   10627 
   10628 		CFLAGS="$xorg_testset_save_CFLAGS"
   10629 
   10630 		eval supported=\$$cacheid
   10631 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10632 printf "%s\n" "$supported" >&6; }
   10633 		if test "$supported" = "yes" ; then
   10634 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10635 			found="yes"
   10636 		fi
   10637 	fi
   10638 
   10639 
   10640 
   10641 
   10642 
   10643 
   10644 
   10645 
   10646 
   10647 
   10648 
   10649 
   10650 
   10651 
   10652 
   10653 xorg_testset_save_CFLAGS="$CFLAGS"
   10654 
   10655 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10656 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10657 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10658 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10659 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10660 then :
   10661   printf %s "(cached) " >&6
   10662 else case e in #(
   10663   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10664 /* end confdefs.h.  */
   10665 int i;
   10666 _ACEOF
   10667 if ac_fn_c_try_compile "$LINENO"
   10668 then :
   10669   xorg_cv_cc_flag_unknown_warning_option=yes
   10670 else case e in #(
   10671   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10672 esac
   10673 fi
   10674 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10675 esac
   10676 fi
   10677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10678 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10679 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10680 	CFLAGS="$xorg_testset_save_CFLAGS"
   10681 fi
   10682 
   10683 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10684 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10685 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10686 	fi
   10687 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10688 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10689 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10690 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10691 then :
   10692   printf %s "(cached) " >&6
   10693 else case e in #(
   10694   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10695 /* end confdefs.h.  */
   10696 int i;
   10697 _ACEOF
   10698 if ac_fn_c_try_compile "$LINENO"
   10699 then :
   10700   xorg_cv_cc_flag_unused_command_line_argument=yes
   10701 else case e in #(
   10702   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10703 esac
   10704 fi
   10705 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10706 esac
   10707 fi
   10708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10709 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10710 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10711 	CFLAGS="$xorg_testset_save_CFLAGS"
   10712 fi
   10713 
   10714 found="no"
   10715 
   10716 	if test $found = "no" ; then
   10717 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10718 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10719 		fi
   10720 
   10721 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10722 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10723 		fi
   10724 
   10725 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10726 
   10727 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10728 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10729 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10730 		if eval test \${$cacheid+y}
   10731 then :
   10732   printf %s "(cached) " >&6
   10733 else case e in #(
   10734   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10735 /* end confdefs.h.  */
   10736 int i;
   10737 int
   10738 main (void)
   10739 {
   10740 
   10741   ;
   10742   return 0;
   10743 }
   10744 _ACEOF
   10745 if ac_fn_c_try_link "$LINENO"
   10746 then :
   10747   eval $cacheid=yes
   10748 else case e in #(
   10749   e) eval $cacheid=no ;;
   10750 esac
   10751 fi
   10752 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10753     conftest$ac_exeext conftest.$ac_ext ;;
   10754 esac
   10755 fi
   10756 
   10757 
   10758 		CFLAGS="$xorg_testset_save_CFLAGS"
   10759 
   10760 		eval supported=\$$cacheid
   10761 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10762 printf "%s\n" "$supported" >&6; }
   10763 		if test "$supported" = "yes" ; then
   10764 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10765 			found="yes"
   10766 		fi
   10767 	fi
   10768 
   10769 
   10770 
   10771 
   10772 
   10773 
   10774 
   10775 
   10776 
   10777 
   10778 
   10779 
   10780 
   10781 
   10782 
   10783 xorg_testset_save_CFLAGS="$CFLAGS"
   10784 
   10785 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10786 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10787 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10788 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10789 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10790 then :
   10791   printf %s "(cached) " >&6
   10792 else case e in #(
   10793   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10794 /* end confdefs.h.  */
   10795 int i;
   10796 _ACEOF
   10797 if ac_fn_c_try_compile "$LINENO"
   10798 then :
   10799   xorg_cv_cc_flag_unknown_warning_option=yes
   10800 else case e in #(
   10801   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10802 esac
   10803 fi
   10804 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10805 esac
   10806 fi
   10807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10808 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10809 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10810 	CFLAGS="$xorg_testset_save_CFLAGS"
   10811 fi
   10812 
   10813 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10814 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10815 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10816 	fi
   10817 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10818 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10819 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10820 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10821 then :
   10822   printf %s "(cached) " >&6
   10823 else case e in #(
   10824   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10825 /* end confdefs.h.  */
   10826 int i;
   10827 _ACEOF
   10828 if ac_fn_c_try_compile "$LINENO"
   10829 then :
   10830   xorg_cv_cc_flag_unused_command_line_argument=yes
   10831 else case e in #(
   10832   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10833 esac
   10834 fi
   10835 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10836 esac
   10837 fi
   10838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10839 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10840 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10841 	CFLAGS="$xorg_testset_save_CFLAGS"
   10842 fi
   10843 
   10844 found="no"
   10845 
   10846 	if test $found = "no" ; then
   10847 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10848 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10849 		fi
   10850 
   10851 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10852 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10853 		fi
   10854 
   10855 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10856 
   10857 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10858 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10859 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10860 		if eval test \${$cacheid+y}
   10861 then :
   10862   printf %s "(cached) " >&6
   10863 else case e in #(
   10864   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10865 /* end confdefs.h.  */
   10866 int i;
   10867 int
   10868 main (void)
   10869 {
   10870 
   10871   ;
   10872   return 0;
   10873 }
   10874 _ACEOF
   10875 if ac_fn_c_try_link "$LINENO"
   10876 then :
   10877   eval $cacheid=yes
   10878 else case e in #(
   10879   e) eval $cacheid=no ;;
   10880 esac
   10881 fi
   10882 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10883     conftest$ac_exeext conftest.$ac_ext ;;
   10884 esac
   10885 fi
   10886 
   10887 
   10888 		CFLAGS="$xorg_testset_save_CFLAGS"
   10889 
   10890 		eval supported=\$$cacheid
   10891 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10892 printf "%s\n" "$supported" >&6; }
   10893 		if test "$supported" = "yes" ; then
   10894 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10895 			found="yes"
   10896 		fi
   10897 	fi
   10898 
   10899 
   10900 fi
   10901 
   10902 
   10903 
   10904 
   10905 
   10906 
   10907 
   10908 		CWARNFLAGS="$BASE_CFLAGS"
   10909 		if  test "x$GCC" = xyes ; then
   10910 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10911 		fi
   10912 
   10913 
   10914 
   10915 
   10916 
   10917 
   10918 
   10919 
   10920 # Check whether --enable-strict-compilation was given.
   10921 if test ${enable_strict_compilation+y}
   10922 then :
   10923   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10924 else case e in #(
   10925   e) STRICT_COMPILE=no ;;
   10926 esac
   10927 fi
   10928 
   10929 
   10930 
   10931 
   10932 
   10933 
   10934 STRICT_CFLAGS=""
   10935 
   10936 
   10937 
   10938 
   10939 
   10940 
   10941 
   10942 
   10943 
   10944 
   10945 
   10946 
   10947 
   10948 xorg_testset_save_CFLAGS="$CFLAGS"
   10949 
   10950 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10951 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10952 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10953 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10954 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10955 then :
   10956   printf %s "(cached) " >&6
   10957 else case e in #(
   10958   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10959 /* end confdefs.h.  */
   10960 int i;
   10961 _ACEOF
   10962 if ac_fn_c_try_compile "$LINENO"
   10963 then :
   10964   xorg_cv_cc_flag_unknown_warning_option=yes
   10965 else case e in #(
   10966   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10967 esac
   10968 fi
   10969 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10970 esac
   10971 fi
   10972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10973 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10974 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10975 	CFLAGS="$xorg_testset_save_CFLAGS"
   10976 fi
   10977 
   10978 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10979 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10980 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10981 	fi
   10982 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10983 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10984 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10985 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10986 then :
   10987   printf %s "(cached) " >&6
   10988 else case e in #(
   10989   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10990 /* end confdefs.h.  */
   10991 int i;
   10992 _ACEOF
   10993 if ac_fn_c_try_compile "$LINENO"
   10994 then :
   10995   xorg_cv_cc_flag_unused_command_line_argument=yes
   10996 else case e in #(
   10997   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10998 esac
   10999 fi
   11000 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11001 esac
   11002 fi
   11003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11004 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11005 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11006 	CFLAGS="$xorg_testset_save_CFLAGS"
   11007 fi
   11008 
   11009 found="no"
   11010 
   11011 	if test $found = "no" ; then
   11012 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11013 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11014 		fi
   11015 
   11016 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11017 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11018 		fi
   11019 
   11020 		CFLAGS="$CFLAGS -pedantic"
   11021 
   11022 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   11023 printf %s "checking if $CC supports -pedantic... " >&6; }
   11024 		cacheid=xorg_cv_cc_flag__pedantic
   11025 		if eval test \${$cacheid+y}
   11026 then :
   11027   printf %s "(cached) " >&6
   11028 else case e in #(
   11029   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11030 /* end confdefs.h.  */
   11031 int i;
   11032 int
   11033 main (void)
   11034 {
   11035 
   11036   ;
   11037   return 0;
   11038 }
   11039 _ACEOF
   11040 if ac_fn_c_try_link "$LINENO"
   11041 then :
   11042   eval $cacheid=yes
   11043 else case e in #(
   11044   e) eval $cacheid=no ;;
   11045 esac
   11046 fi
   11047 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11048     conftest$ac_exeext conftest.$ac_ext ;;
   11049 esac
   11050 fi
   11051 
   11052 
   11053 		CFLAGS="$xorg_testset_save_CFLAGS"
   11054 
   11055 		eval supported=\$$cacheid
   11056 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11057 printf "%s\n" "$supported" >&6; }
   11058 		if test "$supported" = "yes" ; then
   11059 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   11060 			found="yes"
   11061 		fi
   11062 	fi
   11063 
   11064 
   11065 
   11066 
   11067 
   11068 
   11069 
   11070 
   11071 
   11072 
   11073 
   11074 
   11075 
   11076 
   11077 
   11078 xorg_testset_save_CFLAGS="$CFLAGS"
   11079 
   11080 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11081 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11082 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11083 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11084 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11085 then :
   11086   printf %s "(cached) " >&6
   11087 else case e in #(
   11088   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11089 /* end confdefs.h.  */
   11090 int i;
   11091 _ACEOF
   11092 if ac_fn_c_try_compile "$LINENO"
   11093 then :
   11094   xorg_cv_cc_flag_unknown_warning_option=yes
   11095 else case e in #(
   11096   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11097 esac
   11098 fi
   11099 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11100 esac
   11101 fi
   11102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11103 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11104 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11105 	CFLAGS="$xorg_testset_save_CFLAGS"
   11106 fi
   11107 
   11108 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11109 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11110 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11111 	fi
   11112 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11113 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11114 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11115 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11116 then :
   11117   printf %s "(cached) " >&6
   11118 else case e in #(
   11119   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11120 /* end confdefs.h.  */
   11121 int i;
   11122 _ACEOF
   11123 if ac_fn_c_try_compile "$LINENO"
   11124 then :
   11125   xorg_cv_cc_flag_unused_command_line_argument=yes
   11126 else case e in #(
   11127   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11128 esac
   11129 fi
   11130 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11131 esac
   11132 fi
   11133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11134 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11135 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11136 	CFLAGS="$xorg_testset_save_CFLAGS"
   11137 fi
   11138 
   11139 found="no"
   11140 
   11141 	if test $found = "no" ; then
   11142 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11143 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11144 		fi
   11145 
   11146 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11147 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11148 		fi
   11149 
   11150 		CFLAGS="$CFLAGS -Werror"
   11151 
   11152 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   11153 printf %s "checking if $CC supports -Werror... " >&6; }
   11154 		cacheid=xorg_cv_cc_flag__Werror
   11155 		if eval test \${$cacheid+y}
   11156 then :
   11157   printf %s "(cached) " >&6
   11158 else case e in #(
   11159   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11160 /* end confdefs.h.  */
   11161 int i;
   11162 int
   11163 main (void)
   11164 {
   11165 
   11166   ;
   11167   return 0;
   11168 }
   11169 _ACEOF
   11170 if ac_fn_c_try_link "$LINENO"
   11171 then :
   11172   eval $cacheid=yes
   11173 else case e in #(
   11174   e) eval $cacheid=no ;;
   11175 esac
   11176 fi
   11177 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11178     conftest$ac_exeext conftest.$ac_ext ;;
   11179 esac
   11180 fi
   11181 
   11182 
   11183 		CFLAGS="$xorg_testset_save_CFLAGS"
   11184 
   11185 		eval supported=\$$cacheid
   11186 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11187 printf "%s\n" "$supported" >&6; }
   11188 		if test "$supported" = "yes" ; then
   11189 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   11190 			found="yes"
   11191 		fi
   11192 	fi
   11193 
   11194 	if test $found = "no" ; then
   11195 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11196 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11197 		fi
   11198 
   11199 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11200 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11201 		fi
   11202 
   11203 		CFLAGS="$CFLAGS -errwarn"
   11204 
   11205 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   11206 printf %s "checking if $CC supports -errwarn... " >&6; }
   11207 		cacheid=xorg_cv_cc_flag__errwarn
   11208 		if eval test \${$cacheid+y}
   11209 then :
   11210   printf %s "(cached) " >&6
   11211 else case e in #(
   11212   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11213 /* end confdefs.h.  */
   11214 int i;
   11215 int
   11216 main (void)
   11217 {
   11218 
   11219   ;
   11220   return 0;
   11221 }
   11222 _ACEOF
   11223 if ac_fn_c_try_link "$LINENO"
   11224 then :
   11225   eval $cacheid=yes
   11226 else case e in #(
   11227   e) eval $cacheid=no ;;
   11228 esac
   11229 fi
   11230 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11231     conftest$ac_exeext conftest.$ac_ext ;;
   11232 esac
   11233 fi
   11234 
   11235 
   11236 		CFLAGS="$xorg_testset_save_CFLAGS"
   11237 
   11238 		eval supported=\$$cacheid
   11239 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11240 printf "%s\n" "$supported" >&6; }
   11241 		if test "$supported" = "yes" ; then
   11242 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   11243 			found="yes"
   11244 		fi
   11245 	fi
   11246 
   11247 
   11248 
   11249 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   11250 # activate it with -Werror, so we add it here explicitly.
   11251 
   11252 
   11253 
   11254 
   11255 
   11256 
   11257 
   11258 
   11259 
   11260 
   11261 
   11262 
   11263 
   11264 xorg_testset_save_CFLAGS="$CFLAGS"
   11265 
   11266 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11267 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11268 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11269 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11270 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11271 then :
   11272   printf %s "(cached) " >&6
   11273 else case e in #(
   11274   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11275 /* end confdefs.h.  */
   11276 int i;
   11277 _ACEOF
   11278 if ac_fn_c_try_compile "$LINENO"
   11279 then :
   11280   xorg_cv_cc_flag_unknown_warning_option=yes
   11281 else case e in #(
   11282   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11283 esac
   11284 fi
   11285 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11286 esac
   11287 fi
   11288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11289 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11290 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11291 	CFLAGS="$xorg_testset_save_CFLAGS"
   11292 fi
   11293 
   11294 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11295 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11296 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11297 	fi
   11298 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11299 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11300 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11301 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11302 then :
   11303   printf %s "(cached) " >&6
   11304 else case e in #(
   11305   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11306 /* end confdefs.h.  */
   11307 int i;
   11308 _ACEOF
   11309 if ac_fn_c_try_compile "$LINENO"
   11310 then :
   11311   xorg_cv_cc_flag_unused_command_line_argument=yes
   11312 else case e in #(
   11313   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11314 esac
   11315 fi
   11316 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11317 esac
   11318 fi
   11319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11320 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11321 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11322 	CFLAGS="$xorg_testset_save_CFLAGS"
   11323 fi
   11324 
   11325 found="no"
   11326 
   11327 	if test $found = "no" ; then
   11328 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11329 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11330 		fi
   11331 
   11332 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11333 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11334 		fi
   11335 
   11336 		CFLAGS="$CFLAGS -Werror=attributes"
   11337 
   11338 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11339 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11340 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11341 		if eval test \${$cacheid+y}
   11342 then :
   11343   printf %s "(cached) " >&6
   11344 else case e in #(
   11345   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11346 /* end confdefs.h.  */
   11347 int i;
   11348 int
   11349 main (void)
   11350 {
   11351 
   11352   ;
   11353   return 0;
   11354 }
   11355 _ACEOF
   11356 if ac_fn_c_try_link "$LINENO"
   11357 then :
   11358   eval $cacheid=yes
   11359 else case e in #(
   11360   e) eval $cacheid=no ;;
   11361 esac
   11362 fi
   11363 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11364     conftest$ac_exeext conftest.$ac_ext ;;
   11365 esac
   11366 fi
   11367 
   11368 
   11369 		CFLAGS="$xorg_testset_save_CFLAGS"
   11370 
   11371 		eval supported=\$$cacheid
   11372 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11373 printf "%s\n" "$supported" >&6; }
   11374 		if test "$supported" = "yes" ; then
   11375 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11376 			found="yes"
   11377 		fi
   11378 	fi
   11379 
   11380 
   11381 
   11382 if test "x$STRICT_COMPILE" = "xyes"; then
   11383     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11384     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11385 fi
   11386 
   11387 
   11388 
   11389 
   11390 
   11391 
   11392 
   11393 
   11394 cat >>confdefs.h <<_ACEOF
   11395 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11396 _ACEOF
   11397 
   11398 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11399 	if test "x$PVM" = "x"; then
   11400 		PVM="0"
   11401 	fi
   11402 
   11403 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11404 
   11405 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11406 	if test "x$PVP" = "x"; then
   11407 		PVP="0"
   11408 	fi
   11409 
   11410 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11411 
   11412 
   11413 
   11414 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11415 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11416 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11417 touch \$(top_srcdir)/ChangeLog; \
   11418 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11419 
   11420 
   11421 
   11422 
   11423 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11424 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11425 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11426 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11427 touch \$(top_srcdir)/INSTALL; \
   11428 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11429 
   11430 
   11431 
   11432 
   11433 
   11434 
   11435 case $host_os in
   11436     solaris*)
   11437         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11438         # check for a man page file found in later versions that use
   11439         # traditional section numbers instead
   11440         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11441 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11442 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11443 then :
   11444   printf %s "(cached) " >&6
   11445 else case e in #(
   11446   e) test "$cross_compiling" = yes &&
   11447   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11448 if test -r "/usr/share/man/man7/attributes.7"; then
   11449   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11450 else
   11451   ac_cv_file__usr_share_man_man7_attributes_7=no
   11452 fi ;;
   11453 esac
   11454 fi
   11455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11456 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11457 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11458 then :
   11459   SYSV_MAN_SECTIONS=false
   11460 else case e in #(
   11461   e) SYSV_MAN_SECTIONS=true ;;
   11462 esac
   11463 fi
   11464 
   11465         ;;
   11466     *) SYSV_MAN_SECTIONS=false ;;
   11467 esac
   11468 
   11469 if test x$APP_MAN_SUFFIX = x    ; then
   11470     APP_MAN_SUFFIX=1
   11471 fi
   11472 if test x$APP_MAN_DIR = x    ; then
   11473     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11474 fi
   11475 
   11476 if test x$LIB_MAN_SUFFIX = x    ; then
   11477     LIB_MAN_SUFFIX=3
   11478 fi
   11479 if test x$LIB_MAN_DIR = x    ; then
   11480     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11481 fi
   11482 
   11483 if test x$FILE_MAN_SUFFIX = x    ; then
   11484     case $SYSV_MAN_SECTIONS in
   11485 	true)				FILE_MAN_SUFFIX=4  ;;
   11486 	*)				FILE_MAN_SUFFIX=5  ;;
   11487     esac
   11488 fi
   11489 if test x$FILE_MAN_DIR = x    ; then
   11490     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11491 fi
   11492 
   11493 if test x$MISC_MAN_SUFFIX = x    ; then
   11494     case $SYSV_MAN_SECTIONS in
   11495 	true)				MISC_MAN_SUFFIX=5  ;;
   11496 	*)				MISC_MAN_SUFFIX=7  ;;
   11497     esac
   11498 fi
   11499 if test x$MISC_MAN_DIR = x    ; then
   11500     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11501 fi
   11502 
   11503 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11504     case $SYSV_MAN_SECTIONS in
   11505 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11506 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11507     esac
   11508 fi
   11509 if test x$DRIVER_MAN_DIR = x    ; then
   11510     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11511 fi
   11512 
   11513 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11514     case $SYSV_MAN_SECTIONS in
   11515 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11516 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11517     esac
   11518 fi
   11519 if test x$ADMIN_MAN_DIR = x    ; then
   11520     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11521 fi
   11522 
   11523 
   11524 
   11525 
   11526 
   11527 
   11528 
   11529 
   11530 
   11531 
   11532 
   11533 
   11534 
   11535 
   11536 
   11537 XORG_MAN_PAGE="X Version 11"
   11538 
   11539 MAN_SUBSTS="\
   11540 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11541 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11542 	-e 's|__xservername__|Xorg|g' \
   11543 	-e 's|__xconfigfile__|xorg.conf|g' \
   11544 	-e 's|__projectroot__|\$(prefix)|g' \
   11545 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11546 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11547 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11548 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11549 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11550 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11551 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11552 
   11553 
   11554 
   11555 # Check whether --enable-silent-rules was given.
   11556 if test ${enable_silent_rules+y}
   11557 then :
   11558   enableval=$enable_silent_rules;
   11559 fi
   11560 
   11561 case $enable_silent_rules in # (((
   11562   yes) AM_DEFAULT_VERBOSITY=0;;
   11563    no) AM_DEFAULT_VERBOSITY=1;;
   11564     *) AM_DEFAULT_VERBOSITY=0;;
   11565 esac
   11566 am_make=${MAKE-make}
   11567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11568 printf %s "checking whether $am_make supports nested variables... " >&6; }
   11569 if test ${am_cv_make_support_nested_variables+y}
   11570 then :
   11571   printf %s "(cached) " >&6
   11572 else case e in #(
   11573   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   11574 BAR0=false
   11575 BAR1=true
   11576 V=1
   11577 am__doit:
   11578 	@$(TRUE)
   11579 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11580   am_cv_make_support_nested_variables=yes
   11581 else
   11582   am_cv_make_support_nested_variables=no
   11583 fi ;;
   11584 esac
   11585 fi
   11586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11587 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   11588 if test $am_cv_make_support_nested_variables = yes; then
   11589     AM_V='$(V)'
   11590   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11591 else
   11592   AM_V=$AM_DEFAULT_VERBOSITY
   11593   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11594 fi
   11595 AM_BACKSLASH='\'
   11596 
   11597 
   11598 
   11599 
   11600 # Initialize libtool
   11601 case `pwd` in
   11602   *\ * | *\	*)
   11603     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   11604 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   11605 esac
   11606 
   11607 
   11608 
   11609 macro_version='2.4.7'
   11610 macro_revision='2.4.7'
   11611 
   11612 
   11613 
   11614 
   11615 
   11616 
   11617 
   11618 
   11619 
   11620 
   11621 
   11622 
   11623 
   11624 
   11625 ltmain=$ac_aux_dir/ltmain.sh
   11626 
   11627 # Backslashify metacharacters that are still active within
   11628 # double-quoted strings.
   11629 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   11630 
   11631 # Same as above, but do not quote variable references.
   11632 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   11633 
   11634 # Sed substitution to delay expansion of an escaped shell variable in a
   11635 # double_quote_subst'ed string.
   11636 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   11637 
   11638 # Sed substitution to delay expansion of an escaped single quote.
   11639 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   11640 
   11641 # Sed substitution to avoid accidental globbing in evaled expressions
   11642 no_glob_subst='s/\*/\\\*/g'
   11643 
   11644 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11645 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   11646 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   11647 
   11648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   11649 printf %s "checking how to print strings... " >&6; }
   11650 # Test print first, because it will be a builtin if present.
   11651 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   11652    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   11653   ECHO='print -r --'
   11654 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   11655   ECHO='printf %s\n'
   11656 else
   11657   # Use this function as a fallback that always works.
   11658   func_fallback_echo ()
   11659   {
   11660     eval 'cat <<_LTECHO_EOF
   11661 $1
   11662 _LTECHO_EOF'
   11663   }
   11664   ECHO='func_fallback_echo'
   11665 fi
   11666 
   11667 # func_echo_all arg...
   11668 # Invoke $ECHO with all args, space-separated.
   11669 func_echo_all ()
   11670 {
   11671     $ECHO ""
   11672 }
   11673 
   11674 case $ECHO in
   11675   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   11676 printf "%s\n" "printf" >&6; } ;;
   11677   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   11678 printf "%s\n" "print -r" >&6; } ;;
   11679   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   11680 printf "%s\n" "cat" >&6; } ;;
   11681 esac
   11682 
   11683 
   11684 
   11685 
   11686 
   11687 
   11688 
   11689 
   11690 
   11691 
   11692 
   11693 
   11694 
   11695 
   11696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   11697 printf %s "checking for a sed that does not truncate output... " >&6; }
   11698 if test ${ac_cv_path_SED+y}
   11699 then :
   11700   printf %s "(cached) " >&6
   11701 else case e in #(
   11702   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   11703      for ac_i in 1 2 3 4 5 6 7; do
   11704        ac_script="$ac_script$as_nl$ac_script"
   11705      done
   11706      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   11707      { ac_script=; unset ac_script;}
   11708      if test -z "$SED"; then
   11709   ac_path_SED_found=false
   11710   # Loop through the user's path and test for each of PROGNAME-LIST
   11711   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11712 for as_dir in $PATH
   11713 do
   11714   IFS=$as_save_IFS
   11715   case $as_dir in #(((
   11716     '') as_dir=./ ;;
   11717     */) ;;
   11718     *) as_dir=$as_dir/ ;;
   11719   esac
   11720     for ac_prog in sed gsed
   11721    do
   11722     for ac_exec_ext in '' $ac_executable_extensions; do
   11723       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   11724       as_fn_executable_p "$ac_path_SED" || continue
   11725 # Check for GNU ac_path_SED and select it if it is found.
   11726   # Check for GNU $ac_path_SED
   11727 case `"$ac_path_SED" --version 2>&1` in #(
   11728 *GNU*)
   11729   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   11730 #(
   11731 *)
   11732   ac_count=0
   11733   printf %s 0123456789 >"conftest.in"
   11734   while :
   11735   do
   11736     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11737     mv "conftest.tmp" "conftest.in"
   11738     cp "conftest.in" "conftest.nl"
   11739     printf "%s\n" '' >> "conftest.nl"
   11740     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11741     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11742     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11743     if test $ac_count -gt ${ac_path_SED_max-0}; then
   11744       # Best one so far, save it but keep looking for a better one
   11745       ac_cv_path_SED="$ac_path_SED"
   11746       ac_path_SED_max=$ac_count
   11747     fi
   11748     # 10*(2^10) chars as input seems more than enough
   11749     test $ac_count -gt 10 && break
   11750   done
   11751   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11752 esac
   11753 
   11754       $ac_path_SED_found && break 3
   11755     done
   11756   done
   11757   done
   11758 IFS=$as_save_IFS
   11759   if test -z "$ac_cv_path_SED"; then
   11760     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   11761   fi
   11762 else
   11763   ac_cv_path_SED=$SED
   11764 fi
   11765  ;;
   11766 esac
   11767 fi
   11768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   11769 printf "%s\n" "$ac_cv_path_SED" >&6; }
   11770  SED="$ac_cv_path_SED"
   11771   rm -f conftest.sed
   11772 
   11773 test -z "$SED" && SED=sed
   11774 Xsed="$SED -e 1s/^X//"
   11775 
   11776 
   11777 
   11778 
   11779 
   11780 
   11781 
   11782 
   11783 
   11784 
   11785 
   11786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   11787 printf %s "checking for grep that handles long lines and -e... " >&6; }
   11788 if test ${ac_cv_path_GREP+y}
   11789 then :
   11790   printf %s "(cached) " >&6
   11791 else case e in #(
   11792   e) if test -z "$GREP"; then
   11793   ac_path_GREP_found=false
   11794   # Loop through the user's path and test for each of PROGNAME-LIST
   11795   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11796 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11797 do
   11798   IFS=$as_save_IFS
   11799   case $as_dir in #(((
   11800     '') as_dir=./ ;;
   11801     */) ;;
   11802     *) as_dir=$as_dir/ ;;
   11803   esac
   11804     for ac_prog in grep ggrep
   11805    do
   11806     for ac_exec_ext in '' $ac_executable_extensions; do
   11807       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   11808       as_fn_executable_p "$ac_path_GREP" || continue
   11809 # Check for GNU ac_path_GREP and select it if it is found.
   11810   # Check for GNU $ac_path_GREP
   11811 case `"$ac_path_GREP" --version 2>&1` in #(
   11812 *GNU*)
   11813   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   11814 #(
   11815 *)
   11816   ac_count=0
   11817   printf %s 0123456789 >"conftest.in"
   11818   while :
   11819   do
   11820     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11821     mv "conftest.tmp" "conftest.in"
   11822     cp "conftest.in" "conftest.nl"
   11823     printf "%s\n" 'GREP' >> "conftest.nl"
   11824     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11825     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11826     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11827     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   11828       # Best one so far, save it but keep looking for a better one
   11829       ac_cv_path_GREP="$ac_path_GREP"
   11830       ac_path_GREP_max=$ac_count
   11831     fi
   11832     # 10*(2^10) chars as input seems more than enough
   11833     test $ac_count -gt 10 && break
   11834   done
   11835   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11836 esac
   11837 
   11838       $ac_path_GREP_found && break 3
   11839     done
   11840   done
   11841   done
   11842 IFS=$as_save_IFS
   11843   if test -z "$ac_cv_path_GREP"; then
   11844     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11845   fi
   11846 else
   11847   ac_cv_path_GREP=$GREP
   11848 fi
   11849  ;;
   11850 esac
   11851 fi
   11852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   11853 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   11854  GREP="$ac_cv_path_GREP"
   11855 
   11856 
   11857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   11858 printf %s "checking for egrep... " >&6; }
   11859 if test ${ac_cv_path_EGREP+y}
   11860 then :
   11861   printf %s "(cached) " >&6
   11862 else case e in #(
   11863   e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   11864    then ac_cv_path_EGREP="$GREP -E"
   11865    else
   11866      if test -z "$EGREP"; then
   11867   ac_path_EGREP_found=false
   11868   # Loop through the user's path and test for each of PROGNAME-LIST
   11869   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11870 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11871 do
   11872   IFS=$as_save_IFS
   11873   case $as_dir in #(((
   11874     '') as_dir=./ ;;
   11875     */) ;;
   11876     *) as_dir=$as_dir/ ;;
   11877   esac
   11878     for ac_prog in egrep
   11879    do
   11880     for ac_exec_ext in '' $ac_executable_extensions; do
   11881       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   11882       as_fn_executable_p "$ac_path_EGREP" || continue
   11883 # Check for GNU ac_path_EGREP and select it if it is found.
   11884   # Check for GNU $ac_path_EGREP
   11885 case `"$ac_path_EGREP" --version 2>&1` in #(
   11886 *GNU*)
   11887   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   11888 #(
   11889 *)
   11890   ac_count=0
   11891   printf %s 0123456789 >"conftest.in"
   11892   while :
   11893   do
   11894     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11895     mv "conftest.tmp" "conftest.in"
   11896     cp "conftest.in" "conftest.nl"
   11897     printf "%s\n" 'EGREP' >> "conftest.nl"
   11898     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11899     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11900     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11901     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   11902       # Best one so far, save it but keep looking for a better one
   11903       ac_cv_path_EGREP="$ac_path_EGREP"
   11904       ac_path_EGREP_max=$ac_count
   11905     fi
   11906     # 10*(2^10) chars as input seems more than enough
   11907     test $ac_count -gt 10 && break
   11908   done
   11909   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11910 esac
   11911 
   11912       $ac_path_EGREP_found && break 3
   11913     done
   11914   done
   11915   done
   11916 IFS=$as_save_IFS
   11917   if test -z "$ac_cv_path_EGREP"; then
   11918     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11919   fi
   11920 else
   11921   ac_cv_path_EGREP=$EGREP
   11922 fi
   11923 
   11924    fi ;;
   11925 esac
   11926 fi
   11927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   11928 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   11929  EGREP="$ac_cv_path_EGREP"
   11930 
   11931          EGREP_TRADITIONAL=$EGREP
   11932  ac_cv_path_EGREP_TRADITIONAL=$EGREP
   11933 
   11934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   11935 printf %s "checking for fgrep... " >&6; }
   11936 if test ${ac_cv_path_FGREP+y}
   11937 then :
   11938   printf %s "(cached) " >&6
   11939 else case e in #(
   11940   e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   11941    then ac_cv_path_FGREP="$GREP -F"
   11942    else
   11943      if test -z "$FGREP"; then
   11944   ac_path_FGREP_found=false
   11945   # Loop through the user's path and test for each of PROGNAME-LIST
   11946   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11947 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11948 do
   11949   IFS=$as_save_IFS
   11950   case $as_dir in #(((
   11951     '') as_dir=./ ;;
   11952     */) ;;
   11953     *) as_dir=$as_dir/ ;;
   11954   esac
   11955     for ac_prog in fgrep
   11956    do
   11957     for ac_exec_ext in '' $ac_executable_extensions; do
   11958       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   11959       as_fn_executable_p "$ac_path_FGREP" || continue
   11960 # Check for GNU ac_path_FGREP and select it if it is found.
   11961   # Check for GNU $ac_path_FGREP
   11962 case `"$ac_path_FGREP" --version 2>&1` in #(
   11963 *GNU*)
   11964   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   11965 #(
   11966 *)
   11967   ac_count=0
   11968   printf %s 0123456789 >"conftest.in"
   11969   while :
   11970   do
   11971     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11972     mv "conftest.tmp" "conftest.in"
   11973     cp "conftest.in" "conftest.nl"
   11974     printf "%s\n" 'FGREP' >> "conftest.nl"
   11975     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11976     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11977     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11978     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   11979       # Best one so far, save it but keep looking for a better one
   11980       ac_cv_path_FGREP="$ac_path_FGREP"
   11981       ac_path_FGREP_max=$ac_count
   11982     fi
   11983     # 10*(2^10) chars as input seems more than enough
   11984     test $ac_count -gt 10 && break
   11985   done
   11986   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11987 esac
   11988 
   11989       $ac_path_FGREP_found && break 3
   11990     done
   11991   done
   11992   done
   11993 IFS=$as_save_IFS
   11994   if test -z "$ac_cv_path_FGREP"; then
   11995     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11996   fi
   11997 else
   11998   ac_cv_path_FGREP=$FGREP
   11999 fi
   12000 
   12001    fi ;;
   12002 esac
   12003 fi
   12004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   12005 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   12006  FGREP="$ac_cv_path_FGREP"
   12007 
   12008 
   12009 test -z "$GREP" && GREP=grep
   12010 
   12011 
   12012 
   12013 
   12014 
   12015 
   12016 
   12017 
   12018 
   12019 
   12020 
   12021 
   12022 
   12023 
   12024 
   12025 
   12026 
   12027 
   12028 
   12029 # Check whether --with-gnu-ld was given.
   12030 if test ${with_gnu_ld+y}
   12031 then :
   12032   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   12033 else case e in #(
   12034   e) with_gnu_ld=no ;;
   12035 esac
   12036 fi
   12037 
   12038 ac_prog=ld
   12039 if test yes = "$GCC"; then
   12040   # Check if gcc -print-prog-name=ld gives a path.
   12041   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   12042 printf %s "checking for ld used by $CC... " >&6; }
   12043   case $host in
   12044   *-*-mingw*)
   12045     # gcc leaves a trailing carriage return, which upsets mingw
   12046     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   12047   *)
   12048     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   12049   esac
   12050   case $ac_prog in
   12051     # Accept absolute paths.
   12052     [\\/]* | ?:[\\/]*)
   12053       re_direlt='/[^/][^/]*/\.\./'
   12054       # Canonicalize the pathname of ld
   12055       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   12056       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   12057 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   12058       done
   12059       test -z "$LD" && LD=$ac_prog
   12060       ;;
   12061   "")
   12062     # If it fails, then pretend we aren't using GCC.
   12063     ac_prog=ld
   12064     ;;
   12065   *)
   12066     # If it is relative, then search for the first ld in PATH.
   12067     with_gnu_ld=unknown
   12068     ;;
   12069   esac
   12070 elif test yes = "$with_gnu_ld"; then
   12071   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   12072 printf %s "checking for GNU ld... " >&6; }
   12073 else
   12074   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   12075 printf %s "checking for non-GNU ld... " >&6; }
   12076 fi
   12077 if test ${lt_cv_path_LD+y}
   12078 then :
   12079   printf %s "(cached) " >&6
   12080 else case e in #(
   12081   e) if test -z "$LD"; then
   12082   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   12083   for ac_dir in $PATH; do
   12084     IFS=$lt_save_ifs
   12085     test -z "$ac_dir" && ac_dir=.
   12086     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   12087       lt_cv_path_LD=$ac_dir/$ac_prog
   12088       # Check to see if the program is GNU ld.  I'd rather use --version,
   12089       # but apparently some variants of GNU ld only accept -v.
   12090       # Break only if it was the GNU/non-GNU ld that we prefer.
   12091       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   12092       *GNU* | *'with BFD'*)
   12093 	test no != "$with_gnu_ld" && break
   12094 	;;
   12095       *)
   12096 	test yes != "$with_gnu_ld" && break
   12097 	;;
   12098       esac
   12099     fi
   12100   done
   12101   IFS=$lt_save_ifs
   12102 else
   12103   lt_cv_path_LD=$LD # Let the user override the test with a path.
   12104 fi ;;
   12105 esac
   12106 fi
   12107 
   12108 LD=$lt_cv_path_LD
   12109 if test -n "$LD"; then
   12110   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   12111 printf "%s\n" "$LD" >&6; }
   12112 else
   12113   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12114 printf "%s\n" "no" >&6; }
   12115 fi
   12116 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   12117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   12118 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   12119 if test ${lt_cv_prog_gnu_ld+y}
   12120 then :
   12121   printf %s "(cached) " >&6
   12122 else case e in #(
   12123   e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
   12124 case `$LD -v 2>&1 </dev/null` in
   12125 *GNU* | *'with BFD'*)
   12126   lt_cv_prog_gnu_ld=yes
   12127   ;;
   12128 *)
   12129   lt_cv_prog_gnu_ld=no
   12130   ;;
   12131 esac ;;
   12132 esac
   12133 fi
   12134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   12135 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   12136 with_gnu_ld=$lt_cv_prog_gnu_ld
   12137 
   12138 
   12139 
   12140 
   12141 
   12142 
   12143 
   12144 
   12145 
   12146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   12147 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   12148 if test ${lt_cv_path_NM+y}
   12149 then :
   12150   printf %s "(cached) " >&6
   12151 else case e in #(
   12152   e) if test -n "$NM"; then
   12153   # Let the user override the test.
   12154   lt_cv_path_NM=$NM
   12155 else
   12156   lt_nm_to_check=${ac_tool_prefix}nm
   12157   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   12158     lt_nm_to_check="$lt_nm_to_check nm"
   12159   fi
   12160   for lt_tmp_nm in $lt_nm_to_check; do
   12161     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   12162     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   12163       IFS=$lt_save_ifs
   12164       test -z "$ac_dir" && ac_dir=.
   12165       tmp_nm=$ac_dir/$lt_tmp_nm
   12166       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   12167 	# Check to see if the nm accepts a BSD-compat flag.
   12168 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   12169 	#   nm: unknown option "B" ignored
   12170 	# Tru64's nm complains that /dev/null is an invalid object file
   12171 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   12172 	case $build_os in
   12173 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   12174 	*) lt_bad_file=/dev/null ;;
   12175 	esac
   12176 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   12177 	*$lt_bad_file* | *'Invalid file or object type'*)
   12178 	  lt_cv_path_NM="$tmp_nm -B"
   12179 	  break 2
   12180 	  ;;
   12181 	*)
   12182 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   12183 	  */dev/null*)
   12184 	    lt_cv_path_NM="$tmp_nm -p"
   12185 	    break 2
   12186 	    ;;
   12187 	  *)
   12188 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   12189 	    continue # so that we can try to find one that supports BSD flags
   12190 	    ;;
   12191 	  esac
   12192 	  ;;
   12193 	esac
   12194       fi
   12195     done
   12196     IFS=$lt_save_ifs
   12197   done
   12198   : ${lt_cv_path_NM=no}
   12199 fi ;;
   12200 esac
   12201 fi
   12202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   12203 printf "%s\n" "$lt_cv_path_NM" >&6; }
   12204 if test no != "$lt_cv_path_NM"; then
   12205   NM=$lt_cv_path_NM
   12206 else
   12207   # Didn't find any BSD compatible name lister, look for dumpbin.
   12208   if test -n "$DUMPBIN"; then :
   12209     # Let the user override the test.
   12210   else
   12211     if test -n "$ac_tool_prefix"; then
   12212   for ac_prog in dumpbin "link -dump"
   12213   do
   12214     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   12215 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   12216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12217 printf %s "checking for $ac_word... " >&6; }
   12218 if test ${ac_cv_prog_DUMPBIN+y}
   12219 then :
   12220   printf %s "(cached) " >&6
   12221 else case e in #(
   12222   e) if test -n "$DUMPBIN"; then
   12223   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   12224 else
   12225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12226 for as_dir in $PATH
   12227 do
   12228   IFS=$as_save_IFS
   12229   case $as_dir in #(((
   12230     '') as_dir=./ ;;
   12231     */) ;;
   12232     *) as_dir=$as_dir/ ;;
   12233   esac
   12234     for ac_exec_ext in '' $ac_executable_extensions; do
   12235   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12236     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   12237     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12238     break 2
   12239   fi
   12240 done
   12241   done
   12242 IFS=$as_save_IFS
   12243 
   12244 fi ;;
   12245 esac
   12246 fi
   12247 DUMPBIN=$ac_cv_prog_DUMPBIN
   12248 if test -n "$DUMPBIN"; then
   12249   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   12250 printf "%s\n" "$DUMPBIN" >&6; }
   12251 else
   12252   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12253 printf "%s\n" "no" >&6; }
   12254 fi
   12255 
   12256 
   12257     test -n "$DUMPBIN" && break
   12258   done
   12259 fi
   12260 if test -z "$DUMPBIN"; then
   12261   ac_ct_DUMPBIN=$DUMPBIN
   12262   for ac_prog in dumpbin "link -dump"
   12263 do
   12264   # Extract the first word of "$ac_prog", so it can be a program name with args.
   12265 set dummy $ac_prog; ac_word=$2
   12266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12267 printf %s "checking for $ac_word... " >&6; }
   12268 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   12269 then :
   12270   printf %s "(cached) " >&6
   12271 else case e in #(
   12272   e) if test -n "$ac_ct_DUMPBIN"; then
   12273   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   12274 else
   12275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12276 for as_dir in $PATH
   12277 do
   12278   IFS=$as_save_IFS
   12279   case $as_dir in #(((
   12280     '') as_dir=./ ;;
   12281     */) ;;
   12282     *) as_dir=$as_dir/ ;;
   12283   esac
   12284     for ac_exec_ext in '' $ac_executable_extensions; do
   12285   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12286     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   12287     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12288     break 2
   12289   fi
   12290 done
   12291   done
   12292 IFS=$as_save_IFS
   12293 
   12294 fi ;;
   12295 esac
   12296 fi
   12297 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   12298 if test -n "$ac_ct_DUMPBIN"; then
   12299   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   12300 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   12301 else
   12302   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12303 printf "%s\n" "no" >&6; }
   12304 fi
   12305 
   12306 
   12307   test -n "$ac_ct_DUMPBIN" && break
   12308 done
   12309 
   12310   if test "x$ac_ct_DUMPBIN" = x; then
   12311     DUMPBIN=":"
   12312   else
   12313     case $cross_compiling:$ac_tool_warned in
   12314 yes:)
   12315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12316 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12317 ac_tool_warned=yes ;;
   12318 esac
   12319     DUMPBIN=$ac_ct_DUMPBIN
   12320   fi
   12321 fi
   12322 
   12323     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   12324     *COFF*)
   12325       DUMPBIN="$DUMPBIN -symbols -headers"
   12326       ;;
   12327     *)
   12328       DUMPBIN=:
   12329       ;;
   12330     esac
   12331   fi
   12332 
   12333   if test : != "$DUMPBIN"; then
   12334     NM=$DUMPBIN
   12335   fi
   12336 fi
   12337 test -z "$NM" && NM=nm
   12338 
   12339 
   12340 
   12341 
   12342 
   12343 
   12344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   12345 printf %s "checking the name lister ($NM) interface... " >&6; }
   12346 if test ${lt_cv_nm_interface+y}
   12347 then :
   12348   printf %s "(cached) " >&6
   12349 else case e in #(
   12350   e) lt_cv_nm_interface="BSD nm"
   12351   echo "int some_variable = 0;" > conftest.$ac_ext
   12352   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   12353   (eval "$ac_compile" 2>conftest.err)
   12354   cat conftest.err >&5
   12355   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   12356   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   12357   cat conftest.err >&5
   12358   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   12359   cat conftest.out >&5
   12360   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   12361     lt_cv_nm_interface="MS dumpbin"
   12362   fi
   12363   rm -f conftest* ;;
   12364 esac
   12365 fi
   12366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   12367 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   12368 
   12369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   12370 printf %s "checking whether ln -s works... " >&6; }
   12371 LN_S=$as_ln_s
   12372 if test "$LN_S" = "ln -s"; then
   12373   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12374 printf "%s\n" "yes" >&6; }
   12375 else
   12376   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   12377 printf "%s\n" "no, using $LN_S" >&6; }
   12378 fi
   12379 
   12380 # find the maximum length of command line arguments
   12381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   12382 printf %s "checking the maximum length of command line arguments... " >&6; }
   12383 if test ${lt_cv_sys_max_cmd_len+y}
   12384 then :
   12385   printf %s "(cached) " >&6
   12386 else case e in #(
   12387   e)   i=0
   12388   teststring=ABCD
   12389 
   12390   case $build_os in
   12391   msdosdjgpp*)
   12392     # On DJGPP, this test can blow up pretty badly due to problems in libc
   12393     # (any single argument exceeding 2000 bytes causes a buffer overrun
   12394     # during glob expansion).  Even if it were fixed, the result of this
   12395     # check would be larger than it should be.
   12396     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   12397     ;;
   12398 
   12399   gnu*)
   12400     # Under GNU Hurd, this test is not required because there is
   12401     # no limit to the length of command line arguments.
   12402     # Libtool will interpret -1 as no limit whatsoever
   12403     lt_cv_sys_max_cmd_len=-1;
   12404     ;;
   12405 
   12406   cygwin* | mingw* | cegcc*)
   12407     # On Win9x/ME, this test blows up -- it succeeds, but takes
   12408     # about 5 minutes as the teststring grows exponentially.
   12409     # Worse, since 9x/ME are not pre-emptively multitasking,
   12410     # you end up with a "frozen" computer, even though with patience
   12411     # the test eventually succeeds (with a max line length of 256k).
   12412     # Instead, let's just punt: use the minimum linelength reported by
   12413     # all of the supported platforms: 8192 (on NT/2K/XP).
   12414     lt_cv_sys_max_cmd_len=8192;
   12415     ;;
   12416 
   12417   mint*)
   12418     # On MiNT this can take a long time and run out of memory.
   12419     lt_cv_sys_max_cmd_len=8192;
   12420     ;;
   12421 
   12422   amigaos*)
   12423     # On AmigaOS with pdksh, this test takes hours, literally.
   12424     # So we just punt and use a minimum line length of 8192.
   12425     lt_cv_sys_max_cmd_len=8192;
   12426     ;;
   12427 
   12428   bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   12429     # This has been around since 386BSD, at least.  Likely further.
   12430     if test -x /sbin/sysctl; then
   12431       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   12432     elif test -x /usr/sbin/sysctl; then
   12433       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   12434     else
   12435       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   12436     fi
   12437     # And add a safety zone
   12438     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   12439     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   12440     ;;
   12441 
   12442   interix*)
   12443     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   12444     lt_cv_sys_max_cmd_len=196608
   12445     ;;
   12446 
   12447   os2*)
   12448     # The test takes a long time on OS/2.
   12449     lt_cv_sys_max_cmd_len=8192
   12450     ;;
   12451 
   12452   osf*)
   12453     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   12454     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   12455     # nice to cause kernel panics so lets avoid the loop below.
   12456     # First set a reasonable default.
   12457     lt_cv_sys_max_cmd_len=16384
   12458     #
   12459     if test -x /sbin/sysconfig; then
   12460       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   12461         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   12462       esac
   12463     fi
   12464     ;;
   12465   sco3.2v5*)
   12466     lt_cv_sys_max_cmd_len=102400
   12467     ;;
   12468   sysv5* | sco5v6* | sysv4.2uw2*)
   12469     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   12470     if test -n "$kargmax"; then
   12471       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   12472     else
   12473       lt_cv_sys_max_cmd_len=32768
   12474     fi
   12475     ;;
   12476   *)
   12477     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   12478     if test -n "$lt_cv_sys_max_cmd_len" && \
   12479        test undefined != "$lt_cv_sys_max_cmd_len"; then
   12480       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   12481       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   12482     else
   12483       # Make teststring a little bigger before we do anything with it.
   12484       # a 1K string should be a reasonable start.
   12485       for i in 1 2 3 4 5 6 7 8; do
   12486         teststring=$teststring$teststring
   12487       done
   12488       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   12489       # If test is not a shell built-in, we'll probably end up computing a
   12490       # maximum length that is only half of the actual maximum length, but
   12491       # we can't tell.
   12492       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   12493 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   12494 	      test 17 != "$i" # 1/2 MB should be enough
   12495       do
   12496         i=`expr $i + 1`
   12497         teststring=$teststring$teststring
   12498       done
   12499       # Only check the string length outside the loop.
   12500       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   12501       teststring=
   12502       # Add a significant safety factor because C++ compilers can tack on
   12503       # massive amounts of additional arguments before passing them to the
   12504       # linker.  It appears as though 1/2 is a usable value.
   12505       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   12506     fi
   12507     ;;
   12508   esac
   12509  ;;
   12510 esac
   12511 fi
   12512 
   12513 if test -n "$lt_cv_sys_max_cmd_len"; then
   12514   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   12515 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   12516 else
   12517   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   12518 printf "%s\n" "none" >&6; }
   12519 fi
   12520 max_cmd_len=$lt_cv_sys_max_cmd_len
   12521 
   12522 
   12523 
   12524 
   12525 
   12526 
   12527 : ${CP="cp -f"}
   12528 : ${MV="mv -f"}
   12529 : ${RM="rm -f"}
   12530 
   12531 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   12532   lt_unset=unset
   12533 else
   12534   lt_unset=false
   12535 fi
   12536 
   12537 
   12538 
   12539 
   12540 
   12541 # test EBCDIC or ASCII
   12542 case `echo X|tr X '\101'` in
   12543  A) # ASCII based system
   12544     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   12545   lt_SP2NL='tr \040 \012'
   12546   lt_NL2SP='tr \015\012 \040\040'
   12547   ;;
   12548  *) # EBCDIC based system
   12549   lt_SP2NL='tr \100 \n'
   12550   lt_NL2SP='tr \r\n \100\100'
   12551   ;;
   12552 esac
   12553 
   12554 
   12555 
   12556 
   12557 
   12558 
   12559 
   12560 
   12561 
   12562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   12563 printf %s "checking how to convert $build file names to $host format... " >&6; }
   12564 if test ${lt_cv_to_host_file_cmd+y}
   12565 then :
   12566   printf %s "(cached) " >&6
   12567 else case e in #(
   12568   e) case $host in
   12569   *-*-mingw* )
   12570     case $build in
   12571       *-*-mingw* ) # actually msys
   12572         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   12573         ;;
   12574       *-*-cygwin* )
   12575         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   12576         ;;
   12577       * ) # otherwise, assume *nix
   12578         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   12579         ;;
   12580     esac
   12581     ;;
   12582   *-*-cygwin* )
   12583     case $build in
   12584       *-*-mingw* ) # actually msys
   12585         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   12586         ;;
   12587       *-*-cygwin* )
   12588         lt_cv_to_host_file_cmd=func_convert_file_noop
   12589         ;;
   12590       * ) # otherwise, assume *nix
   12591         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   12592         ;;
   12593     esac
   12594     ;;
   12595   * ) # unhandled hosts (and "normal" native builds)
   12596     lt_cv_to_host_file_cmd=func_convert_file_noop
   12597     ;;
   12598 esac
   12599  ;;
   12600 esac
   12601 fi
   12602 
   12603 to_host_file_cmd=$lt_cv_to_host_file_cmd
   12604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   12605 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   12606 
   12607 
   12608 
   12609 
   12610 
   12611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   12612 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   12613 if test ${lt_cv_to_tool_file_cmd+y}
   12614 then :
   12615   printf %s "(cached) " >&6
   12616 else case e in #(
   12617   e) #assume ordinary cross tools, or native build.
   12618 lt_cv_to_tool_file_cmd=func_convert_file_noop
   12619 case $host in
   12620   *-*-mingw* )
   12621     case $build in
   12622       *-*-mingw* ) # actually msys
   12623         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   12624         ;;
   12625     esac
   12626     ;;
   12627 esac
   12628  ;;
   12629 esac
   12630 fi
   12631 
   12632 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   12633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   12634 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   12635 
   12636 
   12637 
   12638 
   12639 
   12640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   12641 printf %s "checking for $LD option to reload object files... " >&6; }
   12642 if test ${lt_cv_ld_reload_flag+y}
   12643 then :
   12644   printf %s "(cached) " >&6
   12645 else case e in #(
   12646   e) lt_cv_ld_reload_flag='-r' ;;
   12647 esac
   12648 fi
   12649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   12650 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   12651 reload_flag=$lt_cv_ld_reload_flag
   12652 case $reload_flag in
   12653 "" | " "*) ;;
   12654 *) reload_flag=" $reload_flag" ;;
   12655 esac
   12656 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   12657 case $host_os in
   12658   cygwin* | mingw* | pw32* | cegcc*)
   12659     if test yes != "$GCC"; then
   12660       reload_cmds=false
   12661     fi
   12662     ;;
   12663   darwin*)
   12664     if test yes = "$GCC"; then
   12665       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   12666     else
   12667       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   12668     fi
   12669     ;;
   12670 esac
   12671 
   12672 
   12673 
   12674 
   12675 
   12676 
   12677 
   12678 
   12679 
   12680 if test -n "$ac_tool_prefix"; then
   12681   # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
   12682 set dummy ${ac_tool_prefix}file; ac_word=$2
   12683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12684 printf %s "checking for $ac_word... " >&6; }
   12685 if test ${ac_cv_prog_FILECMD+y}
   12686 then :
   12687   printf %s "(cached) " >&6
   12688 else case e in #(
   12689   e) if test -n "$FILECMD"; then
   12690   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   12691 else
   12692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12693 for as_dir in $PATH
   12694 do
   12695   IFS=$as_save_IFS
   12696   case $as_dir in #(((
   12697     '') as_dir=./ ;;
   12698     */) ;;
   12699     *) as_dir=$as_dir/ ;;
   12700   esac
   12701     for ac_exec_ext in '' $ac_executable_extensions; do
   12702   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12703     ac_cv_prog_FILECMD="${ac_tool_prefix}file"
   12704     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12705     break 2
   12706   fi
   12707 done
   12708   done
   12709 IFS=$as_save_IFS
   12710 
   12711 fi ;;
   12712 esac
   12713 fi
   12714 FILECMD=$ac_cv_prog_FILECMD
   12715 if test -n "$FILECMD"; then
   12716   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   12717 printf "%s\n" "$FILECMD" >&6; }
   12718 else
   12719   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12720 printf "%s\n" "no" >&6; }
   12721 fi
   12722 
   12723 
   12724 fi
   12725 if test -z "$ac_cv_prog_FILECMD"; then
   12726   ac_ct_FILECMD=$FILECMD
   12727   # Extract the first word of "file", so it can be a program name with args.
   12728 set dummy file; ac_word=$2
   12729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12730 printf %s "checking for $ac_word... " >&6; }
   12731 if test ${ac_cv_prog_ac_ct_FILECMD+y}
   12732 then :
   12733   printf %s "(cached) " >&6
   12734 else case e in #(
   12735   e) if test -n "$ac_ct_FILECMD"; then
   12736   ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
   12737 else
   12738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12739 for as_dir in $PATH
   12740 do
   12741   IFS=$as_save_IFS
   12742   case $as_dir in #(((
   12743     '') as_dir=./ ;;
   12744     */) ;;
   12745     *) as_dir=$as_dir/ ;;
   12746   esac
   12747     for ac_exec_ext in '' $ac_executable_extensions; do
   12748   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12749     ac_cv_prog_ac_ct_FILECMD="file"
   12750     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12751     break 2
   12752   fi
   12753 done
   12754   done
   12755 IFS=$as_save_IFS
   12756 
   12757 fi ;;
   12758 esac
   12759 fi
   12760 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
   12761 if test -n "$ac_ct_FILECMD"; then
   12762   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
   12763 printf "%s\n" "$ac_ct_FILECMD" >&6; }
   12764 else
   12765   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12766 printf "%s\n" "no" >&6; }
   12767 fi
   12768 
   12769   if test "x$ac_ct_FILECMD" = x; then
   12770     FILECMD=":"
   12771   else
   12772     case $cross_compiling:$ac_tool_warned in
   12773 yes:)
   12774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12775 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12776 ac_tool_warned=yes ;;
   12777 esac
   12778     FILECMD=$ac_ct_FILECMD
   12779   fi
   12780 else
   12781   FILECMD="$ac_cv_prog_FILECMD"
   12782 fi
   12783 
   12784 
   12785 
   12786 
   12787 
   12788 
   12789 
   12790 if test -n "$ac_tool_prefix"; then
   12791   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   12792 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   12793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12794 printf %s "checking for $ac_word... " >&6; }
   12795 if test ${ac_cv_prog_OBJDUMP+y}
   12796 then :
   12797   printf %s "(cached) " >&6
   12798 else case e in #(
   12799   e) if test -n "$OBJDUMP"; then
   12800   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   12801 else
   12802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12803 for as_dir in $PATH
   12804 do
   12805   IFS=$as_save_IFS
   12806   case $as_dir in #(((
   12807     '') as_dir=./ ;;
   12808     */) ;;
   12809     *) as_dir=$as_dir/ ;;
   12810   esac
   12811     for ac_exec_ext in '' $ac_executable_extensions; do
   12812   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12813     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   12814     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12815     break 2
   12816   fi
   12817 done
   12818   done
   12819 IFS=$as_save_IFS
   12820 
   12821 fi ;;
   12822 esac
   12823 fi
   12824 OBJDUMP=$ac_cv_prog_OBJDUMP
   12825 if test -n "$OBJDUMP"; then
   12826   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   12827 printf "%s\n" "$OBJDUMP" >&6; }
   12828 else
   12829   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12830 printf "%s\n" "no" >&6; }
   12831 fi
   12832 
   12833 
   12834 fi
   12835 if test -z "$ac_cv_prog_OBJDUMP"; then
   12836   ac_ct_OBJDUMP=$OBJDUMP
   12837   # Extract the first word of "objdump", so it can be a program name with args.
   12838 set dummy objdump; ac_word=$2
   12839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12840 printf %s "checking for $ac_word... " >&6; }
   12841 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   12842 then :
   12843   printf %s "(cached) " >&6
   12844 else case e in #(
   12845   e) if test -n "$ac_ct_OBJDUMP"; then
   12846   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   12847 else
   12848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12849 for as_dir in $PATH
   12850 do
   12851   IFS=$as_save_IFS
   12852   case $as_dir in #(((
   12853     '') as_dir=./ ;;
   12854     */) ;;
   12855     *) as_dir=$as_dir/ ;;
   12856   esac
   12857     for ac_exec_ext in '' $ac_executable_extensions; do
   12858   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12859     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   12860     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12861     break 2
   12862   fi
   12863 done
   12864   done
   12865 IFS=$as_save_IFS
   12866 
   12867 fi ;;
   12868 esac
   12869 fi
   12870 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   12871 if test -n "$ac_ct_OBJDUMP"; then
   12872   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   12873 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   12874 else
   12875   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12876 printf "%s\n" "no" >&6; }
   12877 fi
   12878 
   12879   if test "x$ac_ct_OBJDUMP" = x; then
   12880     OBJDUMP="false"
   12881   else
   12882     case $cross_compiling:$ac_tool_warned in
   12883 yes:)
   12884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12885 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12886 ac_tool_warned=yes ;;
   12887 esac
   12888     OBJDUMP=$ac_ct_OBJDUMP
   12889   fi
   12890 else
   12891   OBJDUMP="$ac_cv_prog_OBJDUMP"
   12892 fi
   12893 
   12894 test -z "$OBJDUMP" && OBJDUMP=objdump
   12895 
   12896 
   12897 
   12898 
   12899 
   12900 
   12901 
   12902 
   12903 
   12904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   12905 printf %s "checking how to recognize dependent libraries... " >&6; }
   12906 if test ${lt_cv_deplibs_check_method+y}
   12907 then :
   12908   printf %s "(cached) " >&6
   12909 else case e in #(
   12910   e) lt_cv_file_magic_cmd='$MAGIC_CMD'
   12911 lt_cv_file_magic_test_file=
   12912 lt_cv_deplibs_check_method='unknown'
   12913 # Need to set the preceding variable on all platforms that support
   12914 # interlibrary dependencies.
   12915 # 'none' -- dependencies not supported.
   12916 # 'unknown' -- same as none, but documents that we really don't know.
   12917 # 'pass_all' -- all dependencies passed with no checks.
   12918 # 'test_compile' -- check by making test program.
   12919 # 'file_magic [[regex]]' -- check by looking for files in library path
   12920 # that responds to the $file_magic_cmd with a given extended regex.
   12921 # If you have 'file' or equivalent on your system and you're not sure
   12922 # whether 'pass_all' will *always* work, you probably want this one.
   12923 
   12924 case $host_os in
   12925 aix[4-9]*)
   12926   lt_cv_deplibs_check_method=pass_all
   12927   ;;
   12928 
   12929 beos*)
   12930   lt_cv_deplibs_check_method=pass_all
   12931   ;;
   12932 
   12933 bsdi[45]*)
   12934   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   12935   lt_cv_file_magic_cmd='$FILECMD -L'
   12936   lt_cv_file_magic_test_file=/shlib/libc.so
   12937   ;;
   12938 
   12939 cygwin*)
   12940   # func_win32_libid is a shell function defined in ltmain.sh
   12941   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   12942   lt_cv_file_magic_cmd='func_win32_libid'
   12943   ;;
   12944 
   12945 mingw* | pw32*)
   12946   # Base MSYS/MinGW do not provide the 'file' command needed by
   12947   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   12948   # unless we find 'file', for example because we are cross-compiling.
   12949   if ( file / ) >/dev/null 2>&1; then
   12950     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   12951     lt_cv_file_magic_cmd='func_win32_libid'
   12952   else
   12953     # Keep this pattern in sync with the one in func_win32_libid.
   12954     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   12955     lt_cv_file_magic_cmd='$OBJDUMP -f'
   12956   fi
   12957   ;;
   12958 
   12959 cegcc*)
   12960   # use the weaker test based on 'objdump'. See mingw*.
   12961   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   12962   lt_cv_file_magic_cmd='$OBJDUMP -f'
   12963   ;;
   12964 
   12965 darwin* | rhapsody*)
   12966   lt_cv_deplibs_check_method=pass_all
   12967   ;;
   12968 
   12969 freebsd* | dragonfly* | midnightbsd*)
   12970   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   12971     case $host_cpu in
   12972     i*86 )
   12973       # Not sure whether the presence of OpenBSD here was a mistake.
   12974       # Let's accept both of them until this is cleared up.
   12975       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   12976       lt_cv_file_magic_cmd=$FILECMD
   12977       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   12978       ;;
   12979     esac
   12980   else
   12981     lt_cv_deplibs_check_method=pass_all
   12982   fi
   12983   ;;
   12984 
   12985 haiku*)
   12986   lt_cv_deplibs_check_method=pass_all
   12987   ;;
   12988 
   12989 hpux10.20* | hpux11*)
   12990   lt_cv_file_magic_cmd=$FILECMD
   12991   case $host_cpu in
   12992   ia64*)
   12993     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   12994     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   12995     ;;
   12996   hppa*64*)
   12997     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]'
   12998     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   12999     ;;
   13000   *)
   13001     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   13002     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   13003     ;;
   13004   esac
   13005   ;;
   13006 
   13007 interix[3-9]*)
   13008   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   13009   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   13010   ;;
   13011 
   13012 irix5* | irix6* | nonstopux*)
   13013   case $LD in
   13014   *-32|*"-32 ") libmagic=32-bit;;
   13015   *-n32|*"-n32 ") libmagic=N32;;
   13016   *-64|*"-64 ") libmagic=64-bit;;
   13017   *) libmagic=never-match;;
   13018   esac
   13019   lt_cv_deplibs_check_method=pass_all
   13020   ;;
   13021 
   13022 # This must be glibc/ELF.
   13023 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   13024   lt_cv_deplibs_check_method=pass_all
   13025   ;;
   13026 
   13027 netbsd*)
   13028   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   13029     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   13030   else
   13031     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   13032   fi
   13033   ;;
   13034 
   13035 newos6*)
   13036   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   13037   lt_cv_file_magic_cmd=$FILECMD
   13038   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   13039   ;;
   13040 
   13041 *nto* | *qnx*)
   13042   lt_cv_deplibs_check_method=pass_all
   13043   ;;
   13044 
   13045 openbsd* | bitrig*)
   13046   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   13047     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   13048   else
   13049     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   13050   fi
   13051   ;;
   13052 
   13053 osf3* | osf4* | osf5*)
   13054   lt_cv_deplibs_check_method=pass_all
   13055   ;;
   13056 
   13057 rdos*)
   13058   lt_cv_deplibs_check_method=pass_all
   13059   ;;
   13060 
   13061 solaris*)
   13062   lt_cv_deplibs_check_method=pass_all
   13063   ;;
   13064 
   13065 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13066   lt_cv_deplibs_check_method=pass_all
   13067   ;;
   13068 
   13069 sysv4 | sysv4.3*)
   13070   case $host_vendor in
   13071   motorola)
   13072     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]'
   13073     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   13074     ;;
   13075   ncr)
   13076     lt_cv_deplibs_check_method=pass_all
   13077     ;;
   13078   sequent)
   13079     lt_cv_file_magic_cmd='/bin/file'
   13080     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   13081     ;;
   13082   sni)
   13083     lt_cv_file_magic_cmd='/bin/file'
   13084     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   13085     lt_cv_file_magic_test_file=/lib/libc.so
   13086     ;;
   13087   siemens)
   13088     lt_cv_deplibs_check_method=pass_all
   13089     ;;
   13090   pc)
   13091     lt_cv_deplibs_check_method=pass_all
   13092     ;;
   13093   esac
   13094   ;;
   13095 
   13096 tpf*)
   13097   lt_cv_deplibs_check_method=pass_all
   13098   ;;
   13099 os2*)
   13100   lt_cv_deplibs_check_method=pass_all
   13101   ;;
   13102 esac
   13103  ;;
   13104 esac
   13105 fi
   13106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   13107 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   13108 
   13109 file_magic_glob=
   13110 want_nocaseglob=no
   13111 if test "$build" = "$host"; then
   13112   case $host_os in
   13113   mingw* | pw32*)
   13114     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   13115       want_nocaseglob=yes
   13116     else
   13117       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   13118     fi
   13119     ;;
   13120   esac
   13121 fi
   13122 
   13123 file_magic_cmd=$lt_cv_file_magic_cmd
   13124 deplibs_check_method=$lt_cv_deplibs_check_method
   13125 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   13126 
   13127 
   13128 
   13129 
   13130 
   13131 
   13132 
   13133 
   13134 
   13135 
   13136 
   13137 
   13138 
   13139 
   13140 
   13141 
   13142 
   13143 
   13144 
   13145 
   13146 
   13147 
   13148 if test -n "$ac_tool_prefix"; then
   13149   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   13150 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   13151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13152 printf %s "checking for $ac_word... " >&6; }
   13153 if test ${ac_cv_prog_DLLTOOL+y}
   13154 then :
   13155   printf %s "(cached) " >&6
   13156 else case e in #(
   13157   e) if test -n "$DLLTOOL"; then
   13158   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   13159 else
   13160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13161 for as_dir in $PATH
   13162 do
   13163   IFS=$as_save_IFS
   13164   case $as_dir in #(((
   13165     '') as_dir=./ ;;
   13166     */) ;;
   13167     *) as_dir=$as_dir/ ;;
   13168   esac
   13169     for ac_exec_ext in '' $ac_executable_extensions; do
   13170   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13171     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   13172     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13173     break 2
   13174   fi
   13175 done
   13176   done
   13177 IFS=$as_save_IFS
   13178 
   13179 fi ;;
   13180 esac
   13181 fi
   13182 DLLTOOL=$ac_cv_prog_DLLTOOL
   13183 if test -n "$DLLTOOL"; then
   13184   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   13185 printf "%s\n" "$DLLTOOL" >&6; }
   13186 else
   13187   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13188 printf "%s\n" "no" >&6; }
   13189 fi
   13190 
   13191 
   13192 fi
   13193 if test -z "$ac_cv_prog_DLLTOOL"; then
   13194   ac_ct_DLLTOOL=$DLLTOOL
   13195   # Extract the first word of "dlltool", so it can be a program name with args.
   13196 set dummy dlltool; ac_word=$2
   13197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13198 printf %s "checking for $ac_word... " >&6; }
   13199 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   13200 then :
   13201   printf %s "(cached) " >&6
   13202 else case e in #(
   13203   e) if test -n "$ac_ct_DLLTOOL"; then
   13204   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   13205 else
   13206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13207 for as_dir in $PATH
   13208 do
   13209   IFS=$as_save_IFS
   13210   case $as_dir in #(((
   13211     '') as_dir=./ ;;
   13212     */) ;;
   13213     *) as_dir=$as_dir/ ;;
   13214   esac
   13215     for ac_exec_ext in '' $ac_executable_extensions; do
   13216   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13217     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   13218     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13219     break 2
   13220   fi
   13221 done
   13222   done
   13223 IFS=$as_save_IFS
   13224 
   13225 fi ;;
   13226 esac
   13227 fi
   13228 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   13229 if test -n "$ac_ct_DLLTOOL"; then
   13230   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   13231 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   13232 else
   13233   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13234 printf "%s\n" "no" >&6; }
   13235 fi
   13236 
   13237   if test "x$ac_ct_DLLTOOL" = x; then
   13238     DLLTOOL="false"
   13239   else
   13240     case $cross_compiling:$ac_tool_warned in
   13241 yes:)
   13242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13243 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13244 ac_tool_warned=yes ;;
   13245 esac
   13246     DLLTOOL=$ac_ct_DLLTOOL
   13247   fi
   13248 else
   13249   DLLTOOL="$ac_cv_prog_DLLTOOL"
   13250 fi
   13251 
   13252 test -z "$DLLTOOL" && DLLTOOL=dlltool
   13253 
   13254 
   13255 
   13256 
   13257 
   13258 
   13259 
   13260 
   13261 
   13262 
   13263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   13264 printf %s "checking how to associate runtime and link libraries... " >&6; }
   13265 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   13266 then :
   13267   printf %s "(cached) " >&6
   13268 else case e in #(
   13269   e) lt_cv_sharedlib_from_linklib_cmd='unknown'
   13270 
   13271 case $host_os in
   13272 cygwin* | mingw* | pw32* | cegcc*)
   13273   # two different shell functions defined in ltmain.sh;
   13274   # decide which one to use based on capabilities of $DLLTOOL
   13275   case `$DLLTOOL --help 2>&1` in
   13276   *--identify-strict*)
   13277     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   13278     ;;
   13279   *)
   13280     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   13281     ;;
   13282   esac
   13283   ;;
   13284 *)
   13285   # fallback: assume linklib IS sharedlib
   13286   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   13287   ;;
   13288 esac
   13289  ;;
   13290 esac
   13291 fi
   13292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   13293 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   13294 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   13295 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   13296 
   13297 
   13298 
   13299 
   13300 
   13301 
   13302 
   13303 if test -n "$ac_tool_prefix"; then
   13304   for ac_prog in ar
   13305   do
   13306     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   13307 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   13308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13309 printf %s "checking for $ac_word... " >&6; }
   13310 if test ${ac_cv_prog_AR+y}
   13311 then :
   13312   printf %s "(cached) " >&6
   13313 else case e in #(
   13314   e) if test -n "$AR"; then
   13315   ac_cv_prog_AR="$AR" # Let the user override the test.
   13316 else
   13317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13318 for as_dir in $PATH
   13319 do
   13320   IFS=$as_save_IFS
   13321   case $as_dir in #(((
   13322     '') as_dir=./ ;;
   13323     */) ;;
   13324     *) as_dir=$as_dir/ ;;
   13325   esac
   13326     for ac_exec_ext in '' $ac_executable_extensions; do
   13327   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13328     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   13329     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13330     break 2
   13331   fi
   13332 done
   13333   done
   13334 IFS=$as_save_IFS
   13335 
   13336 fi ;;
   13337 esac
   13338 fi
   13339 AR=$ac_cv_prog_AR
   13340 if test -n "$AR"; then
   13341   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   13342 printf "%s\n" "$AR" >&6; }
   13343 else
   13344   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13345 printf "%s\n" "no" >&6; }
   13346 fi
   13347 
   13348 
   13349     test -n "$AR" && break
   13350   done
   13351 fi
   13352 if test -z "$AR"; then
   13353   ac_ct_AR=$AR
   13354   for ac_prog in ar
   13355 do
   13356   # Extract the first word of "$ac_prog", so it can be a program name with args.
   13357 set dummy $ac_prog; ac_word=$2
   13358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13359 printf %s "checking for $ac_word... " >&6; }
   13360 if test ${ac_cv_prog_ac_ct_AR+y}
   13361 then :
   13362   printf %s "(cached) " >&6
   13363 else case e in #(
   13364   e) if test -n "$ac_ct_AR"; then
   13365   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   13366 else
   13367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13368 for as_dir in $PATH
   13369 do
   13370   IFS=$as_save_IFS
   13371   case $as_dir in #(((
   13372     '') as_dir=./ ;;
   13373     */) ;;
   13374     *) as_dir=$as_dir/ ;;
   13375   esac
   13376     for ac_exec_ext in '' $ac_executable_extensions; do
   13377   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13378     ac_cv_prog_ac_ct_AR="$ac_prog"
   13379     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13380     break 2
   13381   fi
   13382 done
   13383   done
   13384 IFS=$as_save_IFS
   13385 
   13386 fi ;;
   13387 esac
   13388 fi
   13389 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   13390 if test -n "$ac_ct_AR"; then
   13391   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   13392 printf "%s\n" "$ac_ct_AR" >&6; }
   13393 else
   13394   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13395 printf "%s\n" "no" >&6; }
   13396 fi
   13397 
   13398 
   13399   test -n "$ac_ct_AR" && break
   13400 done
   13401 
   13402   if test "x$ac_ct_AR" = x; then
   13403     AR="false"
   13404   else
   13405     case $cross_compiling:$ac_tool_warned in
   13406 yes:)
   13407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13408 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13409 ac_tool_warned=yes ;;
   13410 esac
   13411     AR=$ac_ct_AR
   13412   fi
   13413 fi
   13414 
   13415 : ${AR=ar}
   13416 
   13417 
   13418 
   13419 
   13420 
   13421 
   13422 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   13423 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   13424 # higher priority because thats what people were doing historically (setting
   13425 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   13426 # variable obsoleted/removed.
   13427 
   13428 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   13429 lt_ar_flags=$AR_FLAGS
   13430 
   13431 
   13432 
   13433 
   13434 
   13435 
   13436 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   13437 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   13438 
   13439 
   13440 
   13441 
   13442 
   13443 
   13444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   13445 printf %s "checking for archiver @FILE support... " >&6; }
   13446 if test ${lt_cv_ar_at_file+y}
   13447 then :
   13448   printf %s "(cached) " >&6
   13449 else case e in #(
   13450   e) lt_cv_ar_at_file=no
   13451    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13452 /* end confdefs.h.  */
   13453 
   13454 int
   13455 main (void)
   13456 {
   13457 
   13458   ;
   13459   return 0;
   13460 }
   13461 _ACEOF
   13462 if ac_fn_c_try_compile "$LINENO"
   13463 then :
   13464   echo conftest.$ac_objext > conftest.lst
   13465       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   13466       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   13467   (eval $lt_ar_try) 2>&5
   13468   ac_status=$?
   13469   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13470   test $ac_status = 0; }
   13471       if test 0 -eq "$ac_status"; then
   13472 	# Ensure the archiver fails upon bogus file names.
   13473 	rm -f conftest.$ac_objext libconftest.a
   13474 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   13475   (eval $lt_ar_try) 2>&5
   13476   ac_status=$?
   13477   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13478   test $ac_status = 0; }
   13479 	if test 0 -ne "$ac_status"; then
   13480           lt_cv_ar_at_file=@
   13481         fi
   13482       fi
   13483       rm -f conftest.* libconftest.a
   13484 
   13485 fi
   13486 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13487    ;;
   13488 esac
   13489 fi
   13490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   13491 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   13492 
   13493 if test no = "$lt_cv_ar_at_file"; then
   13494   archiver_list_spec=
   13495 else
   13496   archiver_list_spec=$lt_cv_ar_at_file
   13497 fi
   13498 
   13499 
   13500 
   13501 
   13502 
   13503 
   13504 
   13505 if test -n "$ac_tool_prefix"; then
   13506   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   13507 set dummy ${ac_tool_prefix}strip; ac_word=$2
   13508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13509 printf %s "checking for $ac_word... " >&6; }
   13510 if test ${ac_cv_prog_STRIP+y}
   13511 then :
   13512   printf %s "(cached) " >&6
   13513 else case e in #(
   13514   e) if test -n "$STRIP"; then
   13515   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   13516 else
   13517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13518 for as_dir in $PATH
   13519 do
   13520   IFS=$as_save_IFS
   13521   case $as_dir in #(((
   13522     '') as_dir=./ ;;
   13523     */) ;;
   13524     *) as_dir=$as_dir/ ;;
   13525   esac
   13526     for ac_exec_ext in '' $ac_executable_extensions; do
   13527   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13528     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   13529     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13530     break 2
   13531   fi
   13532 done
   13533   done
   13534 IFS=$as_save_IFS
   13535 
   13536 fi ;;
   13537 esac
   13538 fi
   13539 STRIP=$ac_cv_prog_STRIP
   13540 if test -n "$STRIP"; then
   13541   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   13542 printf "%s\n" "$STRIP" >&6; }
   13543 else
   13544   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13545 printf "%s\n" "no" >&6; }
   13546 fi
   13547 
   13548 
   13549 fi
   13550 if test -z "$ac_cv_prog_STRIP"; then
   13551   ac_ct_STRIP=$STRIP
   13552   # Extract the first word of "strip", so it can be a program name with args.
   13553 set dummy strip; ac_word=$2
   13554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13555 printf %s "checking for $ac_word... " >&6; }
   13556 if test ${ac_cv_prog_ac_ct_STRIP+y}
   13557 then :
   13558   printf %s "(cached) " >&6
   13559 else case e in #(
   13560   e) if test -n "$ac_ct_STRIP"; then
   13561   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   13562 else
   13563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13564 for as_dir in $PATH
   13565 do
   13566   IFS=$as_save_IFS
   13567   case $as_dir in #(((
   13568     '') as_dir=./ ;;
   13569     */) ;;
   13570     *) as_dir=$as_dir/ ;;
   13571   esac
   13572     for ac_exec_ext in '' $ac_executable_extensions; do
   13573   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13574     ac_cv_prog_ac_ct_STRIP="strip"
   13575     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13576     break 2
   13577   fi
   13578 done
   13579   done
   13580 IFS=$as_save_IFS
   13581 
   13582 fi ;;
   13583 esac
   13584 fi
   13585 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   13586 if test -n "$ac_ct_STRIP"; then
   13587   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   13588 printf "%s\n" "$ac_ct_STRIP" >&6; }
   13589 else
   13590   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13591 printf "%s\n" "no" >&6; }
   13592 fi
   13593 
   13594   if test "x$ac_ct_STRIP" = x; then
   13595     STRIP=":"
   13596   else
   13597     case $cross_compiling:$ac_tool_warned in
   13598 yes:)
   13599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13600 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13601 ac_tool_warned=yes ;;
   13602 esac
   13603     STRIP=$ac_ct_STRIP
   13604   fi
   13605 else
   13606   STRIP="$ac_cv_prog_STRIP"
   13607 fi
   13608 
   13609 test -z "$STRIP" && STRIP=:
   13610 
   13611 
   13612 
   13613 
   13614 
   13615 
   13616 if test -n "$ac_tool_prefix"; then
   13617   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   13618 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   13619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13620 printf %s "checking for $ac_word... " >&6; }
   13621 if test ${ac_cv_prog_RANLIB+y}
   13622 then :
   13623   printf %s "(cached) " >&6
   13624 else case e in #(
   13625   e) if test -n "$RANLIB"; then
   13626   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   13627 else
   13628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13629 for as_dir in $PATH
   13630 do
   13631   IFS=$as_save_IFS
   13632   case $as_dir in #(((
   13633     '') as_dir=./ ;;
   13634     */) ;;
   13635     *) as_dir=$as_dir/ ;;
   13636   esac
   13637     for ac_exec_ext in '' $ac_executable_extensions; do
   13638   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13639     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   13640     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13641     break 2
   13642   fi
   13643 done
   13644   done
   13645 IFS=$as_save_IFS
   13646 
   13647 fi ;;
   13648 esac
   13649 fi
   13650 RANLIB=$ac_cv_prog_RANLIB
   13651 if test -n "$RANLIB"; then
   13652   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   13653 printf "%s\n" "$RANLIB" >&6; }
   13654 else
   13655   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13656 printf "%s\n" "no" >&6; }
   13657 fi
   13658 
   13659 
   13660 fi
   13661 if test -z "$ac_cv_prog_RANLIB"; then
   13662   ac_ct_RANLIB=$RANLIB
   13663   # Extract the first word of "ranlib", so it can be a program name with args.
   13664 set dummy ranlib; ac_word=$2
   13665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13666 printf %s "checking for $ac_word... " >&6; }
   13667 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   13668 then :
   13669   printf %s "(cached) " >&6
   13670 else case e in #(
   13671   e) if test -n "$ac_ct_RANLIB"; then
   13672   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   13673 else
   13674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13675 for as_dir in $PATH
   13676 do
   13677   IFS=$as_save_IFS
   13678   case $as_dir in #(((
   13679     '') as_dir=./ ;;
   13680     */) ;;
   13681     *) as_dir=$as_dir/ ;;
   13682   esac
   13683     for ac_exec_ext in '' $ac_executable_extensions; do
   13684   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13685     ac_cv_prog_ac_ct_RANLIB="ranlib"
   13686     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13687     break 2
   13688   fi
   13689 done
   13690   done
   13691 IFS=$as_save_IFS
   13692 
   13693 fi ;;
   13694 esac
   13695 fi
   13696 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   13697 if test -n "$ac_ct_RANLIB"; then
   13698   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   13699 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   13700 else
   13701   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13702 printf "%s\n" "no" >&6; }
   13703 fi
   13704 
   13705   if test "x$ac_ct_RANLIB" = x; then
   13706     RANLIB=":"
   13707   else
   13708     case $cross_compiling:$ac_tool_warned in
   13709 yes:)
   13710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13711 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13712 ac_tool_warned=yes ;;
   13713 esac
   13714     RANLIB=$ac_ct_RANLIB
   13715   fi
   13716 else
   13717   RANLIB="$ac_cv_prog_RANLIB"
   13718 fi
   13719 
   13720 test -z "$RANLIB" && RANLIB=:
   13721 
   13722 
   13723 
   13724 
   13725 
   13726 
   13727 # Determine commands to create old-style static archives.
   13728 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   13729 old_postinstall_cmds='chmod 644 $oldlib'
   13730 old_postuninstall_cmds=
   13731 
   13732 if test -n "$RANLIB"; then
   13733   case $host_os in
   13734   bitrig* | openbsd*)
   13735     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   13736     ;;
   13737   *)
   13738     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   13739     ;;
   13740   esac
   13741   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   13742 fi
   13743 
   13744 case $host_os in
   13745   darwin*)
   13746     lock_old_archive_extraction=yes ;;
   13747   *)
   13748     lock_old_archive_extraction=no ;;
   13749 esac
   13750 
   13751 
   13752 
   13753 
   13754 
   13755 
   13756 
   13757 
   13758 
   13759 
   13760 
   13761 
   13762 
   13763 
   13764 
   13765 
   13766 
   13767 
   13768 
   13769 
   13770 
   13771 
   13772 
   13773 
   13774 
   13775 
   13776 
   13777 
   13778 
   13779 
   13780 
   13781 
   13782 
   13783 
   13784 
   13785 
   13786 
   13787 
   13788 
   13789 # If no C compiler was specified, use CC.
   13790 LTCC=${LTCC-"$CC"}
   13791 
   13792 # If no C compiler flags were specified, use CFLAGS.
   13793 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   13794 
   13795 # Allow CC to be a program name with arguments.
   13796 compiler=$CC
   13797 
   13798 
   13799 # Check for command to grab the raw symbol name followed by C symbol from nm.
   13800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   13801 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   13802 if test ${lt_cv_sys_global_symbol_pipe+y}
   13803 then :
   13804   printf %s "(cached) " >&6
   13805 else case e in #(
   13806   e)
   13807 # These are sane defaults that work on at least a few old systems.
   13808 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   13809 
   13810 # Character class describing NM global symbol codes.
   13811 symcode='[BCDEGRST]'
   13812 
   13813 # Regexp to match symbols that can be accessed directly from C.
   13814 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   13815 
   13816 # Define system-specific variables.
   13817 case $host_os in
   13818 aix*)
   13819   symcode='[BCDT]'
   13820   ;;
   13821 cygwin* | mingw* | pw32* | cegcc*)
   13822   symcode='[ABCDGISTW]'
   13823   ;;
   13824 hpux*)
   13825   if test ia64 = "$host_cpu"; then
   13826     symcode='[ABCDEGRST]'
   13827   fi
   13828   ;;
   13829 irix* | nonstopux*)
   13830   symcode='[BCDEGRST]'
   13831   ;;
   13832 osf*)
   13833   symcode='[BCDEGQRST]'
   13834   ;;
   13835 solaris*)
   13836   symcode='[BDRT]'
   13837   ;;
   13838 sco3.2v5*)
   13839   symcode='[DT]'
   13840   ;;
   13841 sysv4.2uw2*)
   13842   symcode='[DT]'
   13843   ;;
   13844 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   13845   symcode='[ABDT]'
   13846   ;;
   13847 sysv4)
   13848   symcode='[DFNSTU]'
   13849   ;;
   13850 esac
   13851 
   13852 # If we're using GNU nm, then use its standard symbol codes.
   13853 case `$NM -V 2>&1` in
   13854 *GNU* | *'with BFD'*)
   13855   symcode='[ABCDGIRSTW]' ;;
   13856 esac
   13857 
   13858 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   13859   # Gets list of data symbols to import.
   13860   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   13861   # Adjust the below global symbol transforms to fixup imported variables.
   13862   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   13863   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   13864   lt_c_name_lib_hook="\
   13865   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   13866   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   13867 else
   13868   # Disable hooks by default.
   13869   lt_cv_sys_global_symbol_to_import=
   13870   lt_cdecl_hook=
   13871   lt_c_name_hook=
   13872   lt_c_name_lib_hook=
   13873 fi
   13874 
   13875 # Transform an extracted symbol line into a proper C declaration.
   13876 # Some systems (esp. on ia64) link data and code symbols differently,
   13877 # so use this general approach.
   13878 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   13879 $lt_cdecl_hook\
   13880 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   13881 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   13882 
   13883 # Transform an extracted symbol line into symbol name and symbol address
   13884 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   13885 $lt_c_name_hook\
   13886 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   13887 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   13888 
   13889 # Transform an extracted symbol line into symbol name with lib prefix and
   13890 # symbol address.
   13891 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   13892 $lt_c_name_lib_hook\
   13893 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   13894 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   13895 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   13896 
   13897 # Handle CRLF in mingw tool chain
   13898 opt_cr=
   13899 case $build_os in
   13900 mingw*)
   13901   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   13902   ;;
   13903 esac
   13904 
   13905 # Try without a prefix underscore, then with it.
   13906 for ac_symprfx in "" "_"; do
   13907 
   13908   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   13909   symxfrm="\\1 $ac_symprfx\\2 \\2"
   13910 
   13911   # Write the raw and C identifiers.
   13912   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   13913     # Fake it for dumpbin and say T for any non-static function,
   13914     # D for any global variable and I for any imported variable.
   13915     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   13916     # which start with @ or ?.
   13917     lt_cv_sys_global_symbol_pipe="$AWK '"\
   13918 "     {last_section=section; section=\$ 3};"\
   13919 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   13920 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   13921 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   13922 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   13923 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   13924 "     \$ 0!~/External *\|/{next};"\
   13925 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   13926 "     {if(hide[section]) next};"\
   13927 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   13928 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   13929 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   13930 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   13931 "     ' prfx=^$ac_symprfx"
   13932   else
   13933     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   13934   fi
   13935   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   13936 
   13937   # Check to see that the pipe works correctly.
   13938   pipe_works=no
   13939 
   13940   rm -f conftest*
   13941   cat > conftest.$ac_ext <<_LT_EOF
   13942 #ifdef __cplusplus
   13943 extern "C" {
   13944 #endif
   13945 char nm_test_var;
   13946 void nm_test_func(void);
   13947 void nm_test_func(void){}
   13948 #ifdef __cplusplus
   13949 }
   13950 #endif
   13951 int main(){nm_test_var='a';nm_test_func();return(0);}
   13952 _LT_EOF
   13953 
   13954   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13955   (eval $ac_compile) 2>&5
   13956   ac_status=$?
   13957   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13958   test $ac_status = 0; }; then
   13959     # Now try to grab the symbols.
   13960     nlist=conftest.nm
   13961     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   13962   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   13963   ac_status=$?
   13964   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13965   test $ac_status = 0; } && test -s "$nlist"; then
   13966       # Try sorting and uniquifying the output.
   13967       if sort "$nlist" | uniq > "$nlist"T; then
   13968 	mv -f "$nlist"T "$nlist"
   13969       else
   13970 	rm -f "$nlist"T
   13971       fi
   13972 
   13973       # Make sure that we snagged all the symbols we need.
   13974       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   13975 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   13976 	  cat <<_LT_EOF > conftest.$ac_ext
   13977 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   13978 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   13979 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   13980    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   13981 # define LT_DLSYM_CONST
   13982 #elif defined __osf__
   13983 /* This system does not cope well with relocations in const data.  */
   13984 # define LT_DLSYM_CONST
   13985 #else
   13986 # define LT_DLSYM_CONST const
   13987 #endif
   13988 
   13989 #ifdef __cplusplus
   13990 extern "C" {
   13991 #endif
   13992 
   13993 _LT_EOF
   13994 	  # Now generate the symbol file.
   13995 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   13996 
   13997 	  cat <<_LT_EOF >> conftest.$ac_ext
   13998 
   13999 /* The mapping between symbol names and symbols.  */
   14000 LT_DLSYM_CONST struct {
   14001   const char *name;
   14002   void       *address;
   14003 }
   14004 lt__PROGRAM__LTX_preloaded_symbols[] =
   14005 {
   14006   { "@PROGRAM@", (void *) 0 },
   14007 _LT_EOF
   14008 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   14009 	  cat <<\_LT_EOF >> conftest.$ac_ext
   14010   {0, (void *) 0}
   14011 };
   14012 
   14013 /* This works around a problem in FreeBSD linker */
   14014 #ifdef FREEBSD_WORKAROUND
   14015 static const void *lt_preloaded_setup() {
   14016   return lt__PROGRAM__LTX_preloaded_symbols;
   14017 }
   14018 #endif
   14019 
   14020 #ifdef __cplusplus
   14021 }
   14022 #endif
   14023 _LT_EOF
   14024 	  # Now try linking the two files.
   14025 	  mv conftest.$ac_objext conftstm.$ac_objext
   14026 	  lt_globsym_save_LIBS=$LIBS
   14027 	  lt_globsym_save_CFLAGS=$CFLAGS
   14028 	  LIBS=conftstm.$ac_objext
   14029 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   14030 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   14031   (eval $ac_link) 2>&5
   14032   ac_status=$?
   14033   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14034   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   14035 	    pipe_works=yes
   14036 	  fi
   14037 	  LIBS=$lt_globsym_save_LIBS
   14038 	  CFLAGS=$lt_globsym_save_CFLAGS
   14039 	else
   14040 	  echo "cannot find nm_test_func in $nlist" >&5
   14041 	fi
   14042       else
   14043 	echo "cannot find nm_test_var in $nlist" >&5
   14044       fi
   14045     else
   14046       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   14047     fi
   14048   else
   14049     echo "$progname: failed program was:" >&5
   14050     cat conftest.$ac_ext >&5
   14051   fi
   14052   rm -rf conftest* conftst*
   14053 
   14054   # Do not use the global_symbol_pipe unless it works.
   14055   if test yes = "$pipe_works"; then
   14056     break
   14057   else
   14058     lt_cv_sys_global_symbol_pipe=
   14059   fi
   14060 done
   14061  ;;
   14062 esac
   14063 fi
   14064 
   14065 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   14066   lt_cv_sys_global_symbol_to_cdecl=
   14067 fi
   14068 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   14069   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   14070 printf "%s\n" "failed" >&6; }
   14071 else
   14072   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   14073 printf "%s\n" "ok" >&6; }
   14074 fi
   14075 
   14076 # Response file support.
   14077 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   14078   nm_file_list_spec='@'
   14079 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   14080   nm_file_list_spec='@'
   14081 fi
   14082 
   14083 
   14084 
   14085 
   14086 
   14087 
   14088 
   14089 
   14090 
   14091 
   14092 
   14093 
   14094 
   14095 
   14096 
   14097 
   14098 
   14099 
   14100 
   14101 
   14102 
   14103 
   14104 
   14105 
   14106 
   14107 
   14108 
   14109 
   14110 
   14111 
   14112 
   14113 
   14114 
   14115 
   14116 
   14117 
   14118 
   14119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   14120 printf %s "checking for sysroot... " >&6; }
   14121 
   14122 # Check whether --with-sysroot was given.
   14123 if test ${with_sysroot+y}
   14124 then :
   14125   withval=$with_sysroot;
   14126 else case e in #(
   14127   e) with_sysroot=no ;;
   14128 esac
   14129 fi
   14130 
   14131 
   14132 lt_sysroot=
   14133 case $with_sysroot in #(
   14134  yes)
   14135    if test yes = "$GCC"; then
   14136      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   14137    fi
   14138    ;; #(
   14139  /*)
   14140    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   14141    ;; #(
   14142  no|'')
   14143    ;; #(
   14144  *)
   14145    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   14146 printf "%s\n" "$with_sysroot" >&6; }
   14147    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   14148    ;;
   14149 esac
   14150 
   14151  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   14152 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   14153 
   14154 
   14155 
   14156 
   14157 
   14158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   14159 printf %s "checking for a working dd... " >&6; }
   14160 if test ${ac_cv_path_lt_DD+y}
   14161 then :
   14162   printf %s "(cached) " >&6
   14163 else case e in #(
   14164   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   14165 cat conftest.i conftest.i >conftest2.i
   14166 : ${lt_DD:=$DD}
   14167 if test -z "$lt_DD"; then
   14168   ac_path_lt_DD_found=false
   14169   # Loop through the user's path and test for each of PROGNAME-LIST
   14170   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14171 for as_dir in $PATH
   14172 do
   14173   IFS=$as_save_IFS
   14174   case $as_dir in #(((
   14175     '') as_dir=./ ;;
   14176     */) ;;
   14177     *) as_dir=$as_dir/ ;;
   14178   esac
   14179     for ac_prog in dd
   14180    do
   14181     for ac_exec_ext in '' $ac_executable_extensions; do
   14182       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   14183       as_fn_executable_p "$ac_path_lt_DD" || continue
   14184 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   14185   cmp -s conftest.i conftest.out \
   14186   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   14187 fi
   14188       $ac_path_lt_DD_found && break 3
   14189     done
   14190   done
   14191   done
   14192 IFS=$as_save_IFS
   14193   if test -z "$ac_cv_path_lt_DD"; then
   14194     :
   14195   fi
   14196 else
   14197   ac_cv_path_lt_DD=$lt_DD
   14198 fi
   14199 
   14200 rm -f conftest.i conftest2.i conftest.out ;;
   14201 esac
   14202 fi
   14203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   14204 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   14205 
   14206 
   14207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   14208 printf %s "checking how to truncate binary pipes... " >&6; }
   14209 if test ${lt_cv_truncate_bin+y}
   14210 then :
   14211   printf %s "(cached) " >&6
   14212 else case e in #(
   14213   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   14214 cat conftest.i conftest.i >conftest2.i
   14215 lt_cv_truncate_bin=
   14216 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   14217   cmp -s conftest.i conftest.out \
   14218   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   14219 fi
   14220 rm -f conftest.i conftest2.i conftest.out
   14221 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
   14222 esac
   14223 fi
   14224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   14225 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   14226 
   14227 
   14228 
   14229 
   14230 
   14231 
   14232 
   14233 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   14234 func_cc_basename ()
   14235 {
   14236     for cc_temp in $*""; do
   14237       case $cc_temp in
   14238         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14239         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14240         \-*) ;;
   14241         *) break;;
   14242       esac
   14243     done
   14244     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   14245 }
   14246 
   14247 # Check whether --enable-libtool-lock was given.
   14248 if test ${enable_libtool_lock+y}
   14249 then :
   14250   enableval=$enable_libtool_lock;
   14251 fi
   14252 
   14253 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   14254 
   14255 # Some flags need to be propagated to the compiler or linker for good
   14256 # libtool support.
   14257 case $host in
   14258 ia64-*-hpux*)
   14259   # Find out what ABI is being produced by ac_compile, and set mode
   14260   # options accordingly.
   14261   echo 'int i;' > conftest.$ac_ext
   14262   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14263   (eval $ac_compile) 2>&5
   14264   ac_status=$?
   14265   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14266   test $ac_status = 0; }; then
   14267     case `$FILECMD conftest.$ac_objext` in
   14268       *ELF-32*)
   14269 	HPUX_IA64_MODE=32
   14270 	;;
   14271       *ELF-64*)
   14272 	HPUX_IA64_MODE=64
   14273 	;;
   14274     esac
   14275   fi
   14276   rm -rf conftest*
   14277   ;;
   14278 *-*-irix6*)
   14279   # Find out what ABI is being produced by ac_compile, and set linker
   14280   # options accordingly.
   14281   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   14282   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14283   (eval $ac_compile) 2>&5
   14284   ac_status=$?
   14285   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14286   test $ac_status = 0; }; then
   14287     if test yes = "$lt_cv_prog_gnu_ld"; then
   14288       case `$FILECMD conftest.$ac_objext` in
   14289 	*32-bit*)
   14290 	  LD="${LD-ld} -melf32bsmip"
   14291 	  ;;
   14292 	*N32*)
   14293 	  LD="${LD-ld} -melf32bmipn32"
   14294 	  ;;
   14295 	*64-bit*)
   14296 	  LD="${LD-ld} -melf64bmip"
   14297 	;;
   14298       esac
   14299     else
   14300       case `$FILECMD conftest.$ac_objext` in
   14301 	*32-bit*)
   14302 	  LD="${LD-ld} -32"
   14303 	  ;;
   14304 	*N32*)
   14305 	  LD="${LD-ld} -n32"
   14306 	  ;;
   14307 	*64-bit*)
   14308 	  LD="${LD-ld} -64"
   14309 	  ;;
   14310       esac
   14311     fi
   14312   fi
   14313   rm -rf conftest*
   14314   ;;
   14315 
   14316 mips64*-*linux*)
   14317   # Find out what ABI is being produced by ac_compile, and set linker
   14318   # options accordingly.
   14319   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   14320   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14321   (eval $ac_compile) 2>&5
   14322   ac_status=$?
   14323   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14324   test $ac_status = 0; }; then
   14325     emul=elf
   14326     case `$FILECMD conftest.$ac_objext` in
   14327       *32-bit*)
   14328 	emul="${emul}32"
   14329 	;;
   14330       *64-bit*)
   14331 	emul="${emul}64"
   14332 	;;
   14333     esac
   14334     case `$FILECMD conftest.$ac_objext` in
   14335       *MSB*)
   14336 	emul="${emul}btsmip"
   14337 	;;
   14338       *LSB*)
   14339 	emul="${emul}ltsmip"
   14340 	;;
   14341     esac
   14342     case `$FILECMD conftest.$ac_objext` in
   14343       *N32*)
   14344 	emul="${emul}n32"
   14345 	;;
   14346     esac
   14347     LD="${LD-ld} -m $emul"
   14348   fi
   14349   rm -rf conftest*
   14350   ;;
   14351 
   14352 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   14353 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   14354   # Find out what ABI is being produced by ac_compile, and set linker
   14355   # options accordingly.  Note that the listed cases only cover the
   14356   # situations where additional linker options are needed (such as when
   14357   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   14358   # vice versa); the common cases where no linker options are needed do
   14359   # not appear in the list.
   14360   echo 'int i;' > conftest.$ac_ext
   14361   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14362   (eval $ac_compile) 2>&5
   14363   ac_status=$?
   14364   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14365   test $ac_status = 0; }; then
   14366     case `$FILECMD conftest.o` in
   14367       *32-bit*)
   14368 	case $host in
   14369 	  x86_64-*kfreebsd*-gnu)
   14370 	    LD="${LD-ld} -m elf_i386_fbsd"
   14371 	    ;;
   14372 	  x86_64-*linux*)
   14373 	    case `$FILECMD conftest.o` in
   14374 	      *x86-64*)
   14375 		LD="${LD-ld} -m elf32_x86_64"
   14376 		;;
   14377 	      *)
   14378 		LD="${LD-ld} -m elf_i386"
   14379 		;;
   14380 	    esac
   14381 	    ;;
   14382 	  powerpc64le-*linux*)
   14383 	    LD="${LD-ld} -m elf32lppclinux"
   14384 	    ;;
   14385 	  powerpc64-*linux*)
   14386 	    LD="${LD-ld} -m elf32ppclinux"
   14387 	    ;;
   14388 	  s390x-*linux*)
   14389 	    LD="${LD-ld} -m elf_s390"
   14390 	    ;;
   14391 	  sparc64-*linux*)
   14392 	    LD="${LD-ld} -m elf32_sparc"
   14393 	    ;;
   14394 	esac
   14395 	;;
   14396       *64-bit*)
   14397 	case $host in
   14398 	  x86_64-*kfreebsd*-gnu)
   14399 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   14400 	    ;;
   14401 	  x86_64-*linux*)
   14402 	    LD="${LD-ld} -m elf_x86_64"
   14403 	    ;;
   14404 	  powerpcle-*linux*)
   14405 	    LD="${LD-ld} -m elf64lppc"
   14406 	    ;;
   14407 	  powerpc-*linux*)
   14408 	    LD="${LD-ld} -m elf64ppc"
   14409 	    ;;
   14410 	  s390*-*linux*|s390*-*tpf*)
   14411 	    LD="${LD-ld} -m elf64_s390"
   14412 	    ;;
   14413 	  sparc*-*linux*)
   14414 	    LD="${LD-ld} -m elf64_sparc"
   14415 	    ;;
   14416 	esac
   14417 	;;
   14418     esac
   14419   fi
   14420   rm -rf conftest*
   14421   ;;
   14422 
   14423 *-*-sco3.2v5*)
   14424   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   14425   SAVE_CFLAGS=$CFLAGS
   14426   CFLAGS="$CFLAGS -belf"
   14427   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   14428 printf %s "checking whether the C compiler needs -belf... " >&6; }
   14429 if test ${lt_cv_cc_needs_belf+y}
   14430 then :
   14431   printf %s "(cached) " >&6
   14432 else case e in #(
   14433   e) ac_ext=c
   14434 ac_cpp='$CPP $CPPFLAGS'
   14435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14438 
   14439      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14440 /* end confdefs.h.  */
   14441 
   14442 int
   14443 main (void)
   14444 {
   14445 
   14446   ;
   14447   return 0;
   14448 }
   14449 _ACEOF
   14450 if ac_fn_c_try_link "$LINENO"
   14451 then :
   14452   lt_cv_cc_needs_belf=yes
   14453 else case e in #(
   14454   e) lt_cv_cc_needs_belf=no ;;
   14455 esac
   14456 fi
   14457 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14458     conftest$ac_exeext conftest.$ac_ext
   14459      ac_ext=c
   14460 ac_cpp='$CPP $CPPFLAGS'
   14461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14464  ;;
   14465 esac
   14466 fi
   14467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   14468 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   14469   if test yes != "$lt_cv_cc_needs_belf"; then
   14470     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   14471     CFLAGS=$SAVE_CFLAGS
   14472   fi
   14473   ;;
   14474 *-*solaris*)
   14475   # Find out what ABI is being produced by ac_compile, and set linker
   14476   # options accordingly.
   14477   echo 'int i;' > conftest.$ac_ext
   14478   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14479   (eval $ac_compile) 2>&5
   14480   ac_status=$?
   14481   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14482   test $ac_status = 0; }; then
   14483     case `$FILECMD conftest.o` in
   14484     *64-bit*)
   14485       case $lt_cv_prog_gnu_ld in
   14486       yes*)
   14487         case $host in
   14488         i?86-*-solaris*|x86_64-*-solaris*)
   14489           LD="${LD-ld} -m elf_x86_64"
   14490           ;;
   14491         sparc*-*-solaris*)
   14492           LD="${LD-ld} -m elf64_sparc"
   14493           ;;
   14494         esac
   14495         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   14496         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   14497           LD=${LD-ld}_sol2
   14498         fi
   14499         ;;
   14500       *)
   14501 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   14502 	  LD="${LD-ld} -64"
   14503 	fi
   14504 	;;
   14505       esac
   14506       ;;
   14507     esac
   14508   fi
   14509   rm -rf conftest*
   14510   ;;
   14511 esac
   14512 
   14513 need_locks=$enable_libtool_lock
   14514 
   14515 if test -n "$ac_tool_prefix"; then
   14516   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   14517 set dummy ${ac_tool_prefix}mt; ac_word=$2
   14518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14519 printf %s "checking for $ac_word... " >&6; }
   14520 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   14521 then :
   14522   printf %s "(cached) " >&6
   14523 else case e in #(
   14524   e) if test -n "$MANIFEST_TOOL"; then
   14525   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   14526 else
   14527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14528 for as_dir in $PATH
   14529 do
   14530   IFS=$as_save_IFS
   14531   case $as_dir in #(((
   14532     '') as_dir=./ ;;
   14533     */) ;;
   14534     *) as_dir=$as_dir/ ;;
   14535   esac
   14536     for ac_exec_ext in '' $ac_executable_extensions; do
   14537   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14538     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   14539     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14540     break 2
   14541   fi
   14542 done
   14543   done
   14544 IFS=$as_save_IFS
   14545 
   14546 fi ;;
   14547 esac
   14548 fi
   14549 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   14550 if test -n "$MANIFEST_TOOL"; then
   14551   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   14552 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   14553 else
   14554   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14555 printf "%s\n" "no" >&6; }
   14556 fi
   14557 
   14558 
   14559 fi
   14560 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   14561   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   14562   # Extract the first word of "mt", so it can be a program name with args.
   14563 set dummy mt; ac_word=$2
   14564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14565 printf %s "checking for $ac_word... " >&6; }
   14566 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   14567 then :
   14568   printf %s "(cached) " >&6
   14569 else case e in #(
   14570   e) if test -n "$ac_ct_MANIFEST_TOOL"; then
   14571   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   14572 else
   14573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14574 for as_dir in $PATH
   14575 do
   14576   IFS=$as_save_IFS
   14577   case $as_dir in #(((
   14578     '') as_dir=./ ;;
   14579     */) ;;
   14580     *) as_dir=$as_dir/ ;;
   14581   esac
   14582     for ac_exec_ext in '' $ac_executable_extensions; do
   14583   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14584     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   14585     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14586     break 2
   14587   fi
   14588 done
   14589   done
   14590 IFS=$as_save_IFS
   14591 
   14592 fi ;;
   14593 esac
   14594 fi
   14595 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   14596 if test -n "$ac_ct_MANIFEST_TOOL"; then
   14597   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   14598 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   14599 else
   14600   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14601 printf "%s\n" "no" >&6; }
   14602 fi
   14603 
   14604   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   14605     MANIFEST_TOOL=":"
   14606   else
   14607     case $cross_compiling:$ac_tool_warned in
   14608 yes:)
   14609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14610 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14611 ac_tool_warned=yes ;;
   14612 esac
   14613     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   14614   fi
   14615 else
   14616   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   14617 fi
   14618 
   14619 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   14620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   14621 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   14622 if test ${lt_cv_path_mainfest_tool+y}
   14623 then :
   14624   printf %s "(cached) " >&6
   14625 else case e in #(
   14626   e) lt_cv_path_mainfest_tool=no
   14627   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   14628   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   14629   cat conftest.err >&5
   14630   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   14631     lt_cv_path_mainfest_tool=yes
   14632   fi
   14633   rm -f conftest* ;;
   14634 esac
   14635 fi
   14636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   14637 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
   14638 if test yes != "$lt_cv_path_mainfest_tool"; then
   14639   MANIFEST_TOOL=:
   14640 fi
   14641 
   14642 
   14643 
   14644 
   14645 
   14646 
   14647   case $host_os in
   14648     rhapsody* | darwin*)
   14649     if test -n "$ac_tool_prefix"; then
   14650   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   14651 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   14652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14653 printf %s "checking for $ac_word... " >&6; }
   14654 if test ${ac_cv_prog_DSYMUTIL+y}
   14655 then :
   14656   printf %s "(cached) " >&6
   14657 else case e in #(
   14658   e) if test -n "$DSYMUTIL"; then
   14659   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   14660 else
   14661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14662 for as_dir in $PATH
   14663 do
   14664   IFS=$as_save_IFS
   14665   case $as_dir in #(((
   14666     '') as_dir=./ ;;
   14667     */) ;;
   14668     *) as_dir=$as_dir/ ;;
   14669   esac
   14670     for ac_exec_ext in '' $ac_executable_extensions; do
   14671   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14672     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   14673     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14674     break 2
   14675   fi
   14676 done
   14677   done
   14678 IFS=$as_save_IFS
   14679 
   14680 fi ;;
   14681 esac
   14682 fi
   14683 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   14684 if test -n "$DSYMUTIL"; then
   14685   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   14686 printf "%s\n" "$DSYMUTIL" >&6; }
   14687 else
   14688   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14689 printf "%s\n" "no" >&6; }
   14690 fi
   14691 
   14692 
   14693 fi
   14694 if test -z "$ac_cv_prog_DSYMUTIL"; then
   14695   ac_ct_DSYMUTIL=$DSYMUTIL
   14696   # Extract the first word of "dsymutil", so it can be a program name with args.
   14697 set dummy dsymutil; ac_word=$2
   14698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14699 printf %s "checking for $ac_word... " >&6; }
   14700 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   14701 then :
   14702   printf %s "(cached) " >&6
   14703 else case e in #(
   14704   e) if test -n "$ac_ct_DSYMUTIL"; then
   14705   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   14706 else
   14707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14708 for as_dir in $PATH
   14709 do
   14710   IFS=$as_save_IFS
   14711   case $as_dir in #(((
   14712     '') as_dir=./ ;;
   14713     */) ;;
   14714     *) as_dir=$as_dir/ ;;
   14715   esac
   14716     for ac_exec_ext in '' $ac_executable_extensions; do
   14717   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14718     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   14719     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14720     break 2
   14721   fi
   14722 done
   14723   done
   14724 IFS=$as_save_IFS
   14725 
   14726 fi ;;
   14727 esac
   14728 fi
   14729 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   14730 if test -n "$ac_ct_DSYMUTIL"; then
   14731   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   14732 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   14733 else
   14734   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14735 printf "%s\n" "no" >&6; }
   14736 fi
   14737 
   14738   if test "x$ac_ct_DSYMUTIL" = x; then
   14739     DSYMUTIL=":"
   14740   else
   14741     case $cross_compiling:$ac_tool_warned in
   14742 yes:)
   14743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14744 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14745 ac_tool_warned=yes ;;
   14746 esac
   14747     DSYMUTIL=$ac_ct_DSYMUTIL
   14748   fi
   14749 else
   14750   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   14751 fi
   14752 
   14753     if test -n "$ac_tool_prefix"; then
   14754   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   14755 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   14756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14757 printf %s "checking for $ac_word... " >&6; }
   14758 if test ${ac_cv_prog_NMEDIT+y}
   14759 then :
   14760   printf %s "(cached) " >&6
   14761 else case e in #(
   14762   e) if test -n "$NMEDIT"; then
   14763   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   14764 else
   14765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14766 for as_dir in $PATH
   14767 do
   14768   IFS=$as_save_IFS
   14769   case $as_dir in #(((
   14770     '') as_dir=./ ;;
   14771     */) ;;
   14772     *) as_dir=$as_dir/ ;;
   14773   esac
   14774     for ac_exec_ext in '' $ac_executable_extensions; do
   14775   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14776     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   14777     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14778     break 2
   14779   fi
   14780 done
   14781   done
   14782 IFS=$as_save_IFS
   14783 
   14784 fi ;;
   14785 esac
   14786 fi
   14787 NMEDIT=$ac_cv_prog_NMEDIT
   14788 if test -n "$NMEDIT"; then
   14789   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   14790 printf "%s\n" "$NMEDIT" >&6; }
   14791 else
   14792   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14793 printf "%s\n" "no" >&6; }
   14794 fi
   14795 
   14796 
   14797 fi
   14798 if test -z "$ac_cv_prog_NMEDIT"; then
   14799   ac_ct_NMEDIT=$NMEDIT
   14800   # Extract the first word of "nmedit", so it can be a program name with args.
   14801 set dummy nmedit; ac_word=$2
   14802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14803 printf %s "checking for $ac_word... " >&6; }
   14804 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   14805 then :
   14806   printf %s "(cached) " >&6
   14807 else case e in #(
   14808   e) if test -n "$ac_ct_NMEDIT"; then
   14809   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   14810 else
   14811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14812 for as_dir in $PATH
   14813 do
   14814   IFS=$as_save_IFS
   14815   case $as_dir in #(((
   14816     '') as_dir=./ ;;
   14817     */) ;;
   14818     *) as_dir=$as_dir/ ;;
   14819   esac
   14820     for ac_exec_ext in '' $ac_executable_extensions; do
   14821   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14822     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   14823     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14824     break 2
   14825   fi
   14826 done
   14827   done
   14828 IFS=$as_save_IFS
   14829 
   14830 fi ;;
   14831 esac
   14832 fi
   14833 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   14834 if test -n "$ac_ct_NMEDIT"; then
   14835   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   14836 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   14837 else
   14838   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14839 printf "%s\n" "no" >&6; }
   14840 fi
   14841 
   14842   if test "x$ac_ct_NMEDIT" = x; then
   14843     NMEDIT=":"
   14844   else
   14845     case $cross_compiling:$ac_tool_warned in
   14846 yes:)
   14847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14848 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14849 ac_tool_warned=yes ;;
   14850 esac
   14851     NMEDIT=$ac_ct_NMEDIT
   14852   fi
   14853 else
   14854   NMEDIT="$ac_cv_prog_NMEDIT"
   14855 fi
   14856 
   14857     if test -n "$ac_tool_prefix"; then
   14858   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   14859 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   14860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14861 printf %s "checking for $ac_word... " >&6; }
   14862 if test ${ac_cv_prog_LIPO+y}
   14863 then :
   14864   printf %s "(cached) " >&6
   14865 else case e in #(
   14866   e) if test -n "$LIPO"; then
   14867   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   14868 else
   14869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14870 for as_dir in $PATH
   14871 do
   14872   IFS=$as_save_IFS
   14873   case $as_dir in #(((
   14874     '') as_dir=./ ;;
   14875     */) ;;
   14876     *) as_dir=$as_dir/ ;;
   14877   esac
   14878     for ac_exec_ext in '' $ac_executable_extensions; do
   14879   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14880     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   14881     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14882     break 2
   14883   fi
   14884 done
   14885   done
   14886 IFS=$as_save_IFS
   14887 
   14888 fi ;;
   14889 esac
   14890 fi
   14891 LIPO=$ac_cv_prog_LIPO
   14892 if test -n "$LIPO"; then
   14893   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   14894 printf "%s\n" "$LIPO" >&6; }
   14895 else
   14896   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14897 printf "%s\n" "no" >&6; }
   14898 fi
   14899 
   14900 
   14901 fi
   14902 if test -z "$ac_cv_prog_LIPO"; then
   14903   ac_ct_LIPO=$LIPO
   14904   # Extract the first word of "lipo", so it can be a program name with args.
   14905 set dummy lipo; ac_word=$2
   14906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14907 printf %s "checking for $ac_word... " >&6; }
   14908 if test ${ac_cv_prog_ac_ct_LIPO+y}
   14909 then :
   14910   printf %s "(cached) " >&6
   14911 else case e in #(
   14912   e) if test -n "$ac_ct_LIPO"; then
   14913   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   14914 else
   14915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14916 for as_dir in $PATH
   14917 do
   14918   IFS=$as_save_IFS
   14919   case $as_dir in #(((
   14920     '') as_dir=./ ;;
   14921     */) ;;
   14922     *) as_dir=$as_dir/ ;;
   14923   esac
   14924     for ac_exec_ext in '' $ac_executable_extensions; do
   14925   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14926     ac_cv_prog_ac_ct_LIPO="lipo"
   14927     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14928     break 2
   14929   fi
   14930 done
   14931   done
   14932 IFS=$as_save_IFS
   14933 
   14934 fi ;;
   14935 esac
   14936 fi
   14937 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   14938 if test -n "$ac_ct_LIPO"; then
   14939   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   14940 printf "%s\n" "$ac_ct_LIPO" >&6; }
   14941 else
   14942   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14943 printf "%s\n" "no" >&6; }
   14944 fi
   14945 
   14946   if test "x$ac_ct_LIPO" = x; then
   14947     LIPO=":"
   14948   else
   14949     case $cross_compiling:$ac_tool_warned in
   14950 yes:)
   14951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14952 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14953 ac_tool_warned=yes ;;
   14954 esac
   14955     LIPO=$ac_ct_LIPO
   14956   fi
   14957 else
   14958   LIPO="$ac_cv_prog_LIPO"
   14959 fi
   14960 
   14961     if test -n "$ac_tool_prefix"; then
   14962   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   14963 set dummy ${ac_tool_prefix}otool; ac_word=$2
   14964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14965 printf %s "checking for $ac_word... " >&6; }
   14966 if test ${ac_cv_prog_OTOOL+y}
   14967 then :
   14968   printf %s "(cached) " >&6
   14969 else case e in #(
   14970   e) if test -n "$OTOOL"; then
   14971   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   14972 else
   14973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14974 for as_dir in $PATH
   14975 do
   14976   IFS=$as_save_IFS
   14977   case $as_dir in #(((
   14978     '') as_dir=./ ;;
   14979     */) ;;
   14980     *) as_dir=$as_dir/ ;;
   14981   esac
   14982     for ac_exec_ext in '' $ac_executable_extensions; do
   14983   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14984     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   14985     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14986     break 2
   14987   fi
   14988 done
   14989   done
   14990 IFS=$as_save_IFS
   14991 
   14992 fi ;;
   14993 esac
   14994 fi
   14995 OTOOL=$ac_cv_prog_OTOOL
   14996 if test -n "$OTOOL"; then
   14997   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   14998 printf "%s\n" "$OTOOL" >&6; }
   14999 else
   15000   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15001 printf "%s\n" "no" >&6; }
   15002 fi
   15003 
   15004 
   15005 fi
   15006 if test -z "$ac_cv_prog_OTOOL"; then
   15007   ac_ct_OTOOL=$OTOOL
   15008   # Extract the first word of "otool", so it can be a program name with args.
   15009 set dummy otool; ac_word=$2
   15010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15011 printf %s "checking for $ac_word... " >&6; }
   15012 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   15013 then :
   15014   printf %s "(cached) " >&6
   15015 else case e in #(
   15016   e) if test -n "$ac_ct_OTOOL"; then
   15017   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   15018 else
   15019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15020 for as_dir in $PATH
   15021 do
   15022   IFS=$as_save_IFS
   15023   case $as_dir in #(((
   15024     '') as_dir=./ ;;
   15025     */) ;;
   15026     *) as_dir=$as_dir/ ;;
   15027   esac
   15028     for ac_exec_ext in '' $ac_executable_extensions; do
   15029   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   15030     ac_cv_prog_ac_ct_OTOOL="otool"
   15031     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   15032     break 2
   15033   fi
   15034 done
   15035   done
   15036 IFS=$as_save_IFS
   15037 
   15038 fi ;;
   15039 esac
   15040 fi
   15041 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   15042 if test -n "$ac_ct_OTOOL"; then
   15043   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   15044 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   15045 else
   15046   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15047 printf "%s\n" "no" >&6; }
   15048 fi
   15049 
   15050   if test "x$ac_ct_OTOOL" = x; then
   15051     OTOOL=":"
   15052   else
   15053     case $cross_compiling:$ac_tool_warned in
   15054 yes:)
   15055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   15056 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   15057 ac_tool_warned=yes ;;
   15058 esac
   15059     OTOOL=$ac_ct_OTOOL
   15060   fi
   15061 else
   15062   OTOOL="$ac_cv_prog_OTOOL"
   15063 fi
   15064 
   15065     if test -n "$ac_tool_prefix"; then
   15066   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   15067 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   15068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15069 printf %s "checking for $ac_word... " >&6; }
   15070 if test ${ac_cv_prog_OTOOL64+y}
   15071 then :
   15072   printf %s "(cached) " >&6
   15073 else case e in #(
   15074   e) if test -n "$OTOOL64"; then
   15075   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   15076 else
   15077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15078 for as_dir in $PATH
   15079 do
   15080   IFS=$as_save_IFS
   15081   case $as_dir in #(((
   15082     '') as_dir=./ ;;
   15083     */) ;;
   15084     *) as_dir=$as_dir/ ;;
   15085   esac
   15086     for ac_exec_ext in '' $ac_executable_extensions; do
   15087   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   15088     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   15089     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   15090     break 2
   15091   fi
   15092 done
   15093   done
   15094 IFS=$as_save_IFS
   15095 
   15096 fi ;;
   15097 esac
   15098 fi
   15099 OTOOL64=$ac_cv_prog_OTOOL64
   15100 if test -n "$OTOOL64"; then
   15101   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   15102 printf "%s\n" "$OTOOL64" >&6; }
   15103 else
   15104   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15105 printf "%s\n" "no" >&6; }
   15106 fi
   15107 
   15108 
   15109 fi
   15110 if test -z "$ac_cv_prog_OTOOL64"; then
   15111   ac_ct_OTOOL64=$OTOOL64
   15112   # Extract the first word of "otool64", so it can be a program name with args.
   15113 set dummy otool64; ac_word=$2
   15114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15115 printf %s "checking for $ac_word... " >&6; }
   15116 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   15117 then :
   15118   printf %s "(cached) " >&6
   15119 else case e in #(
   15120   e) if test -n "$ac_ct_OTOOL64"; then
   15121   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   15122 else
   15123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15124 for as_dir in $PATH
   15125 do
   15126   IFS=$as_save_IFS
   15127   case $as_dir in #(((
   15128     '') as_dir=./ ;;
   15129     */) ;;
   15130     *) as_dir=$as_dir/ ;;
   15131   esac
   15132     for ac_exec_ext in '' $ac_executable_extensions; do
   15133   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   15134     ac_cv_prog_ac_ct_OTOOL64="otool64"
   15135     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   15136     break 2
   15137   fi
   15138 done
   15139   done
   15140 IFS=$as_save_IFS
   15141 
   15142 fi ;;
   15143 esac
   15144 fi
   15145 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   15146 if test -n "$ac_ct_OTOOL64"; then
   15147   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   15148 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   15149 else
   15150   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15151 printf "%s\n" "no" >&6; }
   15152 fi
   15153 
   15154   if test "x$ac_ct_OTOOL64" = x; then
   15155     OTOOL64=":"
   15156   else
   15157     case $cross_compiling:$ac_tool_warned in
   15158 yes:)
   15159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   15160 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   15161 ac_tool_warned=yes ;;
   15162 esac
   15163     OTOOL64=$ac_ct_OTOOL64
   15164   fi
   15165 else
   15166   OTOOL64="$ac_cv_prog_OTOOL64"
   15167 fi
   15168 
   15169 
   15170 
   15171 
   15172 
   15173 
   15174 
   15175 
   15176 
   15177 
   15178 
   15179 
   15180 
   15181 
   15182 
   15183 
   15184 
   15185 
   15186 
   15187 
   15188 
   15189 
   15190 
   15191 
   15192 
   15193 
   15194 
   15195     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   15196 printf %s "checking for -single_module linker flag... " >&6; }
   15197 if test ${lt_cv_apple_cc_single_mod+y}
   15198 then :
   15199   printf %s "(cached) " >&6
   15200 else case e in #(
   15201   e) lt_cv_apple_cc_single_mod=no
   15202       if test -z "$LT_MULTI_MODULE"; then
   15203 	# By default we will add the -single_module flag. You can override
   15204 	# by either setting the environment variable LT_MULTI_MODULE
   15205 	# non-empty at configure time, or by adding -multi_module to the
   15206 	# link flags.
   15207 	rm -rf libconftest.dylib*
   15208 	echo "int foo(void){return 1;}" > conftest.c
   15209 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   15210 -dynamiclib -Wl,-single_module conftest.c" >&5
   15211 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   15212 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   15213         _lt_result=$?
   15214 	# If there is a non-empty error log, and "single_module"
   15215 	# appears in it, assume the flag caused a linker warning
   15216         if test -s conftest.err && $GREP single_module conftest.err; then
   15217 	  cat conftest.err >&5
   15218 	# Otherwise, if the output was created with a 0 exit code from
   15219 	# the compiler, it worked.
   15220 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   15221 	  lt_cv_apple_cc_single_mod=yes
   15222 	else
   15223 	  cat conftest.err >&5
   15224 	fi
   15225 	rm -rf libconftest.dylib*
   15226 	rm -f conftest.*
   15227       fi ;;
   15228 esac
   15229 fi
   15230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   15231 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   15232 
   15233     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   15234 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   15235 if test ${lt_cv_ld_exported_symbols_list+y}
   15236 then :
   15237   printf %s "(cached) " >&6
   15238 else case e in #(
   15239   e) lt_cv_ld_exported_symbols_list=no
   15240       save_LDFLAGS=$LDFLAGS
   15241       echo "_main" > conftest.sym
   15242       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   15243       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15244 /* end confdefs.h.  */
   15245 
   15246 int
   15247 main (void)
   15248 {
   15249 
   15250   ;
   15251   return 0;
   15252 }
   15253 _ACEOF
   15254 if ac_fn_c_try_link "$LINENO"
   15255 then :
   15256   lt_cv_ld_exported_symbols_list=yes
   15257 else case e in #(
   15258   e) lt_cv_ld_exported_symbols_list=no ;;
   15259 esac
   15260 fi
   15261 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15262     conftest$ac_exeext conftest.$ac_ext
   15263 	LDFLAGS=$save_LDFLAGS
   15264      ;;
   15265 esac
   15266 fi
   15267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   15268 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   15269 
   15270     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   15271 printf %s "checking for -force_load linker flag... " >&6; }
   15272 if test ${lt_cv_ld_force_load+y}
   15273 then :
   15274   printf %s "(cached) " >&6
   15275 else case e in #(
   15276   e) lt_cv_ld_force_load=no
   15277       cat > conftest.c << _LT_EOF
   15278 int forced_loaded() { return 2;}
   15279 _LT_EOF
   15280       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   15281       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   15282       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   15283       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   15284       echo "$RANLIB libconftest.a" >&5
   15285       $RANLIB libconftest.a 2>&5
   15286       cat > conftest.c << _LT_EOF
   15287 int main() { return 0;}
   15288 _LT_EOF
   15289       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   15290       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   15291       _lt_result=$?
   15292       if test -s conftest.err && $GREP force_load conftest.err; then
   15293 	cat conftest.err >&5
   15294       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   15295 	lt_cv_ld_force_load=yes
   15296       else
   15297 	cat conftest.err >&5
   15298       fi
   15299         rm -f conftest.err libconftest.a conftest conftest.c
   15300         rm -rf conftest.dSYM
   15301      ;;
   15302 esac
   15303 fi
   15304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   15305 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   15306     case $host_os in
   15307     rhapsody* | darwin1.[012])
   15308       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   15309     darwin1.*)
   15310       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   15311     darwin*)
   15312       case $MACOSX_DEPLOYMENT_TARGET,$host in
   15313         10.[012],*|,*powerpc*-darwin[5-8]*)
   15314           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   15315         *)
   15316           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   15317       esac
   15318     ;;
   15319   esac
   15320     if test yes = "$lt_cv_apple_cc_single_mod"; then
   15321       _lt_dar_single_mod='$single_module'
   15322     fi
   15323     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   15324       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   15325     else
   15326       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   15327     fi
   15328     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   15329       _lt_dsymutil='~$DSYMUTIL $lib || :'
   15330     else
   15331       _lt_dsymutil=
   15332     fi
   15333     ;;
   15334   esac
   15335 
   15336 # func_munge_path_list VARIABLE PATH
   15337 # -----------------------------------
   15338 # VARIABLE is name of variable containing _space_ separated list of
   15339 # directories to be munged by the contents of PATH, which is string
   15340 # having a format:
   15341 # "DIR[:DIR]:"
   15342 #       string "DIR[ DIR]" will be prepended to VARIABLE
   15343 # ":DIR[:DIR]"
   15344 #       string "DIR[ DIR]" will be appended to VARIABLE
   15345 # "DIRP[:DIRP]::[DIRA:]DIRA"
   15346 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   15347 #       "DIRA[ DIRA]" will be appended to VARIABLE
   15348 # "DIR[:DIR]"
   15349 #       VARIABLE will be replaced by "DIR[ DIR]"
   15350 func_munge_path_list ()
   15351 {
   15352     case x$2 in
   15353     x)
   15354         ;;
   15355     *:)
   15356         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   15357         ;;
   15358     x:*)
   15359         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   15360         ;;
   15361     *::*)
   15362         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   15363         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   15364         ;;
   15365     *)
   15366         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   15367         ;;
   15368     esac
   15369 }
   15370 
   15371 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   15372 "
   15373 if test "x$ac_cv_header_dlfcn_h" = xyes
   15374 then :
   15375   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   15376 
   15377 fi
   15378 
   15379 
   15380 
   15381 
   15382 
   15383 # Set options
   15384 # Check whether --enable-static was given.
   15385 if test ${enable_static+y}
   15386 then :
   15387   enableval=$enable_static; p=${PACKAGE-default}
   15388     case $enableval in
   15389     yes) enable_static=yes ;;
   15390     no) enable_static=no ;;
   15391     *)
   15392      enable_static=no
   15393       # Look at the argument we got.  We use all the common list separators.
   15394       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15395       for pkg in $enableval; do
   15396 	IFS=$lt_save_ifs
   15397 	if test "X$pkg" = "X$p"; then
   15398 	  enable_static=yes
   15399 	fi
   15400       done
   15401       IFS=$lt_save_ifs
   15402       ;;
   15403     esac
   15404 else case e in #(
   15405   e) enable_static=no ;;
   15406 esac
   15407 fi
   15408 
   15409 
   15410 
   15411 
   15412 
   15413 
   15414 
   15415 
   15416 
   15417 
   15418         enable_dlopen=no
   15419 
   15420 
   15421   enable_win32_dll=no
   15422 
   15423 
   15424             # Check whether --enable-shared was given.
   15425 if test ${enable_shared+y}
   15426 then :
   15427   enableval=$enable_shared; p=${PACKAGE-default}
   15428     case $enableval in
   15429     yes) enable_shared=yes ;;
   15430     no) enable_shared=no ;;
   15431     *)
   15432       enable_shared=no
   15433       # Look at the argument we got.  We use all the common list separators.
   15434       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15435       for pkg in $enableval; do
   15436 	IFS=$lt_save_ifs
   15437 	if test "X$pkg" = "X$p"; then
   15438 	  enable_shared=yes
   15439 	fi
   15440       done
   15441       IFS=$lt_save_ifs
   15442       ;;
   15443     esac
   15444 else case e in #(
   15445   e) enable_shared=yes ;;
   15446 esac
   15447 fi
   15448 
   15449 
   15450 
   15451 
   15452 
   15453 
   15454 
   15455 
   15456 
   15457 
   15458 
   15459 # Check whether --with-pic was given.
   15460 if test ${with_pic+y}
   15461 then :
   15462   withval=$with_pic; lt_p=${PACKAGE-default}
   15463     case $withval in
   15464     yes|no) pic_mode=$withval ;;
   15465     *)
   15466       pic_mode=default
   15467       # Look at the argument we got.  We use all the common list separators.
   15468       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15469       for lt_pkg in $withval; do
   15470 	IFS=$lt_save_ifs
   15471 	if test "X$lt_pkg" = "X$lt_p"; then
   15472 	  pic_mode=yes
   15473 	fi
   15474       done
   15475       IFS=$lt_save_ifs
   15476       ;;
   15477     esac
   15478 else case e in #(
   15479   e) pic_mode=default ;;
   15480 esac
   15481 fi
   15482 
   15483 
   15484 
   15485 
   15486 
   15487 
   15488 
   15489 
   15490   # Check whether --enable-fast-install was given.
   15491 if test ${enable_fast_install+y}
   15492 then :
   15493   enableval=$enable_fast_install; p=${PACKAGE-default}
   15494     case $enableval in
   15495     yes) enable_fast_install=yes ;;
   15496     no) enable_fast_install=no ;;
   15497     *)
   15498       enable_fast_install=no
   15499       # Look at the argument we got.  We use all the common list separators.
   15500       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15501       for pkg in $enableval; do
   15502 	IFS=$lt_save_ifs
   15503 	if test "X$pkg" = "X$p"; then
   15504 	  enable_fast_install=yes
   15505 	fi
   15506       done
   15507       IFS=$lt_save_ifs
   15508       ;;
   15509     esac
   15510 else case e in #(
   15511   e) enable_fast_install=yes ;;
   15512 esac
   15513 fi
   15514 
   15515 
   15516 
   15517 
   15518 
   15519 
   15520 
   15521 
   15522   shared_archive_member_spec=
   15523 case $host,$enable_shared in
   15524 power*-*-aix[5-9]*,yes)
   15525   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   15526 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   15527 
   15528 # Check whether --with-aix-soname was given.
   15529 if test ${with_aix_soname+y}
   15530 then :
   15531   withval=$with_aix_soname; case $withval in
   15532     aix|svr4|both)
   15533       ;;
   15534     *)
   15535       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   15536       ;;
   15537     esac
   15538     lt_cv_with_aix_soname=$with_aix_soname
   15539 else case e in #(
   15540   e) if test ${lt_cv_with_aix_soname+y}
   15541 then :
   15542   printf %s "(cached) " >&6
   15543 else case e in #(
   15544   e) lt_cv_with_aix_soname=aix ;;
   15545 esac
   15546 fi
   15547 
   15548     with_aix_soname=$lt_cv_with_aix_soname ;;
   15549 esac
   15550 fi
   15551 
   15552   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   15553 printf "%s\n" "$with_aix_soname" >&6; }
   15554   if test aix != "$with_aix_soname"; then
   15555     # For the AIX way of multilib, we name the shared archive member
   15556     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   15557     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   15558     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   15559     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   15560     if test 64 = "${OBJECT_MODE-32}"; then
   15561       shared_archive_member_spec=shr_64
   15562     else
   15563       shared_archive_member_spec=shr
   15564     fi
   15565   fi
   15566   ;;
   15567 *)
   15568   with_aix_soname=aix
   15569   ;;
   15570 esac
   15571 
   15572 
   15573 
   15574 
   15575 
   15576 
   15577 
   15578 
   15579 
   15580 
   15581 # This can be used to rebuild libtool when needed
   15582 LIBTOOL_DEPS=$ltmain
   15583 
   15584 # Always use our own libtool.
   15585 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   15586 
   15587 
   15588 
   15589 
   15590 
   15591 
   15592 
   15593 
   15594 
   15595 
   15596 
   15597 
   15598 
   15599 
   15600 
   15601 
   15602 
   15603 
   15604 
   15605 
   15606 
   15607 
   15608 
   15609 
   15610 
   15611 
   15612 
   15613 
   15614 
   15615 
   15616 test -z "$LN_S" && LN_S="ln -s"
   15617 
   15618 
   15619 
   15620 
   15621 
   15622 
   15623 
   15624 
   15625 
   15626 
   15627 
   15628 
   15629 
   15630 
   15631 if test -n "${ZSH_VERSION+set}"; then
   15632    setopt NO_GLOB_SUBST
   15633 fi
   15634 
   15635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   15636 printf %s "checking for objdir... " >&6; }
   15637 if test ${lt_cv_objdir+y}
   15638 then :
   15639   printf %s "(cached) " >&6
   15640 else case e in #(
   15641   e) rm -f .libs 2>/dev/null
   15642 mkdir .libs 2>/dev/null
   15643 if test -d .libs; then
   15644   lt_cv_objdir=.libs
   15645 else
   15646   # MS-DOS does not allow filenames that begin with a dot.
   15647   lt_cv_objdir=_libs
   15648 fi
   15649 rmdir .libs 2>/dev/null ;;
   15650 esac
   15651 fi
   15652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   15653 printf "%s\n" "$lt_cv_objdir" >&6; }
   15654 objdir=$lt_cv_objdir
   15655 
   15656 
   15657 
   15658 
   15659 
   15660 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   15661 
   15662 
   15663 
   15664 
   15665 case $host_os in
   15666 aix3*)
   15667   # AIX sometimes has problems with the GCC collect2 program.  For some
   15668   # reason, if we set the COLLECT_NAMES environment variable, the problems
   15669   # vanish in a puff of smoke.
   15670   if test set != "${COLLECT_NAMES+set}"; then
   15671     COLLECT_NAMES=
   15672     export COLLECT_NAMES
   15673   fi
   15674   ;;
   15675 esac
   15676 
   15677 # Global variables:
   15678 ofile=libtool
   15679 can_build_shared=yes
   15680 
   15681 # All known linkers require a '.a' archive for static linking (except MSVC and
   15682 # ICC, which need '.lib').
   15683 libext=a
   15684 
   15685 with_gnu_ld=$lt_cv_prog_gnu_ld
   15686 
   15687 old_CC=$CC
   15688 old_CFLAGS=$CFLAGS
   15689 
   15690 # Set sane defaults for various variables
   15691 test -z "$CC" && CC=cc
   15692 test -z "$LTCC" && LTCC=$CC
   15693 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   15694 test -z "$LD" && LD=ld
   15695 test -z "$ac_objext" && ac_objext=o
   15696 
   15697 func_cc_basename $compiler
   15698 cc_basename=$func_cc_basename_result
   15699 
   15700 
   15701 # Only perform the check for file, if the check method requires it
   15702 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   15703 case $deplibs_check_method in
   15704 file_magic*)
   15705   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   15706     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   15707 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   15708 if test ${lt_cv_path_MAGIC_CMD+y}
   15709 then :
   15710   printf %s "(cached) " >&6
   15711 else case e in #(
   15712   e) case $MAGIC_CMD in
   15713 [\\/*] |  ?:[\\/]*)
   15714   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   15715   ;;
   15716 *)
   15717   lt_save_MAGIC_CMD=$MAGIC_CMD
   15718   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   15719   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   15720   for ac_dir in $ac_dummy; do
   15721     IFS=$lt_save_ifs
   15722     test -z "$ac_dir" && ac_dir=.
   15723     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   15724       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   15725       if test -n "$file_magic_test_file"; then
   15726 	case $deplibs_check_method in
   15727 	"file_magic "*)
   15728 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   15729 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15730 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   15731 	    $EGREP "$file_magic_regex" > /dev/null; then
   15732 	    :
   15733 	  else
   15734 	    cat <<_LT_EOF 1>&2
   15735 
   15736 *** Warning: the command libtool uses to detect shared libraries,
   15737 *** $file_magic_cmd, produces output that libtool cannot recognize.
   15738 *** The result is that libtool may fail to recognize shared libraries
   15739 *** as such.  This will affect the creation of libtool libraries that
   15740 *** depend on shared libraries, but programs linked with such libtool
   15741 *** libraries will work regardless of this problem.  Nevertheless, you
   15742 *** may want to report the problem to your system manager and/or to
   15743 *** bug-libtool@gnu.org
   15744 
   15745 _LT_EOF
   15746 	  fi ;;
   15747 	esac
   15748       fi
   15749       break
   15750     fi
   15751   done
   15752   IFS=$lt_save_ifs
   15753   MAGIC_CMD=$lt_save_MAGIC_CMD
   15754   ;;
   15755 esac ;;
   15756 esac
   15757 fi
   15758 
   15759 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15760 if test -n "$MAGIC_CMD"; then
   15761   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   15762 printf "%s\n" "$MAGIC_CMD" >&6; }
   15763 else
   15764   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15765 printf "%s\n" "no" >&6; }
   15766 fi
   15767 
   15768 
   15769 
   15770 
   15771 
   15772 if test -z "$lt_cv_path_MAGIC_CMD"; then
   15773   if test -n "$ac_tool_prefix"; then
   15774     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   15775 printf %s "checking for file... " >&6; }
   15776 if test ${lt_cv_path_MAGIC_CMD+y}
   15777 then :
   15778   printf %s "(cached) " >&6
   15779 else case e in #(
   15780   e) case $MAGIC_CMD in
   15781 [\\/*] |  ?:[\\/]*)
   15782   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   15783   ;;
   15784 *)
   15785   lt_save_MAGIC_CMD=$MAGIC_CMD
   15786   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   15787   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   15788   for ac_dir in $ac_dummy; do
   15789     IFS=$lt_save_ifs
   15790     test -z "$ac_dir" && ac_dir=.
   15791     if test -f "$ac_dir/file"; then
   15792       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   15793       if test -n "$file_magic_test_file"; then
   15794 	case $deplibs_check_method in
   15795 	"file_magic "*)
   15796 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   15797 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15798 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   15799 	    $EGREP "$file_magic_regex" > /dev/null; then
   15800 	    :
   15801 	  else
   15802 	    cat <<_LT_EOF 1>&2
   15803 
   15804 *** Warning: the command libtool uses to detect shared libraries,
   15805 *** $file_magic_cmd, produces output that libtool cannot recognize.
   15806 *** The result is that libtool may fail to recognize shared libraries
   15807 *** as such.  This will affect the creation of libtool libraries that
   15808 *** depend on shared libraries, but programs linked with such libtool
   15809 *** libraries will work regardless of this problem.  Nevertheless, you
   15810 *** may want to report the problem to your system manager and/or to
   15811 *** bug-libtool@gnu.org
   15812 
   15813 _LT_EOF
   15814 	  fi ;;
   15815 	esac
   15816       fi
   15817       break
   15818     fi
   15819   done
   15820   IFS=$lt_save_ifs
   15821   MAGIC_CMD=$lt_save_MAGIC_CMD
   15822   ;;
   15823 esac ;;
   15824 esac
   15825 fi
   15826 
   15827 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15828 if test -n "$MAGIC_CMD"; then
   15829   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   15830 printf "%s\n" "$MAGIC_CMD" >&6; }
   15831 else
   15832   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15833 printf "%s\n" "no" >&6; }
   15834 fi
   15835 
   15836 
   15837   else
   15838     MAGIC_CMD=:
   15839   fi
   15840 fi
   15841 
   15842   fi
   15843   ;;
   15844 esac
   15845 
   15846 # Use C for the default configuration in the libtool script
   15847 
   15848 lt_save_CC=$CC
   15849 ac_ext=c
   15850 ac_cpp='$CPP $CPPFLAGS'
   15851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15854 
   15855 
   15856 # Source file extension for C test sources.
   15857 ac_ext=c
   15858 
   15859 # Object file extension for compiled C test sources.
   15860 objext=o
   15861 objext=$objext
   15862 
   15863 # Code to be used in simple compile tests
   15864 lt_simple_compile_test_code="int some_variable = 0;"
   15865 
   15866 # Code to be used in simple link tests
   15867 lt_simple_link_test_code='int main(){return(0);}'
   15868 
   15869 
   15870 
   15871 
   15872 
   15873 
   15874 
   15875 # If no C compiler was specified, use CC.
   15876 LTCC=${LTCC-"$CC"}
   15877 
   15878 # If no C compiler flags were specified, use CFLAGS.
   15879 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   15880 
   15881 # Allow CC to be a program name with arguments.
   15882 compiler=$CC
   15883 
   15884 # Save the default compiler, since it gets overwritten when the other
   15885 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   15886 compiler_DEFAULT=$CC
   15887 
   15888 # save warnings/boilerplate of simple test code
   15889 ac_outfile=conftest.$ac_objext
   15890 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   15891 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   15892 _lt_compiler_boilerplate=`cat conftest.err`
   15893 $RM conftest*
   15894 
   15895 ac_outfile=conftest.$ac_objext
   15896 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   15897 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   15898 _lt_linker_boilerplate=`cat conftest.err`
   15899 $RM -r conftest*
   15900 
   15901 
   15902 if test -n "$compiler"; then
   15903 
   15904 lt_prog_compiler_no_builtin_flag=
   15905 
   15906 if test yes = "$GCC"; then
   15907   case $cc_basename in
   15908   nvcc*)
   15909     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   15910   *)
   15911     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   15912   esac
   15913 
   15914   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   15915 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   15916 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   15917 then :
   15918   printf %s "(cached) " >&6
   15919 else case e in #(
   15920   e) lt_cv_prog_compiler_rtti_exceptions=no
   15921    ac_outfile=conftest.$ac_objext
   15922    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15923    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   15924    # Insert the option either (1) after the last *FLAGS variable, or
   15925    # (2) before a word containing "conftest.", or (3) at the end.
   15926    # Note that $ac_compile itself does not contain backslashes and begins
   15927    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15928    # The option is referenced via a variable to avoid confusing sed.
   15929    lt_compile=`echo "$ac_compile" | $SED \
   15930    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15931    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15932    -e 's:$: $lt_compiler_flag:'`
   15933    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15934    (eval "$lt_compile" 2>conftest.err)
   15935    ac_status=$?
   15936    cat conftest.err >&5
   15937    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15938    if (exit $ac_status) && test -s "$ac_outfile"; then
   15939      # The compiler can only warn and ignore the option if not recognized
   15940      # So say no if there are warnings other than the usual output.
   15941      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   15942      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15943      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   15944        lt_cv_prog_compiler_rtti_exceptions=yes
   15945      fi
   15946    fi
   15947    $RM conftest*
   15948  ;;
   15949 esac
   15950 fi
   15951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   15952 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   15953 
   15954 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   15955     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   15956 else
   15957     :
   15958 fi
   15959 
   15960 fi
   15961 
   15962 
   15963 
   15964 
   15965 
   15966 
   15967   lt_prog_compiler_wl=
   15968 lt_prog_compiler_pic=
   15969 lt_prog_compiler_static=
   15970 
   15971 
   15972   if test yes = "$GCC"; then
   15973     lt_prog_compiler_wl='-Wl,'
   15974     lt_prog_compiler_static='-static'
   15975 
   15976     case $host_os in
   15977       aix*)
   15978       # All AIX code is PIC.
   15979       if test ia64 = "$host_cpu"; then
   15980 	# AIX 5 now supports IA64 processor
   15981 	lt_prog_compiler_static='-Bstatic'
   15982       fi
   15983       lt_prog_compiler_pic='-fPIC'
   15984       ;;
   15985 
   15986     amigaos*)
   15987       case $host_cpu in
   15988       powerpc)
   15989             # see comment about AmigaOS4 .so support
   15990             lt_prog_compiler_pic='-fPIC'
   15991         ;;
   15992       m68k)
   15993             # FIXME: we need at least 68020 code to build shared libraries, but
   15994             # adding the '-m68020' flag to GCC prevents building anything better,
   15995             # like '-m68040'.
   15996             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   15997         ;;
   15998       esac
   15999       ;;
   16000 
   16001     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   16002       # PIC is the default for these OSes.
   16003       ;;
   16004 
   16005     mingw* | cygwin* | pw32* | os2* | cegcc*)
   16006       # This hack is so that the source file can tell whether it is being
   16007       # built for inclusion in a dll (and should export symbols for example).
   16008       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   16009       # (--disable-auto-import) libraries
   16010       lt_prog_compiler_pic='-DDLL_EXPORT'
   16011       case $host_os in
   16012       os2*)
   16013 	lt_prog_compiler_static='$wl-static'
   16014 	;;
   16015       esac
   16016       ;;
   16017 
   16018     darwin* | rhapsody*)
   16019       # PIC is the default on this platform
   16020       # Common symbols not allowed in MH_DYLIB files
   16021       lt_prog_compiler_pic='-fno-common'
   16022       ;;
   16023 
   16024     haiku*)
   16025       # PIC is the default for Haiku.
   16026       # The "-static" flag exists, but is broken.
   16027       lt_prog_compiler_static=
   16028       ;;
   16029 
   16030     hpux*)
   16031       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   16032       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   16033       # sets the default TLS model and affects inlining.
   16034       case $host_cpu in
   16035       hppa*64*)
   16036 	# +Z the default
   16037 	;;
   16038       *)
   16039 	lt_prog_compiler_pic='-fPIC'
   16040 	;;
   16041       esac
   16042       ;;
   16043 
   16044     interix[3-9]*)
   16045       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   16046       # Instead, we relocate shared libraries at runtime.
   16047       ;;
   16048 
   16049     msdosdjgpp*)
   16050       # Just because we use GCC doesn't mean we suddenly get shared libraries
   16051       # on systems that don't support them.
   16052       lt_prog_compiler_can_build_shared=no
   16053       enable_shared=no
   16054       ;;
   16055 
   16056     *nto* | *qnx*)
   16057       # QNX uses GNU C++, but need to define -shared option too, otherwise
   16058       # it will coredump.
   16059       lt_prog_compiler_pic='-fPIC -shared'
   16060       ;;
   16061 
   16062     sysv4*MP*)
   16063       if test -d /usr/nec; then
   16064 	lt_prog_compiler_pic=-Kconform_pic
   16065       fi
   16066       ;;
   16067 
   16068     *)
   16069       lt_prog_compiler_pic='-fPIC'
   16070       ;;
   16071     esac
   16072 
   16073     case $cc_basename in
   16074     nvcc*) # Cuda Compiler Driver 2.2
   16075       lt_prog_compiler_wl='-Xlinker '
   16076       if test -n "$lt_prog_compiler_pic"; then
   16077         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   16078       fi
   16079       ;;
   16080     esac
   16081   else
   16082     # PORTME Check for flag to pass linker flags through the system compiler.
   16083     case $host_os in
   16084     aix*)
   16085       lt_prog_compiler_wl='-Wl,'
   16086       if test ia64 = "$host_cpu"; then
   16087 	# AIX 5 now supports IA64 processor
   16088 	lt_prog_compiler_static='-Bstatic'
   16089       else
   16090 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   16091       fi
   16092       ;;
   16093 
   16094     darwin* | rhapsody*)
   16095       # PIC is the default on this platform
   16096       # Common symbols not allowed in MH_DYLIB files
   16097       lt_prog_compiler_pic='-fno-common'
   16098       case $cc_basename in
   16099       nagfor*)
   16100         # NAG Fortran compiler
   16101         lt_prog_compiler_wl='-Wl,-Wl,,'
   16102         lt_prog_compiler_pic='-PIC'
   16103         lt_prog_compiler_static='-Bstatic'
   16104         ;;
   16105       esac
   16106       ;;
   16107 
   16108     mingw* | cygwin* | pw32* | os2* | cegcc*)
   16109       # This hack is so that the source file can tell whether it is being
   16110       # built for inclusion in a dll (and should export symbols for example).
   16111       lt_prog_compiler_pic='-DDLL_EXPORT'
   16112       case $host_os in
   16113       os2*)
   16114 	lt_prog_compiler_static='$wl-static'
   16115 	;;
   16116       esac
   16117       ;;
   16118 
   16119     hpux9* | hpux10* | hpux11*)
   16120       lt_prog_compiler_wl='-Wl,'
   16121       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16122       # not for PA HP-UX.
   16123       case $host_cpu in
   16124       hppa*64*|ia64*)
   16125 	# +Z the default
   16126 	;;
   16127       *)
   16128 	lt_prog_compiler_pic='+Z'
   16129 	;;
   16130       esac
   16131       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   16132       lt_prog_compiler_static='$wl-a ${wl}archive'
   16133       ;;
   16134 
   16135     irix5* | irix6* | nonstopux*)
   16136       lt_prog_compiler_wl='-Wl,'
   16137       # PIC (with -KPIC) is the default.
   16138       lt_prog_compiler_static='-non_shared'
   16139       ;;
   16140 
   16141     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   16142       case $cc_basename in
   16143       # old Intel for x86_64, which still supported -KPIC.
   16144       ecc*)
   16145 	lt_prog_compiler_wl='-Wl,'
   16146 	lt_prog_compiler_pic='-KPIC'
   16147 	lt_prog_compiler_static='-static'
   16148         ;;
   16149       # icc used to be incompatible with GCC.
   16150       # ICC 10 doesn't accept -KPIC any more.
   16151       icc* | ifort*)
   16152 	lt_prog_compiler_wl='-Wl,'
   16153 	lt_prog_compiler_pic='-fPIC'
   16154 	lt_prog_compiler_static='-static'
   16155         ;;
   16156       # Lahey Fortran 8.1.
   16157       lf95*)
   16158 	lt_prog_compiler_wl='-Wl,'
   16159 	lt_prog_compiler_pic='--shared'
   16160 	lt_prog_compiler_static='--static'
   16161 	;;
   16162       nagfor*)
   16163 	# NAG Fortran compiler
   16164 	lt_prog_compiler_wl='-Wl,-Wl,,'
   16165 	lt_prog_compiler_pic='-PIC'
   16166 	lt_prog_compiler_static='-Bstatic'
   16167 	;;
   16168       tcc*)
   16169 	# Fabrice Bellard et al's Tiny C Compiler
   16170 	lt_prog_compiler_wl='-Wl,'
   16171 	lt_prog_compiler_pic='-fPIC'
   16172 	lt_prog_compiler_static='-static'
   16173 	;;
   16174       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   16175         # Portland Group compilers (*not* the Pentium gcc compiler,
   16176 	# which looks to be a dead project)
   16177 	lt_prog_compiler_wl='-Wl,'
   16178 	lt_prog_compiler_pic='-fpic'
   16179 	lt_prog_compiler_static='-Bstatic'
   16180         ;;
   16181       ccc*)
   16182         lt_prog_compiler_wl='-Wl,'
   16183         # All Alpha code is PIC.
   16184         lt_prog_compiler_static='-non_shared'
   16185         ;;
   16186       xl* | bgxl* | bgf* | mpixl*)
   16187 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   16188 	lt_prog_compiler_wl='-Wl,'
   16189 	lt_prog_compiler_pic='-qpic'
   16190 	lt_prog_compiler_static='-qstaticlink'
   16191 	;;
   16192       *)
   16193 	case `$CC -V 2>&1 | $SED 5q` in
   16194 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   16195 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   16196 	  lt_prog_compiler_pic='-KPIC'
   16197 	  lt_prog_compiler_static='-Bstatic'
   16198 	  lt_prog_compiler_wl=''
   16199 	  ;;
   16200 	*Sun\ F* | *Sun*Fortran*)
   16201 	  lt_prog_compiler_pic='-KPIC'
   16202 	  lt_prog_compiler_static='-Bstatic'
   16203 	  lt_prog_compiler_wl='-Qoption ld '
   16204 	  ;;
   16205 	*Sun\ C*)
   16206 	  # Sun C 5.9
   16207 	  lt_prog_compiler_pic='-KPIC'
   16208 	  lt_prog_compiler_static='-Bstatic'
   16209 	  lt_prog_compiler_wl='-Wl,'
   16210 	  ;;
   16211         *Intel*\ [CF]*Compiler*)
   16212 	  lt_prog_compiler_wl='-Wl,'
   16213 	  lt_prog_compiler_pic='-fPIC'
   16214 	  lt_prog_compiler_static='-static'
   16215 	  ;;
   16216 	*Portland\ Group*)
   16217 	  lt_prog_compiler_wl='-Wl,'
   16218 	  lt_prog_compiler_pic='-fpic'
   16219 	  lt_prog_compiler_static='-Bstatic'
   16220 	  ;;
   16221 	esac
   16222 	;;
   16223       esac
   16224       ;;
   16225 
   16226     newsos6)
   16227       lt_prog_compiler_pic='-KPIC'
   16228       lt_prog_compiler_static='-Bstatic'
   16229       ;;
   16230 
   16231     *nto* | *qnx*)
   16232       # QNX uses GNU C++, but need to define -shared option too, otherwise
   16233       # it will coredump.
   16234       lt_prog_compiler_pic='-fPIC -shared'
   16235       ;;
   16236 
   16237     osf3* | osf4* | osf5*)
   16238       lt_prog_compiler_wl='-Wl,'
   16239       # All OSF/1 code is PIC.
   16240       lt_prog_compiler_static='-non_shared'
   16241       ;;
   16242 
   16243     rdos*)
   16244       lt_prog_compiler_static='-non_shared'
   16245       ;;
   16246 
   16247     solaris*)
   16248       lt_prog_compiler_pic='-KPIC'
   16249       lt_prog_compiler_static='-Bstatic'
   16250       case $cc_basename in
   16251       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   16252 	lt_prog_compiler_wl='-Qoption ld ';;
   16253       *)
   16254 	lt_prog_compiler_wl='-Wl,';;
   16255       esac
   16256       ;;
   16257 
   16258     sunos4*)
   16259       lt_prog_compiler_wl='-Qoption ld '
   16260       lt_prog_compiler_pic='-PIC'
   16261       lt_prog_compiler_static='-Bstatic'
   16262       ;;
   16263 
   16264     sysv4 | sysv4.2uw2* | sysv4.3*)
   16265       lt_prog_compiler_wl='-Wl,'
   16266       lt_prog_compiler_pic='-KPIC'
   16267       lt_prog_compiler_static='-Bstatic'
   16268       ;;
   16269 
   16270     sysv4*MP*)
   16271       if test -d /usr/nec; then
   16272 	lt_prog_compiler_pic='-Kconform_pic'
   16273 	lt_prog_compiler_static='-Bstatic'
   16274       fi
   16275       ;;
   16276 
   16277     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   16278       lt_prog_compiler_wl='-Wl,'
   16279       lt_prog_compiler_pic='-KPIC'
   16280       lt_prog_compiler_static='-Bstatic'
   16281       ;;
   16282 
   16283     unicos*)
   16284       lt_prog_compiler_wl='-Wl,'
   16285       lt_prog_compiler_can_build_shared=no
   16286       ;;
   16287 
   16288     uts4*)
   16289       lt_prog_compiler_pic='-pic'
   16290       lt_prog_compiler_static='-Bstatic'
   16291       ;;
   16292 
   16293     *)
   16294       lt_prog_compiler_can_build_shared=no
   16295       ;;
   16296     esac
   16297   fi
   16298 
   16299 case $host_os in
   16300   # For platforms that do not support PIC, -DPIC is meaningless:
   16301   *djgpp*)
   16302     lt_prog_compiler_pic=
   16303     ;;
   16304   *)
   16305     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   16306     ;;
   16307 esac
   16308 
   16309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   16310 printf %s "checking for $compiler option to produce PIC... " >&6; }
   16311 if test ${lt_cv_prog_compiler_pic+y}
   16312 then :
   16313   printf %s "(cached) " >&6
   16314 else case e in #(
   16315   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   16316 esac
   16317 fi
   16318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   16319 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   16320 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   16321 
   16322 #
   16323 # Check to make sure the PIC flag actually works.
   16324 #
   16325 if test -n "$lt_prog_compiler_pic"; then
   16326   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   16327 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   16328 if test ${lt_cv_prog_compiler_pic_works+y}
   16329 then :
   16330   printf %s "(cached) " >&6
   16331 else case e in #(
   16332   e) lt_cv_prog_compiler_pic_works=no
   16333    ac_outfile=conftest.$ac_objext
   16334    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16335    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   16336    # Insert the option either (1) after the last *FLAGS variable, or
   16337    # (2) before a word containing "conftest.", or (3) at the end.
   16338    # Note that $ac_compile itself does not contain backslashes and begins
   16339    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16340    # The option is referenced via a variable to avoid confusing sed.
   16341    lt_compile=`echo "$ac_compile" | $SED \
   16342    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16343    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16344    -e 's:$: $lt_compiler_flag:'`
   16345    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   16346    (eval "$lt_compile" 2>conftest.err)
   16347    ac_status=$?
   16348    cat conftest.err >&5
   16349    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16350    if (exit $ac_status) && test -s "$ac_outfile"; then
   16351      # The compiler can only warn and ignore the option if not recognized
   16352      # So say no if there are warnings other than the usual output.
   16353      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   16354      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16355      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16356        lt_cv_prog_compiler_pic_works=yes
   16357      fi
   16358    fi
   16359    $RM conftest*
   16360  ;;
   16361 esac
   16362 fi
   16363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   16364 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   16365 
   16366 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   16367     case $lt_prog_compiler_pic in
   16368      "" | " "*) ;;
   16369      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   16370      esac
   16371 else
   16372     lt_prog_compiler_pic=
   16373      lt_prog_compiler_can_build_shared=no
   16374 fi
   16375 
   16376 fi
   16377 
   16378 
   16379 
   16380 
   16381 
   16382 
   16383 
   16384 
   16385 
   16386 
   16387 
   16388 #
   16389 # Check to make sure the static flag actually works.
   16390 #
   16391 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   16392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   16393 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   16394 if test ${lt_cv_prog_compiler_static_works+y}
   16395 then :
   16396   printf %s "(cached) " >&6
   16397 else case e in #(
   16398   e) lt_cv_prog_compiler_static_works=no
   16399    save_LDFLAGS=$LDFLAGS
   16400    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   16401    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   16402    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   16403      # The linker can only warn and ignore the option if not recognized
   16404      # So say no if there are warnings
   16405      if test -s conftest.err; then
   16406        # Append any errors to the config.log.
   16407        cat conftest.err 1>&5
   16408        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   16409        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16410        if diff conftest.exp conftest.er2 >/dev/null; then
   16411          lt_cv_prog_compiler_static_works=yes
   16412        fi
   16413      else
   16414        lt_cv_prog_compiler_static_works=yes
   16415      fi
   16416    fi
   16417    $RM -r conftest*
   16418    LDFLAGS=$save_LDFLAGS
   16419  ;;
   16420 esac
   16421 fi
   16422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   16423 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   16424 
   16425 if test yes = "$lt_cv_prog_compiler_static_works"; then
   16426     :
   16427 else
   16428     lt_prog_compiler_static=
   16429 fi
   16430 
   16431 
   16432 
   16433 
   16434 
   16435 
   16436 
   16437   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   16438 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   16439 if test ${lt_cv_prog_compiler_c_o+y}
   16440 then :
   16441   printf %s "(cached) " >&6
   16442 else case e in #(
   16443   e) lt_cv_prog_compiler_c_o=no
   16444    $RM -r conftest 2>/dev/null
   16445    mkdir conftest
   16446    cd conftest
   16447    mkdir out
   16448    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16449 
   16450    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16451    # Insert the option either (1) after the last *FLAGS variable, or
   16452    # (2) before a word containing "conftest.", or (3) at the end.
   16453    # Note that $ac_compile itself does not contain backslashes and begins
   16454    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16455    lt_compile=`echo "$ac_compile" | $SED \
   16456    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16457    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16458    -e 's:$: $lt_compiler_flag:'`
   16459    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   16460    (eval "$lt_compile" 2>out/conftest.err)
   16461    ac_status=$?
   16462    cat out/conftest.err >&5
   16463    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16464    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16465    then
   16466      # The compiler can only warn and ignore the option if not recognized
   16467      # So say no if there are warnings
   16468      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   16469      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16470      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16471        lt_cv_prog_compiler_c_o=yes
   16472      fi
   16473    fi
   16474    chmod u+w . 2>&5
   16475    $RM conftest*
   16476    # SGI C++ compiler will create directory out/ii_files/ for
   16477    # template instantiation
   16478    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   16479    $RM out/* && rmdir out
   16480    cd ..
   16481    $RM -r conftest
   16482    $RM conftest*
   16483  ;;
   16484 esac
   16485 fi
   16486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   16487 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   16488 
   16489 
   16490 
   16491 
   16492 
   16493 
   16494   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   16495 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   16496 if test ${lt_cv_prog_compiler_c_o+y}
   16497 then :
   16498   printf %s "(cached) " >&6
   16499 else case e in #(
   16500   e) lt_cv_prog_compiler_c_o=no
   16501    $RM -r conftest 2>/dev/null
   16502    mkdir conftest
   16503    cd conftest
   16504    mkdir out
   16505    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16506 
   16507    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16508    # Insert the option either (1) after the last *FLAGS variable, or
   16509    # (2) before a word containing "conftest.", or (3) at the end.
   16510    # Note that $ac_compile itself does not contain backslashes and begins
   16511    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16512    lt_compile=`echo "$ac_compile" | $SED \
   16513    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16514    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16515    -e 's:$: $lt_compiler_flag:'`
   16516    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   16517    (eval "$lt_compile" 2>out/conftest.err)
   16518    ac_status=$?
   16519    cat out/conftest.err >&5
   16520    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16521    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16522    then
   16523      # The compiler can only warn and ignore the option if not recognized
   16524      # So say no if there are warnings
   16525      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   16526      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16527      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16528        lt_cv_prog_compiler_c_o=yes
   16529      fi
   16530    fi
   16531    chmod u+w . 2>&5
   16532    $RM conftest*
   16533    # SGI C++ compiler will create directory out/ii_files/ for
   16534    # template instantiation
   16535    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   16536    $RM out/* && rmdir out
   16537    cd ..
   16538    $RM -r conftest
   16539    $RM conftest*
   16540  ;;
   16541 esac
   16542 fi
   16543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   16544 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   16545 
   16546 
   16547 
   16548 
   16549 hard_links=nottested
   16550 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   16551   # do not overwrite the value of need_locks provided by the user
   16552   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   16553 printf %s "checking if we can lock with hard links... " >&6; }
   16554   hard_links=yes
   16555   $RM conftest*
   16556   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16557   touch conftest.a
   16558   ln conftest.a conftest.b 2>&5 || hard_links=no
   16559   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16560   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   16561 printf "%s\n" "$hard_links" >&6; }
   16562   if test no = "$hard_links"; then
   16563     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   16564 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   16565     need_locks=warn
   16566   fi
   16567 else
   16568   need_locks=no
   16569 fi
   16570 
   16571 
   16572 
   16573 
   16574 
   16575 
   16576   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   16577 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   16578 
   16579   runpath_var=
   16580   allow_undefined_flag=
   16581   always_export_symbols=no
   16582   archive_cmds=
   16583   archive_expsym_cmds=
   16584   compiler_needs_object=no
   16585   enable_shared_with_static_runtimes=no
   16586   export_dynamic_flag_spec=
   16587   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   16588   hardcode_automatic=no
   16589   hardcode_direct=no
   16590   hardcode_direct_absolute=no
   16591   hardcode_libdir_flag_spec=
   16592   hardcode_libdir_separator=
   16593   hardcode_minus_L=no
   16594   hardcode_shlibpath_var=unsupported
   16595   inherit_rpath=no
   16596   link_all_deplibs=unknown
   16597   module_cmds=
   16598   module_expsym_cmds=
   16599   old_archive_from_new_cmds=
   16600   old_archive_from_expsyms_cmds=
   16601   thread_safe_flag_spec=
   16602   whole_archive_flag_spec=
   16603   # include_expsyms should be a list of space-separated symbols to be *always*
   16604   # included in the symbol list
   16605   include_expsyms=
   16606   # exclude_expsyms can be an extended regexp of symbols to exclude
   16607   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   16608   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   16609   # as well as any symbol that contains 'd'.
   16610   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   16611   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   16612   # platforms (ab)use it in PIC code, but their linkers get confused if
   16613   # the symbol is explicitly referenced.  Since portable code cannot
   16614   # rely on this symbol name, it's probably fine to never include it in
   16615   # preloaded symbol tables.
   16616   # Exclude shared library initialization/finalization symbols.
   16617   extract_expsyms_cmds=
   16618 
   16619   case $host_os in
   16620   cygwin* | mingw* | pw32* | cegcc*)
   16621     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   16622     # When not using gcc, we currently assume that we are using
   16623     # Microsoft Visual C++ or Intel C++ Compiler.
   16624     if test yes != "$GCC"; then
   16625       with_gnu_ld=no
   16626     fi
   16627     ;;
   16628   interix*)
   16629     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   16630     with_gnu_ld=yes
   16631     ;;
   16632   openbsd* | bitrig*)
   16633     with_gnu_ld=no
   16634     ;;
   16635   esac
   16636 
   16637   ld_shlibs=yes
   16638 
   16639   # On some targets, GNU ld is compatible enough with the native linker
   16640   # that we're better off using the native interface for both.
   16641   lt_use_gnu_ld_interface=no
   16642   if test yes = "$with_gnu_ld"; then
   16643     case $host_os in
   16644       aix*)
   16645 	# The AIX port of GNU ld has always aspired to compatibility
   16646 	# with the native linker.  However, as the warning in the GNU ld
   16647 	# block says, versions before 2.19.5* couldn't really create working
   16648 	# shared libraries, regardless of the interface used.
   16649 	case `$LD -v 2>&1` in
   16650 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   16651 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   16652 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   16653 	  *)
   16654 	    lt_use_gnu_ld_interface=yes
   16655 	    ;;
   16656 	esac
   16657 	;;
   16658       *)
   16659 	lt_use_gnu_ld_interface=yes
   16660 	;;
   16661     esac
   16662   fi
   16663 
   16664   if test yes = "$lt_use_gnu_ld_interface"; then
   16665     # If archive_cmds runs LD, not CC, wlarc should be empty
   16666     wlarc='$wl'
   16667 
   16668     # Set some defaults for GNU ld with shared library support. These
   16669     # are reset later if shared libraries are not supported. Putting them
   16670     # here allows them to be overridden if necessary.
   16671     runpath_var=LD_RUN_PATH
   16672     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16673     export_dynamic_flag_spec='$wl--export-dynamic'
   16674     # ancient GNU ld didn't support --whole-archive et. al.
   16675     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   16676       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   16677     else
   16678       whole_archive_flag_spec=
   16679     fi
   16680     supports_anon_versioning=no
   16681     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   16682       *GNU\ gold*) supports_anon_versioning=yes ;;
   16683       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   16684       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   16685       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   16686       *\ 2.11.*) ;; # other 2.11 versions
   16687       *) supports_anon_versioning=yes ;;
   16688     esac
   16689 
   16690     # See if GNU ld supports shared libraries.
   16691     case $host_os in
   16692     aix[3-9]*)
   16693       # On AIX/PPC, the GNU linker is very broken
   16694       if test ia64 != "$host_cpu"; then
   16695 	ld_shlibs=no
   16696 	cat <<_LT_EOF 1>&2
   16697 
   16698 *** Warning: the GNU linker, at least up to release 2.19, is reported
   16699 *** to be unable to reliably create shared libraries on AIX.
   16700 *** Therefore, libtool is disabling shared libraries support.  If you
   16701 *** really care for shared libraries, you may want to install binutils
   16702 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   16703 *** You will then need to restart the configuration process.
   16704 
   16705 _LT_EOF
   16706       fi
   16707       ;;
   16708 
   16709     amigaos*)
   16710       case $host_cpu in
   16711       powerpc)
   16712             # see comment about AmigaOS4 .so support
   16713             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16714             archive_expsym_cmds=''
   16715         ;;
   16716       m68k)
   16717             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)'
   16718             hardcode_libdir_flag_spec='-L$libdir'
   16719             hardcode_minus_L=yes
   16720         ;;
   16721       esac
   16722       ;;
   16723 
   16724     beos*)
   16725       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16726 	allow_undefined_flag=unsupported
   16727 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   16728 	# support --undefined.  This deserves some investigation.  FIXME
   16729 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16730       else
   16731 	ld_shlibs=no
   16732       fi
   16733       ;;
   16734 
   16735     cygwin* | mingw* | pw32* | cegcc*)
   16736       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   16737       # as there is no search path for DLLs.
   16738       hardcode_libdir_flag_spec='-L$libdir'
   16739       export_dynamic_flag_spec='$wl--export-all-symbols'
   16740       allow_undefined_flag=unsupported
   16741       always_export_symbols=no
   16742       enable_shared_with_static_runtimes=yes
   16743       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'
   16744       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   16745 
   16746       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   16747         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16748 	# If the export-symbols file already is a .def file, use it as
   16749 	# is; otherwise, prepend EXPORTS...
   16750 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   16751           cp $export_symbols $output_objdir/$soname.def;
   16752         else
   16753           echo EXPORTS > $output_objdir/$soname.def;
   16754           cat $export_symbols >> $output_objdir/$soname.def;
   16755         fi~
   16756         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16757       else
   16758 	ld_shlibs=no
   16759       fi
   16760       ;;
   16761 
   16762     haiku*)
   16763       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16764       link_all_deplibs=yes
   16765       ;;
   16766 
   16767     os2*)
   16768       hardcode_libdir_flag_spec='-L$libdir'
   16769       hardcode_minus_L=yes
   16770       allow_undefined_flag=unsupported
   16771       shrext_cmds=.dll
   16772       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16773 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16774 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16775 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16776 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   16777 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16778 	emximp -o $lib $output_objdir/$libname.def'
   16779       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16780 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16781 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16782 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16783 	prefix_cmds="$SED"~
   16784 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   16785 	  prefix_cmds="$prefix_cmds -e 1d";
   16786 	fi~
   16787 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   16788 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   16789 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16790 	emximp -o $lib $output_objdir/$libname.def'
   16791       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   16792       enable_shared_with_static_runtimes=yes
   16793       file_list_spec='@'
   16794       ;;
   16795 
   16796     interix[3-9]*)
   16797       hardcode_direct=no
   16798       hardcode_shlibpath_var=no
   16799       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   16800       export_dynamic_flag_spec='$wl-E'
   16801       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   16802       # Instead, shared libraries are loaded at an image base (0x10000000 by
   16803       # default) and relocated if they conflict, which is a slow very memory
   16804       # consuming and fragmenting process.  To avoid this, we pick a random,
   16805       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   16806       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   16807       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   16808       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'
   16809       ;;
   16810 
   16811     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   16812       tmp_diet=no
   16813       if test linux-dietlibc = "$host_os"; then
   16814 	case $cc_basename in
   16815 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   16816 	esac
   16817       fi
   16818       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   16819 	 && test no = "$tmp_diet"
   16820       then
   16821 	tmp_addflag=' $pic_flag'
   16822 	tmp_sharedflag='-shared'
   16823 	case $cc_basename,$host_cpu in
   16824         pgcc*)				# Portland Group C compiler
   16825 	  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'
   16826 	  tmp_addflag=' $pic_flag'
   16827 	  ;;
   16828 	pgf77* | pgf90* | pgf95* | pgfortran*)
   16829 					# Portland Group f77 and f90 compilers
   16830 	  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'
   16831 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   16832 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   16833 	  tmp_addflag=' -i_dynamic' ;;
   16834 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   16835 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   16836 	ifc* | ifort*)			# Intel Fortran compiler
   16837 	  tmp_addflag=' -nofor_main' ;;
   16838 	lf95*)				# Lahey Fortran 8.1
   16839 	  whole_archive_flag_spec=
   16840 	  tmp_sharedflag='--shared' ;;
   16841         nagfor*)                        # NAGFOR 5.3
   16842           tmp_sharedflag='-Wl,-shared' ;;
   16843 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   16844 	  tmp_sharedflag='-qmkshrobj'
   16845 	  tmp_addflag= ;;
   16846 	nvcc*)	# Cuda Compiler Driver 2.2
   16847 	  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'
   16848 	  compiler_needs_object=yes
   16849 	  ;;
   16850 	esac
   16851 	case `$CC -V 2>&1 | $SED 5q` in
   16852 	*Sun\ C*)			# Sun C 5.9
   16853 	  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'
   16854 	  compiler_needs_object=yes
   16855 	  tmp_sharedflag='-G' ;;
   16856 	*Sun\ F*)			# Sun Fortran 8.3
   16857 	  tmp_sharedflag='-G' ;;
   16858 	esac
   16859 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16860 
   16861         if test yes = "$supports_anon_versioning"; then
   16862           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   16863             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   16864             echo "local: *; };" >> $output_objdir/$libname.ver~
   16865             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   16866         fi
   16867 
   16868 	case $cc_basename in
   16869 	tcc*)
   16870 	  export_dynamic_flag_spec='-rdynamic'
   16871 	  ;;
   16872 	xlf* | bgf* | bgxlf* | mpixlf*)
   16873 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   16874 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   16875 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16876 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   16877 	  if test yes = "$supports_anon_versioning"; then
   16878 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   16879               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   16880               echo "local: *; };" >> $output_objdir/$libname.ver~
   16881               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   16882 	  fi
   16883 	  ;;
   16884 	esac
   16885       else
   16886         ld_shlibs=no
   16887       fi
   16888       ;;
   16889 
   16890     netbsd*)
   16891       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   16892 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   16893 	wlarc=
   16894       else
   16895 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16896 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16897       fi
   16898       ;;
   16899 
   16900     solaris*)
   16901       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   16902 	ld_shlibs=no
   16903 	cat <<_LT_EOF 1>&2
   16904 
   16905 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   16906 *** create shared libraries on Solaris systems.  Therefore, libtool
   16907 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16908 *** binutils to release 2.9.1 or newer.  Another option is to modify
   16909 *** your PATH or compiler configuration so that the native linker is
   16910 *** used, and then restart.
   16911 
   16912 _LT_EOF
   16913       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16914 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16915 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16916       else
   16917 	ld_shlibs=no
   16918       fi
   16919       ;;
   16920 
   16921     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   16922       case `$LD -v 2>&1` in
   16923         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   16924 	ld_shlibs=no
   16925 	cat <<_LT_EOF 1>&2
   16926 
   16927 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   16928 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   16929 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16930 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   16931 *** your PATH or compiler configuration so that the native linker is
   16932 *** used, and then restart.
   16933 
   16934 _LT_EOF
   16935 	;;
   16936 	*)
   16937 	  # For security reasons, it is highly recommended that you always
   16938 	  # use absolute paths for naming shared libraries, and exclude the
   16939 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   16940 	  # requires that you compile everything twice, which is a pain.
   16941 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16942 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16943 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16944 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16945 	  else
   16946 	    ld_shlibs=no
   16947 	  fi
   16948 	;;
   16949       esac
   16950       ;;
   16951 
   16952     sunos4*)
   16953       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16954       wlarc=
   16955       hardcode_direct=yes
   16956       hardcode_shlibpath_var=no
   16957       ;;
   16958 
   16959     *)
   16960       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16961 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16962 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16963       else
   16964 	ld_shlibs=no
   16965       fi
   16966       ;;
   16967     esac
   16968 
   16969     if test no = "$ld_shlibs"; then
   16970       runpath_var=
   16971       hardcode_libdir_flag_spec=
   16972       export_dynamic_flag_spec=
   16973       whole_archive_flag_spec=
   16974     fi
   16975   else
   16976     # PORTME fill in a description of your system's linker (not GNU ld)
   16977     case $host_os in
   16978     aix3*)
   16979       allow_undefined_flag=unsupported
   16980       always_export_symbols=yes
   16981       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'
   16982       # Note: this linker hardcodes the directories in LIBPATH if there
   16983       # are no directories specified by -L.
   16984       hardcode_minus_L=yes
   16985       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   16986 	# Neither direct hardcoding nor static linking is supported with a
   16987 	# broken collect2.
   16988 	hardcode_direct=unsupported
   16989       fi
   16990       ;;
   16991 
   16992     aix[4-9]*)
   16993       if test ia64 = "$host_cpu"; then
   16994 	# On IA64, the linker does run time linking by default, so we don't
   16995 	# have to do anything special.
   16996 	aix_use_runtimelinking=no
   16997 	exp_sym_flag='-Bexport'
   16998 	no_entry_flag=
   16999       else
   17000 	# If we're using GNU nm, then we don't want the "-C" option.
   17001 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   17002 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   17003 	# weak defined symbols like other global defined symbols, whereas
   17004 	# GNU nm marks them as "W".
   17005 	# While the 'weak' keyword is ignored in the Export File, we need
   17006 	# it in the Import File for the 'aix-soname' feature, so we have
   17007 	# to replace the "-B" option with "-P" for AIX nm.
   17008 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   17009 	  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'
   17010 	else
   17011 	  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'
   17012 	fi
   17013 	aix_use_runtimelinking=no
   17014 
   17015 	# Test if we are trying to use run time linking or normal
   17016 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   17017 	# have runtime linking enabled, and use it for executables.
   17018 	# For shared libraries, we enable/disable runtime linking
   17019 	# depending on the kind of the shared library created -
   17020 	# when "with_aix_soname,aix_use_runtimelinking" is:
   17021 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   17022 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   17023 	#            lib.a           static archive
   17024 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   17025 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   17026 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   17027 	#            lib.a(lib.so.V) shared, rtl:no
   17028 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   17029 	#            lib.a           static archive
   17030 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   17031 	  for ld_flag in $LDFLAGS; do
   17032 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   17033 	    aix_use_runtimelinking=yes
   17034 	    break
   17035 	  fi
   17036 	  done
   17037 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   17038 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   17039 	    # so we don't have lib.a shared libs to link our executables.
   17040 	    # We have to force runtime linking in this case.
   17041 	    aix_use_runtimelinking=yes
   17042 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   17043 	  fi
   17044 	  ;;
   17045 	esac
   17046 
   17047 	exp_sym_flag='-bexport'
   17048 	no_entry_flag='-bnoentry'
   17049       fi
   17050 
   17051       # When large executables or shared objects are built, AIX ld can
   17052       # have problems creating the table of contents.  If linking a library
   17053       # or program results in "error TOC overflow" add -mminimal-toc to
   17054       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17055       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17056 
   17057       archive_cmds=''
   17058       hardcode_direct=yes
   17059       hardcode_direct_absolute=yes
   17060       hardcode_libdir_separator=':'
   17061       link_all_deplibs=yes
   17062       file_list_spec='$wl-f,'
   17063       case $with_aix_soname,$aix_use_runtimelinking in
   17064       aix,*) ;; # traditional, no import file
   17065       svr4,* | *,yes) # use import file
   17066 	# The Import File defines what to hardcode.
   17067 	hardcode_direct=no
   17068 	hardcode_direct_absolute=no
   17069 	;;
   17070       esac
   17071 
   17072       if test yes = "$GCC"; then
   17073 	case $host_os in aix4.[012]|aix4.[012].*)
   17074 	# We only want to do this on AIX 4.2 and lower, the check
   17075 	# below for broken collect2 doesn't work under 4.3+
   17076 	  collect2name=`$CC -print-prog-name=collect2`
   17077 	  if test -f "$collect2name" &&
   17078 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   17079 	  then
   17080 	  # We have reworked collect2
   17081 	  :
   17082 	  else
   17083 	  # We have old collect2
   17084 	  hardcode_direct=unsupported
   17085 	  # It fails to find uninstalled libraries when the uninstalled
   17086 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17087 	  # to unsupported forces relinking
   17088 	  hardcode_minus_L=yes
   17089 	  hardcode_libdir_flag_spec='-L$libdir'
   17090 	  hardcode_libdir_separator=
   17091 	  fi
   17092 	  ;;
   17093 	esac
   17094 	shared_flag='-shared'
   17095 	if test yes = "$aix_use_runtimelinking"; then
   17096 	  shared_flag="$shared_flag "'$wl-G'
   17097 	fi
   17098 	# Need to ensure runtime linking is disabled for the traditional
   17099 	# shared library, or the linker may eventually find shared libraries
   17100 	# /with/ Import File - we do not want to mix them.
   17101 	shared_flag_aix='-shared'
   17102 	shared_flag_svr4='-shared $wl-G'
   17103       else
   17104 	# not using gcc
   17105 	if test ia64 = "$host_cpu"; then
   17106 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17107 	# chokes on -Wl,-G. The following line is correct:
   17108 	  shared_flag='-G'
   17109 	else
   17110 	  if test yes = "$aix_use_runtimelinking"; then
   17111 	    shared_flag='$wl-G'
   17112 	  else
   17113 	    shared_flag='$wl-bM:SRE'
   17114 	  fi
   17115 	  shared_flag_aix='$wl-bM:SRE'
   17116 	  shared_flag_svr4='$wl-G'
   17117 	fi
   17118       fi
   17119 
   17120       export_dynamic_flag_spec='$wl-bexpall'
   17121       # It seems that -bexpall does not export symbols beginning with
   17122       # underscore (_), so it is better to generate a list of symbols to export.
   17123       always_export_symbols=yes
   17124       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   17125 	# Warning - without using the other runtime loading flags (-brtl),
   17126 	# -berok will link without error, but may produce a broken library.
   17127 	allow_undefined_flag='-berok'
   17128         # Determine the default libpath from the value encoded in an
   17129         # empty executable.
   17130         if test set = "${lt_cv_aix_libpath+set}"; then
   17131   aix_libpath=$lt_cv_aix_libpath
   17132 else
   17133   if test ${lt_cv_aix_libpath_+y}
   17134 then :
   17135   printf %s "(cached) " >&6
   17136 else case e in #(
   17137   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17138 /* end confdefs.h.  */
   17139 
   17140 int
   17141 main (void)
   17142 {
   17143 
   17144   ;
   17145   return 0;
   17146 }
   17147 _ACEOF
   17148 if ac_fn_c_try_link "$LINENO"
   17149 then :
   17150 
   17151   lt_aix_libpath_sed='
   17152       /Import File Strings/,/^$/ {
   17153 	  /^0/ {
   17154 	      s/^0  *\([^ ]*\) *$/\1/
   17155 	      p
   17156 	  }
   17157       }'
   17158   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17159   # Check for a 64-bit object if we didn't find anything.
   17160   if test -z "$lt_cv_aix_libpath_"; then
   17161     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17162   fi
   17163 fi
   17164 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17165     conftest$ac_exeext conftest.$ac_ext
   17166   if test -z "$lt_cv_aix_libpath_"; then
   17167     lt_cv_aix_libpath_=/usr/lib:/lib
   17168   fi
   17169    ;;
   17170 esac
   17171 fi
   17172 
   17173   aix_libpath=$lt_cv_aix_libpath_
   17174 fi
   17175 
   17176         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   17177         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
   17178       else
   17179 	if test ia64 = "$host_cpu"; then
   17180 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   17181 	  allow_undefined_flag="-z nodefs"
   17182 	  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"
   17183 	else
   17184 	 # Determine the default libpath from the value encoded in an
   17185 	 # empty executable.
   17186 	 if test set = "${lt_cv_aix_libpath+set}"; then
   17187   aix_libpath=$lt_cv_aix_libpath
   17188 else
   17189   if test ${lt_cv_aix_libpath_+y}
   17190 then :
   17191   printf %s "(cached) " >&6
   17192 else case e in #(
   17193   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17194 /* end confdefs.h.  */
   17195 
   17196 int
   17197 main (void)
   17198 {
   17199 
   17200   ;
   17201   return 0;
   17202 }
   17203 _ACEOF
   17204 if ac_fn_c_try_link "$LINENO"
   17205 then :
   17206 
   17207   lt_aix_libpath_sed='
   17208       /Import File Strings/,/^$/ {
   17209 	  /^0/ {
   17210 	      s/^0  *\([^ ]*\) *$/\1/
   17211 	      p
   17212 	  }
   17213       }'
   17214   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17215   # Check for a 64-bit object if we didn't find anything.
   17216   if test -z "$lt_cv_aix_libpath_"; then
   17217     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17218   fi
   17219 fi
   17220 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17221     conftest$ac_exeext conftest.$ac_ext
   17222   if test -z "$lt_cv_aix_libpath_"; then
   17223     lt_cv_aix_libpath_=/usr/lib:/lib
   17224   fi
   17225    ;;
   17226 esac
   17227 fi
   17228 
   17229   aix_libpath=$lt_cv_aix_libpath_
   17230 fi
   17231 
   17232 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   17233 	  # Warning - without using the other run time loading flags,
   17234 	  # -berok will link without error, but may produce a broken library.
   17235 	  no_undefined_flag=' $wl-bernotok'
   17236 	  allow_undefined_flag=' $wl-berok'
   17237 	  if test yes = "$with_gnu_ld"; then
   17238 	    # We only use this code for GNU lds that support --whole-archive.
   17239 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   17240 	  else
   17241 	    # Exported symbols can be pulled into shared objects from archives
   17242 	    whole_archive_flag_spec='$convenience'
   17243 	  fi
   17244 	  archive_cmds_need_lc=yes
   17245 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   17246 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   17247 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   17248 	  if test svr4 != "$with_aix_soname"; then
   17249 	    # This is similar to how AIX traditionally builds its shared libraries.
   17250 	    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'
   17251 	  fi
   17252 	  if test aix != "$with_aix_soname"; then
   17253 	    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'
   17254 	  else
   17255 	    # used by -dlpreopen to get the symbols
   17256 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   17257 	  fi
   17258 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   17259 	fi
   17260       fi
   17261       ;;
   17262 
   17263     amigaos*)
   17264       case $host_cpu in
   17265       powerpc)
   17266             # see comment about AmigaOS4 .so support
   17267             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   17268             archive_expsym_cmds=''
   17269         ;;
   17270       m68k)
   17271             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)'
   17272             hardcode_libdir_flag_spec='-L$libdir'
   17273             hardcode_minus_L=yes
   17274         ;;
   17275       esac
   17276       ;;
   17277 
   17278     bsdi[45]*)
   17279       export_dynamic_flag_spec=-rdynamic
   17280       ;;
   17281 
   17282     cygwin* | mingw* | pw32* | cegcc*)
   17283       # When not using gcc, we currently assume that we are using
   17284       # Microsoft Visual C++ or Intel C++ Compiler.
   17285       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17286       # no search path for DLLs.
   17287       case $cc_basename in
   17288       cl* | icl*)
   17289 	# Native MSVC or ICC
   17290 	hardcode_libdir_flag_spec=' '
   17291 	allow_undefined_flag=unsupported
   17292 	always_export_symbols=yes
   17293 	file_list_spec='@'
   17294 	# Tell ltmain to make .lib files, not .a files.
   17295 	libext=lib
   17296 	# Tell ltmain to make .dll files, not .so files.
   17297 	shrext_cmds=.dll
   17298 	# FIXME: Setting linknames here is a bad hack.
   17299 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   17300 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   17301             cp "$export_symbols" "$output_objdir/$soname.def";
   17302             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   17303           else
   17304             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   17305           fi~
   17306           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   17307           linknames='
   17308 	# The linker will not automatically build a static lib if we build a DLL.
   17309 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   17310 	enable_shared_with_static_runtimes=yes
   17311 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   17312 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   17313 	# Don't use ranlib
   17314 	old_postinstall_cmds='chmod 644 $oldlib'
   17315 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   17316           lt_tool_outputfile="@TOOL_OUTPUT@"~
   17317           case $lt_outputfile in
   17318             *.exe|*.EXE) ;;
   17319             *)
   17320               lt_outputfile=$lt_outputfile.exe
   17321               lt_tool_outputfile=$lt_tool_outputfile.exe
   17322               ;;
   17323           esac~
   17324           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   17325             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   17326             $RM "$lt_outputfile.manifest";
   17327           fi'
   17328 	;;
   17329       *)
   17330 	# Assume MSVC and ICC wrapper
   17331 	hardcode_libdir_flag_spec=' '
   17332 	allow_undefined_flag=unsupported
   17333 	# Tell ltmain to make .lib files, not .a files.
   17334 	libext=lib
   17335 	# Tell ltmain to make .dll files, not .so files.
   17336 	shrext_cmds=.dll
   17337 	# FIXME: Setting linknames here is a bad hack.
   17338 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   17339 	# The linker will automatically build a .lib file if we build a DLL.
   17340 	old_archive_from_new_cmds='true'
   17341 	# FIXME: Should let the user specify the lib program.
   17342 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   17343 	enable_shared_with_static_runtimes=yes
   17344 	;;
   17345       esac
   17346       ;;
   17347 
   17348     darwin* | rhapsody*)
   17349 
   17350 
   17351   archive_cmds_need_lc=no
   17352   hardcode_direct=no
   17353   hardcode_automatic=yes
   17354   hardcode_shlibpath_var=unsupported
   17355   if test yes = "$lt_cv_ld_force_load"; then
   17356     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\"`'
   17357 
   17358   else
   17359     whole_archive_flag_spec=''
   17360   fi
   17361   link_all_deplibs=yes
   17362   allow_undefined_flag=$_lt_dar_allow_undefined
   17363   case $cc_basename in
   17364      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   17365      *) _lt_dar_can_shared=$GCC ;;
   17366   esac
   17367   if test yes = "$_lt_dar_can_shared"; then
   17368     output_verbose_link_cmd=func_echo_all
   17369     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   17370     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   17371     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"
   17372     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"
   17373 
   17374   else
   17375   ld_shlibs=no
   17376   fi
   17377 
   17378       ;;
   17379 
   17380     dgux*)
   17381       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17382       hardcode_libdir_flag_spec='-L$libdir'
   17383       hardcode_shlibpath_var=no
   17384       ;;
   17385 
   17386     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   17387     # support.  Future versions do this automatically, but an explicit c++rt0.o
   17388     # does not break anything, and helps significantly (at the cost of a little
   17389     # extra space).
   17390     freebsd2.2*)
   17391       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   17392       hardcode_libdir_flag_spec='-R$libdir'
   17393       hardcode_direct=yes
   17394       hardcode_shlibpath_var=no
   17395       ;;
   17396 
   17397     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   17398     freebsd2.*)
   17399       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17400       hardcode_direct=yes
   17401       hardcode_minus_L=yes
   17402       hardcode_shlibpath_var=no
   17403       ;;
   17404 
   17405     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   17406     freebsd* | dragonfly* | midnightbsd*)
   17407       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17408       hardcode_libdir_flag_spec='-R$libdir'
   17409       hardcode_direct=yes
   17410       hardcode_shlibpath_var=no
   17411       ;;
   17412 
   17413     hpux9*)
   17414       if test yes = "$GCC"; then
   17415 	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'
   17416       else
   17417 	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'
   17418       fi
   17419       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   17420       hardcode_libdir_separator=:
   17421       hardcode_direct=yes
   17422 
   17423       # hardcode_minus_L: Not really in the search PATH,
   17424       # but as the default location of the library.
   17425       hardcode_minus_L=yes
   17426       export_dynamic_flag_spec='$wl-E'
   17427       ;;
   17428 
   17429     hpux10*)
   17430       if test yes,no = "$GCC,$with_gnu_ld"; then
   17431 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17432       else
   17433 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17434       fi
   17435       if test no = "$with_gnu_ld"; then
   17436 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   17437 	hardcode_libdir_separator=:
   17438 	hardcode_direct=yes
   17439 	hardcode_direct_absolute=yes
   17440 	export_dynamic_flag_spec='$wl-E'
   17441 	# hardcode_minus_L: Not really in the search PATH,
   17442 	# but as the default location of the library.
   17443 	hardcode_minus_L=yes
   17444       fi
   17445       ;;
   17446 
   17447     hpux11*)
   17448       if test yes,no = "$GCC,$with_gnu_ld"; then
   17449 	case $host_cpu in
   17450 	hppa*64*)
   17451 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   17452 	  ;;
   17453 	ia64*)
   17454 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17455 	  ;;
   17456 	*)
   17457 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17458 	  ;;
   17459 	esac
   17460       else
   17461 	case $host_cpu in
   17462 	hppa*64*)
   17463 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   17464 	  ;;
   17465 	ia64*)
   17466 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17467 	  ;;
   17468 	*)
   17469 
   17470 	  # Older versions of the 11.00 compiler do not understand -b yet
   17471 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   17472 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   17473 printf %s "checking if $CC understands -b... " >&6; }
   17474 if test ${lt_cv_prog_compiler__b+y}
   17475 then :
   17476   printf %s "(cached) " >&6
   17477 else case e in #(
   17478   e) lt_cv_prog_compiler__b=no
   17479    save_LDFLAGS=$LDFLAGS
   17480    LDFLAGS="$LDFLAGS -b"
   17481    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   17482    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17483      # The linker can only warn and ignore the option if not recognized
   17484      # So say no if there are warnings
   17485      if test -s conftest.err; then
   17486        # Append any errors to the config.log.
   17487        cat conftest.err 1>&5
   17488        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   17489        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17490        if diff conftest.exp conftest.er2 >/dev/null; then
   17491          lt_cv_prog_compiler__b=yes
   17492        fi
   17493      else
   17494        lt_cv_prog_compiler__b=yes
   17495      fi
   17496    fi
   17497    $RM -r conftest*
   17498    LDFLAGS=$save_LDFLAGS
   17499  ;;
   17500 esac
   17501 fi
   17502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   17503 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   17504 
   17505 if test yes = "$lt_cv_prog_compiler__b"; then
   17506     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17507 else
   17508     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17509 fi
   17510 
   17511 	  ;;
   17512 	esac
   17513       fi
   17514       if test no = "$with_gnu_ld"; then
   17515 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   17516 	hardcode_libdir_separator=:
   17517 
   17518 	case $host_cpu in
   17519 	hppa*64*|ia64*)
   17520 	  hardcode_direct=no
   17521 	  hardcode_shlibpath_var=no
   17522 	  ;;
   17523 	*)
   17524 	  hardcode_direct=yes
   17525 	  hardcode_direct_absolute=yes
   17526 	  export_dynamic_flag_spec='$wl-E'
   17527 
   17528 	  # hardcode_minus_L: Not really in the search PATH,
   17529 	  # but as the default location of the library.
   17530 	  hardcode_minus_L=yes
   17531 	  ;;
   17532 	esac
   17533       fi
   17534       ;;
   17535 
   17536     irix5* | irix6* | nonstopux*)
   17537       if test yes = "$GCC"; then
   17538 	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'
   17539 	# Try to use the -exported_symbol ld option, if it does not
   17540 	# work, assume that -exports_file does not work either and
   17541 	# implicitly export all symbols.
   17542 	# This should be the same for all languages, so no per-tag cache variable.
   17543 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   17544 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   17545 if test ${lt_cv_irix_exported_symbol+y}
   17546 then :
   17547   printf %s "(cached) " >&6
   17548 else case e in #(
   17549   e) save_LDFLAGS=$LDFLAGS
   17550 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   17551 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17552 /* end confdefs.h.  */
   17553 int foo (void) { return 0; }
   17554 _ACEOF
   17555 if ac_fn_c_try_link "$LINENO"
   17556 then :
   17557   lt_cv_irix_exported_symbol=yes
   17558 else case e in #(
   17559   e) lt_cv_irix_exported_symbol=no ;;
   17560 esac
   17561 fi
   17562 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17563     conftest$ac_exeext conftest.$ac_ext
   17564            LDFLAGS=$save_LDFLAGS ;;
   17565 esac
   17566 fi
   17567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   17568 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   17569 	if test yes = "$lt_cv_irix_exported_symbol"; then
   17570           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'
   17571 	fi
   17572       else
   17573 	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'
   17574 	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'
   17575       fi
   17576       archive_cmds_need_lc='no'
   17577       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17578       hardcode_libdir_separator=:
   17579       inherit_rpath=yes
   17580       link_all_deplibs=yes
   17581       ;;
   17582 
   17583     linux*)
   17584       case $cc_basename in
   17585       tcc*)
   17586 	# Fabrice Bellard et al's Tiny C Compiler
   17587 	ld_shlibs=yes
   17588 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17589 	;;
   17590       esac
   17591       ;;
   17592 
   17593     netbsd*)
   17594       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   17595 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   17596       else
   17597 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   17598       fi
   17599       hardcode_libdir_flag_spec='-R$libdir'
   17600       hardcode_direct=yes
   17601       hardcode_shlibpath_var=no
   17602       ;;
   17603 
   17604     newsos6)
   17605       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17606       hardcode_direct=yes
   17607       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17608       hardcode_libdir_separator=:
   17609       hardcode_shlibpath_var=no
   17610       ;;
   17611 
   17612     *nto* | *qnx*)
   17613       ;;
   17614 
   17615     openbsd* | bitrig*)
   17616       if test -f /usr/libexec/ld.so; then
   17617 	hardcode_direct=yes
   17618 	hardcode_shlibpath_var=no
   17619 	hardcode_direct_absolute=yes
   17620 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   17621 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17622 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   17623 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   17624 	  export_dynamic_flag_spec='$wl-E'
   17625 	else
   17626 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17627 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   17628 	fi
   17629       else
   17630 	ld_shlibs=no
   17631       fi
   17632       ;;
   17633 
   17634     os2*)
   17635       hardcode_libdir_flag_spec='-L$libdir'
   17636       hardcode_minus_L=yes
   17637       allow_undefined_flag=unsupported
   17638       shrext_cmds=.dll
   17639       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   17640 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   17641 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   17642 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   17643 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   17644 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   17645 	emximp -o $lib $output_objdir/$libname.def'
   17646       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   17647 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   17648 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   17649 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   17650 	prefix_cmds="$SED"~
   17651 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   17652 	  prefix_cmds="$prefix_cmds -e 1d";
   17653 	fi~
   17654 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   17655 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   17656 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   17657 	emximp -o $lib $output_objdir/$libname.def'
   17658       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   17659       enable_shared_with_static_runtimes=yes
   17660       file_list_spec='@'
   17661       ;;
   17662 
   17663     osf3*)
   17664       if test yes = "$GCC"; then
   17665 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   17666 	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'
   17667       else
   17668 	allow_undefined_flag=' -expect_unresolved \*'
   17669 	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'
   17670       fi
   17671       archive_cmds_need_lc='no'
   17672       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17673       hardcode_libdir_separator=:
   17674       ;;
   17675 
   17676     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   17677       if test yes = "$GCC"; then
   17678 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   17679 	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'
   17680 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17681       else
   17682 	allow_undefined_flag=' -expect_unresolved \*'
   17683 	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'
   17684 	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~
   17685           $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'
   17686 
   17687 	# Both c and cxx compiler support -rpath directly
   17688 	hardcode_libdir_flag_spec='-rpath $libdir'
   17689       fi
   17690       archive_cmds_need_lc='no'
   17691       hardcode_libdir_separator=:
   17692       ;;
   17693 
   17694     solaris*)
   17695       no_undefined_flag=' -z defs'
   17696       if test yes = "$GCC"; then
   17697 	wlarc='$wl'
   17698 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   17699 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   17700           $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'
   17701       else
   17702 	case `$CC -V 2>&1` in
   17703 	*"Compilers 5.0"*)
   17704 	  wlarc=''
   17705 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17706 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   17707             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   17708 	  ;;
   17709 	*)
   17710 	  wlarc='$wl'
   17711 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   17712 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   17713             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   17714 	  ;;
   17715 	esac
   17716       fi
   17717       hardcode_libdir_flag_spec='-R$libdir'
   17718       hardcode_shlibpath_var=no
   17719       case $host_os in
   17720       solaris2.[0-5] | solaris2.[0-5].*) ;;
   17721       *)
   17722 	# The compiler driver will combine and reorder linker options,
   17723 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   17724 	# but is careful enough not to reorder.
   17725 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   17726 	if test yes = "$GCC"; then
   17727 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   17728 	else
   17729 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   17730 	fi
   17731 	;;
   17732       esac
   17733       link_all_deplibs=yes
   17734       ;;
   17735 
   17736     sunos4*)
   17737       if test sequent = "$host_vendor"; then
   17738 	# Use $CC to link under sequent, because it throws in some extra .o
   17739 	# files that make .init and .fini sections work.
   17740 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   17741       else
   17742 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   17743       fi
   17744       hardcode_libdir_flag_spec='-L$libdir'
   17745       hardcode_direct=yes
   17746       hardcode_minus_L=yes
   17747       hardcode_shlibpath_var=no
   17748       ;;
   17749 
   17750     sysv4)
   17751       case $host_vendor in
   17752 	sni)
   17753 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17754 	  hardcode_direct=yes # is this really true???
   17755 	;;
   17756 	siemens)
   17757 	  ## LD is ld it makes a PLAMLIB
   17758 	  ## CC just makes a GrossModule.
   17759 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   17760 	  reload_cmds='$CC -r -o $output$reload_objs'
   17761 	  hardcode_direct=no
   17762         ;;
   17763 	motorola)
   17764 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17765 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   17766 	;;
   17767       esac
   17768       runpath_var='LD_RUN_PATH'
   17769       hardcode_shlibpath_var=no
   17770       ;;
   17771 
   17772     sysv4.3*)
   17773       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17774       hardcode_shlibpath_var=no
   17775       export_dynamic_flag_spec='-Bexport'
   17776       ;;
   17777 
   17778     sysv4*MP*)
   17779       if test -d /usr/nec; then
   17780 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17781 	hardcode_shlibpath_var=no
   17782 	runpath_var=LD_RUN_PATH
   17783 	hardcode_runpath_var=yes
   17784 	ld_shlibs=yes
   17785       fi
   17786       ;;
   17787 
   17788     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   17789       no_undefined_flag='$wl-z,text'
   17790       archive_cmds_need_lc=no
   17791       hardcode_shlibpath_var=no
   17792       runpath_var='LD_RUN_PATH'
   17793 
   17794       if test yes = "$GCC"; then
   17795 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17796 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17797       else
   17798 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17799 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17800       fi
   17801       ;;
   17802 
   17803     sysv5* | sco3.2v5* | sco5v6*)
   17804       # Note: We CANNOT use -z defs as we might desire, because we do not
   17805       # link with -lc, and that would cause any symbols used from libc to
   17806       # always be unresolved, which means just about no library would
   17807       # ever link correctly.  If we're not using GNU ld we use -z text
   17808       # though, which does catch some bad symbols but isn't as heavy-handed
   17809       # as -z defs.
   17810       no_undefined_flag='$wl-z,text'
   17811       allow_undefined_flag='$wl-z,nodefs'
   17812       archive_cmds_need_lc=no
   17813       hardcode_shlibpath_var=no
   17814       hardcode_libdir_flag_spec='$wl-R,$libdir'
   17815       hardcode_libdir_separator=':'
   17816       link_all_deplibs=yes
   17817       export_dynamic_flag_spec='$wl-Bexport'
   17818       runpath_var='LD_RUN_PATH'
   17819 
   17820       if test yes = "$GCC"; then
   17821 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17822 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17823       else
   17824 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17825 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17826       fi
   17827       ;;
   17828 
   17829     uts4*)
   17830       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17831       hardcode_libdir_flag_spec='-L$libdir'
   17832       hardcode_shlibpath_var=no
   17833       ;;
   17834 
   17835     *)
   17836       ld_shlibs=no
   17837       ;;
   17838     esac
   17839 
   17840     if test sni = "$host_vendor"; then
   17841       case $host in
   17842       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   17843 	export_dynamic_flag_spec='$wl-Blargedynsym'
   17844 	;;
   17845       esac
   17846     fi
   17847   fi
   17848 
   17849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   17850 printf "%s\n" "$ld_shlibs" >&6; }
   17851 test no = "$ld_shlibs" && can_build_shared=no
   17852 
   17853 with_gnu_ld=$with_gnu_ld
   17854 
   17855 
   17856 
   17857 
   17858 
   17859 
   17860 
   17861 
   17862 
   17863 
   17864 
   17865 
   17866 
   17867 
   17868 
   17869 #
   17870 # Do we need to explicitly link libc?
   17871 #
   17872 case "x$archive_cmds_need_lc" in
   17873 x|xyes)
   17874   # Assume -lc should be added
   17875   archive_cmds_need_lc=yes
   17876 
   17877   if test yes,yes = "$GCC,$enable_shared"; then
   17878     case $archive_cmds in
   17879     *'~'*)
   17880       # FIXME: we may have to deal with multi-command sequences.
   17881       ;;
   17882     '$CC '*)
   17883       # Test whether the compiler implicitly links with -lc since on some
   17884       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   17885       # to ld, don't add -lc before -lgcc.
   17886       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   17887 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   17888 if test ${lt_cv_archive_cmds_need_lc+y}
   17889 then :
   17890   printf %s "(cached) " >&6
   17891 else case e in #(
   17892   e) $RM conftest*
   17893 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17894 
   17895 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   17896   (eval $ac_compile) 2>&5
   17897   ac_status=$?
   17898   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17899   test $ac_status = 0; } 2>conftest.err; then
   17900 	  soname=conftest
   17901 	  lib=conftest
   17902 	  libobjs=conftest.$ac_objext
   17903 	  deplibs=
   17904 	  wl=$lt_prog_compiler_wl
   17905 	  pic_flag=$lt_prog_compiler_pic
   17906 	  compiler_flags=-v
   17907 	  linker_flags=-v
   17908 	  verstring=
   17909 	  output_objdir=.
   17910 	  libname=conftest
   17911 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   17912 	  allow_undefined_flag=
   17913 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   17914   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   17915   ac_status=$?
   17916   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17917   test $ac_status = 0; }
   17918 	  then
   17919 	    lt_cv_archive_cmds_need_lc=no
   17920 	  else
   17921 	    lt_cv_archive_cmds_need_lc=yes
   17922 	  fi
   17923 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   17924 	else
   17925 	  cat conftest.err 1>&5
   17926 	fi
   17927 	$RM conftest*
   17928 	 ;;
   17929 esac
   17930 fi
   17931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   17932 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   17933       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   17934       ;;
   17935     esac
   17936   fi
   17937   ;;
   17938 esac
   17939 
   17940 
   17941 
   17942 
   17943 
   17944 
   17945 
   17946 
   17947 
   17948 
   17949 
   17950 
   17951 
   17952 
   17953 
   17954 
   17955 
   17956 
   17957 
   17958 
   17959 
   17960 
   17961 
   17962 
   17963 
   17964 
   17965 
   17966 
   17967 
   17968 
   17969 
   17970 
   17971 
   17972 
   17973 
   17974 
   17975 
   17976 
   17977 
   17978 
   17979 
   17980 
   17981 
   17982 
   17983 
   17984 
   17985 
   17986 
   17987 
   17988 
   17989 
   17990 
   17991 
   17992 
   17993 
   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   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   18092 printf %s "checking dynamic linker characteristics... " >&6; }
   18093 
   18094 if test yes = "$GCC"; then
   18095   case $host_os in
   18096     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   18097     *) lt_awk_arg='/^libraries:/' ;;
   18098   esac
   18099   case $host_os in
   18100     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   18101     *) lt_sed_strip_eq='s|=/|/|g' ;;
   18102   esac
   18103   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   18104   case $lt_search_path_spec in
   18105   *\;*)
   18106     # if the path contains ";" then we assume it to be the separator
   18107     # otherwise default to the standard path separator (i.e. ":") - it is
   18108     # assumed that no part of a normal pathname contains ";" but that should
   18109     # okay in the real world where ";" in dirpaths is itself problematic.
   18110     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   18111     ;;
   18112   *)
   18113     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   18114     ;;
   18115   esac
   18116   # Ok, now we have the path, separated by spaces, we can step through it
   18117   # and add multilib dir if necessary...
   18118   lt_tmp_lt_search_path_spec=
   18119   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   18120   # ...but if some path component already ends with the multilib dir we assume
   18121   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   18122   case "$lt_multi_os_dir; $lt_search_path_spec " in
   18123   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   18124     lt_multi_os_dir=
   18125     ;;
   18126   esac
   18127   for lt_sys_path in $lt_search_path_spec; do
   18128     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   18129       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   18130     elif test -n "$lt_multi_os_dir"; then
   18131       test -d "$lt_sys_path" && \
   18132 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   18133     fi
   18134   done
   18135   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   18136 BEGIN {RS = " "; FS = "/|\n";} {
   18137   lt_foo = "";
   18138   lt_count = 0;
   18139   for (lt_i = NF; lt_i > 0; lt_i--) {
   18140     if ($lt_i != "" && $lt_i != ".") {
   18141       if ($lt_i == "..") {
   18142         lt_count++;
   18143       } else {
   18144         if (lt_count == 0) {
   18145           lt_foo = "/" $lt_i lt_foo;
   18146         } else {
   18147           lt_count--;
   18148         }
   18149       }
   18150     }
   18151   }
   18152   if (lt_foo != "") { lt_freq[lt_foo]++; }
   18153   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   18154 }'`
   18155   # AWK program above erroneously prepends '/' to C:/dos/paths
   18156   # for these hosts.
   18157   case $host_os in
   18158     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   18159       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   18160   esac
   18161   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   18162 else
   18163   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   18164 fi
   18165 library_names_spec=
   18166 libname_spec='lib$name'
   18167 soname_spec=
   18168 shrext_cmds=.so
   18169 postinstall_cmds=
   18170 postuninstall_cmds=
   18171 finish_cmds=
   18172 finish_eval=
   18173 shlibpath_var=
   18174 shlibpath_overrides_runpath=unknown
   18175 version_type=none
   18176 dynamic_linker="$host_os ld.so"
   18177 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   18178 need_lib_prefix=unknown
   18179 hardcode_into_libs=no
   18180 
   18181 # when you set need_version to no, make sure it does not cause -set_version
   18182 # flags to be left without arguments
   18183 need_version=unknown
   18184 
   18185 
   18186 
   18187 case $host_os in
   18188 aix3*)
   18189   version_type=linux # correct to gnu/linux during the next big refactor
   18190   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   18191   shlibpath_var=LIBPATH
   18192 
   18193   # AIX 3 has no versioning support, so we append a major version to the name.
   18194   soname_spec='$libname$release$shared_ext$major'
   18195   ;;
   18196 
   18197 aix[4-9]*)
   18198   version_type=linux # correct to gnu/linux during the next big refactor
   18199   need_lib_prefix=no
   18200   need_version=no
   18201   hardcode_into_libs=yes
   18202   if test ia64 = "$host_cpu"; then
   18203     # AIX 5 supports IA64
   18204     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   18205     shlibpath_var=LD_LIBRARY_PATH
   18206   else
   18207     # With GCC up to 2.95.x, collect2 would create an import file
   18208     # for dependence libraries.  The import file would start with
   18209     # the line '#! .'.  This would cause the generated library to
   18210     # depend on '.', always an invalid library.  This was fixed in
   18211     # development snapshots of GCC prior to 3.0.
   18212     case $host_os in
   18213       aix4 | aix4.[01] | aix4.[01].*)
   18214       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   18215 	   echo ' yes '
   18216 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   18217 	:
   18218       else
   18219 	can_build_shared=no
   18220       fi
   18221       ;;
   18222     esac
   18223     # Using Import Files as archive members, it is possible to support
   18224     # filename-based versioning of shared library archives on AIX. While
   18225     # this would work for both with and without runtime linking, it will
   18226     # prevent static linking of such archives. So we do filename-based
   18227     # shared library versioning with .so extension only, which is used
   18228     # when both runtime linking and shared linking is enabled.
   18229     # Unfortunately, runtime linking may impact performance, so we do
   18230     # not want this to be the default eventually. Also, we use the
   18231     # versioned .so libs for executables only if there is the -brtl
   18232     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   18233     # To allow for filename-based versioning support, we need to create
   18234     # libNAME.so.V as an archive file, containing:
   18235     # *) an Import File, referring to the versioned filename of the
   18236     #    archive as well as the shared archive member, telling the
   18237     #    bitwidth (32 or 64) of that shared object, and providing the
   18238     #    list of exported symbols of that shared object, eventually
   18239     #    decorated with the 'weak' keyword
   18240     # *) the shared object with the F_LOADONLY flag set, to really avoid
   18241     #    it being seen by the linker.
   18242     # At run time we better use the real file rather than another symlink,
   18243     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   18244 
   18245     case $with_aix_soname,$aix_use_runtimelinking in
   18246     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   18247     # soname into executable. Probably we can add versioning support to
   18248     # collect2, so additional links can be useful in future.
   18249     aix,yes) # traditional libtool
   18250       dynamic_linker='AIX unversionable lib.so'
   18251       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   18252       # instead of lib<name>.a to let people know that these are not
   18253       # typical AIX shared libraries.
   18254       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18255       ;;
   18256     aix,no) # traditional AIX only
   18257       dynamic_linker='AIX lib.a(lib.so.V)'
   18258       # We preserve .a as extension for shared libraries through AIX4.2
   18259       # and later when we are not doing run time linking.
   18260       library_names_spec='$libname$release.a $libname.a'
   18261       soname_spec='$libname$release$shared_ext$major'
   18262       ;;
   18263     svr4,*) # full svr4 only
   18264       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   18265       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   18266       # We do not specify a path in Import Files, so LIBPATH fires.
   18267       shlibpath_overrides_runpath=yes
   18268       ;;
   18269     *,yes) # both, prefer svr4
   18270       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   18271       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   18272       # unpreferred sharedlib libNAME.a needs extra handling
   18273       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"'
   18274       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"'
   18275       # We do not specify a path in Import Files, so LIBPATH fires.
   18276       shlibpath_overrides_runpath=yes
   18277       ;;
   18278     *,no) # both, prefer aix
   18279       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   18280       library_names_spec='$libname$release.a $libname.a'
   18281       soname_spec='$libname$release$shared_ext$major'
   18282       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   18283       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)'
   18284       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"'
   18285       ;;
   18286     esac
   18287     shlibpath_var=LIBPATH
   18288   fi
   18289   ;;
   18290 
   18291 amigaos*)
   18292   case $host_cpu in
   18293   powerpc)
   18294     # Since July 2007 AmigaOS4 officially supports .so libraries.
   18295     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   18296     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18297     ;;
   18298   m68k)
   18299     library_names_spec='$libname.ixlibrary $libname.a'
   18300     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   18301     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'
   18302     ;;
   18303   esac
   18304   ;;
   18305 
   18306 beos*)
   18307   library_names_spec='$libname$shared_ext'
   18308   dynamic_linker="$host_os ld.so"
   18309   shlibpath_var=LIBRARY_PATH
   18310   ;;
   18311 
   18312 bsdi[45]*)
   18313   version_type=linux # correct to gnu/linux during the next big refactor
   18314   need_version=no
   18315   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18316   soname_spec='$libname$release$shared_ext$major'
   18317   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   18318   shlibpath_var=LD_LIBRARY_PATH
   18319   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   18320   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   18321   # the default ld.so.conf also contains /usr/contrib/lib and
   18322   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   18323   # libtool to hard-code these into programs
   18324   ;;
   18325 
   18326 cygwin* | mingw* | pw32* | cegcc*)
   18327   version_type=windows
   18328   shrext_cmds=.dll
   18329   need_version=no
   18330   need_lib_prefix=no
   18331 
   18332   case $GCC,$cc_basename in
   18333   yes,*)
   18334     # gcc
   18335     library_names_spec='$libname.dll.a'
   18336     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18337     postinstall_cmds='base_file=`basename \$file`~
   18338       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   18339       dldir=$destdir/`dirname \$dlpath`~
   18340       test -d \$dldir || mkdir -p \$dldir~
   18341       $install_prog $dir/$dlname \$dldir/$dlname~
   18342       chmod a+x \$dldir/$dlname~
   18343       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   18344         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   18345       fi'
   18346     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18347       dlpath=$dir/\$dldll~
   18348        $RM \$dlpath'
   18349     shlibpath_overrides_runpath=yes
   18350 
   18351     case $host_os in
   18352     cygwin*)
   18353       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18354       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18355 
   18356       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   18357       ;;
   18358     mingw* | cegcc*)
   18359       # MinGW DLLs use traditional 'lib' prefix
   18360       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18361       ;;
   18362     pw32*)
   18363       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18364       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18365       ;;
   18366     esac
   18367     dynamic_linker='Win32 ld.exe'
   18368     ;;
   18369 
   18370   *,cl* | *,icl*)
   18371     # Native MSVC or ICC
   18372     libname_spec='$name'
   18373     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18374     library_names_spec='$libname.dll.lib'
   18375 
   18376     case $build_os in
   18377     mingw*)
   18378       sys_lib_search_path_spec=
   18379       lt_save_ifs=$IFS
   18380       IFS=';'
   18381       for lt_path in $LIB
   18382       do
   18383         IFS=$lt_save_ifs
   18384         # Let DOS variable expansion print the short 8.3 style file name.
   18385         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   18386         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   18387       done
   18388       IFS=$lt_save_ifs
   18389       # Convert to MSYS style.
   18390       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   18391       ;;
   18392     cygwin*)
   18393       # Convert to unix form, then to dos form, then back to unix form
   18394       # but this time dos style (no spaces!) so that the unix form looks
   18395       # like /cygdrive/c/PROGRA~1:/cygdr...
   18396       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   18397       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   18398       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   18399       ;;
   18400     *)
   18401       sys_lib_search_path_spec=$LIB
   18402       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   18403         # It is most probably a Windows format PATH.
   18404         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18405       else
   18406         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   18407       fi
   18408       # FIXME: find the short name or the path components, as spaces are
   18409       # common. (e.g. "Program Files" -> "PROGRA~1")
   18410       ;;
   18411     esac
   18412 
   18413     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18414     postinstall_cmds='base_file=`basename \$file`~
   18415       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   18416       dldir=$destdir/`dirname \$dlpath`~
   18417       test -d \$dldir || mkdir -p \$dldir~
   18418       $install_prog $dir/$dlname \$dldir/$dlname'
   18419     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18420       dlpath=$dir/\$dldll~
   18421        $RM \$dlpath'
   18422     shlibpath_overrides_runpath=yes
   18423     dynamic_linker='Win32 link.exe'
   18424     ;;
   18425 
   18426   *)
   18427     # Assume MSVC and ICC wrapper
   18428     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   18429     dynamic_linker='Win32 ld.exe'
   18430     ;;
   18431   esac
   18432   # FIXME: first we should search . and the directory the executable is in
   18433   shlibpath_var=PATH
   18434   ;;
   18435 
   18436 darwin* | rhapsody*)
   18437   dynamic_linker="$host_os dyld"
   18438   version_type=darwin
   18439   need_lib_prefix=no
   18440   need_version=no
   18441   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   18442   soname_spec='$libname$release$major$shared_ext'
   18443   shlibpath_overrides_runpath=yes
   18444   shlibpath_var=DYLD_LIBRARY_PATH
   18445   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18446 
   18447   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   18448   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18449   ;;
   18450 
   18451 dgux*)
   18452   version_type=linux # correct to gnu/linux during the next big refactor
   18453   need_lib_prefix=no
   18454   need_version=no
   18455   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18456   soname_spec='$libname$release$shared_ext$major'
   18457   shlibpath_var=LD_LIBRARY_PATH
   18458   ;;
   18459 
   18460 freebsd* | dragonfly* | midnightbsd*)
   18461   # DragonFly does not have aout.  When/if they implement a new
   18462   # versioning mechanism, adjust this.
   18463   if test -x /usr/bin/objformat; then
   18464     objformat=`/usr/bin/objformat`
   18465   else
   18466     case $host_os in
   18467     freebsd[23].*) objformat=aout ;;
   18468     *) objformat=elf ;;
   18469     esac
   18470   fi
   18471   version_type=freebsd-$objformat
   18472   case $version_type in
   18473     freebsd-elf*)
   18474       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18475       soname_spec='$libname$release$shared_ext$major'
   18476       need_version=no
   18477       need_lib_prefix=no
   18478       ;;
   18479     freebsd-*)
   18480       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18481       need_version=yes
   18482       ;;
   18483   esac
   18484   shlibpath_var=LD_LIBRARY_PATH
   18485   case $host_os in
   18486   freebsd2.*)
   18487     shlibpath_overrides_runpath=yes
   18488     ;;
   18489   freebsd3.[01]* | freebsdelf3.[01]*)
   18490     shlibpath_overrides_runpath=yes
   18491     hardcode_into_libs=yes
   18492     ;;
   18493   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18494   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18495     shlibpath_overrides_runpath=no
   18496     hardcode_into_libs=yes
   18497     ;;
   18498   *) # from 4.6 on, and DragonFly
   18499     shlibpath_overrides_runpath=yes
   18500     hardcode_into_libs=yes
   18501     ;;
   18502   esac
   18503   ;;
   18504 
   18505 haiku*)
   18506   version_type=linux # correct to gnu/linux during the next big refactor
   18507   need_lib_prefix=no
   18508   need_version=no
   18509   dynamic_linker="$host_os runtime_loader"
   18510   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18511   soname_spec='$libname$release$shared_ext$major'
   18512   shlibpath_var=LIBRARY_PATH
   18513   shlibpath_overrides_runpath=no
   18514   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   18515   hardcode_into_libs=yes
   18516   ;;
   18517 
   18518 hpux9* | hpux10* | hpux11*)
   18519   # Give a soname corresponding to the major version so that dld.sl refuses to
   18520   # link against other versions.
   18521   version_type=sunos
   18522   need_lib_prefix=no
   18523   need_version=no
   18524   case $host_cpu in
   18525   ia64*)
   18526     shrext_cmds='.so'
   18527     hardcode_into_libs=yes
   18528     dynamic_linker="$host_os dld.so"
   18529     shlibpath_var=LD_LIBRARY_PATH
   18530     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18531     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18532     soname_spec='$libname$release$shared_ext$major'
   18533     if test 32 = "$HPUX_IA64_MODE"; then
   18534       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18535       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   18536     else
   18537       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18538       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   18539     fi
   18540     ;;
   18541   hppa*64*)
   18542     shrext_cmds='.sl'
   18543     hardcode_into_libs=yes
   18544     dynamic_linker="$host_os dld.sl"
   18545     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18546     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18547     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18548     soname_spec='$libname$release$shared_ext$major'
   18549     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18550     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18551     ;;
   18552   *)
   18553     shrext_cmds='.sl'
   18554     dynamic_linker="$host_os dld.sl"
   18555     shlibpath_var=SHLIB_PATH
   18556     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18557     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18558     soname_spec='$libname$release$shared_ext$major'
   18559     ;;
   18560   esac
   18561   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   18562   postinstall_cmds='chmod 555 $lib'
   18563   # or fails outright, so override atomically:
   18564   install_override_mode=555
   18565   ;;
   18566 
   18567 interix[3-9]*)
   18568   version_type=linux # correct to gnu/linux during the next big refactor
   18569   need_lib_prefix=no
   18570   need_version=no
   18571   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18572   soname_spec='$libname$release$shared_ext$major'
   18573   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18574   shlibpath_var=LD_LIBRARY_PATH
   18575   shlibpath_overrides_runpath=no
   18576   hardcode_into_libs=yes
   18577   ;;
   18578 
   18579 irix5* | irix6* | nonstopux*)
   18580   case $host_os in
   18581     nonstopux*) version_type=nonstopux ;;
   18582     *)
   18583 	if test yes = "$lt_cv_prog_gnu_ld"; then
   18584 		version_type=linux # correct to gnu/linux during the next big refactor
   18585 	else
   18586 		version_type=irix
   18587 	fi ;;
   18588   esac
   18589   need_lib_prefix=no
   18590   need_version=no
   18591   soname_spec='$libname$release$shared_ext$major'
   18592   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   18593   case $host_os in
   18594   irix5* | nonstopux*)
   18595     libsuff= shlibsuff=
   18596     ;;
   18597   *)
   18598     case $LD in # libtool.m4 will add one of these switches to LD
   18599     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18600       libsuff= shlibsuff= libmagic=32-bit;;
   18601     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18602       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18603     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18604       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18605     *) libsuff= shlibsuff= libmagic=never-match;;
   18606     esac
   18607     ;;
   18608   esac
   18609   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18610   shlibpath_overrides_runpath=no
   18611   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   18612   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   18613   hardcode_into_libs=yes
   18614   ;;
   18615 
   18616 # No shared lib support for Linux oldld, aout, or coff.
   18617 linux*oldld* | linux*aout* | linux*coff*)
   18618   dynamic_linker=no
   18619   ;;
   18620 
   18621 linux*android*)
   18622   version_type=none # Android doesn't support versioned libraries.
   18623   need_lib_prefix=no
   18624   need_version=no
   18625   library_names_spec='$libname$release$shared_ext'
   18626   soname_spec='$libname$release$shared_ext'
   18627   finish_cmds=
   18628   shlibpath_var=LD_LIBRARY_PATH
   18629   shlibpath_overrides_runpath=yes
   18630 
   18631   # This implies no fast_install, which is unacceptable.
   18632   # Some rework will be needed to allow for fast_install
   18633   # before this can be enabled.
   18634   hardcode_into_libs=yes
   18635 
   18636   dynamic_linker='Android linker'
   18637   # Don't embed -rpath directories since the linker doesn't support them.
   18638   hardcode_libdir_flag_spec='-L$libdir'
   18639   ;;
   18640 
   18641 # This must be glibc/ELF.
   18642 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   18643   version_type=linux # correct to gnu/linux during the next big refactor
   18644   need_lib_prefix=no
   18645   need_version=no
   18646   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18647   soname_spec='$libname$release$shared_ext$major'
   18648   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18649   shlibpath_var=LD_LIBRARY_PATH
   18650   shlibpath_overrides_runpath=no
   18651 
   18652   # Some binutils ld are patched to set DT_RUNPATH
   18653   if test ${lt_cv_shlibpath_overrides_runpath+y}
   18654 then :
   18655   printf %s "(cached) " >&6
   18656 else case e in #(
   18657   e) lt_cv_shlibpath_overrides_runpath=no
   18658     save_LDFLAGS=$LDFLAGS
   18659     save_libdir=$libdir
   18660     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   18661 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   18662     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18663 /* end confdefs.h.  */
   18664 
   18665 int
   18666 main (void)
   18667 {
   18668 
   18669   ;
   18670   return 0;
   18671 }
   18672 _ACEOF
   18673 if ac_fn_c_try_link "$LINENO"
   18674 then :
   18675   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   18676 then :
   18677   lt_cv_shlibpath_overrides_runpath=yes
   18678 fi
   18679 fi
   18680 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18681     conftest$ac_exeext conftest.$ac_ext
   18682     LDFLAGS=$save_LDFLAGS
   18683     libdir=$save_libdir
   18684      ;;
   18685 esac
   18686 fi
   18687 
   18688   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   18689 
   18690   # This implies no fast_install, which is unacceptable.
   18691   # Some rework will be needed to allow for fast_install
   18692   # before this can be enabled.
   18693   hardcode_into_libs=yes
   18694 
   18695   # Ideally, we could use ldconfig to report *all* directores which are
   18696   # searched for libraries, however this is still not possible.  Aside from not
   18697   # being certain /sbin/ldconfig is available, command
   18698   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   18699   # even though it is searched at run-time.  Try to do the best guess by
   18700   # appending ld.so.conf contents (and includes) to the search path.
   18701   if test -f /etc/ld.so.conf; then
   18702     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' ' '`
   18703     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   18704   fi
   18705 
   18706   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18707   # powerpc, because MkLinux only supported shared libraries with the
   18708   # GNU dynamic linker.  Since this was broken with cross compilers,
   18709   # most powerpc-linux boxes support dynamic linking these days and
   18710   # people can always --disable-shared, the test was removed, and we
   18711   # assume the GNU/Linux dynamic linker is in use.
   18712   dynamic_linker='GNU/Linux ld.so'
   18713   ;;
   18714 
   18715 netbsd*)
   18716   version_type=sunos
   18717   need_lib_prefix=no
   18718   need_version=no
   18719   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   18720     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18721     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18722     dynamic_linker='NetBSD (a.out) ld.so'
   18723   else
   18724     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18725     soname_spec='$libname$release$shared_ext$major'
   18726     dynamic_linker='NetBSD ld.elf_so'
   18727   fi
   18728   shlibpath_var=LD_LIBRARY_PATH
   18729   shlibpath_overrides_runpath=yes
   18730   hardcode_into_libs=yes
   18731   ;;
   18732 
   18733 newsos6)
   18734   version_type=linux # correct to gnu/linux during the next big refactor
   18735   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18736   shlibpath_var=LD_LIBRARY_PATH
   18737   shlibpath_overrides_runpath=yes
   18738   ;;
   18739 
   18740 *nto* | *qnx*)
   18741   version_type=qnx
   18742   need_lib_prefix=no
   18743   need_version=no
   18744   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18745   soname_spec='$libname$release$shared_ext$major'
   18746   shlibpath_var=LD_LIBRARY_PATH
   18747   shlibpath_overrides_runpath=no
   18748   hardcode_into_libs=yes
   18749   dynamic_linker='ldqnx.so'
   18750   ;;
   18751 
   18752 openbsd* | bitrig*)
   18753   version_type=sunos
   18754   sys_lib_dlsearch_path_spec=/usr/lib
   18755   need_lib_prefix=no
   18756   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   18757     need_version=no
   18758   else
   18759     need_version=yes
   18760   fi
   18761   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18762   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18763   shlibpath_var=LD_LIBRARY_PATH
   18764   shlibpath_overrides_runpath=yes
   18765   ;;
   18766 
   18767 os2*)
   18768   libname_spec='$name'
   18769   version_type=windows
   18770   shrext_cmds=.dll
   18771   need_version=no
   18772   need_lib_prefix=no
   18773   # OS/2 can only load a DLL with a base name of 8 characters or less.
   18774   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   18775     v=$($ECHO $release$versuffix | tr -d .-);
   18776     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   18777     $ECHO $n$v`$shared_ext'
   18778   library_names_spec='${libname}_dll.$libext'
   18779   dynamic_linker='OS/2 ld.exe'
   18780   shlibpath_var=BEGINLIBPATH
   18781   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   18782   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18783   postinstall_cmds='base_file=`basename \$file`~
   18784     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   18785     dldir=$destdir/`dirname \$dlpath`~
   18786     test -d \$dldir || mkdir -p \$dldir~
   18787     $install_prog $dir/$dlname \$dldir/$dlname~
   18788     chmod a+x \$dldir/$dlname~
   18789     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   18790       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   18791     fi'
   18792   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   18793     dlpath=$dir/\$dldll~
   18794     $RM \$dlpath'
   18795   ;;
   18796 
   18797 osf3* | osf4* | osf5*)
   18798   version_type=osf
   18799   need_lib_prefix=no
   18800   need_version=no
   18801   soname_spec='$libname$release$shared_ext$major'
   18802   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18803   shlibpath_var=LD_LIBRARY_PATH
   18804   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18805   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18806   ;;
   18807 
   18808 rdos*)
   18809   dynamic_linker=no
   18810   ;;
   18811 
   18812 solaris*)
   18813   version_type=linux # correct to gnu/linux during the next big refactor
   18814   need_lib_prefix=no
   18815   need_version=no
   18816   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18817   soname_spec='$libname$release$shared_ext$major'
   18818   shlibpath_var=LD_LIBRARY_PATH
   18819   shlibpath_overrides_runpath=yes
   18820   hardcode_into_libs=yes
   18821   # ldd complains unless libraries are executable
   18822   postinstall_cmds='chmod +x $lib'
   18823   ;;
   18824 
   18825 sunos4*)
   18826   version_type=sunos
   18827   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18828   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18829   shlibpath_var=LD_LIBRARY_PATH
   18830   shlibpath_overrides_runpath=yes
   18831   if test yes = "$with_gnu_ld"; then
   18832     need_lib_prefix=no
   18833   fi
   18834   need_version=yes
   18835   ;;
   18836 
   18837 sysv4 | sysv4.3*)
   18838   version_type=linux # correct to gnu/linux during the next big refactor
   18839   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18840   soname_spec='$libname$release$shared_ext$major'
   18841   shlibpath_var=LD_LIBRARY_PATH
   18842   case $host_vendor in
   18843     sni)
   18844       shlibpath_overrides_runpath=no
   18845       need_lib_prefix=no
   18846       runpath_var=LD_RUN_PATH
   18847       ;;
   18848     siemens)
   18849       need_lib_prefix=no
   18850       ;;
   18851     motorola)
   18852       need_lib_prefix=no
   18853       need_version=no
   18854       shlibpath_overrides_runpath=no
   18855       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18856       ;;
   18857   esac
   18858   ;;
   18859 
   18860 sysv4*MP*)
   18861   if test -d /usr/nec; then
   18862     version_type=linux # correct to gnu/linux during the next big refactor
   18863     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   18864     soname_spec='$libname$shared_ext.$major'
   18865     shlibpath_var=LD_LIBRARY_PATH
   18866   fi
   18867   ;;
   18868 
   18869 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18870   version_type=sco
   18871   need_lib_prefix=no
   18872   need_version=no
   18873   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   18874   soname_spec='$libname$release$shared_ext$major'
   18875   shlibpath_var=LD_LIBRARY_PATH
   18876   shlibpath_overrides_runpath=yes
   18877   hardcode_into_libs=yes
   18878   if test yes = "$with_gnu_ld"; then
   18879     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18880   else
   18881     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18882     case $host_os in
   18883       sco3.2v5*)
   18884         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18885 	;;
   18886     esac
   18887   fi
   18888   sys_lib_dlsearch_path_spec='/usr/lib'
   18889   ;;
   18890 
   18891 tpf*)
   18892   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   18893   version_type=linux # correct to gnu/linux during the next big refactor
   18894   need_lib_prefix=no
   18895   need_version=no
   18896   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18897   shlibpath_var=LD_LIBRARY_PATH
   18898   shlibpath_overrides_runpath=no
   18899   hardcode_into_libs=yes
   18900   ;;
   18901 
   18902 uts4*)
   18903   version_type=linux # correct to gnu/linux during the next big refactor
   18904   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18905   soname_spec='$libname$release$shared_ext$major'
   18906   shlibpath_var=LD_LIBRARY_PATH
   18907   ;;
   18908 
   18909 *)
   18910   dynamic_linker=no
   18911   ;;
   18912 esac
   18913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   18914 printf "%s\n" "$dynamic_linker" >&6; }
   18915 test no = "$dynamic_linker" && can_build_shared=no
   18916 
   18917 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   18918 if test yes = "$GCC"; then
   18919   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   18920 fi
   18921 
   18922 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   18923   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   18924 fi
   18925 
   18926 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   18927   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   18928 fi
   18929 
   18930 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   18931 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   18932 
   18933 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   18934 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   18935 
   18936 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   18937 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   18938 
   18939 
   18940 
   18941 
   18942 
   18943 
   18944 
   18945 
   18946 
   18947 
   18948 
   18949 
   18950 
   18951 
   18952 
   18953 
   18954 
   18955 
   18956 
   18957 
   18958 
   18959 
   18960 
   18961 
   18962 
   18963 
   18964 
   18965 
   18966 
   18967 
   18968 
   18969 
   18970 
   18971 
   18972 
   18973 
   18974 
   18975 
   18976 
   18977 
   18978 
   18979 
   18980 
   18981 
   18982 
   18983 
   18984 
   18985 
   18986 
   18987 
   18988 
   18989 
   18990 
   18991 
   18992 
   18993 
   18994 
   18995 
   18996 
   18997 
   18998 
   18999 
   19000 
   19001 
   19002 
   19003 
   19004 
   19005 
   19006 
   19007 
   19008 
   19009 
   19010 
   19011 
   19012 
   19013 
   19014 
   19015 
   19016 
   19017 
   19018 
   19019 
   19020 
   19021 
   19022 
   19023 
   19024 
   19025 
   19026 
   19027 
   19028 
   19029 
   19030 
   19031 
   19032 
   19033 
   19034 
   19035   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   19036 printf %s "checking how to hardcode library paths into programs... " >&6; }
   19037 hardcode_action=
   19038 if test -n "$hardcode_libdir_flag_spec" ||
   19039    test -n "$runpath_var" ||
   19040    test yes = "$hardcode_automatic"; then
   19041 
   19042   # We can hardcode non-existent directories.
   19043   if test no != "$hardcode_direct" &&
   19044      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   19045      # have to relink, otherwise we might link with an installed library
   19046      # when we should be linking with a yet-to-be-installed one
   19047      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   19048      test no != "$hardcode_minus_L"; then
   19049     # Linking always hardcodes the temporary library directory.
   19050     hardcode_action=relink
   19051   else
   19052     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   19053     hardcode_action=immediate
   19054   fi
   19055 else
   19056   # We cannot hardcode anything, or else we can only hardcode existing
   19057   # directories.
   19058   hardcode_action=unsupported
   19059 fi
   19060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   19061 printf "%s\n" "$hardcode_action" >&6; }
   19062 
   19063 if test relink = "$hardcode_action" ||
   19064    test yes = "$inherit_rpath"; then
   19065   # Fast installation is not supported
   19066   enable_fast_install=no
   19067 elif test yes = "$shlibpath_overrides_runpath" ||
   19068      test no = "$enable_shared"; then
   19069   # Fast installation is not necessary
   19070   enable_fast_install=needless
   19071 fi
   19072 
   19073 
   19074 
   19075 
   19076 
   19077 
   19078   if test yes != "$enable_dlopen"; then
   19079   enable_dlopen=unknown
   19080   enable_dlopen_self=unknown
   19081   enable_dlopen_self_static=unknown
   19082 else
   19083   lt_cv_dlopen=no
   19084   lt_cv_dlopen_libs=
   19085 
   19086   case $host_os in
   19087   beos*)
   19088     lt_cv_dlopen=load_add_on
   19089     lt_cv_dlopen_libs=
   19090     lt_cv_dlopen_self=yes
   19091     ;;
   19092 
   19093   mingw* | pw32* | cegcc*)
   19094     lt_cv_dlopen=LoadLibrary
   19095     lt_cv_dlopen_libs=
   19096     ;;
   19097 
   19098   cygwin*)
   19099     lt_cv_dlopen=dlopen
   19100     lt_cv_dlopen_libs=
   19101     ;;
   19102 
   19103   darwin*)
   19104     # if libdl is installed we need to link against it
   19105     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   19106 printf %s "checking for dlopen in -ldl... " >&6; }
   19107 if test ${ac_cv_lib_dl_dlopen+y}
   19108 then :
   19109   printf %s "(cached) " >&6
   19110 else case e in #(
   19111   e) ac_check_lib_save_LIBS=$LIBS
   19112 LIBS="-ldl  $LIBS"
   19113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19114 /* end confdefs.h.  */
   19115 
   19116 /* Override any GCC internal prototype to avoid an error.
   19117    Use char because int might match the return type of a GCC
   19118    builtin and then its argument prototype would still apply.
   19119    The 'extern "C"' is for builds by C++ compilers;
   19120    although this is not generally supported in C code supporting it here
   19121    has little cost and some practical benefit (sr 110532).  */
   19122 #ifdef __cplusplus
   19123 extern "C"
   19124 #endif
   19125 char dlopen (void);
   19126 int
   19127 main (void)
   19128 {
   19129 return dlopen ();
   19130   ;
   19131   return 0;
   19132 }
   19133 _ACEOF
   19134 if ac_fn_c_try_link "$LINENO"
   19135 then :
   19136   ac_cv_lib_dl_dlopen=yes
   19137 else case e in #(
   19138   e) ac_cv_lib_dl_dlopen=no ;;
   19139 esac
   19140 fi
   19141 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19142     conftest$ac_exeext conftest.$ac_ext
   19143 LIBS=$ac_check_lib_save_LIBS ;;
   19144 esac
   19145 fi
   19146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   19147 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   19148 if test "x$ac_cv_lib_dl_dlopen" = xyes
   19149 then :
   19150   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   19151 else case e in #(
   19152   e)
   19153     lt_cv_dlopen=dyld
   19154     lt_cv_dlopen_libs=
   19155     lt_cv_dlopen_self=yes
   19156      ;;
   19157 esac
   19158 fi
   19159 
   19160     ;;
   19161 
   19162   tpf*)
   19163     # Don't try to run any link tests for TPF.  We know it's impossible
   19164     # because TPF is a cross-compiler, and we know how we open DSOs.
   19165     lt_cv_dlopen=dlopen
   19166     lt_cv_dlopen_libs=
   19167     lt_cv_dlopen_self=no
   19168     ;;
   19169 
   19170   *)
   19171     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   19172 if test "x$ac_cv_func_shl_load" = xyes
   19173 then :
   19174   lt_cv_dlopen=shl_load
   19175 else case e in #(
   19176   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   19177 printf %s "checking for shl_load in -ldld... " >&6; }
   19178 if test ${ac_cv_lib_dld_shl_load+y}
   19179 then :
   19180   printf %s "(cached) " >&6
   19181 else case e in #(
   19182   e) ac_check_lib_save_LIBS=$LIBS
   19183 LIBS="-ldld  $LIBS"
   19184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19185 /* end confdefs.h.  */
   19186 
   19187 /* Override any GCC internal prototype to avoid an error.
   19188    Use char because int might match the return type of a GCC
   19189    builtin and then its argument prototype would still apply.
   19190    The 'extern "C"' is for builds by C++ compilers;
   19191    although this is not generally supported in C code supporting it here
   19192    has little cost and some practical benefit (sr 110532).  */
   19193 #ifdef __cplusplus
   19194 extern "C"
   19195 #endif
   19196 char shl_load (void);
   19197 int
   19198 main (void)
   19199 {
   19200 return shl_load ();
   19201   ;
   19202   return 0;
   19203 }
   19204 _ACEOF
   19205 if ac_fn_c_try_link "$LINENO"
   19206 then :
   19207   ac_cv_lib_dld_shl_load=yes
   19208 else case e in #(
   19209   e) ac_cv_lib_dld_shl_load=no ;;
   19210 esac
   19211 fi
   19212 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19213     conftest$ac_exeext conftest.$ac_ext
   19214 LIBS=$ac_check_lib_save_LIBS ;;
   19215 esac
   19216 fi
   19217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   19218 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   19219 if test "x$ac_cv_lib_dld_shl_load" = xyes
   19220 then :
   19221   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   19222 else case e in #(
   19223   e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   19224 if test "x$ac_cv_func_dlopen" = xyes
   19225 then :
   19226   lt_cv_dlopen=dlopen
   19227 else case e in #(
   19228   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   19229 printf %s "checking for dlopen in -ldl... " >&6; }
   19230 if test ${ac_cv_lib_dl_dlopen+y}
   19231 then :
   19232   printf %s "(cached) " >&6
   19233 else case e in #(
   19234   e) ac_check_lib_save_LIBS=$LIBS
   19235 LIBS="-ldl  $LIBS"
   19236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19237 /* end confdefs.h.  */
   19238 
   19239 /* Override any GCC internal prototype to avoid an error.
   19240    Use char because int might match the return type of a GCC
   19241    builtin and then its argument prototype would still apply.
   19242    The 'extern "C"' is for builds by C++ compilers;
   19243    although this is not generally supported in C code supporting it here
   19244    has little cost and some practical benefit (sr 110532).  */
   19245 #ifdef __cplusplus
   19246 extern "C"
   19247 #endif
   19248 char dlopen (void);
   19249 int
   19250 main (void)
   19251 {
   19252 return dlopen ();
   19253   ;
   19254   return 0;
   19255 }
   19256 _ACEOF
   19257 if ac_fn_c_try_link "$LINENO"
   19258 then :
   19259   ac_cv_lib_dl_dlopen=yes
   19260 else case e in #(
   19261   e) ac_cv_lib_dl_dlopen=no ;;
   19262 esac
   19263 fi
   19264 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19265     conftest$ac_exeext conftest.$ac_ext
   19266 LIBS=$ac_check_lib_save_LIBS ;;
   19267 esac
   19268 fi
   19269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   19270 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   19271 if test "x$ac_cv_lib_dl_dlopen" = xyes
   19272 then :
   19273   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   19274 else case e in #(
   19275   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   19276 printf %s "checking for dlopen in -lsvld... " >&6; }
   19277 if test ${ac_cv_lib_svld_dlopen+y}
   19278 then :
   19279   printf %s "(cached) " >&6
   19280 else case e in #(
   19281   e) ac_check_lib_save_LIBS=$LIBS
   19282 LIBS="-lsvld  $LIBS"
   19283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19284 /* end confdefs.h.  */
   19285 
   19286 /* Override any GCC internal prototype to avoid an error.
   19287    Use char because int might match the return type of a GCC
   19288    builtin and then its argument prototype would still apply.
   19289    The 'extern "C"' is for builds by C++ compilers;
   19290    although this is not generally supported in C code supporting it here
   19291    has little cost and some practical benefit (sr 110532).  */
   19292 #ifdef __cplusplus
   19293 extern "C"
   19294 #endif
   19295 char dlopen (void);
   19296 int
   19297 main (void)
   19298 {
   19299 return dlopen ();
   19300   ;
   19301   return 0;
   19302 }
   19303 _ACEOF
   19304 if ac_fn_c_try_link "$LINENO"
   19305 then :
   19306   ac_cv_lib_svld_dlopen=yes
   19307 else case e in #(
   19308   e) ac_cv_lib_svld_dlopen=no ;;
   19309 esac
   19310 fi
   19311 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19312     conftest$ac_exeext conftest.$ac_ext
   19313 LIBS=$ac_check_lib_save_LIBS ;;
   19314 esac
   19315 fi
   19316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   19317 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   19318 if test "x$ac_cv_lib_svld_dlopen" = xyes
   19319 then :
   19320   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   19321 else case e in #(
   19322   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   19323 printf %s "checking for dld_link in -ldld... " >&6; }
   19324 if test ${ac_cv_lib_dld_dld_link+y}
   19325 then :
   19326   printf %s "(cached) " >&6
   19327 else case e in #(
   19328   e) ac_check_lib_save_LIBS=$LIBS
   19329 LIBS="-ldld  $LIBS"
   19330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19331 /* end confdefs.h.  */
   19332 
   19333 /* Override any GCC internal prototype to avoid an error.
   19334    Use char because int might match the return type of a GCC
   19335    builtin and then its argument prototype would still apply.
   19336    The 'extern "C"' is for builds by C++ compilers;
   19337    although this is not generally supported in C code supporting it here
   19338    has little cost and some practical benefit (sr 110532).  */
   19339 #ifdef __cplusplus
   19340 extern "C"
   19341 #endif
   19342 char dld_link (void);
   19343 int
   19344 main (void)
   19345 {
   19346 return dld_link ();
   19347   ;
   19348   return 0;
   19349 }
   19350 _ACEOF
   19351 if ac_fn_c_try_link "$LINENO"
   19352 then :
   19353   ac_cv_lib_dld_dld_link=yes
   19354 else case e in #(
   19355   e) ac_cv_lib_dld_dld_link=no ;;
   19356 esac
   19357 fi
   19358 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19359     conftest$ac_exeext conftest.$ac_ext
   19360 LIBS=$ac_check_lib_save_LIBS ;;
   19361 esac
   19362 fi
   19363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   19364 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   19365 if test "x$ac_cv_lib_dld_dld_link" = xyes
   19366 then :
   19367   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   19368 fi
   19369 
   19370 	       ;;
   19371 esac
   19372 fi
   19373 
   19374 	     ;;
   19375 esac
   19376 fi
   19377 
   19378 	   ;;
   19379 esac
   19380 fi
   19381 
   19382 	 ;;
   19383 esac
   19384 fi
   19385 
   19386        ;;
   19387 esac
   19388 fi
   19389 
   19390     ;;
   19391   esac
   19392 
   19393   if test no = "$lt_cv_dlopen"; then
   19394     enable_dlopen=no
   19395   else
   19396     enable_dlopen=yes
   19397   fi
   19398 
   19399   case $lt_cv_dlopen in
   19400   dlopen)
   19401     save_CPPFLAGS=$CPPFLAGS
   19402     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   19403 
   19404     save_LDFLAGS=$LDFLAGS
   19405     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   19406 
   19407     save_LIBS=$LIBS
   19408     LIBS="$lt_cv_dlopen_libs $LIBS"
   19409 
   19410     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   19411 printf %s "checking whether a program can dlopen itself... " >&6; }
   19412 if test ${lt_cv_dlopen_self+y}
   19413 then :
   19414   printf %s "(cached) " >&6
   19415 else case e in #(
   19416   e) 	  if test yes = "$cross_compiling"; then :
   19417   lt_cv_dlopen_self=cross
   19418 else
   19419   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   19420   lt_status=$lt_dlunknown
   19421   cat > conftest.$ac_ext <<_LT_EOF
   19422 #line $LINENO "configure"
   19423 #include "confdefs.h"
   19424 
   19425 #if HAVE_DLFCN_H
   19426 #include <dlfcn.h>
   19427 #endif
   19428 
   19429 #include <stdio.h>
   19430 
   19431 #ifdef RTLD_GLOBAL
   19432 #  define LT_DLGLOBAL		RTLD_GLOBAL
   19433 #else
   19434 #  ifdef DL_GLOBAL
   19435 #    define LT_DLGLOBAL		DL_GLOBAL
   19436 #  else
   19437 #    define LT_DLGLOBAL		0
   19438 #  endif
   19439 #endif
   19440 
   19441 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   19442    find out it does not work in some platform. */
   19443 #ifndef LT_DLLAZY_OR_NOW
   19444 #  ifdef RTLD_LAZY
   19445 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   19446 #  else
   19447 #    ifdef DL_LAZY
   19448 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   19449 #    else
   19450 #      ifdef RTLD_NOW
   19451 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   19452 #      else
   19453 #        ifdef DL_NOW
   19454 #          define LT_DLLAZY_OR_NOW	DL_NOW
   19455 #        else
   19456 #          define LT_DLLAZY_OR_NOW	0
   19457 #        endif
   19458 #      endif
   19459 #    endif
   19460 #  endif
   19461 #endif
   19462 
   19463 /* When -fvisibility=hidden is used, assume the code has been annotated
   19464    correspondingly for the symbols needed.  */
   19465 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   19466 int fnord () __attribute__((visibility("default")));
   19467 #endif
   19468 
   19469 int fnord () { return 42; }
   19470 int main ()
   19471 {
   19472   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   19473   int status = $lt_dlunknown;
   19474 
   19475   if (self)
   19476     {
   19477       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   19478       else
   19479         {
   19480 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   19481           else puts (dlerror ());
   19482 	}
   19483       /* dlclose (self); */
   19484     }
   19485   else
   19486     puts (dlerror ());
   19487 
   19488   return status;
   19489 }
   19490 _LT_EOF
   19491   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   19492   (eval $ac_link) 2>&5
   19493   ac_status=$?
   19494   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19495   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   19496     (./conftest; exit; ) >&5 2>/dev/null
   19497     lt_status=$?
   19498     case x$lt_status in
   19499       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   19500       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   19501       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   19502     esac
   19503   else :
   19504     # compilation failed
   19505     lt_cv_dlopen_self=no
   19506   fi
   19507 fi
   19508 rm -fr conftest*
   19509 
   19510      ;;
   19511 esac
   19512 fi
   19513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   19514 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   19515 
   19516     if test yes = "$lt_cv_dlopen_self"; then
   19517       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   19518       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   19519 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   19520 if test ${lt_cv_dlopen_self_static+y}
   19521 then :
   19522   printf %s "(cached) " >&6
   19523 else case e in #(
   19524   e) 	  if test yes = "$cross_compiling"; then :
   19525   lt_cv_dlopen_self_static=cross
   19526 else
   19527   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   19528   lt_status=$lt_dlunknown
   19529   cat > conftest.$ac_ext <<_LT_EOF
   19530 #line $LINENO "configure"
   19531 #include "confdefs.h"
   19532 
   19533 #if HAVE_DLFCN_H
   19534 #include <dlfcn.h>
   19535 #endif
   19536 
   19537 #include <stdio.h>
   19538 
   19539 #ifdef RTLD_GLOBAL
   19540 #  define LT_DLGLOBAL		RTLD_GLOBAL
   19541 #else
   19542 #  ifdef DL_GLOBAL
   19543 #    define LT_DLGLOBAL		DL_GLOBAL
   19544 #  else
   19545 #    define LT_DLGLOBAL		0
   19546 #  endif
   19547 #endif
   19548 
   19549 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   19550    find out it does not work in some platform. */
   19551 #ifndef LT_DLLAZY_OR_NOW
   19552 #  ifdef RTLD_LAZY
   19553 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   19554 #  else
   19555 #    ifdef DL_LAZY
   19556 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   19557 #    else
   19558 #      ifdef RTLD_NOW
   19559 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   19560 #      else
   19561 #        ifdef DL_NOW
   19562 #          define LT_DLLAZY_OR_NOW	DL_NOW
   19563 #        else
   19564 #          define LT_DLLAZY_OR_NOW	0
   19565 #        endif
   19566 #      endif
   19567 #    endif
   19568 #  endif
   19569 #endif
   19570 
   19571 /* When -fvisibility=hidden is used, assume the code has been annotated
   19572    correspondingly for the symbols needed.  */
   19573 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   19574 int fnord () __attribute__((visibility("default")));
   19575 #endif
   19576 
   19577 int fnord () { return 42; }
   19578 int main ()
   19579 {
   19580   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   19581   int status = $lt_dlunknown;
   19582 
   19583   if (self)
   19584     {
   19585       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   19586       else
   19587         {
   19588 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   19589           else puts (dlerror ());
   19590 	}
   19591       /* dlclose (self); */
   19592     }
   19593   else
   19594     puts (dlerror ());
   19595 
   19596   return status;
   19597 }
   19598 _LT_EOF
   19599   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   19600   (eval $ac_link) 2>&5
   19601   ac_status=$?
   19602   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19603   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   19604     (./conftest; exit; ) >&5 2>/dev/null
   19605     lt_status=$?
   19606     case x$lt_status in
   19607       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   19608       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   19609       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   19610     esac
   19611   else :
   19612     # compilation failed
   19613     lt_cv_dlopen_self_static=no
   19614   fi
   19615 fi
   19616 rm -fr conftest*
   19617 
   19618        ;;
   19619 esac
   19620 fi
   19621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   19622 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   19623     fi
   19624 
   19625     CPPFLAGS=$save_CPPFLAGS
   19626     LDFLAGS=$save_LDFLAGS
   19627     LIBS=$save_LIBS
   19628     ;;
   19629   esac
   19630 
   19631   case $lt_cv_dlopen_self in
   19632   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   19633   *) enable_dlopen_self=unknown ;;
   19634   esac
   19635 
   19636   case $lt_cv_dlopen_self_static in
   19637   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   19638   *) enable_dlopen_self_static=unknown ;;
   19639   esac
   19640 fi
   19641 
   19642 
   19643 
   19644 
   19645 
   19646 
   19647 
   19648 
   19649 
   19650 
   19651 
   19652 
   19653 
   19654 
   19655 
   19656 
   19657 
   19658 striplib=
   19659 old_striplib=
   19660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   19661 printf %s "checking whether stripping libraries is possible... " >&6; }
   19662 if test -z "$STRIP"; then
   19663   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19664 printf "%s\n" "no" >&6; }
   19665 else
   19666   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   19667     old_striplib="$STRIP --strip-debug"
   19668     striplib="$STRIP --strip-unneeded"
   19669     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19670 printf "%s\n" "yes" >&6; }
   19671   else
   19672     case $host_os in
   19673     darwin*)
   19674       # FIXME - insert some real tests, host_os isn't really good enough
   19675       striplib="$STRIP -x"
   19676       old_striplib="$STRIP -S"
   19677       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19678 printf "%s\n" "yes" >&6; }
   19679       ;;
   19680     freebsd*)
   19681       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   19682         old_striplib="$STRIP --strip-debug"
   19683         striplib="$STRIP --strip-unneeded"
   19684         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19685 printf "%s\n" "yes" >&6; }
   19686       else
   19687         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19688 printf "%s\n" "no" >&6; }
   19689       fi
   19690       ;;
   19691     *)
   19692       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19693 printf "%s\n" "no" >&6; }
   19694       ;;
   19695     esac
   19696   fi
   19697 fi
   19698 
   19699 
   19700 
   19701 
   19702 
   19703 
   19704 
   19705 
   19706 
   19707 
   19708 
   19709 
   19710   # Report what library types will actually be built
   19711   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   19712 printf %s "checking if libtool supports shared libraries... " >&6; }
   19713   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   19714 printf "%s\n" "$can_build_shared" >&6; }
   19715 
   19716   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   19717 printf %s "checking whether to build shared libraries... " >&6; }
   19718   test no = "$can_build_shared" && enable_shared=no
   19719 
   19720   # On AIX, shared libraries and static libraries use the same namespace, and
   19721   # are all built from PIC.
   19722   case $host_os in
   19723   aix3*)
   19724     test yes = "$enable_shared" && enable_static=no
   19725     if test -n "$RANLIB"; then
   19726       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   19727       postinstall_cmds='$RANLIB $lib'
   19728     fi
   19729     ;;
   19730 
   19731   aix[4-9]*)
   19732     if test ia64 != "$host_cpu"; then
   19733       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   19734       yes,aix,yes) ;;			# shared object as lib.so file only
   19735       yes,svr4,*) ;;			# shared object as lib.so archive member only
   19736       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   19737       esac
   19738     fi
   19739     ;;
   19740   esac
   19741   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   19742 printf "%s\n" "$enable_shared" >&6; }
   19743 
   19744   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   19745 printf %s "checking whether to build static libraries... " >&6; }
   19746   # Make sure either enable_shared or enable_static is yes.
   19747   test yes = "$enable_shared" || enable_static=yes
   19748   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   19749 printf "%s\n" "$enable_static" >&6; }
   19750 
   19751 
   19752 
   19753 
   19754 fi
   19755 ac_ext=c
   19756 ac_cpp='$CPP $CPPFLAGS'
   19757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19760 
   19761 CC=$lt_save_CC
   19762 
   19763 
   19764 
   19765 
   19766 
   19767 
   19768 
   19769 
   19770 
   19771 
   19772 
   19773 
   19774 
   19775 
   19776 
   19777         ac_config_commands="$ac_config_commands libtool"
   19778 
   19779 
   19780 
   19781 
   19782 # Only expand once:
   19783 
   19784 
   19785 
   19786 
   19787 
   19788 # Define a configure option for an alternate module directory
   19789 
   19790 # Check whether --with-xorg-module-dir was given.
   19791 if test ${with_xorg_module_dir+y}
   19792 then :
   19793   withval=$with_xorg_module_dir; moduledir="$withval"
   19794 else case e in #(
   19795   e) moduledir="$libdir/xorg/modules" ;;
   19796 esac
   19797 fi
   19798 
   19799 
   19800 # Store the list of server defined optional extensions in REQUIRED_MODULES
   19801 
   19802 
   19803 	SAVE_CFLAGS="$CFLAGS"
   19804 	CFLAGS="$CFLAGS `$PKG_CONFIG --cflags xorg-server`"
   19805 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19806 /* end confdefs.h.  */
   19807 
   19808 #include "xorg-server.h"
   19809 #if !defined RANDR
   19810 #error RANDR not defined
   19811 #endif
   19812 
   19813 int
   19814 main (void)
   19815 {
   19816 
   19817   ;
   19818   return 0;
   19819 }
   19820 _ACEOF
   19821 if ac_fn_c_try_compile "$LINENO"
   19822 then :
   19823   _EXT_CHECK=yes
   19824 else case e in #(
   19825   e) _EXT_CHECK=no ;;
   19826 esac
   19827 fi
   19828 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19829 	CFLAGS="$SAVE_CFLAGS"
   19830 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if RANDR is defined" >&5
   19831 printf %s "checking if RANDR is defined... " >&6; }
   19832 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   19833 printf "%s\n" "$_EXT_CHECK" >&6; }
   19834 	if test "$_EXT_CHECK" != no; then
   19835 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   19836 	fi
   19837 
   19838 
   19839 
   19840 	SAVE_CFLAGS="$CFLAGS"
   19841 	CFLAGS="$CFLAGS `$PKG_CONFIG --cflags xorg-server`"
   19842 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19843 /* end confdefs.h.  */
   19844 
   19845 #include "xorg-server.h"
   19846 #if !defined RENDER
   19847 #error RENDER not defined
   19848 #endif
   19849 
   19850 int
   19851 main (void)
   19852 {
   19853 
   19854   ;
   19855   return 0;
   19856 }
   19857 _ACEOF
   19858 if ac_fn_c_try_compile "$LINENO"
   19859 then :
   19860   _EXT_CHECK=yes
   19861 else case e in #(
   19862   e) _EXT_CHECK=no ;;
   19863 esac
   19864 fi
   19865 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19866 	CFLAGS="$SAVE_CFLAGS"
   19867 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if RENDER is defined" >&5
   19868 printf %s "checking if RENDER is defined... " >&6; }
   19869 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   19870 printf "%s\n" "$_EXT_CHECK" >&6; }
   19871 	if test "$_EXT_CHECK" != no; then
   19872 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   19873 	fi
   19874 
   19875 
   19876 
   19877 	SAVE_CFLAGS="$CFLAGS"
   19878 	CFLAGS="$CFLAGS `$PKG_CONFIG --cflags xorg-server`"
   19879 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19880 /* end confdefs.h.  */
   19881 
   19882 #include "xorg-server.h"
   19883 #if !defined XV
   19884 #error XV not defined
   19885 #endif
   19886 
   19887 int
   19888 main (void)
   19889 {
   19890 
   19891   ;
   19892   return 0;
   19893 }
   19894 _ACEOF
   19895 if ac_fn_c_try_compile "$LINENO"
   19896 then :
   19897   _EXT_CHECK=yes
   19898 else case e in #(
   19899   e) _EXT_CHECK=no ;;
   19900 esac
   19901 fi
   19902 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19903 	CFLAGS="$SAVE_CFLAGS"
   19904 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if XV is defined" >&5
   19905 printf %s "checking if XV is defined... " >&6; }
   19906 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   19907 printf "%s\n" "$_EXT_CHECK" >&6; }
   19908 	if test "$_EXT_CHECK" != no; then
   19909 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   19910 	fi
   19911 
   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 DPMSExtension
   19921 #error DPMSExtension 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 DPMSExtension is defined" >&5
   19942 printf %s "checking if DPMSExtension 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 xextproto"
   19947 	fi
   19948 
   19949 
   19950 # Obtain compiler/linker options for the driver dependencies
   19951 
   19952 pkg_failed=no
   19953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   19954 printf %s "checking for XORG... " >&6; }
   19955 
   19956 if test -n "$XORG_CFLAGS"; then
   19957     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   19958  elif test -n "$PKG_CONFIG"; then
   19959     if test -n "$PKG_CONFIG" && \
   19960     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   19961   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   19962   ac_status=$?
   19963   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19964   test $ac_status = 0; }; then
   19965   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   19966 		      test "x$?" != "x0" && pkg_failed=yes
   19967 else
   19968   pkg_failed=yes
   19969 fi
   19970  else
   19971     pkg_failed=untried
   19972 fi
   19973 if test -n "$XORG_LIBS"; then
   19974     pkg_cv_XORG_LIBS="$XORG_LIBS"
   19975  elif test -n "$PKG_CONFIG"; then
   19976     if test -n "$PKG_CONFIG" && \
   19977     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   19978   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   19979   ac_status=$?
   19980   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19981   test $ac_status = 0; }; then
   19982   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   19983 		      test "x$?" != "x0" && pkg_failed=yes
   19984 else
   19985   pkg_failed=yes
   19986 fi
   19987  else
   19988     pkg_failed=untried
   19989 fi
   19990 
   19991 
   19992 
   19993 if test $pkg_failed = yes; then
   19994    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19995 printf "%s\n" "no" >&6; }
   19996 
   19997 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19998         _pkg_short_errors_supported=yes
   19999 else
   20000         _pkg_short_errors_supported=no
   20001 fi
   20002         if test $_pkg_short_errors_supported = yes; then
   20003 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   20004         else
   20005 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   20006         fi
   20007 	# Put the nasty error message in config.log where it belongs
   20008 	echo "$XORG_PKG_ERRORS" >&5
   20009 
   20010 	as_fn_error $? "Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES) were not met:
   20011 
   20012 $XORG_PKG_ERRORS
   20013 
   20014 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20015 installed software in a non-standard prefix.
   20016 
   20017 Alternatively, you may set the environment variables XORG_CFLAGS
   20018 and XORG_LIBS to avoid the need to call pkg-config.
   20019 See the pkg-config man page for more details." "$LINENO" 5
   20020 elif test $pkg_failed = untried; then
   20021      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20022 printf "%s\n" "no" >&6; }
   20023 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   20024 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   20025 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   20026 is in your PATH or set the PKG_CONFIG environment variable to the full
   20027 path to pkg-config.
   20028 
   20029 Alternatively, you may set the environment variables XORG_CFLAGS
   20030 and XORG_LIBS to avoid the need to call pkg-config.
   20031 See the pkg-config man page for more details.
   20032 
   20033 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20034 See 'config.log' for more details" "$LINENO" 5; }
   20035 else
   20036 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   20037 	XORG_LIBS=$pkg_cv_XORG_LIBS
   20038         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20039 printf "%s\n" "yes" >&6; }
   20040 
   20041 fi
   20042 
   20043 # Checks for libraries.
   20044 SAVE_CPPFLAGS="$CPPFLAGS"
   20045 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   20046 ac_fn_check_decl "$LINENO" "XSERVER_LIBPCIACCESS" "ac_cv_have_decl_XSERVER_LIBPCIACCESS" "#include \"xorg-server.h\"
   20047 " "$ac_c_undeclared_builtin_options" "CFLAGS"
   20048 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = xyes
   20049 then :
   20050   XSERVER_LIBPCIACCESS=yes
   20051 else case e in #(
   20052   e) XSERVER_LIBPCIACCESS=no ;;
   20053 esac
   20054 fi
   20055 ac_fn_c_check_header_compile "$LINENO" "xf1bpp.h" "ac_cv_header_xf1bpp_h" "$ac_includes_default"
   20056 if test "x$ac_cv_header_xf1bpp_h" = xyes
   20057 then :
   20058 
   20059 printf "%s\n" "#define HAVE_XF1BPP 1" >>confdefs.h
   20060 
   20061 fi
   20062 
   20063 ac_fn_c_check_header_compile "$LINENO" "xf4bpp.h" "ac_cv_header_xf4bpp_h" "$ac_includes_default"
   20064 if test "x$ac_cv_header_xf4bpp_h" = xyes
   20065 then :
   20066 
   20067 printf "%s\n" "#define HAVE_XF4BPP 1" >>confdefs.h
   20068 
   20069 fi
   20070 
   20071 CPPFLAGS="$SAVE_CPPFLAGS"
   20072 
   20073 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   20074 
   20075 pkg_failed=no
   20076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PCIACCESS" >&5
   20077 printf %s "checking for PCIACCESS... " >&6; }
   20078 
   20079 if test -n "$PCIACCESS_CFLAGS"; then
   20080     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   20081  elif test -n "$PKG_CONFIG"; then
   20082     if test -n "$PKG_CONFIG" && \
   20083     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\""; } >&5
   20084   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   20085   ac_status=$?
   20086   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20087   test $ac_status = 0; }; then
   20088   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.8.0" 2>/dev/null`
   20089 		      test "x$?" != "x0" && pkg_failed=yes
   20090 else
   20091   pkg_failed=yes
   20092 fi
   20093  else
   20094     pkg_failed=untried
   20095 fi
   20096 if test -n "$PCIACCESS_LIBS"; then
   20097     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   20098  elif test -n "$PKG_CONFIG"; then
   20099     if test -n "$PKG_CONFIG" && \
   20100     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\""; } >&5
   20101   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   20102   ac_status=$?
   20103   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20104   test $ac_status = 0; }; then
   20105   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.8.0" 2>/dev/null`
   20106 		      test "x$?" != "x0" && pkg_failed=yes
   20107 else
   20108   pkg_failed=yes
   20109 fi
   20110  else
   20111     pkg_failed=untried
   20112 fi
   20113 
   20114 
   20115 
   20116 if test $pkg_failed = yes; then
   20117    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20118 printf "%s\n" "no" >&6; }
   20119 
   20120 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20121         _pkg_short_errors_supported=yes
   20122 else
   20123         _pkg_short_errors_supported=no
   20124 fi
   20125         if test $_pkg_short_errors_supported = yes; then
   20126 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pciaccess >= 0.8.0" 2>&1`
   20127         else
   20128 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pciaccess >= 0.8.0" 2>&1`
   20129         fi
   20130 	# Put the nasty error message in config.log where it belongs
   20131 	echo "$PCIACCESS_PKG_ERRORS" >&5
   20132 
   20133 	as_fn_error $? "Package requirements (pciaccess >= 0.8.0) were not met:
   20134 
   20135 $PCIACCESS_PKG_ERRORS
   20136 
   20137 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20138 installed software in a non-standard prefix.
   20139 
   20140 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   20141 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   20142 See the pkg-config man page for more details." "$LINENO" 5
   20143 elif test $pkg_failed = untried; then
   20144      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20145 printf "%s\n" "no" >&6; }
   20146 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   20147 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   20148 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   20149 is in your PATH or set the PKG_CONFIG environment variable to the full
   20150 path to pkg-config.
   20151 
   20152 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   20153 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   20154 See the pkg-config man page for more details.
   20155 
   20156 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20157 See 'config.log' for more details" "$LINENO" 5; }
   20158 else
   20159 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   20160 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   20161         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20162 printf "%s\n" "yes" >&6; }
   20163 
   20164 fi
   20165     XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS"
   20166 fi
   20167  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   20168   XSERVER_LIBPCIACCESS_TRUE=
   20169   XSERVER_LIBPCIACCESS_FALSE='#'
   20170 else
   20171   XSERVER_LIBPCIACCESS_TRUE='#'
   20172   XSERVER_LIBPCIACCESS_FALSE=
   20173 fi
   20174 
   20175 # Check whether --enable-xaa was given.
   20176 if test ${enable_xaa+y}
   20177 then :
   20178   enableval=$enable_xaa; XAA="$enableval"
   20179 else case e in #(
   20180   e) XAA=auto ;;
   20181 esac
   20182 fi
   20183 
   20184 if test "x$XAA" != xno; then
   20185         save_CFLAGS=$CFLAGS
   20186         save_CPPFLAGS=$CPPFLAGS
   20187         CFLAGS=$XORG_CFLAGS
   20188         CPPFLAGS="$XORG_CFLAGS"
   20189                for ac_header in xaa.h
   20190 do :
   20191   ac_fn_c_check_header_compile "$LINENO" "xaa.h" "ac_cv_header_xaa_h" "$ac_includes_default"
   20192 if test "x$ac_cv_header_xaa_h" = xyes
   20193 then :
   20194   printf "%s\n" "#define HAVE_XAA_H 1" >>confdefs.h
   20195  XAA=yes
   20196 else case e in #(
   20197   e) XAA=no ;;
   20198 esac
   20199 fi
   20200 
   20201 done
   20202         CFLAGS=$save_CFLAGS
   20203         CPPFLAGS=$save_CPPFLAGS
   20204 fi
   20205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to include XAA support" >&5
   20206 printf %s "checking whether to include XAA support... " >&6; }
   20207  if test "x$XAA" = xyes; then
   20208   XAA_TRUE=
   20209   XAA_FALSE='#'
   20210 else
   20211   XAA_TRUE='#'
   20212   XAA_FALSE=
   20213 fi
   20214 
   20215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XAA" >&5
   20216 printf "%s\n" "$XAA" >&6; }
   20217 
   20218 save_CFLAGS="$CFLAGS"
   20219 CFLAGS="$XORG_CFLAGS"
   20220 ac_fn_check_decl "$LINENO" "xf86ConfigIsaEntity" "ac_cv_have_decl_xf86ConfigIsaEntity" "#include \"xf86.h\"
   20221 " "$ac_c_undeclared_builtin_options" "CFLAGS"
   20222 if test "x$ac_cv_have_decl_xf86ConfigIsaEntity" = xyes
   20223 then :
   20224 
   20225 printf "%s\n" "#define HAVE_ISA 1" >>confdefs.h
   20226 
   20227 fi
   20228 CFLAGS="$save_CFLAGS"
   20229 
   20230 
   20231 # Checks for functions (often defined as inlines in compiler.h)
   20232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inb" >&5
   20233 printf %s "checking for inb... " >&6; }
   20234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20235 /* end confdefs.h.  */
   20236 
   20237 #include "util/AsmMacros.h"
   20238 
   20239 int main() {
   20240 	int x = inb(0);
   20241 	return x;
   20242 }
   20243 
   20244 _ACEOF
   20245 if ac_fn_c_try_link "$LINENO"
   20246 then :
   20247   HAVE_INB=yes
   20248 else case e in #(
   20249   e) HAVE_INB=no ;;
   20250 esac
   20251 fi
   20252 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20253     conftest$ac_exeext conftest.$ac_ext
   20254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $HAVE_INB" >&5
   20255 printf "%s\n" "$HAVE_INB" >&6; }
   20256  if test x$HAVE_INB = xyes; then
   20257   BUILD_UTILS_TRUE=
   20258   BUILD_UTILS_FALSE='#'
   20259 else
   20260   BUILD_UTILS_TRUE='#'
   20261   BUILD_UTILS_FALSE=
   20262 fi
   20263 
   20264 
   20265 # We don't use strlcat, strlcpy, or timingsafe_memcmp, but check to quiet
   20266 # -Wredundant-decls warning from xorg/os.h which will otherwise redefine them.
   20267 ac_fn_c_check_func "$LINENO" "strlcat" "ac_cv_func_strlcat"
   20268 if test "x$ac_cv_func_strlcat" = xyes
   20269 then :
   20270   printf "%s\n" "#define HAVE_STRLCAT 1" >>confdefs.h
   20271 
   20272 fi
   20273 ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
   20274 if test "x$ac_cv_func_strlcpy" = xyes
   20275 then :
   20276   printf "%s\n" "#define HAVE_STRLCPY 1" >>confdefs.h
   20277 
   20278 fi
   20279 ac_fn_c_check_func "$LINENO" "timingsafe_memcmp" "ac_cv_func_timingsafe_memcmp"
   20280 if test "x$ac_cv_func_timingsafe_memcmp" = xyes
   20281 then :
   20282   printf "%s\n" "#define HAVE_TIMINGSAFE_MEMCMP 1" >>confdefs.h
   20283 
   20284 fi
   20285 
   20286 
   20287 
   20288 
   20289 DRIVER_NAME=chips
   20290 
   20291 
   20292 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile util/Makefile"
   20293 
   20294 cat >confcache <<\_ACEOF
   20295 # This file is a shell script that caches the results of configure
   20296 # tests run on this system so they can be shared between configure
   20297 # scripts and configure runs, see configure's option --config-cache.
   20298 # It is not useful on other systems.  If it contains results you don't
   20299 # want to keep, you may remove or edit it.
   20300 #
   20301 # config.status only pays attention to the cache file if you give it
   20302 # the --recheck option to rerun configure.
   20303 #
   20304 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   20305 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   20306 # following values.
   20307 
   20308 _ACEOF
   20309 
   20310 # The following way of writing the cache mishandles newlines in values,
   20311 # but we know of no workaround that is simple, portable, and efficient.
   20312 # So, we kill variables containing newlines.
   20313 # Ultrix sh set writes to stderr and can't be redirected directly,
   20314 # and sets the high bit in the cache file unless we assign to the vars.
   20315 (
   20316   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   20317     eval ac_val=\$$ac_var
   20318     case $ac_val in #(
   20319     *${as_nl}*)
   20320       case $ac_var in #(
   20321       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   20322 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   20323       esac
   20324       case $ac_var in #(
   20325       _ | IFS | as_nl) ;; #(
   20326       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   20327       *) { eval $ac_var=; unset $ac_var;} ;;
   20328       esac ;;
   20329     esac
   20330   done
   20331 
   20332   (set) 2>&1 |
   20333     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   20334     *${as_nl}ac_space=\ *)
   20335       # 'set' does not quote correctly, so add quotes: double-quote
   20336       # substitution turns \\\\ into \\, and sed turns \\ into \.
   20337       sed -n \
   20338 	"s/'/'\\\\''/g;
   20339 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   20340       ;; #(
   20341     *)
   20342       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   20343       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   20344       ;;
   20345     esac |
   20346     sort
   20347 ) |
   20348   sed '
   20349      /^ac_cv_env_/b end
   20350      t clear
   20351      :clear
   20352      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   20353      t end
   20354      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   20355      :end' >>confcache
   20356 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   20357   if test -w "$cache_file"; then
   20358     if test "x$cache_file" != "x/dev/null"; then
   20359       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   20360 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   20361       if test ! -f "$cache_file" || test -h "$cache_file"; then
   20362 	cat confcache >"$cache_file"
   20363       else
   20364         case $cache_file in #(
   20365         */* | ?:*)
   20366 	  mv -f confcache "$cache_file"$$ &&
   20367 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   20368         *)
   20369 	  mv -f confcache "$cache_file" ;;
   20370 	esac
   20371       fi
   20372     fi
   20373   else
   20374     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   20375 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   20376   fi
   20377 fi
   20378 rm -f confcache
   20379 
   20380 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   20381 # Let make expand exec_prefix.
   20382 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   20383 
   20384 DEFS=-DHAVE_CONFIG_H
   20385 
   20386 ac_libobjs=
   20387 ac_ltlibobjs=
   20388 U=
   20389 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   20390   # 1. Remove the extension, and $U if already installed.
   20391   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   20392   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   20393   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   20394   #    will be set to the directory where LIBOBJS objects are built.
   20395   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   20396   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   20397 done
   20398 LIBOBJS=$ac_libobjs
   20399 
   20400 LTLIBOBJS=$ac_ltlibobjs
   20401 
   20402 
   20403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   20404 printf %s "checking that generated files are newer than configure... " >&6; }
   20405    if test -n "$am_sleep_pid"; then
   20406      # Hide warnings about reused PIDs.
   20407      wait $am_sleep_pid 2>/dev/null
   20408    fi
   20409    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   20410 printf "%s\n" "done" >&6; }
   20411  if test -n "$EXEEXT"; then
   20412   am__EXEEXT_TRUE=
   20413   am__EXEEXT_FALSE='#'
   20414 else
   20415   am__EXEEXT_TRUE='#'
   20416   am__EXEEXT_FALSE=
   20417 fi
   20418 
   20419 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   20420   as_fn_error $? "conditional \"AMDEP\" was never defined.
   20421 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20422 fi
   20423 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   20424   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   20425 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20426 fi
   20427 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   20428   as_fn_error $? "conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   20429 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20430 fi
   20431 if test -z "${XAA_TRUE}" && test -z "${XAA_FALSE}"; then
   20432   as_fn_error $? "conditional \"XAA\" was never defined.
   20433 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20434 fi
   20435 if test -z "${BUILD_UTILS_TRUE}" && test -z "${BUILD_UTILS_FALSE}"; then
   20436   as_fn_error $? "conditional \"BUILD_UTILS\" was never defined.
   20437 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20438 fi
   20439 
   20440 : "${CONFIG_STATUS=./config.status}"
   20441 ac_write_fail=0
   20442 ac_clean_files_save=$ac_clean_files
   20443 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   20444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   20445 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   20446 as_write_fail=0
   20447 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   20448 #! $SHELL
   20449 # Generated by $as_me.
   20450 # Run this file to recreate the current configuration.
   20451 # Compiler output produced by configure, useful for debugging
   20452 # configure, is in config.log if it exists.
   20453 
   20454 debug=false
   20455 ac_cs_recheck=false
   20456 ac_cs_silent=false
   20457 
   20458 SHELL=\${CONFIG_SHELL-$SHELL}
   20459 export SHELL
   20460 _ASEOF
   20461 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   20462 ## -------------------- ##
   20463 ## M4sh Initialization. ##
   20464 ## -------------------- ##
   20465 
   20466 # Be more Bourne compatible
   20467 DUALCASE=1; export DUALCASE # for MKS sh
   20468 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   20469 then :
   20470   emulate sh
   20471   NULLCMD=:
   20472   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   20473   # is contrary to our usage.  Disable this feature.
   20474   alias -g '${1+"$@"}'='"$@"'
   20475   setopt NO_GLOB_SUBST
   20476 else case e in #(
   20477   e) case `(set -o) 2>/dev/null` in #(
   20478   *posix*) :
   20479     set -o posix ;; #(
   20480   *) :
   20481      ;;
   20482 esac ;;
   20483 esac
   20484 fi
   20485 
   20486 
   20487 
   20488 # Reset variables that may have inherited troublesome values from
   20489 # the environment.
   20490 
   20491 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   20492 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   20493 # side effect of setting IFS to empty, thus disabling word splitting.)
   20494 # Quoting is to prevent editors from complaining about space-tab.
   20495 as_nl='
   20496 '
   20497 export as_nl
   20498 IFS=" ""	$as_nl"
   20499 
   20500 PS1='$ '
   20501 PS2='> '
   20502 PS4='+ '
   20503 
   20504 # Ensure predictable behavior from utilities with locale-dependent output.
   20505 LC_ALL=C
   20506 export LC_ALL
   20507 LANGUAGE=C
   20508 export LANGUAGE
   20509 
   20510 # We cannot yet rely on "unset" to work, but we need these variables
   20511 # to be unset--not just set to an empty or harmless value--now, to
   20512 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   20513 # also avoids known problems related to "unset" and subshell syntax
   20514 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   20515 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   20516 do eval test \${$as_var+y} \
   20517   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   20518 done
   20519 
   20520 # Ensure that fds 0, 1, and 2 are open.
   20521 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   20522 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   20523 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   20524 
   20525 # The user is always right.
   20526 if ${PATH_SEPARATOR+false} :; then
   20527   PATH_SEPARATOR=:
   20528   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   20529     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   20530       PATH_SEPARATOR=';'
   20531   }
   20532 fi
   20533 
   20534 
   20535 # Find who we are.  Look in the path if we contain no directory separator.
   20536 as_myself=
   20537 case $0 in #((
   20538   *[\\/]* ) as_myself=$0 ;;
   20539   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20540 for as_dir in $PATH
   20541 do
   20542   IFS=$as_save_IFS
   20543   case $as_dir in #(((
   20544     '') as_dir=./ ;;
   20545     */) ;;
   20546     *) as_dir=$as_dir/ ;;
   20547   esac
   20548     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   20549   done
   20550 IFS=$as_save_IFS
   20551 
   20552      ;;
   20553 esac
   20554 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   20555 # in which case we are not to be found in the path.
   20556 if test "x$as_myself" = x; then
   20557   as_myself=$0
   20558 fi
   20559 if test ! -f "$as_myself"; then
   20560   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   20561   exit 1
   20562 fi
   20563 
   20564 
   20565 
   20566 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   20567 # ----------------------------------------
   20568 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   20569 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   20570 # script with STATUS, using 1 if that was 0.
   20571 as_fn_error ()
   20572 {
   20573   as_status=$1; test $as_status -eq 0 && as_status=1
   20574   if test "$4"; then
   20575     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   20576     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   20577   fi
   20578   printf "%s\n" "$as_me: error: $2" >&2
   20579   as_fn_exit $as_status
   20580 } # as_fn_error
   20581 
   20582 
   20583 # as_fn_set_status STATUS
   20584 # -----------------------
   20585 # Set $? to STATUS, without forking.
   20586 as_fn_set_status ()
   20587 {
   20588   return $1
   20589 } # as_fn_set_status
   20590 
   20591 # as_fn_exit STATUS
   20592 # -----------------
   20593 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   20594 as_fn_exit ()
   20595 {
   20596   set +e
   20597   as_fn_set_status $1
   20598   exit $1
   20599 } # as_fn_exit
   20600 
   20601 # as_fn_unset VAR
   20602 # ---------------
   20603 # Portably unset VAR.
   20604 as_fn_unset ()
   20605 {
   20606   { eval $1=; unset $1;}
   20607 }
   20608 as_unset=as_fn_unset
   20609 
   20610 # as_fn_append VAR VALUE
   20611 # ----------------------
   20612 # Append the text in VALUE to the end of the definition contained in VAR. Take
   20613 # advantage of any shell optimizations that allow amortized linear growth over
   20614 # repeated appends, instead of the typical quadratic growth present in naive
   20615 # implementations.
   20616 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   20617 then :
   20618   eval 'as_fn_append ()
   20619   {
   20620     eval $1+=\$2
   20621   }'
   20622 else case e in #(
   20623   e) as_fn_append ()
   20624   {
   20625     eval $1=\$$1\$2
   20626   } ;;
   20627 esac
   20628 fi # as_fn_append
   20629 
   20630 # as_fn_arith ARG...
   20631 # ------------------
   20632 # Perform arithmetic evaluation on the ARGs, and store the result in the
   20633 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   20634 # must be portable across $(()) and expr.
   20635 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   20636 then :
   20637   eval 'as_fn_arith ()
   20638   {
   20639     as_val=$(( $* ))
   20640   }'
   20641 else case e in #(
   20642   e) as_fn_arith ()
   20643   {
   20644     as_val=`expr "$@" || test $? -eq 1`
   20645   } ;;
   20646 esac
   20647 fi # as_fn_arith
   20648 
   20649 
   20650 if expr a : '\(a\)' >/dev/null 2>&1 &&
   20651    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   20652   as_expr=expr
   20653 else
   20654   as_expr=false
   20655 fi
   20656 
   20657 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   20658   as_basename=basename
   20659 else
   20660   as_basename=false
   20661 fi
   20662 
   20663 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   20664   as_dirname=dirname
   20665 else
   20666   as_dirname=false
   20667 fi
   20668 
   20669 as_me=`$as_basename -- "$0" ||
   20670 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   20671 	 X"$0" : 'X\(//\)$' \| \
   20672 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   20673 printf "%s\n" X/"$0" |
   20674     sed '/^.*\/\([^/][^/]*\)\/*$/{
   20675 	    s//\1/
   20676 	    q
   20677 	  }
   20678 	  /^X\/\(\/\/\)$/{
   20679 	    s//\1/
   20680 	    q
   20681 	  }
   20682 	  /^X\/\(\/\).*/{
   20683 	    s//\1/
   20684 	    q
   20685 	  }
   20686 	  s/.*/./; q'`
   20687 
   20688 # Avoid depending upon Character Ranges.
   20689 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   20690 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   20691 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   20692 as_cr_digits='0123456789'
   20693 as_cr_alnum=$as_cr_Letters$as_cr_digits
   20694 
   20695 
   20696 # Determine whether it's possible to make 'echo' print without a newline.
   20697 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   20698 # for compatibility with existing Makefiles.
   20699 ECHO_C= ECHO_N= ECHO_T=
   20700 case `echo -n x` in #(((((
   20701 -n*)
   20702   case `echo 'xy\c'` in
   20703   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   20704   xy)  ECHO_C='\c';;
   20705   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   20706        ECHO_T='	';;
   20707   esac;;
   20708 *)
   20709   ECHO_N='-n';;
   20710 esac
   20711 
   20712 # For backward compatibility with old third-party macros, we provide
   20713 # the shell variables $as_echo and $as_echo_n.  New code should use
   20714 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   20715 as_echo='printf %s\n'
   20716 as_echo_n='printf %s'
   20717 
   20718 rm -f conf$$ conf$$.exe conf$$.file
   20719 if test -d conf$$.dir; then
   20720   rm -f conf$$.dir/conf$$.file
   20721 else
   20722   rm -f conf$$.dir
   20723   mkdir conf$$.dir 2>/dev/null
   20724 fi
   20725 if (echo >conf$$.file) 2>/dev/null; then
   20726   if ln -s conf$$.file conf$$ 2>/dev/null; then
   20727     as_ln_s='ln -s'
   20728     # ... but there are two gotchas:
   20729     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   20730     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   20731     # In both cases, we have to default to 'cp -pR'.
   20732     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   20733       as_ln_s='cp -pR'
   20734   elif ln conf$$.file conf$$ 2>/dev/null; then
   20735     as_ln_s=ln
   20736   else
   20737     as_ln_s='cp -pR'
   20738   fi
   20739 else
   20740   as_ln_s='cp -pR'
   20741 fi
   20742 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   20743 rmdir conf$$.dir 2>/dev/null
   20744 
   20745 
   20746 # as_fn_mkdir_p
   20747 # -------------
   20748 # Create "$as_dir" as a directory, including parents if necessary.
   20749 as_fn_mkdir_p ()
   20750 {
   20751 
   20752   case $as_dir in #(
   20753   -*) as_dir=./$as_dir;;
   20754   esac
   20755   test -d "$as_dir" || eval $as_mkdir_p || {
   20756     as_dirs=
   20757     while :; do
   20758       case $as_dir in #(
   20759       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   20760       *) as_qdir=$as_dir;;
   20761       esac
   20762       as_dirs="'$as_qdir' $as_dirs"
   20763       as_dir=`$as_dirname -- "$as_dir" ||
   20764 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20765 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   20766 	 X"$as_dir" : 'X\(//\)$' \| \
   20767 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   20768 printf "%s\n" X"$as_dir" |
   20769     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20770 	    s//\1/
   20771 	    q
   20772 	  }
   20773 	  /^X\(\/\/\)[^/].*/{
   20774 	    s//\1/
   20775 	    q
   20776 	  }
   20777 	  /^X\(\/\/\)$/{
   20778 	    s//\1/
   20779 	    q
   20780 	  }
   20781 	  /^X\(\/\).*/{
   20782 	    s//\1/
   20783 	    q
   20784 	  }
   20785 	  s/.*/./; q'`
   20786       test -d "$as_dir" && break
   20787     done
   20788     test -z "$as_dirs" || eval "mkdir $as_dirs"
   20789   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   20790 
   20791 
   20792 } # as_fn_mkdir_p
   20793 if mkdir -p . 2>/dev/null; then
   20794   as_mkdir_p='mkdir -p "$as_dir"'
   20795 else
   20796   test -d ./-p && rmdir ./-p
   20797   as_mkdir_p=false
   20798 fi
   20799 
   20800 
   20801 # as_fn_executable_p FILE
   20802 # -----------------------
   20803 # Test if FILE is an executable regular file.
   20804 as_fn_executable_p ()
   20805 {
   20806   test -f "$1" && test -x "$1"
   20807 } # as_fn_executable_p
   20808 as_test_x='test -x'
   20809 as_executable_p=as_fn_executable_p
   20810 
   20811 # Sed expression to map a string onto a valid CPP name.
   20812 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   20813 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   20814 
   20815 # Sed expression to map a string onto a valid variable name.
   20816 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   20817 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   20818 
   20819 
   20820 exec 6>&1
   20821 ## ----------------------------------- ##
   20822 ## Main body of $CONFIG_STATUS script. ##
   20823 ## ----------------------------------- ##
   20824 _ASEOF
   20825 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   20826 
   20827 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20828 # Save the log message, to keep $0 and so on meaningful, and to
   20829 # report actual input values of CONFIG_FILES etc. instead of their
   20830 # values after options handling.
   20831 ac_log="
   20832 This file was extended by xf86-video-chips $as_me 1.5.0, which was
   20833 generated by GNU Autoconf 2.72.  Invocation command line was
   20834 
   20835   CONFIG_FILES    = $CONFIG_FILES
   20836   CONFIG_HEADERS  = $CONFIG_HEADERS
   20837   CONFIG_LINKS    = $CONFIG_LINKS
   20838   CONFIG_COMMANDS = $CONFIG_COMMANDS
   20839   $ $0 $@
   20840 
   20841 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   20842 "
   20843 
   20844 _ACEOF
   20845 
   20846 case $ac_config_files in *"
   20847 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   20848 esac
   20849 
   20850 case $ac_config_headers in *"
   20851 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   20852 esac
   20853 
   20854 
   20855 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20856 # Files that config.status was made for.
   20857 config_files="$ac_config_files"
   20858 config_headers="$ac_config_headers"
   20859 config_commands="$ac_config_commands"
   20860 
   20861 _ACEOF
   20862 
   20863 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20864 ac_cs_usage="\
   20865 '$as_me' instantiates files and other configuration actions
   20866 from templates according to the current configuration.  Unless the files
   20867 and actions are specified as TAGs, all are instantiated by default.
   20868 
   20869 Usage: $0 [OPTION]... [TAG]...
   20870 
   20871   -h, --help       print this help, then exit
   20872   -V, --version    print version number and configuration settings, then exit
   20873       --config     print configuration, then exit
   20874   -q, --quiet, --silent
   20875                    do not print progress messages
   20876   -d, --debug      don't remove temporary files
   20877       --recheck    update $as_me by reconfiguring in the same conditions
   20878       --file=FILE[:TEMPLATE]
   20879                    instantiate the configuration file FILE
   20880       --header=FILE[:TEMPLATE]
   20881                    instantiate the configuration header FILE
   20882 
   20883 Configuration files:
   20884 $config_files
   20885 
   20886 Configuration headers:
   20887 $config_headers
   20888 
   20889 Configuration commands:
   20890 $config_commands
   20891 
   20892 Report bugs to <https://gitlab.freedesktop.org/xorg/driver/xf86-video-chips/-/issues>."
   20893 
   20894 _ACEOF
   20895 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   20896 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   20897 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20898 ac_cs_config='$ac_cs_config_escaped'
   20899 ac_cs_version="\\
   20900 xf86-video-chips config.status 1.5.0
   20901 configured by $0, generated by GNU Autoconf 2.72,
   20902   with options \\"\$ac_cs_config\\"
   20903 
   20904 Copyright (C) 2023 Free Software Foundation, Inc.
   20905 This config.status script is free software; the Free Software Foundation
   20906 gives unlimited permission to copy, distribute and modify it."
   20907 
   20908 ac_pwd='$ac_pwd'
   20909 srcdir='$srcdir'
   20910 INSTALL='$INSTALL'
   20911 MKDIR_P='$MKDIR_P'
   20912 AWK='$AWK'
   20913 test -n "\$AWK" || AWK=awk
   20914 _ACEOF
   20915 
   20916 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20917 # The default lists apply if the user does not specify any file.
   20918 ac_need_defaults=:
   20919 while test $# != 0
   20920 do
   20921   case $1 in
   20922   --*=?*)
   20923     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20924     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   20925     ac_shift=:
   20926     ;;
   20927   --*=)
   20928     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20929     ac_optarg=
   20930     ac_shift=:
   20931     ;;
   20932   *)
   20933     ac_option=$1
   20934     ac_optarg=$2
   20935     ac_shift=shift
   20936     ;;
   20937   esac
   20938 
   20939   case $ac_option in
   20940   # Handling of the options.
   20941   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   20942     ac_cs_recheck=: ;;
   20943   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   20944     printf "%s\n" "$ac_cs_version"; exit ;;
   20945   --config | --confi | --conf | --con | --co | --c )
   20946     printf "%s\n" "$ac_cs_config"; exit ;;
   20947   --debug | --debu | --deb | --de | --d | -d )
   20948     debug=: ;;
   20949   --file | --fil | --fi | --f )
   20950     $ac_shift
   20951     case $ac_optarg in
   20952     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20953     '') as_fn_error $? "missing file argument" ;;
   20954     esac
   20955     as_fn_append CONFIG_FILES " '$ac_optarg'"
   20956     ac_need_defaults=false;;
   20957   --header | --heade | --head | --hea )
   20958     $ac_shift
   20959     case $ac_optarg in
   20960     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20961     esac
   20962     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   20963     ac_need_defaults=false;;
   20964   --he | --h)
   20965     # Conflict between --help and --header
   20966     as_fn_error $? "ambiguous option: '$1'
   20967 Try '$0 --help' for more information.";;
   20968   --help | --hel | -h )
   20969     printf "%s\n" "$ac_cs_usage"; exit ;;
   20970   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   20971   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   20972     ac_cs_silent=: ;;
   20973 
   20974   # This is an error.
   20975   -*) as_fn_error $? "unrecognized option: '$1'
   20976 Try '$0 --help' for more information." ;;
   20977 
   20978   *) as_fn_append ac_config_targets " $1"
   20979      ac_need_defaults=false ;;
   20980 
   20981   esac
   20982   shift
   20983 done
   20984 
   20985 ac_configure_extra_args=
   20986 
   20987 if $ac_cs_silent; then
   20988   exec 6>/dev/null
   20989   ac_configure_extra_args="$ac_configure_extra_args --silent"
   20990 fi
   20991 
   20992 _ACEOF
   20993 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20994 if \$ac_cs_recheck; then
   20995   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   20996   shift
   20997   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   20998   CONFIG_SHELL='$SHELL'
   20999   export CONFIG_SHELL
   21000   exec "\$@"
   21001 fi
   21002 
   21003 _ACEOF
   21004 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21005 exec 5>>config.log
   21006 {
   21007   echo
   21008   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   21009 ## Running $as_me. ##
   21010 _ASBOX
   21011   printf "%s\n" "$ac_log"
   21012 } >&5
   21013 
   21014 _ACEOF
   21015 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21016 #
   21017 # INIT-COMMANDS
   21018 #
   21019 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   21020 
   21021 
   21022 # The HP-UX ksh and POSIX shell print the target directory to stdout
   21023 # if CDPATH is set.
   21024 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   21025 
   21026 sed_quote_subst='$sed_quote_subst'
   21027 double_quote_subst='$double_quote_subst'
   21028 delay_variable_subst='$delay_variable_subst'
   21029 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   21030 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   21031 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   21032 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   21033 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   21034 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   21035 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   21036 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   21037 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   21038 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   21039 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   21040 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   21041 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   21042 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   21043 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   21044 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   21045 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   21046 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   21047 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   21048 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   21049 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   21050 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   21051 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   21052 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   21053 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   21054 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   21055 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   21056 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   21057 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   21058 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   21059 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   21060 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   21061 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   21062 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   21063 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   21064 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   21065 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   21066 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   21067 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   21068 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   21069 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   21070 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   21071 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   21072 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   21073 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   21074 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   21075 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   21076 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   21077 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21078 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21079 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   21080 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   21081 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   21082 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   21083 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   21084 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   21085 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   21086 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   21087 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   21088 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   21089 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"`'
   21090 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   21091 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   21092 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   21093 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   21094 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   21095 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   21096 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   21097 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   21098 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   21099 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   21100 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   21101 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   21102 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   21103 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   21104 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   21105 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   21106 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   21107 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   21108 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   21109 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   21110 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21111 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   21112 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   21113 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   21114 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   21115 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   21116 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   21117 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21118 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   21119 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21120 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   21121 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21122 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   21123 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21124 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21125 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   21126 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   21127 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   21128 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   21129 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   21130 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21131 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   21132 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   21133 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   21134 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   21135 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   21136 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   21137 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   21138 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   21139 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   21140 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   21141 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   21142 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   21143 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   21144 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   21145 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   21146 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21147 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   21148 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   21149 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   21150 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   21151 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   21152 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21153 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21154 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   21155 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   21156 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   21157 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   21158 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   21159 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   21160 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   21161 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   21162 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   21163 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   21164 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   21165 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   21166 
   21167 LTCC='$LTCC'
   21168 LTCFLAGS='$LTCFLAGS'
   21169 compiler='$compiler_DEFAULT'
   21170 
   21171 # A function that is used when there is no print builtin or printf.
   21172 func_fallback_echo ()
   21173 {
   21174   eval 'cat <<_LTECHO_EOF
   21175 \$1
   21176 _LTECHO_EOF'
   21177 }
   21178 
   21179 # Quote evaled strings.
   21180 for var in SHELL \
   21181 ECHO \
   21182 PATH_SEPARATOR \
   21183 SED \
   21184 GREP \
   21185 EGREP \
   21186 FGREP \
   21187 LD \
   21188 NM \
   21189 LN_S \
   21190 lt_SP2NL \
   21191 lt_NL2SP \
   21192 reload_flag \
   21193 FILECMD \
   21194 OBJDUMP \
   21195 deplibs_check_method \
   21196 file_magic_cmd \
   21197 file_magic_glob \
   21198 want_nocaseglob \
   21199 DLLTOOL \
   21200 sharedlib_from_linklib_cmd \
   21201 AR \
   21202 archiver_list_spec \
   21203 STRIP \
   21204 RANLIB \
   21205 CC \
   21206 CFLAGS \
   21207 compiler \
   21208 lt_cv_sys_global_symbol_pipe \
   21209 lt_cv_sys_global_symbol_to_cdecl \
   21210 lt_cv_sys_global_symbol_to_import \
   21211 lt_cv_sys_global_symbol_to_c_name_address \
   21212 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   21213 lt_cv_nm_interface \
   21214 nm_file_list_spec \
   21215 lt_cv_truncate_bin \
   21216 lt_prog_compiler_no_builtin_flag \
   21217 lt_prog_compiler_pic \
   21218 lt_prog_compiler_wl \
   21219 lt_prog_compiler_static \
   21220 lt_cv_prog_compiler_c_o \
   21221 need_locks \
   21222 MANIFEST_TOOL \
   21223 DSYMUTIL \
   21224 NMEDIT \
   21225 LIPO \
   21226 OTOOL \
   21227 OTOOL64 \
   21228 shrext_cmds \
   21229 export_dynamic_flag_spec \
   21230 whole_archive_flag_spec \
   21231 compiler_needs_object \
   21232 with_gnu_ld \
   21233 allow_undefined_flag \
   21234 no_undefined_flag \
   21235 hardcode_libdir_flag_spec \
   21236 hardcode_libdir_separator \
   21237 exclude_expsyms \
   21238 include_expsyms \
   21239 file_list_spec \
   21240 variables_saved_for_relink \
   21241 libname_spec \
   21242 library_names_spec \
   21243 soname_spec \
   21244 install_override_mode \
   21245 finish_eval \
   21246 old_striplib \
   21247 striplib; do
   21248     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21249     *[\\\\\\\`\\"\\\$]*)
   21250       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21251       ;;
   21252     *)
   21253       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21254       ;;
   21255     esac
   21256 done
   21257 
   21258 # Double-quote double-evaled strings.
   21259 for var in reload_cmds \
   21260 old_postinstall_cmds \
   21261 old_postuninstall_cmds \
   21262 old_archive_cmds \
   21263 extract_expsyms_cmds \
   21264 old_archive_from_new_cmds \
   21265 old_archive_from_expsyms_cmds \
   21266 archive_cmds \
   21267 archive_expsym_cmds \
   21268 module_cmds \
   21269 module_expsym_cmds \
   21270 export_symbols_cmds \
   21271 prelink_cmds \
   21272 postlink_cmds \
   21273 postinstall_cmds \
   21274 postuninstall_cmds \
   21275 finish_cmds \
   21276 sys_lib_search_path_spec \
   21277 configure_time_dlsearch_path \
   21278 configure_time_lt_sys_library_path; do
   21279     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21280     *[\\\\\\\`\\"\\\$]*)
   21281       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21282       ;;
   21283     *)
   21284       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21285       ;;
   21286     esac
   21287 done
   21288 
   21289 ac_aux_dir='$ac_aux_dir'
   21290 
   21291 # See if we are running on zsh, and set the options that allow our
   21292 # commands through without removal of \ escapes INIT.
   21293 if test -n "\${ZSH_VERSION+set}"; then
   21294    setopt NO_GLOB_SUBST
   21295 fi
   21296 
   21297 
   21298     PACKAGE='$PACKAGE'
   21299     VERSION='$VERSION'
   21300     RM='$RM'
   21301     ofile='$ofile'
   21302 
   21303 
   21304 
   21305 
   21306 _ACEOF
   21307 
   21308 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21309 
   21310 # Handling of arguments.
   21311 for ac_config_target in $ac_config_targets
   21312 do
   21313   case $ac_config_target in
   21314     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   21315     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   21316     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   21317     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   21318     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   21319     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   21320     "util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
   21321 
   21322   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   21323   esac
   21324 done
   21325 
   21326 
   21327 # If the user did not use the arguments to specify the items to instantiate,
   21328 # then the envvar interface is used.  Set only those that are not.
   21329 # We use the long form for the default assignment because of an extremely
   21330 # bizarre bug on SunOS 4.1.3.
   21331 if $ac_need_defaults; then
   21332   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   21333   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   21334   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   21335 fi
   21336 
   21337 # Have a temporary directory for convenience.  Make it in the build tree
   21338 # simply because there is no reason against having it here, and in addition,
   21339 # creating and moving files from /tmp can sometimes cause problems.
   21340 # Hook for its removal unless debugging.
   21341 # Note that there is a small window in which the directory will not be cleaned:
   21342 # after its creation but before its name has been assigned to '$tmp'.
   21343 $debug ||
   21344 {
   21345   tmp= ac_tmp=
   21346   trap 'exit_status=$?
   21347   : "${ac_tmp:=$tmp}"
   21348   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   21349 ' 0
   21350   trap 'as_fn_exit 1' 1 2 13 15
   21351 }
   21352 # Create a (secure) tmp directory for tmp files.
   21353 
   21354 {
   21355   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   21356   test -d "$tmp"
   21357 }  ||
   21358 {
   21359   tmp=./conf$$-$RANDOM
   21360   (umask 077 && mkdir "$tmp")
   21361 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   21362 ac_tmp=$tmp
   21363 
   21364 # Set up the scripts for CONFIG_FILES section.
   21365 # No need to generate them if there are no CONFIG_FILES.
   21366 # This happens for instance with './config.status config.h'.
   21367 if test -n "$CONFIG_FILES"; then
   21368 
   21369 
   21370 ac_cr=`echo X | tr X '\015'`
   21371 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   21372 # But we know of no other shell where ac_cr would be empty at this
   21373 # point, so we can use a bashism as a fallback.
   21374 if test "x$ac_cr" = x; then
   21375   eval ac_cr=\$\'\\r\'
   21376 fi
   21377 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   21378 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   21379   ac_cs_awk_cr='\\r'
   21380 else
   21381   ac_cs_awk_cr=$ac_cr
   21382 fi
   21383 
   21384 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   21385 _ACEOF
   21386 
   21387 
   21388 {
   21389   echo "cat >conf$$subs.awk <<_ACEOF" &&
   21390   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   21391   echo "_ACEOF"
   21392 } >conf$$subs.sh ||
   21393   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21394 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   21395 ac_delim='%!_!# '
   21396 for ac_last_try in false false false false false :; do
   21397   . ./conf$$subs.sh ||
   21398     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21399 
   21400   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   21401   if test $ac_delim_n = $ac_delim_num; then
   21402     break
   21403   elif $ac_last_try; then
   21404     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21405   else
   21406     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21407   fi
   21408 done
   21409 rm -f conf$$subs.sh
   21410 
   21411 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21412 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   21413 _ACEOF
   21414 sed -n '
   21415 h
   21416 s/^/S["/; s/!.*/"]=/
   21417 p
   21418 g
   21419 s/^[^!]*!//
   21420 :repl
   21421 t repl
   21422 s/'"$ac_delim"'$//
   21423 t delim
   21424 :nl
   21425 h
   21426 s/\(.\{148\}\)..*/\1/
   21427 t more1
   21428 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   21429 p
   21430 n
   21431 b repl
   21432 :more1
   21433 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21434 p
   21435 g
   21436 s/.\{148\}//
   21437 t nl
   21438 :delim
   21439 h
   21440 s/\(.\{148\}\)..*/\1/
   21441 t more2
   21442 s/["\\]/\\&/g; s/^/"/; s/$/"/
   21443 p
   21444 b
   21445 :more2
   21446 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21447 p
   21448 g
   21449 s/.\{148\}//
   21450 t delim
   21451 ' <conf$$subs.awk | sed '
   21452 /^[^""]/{
   21453   N
   21454   s/\n//
   21455 }
   21456 ' >>$CONFIG_STATUS || ac_write_fail=1
   21457 rm -f conf$$subs.awk
   21458 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21459 _ACAWK
   21460 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   21461   for (key in S) S_is_set[key] = 1
   21462   FS = ""
   21463 
   21464 }
   21465 {
   21466   line = $ 0
   21467   nfields = split(line, field, "@")
   21468   substed = 0
   21469   len = length(field[1])
   21470   for (i = 2; i < nfields; i++) {
   21471     key = field[i]
   21472     keylen = length(key)
   21473     if (S_is_set[key]) {
   21474       value = S[key]
   21475       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   21476       len += length(value) + length(field[++i])
   21477       substed = 1
   21478     } else
   21479       len += 1 + keylen
   21480   }
   21481 
   21482   print line
   21483 }
   21484 
   21485 _ACAWK
   21486 _ACEOF
   21487 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21488 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   21489   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   21490 else
   21491   cat
   21492 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   21493   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   21494 _ACEOF
   21495 
   21496 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   21497 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   21498 # trailing colons and then remove the whole line if VPATH becomes empty
   21499 # (actually we leave an empty line to preserve line numbers).
   21500 if test "x$srcdir" = x.; then
   21501   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   21502 h
   21503 s///
   21504 s/^/:/
   21505 s/[	 ]*$/:/
   21506 s/:\$(srcdir):/:/g
   21507 s/:\${srcdir}:/:/g
   21508 s/:@srcdir@:/:/g
   21509 s/^:*//
   21510 s/:*$//
   21511 x
   21512 s/\(=[	 ]*\).*/\1/
   21513 G
   21514 s/\n//
   21515 s/^[^=]*=[	 ]*$//
   21516 }'
   21517 fi
   21518 
   21519 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21520 fi # test -n "$CONFIG_FILES"
   21521 
   21522 # Set up the scripts for CONFIG_HEADERS section.
   21523 # No need to generate them if there are no CONFIG_HEADERS.
   21524 # This happens for instance with './config.status Makefile'.
   21525 if test -n "$CONFIG_HEADERS"; then
   21526 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   21527 BEGIN {
   21528 _ACEOF
   21529 
   21530 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   21531 # here-document in config.status, that substitutes the proper values into
   21532 # config.h.in to produce config.h.
   21533 
   21534 # Create a delimiter string that does not exist in confdefs.h, to ease
   21535 # handling of long lines.
   21536 ac_delim='%!_!# '
   21537 for ac_last_try in false false :; do
   21538   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   21539   if test -z "$ac_tt"; then
   21540     break
   21541   elif $ac_last_try; then
   21542     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   21543   else
   21544     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21545   fi
   21546 done
   21547 
   21548 # For the awk script, D is an array of macro values keyed by name,
   21549 # likewise P contains macro parameters if any.  Preserve backslash
   21550 # newline sequences.
   21551 
   21552 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   21553 sed -n '
   21554 s/.\{148\}/&'"$ac_delim"'/g
   21555 t rset
   21556 :rset
   21557 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   21558 t def
   21559 d
   21560 :def
   21561 s/\\$//
   21562 t bsnl
   21563 s/["\\]/\\&/g
   21564 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21565 D["\1"]=" \3"/p
   21566 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   21567 d
   21568 :bsnl
   21569 s/["\\]/\\&/g
   21570 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21571 D["\1"]=" \3\\\\\\n"\\/p
   21572 t cont
   21573 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   21574 t cont
   21575 d
   21576 :cont
   21577 n
   21578 s/.\{148\}/&'"$ac_delim"'/g
   21579 t clear
   21580 :clear
   21581 s/\\$//
   21582 t bsnlc
   21583 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   21584 d
   21585 :bsnlc
   21586 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   21587 b cont
   21588 ' <confdefs.h | sed '
   21589 s/'"$ac_delim"'/"\\\
   21590 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   21591 
   21592 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21593   for (key in D) D_is_set[key] = 1
   21594   FS = ""
   21595 }
   21596 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   21597   line = \$ 0
   21598   split(line, arg, " ")
   21599   if (arg[1] == "#") {
   21600     defundef = arg[2]
   21601     mac1 = arg[3]
   21602   } else {
   21603     defundef = substr(arg[1], 2)
   21604     mac1 = arg[2]
   21605   }
   21606   split(mac1, mac2, "(") #)
   21607   macro = mac2[1]
   21608   prefix = substr(line, 1, index(line, defundef) - 1)
   21609   if (D_is_set[macro]) {
   21610     # Preserve the white space surrounding the "#".
   21611     print prefix "define", macro P[macro] D[macro]
   21612     next
   21613   } else {
   21614     # Replace #undef with comments.  This is necessary, for example,
   21615     # in the case of _POSIX_SOURCE, which is predefined and required
   21616     # on some systems where configure will not decide to define it.
   21617     if (defundef == "undef") {
   21618       print "/*", prefix defundef, macro, "*/"
   21619       next
   21620     }
   21621   }
   21622 }
   21623 { print }
   21624 _ACAWK
   21625 _ACEOF
   21626 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21627   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   21628 fi # test -n "$CONFIG_HEADERS"
   21629 
   21630 
   21631 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   21632 shift
   21633 for ac_tag
   21634 do
   21635   case $ac_tag in
   21636   :[FHLC]) ac_mode=$ac_tag; continue;;
   21637   esac
   21638   case $ac_mode$ac_tag in
   21639   :[FHL]*:*);;
   21640   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   21641   :[FH]-) ac_tag=-:-;;
   21642   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   21643   esac
   21644   ac_save_IFS=$IFS
   21645   IFS=:
   21646   set x $ac_tag
   21647   IFS=$ac_save_IFS
   21648   shift
   21649   ac_file=$1
   21650   shift
   21651 
   21652   case $ac_mode in
   21653   :L) ac_source=$1;;
   21654   :[FH])
   21655     ac_file_inputs=
   21656     for ac_f
   21657     do
   21658       case $ac_f in
   21659       -) ac_f="$ac_tmp/stdin";;
   21660       *) # Look for the file first in the build tree, then in the source tree
   21661 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   21662 	 # because $ac_f cannot contain ':'.
   21663 	 test -f "$ac_f" ||
   21664 	   case $ac_f in
   21665 	   [\\/$]*) false;;
   21666 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   21667 	   esac ||
   21668 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   21669       esac
   21670       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   21671       as_fn_append ac_file_inputs " '$ac_f'"
   21672     done
   21673 
   21674     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   21675     # use $as_me), people would be surprised to read:
   21676     #    /* config.h.  Generated by config.status.  */
   21677     configure_input='Generated from '`
   21678 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   21679 	`' by configure.'
   21680     if test x"$ac_file" != x-; then
   21681       configure_input="$ac_file.  $configure_input"
   21682       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   21683 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   21684     fi
   21685     # Neutralize special characters interpreted by sed in replacement strings.
   21686     case $configure_input in #(
   21687     *\&* | *\|* | *\\* )
   21688        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   21689        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   21690     *) ac_sed_conf_input=$configure_input;;
   21691     esac
   21692 
   21693     case $ac_tag in
   21694     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   21695       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   21696     esac
   21697     ;;
   21698   esac
   21699 
   21700   ac_dir=`$as_dirname -- "$ac_file" ||
   21701 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21702 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   21703 	 X"$ac_file" : 'X\(//\)$' \| \
   21704 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   21705 printf "%s\n" X"$ac_file" |
   21706     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21707 	    s//\1/
   21708 	    q
   21709 	  }
   21710 	  /^X\(\/\/\)[^/].*/{
   21711 	    s//\1/
   21712 	    q
   21713 	  }
   21714 	  /^X\(\/\/\)$/{
   21715 	    s//\1/
   21716 	    q
   21717 	  }
   21718 	  /^X\(\/\).*/{
   21719 	    s//\1/
   21720 	    q
   21721 	  }
   21722 	  s/.*/./; q'`
   21723   as_dir="$ac_dir"; as_fn_mkdir_p
   21724   ac_builddir=.
   21725 
   21726 case "$ac_dir" in
   21727 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21728 *)
   21729   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   21730   # A ".." for each directory in $ac_dir_suffix.
   21731   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   21732   case $ac_top_builddir_sub in
   21733   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21734   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   21735   esac ;;
   21736 esac
   21737 ac_abs_top_builddir=$ac_pwd
   21738 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   21739 # for backward compatibility:
   21740 ac_top_builddir=$ac_top_build_prefix
   21741 
   21742 case $srcdir in
   21743   .)  # We are building in place.
   21744     ac_srcdir=.
   21745     ac_top_srcdir=$ac_top_builddir_sub
   21746     ac_abs_top_srcdir=$ac_pwd ;;
   21747   [\\/]* | ?:[\\/]* )  # Absolute name.
   21748     ac_srcdir=$srcdir$ac_dir_suffix;
   21749     ac_top_srcdir=$srcdir
   21750     ac_abs_top_srcdir=$srcdir ;;
   21751   *) # Relative name.
   21752     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   21753     ac_top_srcdir=$ac_top_build_prefix$srcdir
   21754     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   21755 esac
   21756 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   21757 
   21758 
   21759   case $ac_mode in
   21760   :F)
   21761   #
   21762   # CONFIG_FILE
   21763   #
   21764 
   21765   case $INSTALL in
   21766   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   21767   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   21768   esac
   21769   ac_MKDIR_P=$MKDIR_P
   21770   case $MKDIR_P in
   21771   [\\/$]* | ?:[\\/]* ) ;;
   21772   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   21773   esac
   21774 _ACEOF
   21775 
   21776 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21777 # If the template does not know about datarootdir, expand it.
   21778 # FIXME: This hack should be removed a few years after 2.60.
   21779 ac_datarootdir_hack=; ac_datarootdir_seen=
   21780 ac_sed_dataroot='
   21781 /datarootdir/ {
   21782   p
   21783   q
   21784 }
   21785 /@datadir@/p
   21786 /@docdir@/p
   21787 /@infodir@/p
   21788 /@localedir@/p
   21789 /@mandir@/p'
   21790 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   21791 *datarootdir*) ac_datarootdir_seen=yes;;
   21792 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   21793   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   21794 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   21795 _ACEOF
   21796 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21797   ac_datarootdir_hack='
   21798   s&@datadir@&$datadir&g
   21799   s&@docdir@&$docdir&g
   21800   s&@infodir@&$infodir&g
   21801   s&@localedir@&$localedir&g
   21802   s&@mandir@&$mandir&g
   21803   s&\\\${datarootdir}&$datarootdir&g' ;;
   21804 esac
   21805 _ACEOF
   21806 
   21807 # Neutralize VPATH when '$srcdir' = '.'.
   21808 # Shell code in configure.ac might set extrasub.
   21809 # FIXME: do we really want to maintain this feature?
   21810 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21811 ac_sed_extra="$ac_vpsub
   21812 $extrasub
   21813 _ACEOF
   21814 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21815 :t
   21816 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   21817 s|@configure_input@|$ac_sed_conf_input|;t t
   21818 s&@top_builddir@&$ac_top_builddir_sub&;t t
   21819 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   21820 s&@srcdir@&$ac_srcdir&;t t
   21821 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   21822 s&@top_srcdir@&$ac_top_srcdir&;t t
   21823 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   21824 s&@builddir@&$ac_builddir&;t t
   21825 s&@abs_builddir@&$ac_abs_builddir&;t t
   21826 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   21827 s&@INSTALL@&$ac_INSTALL&;t t
   21828 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   21829 $ac_datarootdir_hack
   21830 "
   21831 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   21832   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21833 
   21834 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   21835   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   21836   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   21837       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   21838   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   21839 which seems to be undefined.  Please make sure it is defined" >&5
   21840 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   21841 which seems to be undefined.  Please make sure it is defined" >&2;}
   21842 
   21843   rm -f "$ac_tmp/stdin"
   21844   case $ac_file in
   21845   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   21846   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   21847   esac \
   21848   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21849  ;;
   21850   :H)
   21851   #
   21852   # CONFIG_HEADER
   21853   #
   21854   if test x"$ac_file" != x-; then
   21855     {
   21856       printf "%s\n" "/* $configure_input  */" >&1 \
   21857       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   21858     } >"$ac_tmp/config.h" \
   21859       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21860     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   21861       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   21862 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   21863     else
   21864       rm -f "$ac_file"
   21865       mv "$ac_tmp/config.h" "$ac_file" \
   21866 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21867     fi
   21868   else
   21869     printf "%s\n" "/* $configure_input  */" >&1 \
   21870       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   21871       || as_fn_error $? "could not create -" "$LINENO" 5
   21872   fi
   21873 # Compute "$ac_file"'s index in $config_headers.
   21874 _am_arg="$ac_file"
   21875 _am_stamp_count=1
   21876 for _am_header in $config_headers :; do
   21877   case $_am_header in
   21878     $_am_arg | $_am_arg:* )
   21879       break ;;
   21880     * )
   21881       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   21882   esac
   21883 done
   21884 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   21885 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21886 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   21887 	 X"$_am_arg" : 'X\(//\)$' \| \
   21888 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   21889 printf "%s\n" X"$_am_arg" |
   21890     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21891 	    s//\1/
   21892 	    q
   21893 	  }
   21894 	  /^X\(\/\/\)[^/].*/{
   21895 	    s//\1/
   21896 	    q
   21897 	  }
   21898 	  /^X\(\/\/\)$/{
   21899 	    s//\1/
   21900 	    q
   21901 	  }
   21902 	  /^X\(\/\).*/{
   21903 	    s//\1/
   21904 	    q
   21905 	  }
   21906 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   21907  ;;
   21908 
   21909   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   21910 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   21911  ;;
   21912   esac
   21913 
   21914 
   21915   case $ac_file$ac_mode in
   21916     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   21917   # Older Autoconf quotes --file arguments for eval, but not when files
   21918   # are listed without --file.  Let's play safe and only enable the eval
   21919   # if we detect the quoting.
   21920   # TODO: see whether this extra hack can be removed once we start
   21921   # requiring Autoconf 2.70 or later.
   21922   case $CONFIG_FILES in #(
   21923   *\'*) :
   21924     eval set x "$CONFIG_FILES" ;; #(
   21925   *) :
   21926     set x $CONFIG_FILES ;; #(
   21927   *) :
   21928      ;;
   21929 esac
   21930   shift
   21931   # Used to flag and report bootstrapping failures.
   21932   am_rc=0
   21933   for am_mf
   21934   do
   21935     # Strip MF so we end up with the name of the file.
   21936     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   21937     # Check whether this is an Automake generated Makefile which includes
   21938     # dependency-tracking related rules and includes.
   21939     # Grep'ing the whole file directly is not great: AIX grep has a line
   21940     # limit of 2048, but all sed's we know have understand at least 4000.
   21941     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   21942       || continue
   21943     am_dirpart=`$as_dirname -- "$am_mf" ||
   21944 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21945 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   21946 	 X"$am_mf" : 'X\(//\)$' \| \
   21947 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   21948 printf "%s\n" X"$am_mf" |
   21949     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21950 	    s//\1/
   21951 	    q
   21952 	  }
   21953 	  /^X\(\/\/\)[^/].*/{
   21954 	    s//\1/
   21955 	    q
   21956 	  }
   21957 	  /^X\(\/\/\)$/{
   21958 	    s//\1/
   21959 	    q
   21960 	  }
   21961 	  /^X\(\/\).*/{
   21962 	    s//\1/
   21963 	    q
   21964 	  }
   21965 	  s/.*/./; q'`
   21966     am_filepart=`$as_basename -- "$am_mf" ||
   21967 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   21968 	 X"$am_mf" : 'X\(//\)$' \| \
   21969 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   21970 printf "%s\n" X/"$am_mf" |
   21971     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21972 	    s//\1/
   21973 	    q
   21974 	  }
   21975 	  /^X\/\(\/\/\)$/{
   21976 	    s//\1/
   21977 	    q
   21978 	  }
   21979 	  /^X\/\(\/\).*/{
   21980 	    s//\1/
   21981 	    q
   21982 	  }
   21983 	  s/.*/./; q'`
   21984     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   21985       && sed -e '/# am--include-marker/d' "$am_filepart" \
   21986         | $MAKE -f - am--depfiles" >&5
   21987    (cd "$am_dirpart" \
   21988       && sed -e '/# am--include-marker/d' "$am_filepart" \
   21989         | $MAKE -f - am--depfiles) >&5 2>&5
   21990    ac_status=$?
   21991    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21992    (exit $ac_status); } || am_rc=$?
   21993   done
   21994   if test $am_rc -ne 0; then
   21995     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   21996 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   21997 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   21998     for automatic dependency tracking.  If GNU make was not used, consider
   21999     re-running the configure script with MAKE=\"gmake\" (or whatever is
   22000     necessary).  You can also try re-running configure with the
   22001     '--disable-dependency-tracking' option to at least be able to build
   22002     the package (albeit without support for automatic dependency tracking).
   22003 See 'config.log' for more details" "$LINENO" 5; }
   22004   fi
   22005   { am_dirpart=; unset am_dirpart;}
   22006   { am_filepart=; unset am_filepart;}
   22007   { am_mf=; unset am_mf;}
   22008   { am_rc=; unset am_rc;}
   22009   rm -f conftest-deps.mk
   22010 }
   22011  ;;
   22012     "libtool":C)
   22013 
   22014     # See if we are running on zsh, and set the options that allow our
   22015     # commands through without removal of \ escapes.
   22016     if test -n "${ZSH_VERSION+set}"; then
   22017       setopt NO_GLOB_SUBST
   22018     fi
   22019 
   22020     cfgfile=${ofile}T
   22021     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   22022     $RM "$cfgfile"
   22023 
   22024     cat <<_LT_EOF >> "$cfgfile"
   22025 #! $SHELL
   22026 # Generated automatically by $as_me ($PACKAGE) $VERSION
   22027 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   22028 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   22029 
   22030 # Provide generalized library-building support services.
   22031 # Written by Gordon Matzigkeit, 1996
   22032 
   22033 # Copyright (C) 2014 Free Software Foundation, Inc.
   22034 # This is free software; see the source for copying conditions.  There is NO
   22035 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   22036 
   22037 # GNU Libtool is free software; you can redistribute it and/or modify
   22038 # it under the terms of the GNU General Public License as published by
   22039 # the Free Software Foundation; either version 2 of of the License, or
   22040 # (at your option) any later version.
   22041 #
   22042 # As a special exception to the GNU General Public License, if you
   22043 # distribute this file as part of a program or library that is built
   22044 # using GNU Libtool, you may include this file under the  same
   22045 # distribution terms that you use for the rest of that program.
   22046 #
   22047 # GNU Libtool is distributed in the hope that it will be useful, but
   22048 # WITHOUT ANY WARRANTY; without even the implied warranty of
   22049 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   22050 # GNU General Public License for more details.
   22051 #
   22052 # You should have received a copy of the GNU General Public License
   22053 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   22054 
   22055 
   22056 # The names of the tagged configurations supported by this script.
   22057 available_tags=''
   22058 
   22059 # Configured defaults for sys_lib_dlsearch_path munging.
   22060 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   22061 
   22062 # ### BEGIN LIBTOOL CONFIG
   22063 
   22064 # Which release of libtool.m4 was used?
   22065 macro_version=$macro_version
   22066 macro_revision=$macro_revision
   22067 
   22068 # Whether or not to build static libraries.
   22069 build_old_libs=$enable_static
   22070 
   22071 # Whether or not to build shared libraries.
   22072 build_libtool_libs=$enable_shared
   22073 
   22074 # What type of objects to build.
   22075 pic_mode=$pic_mode
   22076 
   22077 # Whether or not to optimize for fast installation.
   22078 fast_install=$enable_fast_install
   22079 
   22080 # Shared archive member basename,for filename based shared library versioning on AIX.
   22081 shared_archive_member_spec=$shared_archive_member_spec
   22082 
   22083 # Shell to use when invoking shell scripts.
   22084 SHELL=$lt_SHELL
   22085 
   22086 # An echo program that protects backslashes.
   22087 ECHO=$lt_ECHO
   22088 
   22089 # The PATH separator for the build system.
   22090 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   22091 
   22092 # The host system.
   22093 host_alias=$host_alias
   22094 host=$host
   22095 host_os=$host_os
   22096 
   22097 # The build system.
   22098 build_alias=$build_alias
   22099 build=$build
   22100 build_os=$build_os
   22101 
   22102 # A sed program that does not truncate output.
   22103 SED=$lt_SED
   22104 
   22105 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   22106 Xsed="\$SED -e 1s/^X//"
   22107 
   22108 # A grep program that handles long lines.
   22109 GREP=$lt_GREP
   22110 
   22111 # An ERE matcher.
   22112 EGREP=$lt_EGREP
   22113 
   22114 # A literal string matcher.
   22115 FGREP=$lt_FGREP
   22116 
   22117 # A BSD- or MS-compatible name lister.
   22118 NM=$lt_NM
   22119 
   22120 # Whether we need soft or hard links.
   22121 LN_S=$lt_LN_S
   22122 
   22123 # What is the maximum length of a command?
   22124 max_cmd_len=$max_cmd_len
   22125 
   22126 # Object file suffix (normally "o").
   22127 objext=$ac_objext
   22128 
   22129 # Executable file suffix (normally "").
   22130 exeext=$exeext
   22131 
   22132 # whether the shell understands "unset".
   22133 lt_unset=$lt_unset
   22134 
   22135 # turn spaces into newlines.
   22136 SP2NL=$lt_lt_SP2NL
   22137 
   22138 # turn newlines into spaces.
   22139 NL2SP=$lt_lt_NL2SP
   22140 
   22141 # convert \$build file names to \$host format.
   22142 to_host_file_cmd=$lt_cv_to_host_file_cmd
   22143 
   22144 # convert \$build files to toolchain format.
   22145 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   22146 
   22147 # A file(cmd) program that detects file types.
   22148 FILECMD=$lt_FILECMD
   22149 
   22150 # An object symbol dumper.
   22151 OBJDUMP=$lt_OBJDUMP
   22152 
   22153 # Method to check whether dependent libraries are shared objects.
   22154 deplibs_check_method=$lt_deplibs_check_method
   22155 
   22156 # Command to use when deplibs_check_method = "file_magic".
   22157 file_magic_cmd=$lt_file_magic_cmd
   22158 
   22159 # How to find potential files when deplibs_check_method = "file_magic".
   22160 file_magic_glob=$lt_file_magic_glob
   22161 
   22162 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   22163 want_nocaseglob=$lt_want_nocaseglob
   22164 
   22165 # DLL creation program.
   22166 DLLTOOL=$lt_DLLTOOL
   22167 
   22168 # Command to associate shared and link libraries.
   22169 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   22170 
   22171 # The archiver.
   22172 AR=$lt_AR
   22173 
   22174 # Flags to create an archive (by configure).
   22175 lt_ar_flags=$lt_ar_flags
   22176 
   22177 # Flags to create an archive.
   22178 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   22179 
   22180 # How to feed a file listing to the archiver.
   22181 archiver_list_spec=$lt_archiver_list_spec
   22182 
   22183 # A symbol stripping program.
   22184 STRIP=$lt_STRIP
   22185 
   22186 # Commands used to install an old-style archive.
   22187 RANLIB=$lt_RANLIB
   22188 old_postinstall_cmds=$lt_old_postinstall_cmds
   22189 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   22190 
   22191 # Whether to use a lock for old archive extraction.
   22192 lock_old_archive_extraction=$lock_old_archive_extraction
   22193 
   22194 # A C compiler.
   22195 LTCC=$lt_CC
   22196 
   22197 # LTCC compiler flags.
   22198 LTCFLAGS=$lt_CFLAGS
   22199 
   22200 # Take the output of nm and produce a listing of raw symbols and C names.
   22201 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   22202 
   22203 # Transform the output of nm in a proper C declaration.
   22204 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   22205 
   22206 # Transform the output of nm into a list of symbols to manually relocate.
   22207 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   22208 
   22209 # Transform the output of nm in a C name address pair.
   22210 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   22211 
   22212 # Transform the output of nm in a C name address pair when lib prefix is needed.
   22213 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   22214 
   22215 # The name lister interface.
   22216 nm_interface=$lt_lt_cv_nm_interface
   22217 
   22218 # Specify filename containing input files for \$NM.
   22219 nm_file_list_spec=$lt_nm_file_list_spec
   22220 
   22221 # The root where to search for dependent libraries,and where our libraries should be installed.
   22222 lt_sysroot=$lt_sysroot
   22223 
   22224 # Command to truncate a binary pipe.
   22225 lt_truncate_bin=$lt_lt_cv_truncate_bin
   22226 
   22227 # The name of the directory that contains temporary libtool files.
   22228 objdir=$objdir
   22229 
   22230 # Used to examine libraries when file_magic_cmd begins with "file".
   22231 MAGIC_CMD=$MAGIC_CMD
   22232 
   22233 # Must we lock files when doing compilation?
   22234 need_locks=$lt_need_locks
   22235 
   22236 # Manifest tool.
   22237 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   22238 
   22239 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   22240 DSYMUTIL=$lt_DSYMUTIL
   22241 
   22242 # Tool to change global to local symbols on Mac OS X.
   22243 NMEDIT=$lt_NMEDIT
   22244 
   22245 # Tool to manipulate fat objects and archives on Mac OS X.
   22246 LIPO=$lt_LIPO
   22247 
   22248 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   22249 OTOOL=$lt_OTOOL
   22250 
   22251 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   22252 OTOOL64=$lt_OTOOL64
   22253 
   22254 # Old archive suffix (normally "a").
   22255 libext=$libext
   22256 
   22257 # Shared library suffix (normally ".so").
   22258 shrext_cmds=$lt_shrext_cmds
   22259 
   22260 # The commands to extract the exported symbol list from a shared archive.
   22261 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   22262 
   22263 # Variables whose values should be saved in libtool wrapper scripts and
   22264 # restored at link time.
   22265 variables_saved_for_relink=$lt_variables_saved_for_relink
   22266 
   22267 # Do we need the "lib" prefix for modules?
   22268 need_lib_prefix=$need_lib_prefix
   22269 
   22270 # Do we need a version for libraries?
   22271 need_version=$need_version
   22272 
   22273 # Library versioning type.
   22274 version_type=$version_type
   22275 
   22276 # Shared library runtime path variable.
   22277 runpath_var=$runpath_var
   22278 
   22279 # Shared library path variable.
   22280 shlibpath_var=$shlibpath_var
   22281 
   22282 # Is shlibpath searched before the hard-coded library search path?
   22283 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   22284 
   22285 # Format of library name prefix.
   22286 libname_spec=$lt_libname_spec
   22287 
   22288 # List of archive names.  First name is the real one, the rest are links.
   22289 # The last name is the one that the linker finds with -lNAME
   22290 library_names_spec=$lt_library_names_spec
   22291 
   22292 # The coded name of the library, if different from the real name.
   22293 soname_spec=$lt_soname_spec
   22294 
   22295 # Permission mode override for installation of shared libraries.
   22296 install_override_mode=$lt_install_override_mode
   22297 
   22298 # Command to use after installation of a shared archive.
   22299 postinstall_cmds=$lt_postinstall_cmds
   22300 
   22301 # Command to use after uninstallation of a shared archive.
   22302 postuninstall_cmds=$lt_postuninstall_cmds
   22303 
   22304 # Commands used to finish a libtool library installation in a directory.
   22305 finish_cmds=$lt_finish_cmds
   22306 
   22307 # As "finish_cmds", except a single script fragment to be evaled but
   22308 # not shown.
   22309 finish_eval=$lt_finish_eval
   22310 
   22311 # Whether we should hardcode library paths into libraries.
   22312 hardcode_into_libs=$hardcode_into_libs
   22313 
   22314 # Compile-time system search path for libraries.
   22315 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   22316 
   22317 # Detected run-time system search path for libraries.
   22318 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   22319 
   22320 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   22321 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   22322 
   22323 # Whether dlopen is supported.
   22324 dlopen_support=$enable_dlopen
   22325 
   22326 # Whether dlopen of programs is supported.
   22327 dlopen_self=$enable_dlopen_self
   22328 
   22329 # Whether dlopen of statically linked programs is supported.
   22330 dlopen_self_static=$enable_dlopen_self_static
   22331 
   22332 # Commands to strip libraries.
   22333 old_striplib=$lt_old_striplib
   22334 striplib=$lt_striplib
   22335 
   22336 
   22337 # The linker used to build libraries.
   22338 LD=$lt_LD
   22339 
   22340 # How to create reloadable object files.
   22341 reload_flag=$lt_reload_flag
   22342 reload_cmds=$lt_reload_cmds
   22343 
   22344 # Commands used to build an old-style archive.
   22345 old_archive_cmds=$lt_old_archive_cmds
   22346 
   22347 # A language specific compiler.
   22348 CC=$lt_compiler
   22349 
   22350 # Is the compiler the GNU compiler?
   22351 with_gcc=$GCC
   22352 
   22353 # Compiler flag to turn off builtin functions.
   22354 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   22355 
   22356 # Additional compiler flags for building library objects.
   22357 pic_flag=$lt_lt_prog_compiler_pic
   22358 
   22359 # How to pass a linker flag through the compiler.
   22360 wl=$lt_lt_prog_compiler_wl
   22361 
   22362 # Compiler flag to prevent dynamic linking.
   22363 link_static_flag=$lt_lt_prog_compiler_static
   22364 
   22365 # Does compiler simultaneously support -c and -o options?
   22366 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   22367 
   22368 # Whether or not to add -lc for building shared libraries.
   22369 build_libtool_need_lc=$archive_cmds_need_lc
   22370 
   22371 # Whether or not to disallow shared libs when runtime libs are static.
   22372 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   22373 
   22374 # Compiler flag to allow reflexive dlopens.
   22375 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   22376 
   22377 # Compiler flag to generate shared objects directly from archives.
   22378 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   22379 
   22380 # Whether the compiler copes with passing no objects directly.
   22381 compiler_needs_object=$lt_compiler_needs_object
   22382 
   22383 # Create an old-style archive from a shared archive.
   22384 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   22385 
   22386 # Create a temporary old-style archive to link instead of a shared archive.
   22387 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   22388 
   22389 # Commands used to build a shared archive.
   22390 archive_cmds=$lt_archive_cmds
   22391 archive_expsym_cmds=$lt_archive_expsym_cmds
   22392 
   22393 # Commands used to build a loadable module if different from building
   22394 # a shared archive.
   22395 module_cmds=$lt_module_cmds
   22396 module_expsym_cmds=$lt_module_expsym_cmds
   22397 
   22398 # Whether we are building with GNU ld or not.
   22399 with_gnu_ld=$lt_with_gnu_ld
   22400 
   22401 # Flag that allows shared libraries with undefined symbols to be built.
   22402 allow_undefined_flag=$lt_allow_undefined_flag
   22403 
   22404 # Flag that enforces no undefined symbols.
   22405 no_undefined_flag=$lt_no_undefined_flag
   22406 
   22407 # Flag to hardcode \$libdir into a binary during linking.
   22408 # This must work even if \$libdir does not exist
   22409 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   22410 
   22411 # Whether we need a single "-rpath" flag with a separated argument.
   22412 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   22413 
   22414 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22415 # DIR into the resulting binary.
   22416 hardcode_direct=$hardcode_direct
   22417 
   22418 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22419 # DIR into the resulting binary and the resulting library dependency is
   22420 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   22421 # library is relocated.
   22422 hardcode_direct_absolute=$hardcode_direct_absolute
   22423 
   22424 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   22425 # into the resulting binary.
   22426 hardcode_minus_L=$hardcode_minus_L
   22427 
   22428 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   22429 # into the resulting binary.
   22430 hardcode_shlibpath_var=$hardcode_shlibpath_var
   22431 
   22432 # Set to "yes" if building a shared library automatically hardcodes DIR
   22433 # into the library and all subsequent libraries and executables linked
   22434 # against it.
   22435 hardcode_automatic=$hardcode_automatic
   22436 
   22437 # Set to yes if linker adds runtime paths of dependent libraries
   22438 # to runtime path list.
   22439 inherit_rpath=$inherit_rpath
   22440 
   22441 # Whether libtool must link a program against all its dependency libraries.
   22442 link_all_deplibs=$link_all_deplibs
   22443 
   22444 # Set to "yes" if exported symbols are required.
   22445 always_export_symbols=$always_export_symbols
   22446 
   22447 # The commands to list exported symbols.
   22448 export_symbols_cmds=$lt_export_symbols_cmds
   22449 
   22450 # Symbols that should not be listed in the preloaded symbols.
   22451 exclude_expsyms=$lt_exclude_expsyms
   22452 
   22453 # Symbols that must always be exported.
   22454 include_expsyms=$lt_include_expsyms
   22455 
   22456 # Commands necessary for linking programs (against libraries) with templates.
   22457 prelink_cmds=$lt_prelink_cmds
   22458 
   22459 # Commands necessary for finishing linking programs.
   22460 postlink_cmds=$lt_postlink_cmds
   22461 
   22462 # Specify filename containing input files.
   22463 file_list_spec=$lt_file_list_spec
   22464 
   22465 # How to hardcode a shared library path into an executable.
   22466 hardcode_action=$hardcode_action
   22467 
   22468 # ### END LIBTOOL CONFIG
   22469 
   22470 _LT_EOF
   22471 
   22472     cat <<'_LT_EOF' >> "$cfgfile"
   22473 
   22474 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   22475 
   22476 # func_munge_path_list VARIABLE PATH
   22477 # -----------------------------------
   22478 # VARIABLE is name of variable containing _space_ separated list of
   22479 # directories to be munged by the contents of PATH, which is string
   22480 # having a format:
   22481 # "DIR[:DIR]:"
   22482 #       string "DIR[ DIR]" will be prepended to VARIABLE
   22483 # ":DIR[:DIR]"
   22484 #       string "DIR[ DIR]" will be appended to VARIABLE
   22485 # "DIRP[:DIRP]::[DIRA:]DIRA"
   22486 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   22487 #       "DIRA[ DIRA]" will be appended to VARIABLE
   22488 # "DIR[:DIR]"
   22489 #       VARIABLE will be replaced by "DIR[ DIR]"
   22490 func_munge_path_list ()
   22491 {
   22492     case x$2 in
   22493     x)
   22494         ;;
   22495     *:)
   22496         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   22497         ;;
   22498     x:*)
   22499         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   22500         ;;
   22501     *::*)
   22502         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   22503         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   22504         ;;
   22505     *)
   22506         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   22507         ;;
   22508     esac
   22509 }
   22510 
   22511 
   22512 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   22513 func_cc_basename ()
   22514 {
   22515     for cc_temp in $*""; do
   22516       case $cc_temp in
   22517         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   22518         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   22519         \-*) ;;
   22520         *) break;;
   22521       esac
   22522     done
   22523     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   22524 }
   22525 
   22526 
   22527 # ### END FUNCTIONS SHARED WITH CONFIGURE
   22528 
   22529 _LT_EOF
   22530 
   22531   case $host_os in
   22532   aix3*)
   22533     cat <<\_LT_EOF >> "$cfgfile"
   22534 # AIX sometimes has problems with the GCC collect2 program.  For some
   22535 # reason, if we set the COLLECT_NAMES environment variable, the problems
   22536 # vanish in a puff of smoke.
   22537 if test set != "${COLLECT_NAMES+set}"; then
   22538   COLLECT_NAMES=
   22539   export COLLECT_NAMES
   22540 fi
   22541 _LT_EOF
   22542     ;;
   22543   esac
   22544 
   22545 
   22546 
   22547 ltmain=$ac_aux_dir/ltmain.sh
   22548 
   22549 
   22550   # We use sed instead of cat because bash on DJGPP gets confused if
   22551   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   22552   # text mode, it properly converts lines to CR/LF.  This bash problem
   22553   # is reportedly fixed, but why not run on old versions too?
   22554   $SED '$q' "$ltmain" >> "$cfgfile" \
   22555      || (rm -f "$cfgfile"; exit 1)
   22556 
   22557    mv -f "$cfgfile" "$ofile" ||
   22558     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   22559   chmod +x "$ofile"
   22560 
   22561  ;;
   22562 
   22563   esac
   22564 done # for ac_tag
   22565 
   22566 
   22567 as_fn_exit 0
   22568 _ACEOF
   22569 ac_clean_files=$ac_clean_files_save
   22570 
   22571 test $ac_write_fail = 0 ||
   22572   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   22573 
   22574 
   22575 # configure is writing to config.log, and then calls config.status.
   22576 # config.status does its own redirection, appending to config.log.
   22577 # Unfortunately, on DOS this fails, as config.log is still kept open
   22578 # by configure, so config.status won't be able to write to it; its
   22579 # output is simply discarded.  So we exec the FD to /dev/null,
   22580 # effectively closing config.log, so it can be properly (re)opened and
   22581 # appended to by config.status.  When coming back to configure, we
   22582 # need to make the FD available again.
   22583 if test "$no_create" != yes; then
   22584   ac_cs_success=:
   22585   ac_config_status_args=
   22586   test "$silent" = yes &&
   22587     ac_config_status_args="$ac_config_status_args --quiet"
   22588   exec 5>/dev/null
   22589   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   22590   exec 5>>config.log
   22591   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   22592   # would make configure fail if this is the last instruction.
   22593   $ac_cs_success || as_fn_exit 1
   22594 fi
   22595 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   22596   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   22597 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   22598 fi
   22599 
   22600 
   22601