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-savage 2.4.1.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/driver/xf86-video-savage/-/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-savage/-/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-savage'
    617 PACKAGE_TARNAME='xf86-video-savage'
    618 PACKAGE_VERSION='2.4.1'
    619 PACKAGE_STRING='xf86-video-savage 2.4.1'
    620 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/driver/xf86-video-savage/-/issues'
    621 PACKAGE_URL=''
    622 
    623 ac_unique_file="Makefile.am"
    624 # Factoring default headers for most tests.
    625 ac_includes_default="\
    626 #include <stddef.h>
    627 #ifdef HAVE_STDIO_H
    628 # include <stdio.h>
    629 #endif
    630 #ifdef HAVE_STDLIB_H
    631 # include <stdlib.h>
    632 #endif
    633 #ifdef HAVE_STRING_H
    634 # include <string.h>
    635 #endif
    636 #ifdef HAVE_INTTYPES_H
    637 # include <inttypes.h>
    638 #endif
    639 #ifdef HAVE_STDINT_H
    640 # include <stdint.h>
    641 #endif
    642 #ifdef HAVE_STRINGS_H
    643 # include <strings.h>
    644 #endif
    645 #ifdef HAVE_SYS_TYPES_H
    646 # include <sys/types.h>
    647 #endif
    648 #ifdef HAVE_SYS_STAT_H
    649 # include <sys/stat.h>
    650 #endif
    651 #ifdef HAVE_UNISTD_H
    652 # include <unistd.h>
    653 #endif"
    654 
    655 ac_header_c_list=
    656 ac_subst_vars='am__EXEEXT_FALSE
    657 am__EXEEXT_TRUE
    658 LTLIBOBJS
    659 LIBOBJS
    660 DRIVER_NAME
    661 moduledir
    662 XSERVER_LIBPCIACCESS_FALSE
    663 XSERVER_LIBPCIACCESS_TRUE
    664 PCIACCESS_LIBS
    665 PCIACCESS_CFLAGS
    666 XAA_FALSE
    667 XAA_TRUE
    668 DRI_LIBS
    669 DRI_CFLAGS
    670 DRI_FALSE
    671 DRI_TRUE
    672 HAVE_XEXTPROTO_71_FALSE
    673 HAVE_XEXTPROTO_71_TRUE
    674 XEXT_LIBS
    675 XEXT_CFLAGS
    676 XORG_LIBS
    677 XORG_CFLAGS
    678 LT_SYS_LIBRARY_PATH
    679 OTOOL64
    680 OTOOL
    681 LIPO
    682 NMEDIT
    683 DSYMUTIL
    684 MANIFEST_TOOL
    685 RANLIB
    686 ac_ct_AR
    687 AR
    688 DLLTOOL
    689 OBJDUMP
    690 FILECMD
    691 LN_S
    692 NM
    693 ac_ct_DUMPBIN
    694 DUMPBIN
    695 LD
    696 FGREP
    697 EGREP
    698 GREP
    699 LIBTOOL
    700 MAN_SUBSTS
    701 XORG_MAN_PAGE
    702 ADMIN_MAN_DIR
    703 DRIVER_MAN_DIR
    704 MISC_MAN_DIR
    705 FILE_MAN_DIR
    706 LIB_MAN_DIR
    707 APP_MAN_DIR
    708 ADMIN_MAN_SUFFIX
    709 DRIVER_MAN_SUFFIX
    710 MISC_MAN_SUFFIX
    711 FILE_MAN_SUFFIX
    712 LIB_MAN_SUFFIX
    713 APP_MAN_SUFFIX
    714 SED
    715 host_os
    716 host_vendor
    717 host_cpu
    718 host
    719 build_os
    720 build_vendor
    721 build_cpu
    722 build
    723 INSTALL_CMD
    724 PKG_CONFIG_LIBDIR
    725 PKG_CONFIG_PATH
    726 PKG_CONFIG
    727 CHANGELOG_CMD
    728 STRICT_CFLAGS
    729 CWARNFLAGS
    730 BASE_CFLAGS
    731 am__fastdepCC_FALSE
    732 am__fastdepCC_TRUE
    733 CCDEPMODE
    734 am__nodep
    735 AMDEPBACKSLASH
    736 AMDEP_FALSE
    737 AMDEP_TRUE
    738 am__include
    739 DEPDIR
    740 OBJEXT
    741 EXEEXT
    742 ac_ct_CC
    743 CPPFLAGS
    744 LDFLAGS
    745 CFLAGS
    746 CC
    747 AM_BACKSLASH
    748 AM_DEFAULT_VERBOSITY
    749 AM_DEFAULT_V
    750 AM_V
    751 CSCOPE
    752 ETAGS
    753 CTAGS
    754 am__untar
    755 am__tar
    756 AMTAR
    757 am__leading_dot
    758 SET_MAKE
    759 AWK
    760 mkdir_p
    761 MKDIR_P
    762 INSTALL_STRIP_PROGRAM
    763 STRIP
    764 install_sh
    765 MAKEINFO
    766 AUTOHEADER
    767 AUTOMAKE
    768 AUTOCONF
    769 ACLOCAL
    770 VERSION
    771 PACKAGE
    772 CYGPATH_W
    773 am__isrc
    774 INSTALL_DATA
    775 INSTALL_SCRIPT
    776 INSTALL_PROGRAM
    777 target_alias
    778 host_alias
    779 build_alias
    780 LIBS
    781 ECHO_T
    782 ECHO_N
    783 ECHO_C
    784 DEFS
    785 mandir
    786 localedir
    787 libdir
    788 psdir
    789 pdfdir
    790 dvidir
    791 htmldir
    792 infodir
    793 docdir
    794 oldincludedir
    795 includedir
    796 runstatedir
    797 localstatedir
    798 sharedstatedir
    799 sysconfdir
    800 datadir
    801 datarootdir
    802 libexecdir
    803 sbindir
    804 bindir
    805 program_transform_name
    806 prefix
    807 exec_prefix
    808 PACKAGE_URL
    809 PACKAGE_BUGREPORT
    810 PACKAGE_STRING
    811 PACKAGE_VERSION
    812 PACKAGE_TARNAME
    813 PACKAGE_NAME
    814 PATH_SEPARATOR
    815 SHELL
    816 am__quote'
    817 ac_subst_files=''
    818 ac_user_opts='
    819 enable_option_checking
    820 enable_silent_rules
    821 enable_dependency_tracking
    822 enable_selective_werror
    823 enable_strict_compilation
    824 enable_static
    825 enable_shared
    826 with_pic
    827 enable_fast_install
    828 with_aix_soname
    829 with_gnu_ld
    830 with_sysroot
    831 enable_libtool_lock
    832 with_xorg_module_dir
    833 enable_dri
    834 enable_xaa
    835 '
    836       ac_precious_vars='build_alias
    837 host_alias
    838 target_alias
    839 CC
    840 CFLAGS
    841 LDFLAGS
    842 LIBS
    843 CPPFLAGS
    844 PKG_CONFIG
    845 PKG_CONFIG_PATH
    846 PKG_CONFIG_LIBDIR
    847 LT_SYS_LIBRARY_PATH
    848 XORG_CFLAGS
    849 XORG_LIBS
    850 XEXT_CFLAGS
    851 XEXT_LIBS
    852 DRI_CFLAGS
    853 DRI_LIBS
    854 PCIACCESS_CFLAGS
    855 PCIACCESS_LIBS'
    856 
    857 
    858 # Initialize some variables set by options.
    859 ac_init_help=
    860 ac_init_version=false
    861 ac_unrecognized_opts=
    862 ac_unrecognized_sep=
    863 # The variables have the same names as the options, with
    864 # dashes changed to underlines.
    865 cache_file=/dev/null
    866 exec_prefix=NONE
    867 no_create=
    868 no_recursion=
    869 prefix=NONE
    870 program_prefix=NONE
    871 program_suffix=NONE
    872 program_transform_name=s,x,x,
    873 silent=
    874 site=
    875 srcdir=
    876 verbose=
    877 x_includes=NONE
    878 x_libraries=NONE
    879 
    880 # Installation directory options.
    881 # These are left unexpanded so users can "make install exec_prefix=/foo"
    882 # and all the variables that are supposed to be based on exec_prefix
    883 # by default will actually change.
    884 # Use braces instead of parens because sh, perl, etc. also accept them.
    885 # (The list follows the same order as the GNU Coding Standards.)
    886 bindir='${exec_prefix}/bin'
    887 sbindir='${exec_prefix}/sbin'
    888 libexecdir='${exec_prefix}/libexec'
    889 datarootdir='${prefix}/share'
    890 datadir='${datarootdir}'
    891 sysconfdir='${prefix}/etc'
    892 sharedstatedir='${prefix}/com'
    893 localstatedir='${prefix}/var'
    894 runstatedir='${localstatedir}/run'
    895 includedir='${prefix}/include'
    896 oldincludedir='/usr/include'
    897 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    898 infodir='${datarootdir}/info'
    899 htmldir='${docdir}'
    900 dvidir='${docdir}'
    901 pdfdir='${docdir}'
    902 psdir='${docdir}'
    903 libdir='${exec_prefix}/lib'
    904 localedir='${datarootdir}/locale'
    905 mandir='${datarootdir}/man'
    906 
    907 ac_prev=
    908 ac_dashdash=
    909 for ac_option
    910 do
    911   # If the previous option needs an argument, assign it.
    912   if test -n "$ac_prev"; then
    913     eval $ac_prev=\$ac_option
    914     ac_prev=
    915     continue
    916   fi
    917 
    918   case $ac_option in
    919   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    920   *=)   ac_optarg= ;;
    921   *)    ac_optarg=yes ;;
    922   esac
    923 
    924   case $ac_dashdash$ac_option in
    925   --)
    926     ac_dashdash=yes ;;
    927 
    928   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    929     ac_prev=bindir ;;
    930   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    931     bindir=$ac_optarg ;;
    932 
    933   -build | --build | --buil | --bui | --bu)
    934     ac_prev=build_alias ;;
    935   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    936     build_alias=$ac_optarg ;;
    937 
    938   -cache-file | --cache-file | --cache-fil | --cache-fi \
    939   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    940     ac_prev=cache_file ;;
    941   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    942   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    943     cache_file=$ac_optarg ;;
    944 
    945   --config-cache | -C)
    946     cache_file=config.cache ;;
    947 
    948   -datadir | --datadir | --datadi | --datad)
    949     ac_prev=datadir ;;
    950   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    951     datadir=$ac_optarg ;;
    952 
    953   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    954   | --dataroo | --dataro | --datar)
    955     ac_prev=datarootdir ;;
    956   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    957   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    958     datarootdir=$ac_optarg ;;
    959 
    960   -disable-* | --disable-*)
    961     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    962     # Reject names that are not valid shell variable names.
    963     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    964       as_fn_error $? "invalid feature name: '$ac_useropt'"
    965     ac_useropt_orig=$ac_useropt
    966     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    967     case $ac_user_opts in
    968       *"
    969 "enable_$ac_useropt"
    970 "*) ;;
    971       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    972 	 ac_unrecognized_sep=', ';;
    973     esac
    974     eval enable_$ac_useropt=no ;;
    975 
    976   -docdir | --docdir | --docdi | --doc | --do)
    977     ac_prev=docdir ;;
    978   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    979     docdir=$ac_optarg ;;
    980 
    981   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    982     ac_prev=dvidir ;;
    983   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    984     dvidir=$ac_optarg ;;
    985 
    986   -enable-* | --enable-*)
    987     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    988     # Reject names that are not valid shell variable names.
    989     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    990       as_fn_error $? "invalid feature name: '$ac_useropt'"
    991     ac_useropt_orig=$ac_useropt
    992     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    993     case $ac_user_opts in
    994       *"
    995 "enable_$ac_useropt"
    996 "*) ;;
    997       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    998 	 ac_unrecognized_sep=', ';;
    999     esac
   1000     eval enable_$ac_useropt=\$ac_optarg ;;
   1001 
   1002   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1003   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1004   | --exec | --exe | --ex)
   1005     ac_prev=exec_prefix ;;
   1006   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1007   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1008   | --exec=* | --exe=* | --ex=*)
   1009     exec_prefix=$ac_optarg ;;
   1010 
   1011   -gas | --gas | --ga | --g)
   1012     # Obsolete; use --with-gas.
   1013     with_gas=yes ;;
   1014 
   1015   -help | --help | --hel | --he | -h)
   1016     ac_init_help=long ;;
   1017   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1018     ac_init_help=recursive ;;
   1019   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1020     ac_init_help=short ;;
   1021 
   1022   -host | --host | --hos | --ho)
   1023     ac_prev=host_alias ;;
   1024   -host=* | --host=* | --hos=* | --ho=*)
   1025     host_alias=$ac_optarg ;;
   1026 
   1027   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1028     ac_prev=htmldir ;;
   1029   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1030   | --ht=*)
   1031     htmldir=$ac_optarg ;;
   1032 
   1033   -includedir | --includedir | --includedi | --included | --include \
   1034   | --includ | --inclu | --incl | --inc)
   1035     ac_prev=includedir ;;
   1036   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1037   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1038     includedir=$ac_optarg ;;
   1039 
   1040   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1041     ac_prev=infodir ;;
   1042   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1043     infodir=$ac_optarg ;;
   1044 
   1045   -libdir | --libdir | --libdi | --libd)
   1046     ac_prev=libdir ;;
   1047   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1048     libdir=$ac_optarg ;;
   1049 
   1050   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1051   | --libexe | --libex | --libe)
   1052     ac_prev=libexecdir ;;
   1053   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1054   | --libexe=* | --libex=* | --libe=*)
   1055     libexecdir=$ac_optarg ;;
   1056 
   1057   -localedir | --localedir | --localedi | --localed | --locale)
   1058     ac_prev=localedir ;;
   1059   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1060     localedir=$ac_optarg ;;
   1061 
   1062   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1063   | --localstate | --localstat | --localsta | --localst | --locals)
   1064     ac_prev=localstatedir ;;
   1065   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1066   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1067     localstatedir=$ac_optarg ;;
   1068 
   1069   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1070     ac_prev=mandir ;;
   1071   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1072     mandir=$ac_optarg ;;
   1073 
   1074   -nfp | --nfp | --nf)
   1075     # Obsolete; use --without-fp.
   1076     with_fp=no ;;
   1077 
   1078   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1079   | --no-cr | --no-c | -n)
   1080     no_create=yes ;;
   1081 
   1082   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1083   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1084     no_recursion=yes ;;
   1085 
   1086   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1087   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1088   | --oldin | --oldi | --old | --ol | --o)
   1089     ac_prev=oldincludedir ;;
   1090   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1091   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1092   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1093     oldincludedir=$ac_optarg ;;
   1094 
   1095   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1096     ac_prev=prefix ;;
   1097   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1098     prefix=$ac_optarg ;;
   1099 
   1100   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1101   | --program-pre | --program-pr | --program-p)
   1102     ac_prev=program_prefix ;;
   1103   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1104   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1105     program_prefix=$ac_optarg ;;
   1106 
   1107   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1108   | --program-suf | --program-su | --program-s)
   1109     ac_prev=program_suffix ;;
   1110   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1111   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1112     program_suffix=$ac_optarg ;;
   1113 
   1114   -program-transform-name | --program-transform-name \
   1115   | --program-transform-nam | --program-transform-na \
   1116   | --program-transform-n | --program-transform- \
   1117   | --program-transform | --program-transfor \
   1118   | --program-transfo | --program-transf \
   1119   | --program-trans | --program-tran \
   1120   | --progr-tra | --program-tr | --program-t)
   1121     ac_prev=program_transform_name ;;
   1122   -program-transform-name=* | --program-transform-name=* \
   1123   | --program-transform-nam=* | --program-transform-na=* \
   1124   | --program-transform-n=* | --program-transform-=* \
   1125   | --program-transform=* | --program-transfor=* \
   1126   | --program-transfo=* | --program-transf=* \
   1127   | --program-trans=* | --program-tran=* \
   1128   | --progr-tra=* | --program-tr=* | --program-t=*)
   1129     program_transform_name=$ac_optarg ;;
   1130 
   1131   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1132     ac_prev=pdfdir ;;
   1133   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1134     pdfdir=$ac_optarg ;;
   1135 
   1136   -psdir | --psdir | --psdi | --psd | --ps)
   1137     ac_prev=psdir ;;
   1138   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1139     psdir=$ac_optarg ;;
   1140 
   1141   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1142   | -silent | --silent | --silen | --sile | --sil)
   1143     silent=yes ;;
   1144 
   1145   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1146   | --runstate | --runstat | --runsta | --runst | --runs \
   1147   | --run | --ru | --r)
   1148     ac_prev=runstatedir ;;
   1149   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1150   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1151   | --run=* | --ru=* | --r=*)
   1152     runstatedir=$ac_optarg ;;
   1153 
   1154   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1155     ac_prev=sbindir ;;
   1156   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1157   | --sbi=* | --sb=*)
   1158     sbindir=$ac_optarg ;;
   1159 
   1160   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1161   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1162   | --sharedst | --shareds | --shared | --share | --shar \
   1163   | --sha | --sh)
   1164     ac_prev=sharedstatedir ;;
   1165   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1166   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1167   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1168   | --sha=* | --sh=*)
   1169     sharedstatedir=$ac_optarg ;;
   1170 
   1171   -site | --site | --sit)
   1172     ac_prev=site ;;
   1173   -site=* | --site=* | --sit=*)
   1174     site=$ac_optarg ;;
   1175 
   1176   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1177     ac_prev=srcdir ;;
   1178   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1179     srcdir=$ac_optarg ;;
   1180 
   1181   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1182   | --syscon | --sysco | --sysc | --sys | --sy)
   1183     ac_prev=sysconfdir ;;
   1184   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1185   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1186     sysconfdir=$ac_optarg ;;
   1187 
   1188   -target | --target | --targe | --targ | --tar | --ta | --t)
   1189     ac_prev=target_alias ;;
   1190   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1191     target_alias=$ac_optarg ;;
   1192 
   1193   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1194     verbose=yes ;;
   1195 
   1196   -version | --version | --versio | --versi | --vers | -V)
   1197     ac_init_version=: ;;
   1198 
   1199   -with-* | --with-*)
   1200     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1201     # Reject names that are not valid shell variable names.
   1202     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1203       as_fn_error $? "invalid package name: '$ac_useropt'"
   1204     ac_useropt_orig=$ac_useropt
   1205     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1206     case $ac_user_opts in
   1207       *"
   1208 "with_$ac_useropt"
   1209 "*) ;;
   1210       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1211 	 ac_unrecognized_sep=', ';;
   1212     esac
   1213     eval with_$ac_useropt=\$ac_optarg ;;
   1214 
   1215   -without-* | --without-*)
   1216     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1217     # Reject names that are not valid shell variable names.
   1218     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1219       as_fn_error $? "invalid package name: '$ac_useropt'"
   1220     ac_useropt_orig=$ac_useropt
   1221     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1222     case $ac_user_opts in
   1223       *"
   1224 "with_$ac_useropt"
   1225 "*) ;;
   1226       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1227 	 ac_unrecognized_sep=', ';;
   1228     esac
   1229     eval with_$ac_useropt=no ;;
   1230 
   1231   --x)
   1232     # Obsolete; use --with-x.
   1233     with_x=yes ;;
   1234 
   1235   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1236   | --x-incl | --x-inc | --x-in | --x-i)
   1237     ac_prev=x_includes ;;
   1238   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1239   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1240     x_includes=$ac_optarg ;;
   1241 
   1242   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1243   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1244     ac_prev=x_libraries ;;
   1245   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1246   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1247     x_libraries=$ac_optarg ;;
   1248 
   1249   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1250 Try '$0 --help' for more information"
   1251     ;;
   1252 
   1253   *=*)
   1254     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1255     # Reject names that are not valid shell variable names.
   1256     case $ac_envvar in #(
   1257       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1258       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1259     esac
   1260     eval $ac_envvar=\$ac_optarg
   1261     export $ac_envvar ;;
   1262 
   1263   *)
   1264     # FIXME: should be removed in autoconf 3.0.
   1265     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1266     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1267       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1268     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1269     ;;
   1270 
   1271   esac
   1272 done
   1273 
   1274 if test -n "$ac_prev"; then
   1275   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1276   as_fn_error $? "missing argument to $ac_option"
   1277 fi
   1278 
   1279 if test -n "$ac_unrecognized_opts"; then
   1280   case $enable_option_checking in
   1281     no) ;;
   1282     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1283     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1284   esac
   1285 fi
   1286 
   1287 # Check all directory arguments for consistency.
   1288 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1289 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1290 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1291 		libdir localedir mandir runstatedir
   1292 do
   1293   eval ac_val=\$$ac_var
   1294   # Remove trailing slashes.
   1295   case $ac_val in
   1296     */ )
   1297       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1298       eval $ac_var=\$ac_val;;
   1299   esac
   1300   # Be sure to have absolute directory names.
   1301   case $ac_val in
   1302     [\\/$]* | ?:[\\/]* )  continue;;
   1303     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1304   esac
   1305   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1306 done
   1307 
   1308 # There might be people who depend on the old broken behavior: '$host'
   1309 # used to hold the argument of --host etc.
   1310 # FIXME: To remove some day.
   1311 build=$build_alias
   1312 host=$host_alias
   1313 target=$target_alias
   1314 
   1315 # FIXME: To remove some day.
   1316 if test "x$host_alias" != x; then
   1317   if test "x$build_alias" = x; then
   1318     cross_compiling=maybe
   1319   elif test "x$build_alias" != "x$host_alias"; then
   1320     cross_compiling=yes
   1321   fi
   1322 fi
   1323 
   1324 ac_tool_prefix=
   1325 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1326 
   1327 test "$silent" = yes && exec 6>/dev/null
   1328 
   1329 
   1330 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1331 ac_ls_di=`ls -di .` &&
   1332 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1333   as_fn_error $? "working directory cannot be determined"
   1334 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1335   as_fn_error $? "pwd does not report name of working directory"
   1336 
   1337 
   1338 # Find the source files, if location was not specified.
   1339 if test -z "$srcdir"; then
   1340   ac_srcdir_defaulted=yes
   1341   # Try the directory containing this script, then the parent directory.
   1342   ac_confdir=`$as_dirname -- "$as_myself" ||
   1343 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1344 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1345 	 X"$as_myself" : 'X\(//\)$' \| \
   1346 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1347 printf "%s\n" X"$as_myself" |
   1348     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1349 	    s//\1/
   1350 	    q
   1351 	  }
   1352 	  /^X\(\/\/\)[^/].*/{
   1353 	    s//\1/
   1354 	    q
   1355 	  }
   1356 	  /^X\(\/\/\)$/{
   1357 	    s//\1/
   1358 	    q
   1359 	  }
   1360 	  /^X\(\/\).*/{
   1361 	    s//\1/
   1362 	    q
   1363 	  }
   1364 	  s/.*/./; q'`
   1365   srcdir=$ac_confdir
   1366   if test ! -r "$srcdir/$ac_unique_file"; then
   1367     srcdir=..
   1368   fi
   1369 else
   1370   ac_srcdir_defaulted=no
   1371 fi
   1372 if test ! -r "$srcdir/$ac_unique_file"; then
   1373   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1374   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1375 fi
   1376 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1377 ac_abs_confdir=`(
   1378 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1379 	pwd)`
   1380 # When building in place, set srcdir=.
   1381 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1382   srcdir=.
   1383 fi
   1384 # Remove unnecessary trailing slashes from srcdir.
   1385 # Double slashes in file names in object file debugging info
   1386 # mess up M-x gdb in Emacs.
   1387 case $srcdir in
   1388 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1389 esac
   1390 for ac_var in $ac_precious_vars; do
   1391   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1392   eval ac_env_${ac_var}_value=\$${ac_var}
   1393   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1394   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1395 done
   1396 
   1397 #
   1398 # Report the --help message.
   1399 #
   1400 if test "$ac_init_help" = "long"; then
   1401   # Omit some internal or obsolete options to make the list less imposing.
   1402   # This message is too long to be a string in the A/UX 3.1 sh.
   1403   cat <<_ACEOF
   1404 'configure' configures xf86-video-savage 2.4.1 to adapt to many kinds of systems.
   1405 
   1406 Usage: $0 [OPTION]... [VAR=VALUE]...
   1407 
   1408 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1409 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1410 
   1411 Defaults for the options are specified in brackets.
   1412 
   1413 Configuration:
   1414   -h, --help              display this help and exit
   1415       --help=short        display options specific to this package
   1416       --help=recursive    display the short help of all the included packages
   1417   -V, --version           display version information and exit
   1418   -q, --quiet, --silent   do not print 'checking ...' messages
   1419       --cache-file=FILE   cache test results in FILE [disabled]
   1420   -C, --config-cache      alias for '--cache-file=config.cache'
   1421   -n, --no-create         do not create output files
   1422       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1423 
   1424 Installation directories:
   1425   --prefix=PREFIX         install architecture-independent files in PREFIX
   1426                           [$ac_default_prefix]
   1427   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1428                           [PREFIX]
   1429 
   1430 By default, 'make install' will install all the files in
   1431 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1432 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1433 for instance '--prefix=\$HOME'.
   1434 
   1435 For better control, use the options below.
   1436 
   1437 Fine tuning of the installation directories:
   1438   --bindir=DIR            user executables [EPREFIX/bin]
   1439   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1440   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1441   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1442   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1443   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1444   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1445   --libdir=DIR            object code libraries [EPREFIX/lib]
   1446   --includedir=DIR        C header files [PREFIX/include]
   1447   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1448   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1449   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1450   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1451   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1452   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1453   --docdir=DIR            documentation root
   1454                           [DATAROOTDIR/doc/xf86-video-savage]
   1455   --htmldir=DIR           html documentation [DOCDIR]
   1456   --dvidir=DIR            dvi documentation [DOCDIR]
   1457   --pdfdir=DIR            pdf documentation [DOCDIR]
   1458   --psdir=DIR             ps documentation [DOCDIR]
   1459 _ACEOF
   1460 
   1461   cat <<\_ACEOF
   1462 
   1463 Program names:
   1464   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1465   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1466   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1467 
   1468 System types:
   1469   --build=BUILD     configure for building on BUILD [guessed]
   1470   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1471 _ACEOF
   1472 fi
   1473 
   1474 if test -n "$ac_init_help"; then
   1475   case $ac_init_help in
   1476      short | recursive ) echo "Configuration of xf86-video-savage 2.4.1:";;
   1477    esac
   1478   cat <<\_ACEOF
   1479 
   1480 Optional Features:
   1481   --disable-option-checking  ignore unrecognized --enable/--with options
   1482   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1483   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1484   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1485   --disable-silent-rules  verbose build output (undo: "make V=0")
   1486   --enable-dependency-tracking
   1487                           do not reject slow dependency extractors
   1488   --disable-dependency-tracking
   1489                           speeds up one-time build
   1490   --disable-selective-werror
   1491                           Turn off selective compiler errors. (default:
   1492                           enabled)
   1493   --enable-strict-compilation
   1494                           Enable all warnings from compiler and make them
   1495                           errors (default: disabled)
   1496   --enable-static[=PKGS]  build static libraries [default=no]
   1497   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1498   --enable-fast-install[=PKGS]
   1499                           optimize for fast installation [default=yes]
   1500   --disable-libtool-lock  avoid locking (might break parallel builds)
   1501   --disable-dri           Disable DRI support [[default=auto]]
   1502   --enable-xaa            Enable legacy X Acceleration Architecture (XAA)
   1503                           [default=auto]
   1504 
   1505 Optional Packages:
   1506   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1507   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1508   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1509                           both]
   1510   --with-aix-soname=aix|svr4|both
   1511                           shared library versioning (aka "SONAME") variant to
   1512                           provide on AIX, [default=aix].
   1513   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1514   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1515                           compiler's sysroot if not specified).
   1516   --with-xorg-module-dir=DIR
   1517                           Default xorg module directory
   1518                           [[default=$libdir/xorg/modules]]
   1519 
   1520 Some influential environment variables:
   1521   CC          C compiler command
   1522   CFLAGS      C compiler flags
   1523   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1524               nonstandard directory <lib dir>
   1525   LIBS        libraries to pass to the linker, e.g. -l<library>
   1526   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1527               you have headers in a nonstandard directory <include dir>
   1528   PKG_CONFIG  path to pkg-config utility
   1529   PKG_CONFIG_PATH
   1530               directories to add to pkg-config's search path
   1531   PKG_CONFIG_LIBDIR
   1532               path overriding pkg-config's built-in search path
   1533   LT_SYS_LIBRARY_PATH
   1534               User-defined run-time library search path.
   1535   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1536   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1537   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
   1538   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
   1539   DRI_CFLAGS  C compiler flags for DRI, overriding pkg-config
   1540   DRI_LIBS    linker flags for DRI, overriding pkg-config
   1541   PCIACCESS_CFLAGS
   1542               C compiler flags for PCIACCESS, overriding pkg-config
   1543   PCIACCESS_LIBS
   1544               linker flags for PCIACCESS, overriding pkg-config
   1545 
   1546 Use these variables to override the choices made by 'configure' or to help
   1547 it to find libraries and programs with nonstandard names/locations.
   1548 
   1549 Report bugs to <https://gitlab.freedesktop.org/xorg/driver/xf86-video-savage/-/issues>.
   1550 _ACEOF
   1551 ac_status=$?
   1552 fi
   1553 
   1554 if test "$ac_init_help" = "recursive"; then
   1555   # If there are subdirs, report their specific --help.
   1556   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1557     test -d "$ac_dir" ||
   1558       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1559       continue
   1560     ac_builddir=.
   1561 
   1562 case "$ac_dir" in
   1563 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1564 *)
   1565   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1566   # A ".." for each directory in $ac_dir_suffix.
   1567   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1568   case $ac_top_builddir_sub in
   1569   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1570   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1571   esac ;;
   1572 esac
   1573 ac_abs_top_builddir=$ac_pwd
   1574 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1575 # for backward compatibility:
   1576 ac_top_builddir=$ac_top_build_prefix
   1577 
   1578 case $srcdir in
   1579   .)  # We are building in place.
   1580     ac_srcdir=.
   1581     ac_top_srcdir=$ac_top_builddir_sub
   1582     ac_abs_top_srcdir=$ac_pwd ;;
   1583   [\\/]* | ?:[\\/]* )  # Absolute name.
   1584     ac_srcdir=$srcdir$ac_dir_suffix;
   1585     ac_top_srcdir=$srcdir
   1586     ac_abs_top_srcdir=$srcdir ;;
   1587   *) # Relative name.
   1588     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1589     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1590     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1591 esac
   1592 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1593 
   1594     cd "$ac_dir" || { ac_status=$?; continue; }
   1595     # Check for configure.gnu first; this name is used for a wrapper for
   1596     # Metaconfig's "Configure" on case-insensitive file systems.
   1597     if test -f "$ac_srcdir/configure.gnu"; then
   1598       echo &&
   1599       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1600     elif test -f "$ac_srcdir/configure"; then
   1601       echo &&
   1602       $SHELL "$ac_srcdir/configure" --help=recursive
   1603     else
   1604       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1605     fi || ac_status=$?
   1606     cd "$ac_pwd" || { ac_status=$?; break; }
   1607   done
   1608 fi
   1609 
   1610 test -n "$ac_init_help" && exit $ac_status
   1611 if $ac_init_version; then
   1612   cat <<\_ACEOF
   1613 xf86-video-savage configure 2.4.1
   1614 generated by GNU Autoconf 2.72
   1615 
   1616 Copyright (C) 2023 Free Software Foundation, Inc.
   1617 This configure script is free software; the Free Software Foundation
   1618 gives unlimited permission to copy, distribute and modify it.
   1619 _ACEOF
   1620   exit
   1621 fi
   1622 
   1623 ## ------------------------ ##
   1624 ## Autoconf initialization. ##
   1625 ## ------------------------ ##
   1626 
   1627 # ac_fn_c_try_compile LINENO
   1628 # --------------------------
   1629 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1630 ac_fn_c_try_compile ()
   1631 {
   1632   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1633   rm -f conftest.$ac_objext conftest.beam
   1634   if { { ac_try="$ac_compile"
   1635 case "(($ac_try" in
   1636   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1637   *) ac_try_echo=$ac_try;;
   1638 esac
   1639 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1640 printf "%s\n" "$ac_try_echo"; } >&5
   1641   (eval "$ac_compile") 2>conftest.err
   1642   ac_status=$?
   1643   if test -s conftest.err; then
   1644     grep -v '^ *+' conftest.err >conftest.er1
   1645     cat conftest.er1 >&5
   1646     mv -f conftest.er1 conftest.err
   1647   fi
   1648   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1649   test $ac_status = 0; } && {
   1650 	 test -z "$ac_c_werror_flag" ||
   1651 	 test ! -s conftest.err
   1652        } && test -s conftest.$ac_objext
   1653 then :
   1654   ac_retval=0
   1655 else case e in #(
   1656   e) printf "%s\n" "$as_me: failed program was:" >&5
   1657 sed 's/^/| /' conftest.$ac_ext >&5
   1658 
   1659 	ac_retval=1 ;;
   1660 esac
   1661 fi
   1662   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1663   as_fn_set_status $ac_retval
   1664 
   1665 } # ac_fn_c_try_compile
   1666 
   1667 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1668 # ------------------------------------------------------------------
   1669 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1670 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1671 ac_fn_check_decl ()
   1672 {
   1673   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1674   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1675   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1676 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1677 if eval test \${$3+y}
   1678 then :
   1679   printf %s "(cached) " >&6
   1680 else case e in #(
   1681   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1682   eval ac_save_FLAGS=\$$6
   1683   as_fn_append $6 " $5"
   1684   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1685 /* end confdefs.h.  */
   1686 $4
   1687 int
   1688 main (void)
   1689 {
   1690 #ifndef $as_decl_name
   1691 #ifdef __cplusplus
   1692   (void) $as_decl_use;
   1693 #else
   1694   (void) $as_decl_name;
   1695 #endif
   1696 #endif
   1697 
   1698   ;
   1699   return 0;
   1700 }
   1701 _ACEOF
   1702 if ac_fn_c_try_compile "$LINENO"
   1703 then :
   1704   eval "$3=yes"
   1705 else case e in #(
   1706   e) eval "$3=no" ;;
   1707 esac
   1708 fi
   1709 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1710   eval $6=\$ac_save_FLAGS
   1711  ;;
   1712 esac
   1713 fi
   1714 eval ac_res=\$$3
   1715 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1716 printf "%s\n" "$ac_res" >&6; }
   1717   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1718 
   1719 } # ac_fn_check_decl
   1720 
   1721 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1722 # -------------------------------------------------------
   1723 # Tests whether HEADER exists and can be compiled using the include files in
   1724 # INCLUDES, setting the cache variable VAR accordingly.
   1725 ac_fn_c_check_header_compile ()
   1726 {
   1727   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1728   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1729 printf %s "checking for $2... " >&6; }
   1730 if eval test \${$3+y}
   1731 then :
   1732   printf %s "(cached) " >&6
   1733 else case e in #(
   1734   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1735 /* end confdefs.h.  */
   1736 $4
   1737 #include <$2>
   1738 _ACEOF
   1739 if ac_fn_c_try_compile "$LINENO"
   1740 then :
   1741   eval "$3=yes"
   1742 else case e in #(
   1743   e) eval "$3=no" ;;
   1744 esac
   1745 fi
   1746 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1747 esac
   1748 fi
   1749 eval ac_res=\$$3
   1750 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1751 printf "%s\n" "$ac_res" >&6; }
   1752   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1753 
   1754 } # ac_fn_c_check_header_compile
   1755 
   1756 # ac_fn_c_try_link LINENO
   1757 # -----------------------
   1758 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1759 ac_fn_c_try_link ()
   1760 {
   1761   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1762   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1763   if { { ac_try="$ac_link"
   1764 case "(($ac_try" in
   1765   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1766   *) ac_try_echo=$ac_try;;
   1767 esac
   1768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1769 printf "%s\n" "$ac_try_echo"; } >&5
   1770   (eval "$ac_link") 2>conftest.err
   1771   ac_status=$?
   1772   if test -s conftest.err; then
   1773     grep -v '^ *+' conftest.err >conftest.er1
   1774     cat conftest.er1 >&5
   1775     mv -f conftest.er1 conftest.err
   1776   fi
   1777   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1778   test $ac_status = 0; } && {
   1779 	 test -z "$ac_c_werror_flag" ||
   1780 	 test ! -s conftest.err
   1781        } && test -s conftest$ac_exeext && {
   1782 	 test "$cross_compiling" = yes ||
   1783 	 test -x conftest$ac_exeext
   1784        }
   1785 then :
   1786   ac_retval=0
   1787 else case e in #(
   1788   e) printf "%s\n" "$as_me: failed program was:" >&5
   1789 sed 's/^/| /' conftest.$ac_ext >&5
   1790 
   1791 	ac_retval=1 ;;
   1792 esac
   1793 fi
   1794   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1795   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1796   # interfere with the next link command; also delete a directory that is
   1797   # left behind by Apple's compiler.  We do this before executing the actions.
   1798   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1799   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1800   as_fn_set_status $ac_retval
   1801 
   1802 } # ac_fn_c_try_link
   1803 
   1804 # ac_fn_c_check_func LINENO FUNC VAR
   1805 # ----------------------------------
   1806 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1807 ac_fn_c_check_func ()
   1808 {
   1809   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1810   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1811 printf %s "checking for $2... " >&6; }
   1812 if eval test \${$3+y}
   1813 then :
   1814   printf %s "(cached) " >&6
   1815 else case e in #(
   1816   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1817 /* end confdefs.h.  */
   1818 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1819    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1820 #define $2 innocuous_$2
   1821 
   1822 /* System header to define __stub macros and hopefully few prototypes,
   1823    which can conflict with char $2 (void); below.  */
   1824 
   1825 #include <limits.h>
   1826 #undef $2
   1827 
   1828 /* Override any GCC internal prototype to avoid an error.
   1829    Use char because int might match the return type of a GCC
   1830    builtin and then its argument prototype would still apply.  */
   1831 #ifdef __cplusplus
   1832 extern "C"
   1833 #endif
   1834 char $2 (void);
   1835 /* The GNU C library defines this for functions which it implements
   1836     to always fail with ENOSYS.  Some functions are actually named
   1837     something starting with __ and the normal name is an alias.  */
   1838 #if defined __stub_$2 || defined __stub___$2
   1839 choke me
   1840 #endif
   1841 
   1842 int
   1843 main (void)
   1844 {
   1845 return $2 ();
   1846   ;
   1847   return 0;
   1848 }
   1849 _ACEOF
   1850 if ac_fn_c_try_link "$LINENO"
   1851 then :
   1852   eval "$3=yes"
   1853 else case e in #(
   1854   e) eval "$3=no" ;;
   1855 esac
   1856 fi
   1857 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1858     conftest$ac_exeext conftest.$ac_ext ;;
   1859 esac
   1860 fi
   1861 eval ac_res=\$$3
   1862 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1863 printf "%s\n" "$ac_res" >&6; }
   1864   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1865 
   1866 } # ac_fn_c_check_func
   1867 ac_configure_args_raw=
   1868 for ac_arg
   1869 do
   1870   case $ac_arg in
   1871   *\'*)
   1872     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1873   esac
   1874   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1875 done
   1876 
   1877 case $ac_configure_args_raw in
   1878   *$as_nl*)
   1879     ac_safe_unquote= ;;
   1880   *)
   1881     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1882     ac_unsafe_a="$ac_unsafe_z#~"
   1883     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1884     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1885 esac
   1886 
   1887 cat >config.log <<_ACEOF
   1888 This file contains any messages produced by compilers while
   1889 running configure, to aid debugging if configure makes a mistake.
   1890 
   1891 It was created by xf86-video-savage $as_me 2.4.1, which was
   1892 generated by GNU Autoconf 2.72.  Invocation command line was
   1893 
   1894   $ $0$ac_configure_args_raw
   1895 
   1896 _ACEOF
   1897 exec 5>>config.log
   1898 {
   1899 cat <<_ASUNAME
   1900 ## --------- ##
   1901 ## Platform. ##
   1902 ## --------- ##
   1903 
   1904 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1905 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1906 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1907 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1908 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1909 
   1910 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1911 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1912 
   1913 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1914 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1915 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1916 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1917 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1918 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1919 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1920 
   1921 _ASUNAME
   1922 
   1923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1924 for as_dir in $PATH
   1925 do
   1926   IFS=$as_save_IFS
   1927   case $as_dir in #(((
   1928     '') as_dir=./ ;;
   1929     */) ;;
   1930     *) as_dir=$as_dir/ ;;
   1931   esac
   1932     printf "%s\n" "PATH: $as_dir"
   1933   done
   1934 IFS=$as_save_IFS
   1935 
   1936 } >&5
   1937 
   1938 cat >&5 <<_ACEOF
   1939 
   1940 
   1941 ## ----------- ##
   1942 ## Core tests. ##
   1943 ## ----------- ##
   1944 
   1945 _ACEOF
   1946 
   1947 
   1948 # Keep a trace of the command line.
   1949 # Strip out --no-create and --no-recursion so they do not pile up.
   1950 # Strip out --silent because we don't want to record it for future runs.
   1951 # Also quote any args containing shell meta-characters.
   1952 # Make two passes to allow for proper duplicate-argument suppression.
   1953 ac_configure_args=
   1954 ac_configure_args0=
   1955 ac_configure_args1=
   1956 ac_must_keep_next=false
   1957 for ac_pass in 1 2
   1958 do
   1959   for ac_arg
   1960   do
   1961     case $ac_arg in
   1962     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1963     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1964     | -silent | --silent | --silen | --sile | --sil)
   1965       continue ;;
   1966     *\'*)
   1967       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1968     esac
   1969     case $ac_pass in
   1970     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1971     2)
   1972       as_fn_append ac_configure_args1 " '$ac_arg'"
   1973       if test $ac_must_keep_next = true; then
   1974 	ac_must_keep_next=false # Got value, back to normal.
   1975       else
   1976 	case $ac_arg in
   1977 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1978 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1979 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1980 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1981 	    case "$ac_configure_args0 " in
   1982 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1983 	    esac
   1984 	    ;;
   1985 	  -* ) ac_must_keep_next=true ;;
   1986 	esac
   1987       fi
   1988       as_fn_append ac_configure_args " '$ac_arg'"
   1989       ;;
   1990     esac
   1991   done
   1992 done
   1993 { ac_configure_args0=; unset ac_configure_args0;}
   1994 { ac_configure_args1=; unset ac_configure_args1;}
   1995 
   1996 # When interrupted or exit'd, cleanup temporary files, and complete
   1997 # config.log.  We remove comments because anyway the quotes in there
   1998 # would cause problems or look ugly.
   1999 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2000 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2001 trap 'exit_status=$?
   2002   # Sanitize IFS.
   2003   IFS=" ""	$as_nl"
   2004   # Save into config.log some information that might help in debugging.
   2005   {
   2006     echo
   2007 
   2008     printf "%s\n" "## ---------------- ##
   2009 ## Cache variables. ##
   2010 ## ---------------- ##"
   2011     echo
   2012     # The following way of writing the cache mishandles newlines in values,
   2013 (
   2014   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2015     eval ac_val=\$$ac_var
   2016     case $ac_val in #(
   2017     *${as_nl}*)
   2018       case $ac_var in #(
   2019       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2020 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2021       esac
   2022       case $ac_var in #(
   2023       _ | IFS | as_nl) ;; #(
   2024       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2025       *) { eval $ac_var=; unset $ac_var;} ;;
   2026       esac ;;
   2027     esac
   2028   done
   2029   (set) 2>&1 |
   2030     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2031     *${as_nl}ac_space=\ *)
   2032       sed -n \
   2033 	"s/'\''/'\''\\\\'\'''\''/g;
   2034 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2035       ;; #(
   2036     *)
   2037       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2038       ;;
   2039     esac |
   2040     sort
   2041 )
   2042     echo
   2043 
   2044     printf "%s\n" "## ----------------- ##
   2045 ## Output variables. ##
   2046 ## ----------------- ##"
   2047     echo
   2048     for ac_var in $ac_subst_vars
   2049     do
   2050       eval ac_val=\$$ac_var
   2051       case $ac_val in
   2052       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2053       esac
   2054       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2055     done | sort
   2056     echo
   2057 
   2058     if test -n "$ac_subst_files"; then
   2059       printf "%s\n" "## ------------------- ##
   2060 ## File substitutions. ##
   2061 ## ------------------- ##"
   2062       echo
   2063       for ac_var in $ac_subst_files
   2064       do
   2065 	eval ac_val=\$$ac_var
   2066 	case $ac_val in
   2067 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2068 	esac
   2069 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2070       done | sort
   2071       echo
   2072     fi
   2073 
   2074     if test -s confdefs.h; then
   2075       printf "%s\n" "## ----------- ##
   2076 ## confdefs.h. ##
   2077 ## ----------- ##"
   2078       echo
   2079       cat confdefs.h
   2080       echo
   2081     fi
   2082     test "$ac_signal" != 0 &&
   2083       printf "%s\n" "$as_me: caught signal $ac_signal"
   2084     printf "%s\n" "$as_me: exit $exit_status"
   2085   } >&5
   2086   rm -f core *.core core.conftest.* &&
   2087     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2088     exit $exit_status
   2089 ' 0
   2090 for ac_signal in 1 2 13 15; do
   2091   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2092 done
   2093 ac_signal=0
   2094 
   2095 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2096 rm -f -r conftest* confdefs.h
   2097 
   2098 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2099 
   2100 # Predefined preprocessor variables.
   2101 
   2102 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2103 
   2104 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2105 
   2106 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2107 
   2108 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2109 
   2110 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2111 
   2112 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2113 
   2114 
   2115 # Let the site file select an alternate cache file if it wants to.
   2116 # Prefer an explicitly selected file to automatically selected ones.
   2117 if test -n "$CONFIG_SITE"; then
   2118   ac_site_files="$CONFIG_SITE"
   2119 elif test "x$prefix" != xNONE; then
   2120   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2121 else
   2122   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2123 fi
   2124 
   2125 for ac_site_file in $ac_site_files
   2126 do
   2127   case $ac_site_file in #(
   2128   */*) :
   2129      ;; #(
   2130   *) :
   2131     ac_site_file=./$ac_site_file ;;
   2132 esac
   2133   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2134     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2135 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2136     sed 's/^/| /' "$ac_site_file" >&5
   2137     . "$ac_site_file" \
   2138       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2139 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2140 as_fn_error $? "failed to load site script $ac_site_file
   2141 See 'config.log' for more details" "$LINENO" 5; }
   2142   fi
   2143 done
   2144 
   2145 if test -r "$cache_file"; then
   2146   # Some versions of bash will fail to source /dev/null (special files
   2147   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2148   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2149     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2150 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2151     case $cache_file in
   2152       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2153       *)                      . "./$cache_file";;
   2154     esac
   2155   fi
   2156 else
   2157   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2158 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2159   >$cache_file
   2160 fi
   2161 
   2162 # Test code for whether the C compiler supports C89 (global declarations)
   2163 ac_c_conftest_c89_globals='
   2164 /* Does the compiler advertise C89 conformance?
   2165    Do not test the value of __STDC__, because some compilers set it to 0
   2166    while being otherwise adequately conformant. */
   2167 #if !defined __STDC__
   2168 # error "Compiler does not advertise C89 conformance"
   2169 #endif
   2170 
   2171 #include <stddef.h>
   2172 #include <stdarg.h>
   2173 struct stat;
   2174 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2175 struct buf { int x; };
   2176 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2177 static char *e (char **p, int i)
   2178 {
   2179   return p[i];
   2180 }
   2181 static char *f (char * (*g) (char **, int), char **p, ...)
   2182 {
   2183   char *s;
   2184   va_list v;
   2185   va_start (v,p);
   2186   s = g (p, va_arg (v,int));
   2187   va_end (v);
   2188   return s;
   2189 }
   2190 
   2191 /* C89 style stringification. */
   2192 #define noexpand_stringify(a) #a
   2193 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2194 
   2195 /* C89 style token pasting.  Exercises some of the corner cases that
   2196    e.g. old MSVC gets wrong, but not very hard. */
   2197 #define noexpand_concat(a,b) a##b
   2198 #define expand_concat(a,b) noexpand_concat(a,b)
   2199 extern int vA;
   2200 extern int vbee;
   2201 #define aye A
   2202 #define bee B
   2203 int *pvA = &expand_concat(v,aye);
   2204 int *pvbee = &noexpand_concat(v,bee);
   2205 
   2206 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2207    function prototypes and stuff, but not \xHH hex character constants.
   2208    These do not provoke an error unfortunately, instead are silently treated
   2209    as an "x".  The following induces an error, until -std is added to get
   2210    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2211    array size at least.  It is necessary to write \x00 == 0 to get something
   2212    that is true only with -std.  */
   2213 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2214 
   2215 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2216    inside strings and character constants.  */
   2217 #define FOO(x) '\''x'\''
   2218 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2219 
   2220 int test (int i, double x);
   2221 struct s1 {int (*f) (int a);};
   2222 struct s2 {int (*f) (double a);};
   2223 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2224                int, int);'
   2225 
   2226 # Test code for whether the C compiler supports C89 (body of main).
   2227 ac_c_conftest_c89_main='
   2228 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2229 '
   2230 
   2231 # Test code for whether the C compiler supports C99 (global declarations)
   2232 ac_c_conftest_c99_globals='
   2233 /* Does the compiler advertise C99 conformance? */
   2234 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2235 # error "Compiler does not advertise C99 conformance"
   2236 #endif
   2237 
   2238 // See if C++-style comments work.
   2239 
   2240 #include <stdbool.h>
   2241 extern int puts (const char *);
   2242 extern int printf (const char *, ...);
   2243 extern int dprintf (int, const char *, ...);
   2244 extern void *malloc (size_t);
   2245 extern void free (void *);
   2246 
   2247 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2248 // dprintf is used instead of fprintf to avoid needing to declare
   2249 // FILE and stderr.
   2250 #define debug(...) dprintf (2, __VA_ARGS__)
   2251 #define showlist(...) puts (#__VA_ARGS__)
   2252 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2253 static void
   2254 test_varargs_macros (void)
   2255 {
   2256   int x = 1234;
   2257   int y = 5678;
   2258   debug ("Flag");
   2259   debug ("X = %d\n", x);
   2260   showlist (The first, second, and third items.);
   2261   report (x>y, "x is %d but y is %d", x, y);
   2262 }
   2263 
   2264 // Check long long types.
   2265 #define BIG64 18446744073709551615ull
   2266 #define BIG32 4294967295ul
   2267 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2268 #if !BIG_OK
   2269   #error "your preprocessor is broken"
   2270 #endif
   2271 #if BIG_OK
   2272 #else
   2273   #error "your preprocessor is broken"
   2274 #endif
   2275 static long long int bignum = -9223372036854775807LL;
   2276 static unsigned long long int ubignum = BIG64;
   2277 
   2278 struct incomplete_array
   2279 {
   2280   int datasize;
   2281   double data[];
   2282 };
   2283 
   2284 struct named_init {
   2285   int number;
   2286   const wchar_t *name;
   2287   double average;
   2288 };
   2289 
   2290 typedef const char *ccp;
   2291 
   2292 static inline int
   2293 test_restrict (ccp restrict text)
   2294 {
   2295   // Iterate through items via the restricted pointer.
   2296   // Also check for declarations in for loops.
   2297   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2298     continue;
   2299   return 0;
   2300 }
   2301 
   2302 // Check varargs and va_copy.
   2303 static bool
   2304 test_varargs (const char *format, ...)
   2305 {
   2306   va_list args;
   2307   va_start (args, format);
   2308   va_list args_copy;
   2309   va_copy (args_copy, args);
   2310 
   2311   const char *str = "";
   2312   int number = 0;
   2313   float fnumber = 0;
   2314 
   2315   while (*format)
   2316     {
   2317       switch (*format++)
   2318 	{
   2319 	case '\''s'\'': // string
   2320 	  str = va_arg (args_copy, const char *);
   2321 	  break;
   2322 	case '\''d'\'': // int
   2323 	  number = va_arg (args_copy, int);
   2324 	  break;
   2325 	case '\''f'\'': // float
   2326 	  fnumber = va_arg (args_copy, double);
   2327 	  break;
   2328 	default:
   2329 	  break;
   2330 	}
   2331     }
   2332   va_end (args_copy);
   2333   va_end (args);
   2334 
   2335   return *str && number && fnumber;
   2336 }
   2337 '
   2338 
   2339 # Test code for whether the C compiler supports C99 (body of main).
   2340 ac_c_conftest_c99_main='
   2341   // Check bool.
   2342   _Bool success = false;
   2343   success |= (argc != 0);
   2344 
   2345   // Check restrict.
   2346   if (test_restrict ("String literal") == 0)
   2347     success = true;
   2348   char *restrict newvar = "Another string";
   2349 
   2350   // Check varargs.
   2351   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2352   test_varargs_macros ();
   2353 
   2354   // Check flexible array members.
   2355   struct incomplete_array *ia =
   2356     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2357   ia->datasize = 10;
   2358   for (int i = 0; i < ia->datasize; ++i)
   2359     ia->data[i] = i * 1.234;
   2360   // Work around memory leak warnings.
   2361   free (ia);
   2362 
   2363   // Check named initializers.
   2364   struct named_init ni = {
   2365     .number = 34,
   2366     .name = L"Test wide string",
   2367     .average = 543.34343,
   2368   };
   2369 
   2370   ni.number = 58;
   2371 
   2372   int dynamic_array[ni.number];
   2373   dynamic_array[0] = argv[0][0];
   2374   dynamic_array[ni.number - 1] = 543;
   2375 
   2376   // work around unused variable warnings
   2377   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2378 	 || dynamic_array[ni.number - 1] != 543);
   2379 '
   2380 
   2381 # Test code for whether the C compiler supports C11 (global declarations)
   2382 ac_c_conftest_c11_globals='
   2383 /* Does the compiler advertise C11 conformance? */
   2384 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2385 # error "Compiler does not advertise C11 conformance"
   2386 #endif
   2387 
   2388 // Check _Alignas.
   2389 char _Alignas (double) aligned_as_double;
   2390 char _Alignas (0) no_special_alignment;
   2391 extern char aligned_as_int;
   2392 char _Alignas (0) _Alignas (int) aligned_as_int;
   2393 
   2394 // Check _Alignof.
   2395 enum
   2396 {
   2397   int_alignment = _Alignof (int),
   2398   int_array_alignment = _Alignof (int[100]),
   2399   char_alignment = _Alignof (char)
   2400 };
   2401 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2402 
   2403 // Check _Noreturn.
   2404 int _Noreturn does_not_return (void) { for (;;) continue; }
   2405 
   2406 // Check _Static_assert.
   2407 struct test_static_assert
   2408 {
   2409   int x;
   2410   _Static_assert (sizeof (int) <= sizeof (long int),
   2411                   "_Static_assert does not work in struct");
   2412   long int y;
   2413 };
   2414 
   2415 // Check UTF-8 literals.
   2416 #define u8 syntax error!
   2417 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2418 
   2419 // Check duplicate typedefs.
   2420 typedef long *long_ptr;
   2421 typedef long int *long_ptr;
   2422 typedef long_ptr long_ptr;
   2423 
   2424 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2425 struct anonymous
   2426 {
   2427   union {
   2428     struct { int i; int j; };
   2429     struct { int k; long int l; } w;
   2430   };
   2431   int m;
   2432 } v1;
   2433 '
   2434 
   2435 # Test code for whether the C compiler supports C11 (body of main).
   2436 ac_c_conftest_c11_main='
   2437   _Static_assert ((offsetof (struct anonymous, i)
   2438 		   == offsetof (struct anonymous, w.k)),
   2439 		  "Anonymous union alignment botch");
   2440   v1.i = 2;
   2441   v1.w.k = 5;
   2442   ok |= v1.i != 5;
   2443 '
   2444 
   2445 # Test code for whether the C compiler supports C11 (complete).
   2446 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2447 ${ac_c_conftest_c99_globals}
   2448 ${ac_c_conftest_c11_globals}
   2449 
   2450 int
   2451 main (int argc, char **argv)
   2452 {
   2453   int ok = 0;
   2454   ${ac_c_conftest_c89_main}
   2455   ${ac_c_conftest_c99_main}
   2456   ${ac_c_conftest_c11_main}
   2457   return ok;
   2458 }
   2459 "
   2460 
   2461 # Test code for whether the C compiler supports C99 (complete).
   2462 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2463 ${ac_c_conftest_c99_globals}
   2464 
   2465 int
   2466 main (int argc, char **argv)
   2467 {
   2468   int ok = 0;
   2469   ${ac_c_conftest_c89_main}
   2470   ${ac_c_conftest_c99_main}
   2471   return ok;
   2472 }
   2473 "
   2474 
   2475 # Test code for whether the C compiler supports C89 (complete).
   2476 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2477 
   2478 int
   2479 main (int argc, char **argv)
   2480 {
   2481   int ok = 0;
   2482   ${ac_c_conftest_c89_main}
   2483   return ok;
   2484 }
   2485 "
   2486 
   2487 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2488 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2489 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2490 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2491 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2492 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2493 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2494 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2495 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2496 
   2497 # Auxiliary files required by this configure script.
   2498 ac_aux_files="ltmain.sh config.guess config.sub compile missing install-sh"
   2499 
   2500 # Locations in which to look for auxiliary files.
   2501 ac_aux_dir_candidates="${srcdir}/."
   2502 
   2503 # Search for a directory containing all of the required auxiliary files,
   2504 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2505 # If we don't find one directory that contains all the files we need,
   2506 # we report the set of missing files from the *first* directory in
   2507 # $ac_aux_dir_candidates and give up.
   2508 ac_missing_aux_files=""
   2509 ac_first_candidate=:
   2510 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2512 as_found=false
   2513 for as_dir in $ac_aux_dir_candidates
   2514 do
   2515   IFS=$as_save_IFS
   2516   case $as_dir in #(((
   2517     '') as_dir=./ ;;
   2518     */) ;;
   2519     *) as_dir=$as_dir/ ;;
   2520   esac
   2521   as_found=:
   2522 
   2523   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2524   ac_aux_dir_found=yes
   2525   ac_install_sh=
   2526   for ac_aux in $ac_aux_files
   2527   do
   2528     # As a special case, if "install-sh" is required, that requirement
   2529     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2530     # and $ac_install_sh is set appropriately for whichever one is found.
   2531     if test x"$ac_aux" = x"install-sh"
   2532     then
   2533       if test -f "${as_dir}install-sh"; then
   2534         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2535         ac_install_sh="${as_dir}install-sh -c"
   2536       elif test -f "${as_dir}install.sh"; then
   2537         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2538         ac_install_sh="${as_dir}install.sh -c"
   2539       elif test -f "${as_dir}shtool"; then
   2540         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2541         ac_install_sh="${as_dir}shtool install -c"
   2542       else
   2543         ac_aux_dir_found=no
   2544         if $ac_first_candidate; then
   2545           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2546         else
   2547           break
   2548         fi
   2549       fi
   2550     else
   2551       if test -f "${as_dir}${ac_aux}"; then
   2552         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2553       else
   2554         ac_aux_dir_found=no
   2555         if $ac_first_candidate; then
   2556           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2557         else
   2558           break
   2559         fi
   2560       fi
   2561     fi
   2562   done
   2563   if test "$ac_aux_dir_found" = yes; then
   2564     ac_aux_dir="$as_dir"
   2565     break
   2566   fi
   2567   ac_first_candidate=false
   2568 
   2569   as_found=false
   2570 done
   2571 IFS=$as_save_IFS
   2572 if $as_found
   2573 then :
   2574 
   2575 else case e in #(
   2576   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2577 esac
   2578 fi
   2579 
   2580 
   2581 # These three variables are undocumented and unsupported,
   2582 # and are intended to be withdrawn in a future Autoconf release.
   2583 # They can cause serious problems if a builder's source tree is in a directory
   2584 # whose full name contains unusual characters.
   2585 if test -f "${ac_aux_dir}config.guess"; then
   2586   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2587 fi
   2588 if test -f "${ac_aux_dir}config.sub"; then
   2589   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2590 fi
   2591 if test -f "$ac_aux_dir/configure"; then
   2592   ac_configure="$SHELL ${ac_aux_dir}configure"
   2593 fi
   2594 
   2595 # Check that the precious variables saved in the cache have kept the same
   2596 # value.
   2597 ac_cache_corrupted=false
   2598 for ac_var in $ac_precious_vars; do
   2599   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2600   eval ac_new_set=\$ac_env_${ac_var}_set
   2601   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2602   eval ac_new_val=\$ac_env_${ac_var}_value
   2603   case $ac_old_set,$ac_new_set in
   2604     set,)
   2605       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2606 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2607       ac_cache_corrupted=: ;;
   2608     ,set)
   2609       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2610 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2611       ac_cache_corrupted=: ;;
   2612     ,);;
   2613     *)
   2614       if test "x$ac_old_val" != "x$ac_new_val"; then
   2615 	# differences in whitespace do not lead to failure.
   2616 	ac_old_val_w=`echo x $ac_old_val`
   2617 	ac_new_val_w=`echo x $ac_new_val`
   2618 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2619 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2620 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2621 	  ac_cache_corrupted=:
   2622 	else
   2623 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2624 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2625 	  eval $ac_var=\$ac_old_val
   2626 	fi
   2627 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2628 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   2629 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2630 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   2631       fi;;
   2632   esac
   2633   # Pass precious variables to config.status.
   2634   if test "$ac_new_set" = set; then
   2635     case $ac_new_val in
   2636     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2637     *) ac_arg=$ac_var=$ac_new_val ;;
   2638     esac
   2639     case " $ac_configure_args " in
   2640       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2641       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2642     esac
   2643   fi
   2644 done
   2645 if $ac_cache_corrupted; then
   2646   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2647 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2648   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2649 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2650   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2651 	    and start over" "$LINENO" 5
   2652 fi
   2653 ## -------------------- ##
   2654 ## Main body of script. ##
   2655 ## -------------------- ##
   2656 
   2657 ac_ext=c
   2658 ac_cpp='$CPP $CPPFLAGS'
   2659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2662 
   2663 
   2664 
   2665 ac_config_headers="$ac_config_headers config.h"
   2666 
   2667 
   2668 
   2669 # Initialize Automake
   2670 am__api_version='1.16'
   2671 
   2672 
   2673 
   2674   # Find a good install program.  We prefer a C program (faster),
   2675 # so one script is as good as another.  But avoid the broken or
   2676 # incompatible versions:
   2677 # SysV /etc/install, /usr/sbin/install
   2678 # SunOS /usr/etc/install
   2679 # IRIX /sbin/install
   2680 # AIX /bin/install
   2681 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2682 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2683 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2684 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2685 # OS/2's system install, which has a completely different semantic
   2686 # ./install, which can be erroneously created by make from ./install.sh.
   2687 # Reject install programs that cannot install multiple files.
   2688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2689 printf %s "checking for a BSD-compatible install... " >&6; }
   2690 if test -z "$INSTALL"; then
   2691 if test ${ac_cv_path_install+y}
   2692 then :
   2693   printf %s "(cached) " >&6
   2694 else case e in #(
   2695   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2696 for as_dir in $PATH
   2697 do
   2698   IFS=$as_save_IFS
   2699   case $as_dir in #(((
   2700     '') as_dir=./ ;;
   2701     */) ;;
   2702     *) as_dir=$as_dir/ ;;
   2703   esac
   2704     # Account for fact that we put trailing slashes in our PATH walk.
   2705 case $as_dir in #((
   2706   ./ | /[cC]/* | \
   2707   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2708   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2709   /usr/ucb/* ) ;;
   2710   *)
   2711     # OSF1 and SCO ODT 3.0 have their own names for install.
   2712     # Don't use installbsd from OSF since it installs stuff as root
   2713     # by default.
   2714     for ac_prog in ginstall scoinst install; do
   2715       for ac_exec_ext in '' $ac_executable_extensions; do
   2716 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2717 	  if test $ac_prog = install &&
   2718 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2719 	    # AIX install.  It has an incompatible calling convention.
   2720 	    :
   2721 	  elif test $ac_prog = install &&
   2722 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2723 	    # program-specific install script used by HP pwplus--don't use.
   2724 	    :
   2725 	  else
   2726 	    rm -rf conftest.one conftest.two conftest.dir
   2727 	    echo one > conftest.one
   2728 	    echo two > conftest.two
   2729 	    mkdir conftest.dir
   2730 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2731 	      test -s conftest.one && test -s conftest.two &&
   2732 	      test -s conftest.dir/conftest.one &&
   2733 	      test -s conftest.dir/conftest.two
   2734 	    then
   2735 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2736 	      break 3
   2737 	    fi
   2738 	  fi
   2739 	fi
   2740       done
   2741     done
   2742     ;;
   2743 esac
   2744 
   2745   done
   2746 IFS=$as_save_IFS
   2747 
   2748 rm -rf conftest.one conftest.two conftest.dir
   2749  ;;
   2750 esac
   2751 fi
   2752   if test ${ac_cv_path_install+y}; then
   2753     INSTALL=$ac_cv_path_install
   2754   else
   2755     # As a last resort, use the slow shell script.  Don't cache a
   2756     # value for INSTALL within a source directory, because that will
   2757     # break other packages using the cache if that directory is
   2758     # removed, or if the value is a relative name.
   2759     INSTALL=$ac_install_sh
   2760   fi
   2761 fi
   2762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2763 printf "%s\n" "$INSTALL" >&6; }
   2764 
   2765 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2766 # It thinks the first close brace ends the variable substitution.
   2767 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2768 
   2769 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2770 
   2771 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2772 
   2773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2774 printf %s "checking whether build environment is sane... " >&6; }
   2775 # Reject unsafe characters in $srcdir or the absolute working directory
   2776 # name.  Accept space and tab only in the latter.
   2777 am_lf='
   2778 '
   2779 case `pwd` in
   2780   *[\\\"\#\$\&\'\`$am_lf]*)
   2781     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2782 esac
   2783 case $srcdir in
   2784   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2785     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2786 esac
   2787 
   2788 # Do 'set' in a subshell so we don't clobber the current shell's
   2789 # arguments.  Must try -L first in case configure is actually a
   2790 # symlink; some systems play weird games with the mod time of symlinks
   2791 # (eg FreeBSD returns the mod time of the symlink's containing
   2792 # directory).
   2793 if (
   2794    am_has_slept=no
   2795    for am_try in 1 2; do
   2796      echo "timestamp, slept: $am_has_slept" > conftest.file
   2797      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2798      if test "$*" = "X"; then
   2799 	# -L didn't work.
   2800 	set X `ls -t "$srcdir/configure" conftest.file`
   2801      fi
   2802      if test "$*" != "X $srcdir/configure conftest.file" \
   2803 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2804 
   2805 	# If neither matched, then we have a broken ls.  This can happen
   2806 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2807 	# broken ls alias from the environment.  This has actually
   2808 	# happened.  Such a system could not be considered "sane".
   2809 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2810   alias in your environment" "$LINENO" 5
   2811      fi
   2812      if test "$2" = conftest.file || test $am_try -eq 2; then
   2813        break
   2814      fi
   2815      # Just in case.
   2816      sleep 1
   2817      am_has_slept=yes
   2818    done
   2819    test "$2" = conftest.file
   2820    )
   2821 then
   2822    # Ok.
   2823    :
   2824 else
   2825    as_fn_error $? "newly created file is older than distributed files!
   2826 Check your system clock" "$LINENO" 5
   2827 fi
   2828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2829 printf "%s\n" "yes" >&6; }
   2830 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2831 # generated files are strictly newer.
   2832 am_sleep_pid=
   2833 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2834   ( sleep 1 ) &
   2835   am_sleep_pid=$!
   2836 fi
   2837 
   2838 rm -f conftest.file
   2839 
   2840 test "$program_prefix" != NONE &&
   2841   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2842 # Use a double $ so make ignores it.
   2843 test "$program_suffix" != NONE &&
   2844   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2845 # Double any \ or $.
   2846 # By default was 's,x,x', remove it if useless.
   2847 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2848 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2849 
   2850 
   2851 # Expand $ac_aux_dir to an absolute path.
   2852 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2853 
   2854 
   2855   if test x"${MISSING+set}" != xset; then
   2856   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2857 fi
   2858 # Use eval to expand $SHELL
   2859 if eval "$MISSING --is-lightweight"; then
   2860   am_missing_run="$MISSING "
   2861 else
   2862   am_missing_run=
   2863   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2864 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2865 fi
   2866 
   2867 if test x"${install_sh+set}" != xset; then
   2868   case $am_aux_dir in
   2869   *\ * | *\	*)
   2870     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2871   *)
   2872     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2873   esac
   2874 fi
   2875 
   2876 # Installed binaries are usually stripped using 'strip' when the user
   2877 # run "make install-strip".  However 'strip' might not be the right
   2878 # tool to use in cross-compilation environments, therefore Automake
   2879 # will honor the 'STRIP' environment variable to overrule this program.
   2880 if test "$cross_compiling" != no; then
   2881   if test -n "$ac_tool_prefix"; then
   2882   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2883 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2885 printf %s "checking for $ac_word... " >&6; }
   2886 if test ${ac_cv_prog_STRIP+y}
   2887 then :
   2888   printf %s "(cached) " >&6
   2889 else case e in #(
   2890   e) if test -n "$STRIP"; then
   2891   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2892 else
   2893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2894 for as_dir in $PATH
   2895 do
   2896   IFS=$as_save_IFS
   2897   case $as_dir in #(((
   2898     '') as_dir=./ ;;
   2899     */) ;;
   2900     *) as_dir=$as_dir/ ;;
   2901   esac
   2902     for ac_exec_ext in '' $ac_executable_extensions; do
   2903   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2904     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2905     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2906     break 2
   2907   fi
   2908 done
   2909   done
   2910 IFS=$as_save_IFS
   2911 
   2912 fi ;;
   2913 esac
   2914 fi
   2915 STRIP=$ac_cv_prog_STRIP
   2916 if test -n "$STRIP"; then
   2917   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2918 printf "%s\n" "$STRIP" >&6; }
   2919 else
   2920   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2921 printf "%s\n" "no" >&6; }
   2922 fi
   2923 
   2924 
   2925 fi
   2926 if test -z "$ac_cv_prog_STRIP"; then
   2927   ac_ct_STRIP=$STRIP
   2928   # Extract the first word of "strip", so it can be a program name with args.
   2929 set dummy strip; ac_word=$2
   2930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2931 printf %s "checking for $ac_word... " >&6; }
   2932 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2933 then :
   2934   printf %s "(cached) " >&6
   2935 else case e in #(
   2936   e) if test -n "$ac_ct_STRIP"; then
   2937   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2938 else
   2939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2940 for as_dir in $PATH
   2941 do
   2942   IFS=$as_save_IFS
   2943   case $as_dir in #(((
   2944     '') as_dir=./ ;;
   2945     */) ;;
   2946     *) as_dir=$as_dir/ ;;
   2947   esac
   2948     for ac_exec_ext in '' $ac_executable_extensions; do
   2949   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2950     ac_cv_prog_ac_ct_STRIP="strip"
   2951     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2952     break 2
   2953   fi
   2954 done
   2955   done
   2956 IFS=$as_save_IFS
   2957 
   2958 fi ;;
   2959 esac
   2960 fi
   2961 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2962 if test -n "$ac_ct_STRIP"; then
   2963   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2964 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2965 else
   2966   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2967 printf "%s\n" "no" >&6; }
   2968 fi
   2969 
   2970   if test "x$ac_ct_STRIP" = x; then
   2971     STRIP=":"
   2972   else
   2973     case $cross_compiling:$ac_tool_warned in
   2974 yes:)
   2975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2976 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2977 ac_tool_warned=yes ;;
   2978 esac
   2979     STRIP=$ac_ct_STRIP
   2980   fi
   2981 else
   2982   STRIP="$ac_cv_prog_STRIP"
   2983 fi
   2984 
   2985 fi
   2986 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2987 
   2988 
   2989   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   2990 printf %s "checking for a race-free mkdir -p... " >&6; }
   2991 if test -z "$MKDIR_P"; then
   2992   if test ${ac_cv_path_mkdir+y}
   2993 then :
   2994   printf %s "(cached) " >&6
   2995 else case e in #(
   2996   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2997 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2998 do
   2999   IFS=$as_save_IFS
   3000   case $as_dir in #(((
   3001     '') as_dir=./ ;;
   3002     */) ;;
   3003     *) as_dir=$as_dir/ ;;
   3004   esac
   3005     for ac_prog in mkdir gmkdir; do
   3006 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3007 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3008 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3009 	     'mkdir ('*'coreutils) '* | \
   3010 	     *'BusyBox '* | \
   3011 	     'mkdir (fileutils) '4.1*)
   3012 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3013 	       break 3;;
   3014 	   esac
   3015 	 done
   3016        done
   3017   done
   3018 IFS=$as_save_IFS
   3019  ;;
   3020 esac
   3021 fi
   3022 
   3023   test -d ./--version && rmdir ./--version
   3024   if test ${ac_cv_path_mkdir+y}; then
   3025     MKDIR_P="$ac_cv_path_mkdir -p"
   3026   else
   3027     # As a last resort, use plain mkdir -p,
   3028     # in the hope it doesn't have the bugs of ancient mkdir.
   3029     MKDIR_P='mkdir -p'
   3030   fi
   3031 fi
   3032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3033 printf "%s\n" "$MKDIR_P" >&6; }
   3034 
   3035 for ac_prog in gawk mawk nawk awk
   3036 do
   3037   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3038 set dummy $ac_prog; ac_word=$2
   3039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3040 printf %s "checking for $ac_word... " >&6; }
   3041 if test ${ac_cv_prog_AWK+y}
   3042 then :
   3043   printf %s "(cached) " >&6
   3044 else case e in #(
   3045   e) if test -n "$AWK"; then
   3046   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3047 else
   3048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3049 for as_dir in $PATH
   3050 do
   3051   IFS=$as_save_IFS
   3052   case $as_dir in #(((
   3053     '') as_dir=./ ;;
   3054     */) ;;
   3055     *) as_dir=$as_dir/ ;;
   3056   esac
   3057     for ac_exec_ext in '' $ac_executable_extensions; do
   3058   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3059     ac_cv_prog_AWK="$ac_prog"
   3060     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3061     break 2
   3062   fi
   3063 done
   3064   done
   3065 IFS=$as_save_IFS
   3066 
   3067 fi ;;
   3068 esac
   3069 fi
   3070 AWK=$ac_cv_prog_AWK
   3071 if test -n "$AWK"; then
   3072   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3073 printf "%s\n" "$AWK" >&6; }
   3074 else
   3075   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3076 printf "%s\n" "no" >&6; }
   3077 fi
   3078 
   3079 
   3080   test -n "$AWK" && break
   3081 done
   3082 
   3083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3084 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3085 set x ${MAKE-make}
   3086 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3087 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3088 then :
   3089   printf %s "(cached) " >&6
   3090 else case e in #(
   3091   e) cat >conftest.make <<\_ACEOF
   3092 SHELL = /bin/sh
   3093 all:
   3094 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3095 _ACEOF
   3096 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3097 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3098   *@@@%%%=?*=@@@%%%*)
   3099     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3100   *)
   3101     eval ac_cv_prog_make_${ac_make}_set=no;;
   3102 esac
   3103 rm -f conftest.make ;;
   3104 esac
   3105 fi
   3106 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3107   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3108 printf "%s\n" "yes" >&6; }
   3109   SET_MAKE=
   3110 else
   3111   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3112 printf "%s\n" "no" >&6; }
   3113   SET_MAKE="MAKE=${MAKE-make}"
   3114 fi
   3115 
   3116 rm -rf .tst 2>/dev/null
   3117 mkdir .tst 2>/dev/null
   3118 if test -d .tst; then
   3119   am__leading_dot=.
   3120 else
   3121   am__leading_dot=_
   3122 fi
   3123 rmdir .tst 2>/dev/null
   3124 
   3125 # Check whether --enable-silent-rules was given.
   3126 if test ${enable_silent_rules+y}
   3127 then :
   3128   enableval=$enable_silent_rules;
   3129 fi
   3130 
   3131 case $enable_silent_rules in # (((
   3132   yes) AM_DEFAULT_VERBOSITY=0;;
   3133    no) AM_DEFAULT_VERBOSITY=1;;
   3134     *) AM_DEFAULT_VERBOSITY=1;;
   3135 esac
   3136 am_make=${MAKE-make}
   3137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3138 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3139 if test ${am_cv_make_support_nested_variables+y}
   3140 then :
   3141   printf %s "(cached) " >&6
   3142 else case e in #(
   3143   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   3144 BAR0=false
   3145 BAR1=true
   3146 V=1
   3147 am__doit:
   3148 	@$(TRUE)
   3149 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3150   am_cv_make_support_nested_variables=yes
   3151 else
   3152   am_cv_make_support_nested_variables=no
   3153 fi ;;
   3154 esac
   3155 fi
   3156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3157 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3158 if test $am_cv_make_support_nested_variables = yes; then
   3159     AM_V='$(V)'
   3160   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3161 else
   3162   AM_V=$AM_DEFAULT_VERBOSITY
   3163   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3164 fi
   3165 AM_BACKSLASH='\'
   3166 
   3167 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3168   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3169   # is not polluted with repeated "-I."
   3170   am__isrc=' -I$(srcdir)'
   3171   # test to see if srcdir already configured
   3172   if test -f $srcdir/config.status; then
   3173     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3174   fi
   3175 fi
   3176 
   3177 # test whether we have cygpath
   3178 if test -z "$CYGPATH_W"; then
   3179   if (cygpath --version) >/dev/null 2>/dev/null; then
   3180     CYGPATH_W='cygpath -w'
   3181   else
   3182     CYGPATH_W=echo
   3183   fi
   3184 fi
   3185 
   3186 
   3187 # Define the identity of the package.
   3188  PACKAGE='xf86-video-savage'
   3189  VERSION='2.4.1'
   3190 
   3191 
   3192 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3193 
   3194 
   3195 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3196 
   3197 # Some tools Automake needs.
   3198 
   3199 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3200 
   3201 
   3202 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3203 
   3204 
   3205 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3206 
   3207 
   3208 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3209 
   3210 
   3211 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3212 
   3213 # For better backward compatibility.  To be removed once Automake 1.9.x
   3214 # dies out for good.  For more background, see:
   3215 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3216 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3217 mkdir_p='$(MKDIR_P)'
   3218 
   3219 # We need awk for the "check" target (and possibly the TAP driver).  The
   3220 # system "awk" is bad on some platforms.
   3221 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3222 # in the wild :-(  We should find a proper way to deprecate it ...
   3223 AMTAR='$${TAR-tar}'
   3224 
   3225 
   3226 # We'll loop over all known methods to create a tar archive until one works.
   3227 _am_tools='gnutar  pax cpio none'
   3228 
   3229 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3230 
   3231 
   3232 
   3233 
   3234 
   3235 # Variables for tags utilities; see am/tags.am
   3236 if test -z "$CTAGS"; then
   3237   CTAGS=ctags
   3238 fi
   3239 
   3240 if test -z "$ETAGS"; then
   3241   ETAGS=etags
   3242 fi
   3243 
   3244 if test -z "$CSCOPE"; then
   3245   CSCOPE=cscope
   3246 fi
   3247 
   3248 
   3249 
   3250 # POSIX will say in a future version that running "rm -f" with no argument
   3251 # is OK; and we want to be able to make that assumption in our Makefile
   3252 # recipes.  So use an aggressive probe to check that the usage we want is
   3253 # actually supported "in the wild" to an acceptable degree.
   3254 # See automake bug#10828.
   3255 # To make any issue more visible, cause the running configure to be aborted
   3256 # by default if the 'rm' program in use doesn't match our expectations; the
   3257 # user can still override this though.
   3258 if rm -f && rm -fr && rm -rf; then : OK; else
   3259   cat >&2 <<'END'
   3260 Oops!
   3261 
   3262 Your 'rm' program seems unable to run without file operands specified
   3263 on the command line, even when the '-f' option is present.  This is contrary
   3264 to the behaviour of most rm programs out there, and not conforming with
   3265 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3266 
   3267 Please tell bug-automake@gnu.org about your system, including the value
   3268 of your $PATH and any error possibly output before this message.  This
   3269 can help us improve future automake versions.
   3270 
   3271 END
   3272   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3273     echo 'Configuration will proceed anyway, since you have set the' >&2
   3274     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3275     echo >&2
   3276   else
   3277     cat >&2 <<'END'
   3278 Aborting the configuration process, to ensure you take notice of the issue.
   3279 
   3280 You can download and install GNU coreutils to get an 'rm' implementation
   3281 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3282 
   3283 If you want to complete the configuration process using your problematic
   3284 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3285 to "yes", and re-run configure.
   3286 
   3287 END
   3288     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3289   fi
   3290 fi
   3291 
   3292 
   3293 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   3294 
   3295 
   3296 
   3297 
   3298 
   3299 
   3300 
   3301 
   3302 
   3303 
   3304 
   3305 
   3306 
   3307 
   3308 
   3309 
   3310 
   3311 
   3312 
   3313 
   3314 DEPDIR="${am__leading_dot}deps"
   3315 
   3316 ac_config_commands="$ac_config_commands depfiles"
   3317 
   3318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3319 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3320 cat > confinc.mk << 'END'
   3321 am__doit:
   3322 	@echo this is the am__doit target >confinc.out
   3323 .PHONY: am__doit
   3324 END
   3325 am__include="#"
   3326 am__quote=
   3327 # BSD make does it like this.
   3328 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3329 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3330 echo 'include confinc.mk # ignored' > confmf.GNU
   3331 _am_result=no
   3332 for s in GNU BSD; do
   3333   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3334    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3335    ac_status=$?
   3336    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3337    (exit $ac_status); }
   3338   case $?:`cat confinc.out 2>/dev/null` in #(
   3339   '0:this is the am__doit target') :
   3340     case $s in #(
   3341   BSD) :
   3342     am__include='.include' am__quote='"' ;; #(
   3343   *) :
   3344     am__include='include' am__quote='' ;;
   3345 esac ;; #(
   3346   *) :
   3347      ;;
   3348 esac
   3349   if test "$am__include" != "#"; then
   3350     _am_result="yes ($s style)"
   3351     break
   3352   fi
   3353 done
   3354 rm -f confinc.* confmf.*
   3355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3356 printf "%s\n" "${_am_result}" >&6; }
   3357 
   3358 # Check whether --enable-dependency-tracking was given.
   3359 if test ${enable_dependency_tracking+y}
   3360 then :
   3361   enableval=$enable_dependency_tracking;
   3362 fi
   3363 
   3364 if test "x$enable_dependency_tracking" != xno; then
   3365   am_depcomp="$ac_aux_dir/depcomp"
   3366   AMDEPBACKSLASH='\'
   3367   am__nodep='_no'
   3368 fi
   3369  if test "x$enable_dependency_tracking" != xno; then
   3370   AMDEP_TRUE=
   3371   AMDEP_FALSE='#'
   3372 else
   3373   AMDEP_TRUE='#'
   3374   AMDEP_FALSE=
   3375 fi
   3376 
   3377 
   3378 ac_ext=c
   3379 ac_cpp='$CPP $CPPFLAGS'
   3380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3383 if test -n "$ac_tool_prefix"; then
   3384   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3385 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3387 printf %s "checking for $ac_word... " >&6; }
   3388 if test ${ac_cv_prog_CC+y}
   3389 then :
   3390   printf %s "(cached) " >&6
   3391 else case e in #(
   3392   e) if test -n "$CC"; then
   3393   ac_cv_prog_CC="$CC" # Let the user override the test.
   3394 else
   3395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3396 for as_dir in $PATH
   3397 do
   3398   IFS=$as_save_IFS
   3399   case $as_dir in #(((
   3400     '') as_dir=./ ;;
   3401     */) ;;
   3402     *) as_dir=$as_dir/ ;;
   3403   esac
   3404     for ac_exec_ext in '' $ac_executable_extensions; do
   3405   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3406     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3407     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3408     break 2
   3409   fi
   3410 done
   3411   done
   3412 IFS=$as_save_IFS
   3413 
   3414 fi ;;
   3415 esac
   3416 fi
   3417 CC=$ac_cv_prog_CC
   3418 if test -n "$CC"; then
   3419   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3420 printf "%s\n" "$CC" >&6; }
   3421 else
   3422   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3423 printf "%s\n" "no" >&6; }
   3424 fi
   3425 
   3426 
   3427 fi
   3428 if test -z "$ac_cv_prog_CC"; then
   3429   ac_ct_CC=$CC
   3430   # Extract the first word of "gcc", so it can be a program name with args.
   3431 set dummy gcc; ac_word=$2
   3432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3433 printf %s "checking for $ac_word... " >&6; }
   3434 if test ${ac_cv_prog_ac_ct_CC+y}
   3435 then :
   3436   printf %s "(cached) " >&6
   3437 else case e in #(
   3438   e) if test -n "$ac_ct_CC"; then
   3439   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3440 else
   3441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3442 for as_dir in $PATH
   3443 do
   3444   IFS=$as_save_IFS
   3445   case $as_dir in #(((
   3446     '') as_dir=./ ;;
   3447     */) ;;
   3448     *) as_dir=$as_dir/ ;;
   3449   esac
   3450     for ac_exec_ext in '' $ac_executable_extensions; do
   3451   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3452     ac_cv_prog_ac_ct_CC="gcc"
   3453     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3454     break 2
   3455   fi
   3456 done
   3457   done
   3458 IFS=$as_save_IFS
   3459 
   3460 fi ;;
   3461 esac
   3462 fi
   3463 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3464 if test -n "$ac_ct_CC"; then
   3465   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3466 printf "%s\n" "$ac_ct_CC" >&6; }
   3467 else
   3468   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3469 printf "%s\n" "no" >&6; }
   3470 fi
   3471 
   3472   if test "x$ac_ct_CC" = x; then
   3473     CC=""
   3474   else
   3475     case $cross_compiling:$ac_tool_warned in
   3476 yes:)
   3477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3478 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3479 ac_tool_warned=yes ;;
   3480 esac
   3481     CC=$ac_ct_CC
   3482   fi
   3483 else
   3484   CC="$ac_cv_prog_CC"
   3485 fi
   3486 
   3487 if test -z "$CC"; then
   3488           if test -n "$ac_tool_prefix"; then
   3489     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3490 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3492 printf %s "checking for $ac_word... " >&6; }
   3493 if test ${ac_cv_prog_CC+y}
   3494 then :
   3495   printf %s "(cached) " >&6
   3496 else case e in #(
   3497   e) if test -n "$CC"; then
   3498   ac_cv_prog_CC="$CC" # Let the user override the test.
   3499 else
   3500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3501 for as_dir in $PATH
   3502 do
   3503   IFS=$as_save_IFS
   3504   case $as_dir in #(((
   3505     '') as_dir=./ ;;
   3506     */) ;;
   3507     *) as_dir=$as_dir/ ;;
   3508   esac
   3509     for ac_exec_ext in '' $ac_executable_extensions; do
   3510   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3511     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3512     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3513     break 2
   3514   fi
   3515 done
   3516   done
   3517 IFS=$as_save_IFS
   3518 
   3519 fi ;;
   3520 esac
   3521 fi
   3522 CC=$ac_cv_prog_CC
   3523 if test -n "$CC"; then
   3524   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3525 printf "%s\n" "$CC" >&6; }
   3526 else
   3527   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3528 printf "%s\n" "no" >&6; }
   3529 fi
   3530 
   3531 
   3532   fi
   3533 fi
   3534 if test -z "$CC"; then
   3535   # Extract the first word of "cc", so it can be a program name with args.
   3536 set dummy cc; ac_word=$2
   3537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3538 printf %s "checking for $ac_word... " >&6; }
   3539 if test ${ac_cv_prog_CC+y}
   3540 then :
   3541   printf %s "(cached) " >&6
   3542 else case e in #(
   3543   e) if test -n "$CC"; then
   3544   ac_cv_prog_CC="$CC" # Let the user override the test.
   3545 else
   3546   ac_prog_rejected=no
   3547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3548 for as_dir in $PATH
   3549 do
   3550   IFS=$as_save_IFS
   3551   case $as_dir in #(((
   3552     '') as_dir=./ ;;
   3553     */) ;;
   3554     *) as_dir=$as_dir/ ;;
   3555   esac
   3556     for ac_exec_ext in '' $ac_executable_extensions; do
   3557   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3558     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3559        ac_prog_rejected=yes
   3560        continue
   3561      fi
   3562     ac_cv_prog_CC="cc"
   3563     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3564     break 2
   3565   fi
   3566 done
   3567   done
   3568 IFS=$as_save_IFS
   3569 
   3570 if test $ac_prog_rejected = yes; then
   3571   # We found a bogon in the path, so make sure we never use it.
   3572   set dummy $ac_cv_prog_CC
   3573   shift
   3574   if test $# != 0; then
   3575     # We chose a different compiler from the bogus one.
   3576     # However, it has the same basename, so the bogon will be chosen
   3577     # first if we set CC to just the basename; use the full file name.
   3578     shift
   3579     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3580   fi
   3581 fi
   3582 fi ;;
   3583 esac
   3584 fi
   3585 CC=$ac_cv_prog_CC
   3586 if test -n "$CC"; then
   3587   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3588 printf "%s\n" "$CC" >&6; }
   3589 else
   3590   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3591 printf "%s\n" "no" >&6; }
   3592 fi
   3593 
   3594 
   3595 fi
   3596 if test -z "$CC"; then
   3597   if test -n "$ac_tool_prefix"; then
   3598   for ac_prog in cl.exe
   3599   do
   3600     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3601 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3603 printf %s "checking for $ac_word... " >&6; }
   3604 if test ${ac_cv_prog_CC+y}
   3605 then :
   3606   printf %s "(cached) " >&6
   3607 else case e in #(
   3608   e) if test -n "$CC"; then
   3609   ac_cv_prog_CC="$CC" # Let the user override the test.
   3610 else
   3611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3612 for as_dir in $PATH
   3613 do
   3614   IFS=$as_save_IFS
   3615   case $as_dir in #(((
   3616     '') as_dir=./ ;;
   3617     */) ;;
   3618     *) as_dir=$as_dir/ ;;
   3619   esac
   3620     for ac_exec_ext in '' $ac_executable_extensions; do
   3621   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3622     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3623     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3624     break 2
   3625   fi
   3626 done
   3627   done
   3628 IFS=$as_save_IFS
   3629 
   3630 fi ;;
   3631 esac
   3632 fi
   3633 CC=$ac_cv_prog_CC
   3634 if test -n "$CC"; then
   3635   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3636 printf "%s\n" "$CC" >&6; }
   3637 else
   3638   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3639 printf "%s\n" "no" >&6; }
   3640 fi
   3641 
   3642 
   3643     test -n "$CC" && break
   3644   done
   3645 fi
   3646 if test -z "$CC"; then
   3647   ac_ct_CC=$CC
   3648   for ac_prog in cl.exe
   3649 do
   3650   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3651 set dummy $ac_prog; ac_word=$2
   3652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3653 printf %s "checking for $ac_word... " >&6; }
   3654 if test ${ac_cv_prog_ac_ct_CC+y}
   3655 then :
   3656   printf %s "(cached) " >&6
   3657 else case e in #(
   3658   e) if test -n "$ac_ct_CC"; then
   3659   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3660 else
   3661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3662 for as_dir in $PATH
   3663 do
   3664   IFS=$as_save_IFS
   3665   case $as_dir in #(((
   3666     '') as_dir=./ ;;
   3667     */) ;;
   3668     *) as_dir=$as_dir/ ;;
   3669   esac
   3670     for ac_exec_ext in '' $ac_executable_extensions; do
   3671   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3672     ac_cv_prog_ac_ct_CC="$ac_prog"
   3673     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3674     break 2
   3675   fi
   3676 done
   3677   done
   3678 IFS=$as_save_IFS
   3679 
   3680 fi ;;
   3681 esac
   3682 fi
   3683 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3684 if test -n "$ac_ct_CC"; then
   3685   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3686 printf "%s\n" "$ac_ct_CC" >&6; }
   3687 else
   3688   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3689 printf "%s\n" "no" >&6; }
   3690 fi
   3691 
   3692 
   3693   test -n "$ac_ct_CC" && break
   3694 done
   3695 
   3696   if test "x$ac_ct_CC" = x; then
   3697     CC=""
   3698   else
   3699     case $cross_compiling:$ac_tool_warned in
   3700 yes:)
   3701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3702 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3703 ac_tool_warned=yes ;;
   3704 esac
   3705     CC=$ac_ct_CC
   3706   fi
   3707 fi
   3708 
   3709 fi
   3710 if test -z "$CC"; then
   3711   if test -n "$ac_tool_prefix"; then
   3712   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3713 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3715 printf %s "checking for $ac_word... " >&6; }
   3716 if test ${ac_cv_prog_CC+y}
   3717 then :
   3718   printf %s "(cached) " >&6
   3719 else case e in #(
   3720   e) if test -n "$CC"; then
   3721   ac_cv_prog_CC="$CC" # Let the user override the test.
   3722 else
   3723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3724 for as_dir in $PATH
   3725 do
   3726   IFS=$as_save_IFS
   3727   case $as_dir in #(((
   3728     '') as_dir=./ ;;
   3729     */) ;;
   3730     *) as_dir=$as_dir/ ;;
   3731   esac
   3732     for ac_exec_ext in '' $ac_executable_extensions; do
   3733   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3734     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3735     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3736     break 2
   3737   fi
   3738 done
   3739   done
   3740 IFS=$as_save_IFS
   3741 
   3742 fi ;;
   3743 esac
   3744 fi
   3745 CC=$ac_cv_prog_CC
   3746 if test -n "$CC"; then
   3747   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3748 printf "%s\n" "$CC" >&6; }
   3749 else
   3750   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3751 printf "%s\n" "no" >&6; }
   3752 fi
   3753 
   3754 
   3755 fi
   3756 if test -z "$ac_cv_prog_CC"; then
   3757   ac_ct_CC=$CC
   3758   # Extract the first word of "clang", so it can be a program name with args.
   3759 set dummy clang; ac_word=$2
   3760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3761 printf %s "checking for $ac_word... " >&6; }
   3762 if test ${ac_cv_prog_ac_ct_CC+y}
   3763 then :
   3764   printf %s "(cached) " >&6
   3765 else case e in #(
   3766   e) if test -n "$ac_ct_CC"; then
   3767   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3768 else
   3769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3770 for as_dir in $PATH
   3771 do
   3772   IFS=$as_save_IFS
   3773   case $as_dir in #(((
   3774     '') as_dir=./ ;;
   3775     */) ;;
   3776     *) as_dir=$as_dir/ ;;
   3777   esac
   3778     for ac_exec_ext in '' $ac_executable_extensions; do
   3779   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3780     ac_cv_prog_ac_ct_CC="clang"
   3781     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3782     break 2
   3783   fi
   3784 done
   3785   done
   3786 IFS=$as_save_IFS
   3787 
   3788 fi ;;
   3789 esac
   3790 fi
   3791 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3792 if test -n "$ac_ct_CC"; then
   3793   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3794 printf "%s\n" "$ac_ct_CC" >&6; }
   3795 else
   3796   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3797 printf "%s\n" "no" >&6; }
   3798 fi
   3799 
   3800   if test "x$ac_ct_CC" = x; then
   3801     CC=""
   3802   else
   3803     case $cross_compiling:$ac_tool_warned in
   3804 yes:)
   3805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3806 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3807 ac_tool_warned=yes ;;
   3808 esac
   3809     CC=$ac_ct_CC
   3810   fi
   3811 else
   3812   CC="$ac_cv_prog_CC"
   3813 fi
   3814 
   3815 fi
   3816 
   3817 
   3818 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3819 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3820 as_fn_error $? "no acceptable C compiler found in \$PATH
   3821 See 'config.log' for more details" "$LINENO" 5; }
   3822 
   3823 # Provide some information about the compiler.
   3824 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3825 set X $ac_compile
   3826 ac_compiler=$2
   3827 for ac_option in --version -v -V -qversion -version; do
   3828   { { ac_try="$ac_compiler $ac_option >&5"
   3829 case "(($ac_try" in
   3830   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3831   *) ac_try_echo=$ac_try;;
   3832 esac
   3833 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3834 printf "%s\n" "$ac_try_echo"; } >&5
   3835   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3836   ac_status=$?
   3837   if test -s conftest.err; then
   3838     sed '10a\
   3839 ... rest of stderr output deleted ...
   3840          10q' conftest.err >conftest.er1
   3841     cat conftest.er1 >&5
   3842   fi
   3843   rm -f conftest.er1 conftest.err
   3844   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3845   test $ac_status = 0; }
   3846 done
   3847 
   3848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3849 /* end confdefs.h.  */
   3850 
   3851 int
   3852 main (void)
   3853 {
   3854 
   3855   ;
   3856   return 0;
   3857 }
   3858 _ACEOF
   3859 ac_clean_files_save=$ac_clean_files
   3860 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3861 # Try to create an executable without -o first, disregard a.out.
   3862 # It will help us diagnose broken compilers, and finding out an intuition
   3863 # of exeext.
   3864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3865 printf %s "checking whether the C compiler works... " >&6; }
   3866 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3867 
   3868 # The possible output files:
   3869 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3870 
   3871 ac_rmfiles=
   3872 for ac_file in $ac_files
   3873 do
   3874   case $ac_file in
   3875     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3876     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3877   esac
   3878 done
   3879 rm -f $ac_rmfiles
   3880 
   3881 if { { ac_try="$ac_link_default"
   3882 case "(($ac_try" in
   3883   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3884   *) ac_try_echo=$ac_try;;
   3885 esac
   3886 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3887 printf "%s\n" "$ac_try_echo"; } >&5
   3888   (eval "$ac_link_default") 2>&5
   3889   ac_status=$?
   3890   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3891   test $ac_status = 0; }
   3892 then :
   3893   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   3894 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   3895 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3896 # so that the user can short-circuit this test for compilers unknown to
   3897 # Autoconf.
   3898 for ac_file in $ac_files ''
   3899 do
   3900   test -f "$ac_file" || continue
   3901   case $ac_file in
   3902     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3903 	;;
   3904     [ab].out )
   3905 	# We found the default executable, but exeext='' is most
   3906 	# certainly right.
   3907 	break;;
   3908     *.* )
   3909 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3910 	then :; else
   3911 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3912 	fi
   3913 	# We set ac_cv_exeext here because the later test for it is not
   3914 	# safe: cross compilers may not add the suffix if given an '-o'
   3915 	# argument, so we may need to know it at that point already.
   3916 	# Even if this section looks crufty: it has the advantage of
   3917 	# actually working.
   3918 	break;;
   3919     * )
   3920 	break;;
   3921   esac
   3922 done
   3923 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3924 
   3925 else case e in #(
   3926   e) ac_file='' ;;
   3927 esac
   3928 fi
   3929 if test -z "$ac_file"
   3930 then :
   3931   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3932 printf "%s\n" "no" >&6; }
   3933 printf "%s\n" "$as_me: failed program was:" >&5
   3934 sed 's/^/| /' conftest.$ac_ext >&5
   3935 
   3936 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3937 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3938 as_fn_error 77 "C compiler cannot create executables
   3939 See 'config.log' for more details" "$LINENO" 5; }
   3940 else case e in #(
   3941   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3942 printf "%s\n" "yes" >&6; } ;;
   3943 esac
   3944 fi
   3945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3946 printf %s "checking for C compiler default output file name... " >&6; }
   3947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3948 printf "%s\n" "$ac_file" >&6; }
   3949 ac_exeext=$ac_cv_exeext
   3950 
   3951 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3952 ac_clean_files=$ac_clean_files_save
   3953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3954 printf %s "checking for suffix of executables... " >&6; }
   3955 if { { ac_try="$ac_link"
   3956 case "(($ac_try" in
   3957   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3958   *) ac_try_echo=$ac_try;;
   3959 esac
   3960 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3961 printf "%s\n" "$ac_try_echo"; } >&5
   3962   (eval "$ac_link") 2>&5
   3963   ac_status=$?
   3964   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3965   test $ac_status = 0; }
   3966 then :
   3967   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   3968 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   3969 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   3970 # 'rm'.
   3971 for ac_file in conftest.exe conftest conftest.*; do
   3972   test -f "$ac_file" || continue
   3973   case $ac_file in
   3974     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3975     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3976 	  break;;
   3977     * ) break;;
   3978   esac
   3979 done
   3980 else case e in #(
   3981   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3982 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3983 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3984 See 'config.log' for more details" "$LINENO" 5; } ;;
   3985 esac
   3986 fi
   3987 rm -f conftest conftest$ac_cv_exeext
   3988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3989 printf "%s\n" "$ac_cv_exeext" >&6; }
   3990 
   3991 rm -f conftest.$ac_ext
   3992 EXEEXT=$ac_cv_exeext
   3993 ac_exeext=$EXEEXT
   3994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3995 /* end confdefs.h.  */
   3996 #include <stdio.h>
   3997 int
   3998 main (void)
   3999 {
   4000 FILE *f = fopen ("conftest.out", "w");
   4001  if (!f)
   4002   return 1;
   4003  return ferror (f) || fclose (f) != 0;
   4004 
   4005   ;
   4006   return 0;
   4007 }
   4008 _ACEOF
   4009 ac_clean_files="$ac_clean_files conftest.out"
   4010 # Check that the compiler produces executables we can run.  If not, either
   4011 # the compiler is broken, or we cross compile.
   4012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4013 printf %s "checking whether we are cross compiling... " >&6; }
   4014 if test "$cross_compiling" != yes; then
   4015   { { ac_try="$ac_link"
   4016 case "(($ac_try" in
   4017   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4018   *) ac_try_echo=$ac_try;;
   4019 esac
   4020 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4021 printf "%s\n" "$ac_try_echo"; } >&5
   4022   (eval "$ac_link") 2>&5
   4023   ac_status=$?
   4024   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4025   test $ac_status = 0; }
   4026   if { ac_try='./conftest$ac_cv_exeext'
   4027   { { case "(($ac_try" in
   4028   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4029   *) ac_try_echo=$ac_try;;
   4030 esac
   4031 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4032 printf "%s\n" "$ac_try_echo"; } >&5
   4033   (eval "$ac_try") 2>&5
   4034   ac_status=$?
   4035   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4036   test $ac_status = 0; }; }; then
   4037     cross_compiling=no
   4038   else
   4039     if test "$cross_compiling" = maybe; then
   4040 	cross_compiling=yes
   4041     else
   4042 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4043 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4044 as_fn_error 77 "cannot run C compiled programs.
   4045 If you meant to cross compile, use '--host'.
   4046 See 'config.log' for more details" "$LINENO" 5; }
   4047     fi
   4048   fi
   4049 fi
   4050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4051 printf "%s\n" "$cross_compiling" >&6; }
   4052 
   4053 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   4054   conftest.o conftest.obj conftest.out
   4055 ac_clean_files=$ac_clean_files_save
   4056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4057 printf %s "checking for suffix of object files... " >&6; }
   4058 if test ${ac_cv_objext+y}
   4059 then :
   4060   printf %s "(cached) " >&6
   4061 else case e in #(
   4062   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4063 /* end confdefs.h.  */
   4064 
   4065 int
   4066 main (void)
   4067 {
   4068 
   4069   ;
   4070   return 0;
   4071 }
   4072 _ACEOF
   4073 rm -f conftest.o conftest.obj
   4074 if { { ac_try="$ac_compile"
   4075 case "(($ac_try" in
   4076   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4077   *) ac_try_echo=$ac_try;;
   4078 esac
   4079 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4080 printf "%s\n" "$ac_try_echo"; } >&5
   4081   (eval "$ac_compile") 2>&5
   4082   ac_status=$?
   4083   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4084   test $ac_status = 0; }
   4085 then :
   4086   for ac_file in conftest.o conftest.obj conftest.*; do
   4087   test -f "$ac_file" || continue;
   4088   case $ac_file in
   4089     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4090     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4091        break;;
   4092   esac
   4093 done
   4094 else case e in #(
   4095   e) printf "%s\n" "$as_me: failed program was:" >&5
   4096 sed 's/^/| /' conftest.$ac_ext >&5
   4097 
   4098 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4099 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4100 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4101 See 'config.log' for more details" "$LINENO" 5; } ;;
   4102 esac
   4103 fi
   4104 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   4105 esac
   4106 fi
   4107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4108 printf "%s\n" "$ac_cv_objext" >&6; }
   4109 OBJEXT=$ac_cv_objext
   4110 ac_objext=$OBJEXT
   4111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4112 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4113 if test ${ac_cv_c_compiler_gnu+y}
   4114 then :
   4115   printf %s "(cached) " >&6
   4116 else case e in #(
   4117   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4118 /* end confdefs.h.  */
   4119 
   4120 int
   4121 main (void)
   4122 {
   4123 #ifndef __GNUC__
   4124        choke me
   4125 #endif
   4126 
   4127   ;
   4128   return 0;
   4129 }
   4130 _ACEOF
   4131 if ac_fn_c_try_compile "$LINENO"
   4132 then :
   4133   ac_compiler_gnu=yes
   4134 else case e in #(
   4135   e) ac_compiler_gnu=no ;;
   4136 esac
   4137 fi
   4138 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4139 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4140  ;;
   4141 esac
   4142 fi
   4143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4144 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4146 
   4147 if test $ac_compiler_gnu = yes; then
   4148   GCC=yes
   4149 else
   4150   GCC=
   4151 fi
   4152 ac_test_CFLAGS=${CFLAGS+y}
   4153 ac_save_CFLAGS=$CFLAGS
   4154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4155 printf %s "checking whether $CC accepts -g... " >&6; }
   4156 if test ${ac_cv_prog_cc_g+y}
   4157 then :
   4158   printf %s "(cached) " >&6
   4159 else case e in #(
   4160   e) ac_save_c_werror_flag=$ac_c_werror_flag
   4161    ac_c_werror_flag=yes
   4162    ac_cv_prog_cc_g=no
   4163    CFLAGS="-g"
   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   ac_cv_prog_cc_g=yes
   4178 else case e in #(
   4179   e) CFLAGS=""
   4180       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4181 /* end confdefs.h.  */
   4182 
   4183 int
   4184 main (void)
   4185 {
   4186 
   4187   ;
   4188   return 0;
   4189 }
   4190 _ACEOF
   4191 if ac_fn_c_try_compile "$LINENO"
   4192 then :
   4193 
   4194 else case e in #(
   4195   e) ac_c_werror_flag=$ac_save_c_werror_flag
   4196 	 CFLAGS="-g"
   4197 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4198 /* end confdefs.h.  */
   4199 
   4200 int
   4201 main (void)
   4202 {
   4203 
   4204   ;
   4205   return 0;
   4206 }
   4207 _ACEOF
   4208 if ac_fn_c_try_compile "$LINENO"
   4209 then :
   4210   ac_cv_prog_cc_g=yes
   4211 fi
   4212 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4213 esac
   4214 fi
   4215 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4216 esac
   4217 fi
   4218 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4219    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   4220 esac
   4221 fi
   4222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4223 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4224 if test $ac_test_CFLAGS; then
   4225   CFLAGS=$ac_save_CFLAGS
   4226 elif test $ac_cv_prog_cc_g = yes; then
   4227   if test "$GCC" = yes; then
   4228     CFLAGS="-g -O2"
   4229   else
   4230     CFLAGS="-g"
   4231   fi
   4232 else
   4233   if test "$GCC" = yes; then
   4234     CFLAGS="-O2"
   4235   else
   4236     CFLAGS=
   4237   fi
   4238 fi
   4239 ac_prog_cc_stdc=no
   4240 if test x$ac_prog_cc_stdc = xno
   4241 then :
   4242   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4243 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4244 if test ${ac_cv_prog_cc_c11+y}
   4245 then :
   4246   printf %s "(cached) " >&6
   4247 else case e in #(
   4248   e) ac_cv_prog_cc_c11=no
   4249 ac_save_CC=$CC
   4250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4251 /* end confdefs.h.  */
   4252 $ac_c_conftest_c11_program
   4253 _ACEOF
   4254 for ac_arg in '' -std=gnu11
   4255 do
   4256   CC="$ac_save_CC $ac_arg"
   4257   if ac_fn_c_try_compile "$LINENO"
   4258 then :
   4259   ac_cv_prog_cc_c11=$ac_arg
   4260 fi
   4261 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4262   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4263 done
   4264 rm -f conftest.$ac_ext
   4265 CC=$ac_save_CC ;;
   4266 esac
   4267 fi
   4268 
   4269 if test "x$ac_cv_prog_cc_c11" = xno
   4270 then :
   4271   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4272 printf "%s\n" "unsupported" >&6; }
   4273 else case e in #(
   4274   e) if test "x$ac_cv_prog_cc_c11" = x
   4275 then :
   4276   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4277 printf "%s\n" "none needed" >&6; }
   4278 else case e in #(
   4279   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4280 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4281      CC="$CC $ac_cv_prog_cc_c11" ;;
   4282 esac
   4283 fi
   4284   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4285   ac_prog_cc_stdc=c11 ;;
   4286 esac
   4287 fi
   4288 fi
   4289 if test x$ac_prog_cc_stdc = xno
   4290 then :
   4291   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4292 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4293 if test ${ac_cv_prog_cc_c99+y}
   4294 then :
   4295   printf %s "(cached) " >&6
   4296 else case e in #(
   4297   e) ac_cv_prog_cc_c99=no
   4298 ac_save_CC=$CC
   4299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4300 /* end confdefs.h.  */
   4301 $ac_c_conftest_c99_program
   4302 _ACEOF
   4303 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4304 do
   4305   CC="$ac_save_CC $ac_arg"
   4306   if ac_fn_c_try_compile "$LINENO"
   4307 then :
   4308   ac_cv_prog_cc_c99=$ac_arg
   4309 fi
   4310 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4311   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4312 done
   4313 rm -f conftest.$ac_ext
   4314 CC=$ac_save_CC ;;
   4315 esac
   4316 fi
   4317 
   4318 if test "x$ac_cv_prog_cc_c99" = xno
   4319 then :
   4320   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4321 printf "%s\n" "unsupported" >&6; }
   4322 else case e in #(
   4323   e) if test "x$ac_cv_prog_cc_c99" = x
   4324 then :
   4325   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4326 printf "%s\n" "none needed" >&6; }
   4327 else case e in #(
   4328   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4329 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4330      CC="$CC $ac_cv_prog_cc_c99" ;;
   4331 esac
   4332 fi
   4333   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4334   ac_prog_cc_stdc=c99 ;;
   4335 esac
   4336 fi
   4337 fi
   4338 if test x$ac_prog_cc_stdc = xno
   4339 then :
   4340   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4341 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4342 if test ${ac_cv_prog_cc_c89+y}
   4343 then :
   4344   printf %s "(cached) " >&6
   4345 else case e in #(
   4346   e) ac_cv_prog_cc_c89=no
   4347 ac_save_CC=$CC
   4348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4349 /* end confdefs.h.  */
   4350 $ac_c_conftest_c89_program
   4351 _ACEOF
   4352 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4353 do
   4354   CC="$ac_save_CC $ac_arg"
   4355   if ac_fn_c_try_compile "$LINENO"
   4356 then :
   4357   ac_cv_prog_cc_c89=$ac_arg
   4358 fi
   4359 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4360   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4361 done
   4362 rm -f conftest.$ac_ext
   4363 CC=$ac_save_CC ;;
   4364 esac
   4365 fi
   4366 
   4367 if test "x$ac_cv_prog_cc_c89" = xno
   4368 then :
   4369   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4370 printf "%s\n" "unsupported" >&6; }
   4371 else case e in #(
   4372   e) if test "x$ac_cv_prog_cc_c89" = x
   4373 then :
   4374   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4375 printf "%s\n" "none needed" >&6; }
   4376 else case e in #(
   4377   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4378 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4379      CC="$CC $ac_cv_prog_cc_c89" ;;
   4380 esac
   4381 fi
   4382   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4383   ac_prog_cc_stdc=c89 ;;
   4384 esac
   4385 fi
   4386 fi
   4387 
   4388 ac_ext=c
   4389 ac_cpp='$CPP $CPPFLAGS'
   4390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4393 
   4394 
   4395   ac_ext=c
   4396 ac_cpp='$CPP $CPPFLAGS'
   4397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4401 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4402 if test ${am_cv_prog_cc_c_o+y}
   4403 then :
   4404   printf %s "(cached) " >&6
   4405 else case e in #(
   4406   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4407 /* end confdefs.h.  */
   4408 
   4409 int
   4410 main (void)
   4411 {
   4412 
   4413   ;
   4414   return 0;
   4415 }
   4416 _ACEOF
   4417   # Make sure it works both with $CC and with simple cc.
   4418   # Following AC_PROG_CC_C_O, we do the test twice because some
   4419   # compilers refuse to overwrite an existing .o file with -o,
   4420   # though they will create one.
   4421   am_cv_prog_cc_c_o=yes
   4422   for am_i in 1 2; do
   4423     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4424    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4425    ac_status=$?
   4426    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4427    (exit $ac_status); } \
   4428          && test -f conftest2.$ac_objext; then
   4429       : OK
   4430     else
   4431       am_cv_prog_cc_c_o=no
   4432       break
   4433     fi
   4434   done
   4435   rm -f core conftest*
   4436   unset am_i ;;
   4437 esac
   4438 fi
   4439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4440 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4441 if test "$am_cv_prog_cc_c_o" != yes; then
   4442    # Losing compiler, so override with the script.
   4443    # FIXME: It is wrong to rewrite CC.
   4444    # But if we don't then we get into trouble of one sort or another.
   4445    # A longer-term fix would be to have automake use am__CC in this case,
   4446    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4447    CC="$am_aux_dir/compile $CC"
   4448 fi
   4449 ac_ext=c
   4450 ac_cpp='$CPP $CPPFLAGS'
   4451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4454 
   4455 
   4456 depcc="$CC"   am_compiler_list=
   4457 
   4458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4459 printf %s "checking dependency style of $depcc... " >&6; }
   4460 if test ${am_cv_CC_dependencies_compiler_type+y}
   4461 then :
   4462   printf %s "(cached) " >&6
   4463 else case e in #(
   4464   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4465   # We make a subdir and do the tests there.  Otherwise we can end up
   4466   # making bogus files that we don't know about and never remove.  For
   4467   # instance it was reported that on HP-UX the gcc test will end up
   4468   # making a dummy file named 'D' -- because '-MD' means "put the output
   4469   # in D".
   4470   rm -rf conftest.dir
   4471   mkdir conftest.dir
   4472   # Copy depcomp to subdir because otherwise we won't find it if we're
   4473   # using a relative directory.
   4474   cp "$am_depcomp" conftest.dir
   4475   cd conftest.dir
   4476   # We will build objects and dependencies in a subdirectory because
   4477   # it helps to detect inapplicable dependency modes.  For instance
   4478   # both Tru64's cc and ICC support -MD to output dependencies as a
   4479   # side effect of compilation, but ICC will put the dependencies in
   4480   # the current directory while Tru64 will put them in the object
   4481   # directory.
   4482   mkdir sub
   4483 
   4484   am_cv_CC_dependencies_compiler_type=none
   4485   if test "$am_compiler_list" = ""; then
   4486      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4487   fi
   4488   am__universal=false
   4489   case " $depcc " in #(
   4490      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4491      esac
   4492 
   4493   for depmode in $am_compiler_list; do
   4494     # Setup a source with many dependencies, because some compilers
   4495     # like to wrap large dependency lists on column 80 (with \), and
   4496     # we should not choose a depcomp mode which is confused by this.
   4497     #
   4498     # We need to recreate these files for each test, as the compiler may
   4499     # overwrite some of them when testing with obscure command lines.
   4500     # This happens at least with the AIX C compiler.
   4501     : > sub/conftest.c
   4502     for i in 1 2 3 4 5 6; do
   4503       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4504       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4505       # Solaris 10 /bin/sh.
   4506       echo '/* dummy */' > sub/conftst$i.h
   4507     done
   4508     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4509 
   4510     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4511     # mode.  It turns out that the SunPro C++ compiler does not properly
   4512     # handle '-M -o', and we need to detect this.  Also, some Intel
   4513     # versions had trouble with output in subdirs.
   4514     am__obj=sub/conftest.${OBJEXT-o}
   4515     am__minus_obj="-o $am__obj"
   4516     case $depmode in
   4517     gcc)
   4518       # This depmode causes a compiler race in universal mode.
   4519       test "$am__universal" = false || continue
   4520       ;;
   4521     nosideeffect)
   4522       # After this tag, mechanisms are not by side-effect, so they'll
   4523       # only be used when explicitly requested.
   4524       if test "x$enable_dependency_tracking" = xyes; then
   4525 	continue
   4526       else
   4527 	break
   4528       fi
   4529       ;;
   4530     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4531       # This compiler won't grok '-c -o', but also, the minuso test has
   4532       # not run yet.  These depmodes are late enough in the game, and
   4533       # so weak that their functioning should not be impacted.
   4534       am__obj=conftest.${OBJEXT-o}
   4535       am__minus_obj=
   4536       ;;
   4537     none) break ;;
   4538     esac
   4539     if depmode=$depmode \
   4540        source=sub/conftest.c object=$am__obj \
   4541        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4542        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4543          >/dev/null 2>conftest.err &&
   4544        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4545        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4546        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4547        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4548       # icc doesn't choke on unknown options, it will just issue warnings
   4549       # or remarks (even with -Werror).  So we grep stderr for any message
   4550       # that says an option was ignored or not supported.
   4551       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4552       #   icc: Command line warning: ignoring option '-M'; no argument required
   4553       # The diagnosis changed in icc 8.0:
   4554       #   icc: Command line remark: option '-MP' not supported
   4555       if (grep 'ignoring option' conftest.err ||
   4556           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4557         am_cv_CC_dependencies_compiler_type=$depmode
   4558         break
   4559       fi
   4560     fi
   4561   done
   4562 
   4563   cd ..
   4564   rm -rf conftest.dir
   4565 else
   4566   am_cv_CC_dependencies_compiler_type=none
   4567 fi
   4568  ;;
   4569 esac
   4570 fi
   4571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4572 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4573 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4574 
   4575  if
   4576   test "x$enable_dependency_tracking" != xno \
   4577   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4578   am__fastdepCC_TRUE=
   4579   am__fastdepCC_FALSE='#'
   4580 else
   4581   am__fastdepCC_TRUE='#'
   4582   am__fastdepCC_FALSE=
   4583 fi
   4584 
   4585 
   4586 
   4587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4588 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4589 if test ${ac_cv_c_undeclared_builtin_options+y}
   4590 then :
   4591   printf %s "(cached) " >&6
   4592 else case e in #(
   4593   e) ac_save_CFLAGS=$CFLAGS
   4594    ac_cv_c_undeclared_builtin_options='cannot detect'
   4595    for ac_arg in '' -fno-builtin; do
   4596      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4597      # This test program should *not* compile successfully.
   4598      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4599 /* end confdefs.h.  */
   4600 
   4601 int
   4602 main (void)
   4603 {
   4604 (void) strchr;
   4605   ;
   4606   return 0;
   4607 }
   4608 _ACEOF
   4609 if ac_fn_c_try_compile "$LINENO"
   4610 then :
   4611 
   4612 else case e in #(
   4613   e) # This test program should compile successfully.
   4614         # No library function is consistently available on
   4615         # freestanding implementations, so test against a dummy
   4616         # declaration.  Include always-available headers on the
   4617         # off chance that they somehow elicit warnings.
   4618         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4619 /* end confdefs.h.  */
   4620 #include <float.h>
   4621 #include <limits.h>
   4622 #include <stdarg.h>
   4623 #include <stddef.h>
   4624 extern void ac_decl (int, char *);
   4625 
   4626 int
   4627 main (void)
   4628 {
   4629 (void) ac_decl (0, (char *) 0);
   4630   (void) ac_decl;
   4631 
   4632   ;
   4633   return 0;
   4634 }
   4635 _ACEOF
   4636 if ac_fn_c_try_compile "$LINENO"
   4637 then :
   4638   if test x"$ac_arg" = x
   4639 then :
   4640   ac_cv_c_undeclared_builtin_options='none needed'
   4641 else case e in #(
   4642   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   4643 esac
   4644 fi
   4645           break
   4646 fi
   4647 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4648 esac
   4649 fi
   4650 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4651     done
   4652     CFLAGS=$ac_save_CFLAGS
   4653    ;;
   4654 esac
   4655 fi
   4656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4657 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4658   case $ac_cv_c_undeclared_builtin_options in #(
   4659   'cannot detect') :
   4660     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4661 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4662 as_fn_error $? "cannot make $CC report undeclared builtins
   4663 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   4664   'none needed') :
   4665     ac_c_undeclared_builtin_options='' ;; #(
   4666   *) :
   4667     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4668 esac
   4669 
   4670 ac_header= ac_cache=
   4671 for ac_item in $ac_header_c_list
   4672 do
   4673   if test $ac_cache; then
   4674     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4675     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4676       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4677     fi
   4678     ac_header= ac_cache=
   4679   elif test $ac_header; then
   4680     ac_cache=$ac_item
   4681   else
   4682     ac_header=$ac_item
   4683   fi
   4684 done
   4685 
   4686 
   4687 
   4688 
   4689 
   4690 
   4691 
   4692 
   4693 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4694 then :
   4695 
   4696 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4697 
   4698 fi
   4699 
   4700 
   4701 
   4702 
   4703 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4704 if test "x$ac_cv_have_decl___clang__" = xyes
   4705 then :
   4706   CLANGCC="yes"
   4707 else case e in #(
   4708   e) CLANGCC="no" ;;
   4709 esac
   4710 fi
   4711 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4712 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4713 then :
   4714   INTELCC="yes"
   4715 else case e in #(
   4716   e) INTELCC="no" ;;
   4717 esac
   4718 fi
   4719 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4720 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4721 then :
   4722   SUNCC="yes"
   4723 else case e in #(
   4724   e) SUNCC="no" ;;
   4725 esac
   4726 fi
   4727 
   4728 
   4729 
   4730 
   4731 
   4732 
   4733 
   4734 
   4735 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4736 	if test -n "$ac_tool_prefix"; then
   4737   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4738 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4740 printf %s "checking for $ac_word... " >&6; }
   4741 if test ${ac_cv_path_PKG_CONFIG+y}
   4742 then :
   4743   printf %s "(cached) " >&6
   4744 else case e in #(
   4745   e) case $PKG_CONFIG in
   4746   [\\/]* | ?:[\\/]*)
   4747   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4748   ;;
   4749   *)
   4750   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4751 for as_dir in $PATH
   4752 do
   4753   IFS=$as_save_IFS
   4754   case $as_dir in #(((
   4755     '') as_dir=./ ;;
   4756     */) ;;
   4757     *) as_dir=$as_dir/ ;;
   4758   esac
   4759     for ac_exec_ext in '' $ac_executable_extensions; do
   4760   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4761     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4762     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4763     break 2
   4764   fi
   4765 done
   4766   done
   4767 IFS=$as_save_IFS
   4768 
   4769   ;;
   4770 esac ;;
   4771 esac
   4772 fi
   4773 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4774 if test -n "$PKG_CONFIG"; then
   4775   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4776 printf "%s\n" "$PKG_CONFIG" >&6; }
   4777 else
   4778   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4779 printf "%s\n" "no" >&6; }
   4780 fi
   4781 
   4782 
   4783 fi
   4784 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4785   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4786   # Extract the first word of "pkg-config", so it can be a program name with args.
   4787 set dummy pkg-config; ac_word=$2
   4788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4789 printf %s "checking for $ac_word... " >&6; }
   4790 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4791 then :
   4792   printf %s "(cached) " >&6
   4793 else case e in #(
   4794   e) case $ac_pt_PKG_CONFIG in
   4795   [\\/]* | ?:[\\/]*)
   4796   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4797   ;;
   4798   *)
   4799   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4800 for as_dir in $PATH
   4801 do
   4802   IFS=$as_save_IFS
   4803   case $as_dir in #(((
   4804     '') as_dir=./ ;;
   4805     */) ;;
   4806     *) as_dir=$as_dir/ ;;
   4807   esac
   4808     for ac_exec_ext in '' $ac_executable_extensions; do
   4809   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4810     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4811     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4812     break 2
   4813   fi
   4814 done
   4815   done
   4816 IFS=$as_save_IFS
   4817 
   4818   ;;
   4819 esac ;;
   4820 esac
   4821 fi
   4822 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4823 if test -n "$ac_pt_PKG_CONFIG"; then
   4824   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4825 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4826 else
   4827   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4828 printf "%s\n" "no" >&6; }
   4829 fi
   4830 
   4831   if test "x$ac_pt_PKG_CONFIG" = x; then
   4832     PKG_CONFIG=""
   4833   else
   4834     case $cross_compiling:$ac_tool_warned in
   4835 yes:)
   4836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4837 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4838 ac_tool_warned=yes ;;
   4839 esac
   4840     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4841   fi
   4842 else
   4843   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4844 fi
   4845 
   4846 fi
   4847 if test -n "$PKG_CONFIG"; then
   4848 	_pkg_min_version=0.9.0
   4849 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4850 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4851 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4852 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4853 printf "%s\n" "yes" >&6; }
   4854 	else
   4855 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4856 printf "%s\n" "no" >&6; }
   4857 		PKG_CONFIG=""
   4858 	fi
   4859 fi
   4860 
   4861 
   4862   # Make sure we can run config.sub.
   4863 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4864   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4865 
   4866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4867 printf %s "checking build system type... " >&6; }
   4868 if test ${ac_cv_build+y}
   4869 then :
   4870   printf %s "(cached) " >&6
   4871 else case e in #(
   4872   e) ac_build_alias=$build_alias
   4873 test "x$ac_build_alias" = x &&
   4874   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4875 test "x$ac_build_alias" = x &&
   4876   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4877 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4878   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4879  ;;
   4880 esac
   4881 fi
   4882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4883 printf "%s\n" "$ac_cv_build" >&6; }
   4884 case $ac_cv_build in
   4885 *-*-*) ;;
   4886 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4887 esac
   4888 build=$ac_cv_build
   4889 ac_save_IFS=$IFS; IFS='-'
   4890 set x $ac_cv_build
   4891 shift
   4892 build_cpu=$1
   4893 build_vendor=$2
   4894 shift; shift
   4895 # Remember, the first character of IFS is used to create $*,
   4896 # except with old shells:
   4897 build_os=$*
   4898 IFS=$ac_save_IFS
   4899 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4900 
   4901 
   4902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4903 printf %s "checking host system type... " >&6; }
   4904 if test ${ac_cv_host+y}
   4905 then :
   4906   printf %s "(cached) " >&6
   4907 else case e in #(
   4908   e) if test "x$host_alias" = x; then
   4909   ac_cv_host=$ac_cv_build
   4910 else
   4911   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4912     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4913 fi
   4914  ;;
   4915 esac
   4916 fi
   4917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4918 printf "%s\n" "$ac_cv_host" >&6; }
   4919 case $ac_cv_host in
   4920 *-*-*) ;;
   4921 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4922 esac
   4923 host=$ac_cv_host
   4924 ac_save_IFS=$IFS; IFS='-'
   4925 set x $ac_cv_host
   4926 shift
   4927 host_cpu=$1
   4928 host_vendor=$2
   4929 shift; shift
   4930 # Remember, the first character of IFS is used to create $*,
   4931 # except with old shells:
   4932 host_os=$*
   4933 IFS=$ac_save_IFS
   4934 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4935 
   4936 
   4937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4938 printf %s "checking for a sed that does not truncate output... " >&6; }
   4939 if test ${ac_cv_path_SED+y}
   4940 then :
   4941   printf %s "(cached) " >&6
   4942 else case e in #(
   4943   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4944      for ac_i in 1 2 3 4 5 6 7; do
   4945        ac_script="$ac_script$as_nl$ac_script"
   4946      done
   4947      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4948      { ac_script=; unset ac_script;}
   4949      if test -z "$SED"; then
   4950   ac_path_SED_found=false
   4951   # Loop through the user's path and test for each of PROGNAME-LIST
   4952   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4953 for as_dir in $PATH
   4954 do
   4955   IFS=$as_save_IFS
   4956   case $as_dir in #(((
   4957     '') as_dir=./ ;;
   4958     */) ;;
   4959     *) as_dir=$as_dir/ ;;
   4960   esac
   4961     for ac_prog in sed gsed
   4962    do
   4963     for ac_exec_ext in '' $ac_executable_extensions; do
   4964       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4965       as_fn_executable_p "$ac_path_SED" || continue
   4966 # Check for GNU ac_path_SED and select it if it is found.
   4967   # Check for GNU $ac_path_SED
   4968 case `"$ac_path_SED" --version 2>&1` in #(
   4969 *GNU*)
   4970   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4971 #(
   4972 *)
   4973   ac_count=0
   4974   printf %s 0123456789 >"conftest.in"
   4975   while :
   4976   do
   4977     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4978     mv "conftest.tmp" "conftest.in"
   4979     cp "conftest.in" "conftest.nl"
   4980     printf "%s\n" '' >> "conftest.nl"
   4981     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4982     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4983     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4984     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4985       # Best one so far, save it but keep looking for a better one
   4986       ac_cv_path_SED="$ac_path_SED"
   4987       ac_path_SED_max=$ac_count
   4988     fi
   4989     # 10*(2^10) chars as input seems more than enough
   4990     test $ac_count -gt 10 && break
   4991   done
   4992   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4993 esac
   4994 
   4995       $ac_path_SED_found && break 3
   4996     done
   4997   done
   4998   done
   4999 IFS=$as_save_IFS
   5000   if test -z "$ac_cv_path_SED"; then
   5001     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5002   fi
   5003 else
   5004   ac_cv_path_SED=$SED
   5005 fi
   5006  ;;
   5007 esac
   5008 fi
   5009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5010 printf "%s\n" "$ac_cv_path_SED" >&6; }
   5011  SED="$ac_cv_path_SED"
   5012   rm -f conftest.sed
   5013 
   5014 
   5015 
   5016 
   5017 
   5018 
   5019 # Check whether --enable-selective-werror was given.
   5020 if test ${enable_selective_werror+y}
   5021 then :
   5022   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5023 else case e in #(
   5024   e) SELECTIVE_WERROR=yes ;;
   5025 esac
   5026 fi
   5027 
   5028 
   5029 
   5030 
   5031 
   5032 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5033 if test "x$SUNCC" = "xyes"; then
   5034     BASE_CFLAGS="-v"
   5035 else
   5036     BASE_CFLAGS=""
   5037 fi
   5038 
   5039 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5040 
   5041 
   5042 
   5043 
   5044 
   5045 
   5046 
   5047 
   5048 
   5049 
   5050 
   5051 
   5052 
   5053 xorg_testset_save_CFLAGS="$CFLAGS"
   5054 
   5055 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5056 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5057 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5058 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5059 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5060 then :
   5061   printf %s "(cached) " >&6
   5062 else case e in #(
   5063   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5064 /* end confdefs.h.  */
   5065 int i;
   5066 _ACEOF
   5067 if ac_fn_c_try_compile "$LINENO"
   5068 then :
   5069   xorg_cv_cc_flag_unknown_warning_option=yes
   5070 else case e in #(
   5071   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5072 esac
   5073 fi
   5074 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5075 esac
   5076 fi
   5077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5078 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5079 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5080 	CFLAGS="$xorg_testset_save_CFLAGS"
   5081 fi
   5082 
   5083 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5084 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5085 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5086 	fi
   5087 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5088 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5089 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5090 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5091 then :
   5092   printf %s "(cached) " >&6
   5093 else case e in #(
   5094   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5095 /* end confdefs.h.  */
   5096 int i;
   5097 _ACEOF
   5098 if ac_fn_c_try_compile "$LINENO"
   5099 then :
   5100   xorg_cv_cc_flag_unused_command_line_argument=yes
   5101 else case e in #(
   5102   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5103 esac
   5104 fi
   5105 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5106 esac
   5107 fi
   5108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5109 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5110 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5111 	CFLAGS="$xorg_testset_save_CFLAGS"
   5112 fi
   5113 
   5114 found="no"
   5115 
   5116 	if test $found = "no" ; then
   5117 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5118 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5119 		fi
   5120 
   5121 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5122 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5123 		fi
   5124 
   5125 		CFLAGS="$CFLAGS -Wall"
   5126 
   5127 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5128 printf %s "checking if $CC supports -Wall... " >&6; }
   5129 		cacheid=xorg_cv_cc_flag__Wall
   5130 		if eval test \${$cacheid+y}
   5131 then :
   5132   printf %s "(cached) " >&6
   5133 else case e in #(
   5134   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5135 /* end confdefs.h.  */
   5136 int i;
   5137 int
   5138 main (void)
   5139 {
   5140 
   5141   ;
   5142   return 0;
   5143 }
   5144 _ACEOF
   5145 if ac_fn_c_try_link "$LINENO"
   5146 then :
   5147   eval $cacheid=yes
   5148 else case e in #(
   5149   e) eval $cacheid=no ;;
   5150 esac
   5151 fi
   5152 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5153     conftest$ac_exeext conftest.$ac_ext ;;
   5154 esac
   5155 fi
   5156 
   5157 
   5158 		CFLAGS="$xorg_testset_save_CFLAGS"
   5159 
   5160 		eval supported=\$$cacheid
   5161 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5162 printf "%s\n" "$supported" >&6; }
   5163 		if test "$supported" = "yes" ; then
   5164 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5165 			found="yes"
   5166 		fi
   5167 	fi
   5168 
   5169 
   5170 
   5171 
   5172 
   5173 
   5174 
   5175 
   5176 
   5177 
   5178 
   5179 
   5180 
   5181 
   5182 
   5183 xorg_testset_save_CFLAGS="$CFLAGS"
   5184 
   5185 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5186 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5187 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5188 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5189 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5190 then :
   5191   printf %s "(cached) " >&6
   5192 else case e in #(
   5193   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5194 /* end confdefs.h.  */
   5195 int i;
   5196 _ACEOF
   5197 if ac_fn_c_try_compile "$LINENO"
   5198 then :
   5199   xorg_cv_cc_flag_unknown_warning_option=yes
   5200 else case e in #(
   5201   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5202 esac
   5203 fi
   5204 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5205 esac
   5206 fi
   5207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5208 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5209 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5210 	CFLAGS="$xorg_testset_save_CFLAGS"
   5211 fi
   5212 
   5213 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5214 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5215 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5216 	fi
   5217 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5218 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5219 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5220 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5221 then :
   5222   printf %s "(cached) " >&6
   5223 else case e in #(
   5224   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5225 /* end confdefs.h.  */
   5226 int i;
   5227 _ACEOF
   5228 if ac_fn_c_try_compile "$LINENO"
   5229 then :
   5230   xorg_cv_cc_flag_unused_command_line_argument=yes
   5231 else case e in #(
   5232   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5233 esac
   5234 fi
   5235 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5236 esac
   5237 fi
   5238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5239 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5240 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5241 	CFLAGS="$xorg_testset_save_CFLAGS"
   5242 fi
   5243 
   5244 found="no"
   5245 
   5246 	if test $found = "no" ; then
   5247 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5248 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5249 		fi
   5250 
   5251 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5252 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5253 		fi
   5254 
   5255 		CFLAGS="$CFLAGS -Wpointer-arith"
   5256 
   5257 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5258 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5259 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5260 		if eval test \${$cacheid+y}
   5261 then :
   5262   printf %s "(cached) " >&6
   5263 else case e in #(
   5264   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5265 /* end confdefs.h.  */
   5266 int i;
   5267 int
   5268 main (void)
   5269 {
   5270 
   5271   ;
   5272   return 0;
   5273 }
   5274 _ACEOF
   5275 if ac_fn_c_try_link "$LINENO"
   5276 then :
   5277   eval $cacheid=yes
   5278 else case e in #(
   5279   e) eval $cacheid=no ;;
   5280 esac
   5281 fi
   5282 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5283     conftest$ac_exeext conftest.$ac_ext ;;
   5284 esac
   5285 fi
   5286 
   5287 
   5288 		CFLAGS="$xorg_testset_save_CFLAGS"
   5289 
   5290 		eval supported=\$$cacheid
   5291 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5292 printf "%s\n" "$supported" >&6; }
   5293 		if test "$supported" = "yes" ; then
   5294 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5295 			found="yes"
   5296 		fi
   5297 	fi
   5298 
   5299 
   5300 
   5301 
   5302 
   5303 
   5304 
   5305 
   5306 
   5307 
   5308 
   5309 
   5310 
   5311 
   5312 
   5313 xorg_testset_save_CFLAGS="$CFLAGS"
   5314 
   5315 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5316 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5317 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5318 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5319 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5320 then :
   5321   printf %s "(cached) " >&6
   5322 else case e in #(
   5323   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5324 /* end confdefs.h.  */
   5325 int i;
   5326 _ACEOF
   5327 if ac_fn_c_try_compile "$LINENO"
   5328 then :
   5329   xorg_cv_cc_flag_unknown_warning_option=yes
   5330 else case e in #(
   5331   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5332 esac
   5333 fi
   5334 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5335 esac
   5336 fi
   5337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5338 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5339 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5340 	CFLAGS="$xorg_testset_save_CFLAGS"
   5341 fi
   5342 
   5343 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5344 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5345 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5346 	fi
   5347 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5348 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5349 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5350 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5351 then :
   5352   printf %s "(cached) " >&6
   5353 else case e in #(
   5354   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5355 /* end confdefs.h.  */
   5356 int i;
   5357 _ACEOF
   5358 if ac_fn_c_try_compile "$LINENO"
   5359 then :
   5360   xorg_cv_cc_flag_unused_command_line_argument=yes
   5361 else case e in #(
   5362   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5363 esac
   5364 fi
   5365 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5366 esac
   5367 fi
   5368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5369 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5370 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5371 	CFLAGS="$xorg_testset_save_CFLAGS"
   5372 fi
   5373 
   5374 found="no"
   5375 
   5376 	if test $found = "no" ; then
   5377 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5378 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5379 		fi
   5380 
   5381 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5382 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5383 		fi
   5384 
   5385 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5386 
   5387 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5388 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5389 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5390 		if eval test \${$cacheid+y}
   5391 then :
   5392   printf %s "(cached) " >&6
   5393 else case e in #(
   5394   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5395 /* end confdefs.h.  */
   5396 int i;
   5397 int
   5398 main (void)
   5399 {
   5400 
   5401   ;
   5402   return 0;
   5403 }
   5404 _ACEOF
   5405 if ac_fn_c_try_link "$LINENO"
   5406 then :
   5407   eval $cacheid=yes
   5408 else case e in #(
   5409   e) eval $cacheid=no ;;
   5410 esac
   5411 fi
   5412 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5413     conftest$ac_exeext conftest.$ac_ext ;;
   5414 esac
   5415 fi
   5416 
   5417 
   5418 		CFLAGS="$xorg_testset_save_CFLAGS"
   5419 
   5420 		eval supported=\$$cacheid
   5421 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5422 printf "%s\n" "$supported" >&6; }
   5423 		if test "$supported" = "yes" ; then
   5424 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5425 			found="yes"
   5426 		fi
   5427 	fi
   5428 
   5429 
   5430 
   5431 
   5432 
   5433 
   5434 
   5435 
   5436 
   5437 
   5438 
   5439 
   5440 
   5441 
   5442 
   5443 xorg_testset_save_CFLAGS="$CFLAGS"
   5444 
   5445 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5446 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5447 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5448 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5449 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5450 then :
   5451   printf %s "(cached) " >&6
   5452 else case e in #(
   5453   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5454 /* end confdefs.h.  */
   5455 int i;
   5456 _ACEOF
   5457 if ac_fn_c_try_compile "$LINENO"
   5458 then :
   5459   xorg_cv_cc_flag_unknown_warning_option=yes
   5460 else case e in #(
   5461   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5462 esac
   5463 fi
   5464 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5465 esac
   5466 fi
   5467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5468 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5469 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5470 	CFLAGS="$xorg_testset_save_CFLAGS"
   5471 fi
   5472 
   5473 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5474 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5475 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5476 	fi
   5477 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5478 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5479 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5480 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5481 then :
   5482   printf %s "(cached) " >&6
   5483 else case e in #(
   5484   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5485 /* end confdefs.h.  */
   5486 int i;
   5487 _ACEOF
   5488 if ac_fn_c_try_compile "$LINENO"
   5489 then :
   5490   xorg_cv_cc_flag_unused_command_line_argument=yes
   5491 else case e in #(
   5492   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5493 esac
   5494 fi
   5495 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5496 esac
   5497 fi
   5498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5499 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5500 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5501 	CFLAGS="$xorg_testset_save_CFLAGS"
   5502 fi
   5503 
   5504 found="no"
   5505 
   5506 	if test $found = "no" ; then
   5507 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5508 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5509 		fi
   5510 
   5511 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5512 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5513 		fi
   5514 
   5515 		CFLAGS="$CFLAGS -Wformat=2"
   5516 
   5517 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5518 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5519 		cacheid=xorg_cv_cc_flag__Wformat_2
   5520 		if eval test \${$cacheid+y}
   5521 then :
   5522   printf %s "(cached) " >&6
   5523 else case e in #(
   5524   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5525 /* end confdefs.h.  */
   5526 int i;
   5527 int
   5528 main (void)
   5529 {
   5530 
   5531   ;
   5532   return 0;
   5533 }
   5534 _ACEOF
   5535 if ac_fn_c_try_link "$LINENO"
   5536 then :
   5537   eval $cacheid=yes
   5538 else case e in #(
   5539   e) eval $cacheid=no ;;
   5540 esac
   5541 fi
   5542 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5543     conftest$ac_exeext conftest.$ac_ext ;;
   5544 esac
   5545 fi
   5546 
   5547 
   5548 		CFLAGS="$xorg_testset_save_CFLAGS"
   5549 
   5550 		eval supported=\$$cacheid
   5551 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5552 printf "%s\n" "$supported" >&6; }
   5553 		if test "$supported" = "yes" ; then
   5554 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5555 			found="yes"
   5556 		fi
   5557 	fi
   5558 
   5559 	if test $found = "no" ; then
   5560 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5561 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5562 		fi
   5563 
   5564 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5565 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5566 		fi
   5567 
   5568 		CFLAGS="$CFLAGS -Wformat"
   5569 
   5570 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5571 printf %s "checking if $CC supports -Wformat... " >&6; }
   5572 		cacheid=xorg_cv_cc_flag__Wformat
   5573 		if eval test \${$cacheid+y}
   5574 then :
   5575   printf %s "(cached) " >&6
   5576 else case e in #(
   5577   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5578 /* end confdefs.h.  */
   5579 int i;
   5580 int
   5581 main (void)
   5582 {
   5583 
   5584   ;
   5585   return 0;
   5586 }
   5587 _ACEOF
   5588 if ac_fn_c_try_link "$LINENO"
   5589 then :
   5590   eval $cacheid=yes
   5591 else case e in #(
   5592   e) eval $cacheid=no ;;
   5593 esac
   5594 fi
   5595 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5596     conftest$ac_exeext conftest.$ac_ext ;;
   5597 esac
   5598 fi
   5599 
   5600 
   5601 		CFLAGS="$xorg_testset_save_CFLAGS"
   5602 
   5603 		eval supported=\$$cacheid
   5604 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5605 printf "%s\n" "$supported" >&6; }
   5606 		if test "$supported" = "yes" ; then
   5607 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5608 			found="yes"
   5609 		fi
   5610 	fi
   5611 
   5612 
   5613 
   5614 
   5615 
   5616 
   5617 
   5618 
   5619 
   5620 
   5621 
   5622 
   5623 
   5624 
   5625 
   5626 
   5627 
   5628 xorg_testset_save_CFLAGS="$CFLAGS"
   5629 
   5630 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5631 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5632 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5633 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5634 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5635 then :
   5636   printf %s "(cached) " >&6
   5637 else case e in #(
   5638   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5639 /* end confdefs.h.  */
   5640 int i;
   5641 _ACEOF
   5642 if ac_fn_c_try_compile "$LINENO"
   5643 then :
   5644   xorg_cv_cc_flag_unknown_warning_option=yes
   5645 else case e in #(
   5646   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5647 esac
   5648 fi
   5649 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5650 esac
   5651 fi
   5652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5653 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5654 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5655 	CFLAGS="$xorg_testset_save_CFLAGS"
   5656 fi
   5657 
   5658 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5659 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5660 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5661 	fi
   5662 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5663 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5664 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5665 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5666 then :
   5667   printf %s "(cached) " >&6
   5668 else case e in #(
   5669   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5670 /* end confdefs.h.  */
   5671 int i;
   5672 _ACEOF
   5673 if ac_fn_c_try_compile "$LINENO"
   5674 then :
   5675   xorg_cv_cc_flag_unused_command_line_argument=yes
   5676 else case e in #(
   5677   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5678 esac
   5679 fi
   5680 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5681 esac
   5682 fi
   5683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5684 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5685 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5686 	CFLAGS="$xorg_testset_save_CFLAGS"
   5687 fi
   5688 
   5689 found="no"
   5690 
   5691 	if test $found = "no" ; then
   5692 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5693 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5694 		fi
   5695 
   5696 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5697 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5698 		fi
   5699 
   5700 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5701 
   5702 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5703 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5704 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5705 		if eval test \${$cacheid+y}
   5706 then :
   5707   printf %s "(cached) " >&6
   5708 else case e in #(
   5709   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5710 /* end confdefs.h.  */
   5711 int i;
   5712 int
   5713 main (void)
   5714 {
   5715 
   5716   ;
   5717   return 0;
   5718 }
   5719 _ACEOF
   5720 if ac_fn_c_try_link "$LINENO"
   5721 then :
   5722   eval $cacheid=yes
   5723 else case e in #(
   5724   e) eval $cacheid=no ;;
   5725 esac
   5726 fi
   5727 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5728     conftest$ac_exeext conftest.$ac_ext ;;
   5729 esac
   5730 fi
   5731 
   5732 
   5733 		CFLAGS="$xorg_testset_save_CFLAGS"
   5734 
   5735 		eval supported=\$$cacheid
   5736 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5737 printf "%s\n" "$supported" >&6; }
   5738 		if test "$supported" = "yes" ; then
   5739 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5740 			found="yes"
   5741 		fi
   5742 	fi
   5743 
   5744 
   5745 
   5746 
   5747 
   5748 
   5749 
   5750 
   5751 
   5752 
   5753 
   5754 
   5755 
   5756 
   5757 
   5758 xorg_testset_save_CFLAGS="$CFLAGS"
   5759 
   5760 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5761 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5762 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5763 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5764 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5765 then :
   5766   printf %s "(cached) " >&6
   5767 else case e in #(
   5768   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5769 /* end confdefs.h.  */
   5770 int i;
   5771 _ACEOF
   5772 if ac_fn_c_try_compile "$LINENO"
   5773 then :
   5774   xorg_cv_cc_flag_unknown_warning_option=yes
   5775 else case e in #(
   5776   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5777 esac
   5778 fi
   5779 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5780 esac
   5781 fi
   5782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5783 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5784 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5785 	CFLAGS="$xorg_testset_save_CFLAGS"
   5786 fi
   5787 
   5788 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5789 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5790 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5791 	fi
   5792 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5793 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5794 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5795 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5796 then :
   5797   printf %s "(cached) " >&6
   5798 else case e in #(
   5799   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5800 /* end confdefs.h.  */
   5801 int i;
   5802 _ACEOF
   5803 if ac_fn_c_try_compile "$LINENO"
   5804 then :
   5805   xorg_cv_cc_flag_unused_command_line_argument=yes
   5806 else case e in #(
   5807   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5808 esac
   5809 fi
   5810 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5811 esac
   5812 fi
   5813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5814 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5815 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5816 	CFLAGS="$xorg_testset_save_CFLAGS"
   5817 fi
   5818 
   5819 found="no"
   5820 
   5821 	if test $found = "no" ; then
   5822 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5823 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5824 		fi
   5825 
   5826 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5827 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5828 		fi
   5829 
   5830 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5831 
   5832 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5833 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5834 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5835 		if eval test \${$cacheid+y}
   5836 then :
   5837   printf %s "(cached) " >&6
   5838 else case e in #(
   5839   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5840 /* end confdefs.h.  */
   5841 int i;
   5842 int
   5843 main (void)
   5844 {
   5845 
   5846   ;
   5847   return 0;
   5848 }
   5849 _ACEOF
   5850 if ac_fn_c_try_link "$LINENO"
   5851 then :
   5852   eval $cacheid=yes
   5853 else case e in #(
   5854   e) eval $cacheid=no ;;
   5855 esac
   5856 fi
   5857 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5858     conftest$ac_exeext conftest.$ac_ext ;;
   5859 esac
   5860 fi
   5861 
   5862 
   5863 		CFLAGS="$xorg_testset_save_CFLAGS"
   5864 
   5865 		eval supported=\$$cacheid
   5866 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5867 printf "%s\n" "$supported" >&6; }
   5868 		if test "$supported" = "yes" ; then
   5869 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5870 			found="yes"
   5871 		fi
   5872 	fi
   5873 
   5874 
   5875 
   5876 
   5877 
   5878 
   5879 
   5880 
   5881 
   5882 
   5883 
   5884 
   5885 
   5886 
   5887 
   5888 xorg_testset_save_CFLAGS="$CFLAGS"
   5889 
   5890 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5891 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5892 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5893 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5894 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5895 then :
   5896   printf %s "(cached) " >&6
   5897 else case e in #(
   5898   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5899 /* end confdefs.h.  */
   5900 int i;
   5901 _ACEOF
   5902 if ac_fn_c_try_compile "$LINENO"
   5903 then :
   5904   xorg_cv_cc_flag_unknown_warning_option=yes
   5905 else case e in #(
   5906   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5907 esac
   5908 fi
   5909 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5910 esac
   5911 fi
   5912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5913 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5914 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5915 	CFLAGS="$xorg_testset_save_CFLAGS"
   5916 fi
   5917 
   5918 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5919 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5920 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5921 	fi
   5922 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5923 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5924 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5925 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5926 then :
   5927   printf %s "(cached) " >&6
   5928 else case e in #(
   5929   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5930 /* end confdefs.h.  */
   5931 int i;
   5932 _ACEOF
   5933 if ac_fn_c_try_compile "$LINENO"
   5934 then :
   5935   xorg_cv_cc_flag_unused_command_line_argument=yes
   5936 else case e in #(
   5937   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5938 esac
   5939 fi
   5940 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5941 esac
   5942 fi
   5943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5944 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5945 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5946 	CFLAGS="$xorg_testset_save_CFLAGS"
   5947 fi
   5948 
   5949 found="no"
   5950 
   5951 	if test $found = "no" ; then
   5952 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5953 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5954 		fi
   5955 
   5956 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5957 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5958 		fi
   5959 
   5960 		CFLAGS="$CFLAGS -Wnested-externs"
   5961 
   5962 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5963 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   5964 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5965 		if eval test \${$cacheid+y}
   5966 then :
   5967   printf %s "(cached) " >&6
   5968 else case e in #(
   5969   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5970 /* end confdefs.h.  */
   5971 int i;
   5972 int
   5973 main (void)
   5974 {
   5975 
   5976   ;
   5977   return 0;
   5978 }
   5979 _ACEOF
   5980 if ac_fn_c_try_link "$LINENO"
   5981 then :
   5982   eval $cacheid=yes
   5983 else case e in #(
   5984   e) eval $cacheid=no ;;
   5985 esac
   5986 fi
   5987 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5988     conftest$ac_exeext conftest.$ac_ext ;;
   5989 esac
   5990 fi
   5991 
   5992 
   5993 		CFLAGS="$xorg_testset_save_CFLAGS"
   5994 
   5995 		eval supported=\$$cacheid
   5996 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5997 printf "%s\n" "$supported" >&6; }
   5998 		if test "$supported" = "yes" ; then
   5999 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   6000 			found="yes"
   6001 		fi
   6002 	fi
   6003 
   6004 
   6005 
   6006 
   6007 
   6008 
   6009 
   6010 
   6011 
   6012 
   6013 
   6014 
   6015 
   6016 
   6017 
   6018 xorg_testset_save_CFLAGS="$CFLAGS"
   6019 
   6020 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6021 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6022 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6023 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6024 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6025 then :
   6026   printf %s "(cached) " >&6
   6027 else case e in #(
   6028   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6029 /* end confdefs.h.  */
   6030 int i;
   6031 _ACEOF
   6032 if ac_fn_c_try_compile "$LINENO"
   6033 then :
   6034   xorg_cv_cc_flag_unknown_warning_option=yes
   6035 else case e in #(
   6036   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6037 esac
   6038 fi
   6039 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6040 esac
   6041 fi
   6042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6043 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6044 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6045 	CFLAGS="$xorg_testset_save_CFLAGS"
   6046 fi
   6047 
   6048 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6049 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6050 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6051 	fi
   6052 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6053 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6054 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6055 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6056 then :
   6057   printf %s "(cached) " >&6
   6058 else case e in #(
   6059   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6060 /* end confdefs.h.  */
   6061 int i;
   6062 _ACEOF
   6063 if ac_fn_c_try_compile "$LINENO"
   6064 then :
   6065   xorg_cv_cc_flag_unused_command_line_argument=yes
   6066 else case e in #(
   6067   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6068 esac
   6069 fi
   6070 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6071 esac
   6072 fi
   6073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6074 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6075 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6076 	CFLAGS="$xorg_testset_save_CFLAGS"
   6077 fi
   6078 
   6079 found="no"
   6080 
   6081 	if test $found = "no" ; then
   6082 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6083 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6084 		fi
   6085 
   6086 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6087 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6088 		fi
   6089 
   6090 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6091 
   6092 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6093 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   6094 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6095 		if eval test \${$cacheid+y}
   6096 then :
   6097   printf %s "(cached) " >&6
   6098 else case e in #(
   6099   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6100 /* end confdefs.h.  */
   6101 int i;
   6102 int
   6103 main (void)
   6104 {
   6105 
   6106   ;
   6107   return 0;
   6108 }
   6109 _ACEOF
   6110 if ac_fn_c_try_link "$LINENO"
   6111 then :
   6112   eval $cacheid=yes
   6113 else case e in #(
   6114   e) eval $cacheid=no ;;
   6115 esac
   6116 fi
   6117 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6118     conftest$ac_exeext conftest.$ac_ext ;;
   6119 esac
   6120 fi
   6121 
   6122 
   6123 		CFLAGS="$xorg_testset_save_CFLAGS"
   6124 
   6125 		eval supported=\$$cacheid
   6126 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6127 printf "%s\n" "$supported" >&6; }
   6128 		if test "$supported" = "yes" ; then
   6129 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6130 			found="yes"
   6131 		fi
   6132 	fi
   6133 
   6134 
   6135 
   6136 
   6137 
   6138 
   6139 
   6140 
   6141 
   6142 
   6143 
   6144 
   6145 
   6146 
   6147 
   6148 xorg_testset_save_CFLAGS="$CFLAGS"
   6149 
   6150 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6151 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6152 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6153 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6154 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6155 then :
   6156   printf %s "(cached) " >&6
   6157 else case e in #(
   6158   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6159 /* end confdefs.h.  */
   6160 int i;
   6161 _ACEOF
   6162 if ac_fn_c_try_compile "$LINENO"
   6163 then :
   6164   xorg_cv_cc_flag_unknown_warning_option=yes
   6165 else case e in #(
   6166   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6167 esac
   6168 fi
   6169 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6170 esac
   6171 fi
   6172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6173 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6174 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6175 	CFLAGS="$xorg_testset_save_CFLAGS"
   6176 fi
   6177 
   6178 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6179 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6180 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6181 	fi
   6182 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6183 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6184 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6185 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6186 then :
   6187   printf %s "(cached) " >&6
   6188 else case e in #(
   6189   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6190 /* end confdefs.h.  */
   6191 int i;
   6192 _ACEOF
   6193 if ac_fn_c_try_compile "$LINENO"
   6194 then :
   6195   xorg_cv_cc_flag_unused_command_line_argument=yes
   6196 else case e in #(
   6197   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6198 esac
   6199 fi
   6200 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6201 esac
   6202 fi
   6203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6204 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6205 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6206 	CFLAGS="$xorg_testset_save_CFLAGS"
   6207 fi
   6208 
   6209 found="no"
   6210 
   6211 	if test $found = "no" ; then
   6212 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6213 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6214 		fi
   6215 
   6216 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6217 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6218 		fi
   6219 
   6220 		CFLAGS="$CFLAGS -Wold-style-definition"
   6221 
   6222 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6223 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6224 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6225 		if eval test \${$cacheid+y}
   6226 then :
   6227   printf %s "(cached) " >&6
   6228 else case e in #(
   6229   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6230 /* end confdefs.h.  */
   6231 int i;
   6232 int
   6233 main (void)
   6234 {
   6235 
   6236   ;
   6237   return 0;
   6238 }
   6239 _ACEOF
   6240 if ac_fn_c_try_link "$LINENO"
   6241 then :
   6242   eval $cacheid=yes
   6243 else case e in #(
   6244   e) eval $cacheid=no ;;
   6245 esac
   6246 fi
   6247 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6248     conftest$ac_exeext conftest.$ac_ext ;;
   6249 esac
   6250 fi
   6251 
   6252 
   6253 		CFLAGS="$xorg_testset_save_CFLAGS"
   6254 
   6255 		eval supported=\$$cacheid
   6256 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6257 printf "%s\n" "$supported" >&6; }
   6258 		if test "$supported" = "yes" ; then
   6259 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6260 			found="yes"
   6261 		fi
   6262 	fi
   6263 
   6264 	if test $found = "no" ; then
   6265 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6266 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6267 		fi
   6268 
   6269 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6270 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6271 		fi
   6272 
   6273 		CFLAGS="$CFLAGS -fd"
   6274 
   6275 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6276 printf %s "checking if $CC supports -fd... " >&6; }
   6277 		cacheid=xorg_cv_cc_flag__fd
   6278 		if eval test \${$cacheid+y}
   6279 then :
   6280   printf %s "(cached) " >&6
   6281 else case e in #(
   6282   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6283 /* end confdefs.h.  */
   6284 int i;
   6285 int
   6286 main (void)
   6287 {
   6288 
   6289   ;
   6290   return 0;
   6291 }
   6292 _ACEOF
   6293 if ac_fn_c_try_link "$LINENO"
   6294 then :
   6295   eval $cacheid=yes
   6296 else case e in #(
   6297   e) eval $cacheid=no ;;
   6298 esac
   6299 fi
   6300 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6301     conftest$ac_exeext conftest.$ac_ext ;;
   6302 esac
   6303 fi
   6304 
   6305 
   6306 		CFLAGS="$xorg_testset_save_CFLAGS"
   6307 
   6308 		eval supported=\$$cacheid
   6309 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6310 printf "%s\n" "$supported" >&6; }
   6311 		if test "$supported" = "yes" ; then
   6312 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6313 			found="yes"
   6314 		fi
   6315 	fi
   6316 
   6317 
   6318 
   6319 
   6320 
   6321 
   6322 
   6323 
   6324 
   6325 
   6326 
   6327 
   6328 
   6329 
   6330 
   6331 xorg_testset_save_CFLAGS="$CFLAGS"
   6332 
   6333 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6334 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6335 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6336 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6337 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6338 then :
   6339   printf %s "(cached) " >&6
   6340 else case e in #(
   6341   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6342 /* end confdefs.h.  */
   6343 int i;
   6344 _ACEOF
   6345 if ac_fn_c_try_compile "$LINENO"
   6346 then :
   6347   xorg_cv_cc_flag_unknown_warning_option=yes
   6348 else case e in #(
   6349   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6350 esac
   6351 fi
   6352 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6353 esac
   6354 fi
   6355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6356 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6357 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6358 	CFLAGS="$xorg_testset_save_CFLAGS"
   6359 fi
   6360 
   6361 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6362 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6363 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6364 	fi
   6365 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6366 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6367 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6368 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6369 then :
   6370   printf %s "(cached) " >&6
   6371 else case e in #(
   6372   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6373 /* end confdefs.h.  */
   6374 int i;
   6375 _ACEOF
   6376 if ac_fn_c_try_compile "$LINENO"
   6377 then :
   6378   xorg_cv_cc_flag_unused_command_line_argument=yes
   6379 else case e in #(
   6380   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6381 esac
   6382 fi
   6383 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6384 esac
   6385 fi
   6386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6387 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6388 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6389 	CFLAGS="$xorg_testset_save_CFLAGS"
   6390 fi
   6391 
   6392 found="no"
   6393 
   6394 	if test $found = "no" ; then
   6395 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6396 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6397 		fi
   6398 
   6399 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6400 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6401 		fi
   6402 
   6403 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6404 
   6405 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6406 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6407 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6408 		if eval test \${$cacheid+y}
   6409 then :
   6410   printf %s "(cached) " >&6
   6411 else case e in #(
   6412   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6413 /* end confdefs.h.  */
   6414 int i;
   6415 int
   6416 main (void)
   6417 {
   6418 
   6419   ;
   6420   return 0;
   6421 }
   6422 _ACEOF
   6423 if ac_fn_c_try_link "$LINENO"
   6424 then :
   6425   eval $cacheid=yes
   6426 else case e in #(
   6427   e) eval $cacheid=no ;;
   6428 esac
   6429 fi
   6430 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6431     conftest$ac_exeext conftest.$ac_ext ;;
   6432 esac
   6433 fi
   6434 
   6435 
   6436 		CFLAGS="$xorg_testset_save_CFLAGS"
   6437 
   6438 		eval supported=\$$cacheid
   6439 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6440 printf "%s\n" "$supported" >&6; }
   6441 		if test "$supported" = "yes" ; then
   6442 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6443 			found="yes"
   6444 		fi
   6445 	fi
   6446 
   6447 
   6448 
   6449 
   6450 
   6451 # This chunk adds additional warnings that could catch undesired effects.
   6452 
   6453 
   6454 
   6455 
   6456 
   6457 
   6458 
   6459 
   6460 
   6461 
   6462 
   6463 
   6464 
   6465 xorg_testset_save_CFLAGS="$CFLAGS"
   6466 
   6467 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6468 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6469 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6470 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6471 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6472 then :
   6473   printf %s "(cached) " >&6
   6474 else case e in #(
   6475   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6476 /* end confdefs.h.  */
   6477 int i;
   6478 _ACEOF
   6479 if ac_fn_c_try_compile "$LINENO"
   6480 then :
   6481   xorg_cv_cc_flag_unknown_warning_option=yes
   6482 else case e in #(
   6483   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6484 esac
   6485 fi
   6486 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6487 esac
   6488 fi
   6489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6490 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6491 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6492 	CFLAGS="$xorg_testset_save_CFLAGS"
   6493 fi
   6494 
   6495 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6496 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6497 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6498 	fi
   6499 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6500 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6501 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6502 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6503 then :
   6504   printf %s "(cached) " >&6
   6505 else case e in #(
   6506   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6507 /* end confdefs.h.  */
   6508 int i;
   6509 _ACEOF
   6510 if ac_fn_c_try_compile "$LINENO"
   6511 then :
   6512   xorg_cv_cc_flag_unused_command_line_argument=yes
   6513 else case e in #(
   6514   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6515 esac
   6516 fi
   6517 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6518 esac
   6519 fi
   6520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6521 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6522 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6523 	CFLAGS="$xorg_testset_save_CFLAGS"
   6524 fi
   6525 
   6526 found="no"
   6527 
   6528 	if test $found = "no" ; then
   6529 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6530 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6531 		fi
   6532 
   6533 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6534 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6535 		fi
   6536 
   6537 		CFLAGS="$CFLAGS -Wunused"
   6538 
   6539 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6540 printf %s "checking if $CC supports -Wunused... " >&6; }
   6541 		cacheid=xorg_cv_cc_flag__Wunused
   6542 		if eval test \${$cacheid+y}
   6543 then :
   6544   printf %s "(cached) " >&6
   6545 else case e in #(
   6546   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6547 /* end confdefs.h.  */
   6548 int i;
   6549 int
   6550 main (void)
   6551 {
   6552 
   6553   ;
   6554   return 0;
   6555 }
   6556 _ACEOF
   6557 if ac_fn_c_try_link "$LINENO"
   6558 then :
   6559   eval $cacheid=yes
   6560 else case e in #(
   6561   e) eval $cacheid=no ;;
   6562 esac
   6563 fi
   6564 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6565     conftest$ac_exeext conftest.$ac_ext ;;
   6566 esac
   6567 fi
   6568 
   6569 
   6570 		CFLAGS="$xorg_testset_save_CFLAGS"
   6571 
   6572 		eval supported=\$$cacheid
   6573 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6574 printf "%s\n" "$supported" >&6; }
   6575 		if test "$supported" = "yes" ; then
   6576 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6577 			found="yes"
   6578 		fi
   6579 	fi
   6580 
   6581 
   6582 
   6583 
   6584 
   6585 
   6586 
   6587 
   6588 
   6589 
   6590 
   6591 
   6592 
   6593 
   6594 
   6595 xorg_testset_save_CFLAGS="$CFLAGS"
   6596 
   6597 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6598 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6599 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6600 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6601 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6602 then :
   6603   printf %s "(cached) " >&6
   6604 else case e in #(
   6605   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6606 /* end confdefs.h.  */
   6607 int i;
   6608 _ACEOF
   6609 if ac_fn_c_try_compile "$LINENO"
   6610 then :
   6611   xorg_cv_cc_flag_unknown_warning_option=yes
   6612 else case e in #(
   6613   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6614 esac
   6615 fi
   6616 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6617 esac
   6618 fi
   6619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6620 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6621 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6622 	CFLAGS="$xorg_testset_save_CFLAGS"
   6623 fi
   6624 
   6625 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6626 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6627 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6628 	fi
   6629 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6630 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6631 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6632 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6633 then :
   6634   printf %s "(cached) " >&6
   6635 else case e in #(
   6636   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6637 /* end confdefs.h.  */
   6638 int i;
   6639 _ACEOF
   6640 if ac_fn_c_try_compile "$LINENO"
   6641 then :
   6642   xorg_cv_cc_flag_unused_command_line_argument=yes
   6643 else case e in #(
   6644   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6645 esac
   6646 fi
   6647 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6648 esac
   6649 fi
   6650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6651 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6652 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6653 	CFLAGS="$xorg_testset_save_CFLAGS"
   6654 fi
   6655 
   6656 found="no"
   6657 
   6658 	if test $found = "no" ; then
   6659 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6660 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6661 		fi
   6662 
   6663 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6664 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6665 		fi
   6666 
   6667 		CFLAGS="$CFLAGS -Wuninitialized"
   6668 
   6669 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6670 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6671 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6672 		if eval test \${$cacheid+y}
   6673 then :
   6674   printf %s "(cached) " >&6
   6675 else case e in #(
   6676   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6677 /* end confdefs.h.  */
   6678 int i;
   6679 int
   6680 main (void)
   6681 {
   6682 
   6683   ;
   6684   return 0;
   6685 }
   6686 _ACEOF
   6687 if ac_fn_c_try_link "$LINENO"
   6688 then :
   6689   eval $cacheid=yes
   6690 else case e in #(
   6691   e) eval $cacheid=no ;;
   6692 esac
   6693 fi
   6694 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6695     conftest$ac_exeext conftest.$ac_ext ;;
   6696 esac
   6697 fi
   6698 
   6699 
   6700 		CFLAGS="$xorg_testset_save_CFLAGS"
   6701 
   6702 		eval supported=\$$cacheid
   6703 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6704 printf "%s\n" "$supported" >&6; }
   6705 		if test "$supported" = "yes" ; then
   6706 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6707 			found="yes"
   6708 		fi
   6709 	fi
   6710 
   6711 
   6712 
   6713 
   6714 
   6715 
   6716 
   6717 
   6718 
   6719 
   6720 
   6721 
   6722 
   6723 
   6724 
   6725 xorg_testset_save_CFLAGS="$CFLAGS"
   6726 
   6727 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6728 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6729 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6730 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6731 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6732 then :
   6733   printf %s "(cached) " >&6
   6734 else case e in #(
   6735   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6736 /* end confdefs.h.  */
   6737 int i;
   6738 _ACEOF
   6739 if ac_fn_c_try_compile "$LINENO"
   6740 then :
   6741   xorg_cv_cc_flag_unknown_warning_option=yes
   6742 else case e in #(
   6743   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6744 esac
   6745 fi
   6746 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6747 esac
   6748 fi
   6749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6750 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6751 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6752 	CFLAGS="$xorg_testset_save_CFLAGS"
   6753 fi
   6754 
   6755 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6756 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6757 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6758 	fi
   6759 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6760 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6761 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6762 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6763 then :
   6764   printf %s "(cached) " >&6
   6765 else case e in #(
   6766   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6767 /* end confdefs.h.  */
   6768 int i;
   6769 _ACEOF
   6770 if ac_fn_c_try_compile "$LINENO"
   6771 then :
   6772   xorg_cv_cc_flag_unused_command_line_argument=yes
   6773 else case e in #(
   6774   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6775 esac
   6776 fi
   6777 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6778 esac
   6779 fi
   6780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6781 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6782 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6783 	CFLAGS="$xorg_testset_save_CFLAGS"
   6784 fi
   6785 
   6786 found="no"
   6787 
   6788 	if test $found = "no" ; then
   6789 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6790 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6791 		fi
   6792 
   6793 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6794 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6795 		fi
   6796 
   6797 		CFLAGS="$CFLAGS -Wshadow"
   6798 
   6799 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6800 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6801 		cacheid=xorg_cv_cc_flag__Wshadow
   6802 		if eval test \${$cacheid+y}
   6803 then :
   6804   printf %s "(cached) " >&6
   6805 else case e in #(
   6806   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6807 /* end confdefs.h.  */
   6808 int i;
   6809 int
   6810 main (void)
   6811 {
   6812 
   6813   ;
   6814   return 0;
   6815 }
   6816 _ACEOF
   6817 if ac_fn_c_try_link "$LINENO"
   6818 then :
   6819   eval $cacheid=yes
   6820 else case e in #(
   6821   e) eval $cacheid=no ;;
   6822 esac
   6823 fi
   6824 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6825     conftest$ac_exeext conftest.$ac_ext ;;
   6826 esac
   6827 fi
   6828 
   6829 
   6830 		CFLAGS="$xorg_testset_save_CFLAGS"
   6831 
   6832 		eval supported=\$$cacheid
   6833 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6834 printf "%s\n" "$supported" >&6; }
   6835 		if test "$supported" = "yes" ; then
   6836 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6837 			found="yes"
   6838 		fi
   6839 	fi
   6840 
   6841 
   6842 
   6843 
   6844 
   6845 
   6846 
   6847 
   6848 
   6849 
   6850 
   6851 
   6852 
   6853 
   6854 
   6855 xorg_testset_save_CFLAGS="$CFLAGS"
   6856 
   6857 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6858 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6859 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6860 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6861 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6862 then :
   6863   printf %s "(cached) " >&6
   6864 else case e in #(
   6865   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6866 /* end confdefs.h.  */
   6867 int i;
   6868 _ACEOF
   6869 if ac_fn_c_try_compile "$LINENO"
   6870 then :
   6871   xorg_cv_cc_flag_unknown_warning_option=yes
   6872 else case e in #(
   6873   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6874 esac
   6875 fi
   6876 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6877 esac
   6878 fi
   6879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6880 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6881 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6882 	CFLAGS="$xorg_testset_save_CFLAGS"
   6883 fi
   6884 
   6885 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6886 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6887 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6888 	fi
   6889 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6890 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6891 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6892 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6893 then :
   6894   printf %s "(cached) " >&6
   6895 else case e in #(
   6896   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6897 /* end confdefs.h.  */
   6898 int i;
   6899 _ACEOF
   6900 if ac_fn_c_try_compile "$LINENO"
   6901 then :
   6902   xorg_cv_cc_flag_unused_command_line_argument=yes
   6903 else case e in #(
   6904   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6905 esac
   6906 fi
   6907 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6908 esac
   6909 fi
   6910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6911 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6912 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6913 	CFLAGS="$xorg_testset_save_CFLAGS"
   6914 fi
   6915 
   6916 found="no"
   6917 
   6918 	if test $found = "no" ; then
   6919 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6920 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6921 		fi
   6922 
   6923 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6924 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6925 		fi
   6926 
   6927 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6928 
   6929 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6930 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6931 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6932 		if eval test \${$cacheid+y}
   6933 then :
   6934   printf %s "(cached) " >&6
   6935 else case e in #(
   6936   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6937 /* end confdefs.h.  */
   6938 int i;
   6939 int
   6940 main (void)
   6941 {
   6942 
   6943   ;
   6944   return 0;
   6945 }
   6946 _ACEOF
   6947 if ac_fn_c_try_link "$LINENO"
   6948 then :
   6949   eval $cacheid=yes
   6950 else case e in #(
   6951   e) eval $cacheid=no ;;
   6952 esac
   6953 fi
   6954 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6955     conftest$ac_exeext conftest.$ac_ext ;;
   6956 esac
   6957 fi
   6958 
   6959 
   6960 		CFLAGS="$xorg_testset_save_CFLAGS"
   6961 
   6962 		eval supported=\$$cacheid
   6963 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6964 printf "%s\n" "$supported" >&6; }
   6965 		if test "$supported" = "yes" ; then
   6966 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6967 			found="yes"
   6968 		fi
   6969 	fi
   6970 
   6971 
   6972 
   6973 
   6974 
   6975 
   6976 
   6977 
   6978 
   6979 
   6980 
   6981 
   6982 
   6983 
   6984 
   6985 xorg_testset_save_CFLAGS="$CFLAGS"
   6986 
   6987 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6988 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6989 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6990 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6991 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6992 then :
   6993   printf %s "(cached) " >&6
   6994 else case e in #(
   6995   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6996 /* end confdefs.h.  */
   6997 int i;
   6998 _ACEOF
   6999 if ac_fn_c_try_compile "$LINENO"
   7000 then :
   7001   xorg_cv_cc_flag_unknown_warning_option=yes
   7002 else case e in #(
   7003   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7004 esac
   7005 fi
   7006 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7007 esac
   7008 fi
   7009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7010 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7011 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7012 	CFLAGS="$xorg_testset_save_CFLAGS"
   7013 fi
   7014 
   7015 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7016 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7017 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7018 	fi
   7019 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7020 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7021 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7022 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7023 then :
   7024   printf %s "(cached) " >&6
   7025 else case e in #(
   7026   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7027 /* end confdefs.h.  */
   7028 int i;
   7029 _ACEOF
   7030 if ac_fn_c_try_compile "$LINENO"
   7031 then :
   7032   xorg_cv_cc_flag_unused_command_line_argument=yes
   7033 else case e in #(
   7034   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7035 esac
   7036 fi
   7037 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7038 esac
   7039 fi
   7040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7041 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7042 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7043 	CFLAGS="$xorg_testset_save_CFLAGS"
   7044 fi
   7045 
   7046 found="no"
   7047 
   7048 	if test $found = "no" ; then
   7049 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7050 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7051 		fi
   7052 
   7053 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7054 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7055 		fi
   7056 
   7057 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   7058 
   7059 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   7060 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   7061 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   7062 		if eval test \${$cacheid+y}
   7063 then :
   7064   printf %s "(cached) " >&6
   7065 else case e in #(
   7066   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7067 /* end confdefs.h.  */
   7068 int i;
   7069 int
   7070 main (void)
   7071 {
   7072 
   7073   ;
   7074   return 0;
   7075 }
   7076 _ACEOF
   7077 if ac_fn_c_try_link "$LINENO"
   7078 then :
   7079   eval $cacheid=yes
   7080 else case e in #(
   7081   e) eval $cacheid=no ;;
   7082 esac
   7083 fi
   7084 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7085     conftest$ac_exeext conftest.$ac_ext ;;
   7086 esac
   7087 fi
   7088 
   7089 
   7090 		CFLAGS="$xorg_testset_save_CFLAGS"
   7091 
   7092 		eval supported=\$$cacheid
   7093 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7094 printf "%s\n" "$supported" >&6; }
   7095 		if test "$supported" = "yes" ; then
   7096 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   7097 			found="yes"
   7098 		fi
   7099 	fi
   7100 
   7101 
   7102 
   7103 
   7104 
   7105 
   7106 
   7107 
   7108 
   7109 
   7110 
   7111 
   7112 
   7113 
   7114 
   7115 xorg_testset_save_CFLAGS="$CFLAGS"
   7116 
   7117 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7118 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7119 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7120 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7121 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7122 then :
   7123   printf %s "(cached) " >&6
   7124 else case e in #(
   7125   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7126 /* end confdefs.h.  */
   7127 int i;
   7128 _ACEOF
   7129 if ac_fn_c_try_compile "$LINENO"
   7130 then :
   7131   xorg_cv_cc_flag_unknown_warning_option=yes
   7132 else case e in #(
   7133   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7134 esac
   7135 fi
   7136 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7137 esac
   7138 fi
   7139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7140 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7141 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7142 	CFLAGS="$xorg_testset_save_CFLAGS"
   7143 fi
   7144 
   7145 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7146 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7147 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7148 	fi
   7149 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7150 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7151 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7152 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7153 then :
   7154   printf %s "(cached) " >&6
   7155 else case e in #(
   7156   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7157 /* end confdefs.h.  */
   7158 int i;
   7159 _ACEOF
   7160 if ac_fn_c_try_compile "$LINENO"
   7161 then :
   7162   xorg_cv_cc_flag_unused_command_line_argument=yes
   7163 else case e in #(
   7164   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7165 esac
   7166 fi
   7167 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7168 esac
   7169 fi
   7170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7171 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7172 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7173 	CFLAGS="$xorg_testset_save_CFLAGS"
   7174 fi
   7175 
   7176 found="no"
   7177 
   7178 	if test $found = "no" ; then
   7179 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7180 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7181 		fi
   7182 
   7183 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7184 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7185 		fi
   7186 
   7187 		CFLAGS="$CFLAGS -Wredundant-decls"
   7188 
   7189 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7190 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7191 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7192 		if eval test \${$cacheid+y}
   7193 then :
   7194   printf %s "(cached) " >&6
   7195 else case e in #(
   7196   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7197 /* end confdefs.h.  */
   7198 int i;
   7199 int
   7200 main (void)
   7201 {
   7202 
   7203   ;
   7204   return 0;
   7205 }
   7206 _ACEOF
   7207 if ac_fn_c_try_link "$LINENO"
   7208 then :
   7209   eval $cacheid=yes
   7210 else case e in #(
   7211   e) eval $cacheid=no ;;
   7212 esac
   7213 fi
   7214 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7215     conftest$ac_exeext conftest.$ac_ext ;;
   7216 esac
   7217 fi
   7218 
   7219 
   7220 		CFLAGS="$xorg_testset_save_CFLAGS"
   7221 
   7222 		eval supported=\$$cacheid
   7223 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7224 printf "%s\n" "$supported" >&6; }
   7225 		if test "$supported" = "yes" ; then
   7226 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7227 			found="yes"
   7228 		fi
   7229 	fi
   7230 
   7231 
   7232 
   7233 
   7234 
   7235 
   7236 
   7237 
   7238 
   7239 
   7240 
   7241 
   7242 
   7243 
   7244 
   7245 xorg_testset_save_CFLAGS="$CFLAGS"
   7246 
   7247 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7248 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7249 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7250 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7251 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7252 then :
   7253   printf %s "(cached) " >&6
   7254 else case e in #(
   7255   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7256 /* end confdefs.h.  */
   7257 int i;
   7258 _ACEOF
   7259 if ac_fn_c_try_compile "$LINENO"
   7260 then :
   7261   xorg_cv_cc_flag_unknown_warning_option=yes
   7262 else case e in #(
   7263   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7264 esac
   7265 fi
   7266 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7267 esac
   7268 fi
   7269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7270 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7271 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7272 	CFLAGS="$xorg_testset_save_CFLAGS"
   7273 fi
   7274 
   7275 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7276 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7277 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7278 	fi
   7279 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7280 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7281 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7282 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7283 then :
   7284   printf %s "(cached) " >&6
   7285 else case e in #(
   7286   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7287 /* end confdefs.h.  */
   7288 int i;
   7289 _ACEOF
   7290 if ac_fn_c_try_compile "$LINENO"
   7291 then :
   7292   xorg_cv_cc_flag_unused_command_line_argument=yes
   7293 else case e in #(
   7294   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7295 esac
   7296 fi
   7297 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7298 esac
   7299 fi
   7300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7301 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7302 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7303 	CFLAGS="$xorg_testset_save_CFLAGS"
   7304 fi
   7305 
   7306 found="no"
   7307 
   7308 	if test $found = "no" ; then
   7309 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7310 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7311 		fi
   7312 
   7313 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7314 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7315 		fi
   7316 
   7317 		CFLAGS="$CFLAGS -Wlogical-op"
   7318 
   7319 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7320 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7321 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7322 		if eval test \${$cacheid+y}
   7323 then :
   7324   printf %s "(cached) " >&6
   7325 else case e in #(
   7326   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7327 /* end confdefs.h.  */
   7328 int i;
   7329 int
   7330 main (void)
   7331 {
   7332 
   7333   ;
   7334   return 0;
   7335 }
   7336 _ACEOF
   7337 if ac_fn_c_try_link "$LINENO"
   7338 then :
   7339   eval $cacheid=yes
   7340 else case e in #(
   7341   e) eval $cacheid=no ;;
   7342 esac
   7343 fi
   7344 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7345     conftest$ac_exeext conftest.$ac_ext ;;
   7346 esac
   7347 fi
   7348 
   7349 
   7350 		CFLAGS="$xorg_testset_save_CFLAGS"
   7351 
   7352 		eval supported=\$$cacheid
   7353 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7354 printf "%s\n" "$supported" >&6; }
   7355 		if test "$supported" = "yes" ; then
   7356 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7357 			found="yes"
   7358 		fi
   7359 	fi
   7360 
   7361 
   7362 
   7363 # These are currently disabled because they are noisy.  They will be enabled
   7364 # in the future once the codebase is sufficiently modernized to silence
   7365 # them.  For now, I don't want them to drown out the other warnings.
   7366 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7367 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7368 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7369 
   7370 # Turn some warnings into errors, so we don't accidentally get successful builds
   7371 # when there are problems that should be fixed.
   7372 
   7373 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7374 
   7375 
   7376 
   7377 
   7378 
   7379 
   7380 
   7381 
   7382 
   7383 
   7384 
   7385 
   7386 
   7387 xorg_testset_save_CFLAGS="$CFLAGS"
   7388 
   7389 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7390 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7391 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7392 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7393 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7394 then :
   7395   printf %s "(cached) " >&6
   7396 else case e in #(
   7397   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7398 /* end confdefs.h.  */
   7399 int i;
   7400 _ACEOF
   7401 if ac_fn_c_try_compile "$LINENO"
   7402 then :
   7403   xorg_cv_cc_flag_unknown_warning_option=yes
   7404 else case e in #(
   7405   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7406 esac
   7407 fi
   7408 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7409 esac
   7410 fi
   7411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7412 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7413 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7414 	CFLAGS="$xorg_testset_save_CFLAGS"
   7415 fi
   7416 
   7417 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7418 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7419 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7420 	fi
   7421 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7422 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7423 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7424 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7425 then :
   7426   printf %s "(cached) " >&6
   7427 else case e in #(
   7428   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7429 /* end confdefs.h.  */
   7430 int i;
   7431 _ACEOF
   7432 if ac_fn_c_try_compile "$LINENO"
   7433 then :
   7434   xorg_cv_cc_flag_unused_command_line_argument=yes
   7435 else case e in #(
   7436   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7437 esac
   7438 fi
   7439 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7440 esac
   7441 fi
   7442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7443 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7444 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7445 	CFLAGS="$xorg_testset_save_CFLAGS"
   7446 fi
   7447 
   7448 found="no"
   7449 
   7450 	if test $found = "no" ; then
   7451 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7452 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7453 		fi
   7454 
   7455 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7456 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7457 		fi
   7458 
   7459 		CFLAGS="$CFLAGS -Werror=implicit"
   7460 
   7461 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7462 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7463 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7464 		if eval test \${$cacheid+y}
   7465 then :
   7466   printf %s "(cached) " >&6
   7467 else case e in #(
   7468   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7469 /* end confdefs.h.  */
   7470 int i;
   7471 int
   7472 main (void)
   7473 {
   7474 
   7475   ;
   7476   return 0;
   7477 }
   7478 _ACEOF
   7479 if ac_fn_c_try_link "$LINENO"
   7480 then :
   7481   eval $cacheid=yes
   7482 else case e in #(
   7483   e) eval $cacheid=no ;;
   7484 esac
   7485 fi
   7486 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7487     conftest$ac_exeext conftest.$ac_ext ;;
   7488 esac
   7489 fi
   7490 
   7491 
   7492 		CFLAGS="$xorg_testset_save_CFLAGS"
   7493 
   7494 		eval supported=\$$cacheid
   7495 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7496 printf "%s\n" "$supported" >&6; }
   7497 		if test "$supported" = "yes" ; then
   7498 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7499 			found="yes"
   7500 		fi
   7501 	fi
   7502 
   7503 	if test $found = "no" ; then
   7504 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7505 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7506 		fi
   7507 
   7508 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7509 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7510 		fi
   7511 
   7512 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7513 
   7514 		{ 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
   7515 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7516 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7517 		if eval test \${$cacheid+y}
   7518 then :
   7519   printf %s "(cached) " >&6
   7520 else case e in #(
   7521   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7522 /* end confdefs.h.  */
   7523 int i;
   7524 int
   7525 main (void)
   7526 {
   7527 
   7528   ;
   7529   return 0;
   7530 }
   7531 _ACEOF
   7532 if ac_fn_c_try_link "$LINENO"
   7533 then :
   7534   eval $cacheid=yes
   7535 else case e in #(
   7536   e) eval $cacheid=no ;;
   7537 esac
   7538 fi
   7539 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7540     conftest$ac_exeext conftest.$ac_ext ;;
   7541 esac
   7542 fi
   7543 
   7544 
   7545 		CFLAGS="$xorg_testset_save_CFLAGS"
   7546 
   7547 		eval supported=\$$cacheid
   7548 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7549 printf "%s\n" "$supported" >&6; }
   7550 		if test "$supported" = "yes" ; then
   7551 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7552 			found="yes"
   7553 		fi
   7554 	fi
   7555 
   7556 
   7557 
   7558 
   7559 
   7560 
   7561 
   7562 
   7563 
   7564 
   7565 
   7566 
   7567 
   7568 
   7569 
   7570 xorg_testset_save_CFLAGS="$CFLAGS"
   7571 
   7572 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7573 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7574 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7575 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7576 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7577 then :
   7578   printf %s "(cached) " >&6
   7579 else case e in #(
   7580   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7581 /* end confdefs.h.  */
   7582 int i;
   7583 _ACEOF
   7584 if ac_fn_c_try_compile "$LINENO"
   7585 then :
   7586   xorg_cv_cc_flag_unknown_warning_option=yes
   7587 else case e in #(
   7588   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7589 esac
   7590 fi
   7591 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7592 esac
   7593 fi
   7594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7595 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7596 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7597 	CFLAGS="$xorg_testset_save_CFLAGS"
   7598 fi
   7599 
   7600 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7601 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7602 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7603 	fi
   7604 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7605 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7606 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7607 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7608 then :
   7609   printf %s "(cached) " >&6
   7610 else case e in #(
   7611   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7612 /* end confdefs.h.  */
   7613 int i;
   7614 _ACEOF
   7615 if ac_fn_c_try_compile "$LINENO"
   7616 then :
   7617   xorg_cv_cc_flag_unused_command_line_argument=yes
   7618 else case e in #(
   7619   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7620 esac
   7621 fi
   7622 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7623 esac
   7624 fi
   7625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7626 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7627 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7628 	CFLAGS="$xorg_testset_save_CFLAGS"
   7629 fi
   7630 
   7631 found="no"
   7632 
   7633 	if test $found = "no" ; then
   7634 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7635 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7636 		fi
   7637 
   7638 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7639 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7640 		fi
   7641 
   7642 		CFLAGS="$CFLAGS -Werror=nonnull"
   7643 
   7644 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7645 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7646 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7647 		if eval test \${$cacheid+y}
   7648 then :
   7649   printf %s "(cached) " >&6
   7650 else case e in #(
   7651   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7652 /* end confdefs.h.  */
   7653 int i;
   7654 int
   7655 main (void)
   7656 {
   7657 
   7658   ;
   7659   return 0;
   7660 }
   7661 _ACEOF
   7662 if ac_fn_c_try_link "$LINENO"
   7663 then :
   7664   eval $cacheid=yes
   7665 else case e in #(
   7666   e) eval $cacheid=no ;;
   7667 esac
   7668 fi
   7669 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7670     conftest$ac_exeext conftest.$ac_ext ;;
   7671 esac
   7672 fi
   7673 
   7674 
   7675 		CFLAGS="$xorg_testset_save_CFLAGS"
   7676 
   7677 		eval supported=\$$cacheid
   7678 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7679 printf "%s\n" "$supported" >&6; }
   7680 		if test "$supported" = "yes" ; then
   7681 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7682 			found="yes"
   7683 		fi
   7684 	fi
   7685 
   7686 
   7687 
   7688 
   7689 
   7690 
   7691 
   7692 
   7693 
   7694 
   7695 
   7696 
   7697 
   7698 
   7699 
   7700 xorg_testset_save_CFLAGS="$CFLAGS"
   7701 
   7702 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7703 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7704 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7705 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7706 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7707 then :
   7708   printf %s "(cached) " >&6
   7709 else case e in #(
   7710   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7711 /* end confdefs.h.  */
   7712 int i;
   7713 _ACEOF
   7714 if ac_fn_c_try_compile "$LINENO"
   7715 then :
   7716   xorg_cv_cc_flag_unknown_warning_option=yes
   7717 else case e in #(
   7718   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7719 esac
   7720 fi
   7721 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7722 esac
   7723 fi
   7724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7725 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7726 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7727 	CFLAGS="$xorg_testset_save_CFLAGS"
   7728 fi
   7729 
   7730 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7731 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7732 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7733 	fi
   7734 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7735 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7736 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7737 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7738 then :
   7739   printf %s "(cached) " >&6
   7740 else case e in #(
   7741   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7742 /* end confdefs.h.  */
   7743 int i;
   7744 _ACEOF
   7745 if ac_fn_c_try_compile "$LINENO"
   7746 then :
   7747   xorg_cv_cc_flag_unused_command_line_argument=yes
   7748 else case e in #(
   7749   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7750 esac
   7751 fi
   7752 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7753 esac
   7754 fi
   7755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7756 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7757 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7758 	CFLAGS="$xorg_testset_save_CFLAGS"
   7759 fi
   7760 
   7761 found="no"
   7762 
   7763 	if test $found = "no" ; then
   7764 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7765 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7766 		fi
   7767 
   7768 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7769 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7770 		fi
   7771 
   7772 		CFLAGS="$CFLAGS -Werror=init-self"
   7773 
   7774 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7775 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7776 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7777 		if eval test \${$cacheid+y}
   7778 then :
   7779   printf %s "(cached) " >&6
   7780 else case e in #(
   7781   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7782 /* end confdefs.h.  */
   7783 int i;
   7784 int
   7785 main (void)
   7786 {
   7787 
   7788   ;
   7789   return 0;
   7790 }
   7791 _ACEOF
   7792 if ac_fn_c_try_link "$LINENO"
   7793 then :
   7794   eval $cacheid=yes
   7795 else case e in #(
   7796   e) eval $cacheid=no ;;
   7797 esac
   7798 fi
   7799 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7800     conftest$ac_exeext conftest.$ac_ext ;;
   7801 esac
   7802 fi
   7803 
   7804 
   7805 		CFLAGS="$xorg_testset_save_CFLAGS"
   7806 
   7807 		eval supported=\$$cacheid
   7808 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7809 printf "%s\n" "$supported" >&6; }
   7810 		if test "$supported" = "yes" ; then
   7811 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7812 			found="yes"
   7813 		fi
   7814 	fi
   7815 
   7816 
   7817 
   7818 
   7819 
   7820 
   7821 
   7822 
   7823 
   7824 
   7825 
   7826 
   7827 
   7828 
   7829 
   7830 xorg_testset_save_CFLAGS="$CFLAGS"
   7831 
   7832 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7833 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7834 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7835 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7836 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7837 then :
   7838   printf %s "(cached) " >&6
   7839 else case e in #(
   7840   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7841 /* end confdefs.h.  */
   7842 int i;
   7843 _ACEOF
   7844 if ac_fn_c_try_compile "$LINENO"
   7845 then :
   7846   xorg_cv_cc_flag_unknown_warning_option=yes
   7847 else case e in #(
   7848   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7849 esac
   7850 fi
   7851 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7852 esac
   7853 fi
   7854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7855 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7856 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7857 	CFLAGS="$xorg_testset_save_CFLAGS"
   7858 fi
   7859 
   7860 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7861 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7862 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7863 	fi
   7864 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7865 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7866 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7867 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7868 then :
   7869   printf %s "(cached) " >&6
   7870 else case e in #(
   7871   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7872 /* end confdefs.h.  */
   7873 int i;
   7874 _ACEOF
   7875 if ac_fn_c_try_compile "$LINENO"
   7876 then :
   7877   xorg_cv_cc_flag_unused_command_line_argument=yes
   7878 else case e in #(
   7879   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7880 esac
   7881 fi
   7882 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7883 esac
   7884 fi
   7885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7886 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7887 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7888 	CFLAGS="$xorg_testset_save_CFLAGS"
   7889 fi
   7890 
   7891 found="no"
   7892 
   7893 	if test $found = "no" ; then
   7894 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7895 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7896 		fi
   7897 
   7898 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7899 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7900 		fi
   7901 
   7902 		CFLAGS="$CFLAGS -Werror=main"
   7903 
   7904 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7905 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7906 		cacheid=xorg_cv_cc_flag__Werror_main
   7907 		if eval test \${$cacheid+y}
   7908 then :
   7909   printf %s "(cached) " >&6
   7910 else case e in #(
   7911   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7912 /* end confdefs.h.  */
   7913 int i;
   7914 int
   7915 main (void)
   7916 {
   7917 
   7918   ;
   7919   return 0;
   7920 }
   7921 _ACEOF
   7922 if ac_fn_c_try_link "$LINENO"
   7923 then :
   7924   eval $cacheid=yes
   7925 else case e in #(
   7926   e) eval $cacheid=no ;;
   7927 esac
   7928 fi
   7929 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7930     conftest$ac_exeext conftest.$ac_ext ;;
   7931 esac
   7932 fi
   7933 
   7934 
   7935 		CFLAGS="$xorg_testset_save_CFLAGS"
   7936 
   7937 		eval supported=\$$cacheid
   7938 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7939 printf "%s\n" "$supported" >&6; }
   7940 		if test "$supported" = "yes" ; then
   7941 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7942 			found="yes"
   7943 		fi
   7944 	fi
   7945 
   7946 
   7947 
   7948 
   7949 
   7950 
   7951 
   7952 
   7953 
   7954 
   7955 
   7956 
   7957 
   7958 
   7959 
   7960 xorg_testset_save_CFLAGS="$CFLAGS"
   7961 
   7962 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7963 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7964 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7965 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7966 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7967 then :
   7968   printf %s "(cached) " >&6
   7969 else case e in #(
   7970   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7971 /* end confdefs.h.  */
   7972 int i;
   7973 _ACEOF
   7974 if ac_fn_c_try_compile "$LINENO"
   7975 then :
   7976   xorg_cv_cc_flag_unknown_warning_option=yes
   7977 else case e in #(
   7978   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7979 esac
   7980 fi
   7981 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7982 esac
   7983 fi
   7984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7985 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7986 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7987 	CFLAGS="$xorg_testset_save_CFLAGS"
   7988 fi
   7989 
   7990 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7991 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7992 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7993 	fi
   7994 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7995 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7996 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7997 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7998 then :
   7999   printf %s "(cached) " >&6
   8000 else case e in #(
   8001   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8002 /* end confdefs.h.  */
   8003 int i;
   8004 _ACEOF
   8005 if ac_fn_c_try_compile "$LINENO"
   8006 then :
   8007   xorg_cv_cc_flag_unused_command_line_argument=yes
   8008 else case e in #(
   8009   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8010 esac
   8011 fi
   8012 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8013 esac
   8014 fi
   8015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8016 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8017 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8018 	CFLAGS="$xorg_testset_save_CFLAGS"
   8019 fi
   8020 
   8021 found="no"
   8022 
   8023 	if test $found = "no" ; then
   8024 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8025 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8026 		fi
   8027 
   8028 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8029 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8030 		fi
   8031 
   8032 		CFLAGS="$CFLAGS -Werror=missing-braces"
   8033 
   8034 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   8035 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   8036 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   8037 		if eval test \${$cacheid+y}
   8038 then :
   8039   printf %s "(cached) " >&6
   8040 else case e in #(
   8041   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8042 /* end confdefs.h.  */
   8043 int i;
   8044 int
   8045 main (void)
   8046 {
   8047 
   8048   ;
   8049   return 0;
   8050 }
   8051 _ACEOF
   8052 if ac_fn_c_try_link "$LINENO"
   8053 then :
   8054   eval $cacheid=yes
   8055 else case e in #(
   8056   e) eval $cacheid=no ;;
   8057 esac
   8058 fi
   8059 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8060     conftest$ac_exeext conftest.$ac_ext ;;
   8061 esac
   8062 fi
   8063 
   8064 
   8065 		CFLAGS="$xorg_testset_save_CFLAGS"
   8066 
   8067 		eval supported=\$$cacheid
   8068 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8069 printf "%s\n" "$supported" >&6; }
   8070 		if test "$supported" = "yes" ; then
   8071 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   8072 			found="yes"
   8073 		fi
   8074 	fi
   8075 
   8076 
   8077 
   8078 
   8079 
   8080 
   8081 
   8082 
   8083 
   8084 
   8085 
   8086 
   8087 
   8088 
   8089 
   8090 xorg_testset_save_CFLAGS="$CFLAGS"
   8091 
   8092 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8093 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8094 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8095 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8096 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8097 then :
   8098   printf %s "(cached) " >&6
   8099 else case e in #(
   8100   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8101 /* end confdefs.h.  */
   8102 int i;
   8103 _ACEOF
   8104 if ac_fn_c_try_compile "$LINENO"
   8105 then :
   8106   xorg_cv_cc_flag_unknown_warning_option=yes
   8107 else case e in #(
   8108   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8109 esac
   8110 fi
   8111 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8112 esac
   8113 fi
   8114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8115 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8116 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8117 	CFLAGS="$xorg_testset_save_CFLAGS"
   8118 fi
   8119 
   8120 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8121 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8122 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8123 	fi
   8124 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8125 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8126 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8127 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8128 then :
   8129   printf %s "(cached) " >&6
   8130 else case e in #(
   8131   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8132 /* end confdefs.h.  */
   8133 int i;
   8134 _ACEOF
   8135 if ac_fn_c_try_compile "$LINENO"
   8136 then :
   8137   xorg_cv_cc_flag_unused_command_line_argument=yes
   8138 else case e in #(
   8139   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8140 esac
   8141 fi
   8142 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8143 esac
   8144 fi
   8145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8146 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8147 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8148 	CFLAGS="$xorg_testset_save_CFLAGS"
   8149 fi
   8150 
   8151 found="no"
   8152 
   8153 	if test $found = "no" ; then
   8154 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8155 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8156 		fi
   8157 
   8158 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8159 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8160 		fi
   8161 
   8162 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8163 
   8164 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8165 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   8166 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8167 		if eval test \${$cacheid+y}
   8168 then :
   8169   printf %s "(cached) " >&6
   8170 else case e in #(
   8171   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8172 /* end confdefs.h.  */
   8173 int i;
   8174 int
   8175 main (void)
   8176 {
   8177 
   8178   ;
   8179   return 0;
   8180 }
   8181 _ACEOF
   8182 if ac_fn_c_try_link "$LINENO"
   8183 then :
   8184   eval $cacheid=yes
   8185 else case e in #(
   8186   e) eval $cacheid=no ;;
   8187 esac
   8188 fi
   8189 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8190     conftest$ac_exeext conftest.$ac_ext ;;
   8191 esac
   8192 fi
   8193 
   8194 
   8195 		CFLAGS="$xorg_testset_save_CFLAGS"
   8196 
   8197 		eval supported=\$$cacheid
   8198 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8199 printf "%s\n" "$supported" >&6; }
   8200 		if test "$supported" = "yes" ; then
   8201 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8202 			found="yes"
   8203 		fi
   8204 	fi
   8205 
   8206 
   8207 
   8208 
   8209 
   8210 
   8211 
   8212 
   8213 
   8214 
   8215 
   8216 
   8217 
   8218 
   8219 
   8220 xorg_testset_save_CFLAGS="$CFLAGS"
   8221 
   8222 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8223 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8224 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8225 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8226 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8227 then :
   8228   printf %s "(cached) " >&6
   8229 else case e in #(
   8230   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8231 /* end confdefs.h.  */
   8232 int i;
   8233 _ACEOF
   8234 if ac_fn_c_try_compile "$LINENO"
   8235 then :
   8236   xorg_cv_cc_flag_unknown_warning_option=yes
   8237 else case e in #(
   8238   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8239 esac
   8240 fi
   8241 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8242 esac
   8243 fi
   8244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8245 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8246 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8247 	CFLAGS="$xorg_testset_save_CFLAGS"
   8248 fi
   8249 
   8250 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8251 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8252 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8253 	fi
   8254 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8255 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8256 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8257 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8258 then :
   8259   printf %s "(cached) " >&6
   8260 else case e in #(
   8261   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8262 /* end confdefs.h.  */
   8263 int i;
   8264 _ACEOF
   8265 if ac_fn_c_try_compile "$LINENO"
   8266 then :
   8267   xorg_cv_cc_flag_unused_command_line_argument=yes
   8268 else case e in #(
   8269   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8270 esac
   8271 fi
   8272 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8273 esac
   8274 fi
   8275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8276 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8277 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8278 	CFLAGS="$xorg_testset_save_CFLAGS"
   8279 fi
   8280 
   8281 found="no"
   8282 
   8283 	if test $found = "no" ; then
   8284 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8285 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8286 		fi
   8287 
   8288 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8289 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8290 		fi
   8291 
   8292 		CFLAGS="$CFLAGS -Werror=return-type"
   8293 
   8294 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8295 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8296 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8297 		if eval test \${$cacheid+y}
   8298 then :
   8299   printf %s "(cached) " >&6
   8300 else case e in #(
   8301   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8302 /* end confdefs.h.  */
   8303 int i;
   8304 int
   8305 main (void)
   8306 {
   8307 
   8308   ;
   8309   return 0;
   8310 }
   8311 _ACEOF
   8312 if ac_fn_c_try_link "$LINENO"
   8313 then :
   8314   eval $cacheid=yes
   8315 else case e in #(
   8316   e) eval $cacheid=no ;;
   8317 esac
   8318 fi
   8319 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8320     conftest$ac_exeext conftest.$ac_ext ;;
   8321 esac
   8322 fi
   8323 
   8324 
   8325 		CFLAGS="$xorg_testset_save_CFLAGS"
   8326 
   8327 		eval supported=\$$cacheid
   8328 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8329 printf "%s\n" "$supported" >&6; }
   8330 		if test "$supported" = "yes" ; then
   8331 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8332 			found="yes"
   8333 		fi
   8334 	fi
   8335 
   8336 	if test $found = "no" ; then
   8337 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8338 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8339 		fi
   8340 
   8341 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8342 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8343 		fi
   8344 
   8345 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8346 
   8347 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8348 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8349 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8350 		if eval test \${$cacheid+y}
   8351 then :
   8352   printf %s "(cached) " >&6
   8353 else case e in #(
   8354   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8355 /* end confdefs.h.  */
   8356 int i;
   8357 int
   8358 main (void)
   8359 {
   8360 
   8361   ;
   8362   return 0;
   8363 }
   8364 _ACEOF
   8365 if ac_fn_c_try_link "$LINENO"
   8366 then :
   8367   eval $cacheid=yes
   8368 else case e in #(
   8369   e) eval $cacheid=no ;;
   8370 esac
   8371 fi
   8372 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8373     conftest$ac_exeext conftest.$ac_ext ;;
   8374 esac
   8375 fi
   8376 
   8377 
   8378 		CFLAGS="$xorg_testset_save_CFLAGS"
   8379 
   8380 		eval supported=\$$cacheid
   8381 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8382 printf "%s\n" "$supported" >&6; }
   8383 		if test "$supported" = "yes" ; then
   8384 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8385 			found="yes"
   8386 		fi
   8387 	fi
   8388 
   8389 
   8390 
   8391 
   8392 
   8393 
   8394 
   8395 
   8396 
   8397 
   8398 
   8399 
   8400 
   8401 
   8402 
   8403 xorg_testset_save_CFLAGS="$CFLAGS"
   8404 
   8405 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8406 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8407 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8408 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8409 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8410 then :
   8411   printf %s "(cached) " >&6
   8412 else case e in #(
   8413   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8414 /* end confdefs.h.  */
   8415 int i;
   8416 _ACEOF
   8417 if ac_fn_c_try_compile "$LINENO"
   8418 then :
   8419   xorg_cv_cc_flag_unknown_warning_option=yes
   8420 else case e in #(
   8421   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8422 esac
   8423 fi
   8424 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8425 esac
   8426 fi
   8427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8428 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8429 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8430 	CFLAGS="$xorg_testset_save_CFLAGS"
   8431 fi
   8432 
   8433 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8434 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8435 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8436 	fi
   8437 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8438 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8439 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8440 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8441 then :
   8442   printf %s "(cached) " >&6
   8443 else case e in #(
   8444   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8445 /* end confdefs.h.  */
   8446 int i;
   8447 _ACEOF
   8448 if ac_fn_c_try_compile "$LINENO"
   8449 then :
   8450   xorg_cv_cc_flag_unused_command_line_argument=yes
   8451 else case e in #(
   8452   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8453 esac
   8454 fi
   8455 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8456 esac
   8457 fi
   8458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8459 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8460 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8461 	CFLAGS="$xorg_testset_save_CFLAGS"
   8462 fi
   8463 
   8464 found="no"
   8465 
   8466 	if test $found = "no" ; then
   8467 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8468 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8469 		fi
   8470 
   8471 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8472 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8473 		fi
   8474 
   8475 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8476 
   8477 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8478 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8479 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8480 		if eval test \${$cacheid+y}
   8481 then :
   8482   printf %s "(cached) " >&6
   8483 else case e in #(
   8484   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8485 /* end confdefs.h.  */
   8486 int i;
   8487 int
   8488 main (void)
   8489 {
   8490 
   8491   ;
   8492   return 0;
   8493 }
   8494 _ACEOF
   8495 if ac_fn_c_try_link "$LINENO"
   8496 then :
   8497   eval $cacheid=yes
   8498 else case e in #(
   8499   e) eval $cacheid=no ;;
   8500 esac
   8501 fi
   8502 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8503     conftest$ac_exeext conftest.$ac_ext ;;
   8504 esac
   8505 fi
   8506 
   8507 
   8508 		CFLAGS="$xorg_testset_save_CFLAGS"
   8509 
   8510 		eval supported=\$$cacheid
   8511 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8512 printf "%s\n" "$supported" >&6; }
   8513 		if test "$supported" = "yes" ; then
   8514 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8515 			found="yes"
   8516 		fi
   8517 	fi
   8518 
   8519 
   8520 
   8521 
   8522 
   8523 
   8524 
   8525 
   8526 
   8527 
   8528 
   8529 
   8530 
   8531 
   8532 
   8533 xorg_testset_save_CFLAGS="$CFLAGS"
   8534 
   8535 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8536 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8537 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8538 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8539 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8540 then :
   8541   printf %s "(cached) " >&6
   8542 else case e in #(
   8543   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8544 /* end confdefs.h.  */
   8545 int i;
   8546 _ACEOF
   8547 if ac_fn_c_try_compile "$LINENO"
   8548 then :
   8549   xorg_cv_cc_flag_unknown_warning_option=yes
   8550 else case e in #(
   8551   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8552 esac
   8553 fi
   8554 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8555 esac
   8556 fi
   8557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8558 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8559 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8560 	CFLAGS="$xorg_testset_save_CFLAGS"
   8561 fi
   8562 
   8563 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8564 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8565 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8566 	fi
   8567 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8568 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8569 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8570 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8571 then :
   8572   printf %s "(cached) " >&6
   8573 else case e in #(
   8574   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8575 /* end confdefs.h.  */
   8576 int i;
   8577 _ACEOF
   8578 if ac_fn_c_try_compile "$LINENO"
   8579 then :
   8580   xorg_cv_cc_flag_unused_command_line_argument=yes
   8581 else case e in #(
   8582   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8583 esac
   8584 fi
   8585 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8586 esac
   8587 fi
   8588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8589 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8590 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8591 	CFLAGS="$xorg_testset_save_CFLAGS"
   8592 fi
   8593 
   8594 found="no"
   8595 
   8596 	if test $found = "no" ; then
   8597 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8598 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8599 		fi
   8600 
   8601 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8602 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8603 		fi
   8604 
   8605 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8606 
   8607 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8608 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8609 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8610 		if eval test \${$cacheid+y}
   8611 then :
   8612   printf %s "(cached) " >&6
   8613 else case e in #(
   8614   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8615 /* end confdefs.h.  */
   8616 int i;
   8617 int
   8618 main (void)
   8619 {
   8620 
   8621   ;
   8622   return 0;
   8623 }
   8624 _ACEOF
   8625 if ac_fn_c_try_link "$LINENO"
   8626 then :
   8627   eval $cacheid=yes
   8628 else case e in #(
   8629   e) eval $cacheid=no ;;
   8630 esac
   8631 fi
   8632 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8633     conftest$ac_exeext conftest.$ac_ext ;;
   8634 esac
   8635 fi
   8636 
   8637 
   8638 		CFLAGS="$xorg_testset_save_CFLAGS"
   8639 
   8640 		eval supported=\$$cacheid
   8641 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8642 printf "%s\n" "$supported" >&6; }
   8643 		if test "$supported" = "yes" ; then
   8644 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8645 			found="yes"
   8646 		fi
   8647 	fi
   8648 
   8649 
   8650 
   8651 
   8652 
   8653 
   8654 
   8655 
   8656 
   8657 
   8658 
   8659 
   8660 
   8661 
   8662 
   8663 xorg_testset_save_CFLAGS="$CFLAGS"
   8664 
   8665 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8666 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8667 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8668 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8669 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8670 then :
   8671   printf %s "(cached) " >&6
   8672 else case e in #(
   8673   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8674 /* end confdefs.h.  */
   8675 int i;
   8676 _ACEOF
   8677 if ac_fn_c_try_compile "$LINENO"
   8678 then :
   8679   xorg_cv_cc_flag_unknown_warning_option=yes
   8680 else case e in #(
   8681   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8682 esac
   8683 fi
   8684 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8685 esac
   8686 fi
   8687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8688 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8689 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8690 	CFLAGS="$xorg_testset_save_CFLAGS"
   8691 fi
   8692 
   8693 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8694 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8695 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8696 	fi
   8697 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8698 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8699 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8700 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8701 then :
   8702   printf %s "(cached) " >&6
   8703 else case e in #(
   8704   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8705 /* end confdefs.h.  */
   8706 int i;
   8707 _ACEOF
   8708 if ac_fn_c_try_compile "$LINENO"
   8709 then :
   8710   xorg_cv_cc_flag_unused_command_line_argument=yes
   8711 else case e in #(
   8712   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8713 esac
   8714 fi
   8715 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8716 esac
   8717 fi
   8718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8719 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8720 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8721 	CFLAGS="$xorg_testset_save_CFLAGS"
   8722 fi
   8723 
   8724 found="no"
   8725 
   8726 	if test $found = "no" ; then
   8727 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8728 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8729 		fi
   8730 
   8731 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8732 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8733 		fi
   8734 
   8735 		CFLAGS="$CFLAGS -Werror=write-strings"
   8736 
   8737 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8738 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8739 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8740 		if eval test \${$cacheid+y}
   8741 then :
   8742   printf %s "(cached) " >&6
   8743 else case e in #(
   8744   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8745 /* end confdefs.h.  */
   8746 int i;
   8747 int
   8748 main (void)
   8749 {
   8750 
   8751   ;
   8752   return 0;
   8753 }
   8754 _ACEOF
   8755 if ac_fn_c_try_link "$LINENO"
   8756 then :
   8757   eval $cacheid=yes
   8758 else case e in #(
   8759   e) eval $cacheid=no ;;
   8760 esac
   8761 fi
   8762 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8763     conftest$ac_exeext conftest.$ac_ext ;;
   8764 esac
   8765 fi
   8766 
   8767 
   8768 		CFLAGS="$xorg_testset_save_CFLAGS"
   8769 
   8770 		eval supported=\$$cacheid
   8771 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8772 printf "%s\n" "$supported" >&6; }
   8773 		if test "$supported" = "yes" ; then
   8774 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8775 			found="yes"
   8776 		fi
   8777 	fi
   8778 
   8779 
   8780 
   8781 
   8782 
   8783 
   8784 
   8785 
   8786 
   8787 
   8788 
   8789 
   8790 
   8791 
   8792 
   8793 xorg_testset_save_CFLAGS="$CFLAGS"
   8794 
   8795 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8796 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8797 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8798 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8799 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8800 then :
   8801   printf %s "(cached) " >&6
   8802 else case e in #(
   8803   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8804 /* end confdefs.h.  */
   8805 int i;
   8806 _ACEOF
   8807 if ac_fn_c_try_compile "$LINENO"
   8808 then :
   8809   xorg_cv_cc_flag_unknown_warning_option=yes
   8810 else case e in #(
   8811   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8812 esac
   8813 fi
   8814 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8815 esac
   8816 fi
   8817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8818 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8819 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8820 	CFLAGS="$xorg_testset_save_CFLAGS"
   8821 fi
   8822 
   8823 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8824 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8825 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8826 	fi
   8827 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8828 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8829 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8830 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8831 then :
   8832   printf %s "(cached) " >&6
   8833 else case e in #(
   8834   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8835 /* end confdefs.h.  */
   8836 int i;
   8837 _ACEOF
   8838 if ac_fn_c_try_compile "$LINENO"
   8839 then :
   8840   xorg_cv_cc_flag_unused_command_line_argument=yes
   8841 else case e in #(
   8842   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8843 esac
   8844 fi
   8845 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8846 esac
   8847 fi
   8848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8849 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8850 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8851 	CFLAGS="$xorg_testset_save_CFLAGS"
   8852 fi
   8853 
   8854 found="no"
   8855 
   8856 	if test $found = "no" ; then
   8857 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8858 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8859 		fi
   8860 
   8861 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8862 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8863 		fi
   8864 
   8865 		CFLAGS="$CFLAGS -Werror=address"
   8866 
   8867 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8868 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8869 		cacheid=xorg_cv_cc_flag__Werror_address
   8870 		if eval test \${$cacheid+y}
   8871 then :
   8872   printf %s "(cached) " >&6
   8873 else case e in #(
   8874   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8875 /* end confdefs.h.  */
   8876 int i;
   8877 int
   8878 main (void)
   8879 {
   8880 
   8881   ;
   8882   return 0;
   8883 }
   8884 _ACEOF
   8885 if ac_fn_c_try_link "$LINENO"
   8886 then :
   8887   eval $cacheid=yes
   8888 else case e in #(
   8889   e) eval $cacheid=no ;;
   8890 esac
   8891 fi
   8892 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8893     conftest$ac_exeext conftest.$ac_ext ;;
   8894 esac
   8895 fi
   8896 
   8897 
   8898 		CFLAGS="$xorg_testset_save_CFLAGS"
   8899 
   8900 		eval supported=\$$cacheid
   8901 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8902 printf "%s\n" "$supported" >&6; }
   8903 		if test "$supported" = "yes" ; then
   8904 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8905 			found="yes"
   8906 		fi
   8907 	fi
   8908 
   8909 
   8910 
   8911 
   8912 
   8913 
   8914 
   8915 
   8916 
   8917 
   8918 
   8919 
   8920 
   8921 
   8922 
   8923 xorg_testset_save_CFLAGS="$CFLAGS"
   8924 
   8925 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8926 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8927 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8928 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8929 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8930 then :
   8931   printf %s "(cached) " >&6
   8932 else case e in #(
   8933   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8934 /* end confdefs.h.  */
   8935 int i;
   8936 _ACEOF
   8937 if ac_fn_c_try_compile "$LINENO"
   8938 then :
   8939   xorg_cv_cc_flag_unknown_warning_option=yes
   8940 else case e in #(
   8941   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8942 esac
   8943 fi
   8944 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8945 esac
   8946 fi
   8947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8948 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8949 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8950 	CFLAGS="$xorg_testset_save_CFLAGS"
   8951 fi
   8952 
   8953 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8954 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8955 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8956 	fi
   8957 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8958 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8959 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8960 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8961 then :
   8962   printf %s "(cached) " >&6
   8963 else case e in #(
   8964   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8965 /* end confdefs.h.  */
   8966 int i;
   8967 _ACEOF
   8968 if ac_fn_c_try_compile "$LINENO"
   8969 then :
   8970   xorg_cv_cc_flag_unused_command_line_argument=yes
   8971 else case e in #(
   8972   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8973 esac
   8974 fi
   8975 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8976 esac
   8977 fi
   8978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8979 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8980 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8981 	CFLAGS="$xorg_testset_save_CFLAGS"
   8982 fi
   8983 
   8984 found="no"
   8985 
   8986 	if test $found = "no" ; then
   8987 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8988 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8989 		fi
   8990 
   8991 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8992 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8993 		fi
   8994 
   8995 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8996 
   8997 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8998 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8999 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   9000 		if eval test \${$cacheid+y}
   9001 then :
   9002   printf %s "(cached) " >&6
   9003 else case e in #(
   9004   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9005 /* end confdefs.h.  */
   9006 int i;
   9007 int
   9008 main (void)
   9009 {
   9010 
   9011   ;
   9012   return 0;
   9013 }
   9014 _ACEOF
   9015 if ac_fn_c_try_link "$LINENO"
   9016 then :
   9017   eval $cacheid=yes
   9018 else case e in #(
   9019   e) eval $cacheid=no ;;
   9020 esac
   9021 fi
   9022 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9023     conftest$ac_exeext conftest.$ac_ext ;;
   9024 esac
   9025 fi
   9026 
   9027 
   9028 		CFLAGS="$xorg_testset_save_CFLAGS"
   9029 
   9030 		eval supported=\$$cacheid
   9031 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9032 printf "%s\n" "$supported" >&6; }
   9033 		if test "$supported" = "yes" ; then
   9034 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   9035 			found="yes"
   9036 		fi
   9037 	fi
   9038 
   9039 	if test $found = "no" ; then
   9040 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9041 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9042 		fi
   9043 
   9044 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9045 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9046 		fi
   9047 
   9048 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9049 
   9050 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   9051 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   9052 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   9053 		if eval test \${$cacheid+y}
   9054 then :
   9055   printf %s "(cached) " >&6
   9056 else case e in #(
   9057   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9058 /* end confdefs.h.  */
   9059 int i;
   9060 int
   9061 main (void)
   9062 {
   9063 
   9064   ;
   9065   return 0;
   9066 }
   9067 _ACEOF
   9068 if ac_fn_c_try_link "$LINENO"
   9069 then :
   9070   eval $cacheid=yes
   9071 else case e in #(
   9072   e) eval $cacheid=no ;;
   9073 esac
   9074 fi
   9075 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9076     conftest$ac_exeext conftest.$ac_ext ;;
   9077 esac
   9078 fi
   9079 
   9080 
   9081 		CFLAGS="$xorg_testset_save_CFLAGS"
   9082 
   9083 		eval supported=\$$cacheid
   9084 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9085 printf "%s\n" "$supported" >&6; }
   9086 		if test "$supported" = "yes" ; then
   9087 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9088 			found="yes"
   9089 		fi
   9090 	fi
   9091 
   9092 
   9093 
   9094 
   9095 
   9096 
   9097 
   9098 
   9099 
   9100 
   9101 
   9102 
   9103 
   9104 
   9105 
   9106 xorg_testset_save_CFLAGS="$CFLAGS"
   9107 
   9108 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9109 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9110 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9111 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9112 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9113 then :
   9114   printf %s "(cached) " >&6
   9115 else case e in #(
   9116   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9117 /* end confdefs.h.  */
   9118 int i;
   9119 _ACEOF
   9120 if ac_fn_c_try_compile "$LINENO"
   9121 then :
   9122   xorg_cv_cc_flag_unknown_warning_option=yes
   9123 else case e in #(
   9124   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9125 esac
   9126 fi
   9127 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9128 esac
   9129 fi
   9130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9131 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9132 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9133 	CFLAGS="$xorg_testset_save_CFLAGS"
   9134 fi
   9135 
   9136 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9137 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9138 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9139 	fi
   9140 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9141 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9142 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9143 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9144 then :
   9145   printf %s "(cached) " >&6
   9146 else case e in #(
   9147   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9148 /* end confdefs.h.  */
   9149 int i;
   9150 _ACEOF
   9151 if ac_fn_c_try_compile "$LINENO"
   9152 then :
   9153   xorg_cv_cc_flag_unused_command_line_argument=yes
   9154 else case e in #(
   9155   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9156 esac
   9157 fi
   9158 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9159 esac
   9160 fi
   9161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9162 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9163 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9164 	CFLAGS="$xorg_testset_save_CFLAGS"
   9165 fi
   9166 
   9167 found="no"
   9168 
   9169 	if test $found = "no" ; then
   9170 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9171 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9172 		fi
   9173 
   9174 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9175 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9176 		fi
   9177 
   9178 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   9179 
   9180 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   9181 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   9182 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   9183 		if eval test \${$cacheid+y}
   9184 then :
   9185   printf %s "(cached) " >&6
   9186 else case e in #(
   9187   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9188 /* end confdefs.h.  */
   9189 int i;
   9190 int
   9191 main (void)
   9192 {
   9193 
   9194   ;
   9195   return 0;
   9196 }
   9197 _ACEOF
   9198 if ac_fn_c_try_link "$LINENO"
   9199 then :
   9200   eval $cacheid=yes
   9201 else case e in #(
   9202   e) eval $cacheid=no ;;
   9203 esac
   9204 fi
   9205 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9206     conftest$ac_exeext conftest.$ac_ext ;;
   9207 esac
   9208 fi
   9209 
   9210 
   9211 		CFLAGS="$xorg_testset_save_CFLAGS"
   9212 
   9213 		eval supported=\$$cacheid
   9214 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9215 printf "%s\n" "$supported" >&6; }
   9216 		if test "$supported" = "yes" ; then
   9217 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   9218 			found="yes"
   9219 		fi
   9220 	fi
   9221 
   9222  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   9223 else
   9224 { 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
   9225 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;}
   9226 
   9227 
   9228 
   9229 
   9230 
   9231 
   9232 
   9233 
   9234 
   9235 
   9236 
   9237 
   9238 
   9239 xorg_testset_save_CFLAGS="$CFLAGS"
   9240 
   9241 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9242 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9243 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9244 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9245 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9246 then :
   9247   printf %s "(cached) " >&6
   9248 else case e in #(
   9249   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9250 /* end confdefs.h.  */
   9251 int i;
   9252 _ACEOF
   9253 if ac_fn_c_try_compile "$LINENO"
   9254 then :
   9255   xorg_cv_cc_flag_unknown_warning_option=yes
   9256 else case e in #(
   9257   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9258 esac
   9259 fi
   9260 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9261 esac
   9262 fi
   9263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9264 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9265 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9266 	CFLAGS="$xorg_testset_save_CFLAGS"
   9267 fi
   9268 
   9269 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9270 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9271 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9272 	fi
   9273 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9274 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9275 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9276 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9277 then :
   9278   printf %s "(cached) " >&6
   9279 else case e in #(
   9280   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9281 /* end confdefs.h.  */
   9282 int i;
   9283 _ACEOF
   9284 if ac_fn_c_try_compile "$LINENO"
   9285 then :
   9286   xorg_cv_cc_flag_unused_command_line_argument=yes
   9287 else case e in #(
   9288   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9289 esac
   9290 fi
   9291 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9292 esac
   9293 fi
   9294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9295 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9296 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9297 	CFLAGS="$xorg_testset_save_CFLAGS"
   9298 fi
   9299 
   9300 found="no"
   9301 
   9302 	if test $found = "no" ; then
   9303 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9304 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9305 		fi
   9306 
   9307 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9308 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9309 		fi
   9310 
   9311 		CFLAGS="$CFLAGS -Wimplicit"
   9312 
   9313 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9314 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9315 		cacheid=xorg_cv_cc_flag__Wimplicit
   9316 		if eval test \${$cacheid+y}
   9317 then :
   9318   printf %s "(cached) " >&6
   9319 else case e in #(
   9320   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9321 /* end confdefs.h.  */
   9322 int i;
   9323 int
   9324 main (void)
   9325 {
   9326 
   9327   ;
   9328   return 0;
   9329 }
   9330 _ACEOF
   9331 if ac_fn_c_try_link "$LINENO"
   9332 then :
   9333   eval $cacheid=yes
   9334 else case e in #(
   9335   e) eval $cacheid=no ;;
   9336 esac
   9337 fi
   9338 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9339     conftest$ac_exeext conftest.$ac_ext ;;
   9340 esac
   9341 fi
   9342 
   9343 
   9344 		CFLAGS="$xorg_testset_save_CFLAGS"
   9345 
   9346 		eval supported=\$$cacheid
   9347 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9348 printf "%s\n" "$supported" >&6; }
   9349 		if test "$supported" = "yes" ; then
   9350 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9351 			found="yes"
   9352 		fi
   9353 	fi
   9354 
   9355 
   9356 
   9357 
   9358 
   9359 
   9360 
   9361 
   9362 
   9363 
   9364 
   9365 
   9366 
   9367 
   9368 
   9369 xorg_testset_save_CFLAGS="$CFLAGS"
   9370 
   9371 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9372 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9373 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9374 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9375 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9376 then :
   9377   printf %s "(cached) " >&6
   9378 else case e in #(
   9379   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9380 /* end confdefs.h.  */
   9381 int i;
   9382 _ACEOF
   9383 if ac_fn_c_try_compile "$LINENO"
   9384 then :
   9385   xorg_cv_cc_flag_unknown_warning_option=yes
   9386 else case e in #(
   9387   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9388 esac
   9389 fi
   9390 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9391 esac
   9392 fi
   9393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9394 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9395 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9396 	CFLAGS="$xorg_testset_save_CFLAGS"
   9397 fi
   9398 
   9399 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9400 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9401 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9402 	fi
   9403 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9404 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9405 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9406 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9407 then :
   9408   printf %s "(cached) " >&6
   9409 else case e in #(
   9410   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9411 /* end confdefs.h.  */
   9412 int i;
   9413 _ACEOF
   9414 if ac_fn_c_try_compile "$LINENO"
   9415 then :
   9416   xorg_cv_cc_flag_unused_command_line_argument=yes
   9417 else case e in #(
   9418   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9419 esac
   9420 fi
   9421 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9422 esac
   9423 fi
   9424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9425 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9426 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9427 	CFLAGS="$xorg_testset_save_CFLAGS"
   9428 fi
   9429 
   9430 found="no"
   9431 
   9432 	if test $found = "no" ; then
   9433 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9434 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9435 		fi
   9436 
   9437 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9438 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9439 		fi
   9440 
   9441 		CFLAGS="$CFLAGS -Wnonnull"
   9442 
   9443 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9444 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9445 		cacheid=xorg_cv_cc_flag__Wnonnull
   9446 		if eval test \${$cacheid+y}
   9447 then :
   9448   printf %s "(cached) " >&6
   9449 else case e in #(
   9450   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9451 /* end confdefs.h.  */
   9452 int i;
   9453 int
   9454 main (void)
   9455 {
   9456 
   9457   ;
   9458   return 0;
   9459 }
   9460 _ACEOF
   9461 if ac_fn_c_try_link "$LINENO"
   9462 then :
   9463   eval $cacheid=yes
   9464 else case e in #(
   9465   e) eval $cacheid=no ;;
   9466 esac
   9467 fi
   9468 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9469     conftest$ac_exeext conftest.$ac_ext ;;
   9470 esac
   9471 fi
   9472 
   9473 
   9474 		CFLAGS="$xorg_testset_save_CFLAGS"
   9475 
   9476 		eval supported=\$$cacheid
   9477 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9478 printf "%s\n" "$supported" >&6; }
   9479 		if test "$supported" = "yes" ; then
   9480 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9481 			found="yes"
   9482 		fi
   9483 	fi
   9484 
   9485 
   9486 
   9487 
   9488 
   9489 
   9490 
   9491 
   9492 
   9493 
   9494 
   9495 
   9496 
   9497 
   9498 
   9499 xorg_testset_save_CFLAGS="$CFLAGS"
   9500 
   9501 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9502 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9503 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9504 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9505 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9506 then :
   9507   printf %s "(cached) " >&6
   9508 else case e in #(
   9509   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9510 /* end confdefs.h.  */
   9511 int i;
   9512 _ACEOF
   9513 if ac_fn_c_try_compile "$LINENO"
   9514 then :
   9515   xorg_cv_cc_flag_unknown_warning_option=yes
   9516 else case e in #(
   9517   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9518 esac
   9519 fi
   9520 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9521 esac
   9522 fi
   9523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9524 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9525 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9526 	CFLAGS="$xorg_testset_save_CFLAGS"
   9527 fi
   9528 
   9529 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9530 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9531 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9532 	fi
   9533 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9534 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9535 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9536 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9537 then :
   9538   printf %s "(cached) " >&6
   9539 else case e in #(
   9540   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9541 /* end confdefs.h.  */
   9542 int i;
   9543 _ACEOF
   9544 if ac_fn_c_try_compile "$LINENO"
   9545 then :
   9546   xorg_cv_cc_flag_unused_command_line_argument=yes
   9547 else case e in #(
   9548   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9549 esac
   9550 fi
   9551 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9552 esac
   9553 fi
   9554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9555 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9556 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9557 	CFLAGS="$xorg_testset_save_CFLAGS"
   9558 fi
   9559 
   9560 found="no"
   9561 
   9562 	if test $found = "no" ; then
   9563 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9564 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9565 		fi
   9566 
   9567 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9568 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9569 		fi
   9570 
   9571 		CFLAGS="$CFLAGS -Winit-self"
   9572 
   9573 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9574 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9575 		cacheid=xorg_cv_cc_flag__Winit_self
   9576 		if eval test \${$cacheid+y}
   9577 then :
   9578   printf %s "(cached) " >&6
   9579 else case e in #(
   9580   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9581 /* end confdefs.h.  */
   9582 int i;
   9583 int
   9584 main (void)
   9585 {
   9586 
   9587   ;
   9588   return 0;
   9589 }
   9590 _ACEOF
   9591 if ac_fn_c_try_link "$LINENO"
   9592 then :
   9593   eval $cacheid=yes
   9594 else case e in #(
   9595   e) eval $cacheid=no ;;
   9596 esac
   9597 fi
   9598 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9599     conftest$ac_exeext conftest.$ac_ext ;;
   9600 esac
   9601 fi
   9602 
   9603 
   9604 		CFLAGS="$xorg_testset_save_CFLAGS"
   9605 
   9606 		eval supported=\$$cacheid
   9607 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9608 printf "%s\n" "$supported" >&6; }
   9609 		if test "$supported" = "yes" ; then
   9610 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9611 			found="yes"
   9612 		fi
   9613 	fi
   9614 
   9615 
   9616 
   9617 
   9618 
   9619 
   9620 
   9621 
   9622 
   9623 
   9624 
   9625 
   9626 
   9627 
   9628 
   9629 xorg_testset_save_CFLAGS="$CFLAGS"
   9630 
   9631 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9632 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9633 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9634 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9635 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9636 then :
   9637   printf %s "(cached) " >&6
   9638 else case e in #(
   9639   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9640 /* end confdefs.h.  */
   9641 int i;
   9642 _ACEOF
   9643 if ac_fn_c_try_compile "$LINENO"
   9644 then :
   9645   xorg_cv_cc_flag_unknown_warning_option=yes
   9646 else case e in #(
   9647   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9648 esac
   9649 fi
   9650 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9651 esac
   9652 fi
   9653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9654 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9655 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9656 	CFLAGS="$xorg_testset_save_CFLAGS"
   9657 fi
   9658 
   9659 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9660 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9661 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9662 	fi
   9663 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9664 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9665 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9666 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9667 then :
   9668   printf %s "(cached) " >&6
   9669 else case e in #(
   9670   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9671 /* end confdefs.h.  */
   9672 int i;
   9673 _ACEOF
   9674 if ac_fn_c_try_compile "$LINENO"
   9675 then :
   9676   xorg_cv_cc_flag_unused_command_line_argument=yes
   9677 else case e in #(
   9678   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9679 esac
   9680 fi
   9681 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9682 esac
   9683 fi
   9684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9685 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9686 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9687 	CFLAGS="$xorg_testset_save_CFLAGS"
   9688 fi
   9689 
   9690 found="no"
   9691 
   9692 	if test $found = "no" ; then
   9693 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9694 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9695 		fi
   9696 
   9697 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9698 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9699 		fi
   9700 
   9701 		CFLAGS="$CFLAGS -Wmain"
   9702 
   9703 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9704 printf %s "checking if $CC supports -Wmain... " >&6; }
   9705 		cacheid=xorg_cv_cc_flag__Wmain
   9706 		if eval test \${$cacheid+y}
   9707 then :
   9708   printf %s "(cached) " >&6
   9709 else case e in #(
   9710   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9711 /* end confdefs.h.  */
   9712 int i;
   9713 int
   9714 main (void)
   9715 {
   9716 
   9717   ;
   9718   return 0;
   9719 }
   9720 _ACEOF
   9721 if ac_fn_c_try_link "$LINENO"
   9722 then :
   9723   eval $cacheid=yes
   9724 else case e in #(
   9725   e) eval $cacheid=no ;;
   9726 esac
   9727 fi
   9728 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9729     conftest$ac_exeext conftest.$ac_ext ;;
   9730 esac
   9731 fi
   9732 
   9733 
   9734 		CFLAGS="$xorg_testset_save_CFLAGS"
   9735 
   9736 		eval supported=\$$cacheid
   9737 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9738 printf "%s\n" "$supported" >&6; }
   9739 		if test "$supported" = "yes" ; then
   9740 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9741 			found="yes"
   9742 		fi
   9743 	fi
   9744 
   9745 
   9746 
   9747 
   9748 
   9749 
   9750 
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 
   9758 
   9759 xorg_testset_save_CFLAGS="$CFLAGS"
   9760 
   9761 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9762 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9763 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9764 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9765 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9766 then :
   9767   printf %s "(cached) " >&6
   9768 else case e in #(
   9769   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9770 /* end confdefs.h.  */
   9771 int i;
   9772 _ACEOF
   9773 if ac_fn_c_try_compile "$LINENO"
   9774 then :
   9775   xorg_cv_cc_flag_unknown_warning_option=yes
   9776 else case e in #(
   9777   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9778 esac
   9779 fi
   9780 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9781 esac
   9782 fi
   9783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9784 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9785 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9786 	CFLAGS="$xorg_testset_save_CFLAGS"
   9787 fi
   9788 
   9789 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9790 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9791 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9792 	fi
   9793 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9794 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9795 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9796 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9797 then :
   9798   printf %s "(cached) " >&6
   9799 else case e in #(
   9800   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9801 /* end confdefs.h.  */
   9802 int i;
   9803 _ACEOF
   9804 if ac_fn_c_try_compile "$LINENO"
   9805 then :
   9806   xorg_cv_cc_flag_unused_command_line_argument=yes
   9807 else case e in #(
   9808   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9809 esac
   9810 fi
   9811 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9812 esac
   9813 fi
   9814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9815 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9816 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9817 	CFLAGS="$xorg_testset_save_CFLAGS"
   9818 fi
   9819 
   9820 found="no"
   9821 
   9822 	if test $found = "no" ; then
   9823 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9824 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9825 		fi
   9826 
   9827 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9828 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9829 		fi
   9830 
   9831 		CFLAGS="$CFLAGS -Wmissing-braces"
   9832 
   9833 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9834 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9835 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9836 		if eval test \${$cacheid+y}
   9837 then :
   9838   printf %s "(cached) " >&6
   9839 else case e in #(
   9840   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9841 /* end confdefs.h.  */
   9842 int i;
   9843 int
   9844 main (void)
   9845 {
   9846 
   9847   ;
   9848   return 0;
   9849 }
   9850 _ACEOF
   9851 if ac_fn_c_try_link "$LINENO"
   9852 then :
   9853   eval $cacheid=yes
   9854 else case e in #(
   9855   e) eval $cacheid=no ;;
   9856 esac
   9857 fi
   9858 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9859     conftest$ac_exeext conftest.$ac_ext ;;
   9860 esac
   9861 fi
   9862 
   9863 
   9864 		CFLAGS="$xorg_testset_save_CFLAGS"
   9865 
   9866 		eval supported=\$$cacheid
   9867 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9868 printf "%s\n" "$supported" >&6; }
   9869 		if test "$supported" = "yes" ; then
   9870 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9871 			found="yes"
   9872 		fi
   9873 	fi
   9874 
   9875 
   9876 
   9877 
   9878 
   9879 
   9880 
   9881 
   9882 
   9883 
   9884 
   9885 
   9886 
   9887 
   9888 
   9889 xorg_testset_save_CFLAGS="$CFLAGS"
   9890 
   9891 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9892 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9893 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9894 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9895 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9896 then :
   9897   printf %s "(cached) " >&6
   9898 else case e in #(
   9899   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9900 /* end confdefs.h.  */
   9901 int i;
   9902 _ACEOF
   9903 if ac_fn_c_try_compile "$LINENO"
   9904 then :
   9905   xorg_cv_cc_flag_unknown_warning_option=yes
   9906 else case e in #(
   9907   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9908 esac
   9909 fi
   9910 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9911 esac
   9912 fi
   9913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9914 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9915 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9916 	CFLAGS="$xorg_testset_save_CFLAGS"
   9917 fi
   9918 
   9919 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9920 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9921 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9922 	fi
   9923 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9924 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9925 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9926 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9927 then :
   9928   printf %s "(cached) " >&6
   9929 else case e in #(
   9930   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9931 /* end confdefs.h.  */
   9932 int i;
   9933 _ACEOF
   9934 if ac_fn_c_try_compile "$LINENO"
   9935 then :
   9936   xorg_cv_cc_flag_unused_command_line_argument=yes
   9937 else case e in #(
   9938   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9939 esac
   9940 fi
   9941 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9942 esac
   9943 fi
   9944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9945 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9946 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9947 	CFLAGS="$xorg_testset_save_CFLAGS"
   9948 fi
   9949 
   9950 found="no"
   9951 
   9952 	if test $found = "no" ; then
   9953 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9954 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9955 		fi
   9956 
   9957 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9958 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9959 		fi
   9960 
   9961 		CFLAGS="$CFLAGS -Wsequence-point"
   9962 
   9963 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9964 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9965 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9966 		if eval test \${$cacheid+y}
   9967 then :
   9968   printf %s "(cached) " >&6
   9969 else case e in #(
   9970   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9971 /* end confdefs.h.  */
   9972 int i;
   9973 int
   9974 main (void)
   9975 {
   9976 
   9977   ;
   9978   return 0;
   9979 }
   9980 _ACEOF
   9981 if ac_fn_c_try_link "$LINENO"
   9982 then :
   9983   eval $cacheid=yes
   9984 else case e in #(
   9985   e) eval $cacheid=no ;;
   9986 esac
   9987 fi
   9988 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9989     conftest$ac_exeext conftest.$ac_ext ;;
   9990 esac
   9991 fi
   9992 
   9993 
   9994 		CFLAGS="$xorg_testset_save_CFLAGS"
   9995 
   9996 		eval supported=\$$cacheid
   9997 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9998 printf "%s\n" "$supported" >&6; }
   9999 		if test "$supported" = "yes" ; then
   10000 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   10001 			found="yes"
   10002 		fi
   10003 	fi
   10004 
   10005 
   10006 
   10007 
   10008 
   10009 
   10010 
   10011 
   10012 
   10013 
   10014 
   10015 
   10016 
   10017 
   10018 
   10019 xorg_testset_save_CFLAGS="$CFLAGS"
   10020 
   10021 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10022 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10023 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10024 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10025 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10026 then :
   10027   printf %s "(cached) " >&6
   10028 else case e in #(
   10029   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10030 /* end confdefs.h.  */
   10031 int i;
   10032 _ACEOF
   10033 if ac_fn_c_try_compile "$LINENO"
   10034 then :
   10035   xorg_cv_cc_flag_unknown_warning_option=yes
   10036 else case e in #(
   10037   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10038 esac
   10039 fi
   10040 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10041 esac
   10042 fi
   10043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10044 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10045 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10046 	CFLAGS="$xorg_testset_save_CFLAGS"
   10047 fi
   10048 
   10049 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10050 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10051 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10052 	fi
   10053 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10054 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10055 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10056 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10057 then :
   10058   printf %s "(cached) " >&6
   10059 else case e in #(
   10060   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10061 /* end confdefs.h.  */
   10062 int i;
   10063 _ACEOF
   10064 if ac_fn_c_try_compile "$LINENO"
   10065 then :
   10066   xorg_cv_cc_flag_unused_command_line_argument=yes
   10067 else case e in #(
   10068   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10069 esac
   10070 fi
   10071 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10072 esac
   10073 fi
   10074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10075 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10076 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10077 	CFLAGS="$xorg_testset_save_CFLAGS"
   10078 fi
   10079 
   10080 found="no"
   10081 
   10082 	if test $found = "no" ; then
   10083 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10084 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10085 		fi
   10086 
   10087 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10088 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10089 		fi
   10090 
   10091 		CFLAGS="$CFLAGS -Wreturn-type"
   10092 
   10093 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   10094 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   10095 		cacheid=xorg_cv_cc_flag__Wreturn_type
   10096 		if eval test \${$cacheid+y}
   10097 then :
   10098   printf %s "(cached) " >&6
   10099 else case e in #(
   10100   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10101 /* end confdefs.h.  */
   10102 int i;
   10103 int
   10104 main (void)
   10105 {
   10106 
   10107   ;
   10108   return 0;
   10109 }
   10110 _ACEOF
   10111 if ac_fn_c_try_link "$LINENO"
   10112 then :
   10113   eval $cacheid=yes
   10114 else case e in #(
   10115   e) eval $cacheid=no ;;
   10116 esac
   10117 fi
   10118 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10119     conftest$ac_exeext conftest.$ac_ext ;;
   10120 esac
   10121 fi
   10122 
   10123 
   10124 		CFLAGS="$xorg_testset_save_CFLAGS"
   10125 
   10126 		eval supported=\$$cacheid
   10127 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10128 printf "%s\n" "$supported" >&6; }
   10129 		if test "$supported" = "yes" ; then
   10130 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   10131 			found="yes"
   10132 		fi
   10133 	fi
   10134 
   10135 
   10136 
   10137 
   10138 
   10139 
   10140 
   10141 
   10142 
   10143 
   10144 
   10145 
   10146 
   10147 
   10148 
   10149 xorg_testset_save_CFLAGS="$CFLAGS"
   10150 
   10151 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10152 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10153 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10154 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10155 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10156 then :
   10157   printf %s "(cached) " >&6
   10158 else case e in #(
   10159   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10160 /* end confdefs.h.  */
   10161 int i;
   10162 _ACEOF
   10163 if ac_fn_c_try_compile "$LINENO"
   10164 then :
   10165   xorg_cv_cc_flag_unknown_warning_option=yes
   10166 else case e in #(
   10167   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10168 esac
   10169 fi
   10170 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10171 esac
   10172 fi
   10173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10174 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10175 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10176 	CFLAGS="$xorg_testset_save_CFLAGS"
   10177 fi
   10178 
   10179 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10180 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10181 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10182 	fi
   10183 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10184 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10185 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10186 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10187 then :
   10188   printf %s "(cached) " >&6
   10189 else case e in #(
   10190   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10191 /* end confdefs.h.  */
   10192 int i;
   10193 _ACEOF
   10194 if ac_fn_c_try_compile "$LINENO"
   10195 then :
   10196   xorg_cv_cc_flag_unused_command_line_argument=yes
   10197 else case e in #(
   10198   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10199 esac
   10200 fi
   10201 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10202 esac
   10203 fi
   10204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10205 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10206 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10207 	CFLAGS="$xorg_testset_save_CFLAGS"
   10208 fi
   10209 
   10210 found="no"
   10211 
   10212 	if test $found = "no" ; then
   10213 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10214 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10215 		fi
   10216 
   10217 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10218 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10219 		fi
   10220 
   10221 		CFLAGS="$CFLAGS -Wtrigraphs"
   10222 
   10223 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   10224 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   10225 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   10226 		if eval test \${$cacheid+y}
   10227 then :
   10228   printf %s "(cached) " >&6
   10229 else case e in #(
   10230   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10231 /* end confdefs.h.  */
   10232 int i;
   10233 int
   10234 main (void)
   10235 {
   10236 
   10237   ;
   10238   return 0;
   10239 }
   10240 _ACEOF
   10241 if ac_fn_c_try_link "$LINENO"
   10242 then :
   10243   eval $cacheid=yes
   10244 else case e in #(
   10245   e) eval $cacheid=no ;;
   10246 esac
   10247 fi
   10248 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10249     conftest$ac_exeext conftest.$ac_ext ;;
   10250 esac
   10251 fi
   10252 
   10253 
   10254 		CFLAGS="$xorg_testset_save_CFLAGS"
   10255 
   10256 		eval supported=\$$cacheid
   10257 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10258 printf "%s\n" "$supported" >&6; }
   10259 		if test "$supported" = "yes" ; then
   10260 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   10261 			found="yes"
   10262 		fi
   10263 	fi
   10264 
   10265 
   10266 
   10267 
   10268 
   10269 
   10270 
   10271 
   10272 
   10273 
   10274 
   10275 
   10276 
   10277 
   10278 
   10279 xorg_testset_save_CFLAGS="$CFLAGS"
   10280 
   10281 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10282 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10283 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10284 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10285 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10286 then :
   10287   printf %s "(cached) " >&6
   10288 else case e in #(
   10289   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10290 /* end confdefs.h.  */
   10291 int i;
   10292 _ACEOF
   10293 if ac_fn_c_try_compile "$LINENO"
   10294 then :
   10295   xorg_cv_cc_flag_unknown_warning_option=yes
   10296 else case e in #(
   10297   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10298 esac
   10299 fi
   10300 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10301 esac
   10302 fi
   10303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10304 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10305 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10306 	CFLAGS="$xorg_testset_save_CFLAGS"
   10307 fi
   10308 
   10309 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10310 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10311 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10312 	fi
   10313 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10314 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10315 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10316 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10317 then :
   10318   printf %s "(cached) " >&6
   10319 else case e in #(
   10320   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10321 /* end confdefs.h.  */
   10322 int i;
   10323 _ACEOF
   10324 if ac_fn_c_try_compile "$LINENO"
   10325 then :
   10326   xorg_cv_cc_flag_unused_command_line_argument=yes
   10327 else case e in #(
   10328   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10329 esac
   10330 fi
   10331 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10332 esac
   10333 fi
   10334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10335 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10336 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10337 	CFLAGS="$xorg_testset_save_CFLAGS"
   10338 fi
   10339 
   10340 found="no"
   10341 
   10342 	if test $found = "no" ; then
   10343 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10344 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10345 		fi
   10346 
   10347 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10348 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10349 		fi
   10350 
   10351 		CFLAGS="$CFLAGS -Warray-bounds"
   10352 
   10353 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10354 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10355 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10356 		if eval test \${$cacheid+y}
   10357 then :
   10358   printf %s "(cached) " >&6
   10359 else case e in #(
   10360   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10361 /* end confdefs.h.  */
   10362 int i;
   10363 int
   10364 main (void)
   10365 {
   10366 
   10367   ;
   10368   return 0;
   10369 }
   10370 _ACEOF
   10371 if ac_fn_c_try_link "$LINENO"
   10372 then :
   10373   eval $cacheid=yes
   10374 else case e in #(
   10375   e) eval $cacheid=no ;;
   10376 esac
   10377 fi
   10378 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10379     conftest$ac_exeext conftest.$ac_ext ;;
   10380 esac
   10381 fi
   10382 
   10383 
   10384 		CFLAGS="$xorg_testset_save_CFLAGS"
   10385 
   10386 		eval supported=\$$cacheid
   10387 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10388 printf "%s\n" "$supported" >&6; }
   10389 		if test "$supported" = "yes" ; then
   10390 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10391 			found="yes"
   10392 		fi
   10393 	fi
   10394 
   10395 
   10396 
   10397 
   10398 
   10399 
   10400 
   10401 
   10402 
   10403 
   10404 
   10405 
   10406 
   10407 
   10408 
   10409 xorg_testset_save_CFLAGS="$CFLAGS"
   10410 
   10411 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10412 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10413 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10414 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10415 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10416 then :
   10417   printf %s "(cached) " >&6
   10418 else case e in #(
   10419   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10420 /* end confdefs.h.  */
   10421 int i;
   10422 _ACEOF
   10423 if ac_fn_c_try_compile "$LINENO"
   10424 then :
   10425   xorg_cv_cc_flag_unknown_warning_option=yes
   10426 else case e in #(
   10427   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10428 esac
   10429 fi
   10430 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10431 esac
   10432 fi
   10433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10434 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10435 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10436 	CFLAGS="$xorg_testset_save_CFLAGS"
   10437 fi
   10438 
   10439 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10440 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10441 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10442 	fi
   10443 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10444 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10445 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10446 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10447 then :
   10448   printf %s "(cached) " >&6
   10449 else case e in #(
   10450   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10451 /* end confdefs.h.  */
   10452 int i;
   10453 _ACEOF
   10454 if ac_fn_c_try_compile "$LINENO"
   10455 then :
   10456   xorg_cv_cc_flag_unused_command_line_argument=yes
   10457 else case e in #(
   10458   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10459 esac
   10460 fi
   10461 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10462 esac
   10463 fi
   10464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10465 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10466 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10467 	CFLAGS="$xorg_testset_save_CFLAGS"
   10468 fi
   10469 
   10470 found="no"
   10471 
   10472 	if test $found = "no" ; then
   10473 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10474 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10475 		fi
   10476 
   10477 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10478 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10479 		fi
   10480 
   10481 		CFLAGS="$CFLAGS -Wwrite-strings"
   10482 
   10483 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10484 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10485 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10486 		if eval test \${$cacheid+y}
   10487 then :
   10488   printf %s "(cached) " >&6
   10489 else case e in #(
   10490   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10491 /* end confdefs.h.  */
   10492 int i;
   10493 int
   10494 main (void)
   10495 {
   10496 
   10497   ;
   10498   return 0;
   10499 }
   10500 _ACEOF
   10501 if ac_fn_c_try_link "$LINENO"
   10502 then :
   10503   eval $cacheid=yes
   10504 else case e in #(
   10505   e) eval $cacheid=no ;;
   10506 esac
   10507 fi
   10508 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10509     conftest$ac_exeext conftest.$ac_ext ;;
   10510 esac
   10511 fi
   10512 
   10513 
   10514 		CFLAGS="$xorg_testset_save_CFLAGS"
   10515 
   10516 		eval supported=\$$cacheid
   10517 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10518 printf "%s\n" "$supported" >&6; }
   10519 		if test "$supported" = "yes" ; then
   10520 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10521 			found="yes"
   10522 		fi
   10523 	fi
   10524 
   10525 
   10526 
   10527 
   10528 
   10529 
   10530 
   10531 
   10532 
   10533 
   10534 
   10535 
   10536 
   10537 
   10538 
   10539 xorg_testset_save_CFLAGS="$CFLAGS"
   10540 
   10541 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10542 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10543 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10544 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10545 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10546 then :
   10547   printf %s "(cached) " >&6
   10548 else case e in #(
   10549   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10550 /* end confdefs.h.  */
   10551 int i;
   10552 _ACEOF
   10553 if ac_fn_c_try_compile "$LINENO"
   10554 then :
   10555   xorg_cv_cc_flag_unknown_warning_option=yes
   10556 else case e in #(
   10557   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10558 esac
   10559 fi
   10560 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10561 esac
   10562 fi
   10563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10564 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10565 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10566 	CFLAGS="$xorg_testset_save_CFLAGS"
   10567 fi
   10568 
   10569 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10570 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10571 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10572 	fi
   10573 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10574 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10575 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10576 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10577 then :
   10578   printf %s "(cached) " >&6
   10579 else case e in #(
   10580   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10581 /* end confdefs.h.  */
   10582 int i;
   10583 _ACEOF
   10584 if ac_fn_c_try_compile "$LINENO"
   10585 then :
   10586   xorg_cv_cc_flag_unused_command_line_argument=yes
   10587 else case e in #(
   10588   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10589 esac
   10590 fi
   10591 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10592 esac
   10593 fi
   10594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10595 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10596 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10597 	CFLAGS="$xorg_testset_save_CFLAGS"
   10598 fi
   10599 
   10600 found="no"
   10601 
   10602 	if test $found = "no" ; then
   10603 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10604 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10605 		fi
   10606 
   10607 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10608 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10609 		fi
   10610 
   10611 		CFLAGS="$CFLAGS -Waddress"
   10612 
   10613 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10614 printf %s "checking if $CC supports -Waddress... " >&6; }
   10615 		cacheid=xorg_cv_cc_flag__Waddress
   10616 		if eval test \${$cacheid+y}
   10617 then :
   10618   printf %s "(cached) " >&6
   10619 else case e in #(
   10620   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10621 /* end confdefs.h.  */
   10622 int i;
   10623 int
   10624 main (void)
   10625 {
   10626 
   10627   ;
   10628   return 0;
   10629 }
   10630 _ACEOF
   10631 if ac_fn_c_try_link "$LINENO"
   10632 then :
   10633   eval $cacheid=yes
   10634 else case e in #(
   10635   e) eval $cacheid=no ;;
   10636 esac
   10637 fi
   10638 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10639     conftest$ac_exeext conftest.$ac_ext ;;
   10640 esac
   10641 fi
   10642 
   10643 
   10644 		CFLAGS="$xorg_testset_save_CFLAGS"
   10645 
   10646 		eval supported=\$$cacheid
   10647 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10648 printf "%s\n" "$supported" >&6; }
   10649 		if test "$supported" = "yes" ; then
   10650 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10651 			found="yes"
   10652 		fi
   10653 	fi
   10654 
   10655 
   10656 
   10657 
   10658 
   10659 
   10660 
   10661 
   10662 
   10663 
   10664 
   10665 
   10666 
   10667 
   10668 
   10669 xorg_testset_save_CFLAGS="$CFLAGS"
   10670 
   10671 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10672 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10673 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10674 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10675 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10676 then :
   10677   printf %s "(cached) " >&6
   10678 else case e in #(
   10679   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10680 /* end confdefs.h.  */
   10681 int i;
   10682 _ACEOF
   10683 if ac_fn_c_try_compile "$LINENO"
   10684 then :
   10685   xorg_cv_cc_flag_unknown_warning_option=yes
   10686 else case e in #(
   10687   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10688 esac
   10689 fi
   10690 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10691 esac
   10692 fi
   10693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10694 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10695 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10696 	CFLAGS="$xorg_testset_save_CFLAGS"
   10697 fi
   10698 
   10699 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10700 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10701 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10702 	fi
   10703 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10704 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10705 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10706 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10707 then :
   10708   printf %s "(cached) " >&6
   10709 else case e in #(
   10710   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10711 /* end confdefs.h.  */
   10712 int i;
   10713 _ACEOF
   10714 if ac_fn_c_try_compile "$LINENO"
   10715 then :
   10716   xorg_cv_cc_flag_unused_command_line_argument=yes
   10717 else case e in #(
   10718   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10719 esac
   10720 fi
   10721 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10722 esac
   10723 fi
   10724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10725 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10726 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10727 	CFLAGS="$xorg_testset_save_CFLAGS"
   10728 fi
   10729 
   10730 found="no"
   10731 
   10732 	if test $found = "no" ; then
   10733 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10734 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10735 		fi
   10736 
   10737 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10738 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10739 		fi
   10740 
   10741 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10742 
   10743 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10744 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10745 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10746 		if eval test \${$cacheid+y}
   10747 then :
   10748   printf %s "(cached) " >&6
   10749 else case e in #(
   10750   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10751 /* end confdefs.h.  */
   10752 int i;
   10753 int
   10754 main (void)
   10755 {
   10756 
   10757   ;
   10758   return 0;
   10759 }
   10760 _ACEOF
   10761 if ac_fn_c_try_link "$LINENO"
   10762 then :
   10763   eval $cacheid=yes
   10764 else case e in #(
   10765   e) eval $cacheid=no ;;
   10766 esac
   10767 fi
   10768 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10769     conftest$ac_exeext conftest.$ac_ext ;;
   10770 esac
   10771 fi
   10772 
   10773 
   10774 		CFLAGS="$xorg_testset_save_CFLAGS"
   10775 
   10776 		eval supported=\$$cacheid
   10777 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10778 printf "%s\n" "$supported" >&6; }
   10779 		if test "$supported" = "yes" ; then
   10780 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10781 			found="yes"
   10782 		fi
   10783 	fi
   10784 
   10785 
   10786 
   10787 
   10788 
   10789 
   10790 
   10791 
   10792 
   10793 
   10794 
   10795 
   10796 
   10797 
   10798 
   10799 xorg_testset_save_CFLAGS="$CFLAGS"
   10800 
   10801 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10802 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10803 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10804 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10805 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10806 then :
   10807   printf %s "(cached) " >&6
   10808 else case e in #(
   10809   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10810 /* end confdefs.h.  */
   10811 int i;
   10812 _ACEOF
   10813 if ac_fn_c_try_compile "$LINENO"
   10814 then :
   10815   xorg_cv_cc_flag_unknown_warning_option=yes
   10816 else case e in #(
   10817   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10818 esac
   10819 fi
   10820 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10821 esac
   10822 fi
   10823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10824 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10825 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10826 	CFLAGS="$xorg_testset_save_CFLAGS"
   10827 fi
   10828 
   10829 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10830 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10831 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10832 	fi
   10833 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10834 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10835 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10836 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10837 then :
   10838   printf %s "(cached) " >&6
   10839 else case e in #(
   10840   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10841 /* end confdefs.h.  */
   10842 int i;
   10843 _ACEOF
   10844 if ac_fn_c_try_compile "$LINENO"
   10845 then :
   10846   xorg_cv_cc_flag_unused_command_line_argument=yes
   10847 else case e in #(
   10848   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10849 esac
   10850 fi
   10851 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10852 esac
   10853 fi
   10854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10855 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10856 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10857 	CFLAGS="$xorg_testset_save_CFLAGS"
   10858 fi
   10859 
   10860 found="no"
   10861 
   10862 	if test $found = "no" ; then
   10863 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10864 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10865 		fi
   10866 
   10867 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10868 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10869 		fi
   10870 
   10871 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10872 
   10873 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10874 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10875 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10876 		if eval test \${$cacheid+y}
   10877 then :
   10878   printf %s "(cached) " >&6
   10879 else case e in #(
   10880   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10881 /* end confdefs.h.  */
   10882 int i;
   10883 int
   10884 main (void)
   10885 {
   10886 
   10887   ;
   10888   return 0;
   10889 }
   10890 _ACEOF
   10891 if ac_fn_c_try_link "$LINENO"
   10892 then :
   10893   eval $cacheid=yes
   10894 else case e in #(
   10895   e) eval $cacheid=no ;;
   10896 esac
   10897 fi
   10898 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10899     conftest$ac_exeext conftest.$ac_ext ;;
   10900 esac
   10901 fi
   10902 
   10903 
   10904 		CFLAGS="$xorg_testset_save_CFLAGS"
   10905 
   10906 		eval supported=\$$cacheid
   10907 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10908 printf "%s\n" "$supported" >&6; }
   10909 		if test "$supported" = "yes" ; then
   10910 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10911 			found="yes"
   10912 		fi
   10913 	fi
   10914 
   10915 
   10916 fi
   10917 
   10918 
   10919 
   10920 
   10921 
   10922 
   10923 
   10924 		CWARNFLAGS="$BASE_CFLAGS"
   10925 		if  test "x$GCC" = xyes ; then
   10926 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10927 		fi
   10928 
   10929 
   10930 
   10931 
   10932 
   10933 
   10934 
   10935 
   10936 # Check whether --enable-strict-compilation was given.
   10937 if test ${enable_strict_compilation+y}
   10938 then :
   10939   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10940 else case e in #(
   10941   e) STRICT_COMPILE=no ;;
   10942 esac
   10943 fi
   10944 
   10945 
   10946 
   10947 
   10948 
   10949 
   10950 STRICT_CFLAGS=""
   10951 
   10952 
   10953 
   10954 
   10955 
   10956 
   10957 
   10958 
   10959 
   10960 
   10961 
   10962 
   10963 
   10964 xorg_testset_save_CFLAGS="$CFLAGS"
   10965 
   10966 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10967 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10968 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10969 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10970 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10971 then :
   10972   printf %s "(cached) " >&6
   10973 else case e in #(
   10974   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10975 /* end confdefs.h.  */
   10976 int i;
   10977 _ACEOF
   10978 if ac_fn_c_try_compile "$LINENO"
   10979 then :
   10980   xorg_cv_cc_flag_unknown_warning_option=yes
   10981 else case e in #(
   10982   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10983 esac
   10984 fi
   10985 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10986 esac
   10987 fi
   10988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10989 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10990 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10991 	CFLAGS="$xorg_testset_save_CFLAGS"
   10992 fi
   10993 
   10994 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10995 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10996 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10997 	fi
   10998 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10999 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11000 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11001 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11002 then :
   11003   printf %s "(cached) " >&6
   11004 else case e in #(
   11005   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11006 /* end confdefs.h.  */
   11007 int i;
   11008 _ACEOF
   11009 if ac_fn_c_try_compile "$LINENO"
   11010 then :
   11011   xorg_cv_cc_flag_unused_command_line_argument=yes
   11012 else case e in #(
   11013   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11014 esac
   11015 fi
   11016 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11017 esac
   11018 fi
   11019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11020 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11021 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11022 	CFLAGS="$xorg_testset_save_CFLAGS"
   11023 fi
   11024 
   11025 found="no"
   11026 
   11027 	if test $found = "no" ; then
   11028 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11029 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11030 		fi
   11031 
   11032 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11033 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11034 		fi
   11035 
   11036 		CFLAGS="$CFLAGS -pedantic"
   11037 
   11038 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   11039 printf %s "checking if $CC supports -pedantic... " >&6; }
   11040 		cacheid=xorg_cv_cc_flag__pedantic
   11041 		if eval test \${$cacheid+y}
   11042 then :
   11043   printf %s "(cached) " >&6
   11044 else case e in #(
   11045   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11046 /* end confdefs.h.  */
   11047 int i;
   11048 int
   11049 main (void)
   11050 {
   11051 
   11052   ;
   11053   return 0;
   11054 }
   11055 _ACEOF
   11056 if ac_fn_c_try_link "$LINENO"
   11057 then :
   11058   eval $cacheid=yes
   11059 else case e in #(
   11060   e) eval $cacheid=no ;;
   11061 esac
   11062 fi
   11063 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11064     conftest$ac_exeext conftest.$ac_ext ;;
   11065 esac
   11066 fi
   11067 
   11068 
   11069 		CFLAGS="$xorg_testset_save_CFLAGS"
   11070 
   11071 		eval supported=\$$cacheid
   11072 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11073 printf "%s\n" "$supported" >&6; }
   11074 		if test "$supported" = "yes" ; then
   11075 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   11076 			found="yes"
   11077 		fi
   11078 	fi
   11079 
   11080 
   11081 
   11082 
   11083 
   11084 
   11085 
   11086 
   11087 
   11088 
   11089 
   11090 
   11091 
   11092 
   11093 
   11094 xorg_testset_save_CFLAGS="$CFLAGS"
   11095 
   11096 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11097 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11098 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11099 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11100 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11101 then :
   11102   printf %s "(cached) " >&6
   11103 else case e in #(
   11104   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11105 /* end confdefs.h.  */
   11106 int i;
   11107 _ACEOF
   11108 if ac_fn_c_try_compile "$LINENO"
   11109 then :
   11110   xorg_cv_cc_flag_unknown_warning_option=yes
   11111 else case e in #(
   11112   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11113 esac
   11114 fi
   11115 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11116 esac
   11117 fi
   11118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11119 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11120 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11121 	CFLAGS="$xorg_testset_save_CFLAGS"
   11122 fi
   11123 
   11124 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11125 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11126 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11127 	fi
   11128 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11129 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11130 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11131 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11132 then :
   11133   printf %s "(cached) " >&6
   11134 else case e in #(
   11135   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11136 /* end confdefs.h.  */
   11137 int i;
   11138 _ACEOF
   11139 if ac_fn_c_try_compile "$LINENO"
   11140 then :
   11141   xorg_cv_cc_flag_unused_command_line_argument=yes
   11142 else case e in #(
   11143   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11144 esac
   11145 fi
   11146 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11147 esac
   11148 fi
   11149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11150 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11151 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11152 	CFLAGS="$xorg_testset_save_CFLAGS"
   11153 fi
   11154 
   11155 found="no"
   11156 
   11157 	if test $found = "no" ; then
   11158 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11159 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11160 		fi
   11161 
   11162 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11163 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11164 		fi
   11165 
   11166 		CFLAGS="$CFLAGS -Werror"
   11167 
   11168 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   11169 printf %s "checking if $CC supports -Werror... " >&6; }
   11170 		cacheid=xorg_cv_cc_flag__Werror
   11171 		if eval test \${$cacheid+y}
   11172 then :
   11173   printf %s "(cached) " >&6
   11174 else case e in #(
   11175   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11176 /* end confdefs.h.  */
   11177 int i;
   11178 int
   11179 main (void)
   11180 {
   11181 
   11182   ;
   11183   return 0;
   11184 }
   11185 _ACEOF
   11186 if ac_fn_c_try_link "$LINENO"
   11187 then :
   11188   eval $cacheid=yes
   11189 else case e in #(
   11190   e) eval $cacheid=no ;;
   11191 esac
   11192 fi
   11193 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11194     conftest$ac_exeext conftest.$ac_ext ;;
   11195 esac
   11196 fi
   11197 
   11198 
   11199 		CFLAGS="$xorg_testset_save_CFLAGS"
   11200 
   11201 		eval supported=\$$cacheid
   11202 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11203 printf "%s\n" "$supported" >&6; }
   11204 		if test "$supported" = "yes" ; then
   11205 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   11206 			found="yes"
   11207 		fi
   11208 	fi
   11209 
   11210 	if test $found = "no" ; then
   11211 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11212 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11213 		fi
   11214 
   11215 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11216 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11217 		fi
   11218 
   11219 		CFLAGS="$CFLAGS -errwarn"
   11220 
   11221 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   11222 printf %s "checking if $CC supports -errwarn... " >&6; }
   11223 		cacheid=xorg_cv_cc_flag__errwarn
   11224 		if eval test \${$cacheid+y}
   11225 then :
   11226   printf %s "(cached) " >&6
   11227 else case e in #(
   11228   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11229 /* end confdefs.h.  */
   11230 int i;
   11231 int
   11232 main (void)
   11233 {
   11234 
   11235   ;
   11236   return 0;
   11237 }
   11238 _ACEOF
   11239 if ac_fn_c_try_link "$LINENO"
   11240 then :
   11241   eval $cacheid=yes
   11242 else case e in #(
   11243   e) eval $cacheid=no ;;
   11244 esac
   11245 fi
   11246 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11247     conftest$ac_exeext conftest.$ac_ext ;;
   11248 esac
   11249 fi
   11250 
   11251 
   11252 		CFLAGS="$xorg_testset_save_CFLAGS"
   11253 
   11254 		eval supported=\$$cacheid
   11255 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11256 printf "%s\n" "$supported" >&6; }
   11257 		if test "$supported" = "yes" ; then
   11258 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   11259 			found="yes"
   11260 		fi
   11261 	fi
   11262 
   11263 
   11264 
   11265 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   11266 # activate it with -Werror, so we add it here explicitly.
   11267 
   11268 
   11269 
   11270 
   11271 
   11272 
   11273 
   11274 
   11275 
   11276 
   11277 
   11278 
   11279 
   11280 xorg_testset_save_CFLAGS="$CFLAGS"
   11281 
   11282 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11283 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11284 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11285 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11286 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11287 then :
   11288   printf %s "(cached) " >&6
   11289 else case e in #(
   11290   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11291 /* end confdefs.h.  */
   11292 int i;
   11293 _ACEOF
   11294 if ac_fn_c_try_compile "$LINENO"
   11295 then :
   11296   xorg_cv_cc_flag_unknown_warning_option=yes
   11297 else case e in #(
   11298   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11299 esac
   11300 fi
   11301 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11302 esac
   11303 fi
   11304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11305 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11306 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11307 	CFLAGS="$xorg_testset_save_CFLAGS"
   11308 fi
   11309 
   11310 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11311 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11312 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11313 	fi
   11314 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11315 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11316 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11317 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11318 then :
   11319   printf %s "(cached) " >&6
   11320 else case e in #(
   11321   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11322 /* end confdefs.h.  */
   11323 int i;
   11324 _ACEOF
   11325 if ac_fn_c_try_compile "$LINENO"
   11326 then :
   11327   xorg_cv_cc_flag_unused_command_line_argument=yes
   11328 else case e in #(
   11329   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11330 esac
   11331 fi
   11332 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11333 esac
   11334 fi
   11335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11336 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11337 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11338 	CFLAGS="$xorg_testset_save_CFLAGS"
   11339 fi
   11340 
   11341 found="no"
   11342 
   11343 	if test $found = "no" ; then
   11344 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11345 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11346 		fi
   11347 
   11348 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11349 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11350 		fi
   11351 
   11352 		CFLAGS="$CFLAGS -Werror=attributes"
   11353 
   11354 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11355 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11356 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11357 		if eval test \${$cacheid+y}
   11358 then :
   11359   printf %s "(cached) " >&6
   11360 else case e in #(
   11361   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11362 /* end confdefs.h.  */
   11363 int i;
   11364 int
   11365 main (void)
   11366 {
   11367 
   11368   ;
   11369   return 0;
   11370 }
   11371 _ACEOF
   11372 if ac_fn_c_try_link "$LINENO"
   11373 then :
   11374   eval $cacheid=yes
   11375 else case e in #(
   11376   e) eval $cacheid=no ;;
   11377 esac
   11378 fi
   11379 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11380     conftest$ac_exeext conftest.$ac_ext ;;
   11381 esac
   11382 fi
   11383 
   11384 
   11385 		CFLAGS="$xorg_testset_save_CFLAGS"
   11386 
   11387 		eval supported=\$$cacheid
   11388 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11389 printf "%s\n" "$supported" >&6; }
   11390 		if test "$supported" = "yes" ; then
   11391 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11392 			found="yes"
   11393 		fi
   11394 	fi
   11395 
   11396 
   11397 
   11398 if test "x$STRICT_COMPILE" = "xyes"; then
   11399     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11400     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11401 fi
   11402 
   11403 
   11404 
   11405 
   11406 
   11407 
   11408 
   11409 
   11410 cat >>confdefs.h <<_ACEOF
   11411 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11412 _ACEOF
   11413 
   11414 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11415 	if test "x$PVM" = "x"; then
   11416 		PVM="0"
   11417 	fi
   11418 
   11419 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11420 
   11421 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11422 	if test "x$PVP" = "x"; then
   11423 		PVP="0"
   11424 	fi
   11425 
   11426 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11427 
   11428 
   11429 
   11430 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11431 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11432 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11433 touch \$(top_srcdir)/ChangeLog; \
   11434 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11435 
   11436 
   11437 
   11438 
   11439 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11440 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11441 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11442 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11443 touch \$(top_srcdir)/INSTALL; \
   11444 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11445 
   11446 
   11447 
   11448 
   11449 
   11450 
   11451 case $host_os in
   11452     solaris*)
   11453         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11454         # check for a man page file found in later versions that use
   11455         # traditional section numbers instead
   11456         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11457 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11458 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11459 then :
   11460   printf %s "(cached) " >&6
   11461 else case e in #(
   11462   e) test "$cross_compiling" = yes &&
   11463   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11464 if test -r "/usr/share/man/man7/attributes.7"; then
   11465   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11466 else
   11467   ac_cv_file__usr_share_man_man7_attributes_7=no
   11468 fi ;;
   11469 esac
   11470 fi
   11471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11472 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11473 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11474 then :
   11475   SYSV_MAN_SECTIONS=false
   11476 else case e in #(
   11477   e) SYSV_MAN_SECTIONS=true ;;
   11478 esac
   11479 fi
   11480 
   11481         ;;
   11482     *) SYSV_MAN_SECTIONS=false ;;
   11483 esac
   11484 
   11485 if test x$APP_MAN_SUFFIX = x    ; then
   11486     APP_MAN_SUFFIX=1
   11487 fi
   11488 if test x$APP_MAN_DIR = x    ; then
   11489     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11490 fi
   11491 
   11492 if test x$LIB_MAN_SUFFIX = x    ; then
   11493     LIB_MAN_SUFFIX=3
   11494 fi
   11495 if test x$LIB_MAN_DIR = x    ; then
   11496     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11497 fi
   11498 
   11499 if test x$FILE_MAN_SUFFIX = x    ; then
   11500     case $SYSV_MAN_SECTIONS in
   11501 	true)				FILE_MAN_SUFFIX=4  ;;
   11502 	*)				FILE_MAN_SUFFIX=5  ;;
   11503     esac
   11504 fi
   11505 if test x$FILE_MAN_DIR = x    ; then
   11506     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11507 fi
   11508 
   11509 if test x$MISC_MAN_SUFFIX = x    ; then
   11510     case $SYSV_MAN_SECTIONS in
   11511 	true)				MISC_MAN_SUFFIX=5  ;;
   11512 	*)				MISC_MAN_SUFFIX=7  ;;
   11513     esac
   11514 fi
   11515 if test x$MISC_MAN_DIR = x    ; then
   11516     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11517 fi
   11518 
   11519 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11520     case $SYSV_MAN_SECTIONS in
   11521 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11522 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11523     esac
   11524 fi
   11525 if test x$DRIVER_MAN_DIR = x    ; then
   11526     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11527 fi
   11528 
   11529 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11530     case $SYSV_MAN_SECTIONS in
   11531 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11532 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11533     esac
   11534 fi
   11535 if test x$ADMIN_MAN_DIR = x    ; then
   11536     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11537 fi
   11538 
   11539 
   11540 
   11541 
   11542 
   11543 
   11544 
   11545 
   11546 
   11547 
   11548 
   11549 
   11550 
   11551 
   11552 
   11553 XORG_MAN_PAGE="X Version 11"
   11554 
   11555 MAN_SUBSTS="\
   11556 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11557 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11558 	-e 's|__xservername__|Xorg|g' \
   11559 	-e 's|__xconfigfile__|xorg.conf|g' \
   11560 	-e 's|__projectroot__|\$(prefix)|g' \
   11561 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11562 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11563 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11564 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11565 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11566 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11567 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11568 
   11569 
   11570 
   11571 # Check whether --enable-silent-rules was given.
   11572 if test ${enable_silent_rules+y}
   11573 then :
   11574   enableval=$enable_silent_rules;
   11575 fi
   11576 
   11577 case $enable_silent_rules in # (((
   11578   yes) AM_DEFAULT_VERBOSITY=0;;
   11579    no) AM_DEFAULT_VERBOSITY=1;;
   11580     *) AM_DEFAULT_VERBOSITY=0;;
   11581 esac
   11582 am_make=${MAKE-make}
   11583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11584 printf %s "checking whether $am_make supports nested variables... " >&6; }
   11585 if test ${am_cv_make_support_nested_variables+y}
   11586 then :
   11587   printf %s "(cached) " >&6
   11588 else case e in #(
   11589   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   11590 BAR0=false
   11591 BAR1=true
   11592 V=1
   11593 am__doit:
   11594 	@$(TRUE)
   11595 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11596   am_cv_make_support_nested_variables=yes
   11597 else
   11598   am_cv_make_support_nested_variables=no
   11599 fi ;;
   11600 esac
   11601 fi
   11602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11603 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   11604 if test $am_cv_make_support_nested_variables = yes; then
   11605     AM_V='$(V)'
   11606   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11607 else
   11608   AM_V=$AM_DEFAULT_VERBOSITY
   11609   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11610 fi
   11611 AM_BACKSLASH='\'
   11612 
   11613 
   11614 
   11615 
   11616 # Initialize libtool
   11617 case `pwd` in
   11618   *\ * | *\	*)
   11619     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   11620 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   11621 esac
   11622 
   11623 
   11624 
   11625 macro_version='2.4.7'
   11626 macro_revision='2.4.7'
   11627 
   11628 
   11629 
   11630 
   11631 
   11632 
   11633 
   11634 
   11635 
   11636 
   11637 
   11638 
   11639 
   11640 
   11641 ltmain=$ac_aux_dir/ltmain.sh
   11642 
   11643 # Backslashify metacharacters that are still active within
   11644 # double-quoted strings.
   11645 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   11646 
   11647 # Same as above, but do not quote variable references.
   11648 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   11649 
   11650 # Sed substitution to delay expansion of an escaped shell variable in a
   11651 # double_quote_subst'ed string.
   11652 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   11653 
   11654 # Sed substitution to delay expansion of an escaped single quote.
   11655 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   11656 
   11657 # Sed substitution to avoid accidental globbing in evaled expressions
   11658 no_glob_subst='s/\*/\\\*/g'
   11659 
   11660 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11661 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   11662 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   11663 
   11664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   11665 printf %s "checking how to print strings... " >&6; }
   11666 # Test print first, because it will be a builtin if present.
   11667 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   11668    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   11669   ECHO='print -r --'
   11670 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   11671   ECHO='printf %s\n'
   11672 else
   11673   # Use this function as a fallback that always works.
   11674   func_fallback_echo ()
   11675   {
   11676     eval 'cat <<_LTECHO_EOF
   11677 $1
   11678 _LTECHO_EOF'
   11679   }
   11680   ECHO='func_fallback_echo'
   11681 fi
   11682 
   11683 # func_echo_all arg...
   11684 # Invoke $ECHO with all args, space-separated.
   11685 func_echo_all ()
   11686 {
   11687     $ECHO ""
   11688 }
   11689 
   11690 case $ECHO in
   11691   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   11692 printf "%s\n" "printf" >&6; } ;;
   11693   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   11694 printf "%s\n" "print -r" >&6; } ;;
   11695   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   11696 printf "%s\n" "cat" >&6; } ;;
   11697 esac
   11698 
   11699 
   11700 
   11701 
   11702 
   11703 
   11704 
   11705 
   11706 
   11707 
   11708 
   11709 
   11710 
   11711 
   11712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   11713 printf %s "checking for a sed that does not truncate output... " >&6; }
   11714 if test ${ac_cv_path_SED+y}
   11715 then :
   11716   printf %s "(cached) " >&6
   11717 else case e in #(
   11718   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   11719      for ac_i in 1 2 3 4 5 6 7; do
   11720        ac_script="$ac_script$as_nl$ac_script"
   11721      done
   11722      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   11723      { ac_script=; unset ac_script;}
   11724      if test -z "$SED"; then
   11725   ac_path_SED_found=false
   11726   # Loop through the user's path and test for each of PROGNAME-LIST
   11727   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11728 for as_dir in $PATH
   11729 do
   11730   IFS=$as_save_IFS
   11731   case $as_dir in #(((
   11732     '') as_dir=./ ;;
   11733     */) ;;
   11734     *) as_dir=$as_dir/ ;;
   11735   esac
   11736     for ac_prog in sed gsed
   11737    do
   11738     for ac_exec_ext in '' $ac_executable_extensions; do
   11739       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   11740       as_fn_executable_p "$ac_path_SED" || continue
   11741 # Check for GNU ac_path_SED and select it if it is found.
   11742   # Check for GNU $ac_path_SED
   11743 case `"$ac_path_SED" --version 2>&1` in #(
   11744 *GNU*)
   11745   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   11746 #(
   11747 *)
   11748   ac_count=0
   11749   printf %s 0123456789 >"conftest.in"
   11750   while :
   11751   do
   11752     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11753     mv "conftest.tmp" "conftest.in"
   11754     cp "conftest.in" "conftest.nl"
   11755     printf "%s\n" '' >> "conftest.nl"
   11756     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11757     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11758     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11759     if test $ac_count -gt ${ac_path_SED_max-0}; then
   11760       # Best one so far, save it but keep looking for a better one
   11761       ac_cv_path_SED="$ac_path_SED"
   11762       ac_path_SED_max=$ac_count
   11763     fi
   11764     # 10*(2^10) chars as input seems more than enough
   11765     test $ac_count -gt 10 && break
   11766   done
   11767   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11768 esac
   11769 
   11770       $ac_path_SED_found && break 3
   11771     done
   11772   done
   11773   done
   11774 IFS=$as_save_IFS
   11775   if test -z "$ac_cv_path_SED"; then
   11776     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   11777   fi
   11778 else
   11779   ac_cv_path_SED=$SED
   11780 fi
   11781  ;;
   11782 esac
   11783 fi
   11784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   11785 printf "%s\n" "$ac_cv_path_SED" >&6; }
   11786  SED="$ac_cv_path_SED"
   11787   rm -f conftest.sed
   11788 
   11789 test -z "$SED" && SED=sed
   11790 Xsed="$SED -e 1s/^X//"
   11791 
   11792 
   11793 
   11794 
   11795 
   11796 
   11797 
   11798 
   11799 
   11800 
   11801 
   11802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   11803 printf %s "checking for grep that handles long lines and -e... " >&6; }
   11804 if test ${ac_cv_path_GREP+y}
   11805 then :
   11806   printf %s "(cached) " >&6
   11807 else case e in #(
   11808   e) if test -z "$GREP"; then
   11809   ac_path_GREP_found=false
   11810   # Loop through the user's path and test for each of PROGNAME-LIST
   11811   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11812 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11813 do
   11814   IFS=$as_save_IFS
   11815   case $as_dir in #(((
   11816     '') as_dir=./ ;;
   11817     */) ;;
   11818     *) as_dir=$as_dir/ ;;
   11819   esac
   11820     for ac_prog in grep ggrep
   11821    do
   11822     for ac_exec_ext in '' $ac_executable_extensions; do
   11823       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   11824       as_fn_executable_p "$ac_path_GREP" || continue
   11825 # Check for GNU ac_path_GREP and select it if it is found.
   11826   # Check for GNU $ac_path_GREP
   11827 case `"$ac_path_GREP" --version 2>&1` in #(
   11828 *GNU*)
   11829   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   11830 #(
   11831 *)
   11832   ac_count=0
   11833   printf %s 0123456789 >"conftest.in"
   11834   while :
   11835   do
   11836     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11837     mv "conftest.tmp" "conftest.in"
   11838     cp "conftest.in" "conftest.nl"
   11839     printf "%s\n" 'GREP' >> "conftest.nl"
   11840     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11841     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11842     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11843     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   11844       # Best one so far, save it but keep looking for a better one
   11845       ac_cv_path_GREP="$ac_path_GREP"
   11846       ac_path_GREP_max=$ac_count
   11847     fi
   11848     # 10*(2^10) chars as input seems more than enough
   11849     test $ac_count -gt 10 && break
   11850   done
   11851   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11852 esac
   11853 
   11854       $ac_path_GREP_found && break 3
   11855     done
   11856   done
   11857   done
   11858 IFS=$as_save_IFS
   11859   if test -z "$ac_cv_path_GREP"; then
   11860     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11861   fi
   11862 else
   11863   ac_cv_path_GREP=$GREP
   11864 fi
   11865  ;;
   11866 esac
   11867 fi
   11868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   11869 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   11870  GREP="$ac_cv_path_GREP"
   11871 
   11872 
   11873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   11874 printf %s "checking for egrep... " >&6; }
   11875 if test ${ac_cv_path_EGREP+y}
   11876 then :
   11877   printf %s "(cached) " >&6
   11878 else case e in #(
   11879   e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   11880    then ac_cv_path_EGREP="$GREP -E"
   11881    else
   11882      if test -z "$EGREP"; then
   11883   ac_path_EGREP_found=false
   11884   # Loop through the user's path and test for each of PROGNAME-LIST
   11885   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11886 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11887 do
   11888   IFS=$as_save_IFS
   11889   case $as_dir in #(((
   11890     '') as_dir=./ ;;
   11891     */) ;;
   11892     *) as_dir=$as_dir/ ;;
   11893   esac
   11894     for ac_prog in egrep
   11895    do
   11896     for ac_exec_ext in '' $ac_executable_extensions; do
   11897       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   11898       as_fn_executable_p "$ac_path_EGREP" || continue
   11899 # Check for GNU ac_path_EGREP and select it if it is found.
   11900   # Check for GNU $ac_path_EGREP
   11901 case `"$ac_path_EGREP" --version 2>&1` in #(
   11902 *GNU*)
   11903   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   11904 #(
   11905 *)
   11906   ac_count=0
   11907   printf %s 0123456789 >"conftest.in"
   11908   while :
   11909   do
   11910     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11911     mv "conftest.tmp" "conftest.in"
   11912     cp "conftest.in" "conftest.nl"
   11913     printf "%s\n" 'EGREP' >> "conftest.nl"
   11914     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11915     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11916     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11917     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   11918       # Best one so far, save it but keep looking for a better one
   11919       ac_cv_path_EGREP="$ac_path_EGREP"
   11920       ac_path_EGREP_max=$ac_count
   11921     fi
   11922     # 10*(2^10) chars as input seems more than enough
   11923     test $ac_count -gt 10 && break
   11924   done
   11925   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11926 esac
   11927 
   11928       $ac_path_EGREP_found && break 3
   11929     done
   11930   done
   11931   done
   11932 IFS=$as_save_IFS
   11933   if test -z "$ac_cv_path_EGREP"; then
   11934     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11935   fi
   11936 else
   11937   ac_cv_path_EGREP=$EGREP
   11938 fi
   11939 
   11940    fi ;;
   11941 esac
   11942 fi
   11943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   11944 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   11945  EGREP="$ac_cv_path_EGREP"
   11946 
   11947          EGREP_TRADITIONAL=$EGREP
   11948  ac_cv_path_EGREP_TRADITIONAL=$EGREP
   11949 
   11950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   11951 printf %s "checking for fgrep... " >&6; }
   11952 if test ${ac_cv_path_FGREP+y}
   11953 then :
   11954   printf %s "(cached) " >&6
   11955 else case e in #(
   11956   e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   11957    then ac_cv_path_FGREP="$GREP -F"
   11958    else
   11959      if test -z "$FGREP"; then
   11960   ac_path_FGREP_found=false
   11961   # Loop through the user's path and test for each of PROGNAME-LIST
   11962   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11963 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11964 do
   11965   IFS=$as_save_IFS
   11966   case $as_dir in #(((
   11967     '') as_dir=./ ;;
   11968     */) ;;
   11969     *) as_dir=$as_dir/ ;;
   11970   esac
   11971     for ac_prog in fgrep
   11972    do
   11973     for ac_exec_ext in '' $ac_executable_extensions; do
   11974       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   11975       as_fn_executable_p "$ac_path_FGREP" || continue
   11976 # Check for GNU ac_path_FGREP and select it if it is found.
   11977   # Check for GNU $ac_path_FGREP
   11978 case `"$ac_path_FGREP" --version 2>&1` in #(
   11979 *GNU*)
   11980   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   11981 #(
   11982 *)
   11983   ac_count=0
   11984   printf %s 0123456789 >"conftest.in"
   11985   while :
   11986   do
   11987     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11988     mv "conftest.tmp" "conftest.in"
   11989     cp "conftest.in" "conftest.nl"
   11990     printf "%s\n" 'FGREP' >> "conftest.nl"
   11991     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11992     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11993     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11994     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   11995       # Best one so far, save it but keep looking for a better one
   11996       ac_cv_path_FGREP="$ac_path_FGREP"
   11997       ac_path_FGREP_max=$ac_count
   11998     fi
   11999     # 10*(2^10) chars as input seems more than enough
   12000     test $ac_count -gt 10 && break
   12001   done
   12002   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   12003 esac
   12004 
   12005       $ac_path_FGREP_found && break 3
   12006     done
   12007   done
   12008   done
   12009 IFS=$as_save_IFS
   12010   if test -z "$ac_cv_path_FGREP"; then
   12011     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   12012   fi
   12013 else
   12014   ac_cv_path_FGREP=$FGREP
   12015 fi
   12016 
   12017    fi ;;
   12018 esac
   12019 fi
   12020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   12021 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   12022  FGREP="$ac_cv_path_FGREP"
   12023 
   12024 
   12025 test -z "$GREP" && GREP=grep
   12026 
   12027 
   12028 
   12029 
   12030 
   12031 
   12032 
   12033 
   12034 
   12035 
   12036 
   12037 
   12038 
   12039 
   12040 
   12041 
   12042 
   12043 
   12044 
   12045 # Check whether --with-gnu-ld was given.
   12046 if test ${with_gnu_ld+y}
   12047 then :
   12048   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   12049 else case e in #(
   12050   e) with_gnu_ld=no ;;
   12051 esac
   12052 fi
   12053 
   12054 ac_prog=ld
   12055 if test yes = "$GCC"; then
   12056   # Check if gcc -print-prog-name=ld gives a path.
   12057   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   12058 printf %s "checking for ld used by $CC... " >&6; }
   12059   case $host in
   12060   *-*-mingw*)
   12061     # gcc leaves a trailing carriage return, which upsets mingw
   12062     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   12063   *)
   12064     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   12065   esac
   12066   case $ac_prog in
   12067     # Accept absolute paths.
   12068     [\\/]* | ?:[\\/]*)
   12069       re_direlt='/[^/][^/]*/\.\./'
   12070       # Canonicalize the pathname of ld
   12071       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   12072       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   12073 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   12074       done
   12075       test -z "$LD" && LD=$ac_prog
   12076       ;;
   12077   "")
   12078     # If it fails, then pretend we aren't using GCC.
   12079     ac_prog=ld
   12080     ;;
   12081   *)
   12082     # If it is relative, then search for the first ld in PATH.
   12083     with_gnu_ld=unknown
   12084     ;;
   12085   esac
   12086 elif test yes = "$with_gnu_ld"; then
   12087   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   12088 printf %s "checking for GNU ld... " >&6; }
   12089 else
   12090   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   12091 printf %s "checking for non-GNU ld... " >&6; }
   12092 fi
   12093 if test ${lt_cv_path_LD+y}
   12094 then :
   12095   printf %s "(cached) " >&6
   12096 else case e in #(
   12097   e) if test -z "$LD"; then
   12098   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   12099   for ac_dir in $PATH; do
   12100     IFS=$lt_save_ifs
   12101     test -z "$ac_dir" && ac_dir=.
   12102     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   12103       lt_cv_path_LD=$ac_dir/$ac_prog
   12104       # Check to see if the program is GNU ld.  I'd rather use --version,
   12105       # but apparently some variants of GNU ld only accept -v.
   12106       # Break only if it was the GNU/non-GNU ld that we prefer.
   12107       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   12108       *GNU* | *'with BFD'*)
   12109 	test no != "$with_gnu_ld" && break
   12110 	;;
   12111       *)
   12112 	test yes != "$with_gnu_ld" && break
   12113 	;;
   12114       esac
   12115     fi
   12116   done
   12117   IFS=$lt_save_ifs
   12118 else
   12119   lt_cv_path_LD=$LD # Let the user override the test with a path.
   12120 fi ;;
   12121 esac
   12122 fi
   12123 
   12124 LD=$lt_cv_path_LD
   12125 if test -n "$LD"; then
   12126   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   12127 printf "%s\n" "$LD" >&6; }
   12128 else
   12129   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12130 printf "%s\n" "no" >&6; }
   12131 fi
   12132 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   12133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   12134 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   12135 if test ${lt_cv_prog_gnu_ld+y}
   12136 then :
   12137   printf %s "(cached) " >&6
   12138 else case e in #(
   12139   e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
   12140 case `$LD -v 2>&1 </dev/null` in
   12141 *GNU* | *'with BFD'*)
   12142   lt_cv_prog_gnu_ld=yes
   12143   ;;
   12144 *)
   12145   lt_cv_prog_gnu_ld=no
   12146   ;;
   12147 esac ;;
   12148 esac
   12149 fi
   12150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   12151 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   12152 with_gnu_ld=$lt_cv_prog_gnu_ld
   12153 
   12154 
   12155 
   12156 
   12157 
   12158 
   12159 
   12160 
   12161 
   12162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   12163 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   12164 if test ${lt_cv_path_NM+y}
   12165 then :
   12166   printf %s "(cached) " >&6
   12167 else case e in #(
   12168   e) if test -n "$NM"; then
   12169   # Let the user override the test.
   12170   lt_cv_path_NM=$NM
   12171 else
   12172   lt_nm_to_check=${ac_tool_prefix}nm
   12173   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   12174     lt_nm_to_check="$lt_nm_to_check nm"
   12175   fi
   12176   for lt_tmp_nm in $lt_nm_to_check; do
   12177     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   12178     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   12179       IFS=$lt_save_ifs
   12180       test -z "$ac_dir" && ac_dir=.
   12181       tmp_nm=$ac_dir/$lt_tmp_nm
   12182       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   12183 	# Check to see if the nm accepts a BSD-compat flag.
   12184 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   12185 	#   nm: unknown option "B" ignored
   12186 	# Tru64's nm complains that /dev/null is an invalid object file
   12187 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   12188 	case $build_os in
   12189 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   12190 	*) lt_bad_file=/dev/null ;;
   12191 	esac
   12192 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   12193 	*$lt_bad_file* | *'Invalid file or object type'*)
   12194 	  lt_cv_path_NM="$tmp_nm -B"
   12195 	  break 2
   12196 	  ;;
   12197 	*)
   12198 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   12199 	  */dev/null*)
   12200 	    lt_cv_path_NM="$tmp_nm -p"
   12201 	    break 2
   12202 	    ;;
   12203 	  *)
   12204 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   12205 	    continue # so that we can try to find one that supports BSD flags
   12206 	    ;;
   12207 	  esac
   12208 	  ;;
   12209 	esac
   12210       fi
   12211     done
   12212     IFS=$lt_save_ifs
   12213   done
   12214   : ${lt_cv_path_NM=no}
   12215 fi ;;
   12216 esac
   12217 fi
   12218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   12219 printf "%s\n" "$lt_cv_path_NM" >&6; }
   12220 if test no != "$lt_cv_path_NM"; then
   12221   NM=$lt_cv_path_NM
   12222 else
   12223   # Didn't find any BSD compatible name lister, look for dumpbin.
   12224   if test -n "$DUMPBIN"; then :
   12225     # Let the user override the test.
   12226   else
   12227     if test -n "$ac_tool_prefix"; then
   12228   for ac_prog in dumpbin "link -dump"
   12229   do
   12230     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   12231 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   12232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12233 printf %s "checking for $ac_word... " >&6; }
   12234 if test ${ac_cv_prog_DUMPBIN+y}
   12235 then :
   12236   printf %s "(cached) " >&6
   12237 else case e in #(
   12238   e) if test -n "$DUMPBIN"; then
   12239   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   12240 else
   12241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12242 for as_dir in $PATH
   12243 do
   12244   IFS=$as_save_IFS
   12245   case $as_dir in #(((
   12246     '') as_dir=./ ;;
   12247     */) ;;
   12248     *) as_dir=$as_dir/ ;;
   12249   esac
   12250     for ac_exec_ext in '' $ac_executable_extensions; do
   12251   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12252     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   12253     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12254     break 2
   12255   fi
   12256 done
   12257   done
   12258 IFS=$as_save_IFS
   12259 
   12260 fi ;;
   12261 esac
   12262 fi
   12263 DUMPBIN=$ac_cv_prog_DUMPBIN
   12264 if test -n "$DUMPBIN"; then
   12265   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   12266 printf "%s\n" "$DUMPBIN" >&6; }
   12267 else
   12268   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12269 printf "%s\n" "no" >&6; }
   12270 fi
   12271 
   12272 
   12273     test -n "$DUMPBIN" && break
   12274   done
   12275 fi
   12276 if test -z "$DUMPBIN"; then
   12277   ac_ct_DUMPBIN=$DUMPBIN
   12278   for ac_prog in dumpbin "link -dump"
   12279 do
   12280   # Extract the first word of "$ac_prog", so it can be a program name with args.
   12281 set dummy $ac_prog; ac_word=$2
   12282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12283 printf %s "checking for $ac_word... " >&6; }
   12284 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   12285 then :
   12286   printf %s "(cached) " >&6
   12287 else case e in #(
   12288   e) if test -n "$ac_ct_DUMPBIN"; then
   12289   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   12290 else
   12291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12292 for as_dir in $PATH
   12293 do
   12294   IFS=$as_save_IFS
   12295   case $as_dir in #(((
   12296     '') as_dir=./ ;;
   12297     */) ;;
   12298     *) as_dir=$as_dir/ ;;
   12299   esac
   12300     for ac_exec_ext in '' $ac_executable_extensions; do
   12301   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12302     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   12303     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12304     break 2
   12305   fi
   12306 done
   12307   done
   12308 IFS=$as_save_IFS
   12309 
   12310 fi ;;
   12311 esac
   12312 fi
   12313 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   12314 if test -n "$ac_ct_DUMPBIN"; then
   12315   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   12316 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   12317 else
   12318   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12319 printf "%s\n" "no" >&6; }
   12320 fi
   12321 
   12322 
   12323   test -n "$ac_ct_DUMPBIN" && break
   12324 done
   12325 
   12326   if test "x$ac_ct_DUMPBIN" = x; then
   12327     DUMPBIN=":"
   12328   else
   12329     case $cross_compiling:$ac_tool_warned in
   12330 yes:)
   12331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12332 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12333 ac_tool_warned=yes ;;
   12334 esac
   12335     DUMPBIN=$ac_ct_DUMPBIN
   12336   fi
   12337 fi
   12338 
   12339     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   12340     *COFF*)
   12341       DUMPBIN="$DUMPBIN -symbols -headers"
   12342       ;;
   12343     *)
   12344       DUMPBIN=:
   12345       ;;
   12346     esac
   12347   fi
   12348 
   12349   if test : != "$DUMPBIN"; then
   12350     NM=$DUMPBIN
   12351   fi
   12352 fi
   12353 test -z "$NM" && NM=nm
   12354 
   12355 
   12356 
   12357 
   12358 
   12359 
   12360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   12361 printf %s "checking the name lister ($NM) interface... " >&6; }
   12362 if test ${lt_cv_nm_interface+y}
   12363 then :
   12364   printf %s "(cached) " >&6
   12365 else case e in #(
   12366   e) lt_cv_nm_interface="BSD nm"
   12367   echo "int some_variable = 0;" > conftest.$ac_ext
   12368   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   12369   (eval "$ac_compile" 2>conftest.err)
   12370   cat conftest.err >&5
   12371   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   12372   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   12373   cat conftest.err >&5
   12374   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   12375   cat conftest.out >&5
   12376   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   12377     lt_cv_nm_interface="MS dumpbin"
   12378   fi
   12379   rm -f conftest* ;;
   12380 esac
   12381 fi
   12382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   12383 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   12384 
   12385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   12386 printf %s "checking whether ln -s works... " >&6; }
   12387 LN_S=$as_ln_s
   12388 if test "$LN_S" = "ln -s"; then
   12389   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12390 printf "%s\n" "yes" >&6; }
   12391 else
   12392   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   12393 printf "%s\n" "no, using $LN_S" >&6; }
   12394 fi
   12395 
   12396 # find the maximum length of command line arguments
   12397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   12398 printf %s "checking the maximum length of command line arguments... " >&6; }
   12399 if test ${lt_cv_sys_max_cmd_len+y}
   12400 then :
   12401   printf %s "(cached) " >&6
   12402 else case e in #(
   12403   e)   i=0
   12404   teststring=ABCD
   12405 
   12406   case $build_os in
   12407   msdosdjgpp*)
   12408     # On DJGPP, this test can blow up pretty badly due to problems in libc
   12409     # (any single argument exceeding 2000 bytes causes a buffer overrun
   12410     # during glob expansion).  Even if it were fixed, the result of this
   12411     # check would be larger than it should be.
   12412     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   12413     ;;
   12414 
   12415   gnu*)
   12416     # Under GNU Hurd, this test is not required because there is
   12417     # no limit to the length of command line arguments.
   12418     # Libtool will interpret -1 as no limit whatsoever
   12419     lt_cv_sys_max_cmd_len=-1;
   12420     ;;
   12421 
   12422   cygwin* | mingw* | cegcc*)
   12423     # On Win9x/ME, this test blows up -- it succeeds, but takes
   12424     # about 5 minutes as the teststring grows exponentially.
   12425     # Worse, since 9x/ME are not pre-emptively multitasking,
   12426     # you end up with a "frozen" computer, even though with patience
   12427     # the test eventually succeeds (with a max line length of 256k).
   12428     # Instead, let's just punt: use the minimum linelength reported by
   12429     # all of the supported platforms: 8192 (on NT/2K/XP).
   12430     lt_cv_sys_max_cmd_len=8192;
   12431     ;;
   12432 
   12433   mint*)
   12434     # On MiNT this can take a long time and run out of memory.
   12435     lt_cv_sys_max_cmd_len=8192;
   12436     ;;
   12437 
   12438   amigaos*)
   12439     # On AmigaOS with pdksh, this test takes hours, literally.
   12440     # So we just punt and use a minimum line length of 8192.
   12441     lt_cv_sys_max_cmd_len=8192;
   12442     ;;
   12443 
   12444   bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   12445     # This has been around since 386BSD, at least.  Likely further.
   12446     if test -x /sbin/sysctl; then
   12447       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   12448     elif test -x /usr/sbin/sysctl; then
   12449       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   12450     else
   12451       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   12452     fi
   12453     # And add a safety zone
   12454     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   12455     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   12456     ;;
   12457 
   12458   interix*)
   12459     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   12460     lt_cv_sys_max_cmd_len=196608
   12461     ;;
   12462 
   12463   os2*)
   12464     # The test takes a long time on OS/2.
   12465     lt_cv_sys_max_cmd_len=8192
   12466     ;;
   12467 
   12468   osf*)
   12469     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   12470     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   12471     # nice to cause kernel panics so lets avoid the loop below.
   12472     # First set a reasonable default.
   12473     lt_cv_sys_max_cmd_len=16384
   12474     #
   12475     if test -x /sbin/sysconfig; then
   12476       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   12477         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   12478       esac
   12479     fi
   12480     ;;
   12481   sco3.2v5*)
   12482     lt_cv_sys_max_cmd_len=102400
   12483     ;;
   12484   sysv5* | sco5v6* | sysv4.2uw2*)
   12485     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   12486     if test -n "$kargmax"; then
   12487       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   12488     else
   12489       lt_cv_sys_max_cmd_len=32768
   12490     fi
   12491     ;;
   12492   *)
   12493     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   12494     if test -n "$lt_cv_sys_max_cmd_len" && \
   12495        test undefined != "$lt_cv_sys_max_cmd_len"; then
   12496       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   12497       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   12498     else
   12499       # Make teststring a little bigger before we do anything with it.
   12500       # a 1K string should be a reasonable start.
   12501       for i in 1 2 3 4 5 6 7 8; do
   12502         teststring=$teststring$teststring
   12503       done
   12504       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   12505       # If test is not a shell built-in, we'll probably end up computing a
   12506       # maximum length that is only half of the actual maximum length, but
   12507       # we can't tell.
   12508       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   12509 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   12510 	      test 17 != "$i" # 1/2 MB should be enough
   12511       do
   12512         i=`expr $i + 1`
   12513         teststring=$teststring$teststring
   12514       done
   12515       # Only check the string length outside the loop.
   12516       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   12517       teststring=
   12518       # Add a significant safety factor because C++ compilers can tack on
   12519       # massive amounts of additional arguments before passing them to the
   12520       # linker.  It appears as though 1/2 is a usable value.
   12521       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   12522     fi
   12523     ;;
   12524   esac
   12525  ;;
   12526 esac
   12527 fi
   12528 
   12529 if test -n "$lt_cv_sys_max_cmd_len"; then
   12530   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   12531 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   12532 else
   12533   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   12534 printf "%s\n" "none" >&6; }
   12535 fi
   12536 max_cmd_len=$lt_cv_sys_max_cmd_len
   12537 
   12538 
   12539 
   12540 
   12541 
   12542 
   12543 : ${CP="cp -f"}
   12544 : ${MV="mv -f"}
   12545 : ${RM="rm -f"}
   12546 
   12547 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   12548   lt_unset=unset
   12549 else
   12550   lt_unset=false
   12551 fi
   12552 
   12553 
   12554 
   12555 
   12556 
   12557 # test EBCDIC or ASCII
   12558 case `echo X|tr X '\101'` in
   12559  A) # ASCII based system
   12560     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   12561   lt_SP2NL='tr \040 \012'
   12562   lt_NL2SP='tr \015\012 \040\040'
   12563   ;;
   12564  *) # EBCDIC based system
   12565   lt_SP2NL='tr \100 \n'
   12566   lt_NL2SP='tr \r\n \100\100'
   12567   ;;
   12568 esac
   12569 
   12570 
   12571 
   12572 
   12573 
   12574 
   12575 
   12576 
   12577 
   12578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   12579 printf %s "checking how to convert $build file names to $host format... " >&6; }
   12580 if test ${lt_cv_to_host_file_cmd+y}
   12581 then :
   12582   printf %s "(cached) " >&6
   12583 else case e in #(
   12584   e) case $host in
   12585   *-*-mingw* )
   12586     case $build in
   12587       *-*-mingw* ) # actually msys
   12588         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   12589         ;;
   12590       *-*-cygwin* )
   12591         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   12592         ;;
   12593       * ) # otherwise, assume *nix
   12594         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   12595         ;;
   12596     esac
   12597     ;;
   12598   *-*-cygwin* )
   12599     case $build in
   12600       *-*-mingw* ) # actually msys
   12601         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   12602         ;;
   12603       *-*-cygwin* )
   12604         lt_cv_to_host_file_cmd=func_convert_file_noop
   12605         ;;
   12606       * ) # otherwise, assume *nix
   12607         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   12608         ;;
   12609     esac
   12610     ;;
   12611   * ) # unhandled hosts (and "normal" native builds)
   12612     lt_cv_to_host_file_cmd=func_convert_file_noop
   12613     ;;
   12614 esac
   12615  ;;
   12616 esac
   12617 fi
   12618 
   12619 to_host_file_cmd=$lt_cv_to_host_file_cmd
   12620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   12621 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   12622 
   12623 
   12624 
   12625 
   12626 
   12627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   12628 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   12629 if test ${lt_cv_to_tool_file_cmd+y}
   12630 then :
   12631   printf %s "(cached) " >&6
   12632 else case e in #(
   12633   e) #assume ordinary cross tools, or native build.
   12634 lt_cv_to_tool_file_cmd=func_convert_file_noop
   12635 case $host in
   12636   *-*-mingw* )
   12637     case $build in
   12638       *-*-mingw* ) # actually msys
   12639         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   12640         ;;
   12641     esac
   12642     ;;
   12643 esac
   12644  ;;
   12645 esac
   12646 fi
   12647 
   12648 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   12649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   12650 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   12651 
   12652 
   12653 
   12654 
   12655 
   12656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   12657 printf %s "checking for $LD option to reload object files... " >&6; }
   12658 if test ${lt_cv_ld_reload_flag+y}
   12659 then :
   12660   printf %s "(cached) " >&6
   12661 else case e in #(
   12662   e) lt_cv_ld_reload_flag='-r' ;;
   12663 esac
   12664 fi
   12665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   12666 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   12667 reload_flag=$lt_cv_ld_reload_flag
   12668 case $reload_flag in
   12669 "" | " "*) ;;
   12670 *) reload_flag=" $reload_flag" ;;
   12671 esac
   12672 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   12673 case $host_os in
   12674   cygwin* | mingw* | pw32* | cegcc*)
   12675     if test yes != "$GCC"; then
   12676       reload_cmds=false
   12677     fi
   12678     ;;
   12679   darwin*)
   12680     if test yes = "$GCC"; then
   12681       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   12682     else
   12683       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   12684     fi
   12685     ;;
   12686 esac
   12687 
   12688 
   12689 
   12690 
   12691 
   12692 
   12693 
   12694 
   12695 
   12696 if test -n "$ac_tool_prefix"; then
   12697   # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
   12698 set dummy ${ac_tool_prefix}file; ac_word=$2
   12699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12700 printf %s "checking for $ac_word... " >&6; }
   12701 if test ${ac_cv_prog_FILECMD+y}
   12702 then :
   12703   printf %s "(cached) " >&6
   12704 else case e in #(
   12705   e) if test -n "$FILECMD"; then
   12706   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   12707 else
   12708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12709 for as_dir in $PATH
   12710 do
   12711   IFS=$as_save_IFS
   12712   case $as_dir in #(((
   12713     '') as_dir=./ ;;
   12714     */) ;;
   12715     *) as_dir=$as_dir/ ;;
   12716   esac
   12717     for ac_exec_ext in '' $ac_executable_extensions; do
   12718   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12719     ac_cv_prog_FILECMD="${ac_tool_prefix}file"
   12720     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12721     break 2
   12722   fi
   12723 done
   12724   done
   12725 IFS=$as_save_IFS
   12726 
   12727 fi ;;
   12728 esac
   12729 fi
   12730 FILECMD=$ac_cv_prog_FILECMD
   12731 if test -n "$FILECMD"; then
   12732   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   12733 printf "%s\n" "$FILECMD" >&6; }
   12734 else
   12735   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12736 printf "%s\n" "no" >&6; }
   12737 fi
   12738 
   12739 
   12740 fi
   12741 if test -z "$ac_cv_prog_FILECMD"; then
   12742   ac_ct_FILECMD=$FILECMD
   12743   # Extract the first word of "file", so it can be a program name with args.
   12744 set dummy file; ac_word=$2
   12745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12746 printf %s "checking for $ac_word... " >&6; }
   12747 if test ${ac_cv_prog_ac_ct_FILECMD+y}
   12748 then :
   12749   printf %s "(cached) " >&6
   12750 else case e in #(
   12751   e) if test -n "$ac_ct_FILECMD"; then
   12752   ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
   12753 else
   12754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12755 for as_dir in $PATH
   12756 do
   12757   IFS=$as_save_IFS
   12758   case $as_dir in #(((
   12759     '') as_dir=./ ;;
   12760     */) ;;
   12761     *) as_dir=$as_dir/ ;;
   12762   esac
   12763     for ac_exec_ext in '' $ac_executable_extensions; do
   12764   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12765     ac_cv_prog_ac_ct_FILECMD="file"
   12766     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12767     break 2
   12768   fi
   12769 done
   12770   done
   12771 IFS=$as_save_IFS
   12772 
   12773 fi ;;
   12774 esac
   12775 fi
   12776 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
   12777 if test -n "$ac_ct_FILECMD"; then
   12778   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
   12779 printf "%s\n" "$ac_ct_FILECMD" >&6; }
   12780 else
   12781   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12782 printf "%s\n" "no" >&6; }
   12783 fi
   12784 
   12785   if test "x$ac_ct_FILECMD" = x; then
   12786     FILECMD=":"
   12787   else
   12788     case $cross_compiling:$ac_tool_warned in
   12789 yes:)
   12790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12791 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12792 ac_tool_warned=yes ;;
   12793 esac
   12794     FILECMD=$ac_ct_FILECMD
   12795   fi
   12796 else
   12797   FILECMD="$ac_cv_prog_FILECMD"
   12798 fi
   12799 
   12800 
   12801 
   12802 
   12803 
   12804 
   12805 
   12806 if test -n "$ac_tool_prefix"; then
   12807   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   12808 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   12809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12810 printf %s "checking for $ac_word... " >&6; }
   12811 if test ${ac_cv_prog_OBJDUMP+y}
   12812 then :
   12813   printf %s "(cached) " >&6
   12814 else case e in #(
   12815   e) if test -n "$OBJDUMP"; then
   12816   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   12817 else
   12818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12819 for as_dir in $PATH
   12820 do
   12821   IFS=$as_save_IFS
   12822   case $as_dir in #(((
   12823     '') as_dir=./ ;;
   12824     */) ;;
   12825     *) as_dir=$as_dir/ ;;
   12826   esac
   12827     for ac_exec_ext in '' $ac_executable_extensions; do
   12828   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12829     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   12830     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12831     break 2
   12832   fi
   12833 done
   12834   done
   12835 IFS=$as_save_IFS
   12836 
   12837 fi ;;
   12838 esac
   12839 fi
   12840 OBJDUMP=$ac_cv_prog_OBJDUMP
   12841 if test -n "$OBJDUMP"; then
   12842   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   12843 printf "%s\n" "$OBJDUMP" >&6; }
   12844 else
   12845   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12846 printf "%s\n" "no" >&6; }
   12847 fi
   12848 
   12849 
   12850 fi
   12851 if test -z "$ac_cv_prog_OBJDUMP"; then
   12852   ac_ct_OBJDUMP=$OBJDUMP
   12853   # Extract the first word of "objdump", so it can be a program name with args.
   12854 set dummy objdump; ac_word=$2
   12855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12856 printf %s "checking for $ac_word... " >&6; }
   12857 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   12858 then :
   12859   printf %s "(cached) " >&6
   12860 else case e in #(
   12861   e) if test -n "$ac_ct_OBJDUMP"; then
   12862   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   12863 else
   12864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12865 for as_dir in $PATH
   12866 do
   12867   IFS=$as_save_IFS
   12868   case $as_dir in #(((
   12869     '') as_dir=./ ;;
   12870     */) ;;
   12871     *) as_dir=$as_dir/ ;;
   12872   esac
   12873     for ac_exec_ext in '' $ac_executable_extensions; do
   12874   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12875     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   12876     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12877     break 2
   12878   fi
   12879 done
   12880   done
   12881 IFS=$as_save_IFS
   12882 
   12883 fi ;;
   12884 esac
   12885 fi
   12886 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   12887 if test -n "$ac_ct_OBJDUMP"; then
   12888   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   12889 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   12890 else
   12891   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12892 printf "%s\n" "no" >&6; }
   12893 fi
   12894 
   12895   if test "x$ac_ct_OBJDUMP" = x; then
   12896     OBJDUMP="false"
   12897   else
   12898     case $cross_compiling:$ac_tool_warned in
   12899 yes:)
   12900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12901 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12902 ac_tool_warned=yes ;;
   12903 esac
   12904     OBJDUMP=$ac_ct_OBJDUMP
   12905   fi
   12906 else
   12907   OBJDUMP="$ac_cv_prog_OBJDUMP"
   12908 fi
   12909 
   12910 test -z "$OBJDUMP" && OBJDUMP=objdump
   12911 
   12912 
   12913 
   12914 
   12915 
   12916 
   12917 
   12918 
   12919 
   12920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   12921 printf %s "checking how to recognize dependent libraries... " >&6; }
   12922 if test ${lt_cv_deplibs_check_method+y}
   12923 then :
   12924   printf %s "(cached) " >&6
   12925 else case e in #(
   12926   e) lt_cv_file_magic_cmd='$MAGIC_CMD'
   12927 lt_cv_file_magic_test_file=
   12928 lt_cv_deplibs_check_method='unknown'
   12929 # Need to set the preceding variable on all platforms that support
   12930 # interlibrary dependencies.
   12931 # 'none' -- dependencies not supported.
   12932 # 'unknown' -- same as none, but documents that we really don't know.
   12933 # 'pass_all' -- all dependencies passed with no checks.
   12934 # 'test_compile' -- check by making test program.
   12935 # 'file_magic [[regex]]' -- check by looking for files in library path
   12936 # that responds to the $file_magic_cmd with a given extended regex.
   12937 # If you have 'file' or equivalent on your system and you're not sure
   12938 # whether 'pass_all' will *always* work, you probably want this one.
   12939 
   12940 case $host_os in
   12941 aix[4-9]*)
   12942   lt_cv_deplibs_check_method=pass_all
   12943   ;;
   12944 
   12945 beos*)
   12946   lt_cv_deplibs_check_method=pass_all
   12947   ;;
   12948 
   12949 bsdi[45]*)
   12950   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   12951   lt_cv_file_magic_cmd='$FILECMD -L'
   12952   lt_cv_file_magic_test_file=/shlib/libc.so
   12953   ;;
   12954 
   12955 cygwin*)
   12956   # func_win32_libid is a shell function defined in ltmain.sh
   12957   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   12958   lt_cv_file_magic_cmd='func_win32_libid'
   12959   ;;
   12960 
   12961 mingw* | pw32*)
   12962   # Base MSYS/MinGW do not provide the 'file' command needed by
   12963   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   12964   # unless we find 'file', for example because we are cross-compiling.
   12965   if ( file / ) >/dev/null 2>&1; then
   12966     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   12967     lt_cv_file_magic_cmd='func_win32_libid'
   12968   else
   12969     # Keep this pattern in sync with the one in func_win32_libid.
   12970     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   12971     lt_cv_file_magic_cmd='$OBJDUMP -f'
   12972   fi
   12973   ;;
   12974 
   12975 cegcc*)
   12976   # use the weaker test based on 'objdump'. See mingw*.
   12977   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   12978   lt_cv_file_magic_cmd='$OBJDUMP -f'
   12979   ;;
   12980 
   12981 darwin* | rhapsody*)
   12982   lt_cv_deplibs_check_method=pass_all
   12983   ;;
   12984 
   12985 freebsd* | dragonfly* | midnightbsd*)
   12986   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   12987     case $host_cpu in
   12988     i*86 )
   12989       # Not sure whether the presence of OpenBSD here was a mistake.
   12990       # Let's accept both of them until this is cleared up.
   12991       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   12992       lt_cv_file_magic_cmd=$FILECMD
   12993       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   12994       ;;
   12995     esac
   12996   else
   12997     lt_cv_deplibs_check_method=pass_all
   12998   fi
   12999   ;;
   13000 
   13001 haiku*)
   13002   lt_cv_deplibs_check_method=pass_all
   13003   ;;
   13004 
   13005 hpux10.20* | hpux11*)
   13006   lt_cv_file_magic_cmd=$FILECMD
   13007   case $host_cpu in
   13008   ia64*)
   13009     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   13010     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   13011     ;;
   13012   hppa*64*)
   13013     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]'
   13014     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   13015     ;;
   13016   *)
   13017     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   13018     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   13019     ;;
   13020   esac
   13021   ;;
   13022 
   13023 interix[3-9]*)
   13024   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   13025   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   13026   ;;
   13027 
   13028 irix5* | irix6* | nonstopux*)
   13029   case $LD in
   13030   *-32|*"-32 ") libmagic=32-bit;;
   13031   *-n32|*"-n32 ") libmagic=N32;;
   13032   *-64|*"-64 ") libmagic=64-bit;;
   13033   *) libmagic=never-match;;
   13034   esac
   13035   lt_cv_deplibs_check_method=pass_all
   13036   ;;
   13037 
   13038 # This must be glibc/ELF.
   13039 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   13040   lt_cv_deplibs_check_method=pass_all
   13041   ;;
   13042 
   13043 netbsd*)
   13044   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   13045     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   13046   else
   13047     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   13048   fi
   13049   ;;
   13050 
   13051 newos6*)
   13052   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   13053   lt_cv_file_magic_cmd=$FILECMD
   13054   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   13055   ;;
   13056 
   13057 *nto* | *qnx*)
   13058   lt_cv_deplibs_check_method=pass_all
   13059   ;;
   13060 
   13061 openbsd* | bitrig*)
   13062   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   13063     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   13064   else
   13065     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   13066   fi
   13067   ;;
   13068 
   13069 osf3* | osf4* | osf5*)
   13070   lt_cv_deplibs_check_method=pass_all
   13071   ;;
   13072 
   13073 rdos*)
   13074   lt_cv_deplibs_check_method=pass_all
   13075   ;;
   13076 
   13077 solaris*)
   13078   lt_cv_deplibs_check_method=pass_all
   13079   ;;
   13080 
   13081 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13082   lt_cv_deplibs_check_method=pass_all
   13083   ;;
   13084 
   13085 sysv4 | sysv4.3*)
   13086   case $host_vendor in
   13087   motorola)
   13088     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]'
   13089     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   13090     ;;
   13091   ncr)
   13092     lt_cv_deplibs_check_method=pass_all
   13093     ;;
   13094   sequent)
   13095     lt_cv_file_magic_cmd='/bin/file'
   13096     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   13097     ;;
   13098   sni)
   13099     lt_cv_file_magic_cmd='/bin/file'
   13100     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   13101     lt_cv_file_magic_test_file=/lib/libc.so
   13102     ;;
   13103   siemens)
   13104     lt_cv_deplibs_check_method=pass_all
   13105     ;;
   13106   pc)
   13107     lt_cv_deplibs_check_method=pass_all
   13108     ;;
   13109   esac
   13110   ;;
   13111 
   13112 tpf*)
   13113   lt_cv_deplibs_check_method=pass_all
   13114   ;;
   13115 os2*)
   13116   lt_cv_deplibs_check_method=pass_all
   13117   ;;
   13118 esac
   13119  ;;
   13120 esac
   13121 fi
   13122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   13123 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   13124 
   13125 file_magic_glob=
   13126 want_nocaseglob=no
   13127 if test "$build" = "$host"; then
   13128   case $host_os in
   13129   mingw* | pw32*)
   13130     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   13131       want_nocaseglob=yes
   13132     else
   13133       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   13134     fi
   13135     ;;
   13136   esac
   13137 fi
   13138 
   13139 file_magic_cmd=$lt_cv_file_magic_cmd
   13140 deplibs_check_method=$lt_cv_deplibs_check_method
   13141 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   13142 
   13143 
   13144 
   13145 
   13146 
   13147 
   13148 
   13149 
   13150 
   13151 
   13152 
   13153 
   13154 
   13155 
   13156 
   13157 
   13158 
   13159 
   13160 
   13161 
   13162 
   13163 
   13164 if test -n "$ac_tool_prefix"; then
   13165   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   13166 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   13167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13168 printf %s "checking for $ac_word... " >&6; }
   13169 if test ${ac_cv_prog_DLLTOOL+y}
   13170 then :
   13171   printf %s "(cached) " >&6
   13172 else case e in #(
   13173   e) if test -n "$DLLTOOL"; then
   13174   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   13175 else
   13176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13177 for as_dir in $PATH
   13178 do
   13179   IFS=$as_save_IFS
   13180   case $as_dir in #(((
   13181     '') as_dir=./ ;;
   13182     */) ;;
   13183     *) as_dir=$as_dir/ ;;
   13184   esac
   13185     for ac_exec_ext in '' $ac_executable_extensions; do
   13186   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13187     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   13188     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13189     break 2
   13190   fi
   13191 done
   13192   done
   13193 IFS=$as_save_IFS
   13194 
   13195 fi ;;
   13196 esac
   13197 fi
   13198 DLLTOOL=$ac_cv_prog_DLLTOOL
   13199 if test -n "$DLLTOOL"; then
   13200   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   13201 printf "%s\n" "$DLLTOOL" >&6; }
   13202 else
   13203   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13204 printf "%s\n" "no" >&6; }
   13205 fi
   13206 
   13207 
   13208 fi
   13209 if test -z "$ac_cv_prog_DLLTOOL"; then
   13210   ac_ct_DLLTOOL=$DLLTOOL
   13211   # Extract the first word of "dlltool", so it can be a program name with args.
   13212 set dummy dlltool; ac_word=$2
   13213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13214 printf %s "checking for $ac_word... " >&6; }
   13215 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   13216 then :
   13217   printf %s "(cached) " >&6
   13218 else case e in #(
   13219   e) if test -n "$ac_ct_DLLTOOL"; then
   13220   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   13221 else
   13222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13223 for as_dir in $PATH
   13224 do
   13225   IFS=$as_save_IFS
   13226   case $as_dir in #(((
   13227     '') as_dir=./ ;;
   13228     */) ;;
   13229     *) as_dir=$as_dir/ ;;
   13230   esac
   13231     for ac_exec_ext in '' $ac_executable_extensions; do
   13232   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13233     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   13234     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13235     break 2
   13236   fi
   13237 done
   13238   done
   13239 IFS=$as_save_IFS
   13240 
   13241 fi ;;
   13242 esac
   13243 fi
   13244 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   13245 if test -n "$ac_ct_DLLTOOL"; then
   13246   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   13247 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   13248 else
   13249   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13250 printf "%s\n" "no" >&6; }
   13251 fi
   13252 
   13253   if test "x$ac_ct_DLLTOOL" = x; then
   13254     DLLTOOL="false"
   13255   else
   13256     case $cross_compiling:$ac_tool_warned in
   13257 yes:)
   13258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13259 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13260 ac_tool_warned=yes ;;
   13261 esac
   13262     DLLTOOL=$ac_ct_DLLTOOL
   13263   fi
   13264 else
   13265   DLLTOOL="$ac_cv_prog_DLLTOOL"
   13266 fi
   13267 
   13268 test -z "$DLLTOOL" && DLLTOOL=dlltool
   13269 
   13270 
   13271 
   13272 
   13273 
   13274 
   13275 
   13276 
   13277 
   13278 
   13279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   13280 printf %s "checking how to associate runtime and link libraries... " >&6; }
   13281 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   13282 then :
   13283   printf %s "(cached) " >&6
   13284 else case e in #(
   13285   e) lt_cv_sharedlib_from_linklib_cmd='unknown'
   13286 
   13287 case $host_os in
   13288 cygwin* | mingw* | pw32* | cegcc*)
   13289   # two different shell functions defined in ltmain.sh;
   13290   # decide which one to use based on capabilities of $DLLTOOL
   13291   case `$DLLTOOL --help 2>&1` in
   13292   *--identify-strict*)
   13293     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   13294     ;;
   13295   *)
   13296     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   13297     ;;
   13298   esac
   13299   ;;
   13300 *)
   13301   # fallback: assume linklib IS sharedlib
   13302   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   13303   ;;
   13304 esac
   13305  ;;
   13306 esac
   13307 fi
   13308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   13309 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   13310 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   13311 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   13312 
   13313 
   13314 
   13315 
   13316 
   13317 
   13318 
   13319 if test -n "$ac_tool_prefix"; then
   13320   for ac_prog in ar
   13321   do
   13322     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   13323 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   13324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13325 printf %s "checking for $ac_word... " >&6; }
   13326 if test ${ac_cv_prog_AR+y}
   13327 then :
   13328   printf %s "(cached) " >&6
   13329 else case e in #(
   13330   e) if test -n "$AR"; then
   13331   ac_cv_prog_AR="$AR" # Let the user override the test.
   13332 else
   13333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13334 for as_dir in $PATH
   13335 do
   13336   IFS=$as_save_IFS
   13337   case $as_dir in #(((
   13338     '') as_dir=./ ;;
   13339     */) ;;
   13340     *) as_dir=$as_dir/ ;;
   13341   esac
   13342     for ac_exec_ext in '' $ac_executable_extensions; do
   13343   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13344     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   13345     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13346     break 2
   13347   fi
   13348 done
   13349   done
   13350 IFS=$as_save_IFS
   13351 
   13352 fi ;;
   13353 esac
   13354 fi
   13355 AR=$ac_cv_prog_AR
   13356 if test -n "$AR"; then
   13357   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   13358 printf "%s\n" "$AR" >&6; }
   13359 else
   13360   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13361 printf "%s\n" "no" >&6; }
   13362 fi
   13363 
   13364 
   13365     test -n "$AR" && break
   13366   done
   13367 fi
   13368 if test -z "$AR"; then
   13369   ac_ct_AR=$AR
   13370   for ac_prog in ar
   13371 do
   13372   # Extract the first word of "$ac_prog", so it can be a program name with args.
   13373 set dummy $ac_prog; ac_word=$2
   13374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13375 printf %s "checking for $ac_word... " >&6; }
   13376 if test ${ac_cv_prog_ac_ct_AR+y}
   13377 then :
   13378   printf %s "(cached) " >&6
   13379 else case e in #(
   13380   e) if test -n "$ac_ct_AR"; then
   13381   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   13382 else
   13383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13384 for as_dir in $PATH
   13385 do
   13386   IFS=$as_save_IFS
   13387   case $as_dir in #(((
   13388     '') as_dir=./ ;;
   13389     */) ;;
   13390     *) as_dir=$as_dir/ ;;
   13391   esac
   13392     for ac_exec_ext in '' $ac_executable_extensions; do
   13393   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13394     ac_cv_prog_ac_ct_AR="$ac_prog"
   13395     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13396     break 2
   13397   fi
   13398 done
   13399   done
   13400 IFS=$as_save_IFS
   13401 
   13402 fi ;;
   13403 esac
   13404 fi
   13405 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   13406 if test -n "$ac_ct_AR"; then
   13407   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   13408 printf "%s\n" "$ac_ct_AR" >&6; }
   13409 else
   13410   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13411 printf "%s\n" "no" >&6; }
   13412 fi
   13413 
   13414 
   13415   test -n "$ac_ct_AR" && break
   13416 done
   13417 
   13418   if test "x$ac_ct_AR" = x; then
   13419     AR="false"
   13420   else
   13421     case $cross_compiling:$ac_tool_warned in
   13422 yes:)
   13423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13424 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13425 ac_tool_warned=yes ;;
   13426 esac
   13427     AR=$ac_ct_AR
   13428   fi
   13429 fi
   13430 
   13431 : ${AR=ar}
   13432 
   13433 
   13434 
   13435 
   13436 
   13437 
   13438 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   13439 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   13440 # higher priority because thats what people were doing historically (setting
   13441 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   13442 # variable obsoleted/removed.
   13443 
   13444 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   13445 lt_ar_flags=$AR_FLAGS
   13446 
   13447 
   13448 
   13449 
   13450 
   13451 
   13452 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   13453 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   13454 
   13455 
   13456 
   13457 
   13458 
   13459 
   13460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   13461 printf %s "checking for archiver @FILE support... " >&6; }
   13462 if test ${lt_cv_ar_at_file+y}
   13463 then :
   13464   printf %s "(cached) " >&6
   13465 else case e in #(
   13466   e) lt_cv_ar_at_file=no
   13467    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13468 /* end confdefs.h.  */
   13469 
   13470 int
   13471 main (void)
   13472 {
   13473 
   13474   ;
   13475   return 0;
   13476 }
   13477 _ACEOF
   13478 if ac_fn_c_try_compile "$LINENO"
   13479 then :
   13480   echo conftest.$ac_objext > conftest.lst
   13481       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   13482       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   13483   (eval $lt_ar_try) 2>&5
   13484   ac_status=$?
   13485   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13486   test $ac_status = 0; }
   13487       if test 0 -eq "$ac_status"; then
   13488 	# Ensure the archiver fails upon bogus file names.
   13489 	rm -f conftest.$ac_objext libconftest.a
   13490 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   13491   (eval $lt_ar_try) 2>&5
   13492   ac_status=$?
   13493   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13494   test $ac_status = 0; }
   13495 	if test 0 -ne "$ac_status"; then
   13496           lt_cv_ar_at_file=@
   13497         fi
   13498       fi
   13499       rm -f conftest.* libconftest.a
   13500 
   13501 fi
   13502 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13503    ;;
   13504 esac
   13505 fi
   13506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   13507 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   13508 
   13509 if test no = "$lt_cv_ar_at_file"; then
   13510   archiver_list_spec=
   13511 else
   13512   archiver_list_spec=$lt_cv_ar_at_file
   13513 fi
   13514 
   13515 
   13516 
   13517 
   13518 
   13519 
   13520 
   13521 if test -n "$ac_tool_prefix"; then
   13522   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   13523 set dummy ${ac_tool_prefix}strip; ac_word=$2
   13524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13525 printf %s "checking for $ac_word... " >&6; }
   13526 if test ${ac_cv_prog_STRIP+y}
   13527 then :
   13528   printf %s "(cached) " >&6
   13529 else case e in #(
   13530   e) if test -n "$STRIP"; then
   13531   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   13532 else
   13533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13534 for as_dir in $PATH
   13535 do
   13536   IFS=$as_save_IFS
   13537   case $as_dir in #(((
   13538     '') as_dir=./ ;;
   13539     */) ;;
   13540     *) as_dir=$as_dir/ ;;
   13541   esac
   13542     for ac_exec_ext in '' $ac_executable_extensions; do
   13543   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13544     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   13545     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13546     break 2
   13547   fi
   13548 done
   13549   done
   13550 IFS=$as_save_IFS
   13551 
   13552 fi ;;
   13553 esac
   13554 fi
   13555 STRIP=$ac_cv_prog_STRIP
   13556 if test -n "$STRIP"; then
   13557   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   13558 printf "%s\n" "$STRIP" >&6; }
   13559 else
   13560   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13561 printf "%s\n" "no" >&6; }
   13562 fi
   13563 
   13564 
   13565 fi
   13566 if test -z "$ac_cv_prog_STRIP"; then
   13567   ac_ct_STRIP=$STRIP
   13568   # Extract the first word of "strip", so it can be a program name with args.
   13569 set dummy strip; ac_word=$2
   13570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13571 printf %s "checking for $ac_word... " >&6; }
   13572 if test ${ac_cv_prog_ac_ct_STRIP+y}
   13573 then :
   13574   printf %s "(cached) " >&6
   13575 else case e in #(
   13576   e) if test -n "$ac_ct_STRIP"; then
   13577   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   13578 else
   13579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13580 for as_dir in $PATH
   13581 do
   13582   IFS=$as_save_IFS
   13583   case $as_dir in #(((
   13584     '') as_dir=./ ;;
   13585     */) ;;
   13586     *) as_dir=$as_dir/ ;;
   13587   esac
   13588     for ac_exec_ext in '' $ac_executable_extensions; do
   13589   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13590     ac_cv_prog_ac_ct_STRIP="strip"
   13591     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13592     break 2
   13593   fi
   13594 done
   13595   done
   13596 IFS=$as_save_IFS
   13597 
   13598 fi ;;
   13599 esac
   13600 fi
   13601 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   13602 if test -n "$ac_ct_STRIP"; then
   13603   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   13604 printf "%s\n" "$ac_ct_STRIP" >&6; }
   13605 else
   13606   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13607 printf "%s\n" "no" >&6; }
   13608 fi
   13609 
   13610   if test "x$ac_ct_STRIP" = x; then
   13611     STRIP=":"
   13612   else
   13613     case $cross_compiling:$ac_tool_warned in
   13614 yes:)
   13615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13616 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13617 ac_tool_warned=yes ;;
   13618 esac
   13619     STRIP=$ac_ct_STRIP
   13620   fi
   13621 else
   13622   STRIP="$ac_cv_prog_STRIP"
   13623 fi
   13624 
   13625 test -z "$STRIP" && STRIP=:
   13626 
   13627 
   13628 
   13629 
   13630 
   13631 
   13632 if test -n "$ac_tool_prefix"; then
   13633   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   13634 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   13635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13636 printf %s "checking for $ac_word... " >&6; }
   13637 if test ${ac_cv_prog_RANLIB+y}
   13638 then :
   13639   printf %s "(cached) " >&6
   13640 else case e in #(
   13641   e) if test -n "$RANLIB"; then
   13642   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   13643 else
   13644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13645 for as_dir in $PATH
   13646 do
   13647   IFS=$as_save_IFS
   13648   case $as_dir in #(((
   13649     '') as_dir=./ ;;
   13650     */) ;;
   13651     *) as_dir=$as_dir/ ;;
   13652   esac
   13653     for ac_exec_ext in '' $ac_executable_extensions; do
   13654   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13655     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   13656     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13657     break 2
   13658   fi
   13659 done
   13660   done
   13661 IFS=$as_save_IFS
   13662 
   13663 fi ;;
   13664 esac
   13665 fi
   13666 RANLIB=$ac_cv_prog_RANLIB
   13667 if test -n "$RANLIB"; then
   13668   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   13669 printf "%s\n" "$RANLIB" >&6; }
   13670 else
   13671   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13672 printf "%s\n" "no" >&6; }
   13673 fi
   13674 
   13675 
   13676 fi
   13677 if test -z "$ac_cv_prog_RANLIB"; then
   13678   ac_ct_RANLIB=$RANLIB
   13679   # Extract the first word of "ranlib", so it can be a program name with args.
   13680 set dummy ranlib; ac_word=$2
   13681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13682 printf %s "checking for $ac_word... " >&6; }
   13683 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   13684 then :
   13685   printf %s "(cached) " >&6
   13686 else case e in #(
   13687   e) if test -n "$ac_ct_RANLIB"; then
   13688   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   13689 else
   13690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13691 for as_dir in $PATH
   13692 do
   13693   IFS=$as_save_IFS
   13694   case $as_dir in #(((
   13695     '') as_dir=./ ;;
   13696     */) ;;
   13697     *) as_dir=$as_dir/ ;;
   13698   esac
   13699     for ac_exec_ext in '' $ac_executable_extensions; do
   13700   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13701     ac_cv_prog_ac_ct_RANLIB="ranlib"
   13702     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13703     break 2
   13704   fi
   13705 done
   13706   done
   13707 IFS=$as_save_IFS
   13708 
   13709 fi ;;
   13710 esac
   13711 fi
   13712 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   13713 if test -n "$ac_ct_RANLIB"; then
   13714   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   13715 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   13716 else
   13717   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13718 printf "%s\n" "no" >&6; }
   13719 fi
   13720 
   13721   if test "x$ac_ct_RANLIB" = x; then
   13722     RANLIB=":"
   13723   else
   13724     case $cross_compiling:$ac_tool_warned in
   13725 yes:)
   13726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13727 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13728 ac_tool_warned=yes ;;
   13729 esac
   13730     RANLIB=$ac_ct_RANLIB
   13731   fi
   13732 else
   13733   RANLIB="$ac_cv_prog_RANLIB"
   13734 fi
   13735 
   13736 test -z "$RANLIB" && RANLIB=:
   13737 
   13738 
   13739 
   13740 
   13741 
   13742 
   13743 # Determine commands to create old-style static archives.
   13744 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   13745 old_postinstall_cmds='chmod 644 $oldlib'
   13746 old_postuninstall_cmds=
   13747 
   13748 if test -n "$RANLIB"; then
   13749   case $host_os in
   13750   bitrig* | openbsd*)
   13751     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   13752     ;;
   13753   *)
   13754     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   13755     ;;
   13756   esac
   13757   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   13758 fi
   13759 
   13760 case $host_os in
   13761   darwin*)
   13762     lock_old_archive_extraction=yes ;;
   13763   *)
   13764     lock_old_archive_extraction=no ;;
   13765 esac
   13766 
   13767 
   13768 
   13769 
   13770 
   13771 
   13772 
   13773 
   13774 
   13775 
   13776 
   13777 
   13778 
   13779 
   13780 
   13781 
   13782 
   13783 
   13784 
   13785 
   13786 
   13787 
   13788 
   13789 
   13790 
   13791 
   13792 
   13793 
   13794 
   13795 
   13796 
   13797 
   13798 
   13799 
   13800 
   13801 
   13802 
   13803 
   13804 
   13805 # If no C compiler was specified, use CC.
   13806 LTCC=${LTCC-"$CC"}
   13807 
   13808 # If no C compiler flags were specified, use CFLAGS.
   13809 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   13810 
   13811 # Allow CC to be a program name with arguments.
   13812 compiler=$CC
   13813 
   13814 
   13815 # Check for command to grab the raw symbol name followed by C symbol from nm.
   13816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   13817 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   13818 if test ${lt_cv_sys_global_symbol_pipe+y}
   13819 then :
   13820   printf %s "(cached) " >&6
   13821 else case e in #(
   13822   e)
   13823 # These are sane defaults that work on at least a few old systems.
   13824 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   13825 
   13826 # Character class describing NM global symbol codes.
   13827 symcode='[BCDEGRST]'
   13828 
   13829 # Regexp to match symbols that can be accessed directly from C.
   13830 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   13831 
   13832 # Define system-specific variables.
   13833 case $host_os in
   13834 aix*)
   13835   symcode='[BCDT]'
   13836   ;;
   13837 cygwin* | mingw* | pw32* | cegcc*)
   13838   symcode='[ABCDGISTW]'
   13839   ;;
   13840 hpux*)
   13841   if test ia64 = "$host_cpu"; then
   13842     symcode='[ABCDEGRST]'
   13843   fi
   13844   ;;
   13845 irix* | nonstopux*)
   13846   symcode='[BCDEGRST]'
   13847   ;;
   13848 osf*)
   13849   symcode='[BCDEGQRST]'
   13850   ;;
   13851 solaris*)
   13852   symcode='[BDRT]'
   13853   ;;
   13854 sco3.2v5*)
   13855   symcode='[DT]'
   13856   ;;
   13857 sysv4.2uw2*)
   13858   symcode='[DT]'
   13859   ;;
   13860 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   13861   symcode='[ABDT]'
   13862   ;;
   13863 sysv4)
   13864   symcode='[DFNSTU]'
   13865   ;;
   13866 esac
   13867 
   13868 # If we're using GNU nm, then use its standard symbol codes.
   13869 case `$NM -V 2>&1` in
   13870 *GNU* | *'with BFD'*)
   13871   symcode='[ABCDGIRSTW]' ;;
   13872 esac
   13873 
   13874 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   13875   # Gets list of data symbols to import.
   13876   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   13877   # Adjust the below global symbol transforms to fixup imported variables.
   13878   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   13879   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   13880   lt_c_name_lib_hook="\
   13881   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   13882   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   13883 else
   13884   # Disable hooks by default.
   13885   lt_cv_sys_global_symbol_to_import=
   13886   lt_cdecl_hook=
   13887   lt_c_name_hook=
   13888   lt_c_name_lib_hook=
   13889 fi
   13890 
   13891 # Transform an extracted symbol line into a proper C declaration.
   13892 # Some systems (esp. on ia64) link data and code symbols differently,
   13893 # so use this general approach.
   13894 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   13895 $lt_cdecl_hook\
   13896 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   13897 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   13898 
   13899 # Transform an extracted symbol line into symbol name and symbol address
   13900 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   13901 $lt_c_name_hook\
   13902 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   13903 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   13904 
   13905 # Transform an extracted symbol line into symbol name with lib prefix and
   13906 # symbol address.
   13907 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   13908 $lt_c_name_lib_hook\
   13909 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   13910 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   13911 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   13912 
   13913 # Handle CRLF in mingw tool chain
   13914 opt_cr=
   13915 case $build_os in
   13916 mingw*)
   13917   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   13918   ;;
   13919 esac
   13920 
   13921 # Try without a prefix underscore, then with it.
   13922 for ac_symprfx in "" "_"; do
   13923 
   13924   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   13925   symxfrm="\\1 $ac_symprfx\\2 \\2"
   13926 
   13927   # Write the raw and C identifiers.
   13928   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   13929     # Fake it for dumpbin and say T for any non-static function,
   13930     # D for any global variable and I for any imported variable.
   13931     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   13932     # which start with @ or ?.
   13933     lt_cv_sys_global_symbol_pipe="$AWK '"\
   13934 "     {last_section=section; section=\$ 3};"\
   13935 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   13936 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   13937 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   13938 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   13939 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   13940 "     \$ 0!~/External *\|/{next};"\
   13941 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   13942 "     {if(hide[section]) next};"\
   13943 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   13944 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   13945 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   13946 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   13947 "     ' prfx=^$ac_symprfx"
   13948   else
   13949     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   13950   fi
   13951   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   13952 
   13953   # Check to see that the pipe works correctly.
   13954   pipe_works=no
   13955 
   13956   rm -f conftest*
   13957   cat > conftest.$ac_ext <<_LT_EOF
   13958 #ifdef __cplusplus
   13959 extern "C" {
   13960 #endif
   13961 char nm_test_var;
   13962 void nm_test_func(void);
   13963 void nm_test_func(void){}
   13964 #ifdef __cplusplus
   13965 }
   13966 #endif
   13967 int main(){nm_test_var='a';nm_test_func();return(0);}
   13968 _LT_EOF
   13969 
   13970   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13971   (eval $ac_compile) 2>&5
   13972   ac_status=$?
   13973   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13974   test $ac_status = 0; }; then
   13975     # Now try to grab the symbols.
   13976     nlist=conftest.nm
   13977     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   13978   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   13979   ac_status=$?
   13980   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13981   test $ac_status = 0; } && test -s "$nlist"; then
   13982       # Try sorting and uniquifying the output.
   13983       if sort "$nlist" | uniq > "$nlist"T; then
   13984 	mv -f "$nlist"T "$nlist"
   13985       else
   13986 	rm -f "$nlist"T
   13987       fi
   13988 
   13989       # Make sure that we snagged all the symbols we need.
   13990       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   13991 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   13992 	  cat <<_LT_EOF > conftest.$ac_ext
   13993 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   13994 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   13995 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   13996    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   13997 # define LT_DLSYM_CONST
   13998 #elif defined __osf__
   13999 /* This system does not cope well with relocations in const data.  */
   14000 # define LT_DLSYM_CONST
   14001 #else
   14002 # define LT_DLSYM_CONST const
   14003 #endif
   14004 
   14005 #ifdef __cplusplus
   14006 extern "C" {
   14007 #endif
   14008 
   14009 _LT_EOF
   14010 	  # Now generate the symbol file.
   14011 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   14012 
   14013 	  cat <<_LT_EOF >> conftest.$ac_ext
   14014 
   14015 /* The mapping between symbol names and symbols.  */
   14016 LT_DLSYM_CONST struct {
   14017   const char *name;
   14018   void       *address;
   14019 }
   14020 lt__PROGRAM__LTX_preloaded_symbols[] =
   14021 {
   14022   { "@PROGRAM@", (void *) 0 },
   14023 _LT_EOF
   14024 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   14025 	  cat <<\_LT_EOF >> conftest.$ac_ext
   14026   {0, (void *) 0}
   14027 };
   14028 
   14029 /* This works around a problem in FreeBSD linker */
   14030 #ifdef FREEBSD_WORKAROUND
   14031 static const void *lt_preloaded_setup() {
   14032   return lt__PROGRAM__LTX_preloaded_symbols;
   14033 }
   14034 #endif
   14035 
   14036 #ifdef __cplusplus
   14037 }
   14038 #endif
   14039 _LT_EOF
   14040 	  # Now try linking the two files.
   14041 	  mv conftest.$ac_objext conftstm.$ac_objext
   14042 	  lt_globsym_save_LIBS=$LIBS
   14043 	  lt_globsym_save_CFLAGS=$CFLAGS
   14044 	  LIBS=conftstm.$ac_objext
   14045 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   14046 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   14047   (eval $ac_link) 2>&5
   14048   ac_status=$?
   14049   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14050   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   14051 	    pipe_works=yes
   14052 	  fi
   14053 	  LIBS=$lt_globsym_save_LIBS
   14054 	  CFLAGS=$lt_globsym_save_CFLAGS
   14055 	else
   14056 	  echo "cannot find nm_test_func in $nlist" >&5
   14057 	fi
   14058       else
   14059 	echo "cannot find nm_test_var in $nlist" >&5
   14060       fi
   14061     else
   14062       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   14063     fi
   14064   else
   14065     echo "$progname: failed program was:" >&5
   14066     cat conftest.$ac_ext >&5
   14067   fi
   14068   rm -rf conftest* conftst*
   14069 
   14070   # Do not use the global_symbol_pipe unless it works.
   14071   if test yes = "$pipe_works"; then
   14072     break
   14073   else
   14074     lt_cv_sys_global_symbol_pipe=
   14075   fi
   14076 done
   14077  ;;
   14078 esac
   14079 fi
   14080 
   14081 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   14082   lt_cv_sys_global_symbol_to_cdecl=
   14083 fi
   14084 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   14085   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   14086 printf "%s\n" "failed" >&6; }
   14087 else
   14088   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   14089 printf "%s\n" "ok" >&6; }
   14090 fi
   14091 
   14092 # Response file support.
   14093 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   14094   nm_file_list_spec='@'
   14095 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   14096   nm_file_list_spec='@'
   14097 fi
   14098 
   14099 
   14100 
   14101 
   14102 
   14103 
   14104 
   14105 
   14106 
   14107 
   14108 
   14109 
   14110 
   14111 
   14112 
   14113 
   14114 
   14115 
   14116 
   14117 
   14118 
   14119 
   14120 
   14121 
   14122 
   14123 
   14124 
   14125 
   14126 
   14127 
   14128 
   14129 
   14130 
   14131 
   14132 
   14133 
   14134 
   14135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   14136 printf %s "checking for sysroot... " >&6; }
   14137 
   14138 # Check whether --with-sysroot was given.
   14139 if test ${with_sysroot+y}
   14140 then :
   14141   withval=$with_sysroot;
   14142 else case e in #(
   14143   e) with_sysroot=no ;;
   14144 esac
   14145 fi
   14146 
   14147 
   14148 lt_sysroot=
   14149 case $with_sysroot in #(
   14150  yes)
   14151    if test yes = "$GCC"; then
   14152      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   14153    fi
   14154    ;; #(
   14155  /*)
   14156    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   14157    ;; #(
   14158  no|'')
   14159    ;; #(
   14160  *)
   14161    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   14162 printf "%s\n" "$with_sysroot" >&6; }
   14163    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   14164    ;;
   14165 esac
   14166 
   14167  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   14168 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   14169 
   14170 
   14171 
   14172 
   14173 
   14174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   14175 printf %s "checking for a working dd... " >&6; }
   14176 if test ${ac_cv_path_lt_DD+y}
   14177 then :
   14178   printf %s "(cached) " >&6
   14179 else case e in #(
   14180   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   14181 cat conftest.i conftest.i >conftest2.i
   14182 : ${lt_DD:=$DD}
   14183 if test -z "$lt_DD"; then
   14184   ac_path_lt_DD_found=false
   14185   # Loop through the user's path and test for each of PROGNAME-LIST
   14186   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14187 for as_dir in $PATH
   14188 do
   14189   IFS=$as_save_IFS
   14190   case $as_dir in #(((
   14191     '') as_dir=./ ;;
   14192     */) ;;
   14193     *) as_dir=$as_dir/ ;;
   14194   esac
   14195     for ac_prog in dd
   14196    do
   14197     for ac_exec_ext in '' $ac_executable_extensions; do
   14198       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   14199       as_fn_executable_p "$ac_path_lt_DD" || continue
   14200 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   14201   cmp -s conftest.i conftest.out \
   14202   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   14203 fi
   14204       $ac_path_lt_DD_found && break 3
   14205     done
   14206   done
   14207   done
   14208 IFS=$as_save_IFS
   14209   if test -z "$ac_cv_path_lt_DD"; then
   14210     :
   14211   fi
   14212 else
   14213   ac_cv_path_lt_DD=$lt_DD
   14214 fi
   14215 
   14216 rm -f conftest.i conftest2.i conftest.out ;;
   14217 esac
   14218 fi
   14219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   14220 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   14221 
   14222 
   14223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   14224 printf %s "checking how to truncate binary pipes... " >&6; }
   14225 if test ${lt_cv_truncate_bin+y}
   14226 then :
   14227   printf %s "(cached) " >&6
   14228 else case e in #(
   14229   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   14230 cat conftest.i conftest.i >conftest2.i
   14231 lt_cv_truncate_bin=
   14232 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   14233   cmp -s conftest.i conftest.out \
   14234   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   14235 fi
   14236 rm -f conftest.i conftest2.i conftest.out
   14237 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
   14238 esac
   14239 fi
   14240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   14241 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   14242 
   14243 
   14244 
   14245 
   14246 
   14247 
   14248 
   14249 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   14250 func_cc_basename ()
   14251 {
   14252     for cc_temp in $*""; do
   14253       case $cc_temp in
   14254         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14255         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14256         \-*) ;;
   14257         *) break;;
   14258       esac
   14259     done
   14260     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   14261 }
   14262 
   14263 # Check whether --enable-libtool-lock was given.
   14264 if test ${enable_libtool_lock+y}
   14265 then :
   14266   enableval=$enable_libtool_lock;
   14267 fi
   14268 
   14269 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   14270 
   14271 # Some flags need to be propagated to the compiler or linker for good
   14272 # libtool support.
   14273 case $host in
   14274 ia64-*-hpux*)
   14275   # Find out what ABI is being produced by ac_compile, and set mode
   14276   # options accordingly.
   14277   echo 'int i;' > conftest.$ac_ext
   14278   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14279   (eval $ac_compile) 2>&5
   14280   ac_status=$?
   14281   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14282   test $ac_status = 0; }; then
   14283     case `$FILECMD conftest.$ac_objext` in
   14284       *ELF-32*)
   14285 	HPUX_IA64_MODE=32
   14286 	;;
   14287       *ELF-64*)
   14288 	HPUX_IA64_MODE=64
   14289 	;;
   14290     esac
   14291   fi
   14292   rm -rf conftest*
   14293   ;;
   14294 *-*-irix6*)
   14295   # Find out what ABI is being produced by ac_compile, and set linker
   14296   # options accordingly.
   14297   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   14298   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14299   (eval $ac_compile) 2>&5
   14300   ac_status=$?
   14301   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14302   test $ac_status = 0; }; then
   14303     if test yes = "$lt_cv_prog_gnu_ld"; then
   14304       case `$FILECMD conftest.$ac_objext` in
   14305 	*32-bit*)
   14306 	  LD="${LD-ld} -melf32bsmip"
   14307 	  ;;
   14308 	*N32*)
   14309 	  LD="${LD-ld} -melf32bmipn32"
   14310 	  ;;
   14311 	*64-bit*)
   14312 	  LD="${LD-ld} -melf64bmip"
   14313 	;;
   14314       esac
   14315     else
   14316       case `$FILECMD conftest.$ac_objext` in
   14317 	*32-bit*)
   14318 	  LD="${LD-ld} -32"
   14319 	  ;;
   14320 	*N32*)
   14321 	  LD="${LD-ld} -n32"
   14322 	  ;;
   14323 	*64-bit*)
   14324 	  LD="${LD-ld} -64"
   14325 	  ;;
   14326       esac
   14327     fi
   14328   fi
   14329   rm -rf conftest*
   14330   ;;
   14331 
   14332 mips64*-*linux*)
   14333   # Find out what ABI is being produced by ac_compile, and set linker
   14334   # options accordingly.
   14335   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   14336   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14337   (eval $ac_compile) 2>&5
   14338   ac_status=$?
   14339   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14340   test $ac_status = 0; }; then
   14341     emul=elf
   14342     case `$FILECMD conftest.$ac_objext` in
   14343       *32-bit*)
   14344 	emul="${emul}32"
   14345 	;;
   14346       *64-bit*)
   14347 	emul="${emul}64"
   14348 	;;
   14349     esac
   14350     case `$FILECMD conftest.$ac_objext` in
   14351       *MSB*)
   14352 	emul="${emul}btsmip"
   14353 	;;
   14354       *LSB*)
   14355 	emul="${emul}ltsmip"
   14356 	;;
   14357     esac
   14358     case `$FILECMD conftest.$ac_objext` in
   14359       *N32*)
   14360 	emul="${emul}n32"
   14361 	;;
   14362     esac
   14363     LD="${LD-ld} -m $emul"
   14364   fi
   14365   rm -rf conftest*
   14366   ;;
   14367 
   14368 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   14369 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   14370   # Find out what ABI is being produced by ac_compile, and set linker
   14371   # options accordingly.  Note that the listed cases only cover the
   14372   # situations where additional linker options are needed (such as when
   14373   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   14374   # vice versa); the common cases where no linker options are needed do
   14375   # not appear in the list.
   14376   echo 'int i;' > conftest.$ac_ext
   14377   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14378   (eval $ac_compile) 2>&5
   14379   ac_status=$?
   14380   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14381   test $ac_status = 0; }; then
   14382     case `$FILECMD conftest.o` in
   14383       *32-bit*)
   14384 	case $host in
   14385 	  x86_64-*kfreebsd*-gnu)
   14386 	    LD="${LD-ld} -m elf_i386_fbsd"
   14387 	    ;;
   14388 	  x86_64-*linux*)
   14389 	    case `$FILECMD conftest.o` in
   14390 	      *x86-64*)
   14391 		LD="${LD-ld} -m elf32_x86_64"
   14392 		;;
   14393 	      *)
   14394 		LD="${LD-ld} -m elf_i386"
   14395 		;;
   14396 	    esac
   14397 	    ;;
   14398 	  powerpc64le-*linux*)
   14399 	    LD="${LD-ld} -m elf32lppclinux"
   14400 	    ;;
   14401 	  powerpc64-*linux*)
   14402 	    LD="${LD-ld} -m elf32ppclinux"
   14403 	    ;;
   14404 	  s390x-*linux*)
   14405 	    LD="${LD-ld} -m elf_s390"
   14406 	    ;;
   14407 	  sparc64-*linux*)
   14408 	    LD="${LD-ld} -m elf32_sparc"
   14409 	    ;;
   14410 	esac
   14411 	;;
   14412       *64-bit*)
   14413 	case $host in
   14414 	  x86_64-*kfreebsd*-gnu)
   14415 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   14416 	    ;;
   14417 	  x86_64-*linux*)
   14418 	    LD="${LD-ld} -m elf_x86_64"
   14419 	    ;;
   14420 	  powerpcle-*linux*)
   14421 	    LD="${LD-ld} -m elf64lppc"
   14422 	    ;;
   14423 	  powerpc-*linux*)
   14424 	    LD="${LD-ld} -m elf64ppc"
   14425 	    ;;
   14426 	  s390*-*linux*|s390*-*tpf*)
   14427 	    LD="${LD-ld} -m elf64_s390"
   14428 	    ;;
   14429 	  sparc*-*linux*)
   14430 	    LD="${LD-ld} -m elf64_sparc"
   14431 	    ;;
   14432 	esac
   14433 	;;
   14434     esac
   14435   fi
   14436   rm -rf conftest*
   14437   ;;
   14438 
   14439 *-*-sco3.2v5*)
   14440   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   14441   SAVE_CFLAGS=$CFLAGS
   14442   CFLAGS="$CFLAGS -belf"
   14443   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   14444 printf %s "checking whether the C compiler needs -belf... " >&6; }
   14445 if test ${lt_cv_cc_needs_belf+y}
   14446 then :
   14447   printf %s "(cached) " >&6
   14448 else case e in #(
   14449   e) ac_ext=c
   14450 ac_cpp='$CPP $CPPFLAGS'
   14451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14454 
   14455      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14456 /* end confdefs.h.  */
   14457 
   14458 int
   14459 main (void)
   14460 {
   14461 
   14462   ;
   14463   return 0;
   14464 }
   14465 _ACEOF
   14466 if ac_fn_c_try_link "$LINENO"
   14467 then :
   14468   lt_cv_cc_needs_belf=yes
   14469 else case e in #(
   14470   e) lt_cv_cc_needs_belf=no ;;
   14471 esac
   14472 fi
   14473 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14474     conftest$ac_exeext conftest.$ac_ext
   14475      ac_ext=c
   14476 ac_cpp='$CPP $CPPFLAGS'
   14477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14480  ;;
   14481 esac
   14482 fi
   14483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   14484 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   14485   if test yes != "$lt_cv_cc_needs_belf"; then
   14486     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   14487     CFLAGS=$SAVE_CFLAGS
   14488   fi
   14489   ;;
   14490 *-*solaris*)
   14491   # Find out what ABI is being produced by ac_compile, and set linker
   14492   # options accordingly.
   14493   echo 'int i;' > conftest.$ac_ext
   14494   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14495   (eval $ac_compile) 2>&5
   14496   ac_status=$?
   14497   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14498   test $ac_status = 0; }; then
   14499     case `$FILECMD conftest.o` in
   14500     *64-bit*)
   14501       case $lt_cv_prog_gnu_ld in
   14502       yes*)
   14503         case $host in
   14504         i?86-*-solaris*|x86_64-*-solaris*)
   14505           LD="${LD-ld} -m elf_x86_64"
   14506           ;;
   14507         sparc*-*-solaris*)
   14508           LD="${LD-ld} -m elf64_sparc"
   14509           ;;
   14510         esac
   14511         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   14512         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   14513           LD=${LD-ld}_sol2
   14514         fi
   14515         ;;
   14516       *)
   14517 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   14518 	  LD="${LD-ld} -64"
   14519 	fi
   14520 	;;
   14521       esac
   14522       ;;
   14523     esac
   14524   fi
   14525   rm -rf conftest*
   14526   ;;
   14527 esac
   14528 
   14529 need_locks=$enable_libtool_lock
   14530 
   14531 if test -n "$ac_tool_prefix"; then
   14532   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   14533 set dummy ${ac_tool_prefix}mt; ac_word=$2
   14534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14535 printf %s "checking for $ac_word... " >&6; }
   14536 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   14537 then :
   14538   printf %s "(cached) " >&6
   14539 else case e in #(
   14540   e) if test -n "$MANIFEST_TOOL"; then
   14541   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   14542 else
   14543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14544 for as_dir in $PATH
   14545 do
   14546   IFS=$as_save_IFS
   14547   case $as_dir in #(((
   14548     '') as_dir=./ ;;
   14549     */) ;;
   14550     *) as_dir=$as_dir/ ;;
   14551   esac
   14552     for ac_exec_ext in '' $ac_executable_extensions; do
   14553   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14554     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   14555     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14556     break 2
   14557   fi
   14558 done
   14559   done
   14560 IFS=$as_save_IFS
   14561 
   14562 fi ;;
   14563 esac
   14564 fi
   14565 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   14566 if test -n "$MANIFEST_TOOL"; then
   14567   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   14568 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   14569 else
   14570   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14571 printf "%s\n" "no" >&6; }
   14572 fi
   14573 
   14574 
   14575 fi
   14576 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   14577   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   14578   # Extract the first word of "mt", so it can be a program name with args.
   14579 set dummy mt; ac_word=$2
   14580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14581 printf %s "checking for $ac_word... " >&6; }
   14582 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   14583 then :
   14584   printf %s "(cached) " >&6
   14585 else case e in #(
   14586   e) if test -n "$ac_ct_MANIFEST_TOOL"; then
   14587   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   14588 else
   14589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14590 for as_dir in $PATH
   14591 do
   14592   IFS=$as_save_IFS
   14593   case $as_dir in #(((
   14594     '') as_dir=./ ;;
   14595     */) ;;
   14596     *) as_dir=$as_dir/ ;;
   14597   esac
   14598     for ac_exec_ext in '' $ac_executable_extensions; do
   14599   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14600     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   14601     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14602     break 2
   14603   fi
   14604 done
   14605   done
   14606 IFS=$as_save_IFS
   14607 
   14608 fi ;;
   14609 esac
   14610 fi
   14611 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   14612 if test -n "$ac_ct_MANIFEST_TOOL"; then
   14613   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   14614 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   14615 else
   14616   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14617 printf "%s\n" "no" >&6; }
   14618 fi
   14619 
   14620   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   14621     MANIFEST_TOOL=":"
   14622   else
   14623     case $cross_compiling:$ac_tool_warned in
   14624 yes:)
   14625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14626 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14627 ac_tool_warned=yes ;;
   14628 esac
   14629     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   14630   fi
   14631 else
   14632   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   14633 fi
   14634 
   14635 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   14636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   14637 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   14638 if test ${lt_cv_path_mainfest_tool+y}
   14639 then :
   14640   printf %s "(cached) " >&6
   14641 else case e in #(
   14642   e) lt_cv_path_mainfest_tool=no
   14643   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   14644   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   14645   cat conftest.err >&5
   14646   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   14647     lt_cv_path_mainfest_tool=yes
   14648   fi
   14649   rm -f conftest* ;;
   14650 esac
   14651 fi
   14652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   14653 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
   14654 if test yes != "$lt_cv_path_mainfest_tool"; then
   14655   MANIFEST_TOOL=:
   14656 fi
   14657 
   14658 
   14659 
   14660 
   14661 
   14662 
   14663   case $host_os in
   14664     rhapsody* | darwin*)
   14665     if test -n "$ac_tool_prefix"; then
   14666   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   14667 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   14668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14669 printf %s "checking for $ac_word... " >&6; }
   14670 if test ${ac_cv_prog_DSYMUTIL+y}
   14671 then :
   14672   printf %s "(cached) " >&6
   14673 else case e in #(
   14674   e) if test -n "$DSYMUTIL"; then
   14675   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   14676 else
   14677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14678 for as_dir in $PATH
   14679 do
   14680   IFS=$as_save_IFS
   14681   case $as_dir in #(((
   14682     '') as_dir=./ ;;
   14683     */) ;;
   14684     *) as_dir=$as_dir/ ;;
   14685   esac
   14686     for ac_exec_ext in '' $ac_executable_extensions; do
   14687   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14688     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   14689     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14690     break 2
   14691   fi
   14692 done
   14693   done
   14694 IFS=$as_save_IFS
   14695 
   14696 fi ;;
   14697 esac
   14698 fi
   14699 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   14700 if test -n "$DSYMUTIL"; then
   14701   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   14702 printf "%s\n" "$DSYMUTIL" >&6; }
   14703 else
   14704   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14705 printf "%s\n" "no" >&6; }
   14706 fi
   14707 
   14708 
   14709 fi
   14710 if test -z "$ac_cv_prog_DSYMUTIL"; then
   14711   ac_ct_DSYMUTIL=$DSYMUTIL
   14712   # Extract the first word of "dsymutil", so it can be a program name with args.
   14713 set dummy dsymutil; ac_word=$2
   14714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14715 printf %s "checking for $ac_word... " >&6; }
   14716 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   14717 then :
   14718   printf %s "(cached) " >&6
   14719 else case e in #(
   14720   e) if test -n "$ac_ct_DSYMUTIL"; then
   14721   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   14722 else
   14723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14724 for as_dir in $PATH
   14725 do
   14726   IFS=$as_save_IFS
   14727   case $as_dir in #(((
   14728     '') as_dir=./ ;;
   14729     */) ;;
   14730     *) as_dir=$as_dir/ ;;
   14731   esac
   14732     for ac_exec_ext in '' $ac_executable_extensions; do
   14733   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14734     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   14735     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14736     break 2
   14737   fi
   14738 done
   14739   done
   14740 IFS=$as_save_IFS
   14741 
   14742 fi ;;
   14743 esac
   14744 fi
   14745 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   14746 if test -n "$ac_ct_DSYMUTIL"; then
   14747   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   14748 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   14749 else
   14750   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14751 printf "%s\n" "no" >&6; }
   14752 fi
   14753 
   14754   if test "x$ac_ct_DSYMUTIL" = x; then
   14755     DSYMUTIL=":"
   14756   else
   14757     case $cross_compiling:$ac_tool_warned in
   14758 yes:)
   14759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14760 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14761 ac_tool_warned=yes ;;
   14762 esac
   14763     DSYMUTIL=$ac_ct_DSYMUTIL
   14764   fi
   14765 else
   14766   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   14767 fi
   14768 
   14769     if test -n "$ac_tool_prefix"; then
   14770   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   14771 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   14772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14773 printf %s "checking for $ac_word... " >&6; }
   14774 if test ${ac_cv_prog_NMEDIT+y}
   14775 then :
   14776   printf %s "(cached) " >&6
   14777 else case e in #(
   14778   e) if test -n "$NMEDIT"; then
   14779   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   14780 else
   14781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14782 for as_dir in $PATH
   14783 do
   14784   IFS=$as_save_IFS
   14785   case $as_dir in #(((
   14786     '') as_dir=./ ;;
   14787     */) ;;
   14788     *) as_dir=$as_dir/ ;;
   14789   esac
   14790     for ac_exec_ext in '' $ac_executable_extensions; do
   14791   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14792     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   14793     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14794     break 2
   14795   fi
   14796 done
   14797   done
   14798 IFS=$as_save_IFS
   14799 
   14800 fi ;;
   14801 esac
   14802 fi
   14803 NMEDIT=$ac_cv_prog_NMEDIT
   14804 if test -n "$NMEDIT"; then
   14805   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   14806 printf "%s\n" "$NMEDIT" >&6; }
   14807 else
   14808   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14809 printf "%s\n" "no" >&6; }
   14810 fi
   14811 
   14812 
   14813 fi
   14814 if test -z "$ac_cv_prog_NMEDIT"; then
   14815   ac_ct_NMEDIT=$NMEDIT
   14816   # Extract the first word of "nmedit", so it can be a program name with args.
   14817 set dummy nmedit; ac_word=$2
   14818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14819 printf %s "checking for $ac_word... " >&6; }
   14820 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   14821 then :
   14822   printf %s "(cached) " >&6
   14823 else case e in #(
   14824   e) if test -n "$ac_ct_NMEDIT"; then
   14825   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   14826 else
   14827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14828 for as_dir in $PATH
   14829 do
   14830   IFS=$as_save_IFS
   14831   case $as_dir in #(((
   14832     '') as_dir=./ ;;
   14833     */) ;;
   14834     *) as_dir=$as_dir/ ;;
   14835   esac
   14836     for ac_exec_ext in '' $ac_executable_extensions; do
   14837   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14838     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   14839     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14840     break 2
   14841   fi
   14842 done
   14843   done
   14844 IFS=$as_save_IFS
   14845 
   14846 fi ;;
   14847 esac
   14848 fi
   14849 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   14850 if test -n "$ac_ct_NMEDIT"; then
   14851   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   14852 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   14853 else
   14854   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14855 printf "%s\n" "no" >&6; }
   14856 fi
   14857 
   14858   if test "x$ac_ct_NMEDIT" = x; then
   14859     NMEDIT=":"
   14860   else
   14861     case $cross_compiling:$ac_tool_warned in
   14862 yes:)
   14863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14864 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14865 ac_tool_warned=yes ;;
   14866 esac
   14867     NMEDIT=$ac_ct_NMEDIT
   14868   fi
   14869 else
   14870   NMEDIT="$ac_cv_prog_NMEDIT"
   14871 fi
   14872 
   14873     if test -n "$ac_tool_prefix"; then
   14874   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   14875 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   14876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14877 printf %s "checking for $ac_word... " >&6; }
   14878 if test ${ac_cv_prog_LIPO+y}
   14879 then :
   14880   printf %s "(cached) " >&6
   14881 else case e in #(
   14882   e) if test -n "$LIPO"; then
   14883   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   14884 else
   14885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14886 for as_dir in $PATH
   14887 do
   14888   IFS=$as_save_IFS
   14889   case $as_dir in #(((
   14890     '') as_dir=./ ;;
   14891     */) ;;
   14892     *) as_dir=$as_dir/ ;;
   14893   esac
   14894     for ac_exec_ext in '' $ac_executable_extensions; do
   14895   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14896     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   14897     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14898     break 2
   14899   fi
   14900 done
   14901   done
   14902 IFS=$as_save_IFS
   14903 
   14904 fi ;;
   14905 esac
   14906 fi
   14907 LIPO=$ac_cv_prog_LIPO
   14908 if test -n "$LIPO"; then
   14909   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   14910 printf "%s\n" "$LIPO" >&6; }
   14911 else
   14912   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14913 printf "%s\n" "no" >&6; }
   14914 fi
   14915 
   14916 
   14917 fi
   14918 if test -z "$ac_cv_prog_LIPO"; then
   14919   ac_ct_LIPO=$LIPO
   14920   # Extract the first word of "lipo", so it can be a program name with args.
   14921 set dummy lipo; ac_word=$2
   14922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14923 printf %s "checking for $ac_word... " >&6; }
   14924 if test ${ac_cv_prog_ac_ct_LIPO+y}
   14925 then :
   14926   printf %s "(cached) " >&6
   14927 else case e in #(
   14928   e) if test -n "$ac_ct_LIPO"; then
   14929   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   14930 else
   14931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14932 for as_dir in $PATH
   14933 do
   14934   IFS=$as_save_IFS
   14935   case $as_dir in #(((
   14936     '') as_dir=./ ;;
   14937     */) ;;
   14938     *) as_dir=$as_dir/ ;;
   14939   esac
   14940     for ac_exec_ext in '' $ac_executable_extensions; do
   14941   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14942     ac_cv_prog_ac_ct_LIPO="lipo"
   14943     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14944     break 2
   14945   fi
   14946 done
   14947   done
   14948 IFS=$as_save_IFS
   14949 
   14950 fi ;;
   14951 esac
   14952 fi
   14953 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   14954 if test -n "$ac_ct_LIPO"; then
   14955   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   14956 printf "%s\n" "$ac_ct_LIPO" >&6; }
   14957 else
   14958   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14959 printf "%s\n" "no" >&6; }
   14960 fi
   14961 
   14962   if test "x$ac_ct_LIPO" = x; then
   14963     LIPO=":"
   14964   else
   14965     case $cross_compiling:$ac_tool_warned in
   14966 yes:)
   14967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14968 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14969 ac_tool_warned=yes ;;
   14970 esac
   14971     LIPO=$ac_ct_LIPO
   14972   fi
   14973 else
   14974   LIPO="$ac_cv_prog_LIPO"
   14975 fi
   14976 
   14977     if test -n "$ac_tool_prefix"; then
   14978   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   14979 set dummy ${ac_tool_prefix}otool; ac_word=$2
   14980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14981 printf %s "checking for $ac_word... " >&6; }
   14982 if test ${ac_cv_prog_OTOOL+y}
   14983 then :
   14984   printf %s "(cached) " >&6
   14985 else case e in #(
   14986   e) if test -n "$OTOOL"; then
   14987   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   14988 else
   14989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14990 for as_dir in $PATH
   14991 do
   14992   IFS=$as_save_IFS
   14993   case $as_dir in #(((
   14994     '') as_dir=./ ;;
   14995     */) ;;
   14996     *) as_dir=$as_dir/ ;;
   14997   esac
   14998     for ac_exec_ext in '' $ac_executable_extensions; do
   14999   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   15000     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   15001     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   15002     break 2
   15003   fi
   15004 done
   15005   done
   15006 IFS=$as_save_IFS
   15007 
   15008 fi ;;
   15009 esac
   15010 fi
   15011 OTOOL=$ac_cv_prog_OTOOL
   15012 if test -n "$OTOOL"; then
   15013   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   15014 printf "%s\n" "$OTOOL" >&6; }
   15015 else
   15016   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15017 printf "%s\n" "no" >&6; }
   15018 fi
   15019 
   15020 
   15021 fi
   15022 if test -z "$ac_cv_prog_OTOOL"; then
   15023   ac_ct_OTOOL=$OTOOL
   15024   # Extract the first word of "otool", so it can be a program name with args.
   15025 set dummy otool; ac_word=$2
   15026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15027 printf %s "checking for $ac_word... " >&6; }
   15028 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   15029 then :
   15030   printf %s "(cached) " >&6
   15031 else case e in #(
   15032   e) if test -n "$ac_ct_OTOOL"; then
   15033   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   15034 else
   15035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15036 for as_dir in $PATH
   15037 do
   15038   IFS=$as_save_IFS
   15039   case $as_dir in #(((
   15040     '') as_dir=./ ;;
   15041     */) ;;
   15042     *) as_dir=$as_dir/ ;;
   15043   esac
   15044     for ac_exec_ext in '' $ac_executable_extensions; do
   15045   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   15046     ac_cv_prog_ac_ct_OTOOL="otool"
   15047     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   15048     break 2
   15049   fi
   15050 done
   15051   done
   15052 IFS=$as_save_IFS
   15053 
   15054 fi ;;
   15055 esac
   15056 fi
   15057 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   15058 if test -n "$ac_ct_OTOOL"; then
   15059   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   15060 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   15061 else
   15062   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15063 printf "%s\n" "no" >&6; }
   15064 fi
   15065 
   15066   if test "x$ac_ct_OTOOL" = x; then
   15067     OTOOL=":"
   15068   else
   15069     case $cross_compiling:$ac_tool_warned in
   15070 yes:)
   15071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   15072 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   15073 ac_tool_warned=yes ;;
   15074 esac
   15075     OTOOL=$ac_ct_OTOOL
   15076   fi
   15077 else
   15078   OTOOL="$ac_cv_prog_OTOOL"
   15079 fi
   15080 
   15081     if test -n "$ac_tool_prefix"; then
   15082   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   15083 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   15084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15085 printf %s "checking for $ac_word... " >&6; }
   15086 if test ${ac_cv_prog_OTOOL64+y}
   15087 then :
   15088   printf %s "(cached) " >&6
   15089 else case e in #(
   15090   e) if test -n "$OTOOL64"; then
   15091   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   15092 else
   15093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15094 for as_dir in $PATH
   15095 do
   15096   IFS=$as_save_IFS
   15097   case $as_dir in #(((
   15098     '') as_dir=./ ;;
   15099     */) ;;
   15100     *) as_dir=$as_dir/ ;;
   15101   esac
   15102     for ac_exec_ext in '' $ac_executable_extensions; do
   15103   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   15104     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   15105     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   15106     break 2
   15107   fi
   15108 done
   15109   done
   15110 IFS=$as_save_IFS
   15111 
   15112 fi ;;
   15113 esac
   15114 fi
   15115 OTOOL64=$ac_cv_prog_OTOOL64
   15116 if test -n "$OTOOL64"; then
   15117   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   15118 printf "%s\n" "$OTOOL64" >&6; }
   15119 else
   15120   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15121 printf "%s\n" "no" >&6; }
   15122 fi
   15123 
   15124 
   15125 fi
   15126 if test -z "$ac_cv_prog_OTOOL64"; then
   15127   ac_ct_OTOOL64=$OTOOL64
   15128   # Extract the first word of "otool64", so it can be a program name with args.
   15129 set dummy otool64; ac_word=$2
   15130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15131 printf %s "checking for $ac_word... " >&6; }
   15132 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   15133 then :
   15134   printf %s "(cached) " >&6
   15135 else case e in #(
   15136   e) if test -n "$ac_ct_OTOOL64"; then
   15137   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   15138 else
   15139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15140 for as_dir in $PATH
   15141 do
   15142   IFS=$as_save_IFS
   15143   case $as_dir in #(((
   15144     '') as_dir=./ ;;
   15145     */) ;;
   15146     *) as_dir=$as_dir/ ;;
   15147   esac
   15148     for ac_exec_ext in '' $ac_executable_extensions; do
   15149   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   15150     ac_cv_prog_ac_ct_OTOOL64="otool64"
   15151     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   15152     break 2
   15153   fi
   15154 done
   15155   done
   15156 IFS=$as_save_IFS
   15157 
   15158 fi ;;
   15159 esac
   15160 fi
   15161 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   15162 if test -n "$ac_ct_OTOOL64"; then
   15163   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   15164 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   15165 else
   15166   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15167 printf "%s\n" "no" >&6; }
   15168 fi
   15169 
   15170   if test "x$ac_ct_OTOOL64" = x; then
   15171     OTOOL64=":"
   15172   else
   15173     case $cross_compiling:$ac_tool_warned in
   15174 yes:)
   15175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   15176 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   15177 ac_tool_warned=yes ;;
   15178 esac
   15179     OTOOL64=$ac_ct_OTOOL64
   15180   fi
   15181 else
   15182   OTOOL64="$ac_cv_prog_OTOOL64"
   15183 fi
   15184 
   15185 
   15186 
   15187 
   15188 
   15189 
   15190 
   15191 
   15192 
   15193 
   15194 
   15195 
   15196 
   15197 
   15198 
   15199 
   15200 
   15201 
   15202 
   15203 
   15204 
   15205 
   15206 
   15207 
   15208 
   15209 
   15210 
   15211     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   15212 printf %s "checking for -single_module linker flag... " >&6; }
   15213 if test ${lt_cv_apple_cc_single_mod+y}
   15214 then :
   15215   printf %s "(cached) " >&6
   15216 else case e in #(
   15217   e) lt_cv_apple_cc_single_mod=no
   15218       if test -z "$LT_MULTI_MODULE"; then
   15219 	# By default we will add the -single_module flag. You can override
   15220 	# by either setting the environment variable LT_MULTI_MODULE
   15221 	# non-empty at configure time, or by adding -multi_module to the
   15222 	# link flags.
   15223 	rm -rf libconftest.dylib*
   15224 	echo "int foo(void){return 1;}" > conftest.c
   15225 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   15226 -dynamiclib -Wl,-single_module conftest.c" >&5
   15227 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   15228 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   15229         _lt_result=$?
   15230 	# If there is a non-empty error log, and "single_module"
   15231 	# appears in it, assume the flag caused a linker warning
   15232         if test -s conftest.err && $GREP single_module conftest.err; then
   15233 	  cat conftest.err >&5
   15234 	# Otherwise, if the output was created with a 0 exit code from
   15235 	# the compiler, it worked.
   15236 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   15237 	  lt_cv_apple_cc_single_mod=yes
   15238 	else
   15239 	  cat conftest.err >&5
   15240 	fi
   15241 	rm -rf libconftest.dylib*
   15242 	rm -f conftest.*
   15243       fi ;;
   15244 esac
   15245 fi
   15246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   15247 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   15248 
   15249     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   15250 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   15251 if test ${lt_cv_ld_exported_symbols_list+y}
   15252 then :
   15253   printf %s "(cached) " >&6
   15254 else case e in #(
   15255   e) lt_cv_ld_exported_symbols_list=no
   15256       save_LDFLAGS=$LDFLAGS
   15257       echo "_main" > conftest.sym
   15258       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   15259       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15260 /* end confdefs.h.  */
   15261 
   15262 int
   15263 main (void)
   15264 {
   15265 
   15266   ;
   15267   return 0;
   15268 }
   15269 _ACEOF
   15270 if ac_fn_c_try_link "$LINENO"
   15271 then :
   15272   lt_cv_ld_exported_symbols_list=yes
   15273 else case e in #(
   15274   e) lt_cv_ld_exported_symbols_list=no ;;
   15275 esac
   15276 fi
   15277 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15278     conftest$ac_exeext conftest.$ac_ext
   15279 	LDFLAGS=$save_LDFLAGS
   15280      ;;
   15281 esac
   15282 fi
   15283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   15284 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   15285 
   15286     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   15287 printf %s "checking for -force_load linker flag... " >&6; }
   15288 if test ${lt_cv_ld_force_load+y}
   15289 then :
   15290   printf %s "(cached) " >&6
   15291 else case e in #(
   15292   e) lt_cv_ld_force_load=no
   15293       cat > conftest.c << _LT_EOF
   15294 int forced_loaded() { return 2;}
   15295 _LT_EOF
   15296       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   15297       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   15298       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   15299       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   15300       echo "$RANLIB libconftest.a" >&5
   15301       $RANLIB libconftest.a 2>&5
   15302       cat > conftest.c << _LT_EOF
   15303 int main() { return 0;}
   15304 _LT_EOF
   15305       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   15306       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   15307       _lt_result=$?
   15308       if test -s conftest.err && $GREP force_load conftest.err; then
   15309 	cat conftest.err >&5
   15310       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   15311 	lt_cv_ld_force_load=yes
   15312       else
   15313 	cat conftest.err >&5
   15314       fi
   15315         rm -f conftest.err libconftest.a conftest conftest.c
   15316         rm -rf conftest.dSYM
   15317      ;;
   15318 esac
   15319 fi
   15320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   15321 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   15322     case $host_os in
   15323     rhapsody* | darwin1.[012])
   15324       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   15325     darwin1.*)
   15326       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   15327     darwin*)
   15328       case $MACOSX_DEPLOYMENT_TARGET,$host in
   15329         10.[012],*|,*powerpc*-darwin[5-8]*)
   15330           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   15331         *)
   15332           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   15333       esac
   15334     ;;
   15335   esac
   15336     if test yes = "$lt_cv_apple_cc_single_mod"; then
   15337       _lt_dar_single_mod='$single_module'
   15338     fi
   15339     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   15340       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   15341     else
   15342       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   15343     fi
   15344     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   15345       _lt_dsymutil='~$DSYMUTIL $lib || :'
   15346     else
   15347       _lt_dsymutil=
   15348     fi
   15349     ;;
   15350   esac
   15351 
   15352 # func_munge_path_list VARIABLE PATH
   15353 # -----------------------------------
   15354 # VARIABLE is name of variable containing _space_ separated list of
   15355 # directories to be munged by the contents of PATH, which is string
   15356 # having a format:
   15357 # "DIR[:DIR]:"
   15358 #       string "DIR[ DIR]" will be prepended to VARIABLE
   15359 # ":DIR[:DIR]"
   15360 #       string "DIR[ DIR]" will be appended to VARIABLE
   15361 # "DIRP[:DIRP]::[DIRA:]DIRA"
   15362 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   15363 #       "DIRA[ DIRA]" will be appended to VARIABLE
   15364 # "DIR[:DIR]"
   15365 #       VARIABLE will be replaced by "DIR[ DIR]"
   15366 func_munge_path_list ()
   15367 {
   15368     case x$2 in
   15369     x)
   15370         ;;
   15371     *:)
   15372         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   15373         ;;
   15374     x:*)
   15375         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   15376         ;;
   15377     *::*)
   15378         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   15379         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   15380         ;;
   15381     *)
   15382         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   15383         ;;
   15384     esac
   15385 }
   15386 
   15387 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   15388 "
   15389 if test "x$ac_cv_header_dlfcn_h" = xyes
   15390 then :
   15391   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   15392 
   15393 fi
   15394 
   15395 
   15396 
   15397 
   15398 
   15399 # Set options
   15400 # Check whether --enable-static was given.
   15401 if test ${enable_static+y}
   15402 then :
   15403   enableval=$enable_static; p=${PACKAGE-default}
   15404     case $enableval in
   15405     yes) enable_static=yes ;;
   15406     no) enable_static=no ;;
   15407     *)
   15408      enable_static=no
   15409       # Look at the argument we got.  We use all the common list separators.
   15410       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15411       for pkg in $enableval; do
   15412 	IFS=$lt_save_ifs
   15413 	if test "X$pkg" = "X$p"; then
   15414 	  enable_static=yes
   15415 	fi
   15416       done
   15417       IFS=$lt_save_ifs
   15418       ;;
   15419     esac
   15420 else case e in #(
   15421   e) enable_static=no ;;
   15422 esac
   15423 fi
   15424 
   15425 
   15426 
   15427 
   15428 
   15429 
   15430 
   15431 
   15432 
   15433 
   15434         enable_dlopen=no
   15435 
   15436 
   15437   enable_win32_dll=no
   15438 
   15439 
   15440             # Check whether --enable-shared was given.
   15441 if test ${enable_shared+y}
   15442 then :
   15443   enableval=$enable_shared; p=${PACKAGE-default}
   15444     case $enableval in
   15445     yes) enable_shared=yes ;;
   15446     no) enable_shared=no ;;
   15447     *)
   15448       enable_shared=no
   15449       # Look at the argument we got.  We use all the common list separators.
   15450       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15451       for pkg in $enableval; do
   15452 	IFS=$lt_save_ifs
   15453 	if test "X$pkg" = "X$p"; then
   15454 	  enable_shared=yes
   15455 	fi
   15456       done
   15457       IFS=$lt_save_ifs
   15458       ;;
   15459     esac
   15460 else case e in #(
   15461   e) enable_shared=yes ;;
   15462 esac
   15463 fi
   15464 
   15465 
   15466 
   15467 
   15468 
   15469 
   15470 
   15471 
   15472 
   15473 
   15474 
   15475 # Check whether --with-pic was given.
   15476 if test ${with_pic+y}
   15477 then :
   15478   withval=$with_pic; lt_p=${PACKAGE-default}
   15479     case $withval in
   15480     yes|no) pic_mode=$withval ;;
   15481     *)
   15482       pic_mode=default
   15483       # Look at the argument we got.  We use all the common list separators.
   15484       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15485       for lt_pkg in $withval; do
   15486 	IFS=$lt_save_ifs
   15487 	if test "X$lt_pkg" = "X$lt_p"; then
   15488 	  pic_mode=yes
   15489 	fi
   15490       done
   15491       IFS=$lt_save_ifs
   15492       ;;
   15493     esac
   15494 else case e in #(
   15495   e) pic_mode=default ;;
   15496 esac
   15497 fi
   15498 
   15499 
   15500 
   15501 
   15502 
   15503 
   15504 
   15505 
   15506   # Check whether --enable-fast-install was given.
   15507 if test ${enable_fast_install+y}
   15508 then :
   15509   enableval=$enable_fast_install; p=${PACKAGE-default}
   15510     case $enableval in
   15511     yes) enable_fast_install=yes ;;
   15512     no) enable_fast_install=no ;;
   15513     *)
   15514       enable_fast_install=no
   15515       # Look at the argument we got.  We use all the common list separators.
   15516       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15517       for pkg in $enableval; do
   15518 	IFS=$lt_save_ifs
   15519 	if test "X$pkg" = "X$p"; then
   15520 	  enable_fast_install=yes
   15521 	fi
   15522       done
   15523       IFS=$lt_save_ifs
   15524       ;;
   15525     esac
   15526 else case e in #(
   15527   e) enable_fast_install=yes ;;
   15528 esac
   15529 fi
   15530 
   15531 
   15532 
   15533 
   15534 
   15535 
   15536 
   15537 
   15538   shared_archive_member_spec=
   15539 case $host,$enable_shared in
   15540 power*-*-aix[5-9]*,yes)
   15541   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   15542 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   15543 
   15544 # Check whether --with-aix-soname was given.
   15545 if test ${with_aix_soname+y}
   15546 then :
   15547   withval=$with_aix_soname; case $withval in
   15548     aix|svr4|both)
   15549       ;;
   15550     *)
   15551       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   15552       ;;
   15553     esac
   15554     lt_cv_with_aix_soname=$with_aix_soname
   15555 else case e in #(
   15556   e) if test ${lt_cv_with_aix_soname+y}
   15557 then :
   15558   printf %s "(cached) " >&6
   15559 else case e in #(
   15560   e) lt_cv_with_aix_soname=aix ;;
   15561 esac
   15562 fi
   15563 
   15564     with_aix_soname=$lt_cv_with_aix_soname ;;
   15565 esac
   15566 fi
   15567 
   15568   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   15569 printf "%s\n" "$with_aix_soname" >&6; }
   15570   if test aix != "$with_aix_soname"; then
   15571     # For the AIX way of multilib, we name the shared archive member
   15572     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   15573     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   15574     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   15575     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   15576     if test 64 = "${OBJECT_MODE-32}"; then
   15577       shared_archive_member_spec=shr_64
   15578     else
   15579       shared_archive_member_spec=shr
   15580     fi
   15581   fi
   15582   ;;
   15583 *)
   15584   with_aix_soname=aix
   15585   ;;
   15586 esac
   15587 
   15588 
   15589 
   15590 
   15591 
   15592 
   15593 
   15594 
   15595 
   15596 
   15597 # This can be used to rebuild libtool when needed
   15598 LIBTOOL_DEPS=$ltmain
   15599 
   15600 # Always use our own libtool.
   15601 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   15602 
   15603 
   15604 
   15605 
   15606 
   15607 
   15608 
   15609 
   15610 
   15611 
   15612 
   15613 
   15614 
   15615 
   15616 
   15617 
   15618 
   15619 
   15620 
   15621 
   15622 
   15623 
   15624 
   15625 
   15626 
   15627 
   15628 
   15629 
   15630 
   15631 
   15632 test -z "$LN_S" && LN_S="ln -s"
   15633 
   15634 
   15635 
   15636 
   15637 
   15638 
   15639 
   15640 
   15641 
   15642 
   15643 
   15644 
   15645 
   15646 
   15647 if test -n "${ZSH_VERSION+set}"; then
   15648    setopt NO_GLOB_SUBST
   15649 fi
   15650 
   15651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   15652 printf %s "checking for objdir... " >&6; }
   15653 if test ${lt_cv_objdir+y}
   15654 then :
   15655   printf %s "(cached) " >&6
   15656 else case e in #(
   15657   e) rm -f .libs 2>/dev/null
   15658 mkdir .libs 2>/dev/null
   15659 if test -d .libs; then
   15660   lt_cv_objdir=.libs
   15661 else
   15662   # MS-DOS does not allow filenames that begin with a dot.
   15663   lt_cv_objdir=_libs
   15664 fi
   15665 rmdir .libs 2>/dev/null ;;
   15666 esac
   15667 fi
   15668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   15669 printf "%s\n" "$lt_cv_objdir" >&6; }
   15670 objdir=$lt_cv_objdir
   15671 
   15672 
   15673 
   15674 
   15675 
   15676 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   15677 
   15678 
   15679 
   15680 
   15681 case $host_os in
   15682 aix3*)
   15683   # AIX sometimes has problems with the GCC collect2 program.  For some
   15684   # reason, if we set the COLLECT_NAMES environment variable, the problems
   15685   # vanish in a puff of smoke.
   15686   if test set != "${COLLECT_NAMES+set}"; then
   15687     COLLECT_NAMES=
   15688     export COLLECT_NAMES
   15689   fi
   15690   ;;
   15691 esac
   15692 
   15693 # Global variables:
   15694 ofile=libtool
   15695 can_build_shared=yes
   15696 
   15697 # All known linkers require a '.a' archive for static linking (except MSVC and
   15698 # ICC, which need '.lib').
   15699 libext=a
   15700 
   15701 with_gnu_ld=$lt_cv_prog_gnu_ld
   15702 
   15703 old_CC=$CC
   15704 old_CFLAGS=$CFLAGS
   15705 
   15706 # Set sane defaults for various variables
   15707 test -z "$CC" && CC=cc
   15708 test -z "$LTCC" && LTCC=$CC
   15709 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   15710 test -z "$LD" && LD=ld
   15711 test -z "$ac_objext" && ac_objext=o
   15712 
   15713 func_cc_basename $compiler
   15714 cc_basename=$func_cc_basename_result
   15715 
   15716 
   15717 # Only perform the check for file, if the check method requires it
   15718 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   15719 case $deplibs_check_method in
   15720 file_magic*)
   15721   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   15722     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   15723 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   15724 if test ${lt_cv_path_MAGIC_CMD+y}
   15725 then :
   15726   printf %s "(cached) " >&6
   15727 else case e in #(
   15728   e) case $MAGIC_CMD in
   15729 [\\/*] |  ?:[\\/]*)
   15730   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   15731   ;;
   15732 *)
   15733   lt_save_MAGIC_CMD=$MAGIC_CMD
   15734   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   15735   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   15736   for ac_dir in $ac_dummy; do
   15737     IFS=$lt_save_ifs
   15738     test -z "$ac_dir" && ac_dir=.
   15739     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   15740       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   15741       if test -n "$file_magic_test_file"; then
   15742 	case $deplibs_check_method in
   15743 	"file_magic "*)
   15744 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   15745 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15746 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   15747 	    $EGREP "$file_magic_regex" > /dev/null; then
   15748 	    :
   15749 	  else
   15750 	    cat <<_LT_EOF 1>&2
   15751 
   15752 *** Warning: the command libtool uses to detect shared libraries,
   15753 *** $file_magic_cmd, produces output that libtool cannot recognize.
   15754 *** The result is that libtool may fail to recognize shared libraries
   15755 *** as such.  This will affect the creation of libtool libraries that
   15756 *** depend on shared libraries, but programs linked with such libtool
   15757 *** libraries will work regardless of this problem.  Nevertheless, you
   15758 *** may want to report the problem to your system manager and/or to
   15759 *** bug-libtool@gnu.org
   15760 
   15761 _LT_EOF
   15762 	  fi ;;
   15763 	esac
   15764       fi
   15765       break
   15766     fi
   15767   done
   15768   IFS=$lt_save_ifs
   15769   MAGIC_CMD=$lt_save_MAGIC_CMD
   15770   ;;
   15771 esac ;;
   15772 esac
   15773 fi
   15774 
   15775 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15776 if test -n "$MAGIC_CMD"; then
   15777   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   15778 printf "%s\n" "$MAGIC_CMD" >&6; }
   15779 else
   15780   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15781 printf "%s\n" "no" >&6; }
   15782 fi
   15783 
   15784 
   15785 
   15786 
   15787 
   15788 if test -z "$lt_cv_path_MAGIC_CMD"; then
   15789   if test -n "$ac_tool_prefix"; then
   15790     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   15791 printf %s "checking for file... " >&6; }
   15792 if test ${lt_cv_path_MAGIC_CMD+y}
   15793 then :
   15794   printf %s "(cached) " >&6
   15795 else case e in #(
   15796   e) case $MAGIC_CMD in
   15797 [\\/*] |  ?:[\\/]*)
   15798   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   15799   ;;
   15800 *)
   15801   lt_save_MAGIC_CMD=$MAGIC_CMD
   15802   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   15803   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   15804   for ac_dir in $ac_dummy; do
   15805     IFS=$lt_save_ifs
   15806     test -z "$ac_dir" && ac_dir=.
   15807     if test -f "$ac_dir/file"; then
   15808       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   15809       if test -n "$file_magic_test_file"; then
   15810 	case $deplibs_check_method in
   15811 	"file_magic "*)
   15812 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   15813 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15814 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   15815 	    $EGREP "$file_magic_regex" > /dev/null; then
   15816 	    :
   15817 	  else
   15818 	    cat <<_LT_EOF 1>&2
   15819 
   15820 *** Warning: the command libtool uses to detect shared libraries,
   15821 *** $file_magic_cmd, produces output that libtool cannot recognize.
   15822 *** The result is that libtool may fail to recognize shared libraries
   15823 *** as such.  This will affect the creation of libtool libraries that
   15824 *** depend on shared libraries, but programs linked with such libtool
   15825 *** libraries will work regardless of this problem.  Nevertheless, you
   15826 *** may want to report the problem to your system manager and/or to
   15827 *** bug-libtool@gnu.org
   15828 
   15829 _LT_EOF
   15830 	  fi ;;
   15831 	esac
   15832       fi
   15833       break
   15834     fi
   15835   done
   15836   IFS=$lt_save_ifs
   15837   MAGIC_CMD=$lt_save_MAGIC_CMD
   15838   ;;
   15839 esac ;;
   15840 esac
   15841 fi
   15842 
   15843 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15844 if test -n "$MAGIC_CMD"; then
   15845   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   15846 printf "%s\n" "$MAGIC_CMD" >&6; }
   15847 else
   15848   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15849 printf "%s\n" "no" >&6; }
   15850 fi
   15851 
   15852 
   15853   else
   15854     MAGIC_CMD=:
   15855   fi
   15856 fi
   15857 
   15858   fi
   15859   ;;
   15860 esac
   15861 
   15862 # Use C for the default configuration in the libtool script
   15863 
   15864 lt_save_CC=$CC
   15865 ac_ext=c
   15866 ac_cpp='$CPP $CPPFLAGS'
   15867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15870 
   15871 
   15872 # Source file extension for C test sources.
   15873 ac_ext=c
   15874 
   15875 # Object file extension for compiled C test sources.
   15876 objext=o
   15877 objext=$objext
   15878 
   15879 # Code to be used in simple compile tests
   15880 lt_simple_compile_test_code="int some_variable = 0;"
   15881 
   15882 # Code to be used in simple link tests
   15883 lt_simple_link_test_code='int main(){return(0);}'
   15884 
   15885 
   15886 
   15887 
   15888 
   15889 
   15890 
   15891 # If no C compiler was specified, use CC.
   15892 LTCC=${LTCC-"$CC"}
   15893 
   15894 # If no C compiler flags were specified, use CFLAGS.
   15895 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   15896 
   15897 # Allow CC to be a program name with arguments.
   15898 compiler=$CC
   15899 
   15900 # Save the default compiler, since it gets overwritten when the other
   15901 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   15902 compiler_DEFAULT=$CC
   15903 
   15904 # save warnings/boilerplate of simple test code
   15905 ac_outfile=conftest.$ac_objext
   15906 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   15907 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   15908 _lt_compiler_boilerplate=`cat conftest.err`
   15909 $RM conftest*
   15910 
   15911 ac_outfile=conftest.$ac_objext
   15912 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   15913 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   15914 _lt_linker_boilerplate=`cat conftest.err`
   15915 $RM -r conftest*
   15916 
   15917 
   15918 if test -n "$compiler"; then
   15919 
   15920 lt_prog_compiler_no_builtin_flag=
   15921 
   15922 if test yes = "$GCC"; then
   15923   case $cc_basename in
   15924   nvcc*)
   15925     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   15926   *)
   15927     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   15928   esac
   15929 
   15930   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   15931 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   15932 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   15933 then :
   15934   printf %s "(cached) " >&6
   15935 else case e in #(
   15936   e) lt_cv_prog_compiler_rtti_exceptions=no
   15937    ac_outfile=conftest.$ac_objext
   15938    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15939    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   15940    # Insert the option either (1) after the last *FLAGS variable, or
   15941    # (2) before a word containing "conftest.", or (3) at the end.
   15942    # Note that $ac_compile itself does not contain backslashes and begins
   15943    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15944    # The option is referenced via a variable to avoid confusing sed.
   15945    lt_compile=`echo "$ac_compile" | $SED \
   15946    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15947    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15948    -e 's:$: $lt_compiler_flag:'`
   15949    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15950    (eval "$lt_compile" 2>conftest.err)
   15951    ac_status=$?
   15952    cat conftest.err >&5
   15953    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15954    if (exit $ac_status) && test -s "$ac_outfile"; then
   15955      # The compiler can only warn and ignore the option if not recognized
   15956      # So say no if there are warnings other than the usual output.
   15957      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   15958      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15959      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   15960        lt_cv_prog_compiler_rtti_exceptions=yes
   15961      fi
   15962    fi
   15963    $RM conftest*
   15964  ;;
   15965 esac
   15966 fi
   15967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   15968 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   15969 
   15970 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   15971     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   15972 else
   15973     :
   15974 fi
   15975 
   15976 fi
   15977 
   15978 
   15979 
   15980 
   15981 
   15982 
   15983   lt_prog_compiler_wl=
   15984 lt_prog_compiler_pic=
   15985 lt_prog_compiler_static=
   15986 
   15987 
   15988   if test yes = "$GCC"; then
   15989     lt_prog_compiler_wl='-Wl,'
   15990     lt_prog_compiler_static='-static'
   15991 
   15992     case $host_os in
   15993       aix*)
   15994       # All AIX code is PIC.
   15995       if test ia64 = "$host_cpu"; then
   15996 	# AIX 5 now supports IA64 processor
   15997 	lt_prog_compiler_static='-Bstatic'
   15998       fi
   15999       lt_prog_compiler_pic='-fPIC'
   16000       ;;
   16001 
   16002     amigaos*)
   16003       case $host_cpu in
   16004       powerpc)
   16005             # see comment about AmigaOS4 .so support
   16006             lt_prog_compiler_pic='-fPIC'
   16007         ;;
   16008       m68k)
   16009             # FIXME: we need at least 68020 code to build shared libraries, but
   16010             # adding the '-m68020' flag to GCC prevents building anything better,
   16011             # like '-m68040'.
   16012             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   16013         ;;
   16014       esac
   16015       ;;
   16016 
   16017     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   16018       # PIC is the default for these OSes.
   16019       ;;
   16020 
   16021     mingw* | cygwin* | pw32* | os2* | cegcc*)
   16022       # This hack is so that the source file can tell whether it is being
   16023       # built for inclusion in a dll (and should export symbols for example).
   16024       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   16025       # (--disable-auto-import) libraries
   16026       lt_prog_compiler_pic='-DDLL_EXPORT'
   16027       case $host_os in
   16028       os2*)
   16029 	lt_prog_compiler_static='$wl-static'
   16030 	;;
   16031       esac
   16032       ;;
   16033 
   16034     darwin* | rhapsody*)
   16035       # PIC is the default on this platform
   16036       # Common symbols not allowed in MH_DYLIB files
   16037       lt_prog_compiler_pic='-fno-common'
   16038       ;;
   16039 
   16040     haiku*)
   16041       # PIC is the default for Haiku.
   16042       # The "-static" flag exists, but is broken.
   16043       lt_prog_compiler_static=
   16044       ;;
   16045 
   16046     hpux*)
   16047       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   16048       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   16049       # sets the default TLS model and affects inlining.
   16050       case $host_cpu in
   16051       hppa*64*)
   16052 	# +Z the default
   16053 	;;
   16054       *)
   16055 	lt_prog_compiler_pic='-fPIC'
   16056 	;;
   16057       esac
   16058       ;;
   16059 
   16060     interix[3-9]*)
   16061       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   16062       # Instead, we relocate shared libraries at runtime.
   16063       ;;
   16064 
   16065     msdosdjgpp*)
   16066       # Just because we use GCC doesn't mean we suddenly get shared libraries
   16067       # on systems that don't support them.
   16068       lt_prog_compiler_can_build_shared=no
   16069       enable_shared=no
   16070       ;;
   16071 
   16072     *nto* | *qnx*)
   16073       # QNX uses GNU C++, but need to define -shared option too, otherwise
   16074       # it will coredump.
   16075       lt_prog_compiler_pic='-fPIC -shared'
   16076       ;;
   16077 
   16078     sysv4*MP*)
   16079       if test -d /usr/nec; then
   16080 	lt_prog_compiler_pic=-Kconform_pic
   16081       fi
   16082       ;;
   16083 
   16084     *)
   16085       lt_prog_compiler_pic='-fPIC'
   16086       ;;
   16087     esac
   16088 
   16089     case $cc_basename in
   16090     nvcc*) # Cuda Compiler Driver 2.2
   16091       lt_prog_compiler_wl='-Xlinker '
   16092       if test -n "$lt_prog_compiler_pic"; then
   16093         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   16094       fi
   16095       ;;
   16096     esac
   16097   else
   16098     # PORTME Check for flag to pass linker flags through the system compiler.
   16099     case $host_os in
   16100     aix*)
   16101       lt_prog_compiler_wl='-Wl,'
   16102       if test ia64 = "$host_cpu"; then
   16103 	# AIX 5 now supports IA64 processor
   16104 	lt_prog_compiler_static='-Bstatic'
   16105       else
   16106 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   16107       fi
   16108       ;;
   16109 
   16110     darwin* | rhapsody*)
   16111       # PIC is the default on this platform
   16112       # Common symbols not allowed in MH_DYLIB files
   16113       lt_prog_compiler_pic='-fno-common'
   16114       case $cc_basename in
   16115       nagfor*)
   16116         # NAG Fortran compiler
   16117         lt_prog_compiler_wl='-Wl,-Wl,,'
   16118         lt_prog_compiler_pic='-PIC'
   16119         lt_prog_compiler_static='-Bstatic'
   16120         ;;
   16121       esac
   16122       ;;
   16123 
   16124     mingw* | cygwin* | pw32* | os2* | cegcc*)
   16125       # This hack is so that the source file can tell whether it is being
   16126       # built for inclusion in a dll (and should export symbols for example).
   16127       lt_prog_compiler_pic='-DDLL_EXPORT'
   16128       case $host_os in
   16129       os2*)
   16130 	lt_prog_compiler_static='$wl-static'
   16131 	;;
   16132       esac
   16133       ;;
   16134 
   16135     hpux9* | hpux10* | hpux11*)
   16136       lt_prog_compiler_wl='-Wl,'
   16137       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16138       # not for PA HP-UX.
   16139       case $host_cpu in
   16140       hppa*64*|ia64*)
   16141 	# +Z the default
   16142 	;;
   16143       *)
   16144 	lt_prog_compiler_pic='+Z'
   16145 	;;
   16146       esac
   16147       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   16148       lt_prog_compiler_static='$wl-a ${wl}archive'
   16149       ;;
   16150 
   16151     irix5* | irix6* | nonstopux*)
   16152       lt_prog_compiler_wl='-Wl,'
   16153       # PIC (with -KPIC) is the default.
   16154       lt_prog_compiler_static='-non_shared'
   16155       ;;
   16156 
   16157     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   16158       case $cc_basename in
   16159       # old Intel for x86_64, which still supported -KPIC.
   16160       ecc*)
   16161 	lt_prog_compiler_wl='-Wl,'
   16162 	lt_prog_compiler_pic='-KPIC'
   16163 	lt_prog_compiler_static='-static'
   16164         ;;
   16165       # icc used to be incompatible with GCC.
   16166       # ICC 10 doesn't accept -KPIC any more.
   16167       icc* | ifort*)
   16168 	lt_prog_compiler_wl='-Wl,'
   16169 	lt_prog_compiler_pic='-fPIC'
   16170 	lt_prog_compiler_static='-static'
   16171         ;;
   16172       # Lahey Fortran 8.1.
   16173       lf95*)
   16174 	lt_prog_compiler_wl='-Wl,'
   16175 	lt_prog_compiler_pic='--shared'
   16176 	lt_prog_compiler_static='--static'
   16177 	;;
   16178       nagfor*)
   16179 	# NAG Fortran compiler
   16180 	lt_prog_compiler_wl='-Wl,-Wl,,'
   16181 	lt_prog_compiler_pic='-PIC'
   16182 	lt_prog_compiler_static='-Bstatic'
   16183 	;;
   16184       tcc*)
   16185 	# Fabrice Bellard et al's Tiny C Compiler
   16186 	lt_prog_compiler_wl='-Wl,'
   16187 	lt_prog_compiler_pic='-fPIC'
   16188 	lt_prog_compiler_static='-static'
   16189 	;;
   16190       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   16191         # Portland Group compilers (*not* the Pentium gcc compiler,
   16192 	# which looks to be a dead project)
   16193 	lt_prog_compiler_wl='-Wl,'
   16194 	lt_prog_compiler_pic='-fpic'
   16195 	lt_prog_compiler_static='-Bstatic'
   16196         ;;
   16197       ccc*)
   16198         lt_prog_compiler_wl='-Wl,'
   16199         # All Alpha code is PIC.
   16200         lt_prog_compiler_static='-non_shared'
   16201         ;;
   16202       xl* | bgxl* | bgf* | mpixl*)
   16203 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   16204 	lt_prog_compiler_wl='-Wl,'
   16205 	lt_prog_compiler_pic='-qpic'
   16206 	lt_prog_compiler_static='-qstaticlink'
   16207 	;;
   16208       *)
   16209 	case `$CC -V 2>&1 | $SED 5q` in
   16210 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   16211 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   16212 	  lt_prog_compiler_pic='-KPIC'
   16213 	  lt_prog_compiler_static='-Bstatic'
   16214 	  lt_prog_compiler_wl=''
   16215 	  ;;
   16216 	*Sun\ F* | *Sun*Fortran*)
   16217 	  lt_prog_compiler_pic='-KPIC'
   16218 	  lt_prog_compiler_static='-Bstatic'
   16219 	  lt_prog_compiler_wl='-Qoption ld '
   16220 	  ;;
   16221 	*Sun\ C*)
   16222 	  # Sun C 5.9
   16223 	  lt_prog_compiler_pic='-KPIC'
   16224 	  lt_prog_compiler_static='-Bstatic'
   16225 	  lt_prog_compiler_wl='-Wl,'
   16226 	  ;;
   16227         *Intel*\ [CF]*Compiler*)
   16228 	  lt_prog_compiler_wl='-Wl,'
   16229 	  lt_prog_compiler_pic='-fPIC'
   16230 	  lt_prog_compiler_static='-static'
   16231 	  ;;
   16232 	*Portland\ Group*)
   16233 	  lt_prog_compiler_wl='-Wl,'
   16234 	  lt_prog_compiler_pic='-fpic'
   16235 	  lt_prog_compiler_static='-Bstatic'
   16236 	  ;;
   16237 	esac
   16238 	;;
   16239       esac
   16240       ;;
   16241 
   16242     newsos6)
   16243       lt_prog_compiler_pic='-KPIC'
   16244       lt_prog_compiler_static='-Bstatic'
   16245       ;;
   16246 
   16247     *nto* | *qnx*)
   16248       # QNX uses GNU C++, but need to define -shared option too, otherwise
   16249       # it will coredump.
   16250       lt_prog_compiler_pic='-fPIC -shared'
   16251       ;;
   16252 
   16253     osf3* | osf4* | osf5*)
   16254       lt_prog_compiler_wl='-Wl,'
   16255       # All OSF/1 code is PIC.
   16256       lt_prog_compiler_static='-non_shared'
   16257       ;;
   16258 
   16259     rdos*)
   16260       lt_prog_compiler_static='-non_shared'
   16261       ;;
   16262 
   16263     solaris*)
   16264       lt_prog_compiler_pic='-KPIC'
   16265       lt_prog_compiler_static='-Bstatic'
   16266       case $cc_basename in
   16267       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   16268 	lt_prog_compiler_wl='-Qoption ld ';;
   16269       *)
   16270 	lt_prog_compiler_wl='-Wl,';;
   16271       esac
   16272       ;;
   16273 
   16274     sunos4*)
   16275       lt_prog_compiler_wl='-Qoption ld '
   16276       lt_prog_compiler_pic='-PIC'
   16277       lt_prog_compiler_static='-Bstatic'
   16278       ;;
   16279 
   16280     sysv4 | sysv4.2uw2* | sysv4.3*)
   16281       lt_prog_compiler_wl='-Wl,'
   16282       lt_prog_compiler_pic='-KPIC'
   16283       lt_prog_compiler_static='-Bstatic'
   16284       ;;
   16285 
   16286     sysv4*MP*)
   16287       if test -d /usr/nec; then
   16288 	lt_prog_compiler_pic='-Kconform_pic'
   16289 	lt_prog_compiler_static='-Bstatic'
   16290       fi
   16291       ;;
   16292 
   16293     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   16294       lt_prog_compiler_wl='-Wl,'
   16295       lt_prog_compiler_pic='-KPIC'
   16296       lt_prog_compiler_static='-Bstatic'
   16297       ;;
   16298 
   16299     unicos*)
   16300       lt_prog_compiler_wl='-Wl,'
   16301       lt_prog_compiler_can_build_shared=no
   16302       ;;
   16303 
   16304     uts4*)
   16305       lt_prog_compiler_pic='-pic'
   16306       lt_prog_compiler_static='-Bstatic'
   16307       ;;
   16308 
   16309     *)
   16310       lt_prog_compiler_can_build_shared=no
   16311       ;;
   16312     esac
   16313   fi
   16314 
   16315 case $host_os in
   16316   # For platforms that do not support PIC, -DPIC is meaningless:
   16317   *djgpp*)
   16318     lt_prog_compiler_pic=
   16319     ;;
   16320   *)
   16321     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   16322     ;;
   16323 esac
   16324 
   16325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   16326 printf %s "checking for $compiler option to produce PIC... " >&6; }
   16327 if test ${lt_cv_prog_compiler_pic+y}
   16328 then :
   16329   printf %s "(cached) " >&6
   16330 else case e in #(
   16331   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   16332 esac
   16333 fi
   16334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   16335 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   16336 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   16337 
   16338 #
   16339 # Check to make sure the PIC flag actually works.
   16340 #
   16341 if test -n "$lt_prog_compiler_pic"; then
   16342   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   16343 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   16344 if test ${lt_cv_prog_compiler_pic_works+y}
   16345 then :
   16346   printf %s "(cached) " >&6
   16347 else case e in #(
   16348   e) lt_cv_prog_compiler_pic_works=no
   16349    ac_outfile=conftest.$ac_objext
   16350    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16351    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   16352    # Insert the option either (1) after the last *FLAGS variable, or
   16353    # (2) before a word containing "conftest.", or (3) at the end.
   16354    # Note that $ac_compile itself does not contain backslashes and begins
   16355    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16356    # The option is referenced via a variable to avoid confusing sed.
   16357    lt_compile=`echo "$ac_compile" | $SED \
   16358    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16359    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16360    -e 's:$: $lt_compiler_flag:'`
   16361    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   16362    (eval "$lt_compile" 2>conftest.err)
   16363    ac_status=$?
   16364    cat conftest.err >&5
   16365    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16366    if (exit $ac_status) && test -s "$ac_outfile"; then
   16367      # The compiler can only warn and ignore the option if not recognized
   16368      # So say no if there are warnings other than the usual output.
   16369      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   16370      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16371      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16372        lt_cv_prog_compiler_pic_works=yes
   16373      fi
   16374    fi
   16375    $RM conftest*
   16376  ;;
   16377 esac
   16378 fi
   16379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   16380 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   16381 
   16382 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   16383     case $lt_prog_compiler_pic in
   16384      "" | " "*) ;;
   16385      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   16386      esac
   16387 else
   16388     lt_prog_compiler_pic=
   16389      lt_prog_compiler_can_build_shared=no
   16390 fi
   16391 
   16392 fi
   16393 
   16394 
   16395 
   16396 
   16397 
   16398 
   16399 
   16400 
   16401 
   16402 
   16403 
   16404 #
   16405 # Check to make sure the static flag actually works.
   16406 #
   16407 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   16408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   16409 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   16410 if test ${lt_cv_prog_compiler_static_works+y}
   16411 then :
   16412   printf %s "(cached) " >&6
   16413 else case e in #(
   16414   e) lt_cv_prog_compiler_static_works=no
   16415    save_LDFLAGS=$LDFLAGS
   16416    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   16417    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   16418    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   16419      # The linker can only warn and ignore the option if not recognized
   16420      # So say no if there are warnings
   16421      if test -s conftest.err; then
   16422        # Append any errors to the config.log.
   16423        cat conftest.err 1>&5
   16424        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   16425        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16426        if diff conftest.exp conftest.er2 >/dev/null; then
   16427          lt_cv_prog_compiler_static_works=yes
   16428        fi
   16429      else
   16430        lt_cv_prog_compiler_static_works=yes
   16431      fi
   16432    fi
   16433    $RM -r conftest*
   16434    LDFLAGS=$save_LDFLAGS
   16435  ;;
   16436 esac
   16437 fi
   16438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   16439 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   16440 
   16441 if test yes = "$lt_cv_prog_compiler_static_works"; then
   16442     :
   16443 else
   16444     lt_prog_compiler_static=
   16445 fi
   16446 
   16447 
   16448 
   16449 
   16450 
   16451 
   16452 
   16453   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   16454 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   16455 if test ${lt_cv_prog_compiler_c_o+y}
   16456 then :
   16457   printf %s "(cached) " >&6
   16458 else case e in #(
   16459   e) lt_cv_prog_compiler_c_o=no
   16460    $RM -r conftest 2>/dev/null
   16461    mkdir conftest
   16462    cd conftest
   16463    mkdir out
   16464    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16465 
   16466    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16467    # Insert the option either (1) after the last *FLAGS variable, or
   16468    # (2) before a word containing "conftest.", or (3) at the end.
   16469    # Note that $ac_compile itself does not contain backslashes and begins
   16470    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16471    lt_compile=`echo "$ac_compile" | $SED \
   16472    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16473    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16474    -e 's:$: $lt_compiler_flag:'`
   16475    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   16476    (eval "$lt_compile" 2>out/conftest.err)
   16477    ac_status=$?
   16478    cat out/conftest.err >&5
   16479    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16480    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16481    then
   16482      # The compiler can only warn and ignore the option if not recognized
   16483      # So say no if there are warnings
   16484      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   16485      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16486      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16487        lt_cv_prog_compiler_c_o=yes
   16488      fi
   16489    fi
   16490    chmod u+w . 2>&5
   16491    $RM conftest*
   16492    # SGI C++ compiler will create directory out/ii_files/ for
   16493    # template instantiation
   16494    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   16495    $RM out/* && rmdir out
   16496    cd ..
   16497    $RM -r conftest
   16498    $RM conftest*
   16499  ;;
   16500 esac
   16501 fi
   16502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   16503 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   16504 
   16505 
   16506 
   16507 
   16508 
   16509 
   16510   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   16511 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   16512 if test ${lt_cv_prog_compiler_c_o+y}
   16513 then :
   16514   printf %s "(cached) " >&6
   16515 else case e in #(
   16516   e) lt_cv_prog_compiler_c_o=no
   16517    $RM -r conftest 2>/dev/null
   16518    mkdir conftest
   16519    cd conftest
   16520    mkdir out
   16521    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16522 
   16523    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16524    # Insert the option either (1) after the last *FLAGS variable, or
   16525    # (2) before a word containing "conftest.", or (3) at the end.
   16526    # Note that $ac_compile itself does not contain backslashes and begins
   16527    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16528    lt_compile=`echo "$ac_compile" | $SED \
   16529    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16530    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16531    -e 's:$: $lt_compiler_flag:'`
   16532    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   16533    (eval "$lt_compile" 2>out/conftest.err)
   16534    ac_status=$?
   16535    cat out/conftest.err >&5
   16536    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16537    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16538    then
   16539      # The compiler can only warn and ignore the option if not recognized
   16540      # So say no if there are warnings
   16541      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   16542      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16543      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16544        lt_cv_prog_compiler_c_o=yes
   16545      fi
   16546    fi
   16547    chmod u+w . 2>&5
   16548    $RM conftest*
   16549    # SGI C++ compiler will create directory out/ii_files/ for
   16550    # template instantiation
   16551    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   16552    $RM out/* && rmdir out
   16553    cd ..
   16554    $RM -r conftest
   16555    $RM conftest*
   16556  ;;
   16557 esac
   16558 fi
   16559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   16560 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   16561 
   16562 
   16563 
   16564 
   16565 hard_links=nottested
   16566 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   16567   # do not overwrite the value of need_locks provided by the user
   16568   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   16569 printf %s "checking if we can lock with hard links... " >&6; }
   16570   hard_links=yes
   16571   $RM conftest*
   16572   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16573   touch conftest.a
   16574   ln conftest.a conftest.b 2>&5 || hard_links=no
   16575   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16576   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   16577 printf "%s\n" "$hard_links" >&6; }
   16578   if test no = "$hard_links"; then
   16579     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   16580 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   16581     need_locks=warn
   16582   fi
   16583 else
   16584   need_locks=no
   16585 fi
   16586 
   16587 
   16588 
   16589 
   16590 
   16591 
   16592   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   16593 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   16594 
   16595   runpath_var=
   16596   allow_undefined_flag=
   16597   always_export_symbols=no
   16598   archive_cmds=
   16599   archive_expsym_cmds=
   16600   compiler_needs_object=no
   16601   enable_shared_with_static_runtimes=no
   16602   export_dynamic_flag_spec=
   16603   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   16604   hardcode_automatic=no
   16605   hardcode_direct=no
   16606   hardcode_direct_absolute=no
   16607   hardcode_libdir_flag_spec=
   16608   hardcode_libdir_separator=
   16609   hardcode_minus_L=no
   16610   hardcode_shlibpath_var=unsupported
   16611   inherit_rpath=no
   16612   link_all_deplibs=unknown
   16613   module_cmds=
   16614   module_expsym_cmds=
   16615   old_archive_from_new_cmds=
   16616   old_archive_from_expsyms_cmds=
   16617   thread_safe_flag_spec=
   16618   whole_archive_flag_spec=
   16619   # include_expsyms should be a list of space-separated symbols to be *always*
   16620   # included in the symbol list
   16621   include_expsyms=
   16622   # exclude_expsyms can be an extended regexp of symbols to exclude
   16623   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   16624   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   16625   # as well as any symbol that contains 'd'.
   16626   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   16627   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   16628   # platforms (ab)use it in PIC code, but their linkers get confused if
   16629   # the symbol is explicitly referenced.  Since portable code cannot
   16630   # rely on this symbol name, it's probably fine to never include it in
   16631   # preloaded symbol tables.
   16632   # Exclude shared library initialization/finalization symbols.
   16633   extract_expsyms_cmds=
   16634 
   16635   case $host_os in
   16636   cygwin* | mingw* | pw32* | cegcc*)
   16637     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   16638     # When not using gcc, we currently assume that we are using
   16639     # Microsoft Visual C++ or Intel C++ Compiler.
   16640     if test yes != "$GCC"; then
   16641       with_gnu_ld=no
   16642     fi
   16643     ;;
   16644   interix*)
   16645     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   16646     with_gnu_ld=yes
   16647     ;;
   16648   openbsd* | bitrig*)
   16649     with_gnu_ld=no
   16650     ;;
   16651   esac
   16652 
   16653   ld_shlibs=yes
   16654 
   16655   # On some targets, GNU ld is compatible enough with the native linker
   16656   # that we're better off using the native interface for both.
   16657   lt_use_gnu_ld_interface=no
   16658   if test yes = "$with_gnu_ld"; then
   16659     case $host_os in
   16660       aix*)
   16661 	# The AIX port of GNU ld has always aspired to compatibility
   16662 	# with the native linker.  However, as the warning in the GNU ld
   16663 	# block says, versions before 2.19.5* couldn't really create working
   16664 	# shared libraries, regardless of the interface used.
   16665 	case `$LD -v 2>&1` in
   16666 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   16667 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   16668 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   16669 	  *)
   16670 	    lt_use_gnu_ld_interface=yes
   16671 	    ;;
   16672 	esac
   16673 	;;
   16674       *)
   16675 	lt_use_gnu_ld_interface=yes
   16676 	;;
   16677     esac
   16678   fi
   16679 
   16680   if test yes = "$lt_use_gnu_ld_interface"; then
   16681     # If archive_cmds runs LD, not CC, wlarc should be empty
   16682     wlarc='$wl'
   16683 
   16684     # Set some defaults for GNU ld with shared library support. These
   16685     # are reset later if shared libraries are not supported. Putting them
   16686     # here allows them to be overridden if necessary.
   16687     runpath_var=LD_RUN_PATH
   16688     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16689     export_dynamic_flag_spec='$wl--export-dynamic'
   16690     # ancient GNU ld didn't support --whole-archive et. al.
   16691     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   16692       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   16693     else
   16694       whole_archive_flag_spec=
   16695     fi
   16696     supports_anon_versioning=no
   16697     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   16698       *GNU\ gold*) supports_anon_versioning=yes ;;
   16699       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   16700       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   16701       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   16702       *\ 2.11.*) ;; # other 2.11 versions
   16703       *) supports_anon_versioning=yes ;;
   16704     esac
   16705 
   16706     # See if GNU ld supports shared libraries.
   16707     case $host_os in
   16708     aix[3-9]*)
   16709       # On AIX/PPC, the GNU linker is very broken
   16710       if test ia64 != "$host_cpu"; then
   16711 	ld_shlibs=no
   16712 	cat <<_LT_EOF 1>&2
   16713 
   16714 *** Warning: the GNU linker, at least up to release 2.19, is reported
   16715 *** to be unable to reliably create shared libraries on AIX.
   16716 *** Therefore, libtool is disabling shared libraries support.  If you
   16717 *** really care for shared libraries, you may want to install binutils
   16718 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   16719 *** You will then need to restart the configuration process.
   16720 
   16721 _LT_EOF
   16722       fi
   16723       ;;
   16724 
   16725     amigaos*)
   16726       case $host_cpu in
   16727       powerpc)
   16728             # see comment about AmigaOS4 .so support
   16729             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16730             archive_expsym_cmds=''
   16731         ;;
   16732       m68k)
   16733             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)'
   16734             hardcode_libdir_flag_spec='-L$libdir'
   16735             hardcode_minus_L=yes
   16736         ;;
   16737       esac
   16738       ;;
   16739 
   16740     beos*)
   16741       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16742 	allow_undefined_flag=unsupported
   16743 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   16744 	# support --undefined.  This deserves some investigation.  FIXME
   16745 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16746       else
   16747 	ld_shlibs=no
   16748       fi
   16749       ;;
   16750 
   16751     cygwin* | mingw* | pw32* | cegcc*)
   16752       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   16753       # as there is no search path for DLLs.
   16754       hardcode_libdir_flag_spec='-L$libdir'
   16755       export_dynamic_flag_spec='$wl--export-all-symbols'
   16756       allow_undefined_flag=unsupported
   16757       always_export_symbols=no
   16758       enable_shared_with_static_runtimes=yes
   16759       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'
   16760       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   16761 
   16762       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   16763         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16764 	# If the export-symbols file already is a .def file, use it as
   16765 	# is; otherwise, prepend EXPORTS...
   16766 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   16767           cp $export_symbols $output_objdir/$soname.def;
   16768         else
   16769           echo EXPORTS > $output_objdir/$soname.def;
   16770           cat $export_symbols >> $output_objdir/$soname.def;
   16771         fi~
   16772         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16773       else
   16774 	ld_shlibs=no
   16775       fi
   16776       ;;
   16777 
   16778     haiku*)
   16779       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16780       link_all_deplibs=yes
   16781       ;;
   16782 
   16783     os2*)
   16784       hardcode_libdir_flag_spec='-L$libdir'
   16785       hardcode_minus_L=yes
   16786       allow_undefined_flag=unsupported
   16787       shrext_cmds=.dll
   16788       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16789 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16790 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16791 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16792 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   16793 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16794 	emximp -o $lib $output_objdir/$libname.def'
   16795       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16796 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16797 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16798 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16799 	prefix_cmds="$SED"~
   16800 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   16801 	  prefix_cmds="$prefix_cmds -e 1d";
   16802 	fi~
   16803 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   16804 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   16805 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16806 	emximp -o $lib $output_objdir/$libname.def'
   16807       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   16808       enable_shared_with_static_runtimes=yes
   16809       file_list_spec='@'
   16810       ;;
   16811 
   16812     interix[3-9]*)
   16813       hardcode_direct=no
   16814       hardcode_shlibpath_var=no
   16815       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   16816       export_dynamic_flag_spec='$wl-E'
   16817       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   16818       # Instead, shared libraries are loaded at an image base (0x10000000 by
   16819       # default) and relocated if they conflict, which is a slow very memory
   16820       # consuming and fragmenting process.  To avoid this, we pick a random,
   16821       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   16822       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   16823       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   16824       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'
   16825       ;;
   16826 
   16827     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   16828       tmp_diet=no
   16829       if test linux-dietlibc = "$host_os"; then
   16830 	case $cc_basename in
   16831 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   16832 	esac
   16833       fi
   16834       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   16835 	 && test no = "$tmp_diet"
   16836       then
   16837 	tmp_addflag=' $pic_flag'
   16838 	tmp_sharedflag='-shared'
   16839 	case $cc_basename,$host_cpu in
   16840         pgcc*)				# Portland Group C compiler
   16841 	  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'
   16842 	  tmp_addflag=' $pic_flag'
   16843 	  ;;
   16844 	pgf77* | pgf90* | pgf95* | pgfortran*)
   16845 					# Portland Group f77 and f90 compilers
   16846 	  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'
   16847 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   16848 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   16849 	  tmp_addflag=' -i_dynamic' ;;
   16850 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   16851 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   16852 	ifc* | ifort*)			# Intel Fortran compiler
   16853 	  tmp_addflag=' -nofor_main' ;;
   16854 	lf95*)				# Lahey Fortran 8.1
   16855 	  whole_archive_flag_spec=
   16856 	  tmp_sharedflag='--shared' ;;
   16857         nagfor*)                        # NAGFOR 5.3
   16858           tmp_sharedflag='-Wl,-shared' ;;
   16859 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   16860 	  tmp_sharedflag='-qmkshrobj'
   16861 	  tmp_addflag= ;;
   16862 	nvcc*)	# Cuda Compiler Driver 2.2
   16863 	  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'
   16864 	  compiler_needs_object=yes
   16865 	  ;;
   16866 	esac
   16867 	case `$CC -V 2>&1 | $SED 5q` in
   16868 	*Sun\ C*)			# Sun C 5.9
   16869 	  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'
   16870 	  compiler_needs_object=yes
   16871 	  tmp_sharedflag='-G' ;;
   16872 	*Sun\ F*)			# Sun Fortran 8.3
   16873 	  tmp_sharedflag='-G' ;;
   16874 	esac
   16875 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16876 
   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             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   16882         fi
   16883 
   16884 	case $cc_basename in
   16885 	tcc*)
   16886 	  export_dynamic_flag_spec='-rdynamic'
   16887 	  ;;
   16888 	xlf* | bgf* | bgxlf* | mpixlf*)
   16889 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   16890 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   16891 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16892 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   16893 	  if test yes = "$supports_anon_versioning"; then
   16894 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   16895               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   16896               echo "local: *; };" >> $output_objdir/$libname.ver~
   16897               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   16898 	  fi
   16899 	  ;;
   16900 	esac
   16901       else
   16902         ld_shlibs=no
   16903       fi
   16904       ;;
   16905 
   16906     netbsd*)
   16907       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   16908 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   16909 	wlarc=
   16910       else
   16911 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16912 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16913       fi
   16914       ;;
   16915 
   16916     solaris*)
   16917       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   16918 	ld_shlibs=no
   16919 	cat <<_LT_EOF 1>&2
   16920 
   16921 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   16922 *** create shared libraries on Solaris systems.  Therefore, libtool
   16923 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16924 *** binutils to release 2.9.1 or newer.  Another option is to modify
   16925 *** your PATH or compiler configuration so that the native linker is
   16926 *** used, and then restart.
   16927 
   16928 _LT_EOF
   16929       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16930 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16931 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16932       else
   16933 	ld_shlibs=no
   16934       fi
   16935       ;;
   16936 
   16937     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   16938       case `$LD -v 2>&1` in
   16939         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   16940 	ld_shlibs=no
   16941 	cat <<_LT_EOF 1>&2
   16942 
   16943 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   16944 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   16945 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16946 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   16947 *** your PATH or compiler configuration so that the native linker is
   16948 *** used, and then restart.
   16949 
   16950 _LT_EOF
   16951 	;;
   16952 	*)
   16953 	  # For security reasons, it is highly recommended that you always
   16954 	  # use absolute paths for naming shared libraries, and exclude the
   16955 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   16956 	  # requires that you compile everything twice, which is a pain.
   16957 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16958 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16959 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16960 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16961 	  else
   16962 	    ld_shlibs=no
   16963 	  fi
   16964 	;;
   16965       esac
   16966       ;;
   16967 
   16968     sunos4*)
   16969       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16970       wlarc=
   16971       hardcode_direct=yes
   16972       hardcode_shlibpath_var=no
   16973       ;;
   16974 
   16975     *)
   16976       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16977 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16978 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16979       else
   16980 	ld_shlibs=no
   16981       fi
   16982       ;;
   16983     esac
   16984 
   16985     if test no = "$ld_shlibs"; then
   16986       runpath_var=
   16987       hardcode_libdir_flag_spec=
   16988       export_dynamic_flag_spec=
   16989       whole_archive_flag_spec=
   16990     fi
   16991   else
   16992     # PORTME fill in a description of your system's linker (not GNU ld)
   16993     case $host_os in
   16994     aix3*)
   16995       allow_undefined_flag=unsupported
   16996       always_export_symbols=yes
   16997       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'
   16998       # Note: this linker hardcodes the directories in LIBPATH if there
   16999       # are no directories specified by -L.
   17000       hardcode_minus_L=yes
   17001       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   17002 	# Neither direct hardcoding nor static linking is supported with a
   17003 	# broken collect2.
   17004 	hardcode_direct=unsupported
   17005       fi
   17006       ;;
   17007 
   17008     aix[4-9]*)
   17009       if test ia64 = "$host_cpu"; then
   17010 	# On IA64, the linker does run time linking by default, so we don't
   17011 	# have to do anything special.
   17012 	aix_use_runtimelinking=no
   17013 	exp_sym_flag='-Bexport'
   17014 	no_entry_flag=
   17015       else
   17016 	# If we're using GNU nm, then we don't want the "-C" option.
   17017 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   17018 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   17019 	# weak defined symbols like other global defined symbols, whereas
   17020 	# GNU nm marks them as "W".
   17021 	# While the 'weak' keyword is ignored in the Export File, we need
   17022 	# it in the Import File for the 'aix-soname' feature, so we have
   17023 	# to replace the "-B" option with "-P" for AIX nm.
   17024 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   17025 	  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'
   17026 	else
   17027 	  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'
   17028 	fi
   17029 	aix_use_runtimelinking=no
   17030 
   17031 	# Test if we are trying to use run time linking or normal
   17032 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   17033 	# have runtime linking enabled, and use it for executables.
   17034 	# For shared libraries, we enable/disable runtime linking
   17035 	# depending on the kind of the shared library created -
   17036 	# when "with_aix_soname,aix_use_runtimelinking" is:
   17037 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   17038 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   17039 	#            lib.a           static archive
   17040 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   17041 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   17042 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   17043 	#            lib.a(lib.so.V) shared, rtl:no
   17044 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   17045 	#            lib.a           static archive
   17046 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   17047 	  for ld_flag in $LDFLAGS; do
   17048 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   17049 	    aix_use_runtimelinking=yes
   17050 	    break
   17051 	  fi
   17052 	  done
   17053 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   17054 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   17055 	    # so we don't have lib.a shared libs to link our executables.
   17056 	    # We have to force runtime linking in this case.
   17057 	    aix_use_runtimelinking=yes
   17058 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   17059 	  fi
   17060 	  ;;
   17061 	esac
   17062 
   17063 	exp_sym_flag='-bexport'
   17064 	no_entry_flag='-bnoentry'
   17065       fi
   17066 
   17067       # When large executables or shared objects are built, AIX ld can
   17068       # have problems creating the table of contents.  If linking a library
   17069       # or program results in "error TOC overflow" add -mminimal-toc to
   17070       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17071       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17072 
   17073       archive_cmds=''
   17074       hardcode_direct=yes
   17075       hardcode_direct_absolute=yes
   17076       hardcode_libdir_separator=':'
   17077       link_all_deplibs=yes
   17078       file_list_spec='$wl-f,'
   17079       case $with_aix_soname,$aix_use_runtimelinking in
   17080       aix,*) ;; # traditional, no import file
   17081       svr4,* | *,yes) # use import file
   17082 	# The Import File defines what to hardcode.
   17083 	hardcode_direct=no
   17084 	hardcode_direct_absolute=no
   17085 	;;
   17086       esac
   17087 
   17088       if test yes = "$GCC"; then
   17089 	case $host_os in aix4.[012]|aix4.[012].*)
   17090 	# We only want to do this on AIX 4.2 and lower, the check
   17091 	# below for broken collect2 doesn't work under 4.3+
   17092 	  collect2name=`$CC -print-prog-name=collect2`
   17093 	  if test -f "$collect2name" &&
   17094 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   17095 	  then
   17096 	  # We have reworked collect2
   17097 	  :
   17098 	  else
   17099 	  # We have old collect2
   17100 	  hardcode_direct=unsupported
   17101 	  # It fails to find uninstalled libraries when the uninstalled
   17102 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17103 	  # to unsupported forces relinking
   17104 	  hardcode_minus_L=yes
   17105 	  hardcode_libdir_flag_spec='-L$libdir'
   17106 	  hardcode_libdir_separator=
   17107 	  fi
   17108 	  ;;
   17109 	esac
   17110 	shared_flag='-shared'
   17111 	if test yes = "$aix_use_runtimelinking"; then
   17112 	  shared_flag="$shared_flag "'$wl-G'
   17113 	fi
   17114 	# Need to ensure runtime linking is disabled for the traditional
   17115 	# shared library, or the linker may eventually find shared libraries
   17116 	# /with/ Import File - we do not want to mix them.
   17117 	shared_flag_aix='-shared'
   17118 	shared_flag_svr4='-shared $wl-G'
   17119       else
   17120 	# not using gcc
   17121 	if test ia64 = "$host_cpu"; then
   17122 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17123 	# chokes on -Wl,-G. The following line is correct:
   17124 	  shared_flag='-G'
   17125 	else
   17126 	  if test yes = "$aix_use_runtimelinking"; then
   17127 	    shared_flag='$wl-G'
   17128 	  else
   17129 	    shared_flag='$wl-bM:SRE'
   17130 	  fi
   17131 	  shared_flag_aix='$wl-bM:SRE'
   17132 	  shared_flag_svr4='$wl-G'
   17133 	fi
   17134       fi
   17135 
   17136       export_dynamic_flag_spec='$wl-bexpall'
   17137       # It seems that -bexpall does not export symbols beginning with
   17138       # underscore (_), so it is better to generate a list of symbols to export.
   17139       always_export_symbols=yes
   17140       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   17141 	# Warning - without using the other runtime loading flags (-brtl),
   17142 	# -berok will link without error, but may produce a broken library.
   17143 	allow_undefined_flag='-berok'
   17144         # Determine the default libpath from the value encoded in an
   17145         # empty executable.
   17146         if test set = "${lt_cv_aix_libpath+set}"; then
   17147   aix_libpath=$lt_cv_aix_libpath
   17148 else
   17149   if test ${lt_cv_aix_libpath_+y}
   17150 then :
   17151   printf %s "(cached) " >&6
   17152 else case e in #(
   17153   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17154 /* end confdefs.h.  */
   17155 
   17156 int
   17157 main (void)
   17158 {
   17159 
   17160   ;
   17161   return 0;
   17162 }
   17163 _ACEOF
   17164 if ac_fn_c_try_link "$LINENO"
   17165 then :
   17166 
   17167   lt_aix_libpath_sed='
   17168       /Import File Strings/,/^$/ {
   17169 	  /^0/ {
   17170 	      s/^0  *\([^ ]*\) *$/\1/
   17171 	      p
   17172 	  }
   17173       }'
   17174   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17175   # Check for a 64-bit object if we didn't find anything.
   17176   if test -z "$lt_cv_aix_libpath_"; then
   17177     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17178   fi
   17179 fi
   17180 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17181     conftest$ac_exeext conftest.$ac_ext
   17182   if test -z "$lt_cv_aix_libpath_"; then
   17183     lt_cv_aix_libpath_=/usr/lib:/lib
   17184   fi
   17185    ;;
   17186 esac
   17187 fi
   17188 
   17189   aix_libpath=$lt_cv_aix_libpath_
   17190 fi
   17191 
   17192         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   17193         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
   17194       else
   17195 	if test ia64 = "$host_cpu"; then
   17196 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   17197 	  allow_undefined_flag="-z nodefs"
   17198 	  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"
   17199 	else
   17200 	 # Determine the default libpath from the value encoded in an
   17201 	 # empty executable.
   17202 	 if test set = "${lt_cv_aix_libpath+set}"; then
   17203   aix_libpath=$lt_cv_aix_libpath
   17204 else
   17205   if test ${lt_cv_aix_libpath_+y}
   17206 then :
   17207   printf %s "(cached) " >&6
   17208 else case e in #(
   17209   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17210 /* end confdefs.h.  */
   17211 
   17212 int
   17213 main (void)
   17214 {
   17215 
   17216   ;
   17217   return 0;
   17218 }
   17219 _ACEOF
   17220 if ac_fn_c_try_link "$LINENO"
   17221 then :
   17222 
   17223   lt_aix_libpath_sed='
   17224       /Import File Strings/,/^$/ {
   17225 	  /^0/ {
   17226 	      s/^0  *\([^ ]*\) *$/\1/
   17227 	      p
   17228 	  }
   17229       }'
   17230   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17231   # Check for a 64-bit object if we didn't find anything.
   17232   if test -z "$lt_cv_aix_libpath_"; then
   17233     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17234   fi
   17235 fi
   17236 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17237     conftest$ac_exeext conftest.$ac_ext
   17238   if test -z "$lt_cv_aix_libpath_"; then
   17239     lt_cv_aix_libpath_=/usr/lib:/lib
   17240   fi
   17241    ;;
   17242 esac
   17243 fi
   17244 
   17245   aix_libpath=$lt_cv_aix_libpath_
   17246 fi
   17247 
   17248 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   17249 	  # Warning - without using the other run time loading flags,
   17250 	  # -berok will link without error, but may produce a broken library.
   17251 	  no_undefined_flag=' $wl-bernotok'
   17252 	  allow_undefined_flag=' $wl-berok'
   17253 	  if test yes = "$with_gnu_ld"; then
   17254 	    # We only use this code for GNU lds that support --whole-archive.
   17255 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   17256 	  else
   17257 	    # Exported symbols can be pulled into shared objects from archives
   17258 	    whole_archive_flag_spec='$convenience'
   17259 	  fi
   17260 	  archive_cmds_need_lc=yes
   17261 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   17262 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   17263 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   17264 	  if test svr4 != "$with_aix_soname"; then
   17265 	    # This is similar to how AIX traditionally builds its shared libraries.
   17266 	    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'
   17267 	  fi
   17268 	  if test aix != "$with_aix_soname"; then
   17269 	    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'
   17270 	  else
   17271 	    # used by -dlpreopen to get the symbols
   17272 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   17273 	  fi
   17274 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   17275 	fi
   17276       fi
   17277       ;;
   17278 
   17279     amigaos*)
   17280       case $host_cpu in
   17281       powerpc)
   17282             # see comment about AmigaOS4 .so support
   17283             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   17284             archive_expsym_cmds=''
   17285         ;;
   17286       m68k)
   17287             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)'
   17288             hardcode_libdir_flag_spec='-L$libdir'
   17289             hardcode_minus_L=yes
   17290         ;;
   17291       esac
   17292       ;;
   17293 
   17294     bsdi[45]*)
   17295       export_dynamic_flag_spec=-rdynamic
   17296       ;;
   17297 
   17298     cygwin* | mingw* | pw32* | cegcc*)
   17299       # When not using gcc, we currently assume that we are using
   17300       # Microsoft Visual C++ or Intel C++ Compiler.
   17301       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17302       # no search path for DLLs.
   17303       case $cc_basename in
   17304       cl* | icl*)
   17305 	# Native MSVC or ICC
   17306 	hardcode_libdir_flag_spec=' '
   17307 	allow_undefined_flag=unsupported
   17308 	always_export_symbols=yes
   17309 	file_list_spec='@'
   17310 	# Tell ltmain to make .lib files, not .a files.
   17311 	libext=lib
   17312 	# Tell ltmain to make .dll files, not .so files.
   17313 	shrext_cmds=.dll
   17314 	# FIXME: Setting linknames here is a bad hack.
   17315 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   17316 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   17317             cp "$export_symbols" "$output_objdir/$soname.def";
   17318             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   17319           else
   17320             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   17321           fi~
   17322           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   17323           linknames='
   17324 	# The linker will not automatically build a static lib if we build a DLL.
   17325 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   17326 	enable_shared_with_static_runtimes=yes
   17327 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   17328 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   17329 	# Don't use ranlib
   17330 	old_postinstall_cmds='chmod 644 $oldlib'
   17331 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   17332           lt_tool_outputfile="@TOOL_OUTPUT@"~
   17333           case $lt_outputfile in
   17334             *.exe|*.EXE) ;;
   17335             *)
   17336               lt_outputfile=$lt_outputfile.exe
   17337               lt_tool_outputfile=$lt_tool_outputfile.exe
   17338               ;;
   17339           esac~
   17340           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   17341             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   17342             $RM "$lt_outputfile.manifest";
   17343           fi'
   17344 	;;
   17345       *)
   17346 	# Assume MSVC and ICC wrapper
   17347 	hardcode_libdir_flag_spec=' '
   17348 	allow_undefined_flag=unsupported
   17349 	# Tell ltmain to make .lib files, not .a files.
   17350 	libext=lib
   17351 	# Tell ltmain to make .dll files, not .so files.
   17352 	shrext_cmds=.dll
   17353 	# FIXME: Setting linknames here is a bad hack.
   17354 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   17355 	# The linker will automatically build a .lib file if we build a DLL.
   17356 	old_archive_from_new_cmds='true'
   17357 	# FIXME: Should let the user specify the lib program.
   17358 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   17359 	enable_shared_with_static_runtimes=yes
   17360 	;;
   17361       esac
   17362       ;;
   17363 
   17364     darwin* | rhapsody*)
   17365 
   17366 
   17367   archive_cmds_need_lc=no
   17368   hardcode_direct=no
   17369   hardcode_automatic=yes
   17370   hardcode_shlibpath_var=unsupported
   17371   if test yes = "$lt_cv_ld_force_load"; then
   17372     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\"`'
   17373 
   17374   else
   17375     whole_archive_flag_spec=''
   17376   fi
   17377   link_all_deplibs=yes
   17378   allow_undefined_flag=$_lt_dar_allow_undefined
   17379   case $cc_basename in
   17380      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   17381      *) _lt_dar_can_shared=$GCC ;;
   17382   esac
   17383   if test yes = "$_lt_dar_can_shared"; then
   17384     output_verbose_link_cmd=func_echo_all
   17385     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   17386     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   17387     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"
   17388     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"
   17389 
   17390   else
   17391   ld_shlibs=no
   17392   fi
   17393 
   17394       ;;
   17395 
   17396     dgux*)
   17397       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17398       hardcode_libdir_flag_spec='-L$libdir'
   17399       hardcode_shlibpath_var=no
   17400       ;;
   17401 
   17402     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   17403     # support.  Future versions do this automatically, but an explicit c++rt0.o
   17404     # does not break anything, and helps significantly (at the cost of a little
   17405     # extra space).
   17406     freebsd2.2*)
   17407       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   17408       hardcode_libdir_flag_spec='-R$libdir'
   17409       hardcode_direct=yes
   17410       hardcode_shlibpath_var=no
   17411       ;;
   17412 
   17413     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   17414     freebsd2.*)
   17415       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17416       hardcode_direct=yes
   17417       hardcode_minus_L=yes
   17418       hardcode_shlibpath_var=no
   17419       ;;
   17420 
   17421     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   17422     freebsd* | dragonfly* | midnightbsd*)
   17423       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17424       hardcode_libdir_flag_spec='-R$libdir'
   17425       hardcode_direct=yes
   17426       hardcode_shlibpath_var=no
   17427       ;;
   17428 
   17429     hpux9*)
   17430       if test yes = "$GCC"; then
   17431 	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'
   17432       else
   17433 	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'
   17434       fi
   17435       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   17436       hardcode_libdir_separator=:
   17437       hardcode_direct=yes
   17438 
   17439       # hardcode_minus_L: Not really in the search PATH,
   17440       # but as the default location of the library.
   17441       hardcode_minus_L=yes
   17442       export_dynamic_flag_spec='$wl-E'
   17443       ;;
   17444 
   17445     hpux10*)
   17446       if test yes,no = "$GCC,$with_gnu_ld"; then
   17447 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17448       else
   17449 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17450       fi
   17451       if test no = "$with_gnu_ld"; then
   17452 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   17453 	hardcode_libdir_separator=:
   17454 	hardcode_direct=yes
   17455 	hardcode_direct_absolute=yes
   17456 	export_dynamic_flag_spec='$wl-E'
   17457 	# hardcode_minus_L: Not really in the search PATH,
   17458 	# but as the default location of the library.
   17459 	hardcode_minus_L=yes
   17460       fi
   17461       ;;
   17462 
   17463     hpux11*)
   17464       if test yes,no = "$GCC,$with_gnu_ld"; then
   17465 	case $host_cpu in
   17466 	hppa*64*)
   17467 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   17468 	  ;;
   17469 	ia64*)
   17470 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17471 	  ;;
   17472 	*)
   17473 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17474 	  ;;
   17475 	esac
   17476       else
   17477 	case $host_cpu in
   17478 	hppa*64*)
   17479 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   17480 	  ;;
   17481 	ia64*)
   17482 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17483 	  ;;
   17484 	*)
   17485 
   17486 	  # Older versions of the 11.00 compiler do not understand -b yet
   17487 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   17488 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   17489 printf %s "checking if $CC understands -b... " >&6; }
   17490 if test ${lt_cv_prog_compiler__b+y}
   17491 then :
   17492   printf %s "(cached) " >&6
   17493 else case e in #(
   17494   e) lt_cv_prog_compiler__b=no
   17495    save_LDFLAGS=$LDFLAGS
   17496    LDFLAGS="$LDFLAGS -b"
   17497    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   17498    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17499      # The linker can only warn and ignore the option if not recognized
   17500      # So say no if there are warnings
   17501      if test -s conftest.err; then
   17502        # Append any errors to the config.log.
   17503        cat conftest.err 1>&5
   17504        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   17505        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17506        if diff conftest.exp conftest.er2 >/dev/null; then
   17507          lt_cv_prog_compiler__b=yes
   17508        fi
   17509      else
   17510        lt_cv_prog_compiler__b=yes
   17511      fi
   17512    fi
   17513    $RM -r conftest*
   17514    LDFLAGS=$save_LDFLAGS
   17515  ;;
   17516 esac
   17517 fi
   17518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   17519 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   17520 
   17521 if test yes = "$lt_cv_prog_compiler__b"; then
   17522     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17523 else
   17524     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17525 fi
   17526 
   17527 	  ;;
   17528 	esac
   17529       fi
   17530       if test no = "$with_gnu_ld"; then
   17531 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   17532 	hardcode_libdir_separator=:
   17533 
   17534 	case $host_cpu in
   17535 	hppa*64*|ia64*)
   17536 	  hardcode_direct=no
   17537 	  hardcode_shlibpath_var=no
   17538 	  ;;
   17539 	*)
   17540 	  hardcode_direct=yes
   17541 	  hardcode_direct_absolute=yes
   17542 	  export_dynamic_flag_spec='$wl-E'
   17543 
   17544 	  # hardcode_minus_L: Not really in the search PATH,
   17545 	  # but as the default location of the library.
   17546 	  hardcode_minus_L=yes
   17547 	  ;;
   17548 	esac
   17549       fi
   17550       ;;
   17551 
   17552     irix5* | irix6* | nonstopux*)
   17553       if test yes = "$GCC"; then
   17554 	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'
   17555 	# Try to use the -exported_symbol ld option, if it does not
   17556 	# work, assume that -exports_file does not work either and
   17557 	# implicitly export all symbols.
   17558 	# This should be the same for all languages, so no per-tag cache variable.
   17559 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   17560 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   17561 if test ${lt_cv_irix_exported_symbol+y}
   17562 then :
   17563   printf %s "(cached) " >&6
   17564 else case e in #(
   17565   e) save_LDFLAGS=$LDFLAGS
   17566 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   17567 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17568 /* end confdefs.h.  */
   17569 int foo (void) { return 0; }
   17570 _ACEOF
   17571 if ac_fn_c_try_link "$LINENO"
   17572 then :
   17573   lt_cv_irix_exported_symbol=yes
   17574 else case e in #(
   17575   e) lt_cv_irix_exported_symbol=no ;;
   17576 esac
   17577 fi
   17578 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17579     conftest$ac_exeext conftest.$ac_ext
   17580            LDFLAGS=$save_LDFLAGS ;;
   17581 esac
   17582 fi
   17583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   17584 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   17585 	if test yes = "$lt_cv_irix_exported_symbol"; then
   17586           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'
   17587 	fi
   17588       else
   17589 	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'
   17590 	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'
   17591       fi
   17592       archive_cmds_need_lc='no'
   17593       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17594       hardcode_libdir_separator=:
   17595       inherit_rpath=yes
   17596       link_all_deplibs=yes
   17597       ;;
   17598 
   17599     linux*)
   17600       case $cc_basename in
   17601       tcc*)
   17602 	# Fabrice Bellard et al's Tiny C Compiler
   17603 	ld_shlibs=yes
   17604 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17605 	;;
   17606       esac
   17607       ;;
   17608 
   17609     netbsd*)
   17610       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   17611 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   17612       else
   17613 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   17614       fi
   17615       hardcode_libdir_flag_spec='-R$libdir'
   17616       hardcode_direct=yes
   17617       hardcode_shlibpath_var=no
   17618       ;;
   17619 
   17620     newsos6)
   17621       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17622       hardcode_direct=yes
   17623       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17624       hardcode_libdir_separator=:
   17625       hardcode_shlibpath_var=no
   17626       ;;
   17627 
   17628     *nto* | *qnx*)
   17629       ;;
   17630 
   17631     openbsd* | bitrig*)
   17632       if test -f /usr/libexec/ld.so; then
   17633 	hardcode_direct=yes
   17634 	hardcode_shlibpath_var=no
   17635 	hardcode_direct_absolute=yes
   17636 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   17637 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17638 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   17639 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   17640 	  export_dynamic_flag_spec='$wl-E'
   17641 	else
   17642 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17643 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   17644 	fi
   17645       else
   17646 	ld_shlibs=no
   17647       fi
   17648       ;;
   17649 
   17650     os2*)
   17651       hardcode_libdir_flag_spec='-L$libdir'
   17652       hardcode_minus_L=yes
   17653       allow_undefined_flag=unsupported
   17654       shrext_cmds=.dll
   17655       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   17656 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   17657 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   17658 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   17659 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   17660 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   17661 	emximp -o $lib $output_objdir/$libname.def'
   17662       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   17663 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   17664 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   17665 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   17666 	prefix_cmds="$SED"~
   17667 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   17668 	  prefix_cmds="$prefix_cmds -e 1d";
   17669 	fi~
   17670 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   17671 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   17672 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   17673 	emximp -o $lib $output_objdir/$libname.def'
   17674       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   17675       enable_shared_with_static_runtimes=yes
   17676       file_list_spec='@'
   17677       ;;
   17678 
   17679     osf3*)
   17680       if test yes = "$GCC"; then
   17681 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   17682 	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'
   17683       else
   17684 	allow_undefined_flag=' -expect_unresolved \*'
   17685 	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'
   17686       fi
   17687       archive_cmds_need_lc='no'
   17688       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17689       hardcode_libdir_separator=:
   17690       ;;
   17691 
   17692     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   17693       if test yes = "$GCC"; then
   17694 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   17695 	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'
   17696 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17697       else
   17698 	allow_undefined_flag=' -expect_unresolved \*'
   17699 	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'
   17700 	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~
   17701           $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'
   17702 
   17703 	# Both c and cxx compiler support -rpath directly
   17704 	hardcode_libdir_flag_spec='-rpath $libdir'
   17705       fi
   17706       archive_cmds_need_lc='no'
   17707       hardcode_libdir_separator=:
   17708       ;;
   17709 
   17710     solaris*)
   17711       no_undefined_flag=' -z defs'
   17712       if test yes = "$GCC"; then
   17713 	wlarc='$wl'
   17714 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   17715 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   17716           $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'
   17717       else
   17718 	case `$CC -V 2>&1` in
   17719 	*"Compilers 5.0"*)
   17720 	  wlarc=''
   17721 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17722 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   17723             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   17724 	  ;;
   17725 	*)
   17726 	  wlarc='$wl'
   17727 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   17728 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   17729             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   17730 	  ;;
   17731 	esac
   17732       fi
   17733       hardcode_libdir_flag_spec='-R$libdir'
   17734       hardcode_shlibpath_var=no
   17735       case $host_os in
   17736       solaris2.[0-5] | solaris2.[0-5].*) ;;
   17737       *)
   17738 	# The compiler driver will combine and reorder linker options,
   17739 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   17740 	# but is careful enough not to reorder.
   17741 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   17742 	if test yes = "$GCC"; then
   17743 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   17744 	else
   17745 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   17746 	fi
   17747 	;;
   17748       esac
   17749       link_all_deplibs=yes
   17750       ;;
   17751 
   17752     sunos4*)
   17753       if test sequent = "$host_vendor"; then
   17754 	# Use $CC to link under sequent, because it throws in some extra .o
   17755 	# files that make .init and .fini sections work.
   17756 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   17757       else
   17758 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   17759       fi
   17760       hardcode_libdir_flag_spec='-L$libdir'
   17761       hardcode_direct=yes
   17762       hardcode_minus_L=yes
   17763       hardcode_shlibpath_var=no
   17764       ;;
   17765 
   17766     sysv4)
   17767       case $host_vendor in
   17768 	sni)
   17769 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17770 	  hardcode_direct=yes # is this really true???
   17771 	;;
   17772 	siemens)
   17773 	  ## LD is ld it makes a PLAMLIB
   17774 	  ## CC just makes a GrossModule.
   17775 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   17776 	  reload_cmds='$CC -r -o $output$reload_objs'
   17777 	  hardcode_direct=no
   17778         ;;
   17779 	motorola)
   17780 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17781 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   17782 	;;
   17783       esac
   17784       runpath_var='LD_RUN_PATH'
   17785       hardcode_shlibpath_var=no
   17786       ;;
   17787 
   17788     sysv4.3*)
   17789       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17790       hardcode_shlibpath_var=no
   17791       export_dynamic_flag_spec='-Bexport'
   17792       ;;
   17793 
   17794     sysv4*MP*)
   17795       if test -d /usr/nec; then
   17796 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17797 	hardcode_shlibpath_var=no
   17798 	runpath_var=LD_RUN_PATH
   17799 	hardcode_runpath_var=yes
   17800 	ld_shlibs=yes
   17801       fi
   17802       ;;
   17803 
   17804     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   17805       no_undefined_flag='$wl-z,text'
   17806       archive_cmds_need_lc=no
   17807       hardcode_shlibpath_var=no
   17808       runpath_var='LD_RUN_PATH'
   17809 
   17810       if test yes = "$GCC"; then
   17811 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17812 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17813       else
   17814 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17815 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17816       fi
   17817       ;;
   17818 
   17819     sysv5* | sco3.2v5* | sco5v6*)
   17820       # Note: We CANNOT use -z defs as we might desire, because we do not
   17821       # link with -lc, and that would cause any symbols used from libc to
   17822       # always be unresolved, which means just about no library would
   17823       # ever link correctly.  If we're not using GNU ld we use -z text
   17824       # though, which does catch some bad symbols but isn't as heavy-handed
   17825       # as -z defs.
   17826       no_undefined_flag='$wl-z,text'
   17827       allow_undefined_flag='$wl-z,nodefs'
   17828       archive_cmds_need_lc=no
   17829       hardcode_shlibpath_var=no
   17830       hardcode_libdir_flag_spec='$wl-R,$libdir'
   17831       hardcode_libdir_separator=':'
   17832       link_all_deplibs=yes
   17833       export_dynamic_flag_spec='$wl-Bexport'
   17834       runpath_var='LD_RUN_PATH'
   17835 
   17836       if test yes = "$GCC"; then
   17837 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17838 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17839       else
   17840 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17841 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17842       fi
   17843       ;;
   17844 
   17845     uts4*)
   17846       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17847       hardcode_libdir_flag_spec='-L$libdir'
   17848       hardcode_shlibpath_var=no
   17849       ;;
   17850 
   17851     *)
   17852       ld_shlibs=no
   17853       ;;
   17854     esac
   17855 
   17856     if test sni = "$host_vendor"; then
   17857       case $host in
   17858       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   17859 	export_dynamic_flag_spec='$wl-Blargedynsym'
   17860 	;;
   17861       esac
   17862     fi
   17863   fi
   17864 
   17865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   17866 printf "%s\n" "$ld_shlibs" >&6; }
   17867 test no = "$ld_shlibs" && can_build_shared=no
   17868 
   17869 with_gnu_ld=$with_gnu_ld
   17870 
   17871 
   17872 
   17873 
   17874 
   17875 
   17876 
   17877 
   17878 
   17879 
   17880 
   17881 
   17882 
   17883 
   17884 
   17885 #
   17886 # Do we need to explicitly link libc?
   17887 #
   17888 case "x$archive_cmds_need_lc" in
   17889 x|xyes)
   17890   # Assume -lc should be added
   17891   archive_cmds_need_lc=yes
   17892 
   17893   if test yes,yes = "$GCC,$enable_shared"; then
   17894     case $archive_cmds in
   17895     *'~'*)
   17896       # FIXME: we may have to deal with multi-command sequences.
   17897       ;;
   17898     '$CC '*)
   17899       # Test whether the compiler implicitly links with -lc since on some
   17900       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   17901       # to ld, don't add -lc before -lgcc.
   17902       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   17903 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   17904 if test ${lt_cv_archive_cmds_need_lc+y}
   17905 then :
   17906   printf %s "(cached) " >&6
   17907 else case e in #(
   17908   e) $RM conftest*
   17909 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17910 
   17911 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   17912   (eval $ac_compile) 2>&5
   17913   ac_status=$?
   17914   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17915   test $ac_status = 0; } 2>conftest.err; then
   17916 	  soname=conftest
   17917 	  lib=conftest
   17918 	  libobjs=conftest.$ac_objext
   17919 	  deplibs=
   17920 	  wl=$lt_prog_compiler_wl
   17921 	  pic_flag=$lt_prog_compiler_pic
   17922 	  compiler_flags=-v
   17923 	  linker_flags=-v
   17924 	  verstring=
   17925 	  output_objdir=.
   17926 	  libname=conftest
   17927 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   17928 	  allow_undefined_flag=
   17929 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   17930   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   17931   ac_status=$?
   17932   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17933   test $ac_status = 0; }
   17934 	  then
   17935 	    lt_cv_archive_cmds_need_lc=no
   17936 	  else
   17937 	    lt_cv_archive_cmds_need_lc=yes
   17938 	  fi
   17939 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   17940 	else
   17941 	  cat conftest.err 1>&5
   17942 	fi
   17943 	$RM conftest*
   17944 	 ;;
   17945 esac
   17946 fi
   17947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   17948 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   17949       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   17950       ;;
   17951     esac
   17952   fi
   17953   ;;
   17954 esac
   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 
   18092 
   18093 
   18094 
   18095 
   18096 
   18097 
   18098 
   18099 
   18100 
   18101 
   18102 
   18103 
   18104 
   18105 
   18106 
   18107   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   18108 printf %s "checking dynamic linker characteristics... " >&6; }
   18109 
   18110 if test yes = "$GCC"; then
   18111   case $host_os in
   18112     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   18113     *) lt_awk_arg='/^libraries:/' ;;
   18114   esac
   18115   case $host_os in
   18116     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   18117     *) lt_sed_strip_eq='s|=/|/|g' ;;
   18118   esac
   18119   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   18120   case $lt_search_path_spec in
   18121   *\;*)
   18122     # if the path contains ";" then we assume it to be the separator
   18123     # otherwise default to the standard path separator (i.e. ":") - it is
   18124     # assumed that no part of a normal pathname contains ";" but that should
   18125     # okay in the real world where ";" in dirpaths is itself problematic.
   18126     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   18127     ;;
   18128   *)
   18129     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   18130     ;;
   18131   esac
   18132   # Ok, now we have the path, separated by spaces, we can step through it
   18133   # and add multilib dir if necessary...
   18134   lt_tmp_lt_search_path_spec=
   18135   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   18136   # ...but if some path component already ends with the multilib dir we assume
   18137   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   18138   case "$lt_multi_os_dir; $lt_search_path_spec " in
   18139   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   18140     lt_multi_os_dir=
   18141     ;;
   18142   esac
   18143   for lt_sys_path in $lt_search_path_spec; do
   18144     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   18145       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   18146     elif test -n "$lt_multi_os_dir"; then
   18147       test -d "$lt_sys_path" && \
   18148 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   18149     fi
   18150   done
   18151   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   18152 BEGIN {RS = " "; FS = "/|\n";} {
   18153   lt_foo = "";
   18154   lt_count = 0;
   18155   for (lt_i = NF; lt_i > 0; lt_i--) {
   18156     if ($lt_i != "" && $lt_i != ".") {
   18157       if ($lt_i == "..") {
   18158         lt_count++;
   18159       } else {
   18160         if (lt_count == 0) {
   18161           lt_foo = "/" $lt_i lt_foo;
   18162         } else {
   18163           lt_count--;
   18164         }
   18165       }
   18166     }
   18167   }
   18168   if (lt_foo != "") { lt_freq[lt_foo]++; }
   18169   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   18170 }'`
   18171   # AWK program above erroneously prepends '/' to C:/dos/paths
   18172   # for these hosts.
   18173   case $host_os in
   18174     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   18175       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   18176   esac
   18177   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   18178 else
   18179   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   18180 fi
   18181 library_names_spec=
   18182 libname_spec='lib$name'
   18183 soname_spec=
   18184 shrext_cmds=.so
   18185 postinstall_cmds=
   18186 postuninstall_cmds=
   18187 finish_cmds=
   18188 finish_eval=
   18189 shlibpath_var=
   18190 shlibpath_overrides_runpath=unknown
   18191 version_type=none
   18192 dynamic_linker="$host_os ld.so"
   18193 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   18194 need_lib_prefix=unknown
   18195 hardcode_into_libs=no
   18196 
   18197 # when you set need_version to no, make sure it does not cause -set_version
   18198 # flags to be left without arguments
   18199 need_version=unknown
   18200 
   18201 
   18202 
   18203 case $host_os in
   18204 aix3*)
   18205   version_type=linux # correct to gnu/linux during the next big refactor
   18206   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   18207   shlibpath_var=LIBPATH
   18208 
   18209   # AIX 3 has no versioning support, so we append a major version to the name.
   18210   soname_spec='$libname$release$shared_ext$major'
   18211   ;;
   18212 
   18213 aix[4-9]*)
   18214   version_type=linux # correct to gnu/linux during the next big refactor
   18215   need_lib_prefix=no
   18216   need_version=no
   18217   hardcode_into_libs=yes
   18218   if test ia64 = "$host_cpu"; then
   18219     # AIX 5 supports IA64
   18220     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   18221     shlibpath_var=LD_LIBRARY_PATH
   18222   else
   18223     # With GCC up to 2.95.x, collect2 would create an import file
   18224     # for dependence libraries.  The import file would start with
   18225     # the line '#! .'.  This would cause the generated library to
   18226     # depend on '.', always an invalid library.  This was fixed in
   18227     # development snapshots of GCC prior to 3.0.
   18228     case $host_os in
   18229       aix4 | aix4.[01] | aix4.[01].*)
   18230       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   18231 	   echo ' yes '
   18232 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   18233 	:
   18234       else
   18235 	can_build_shared=no
   18236       fi
   18237       ;;
   18238     esac
   18239     # Using Import Files as archive members, it is possible to support
   18240     # filename-based versioning of shared library archives on AIX. While
   18241     # this would work for both with and without runtime linking, it will
   18242     # prevent static linking of such archives. So we do filename-based
   18243     # shared library versioning with .so extension only, which is used
   18244     # when both runtime linking and shared linking is enabled.
   18245     # Unfortunately, runtime linking may impact performance, so we do
   18246     # not want this to be the default eventually. Also, we use the
   18247     # versioned .so libs for executables only if there is the -brtl
   18248     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   18249     # To allow for filename-based versioning support, we need to create
   18250     # libNAME.so.V as an archive file, containing:
   18251     # *) an Import File, referring to the versioned filename of the
   18252     #    archive as well as the shared archive member, telling the
   18253     #    bitwidth (32 or 64) of that shared object, and providing the
   18254     #    list of exported symbols of that shared object, eventually
   18255     #    decorated with the 'weak' keyword
   18256     # *) the shared object with the F_LOADONLY flag set, to really avoid
   18257     #    it being seen by the linker.
   18258     # At run time we better use the real file rather than another symlink,
   18259     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   18260 
   18261     case $with_aix_soname,$aix_use_runtimelinking in
   18262     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   18263     # soname into executable. Probably we can add versioning support to
   18264     # collect2, so additional links can be useful in future.
   18265     aix,yes) # traditional libtool
   18266       dynamic_linker='AIX unversionable lib.so'
   18267       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   18268       # instead of lib<name>.a to let people know that these are not
   18269       # typical AIX shared libraries.
   18270       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18271       ;;
   18272     aix,no) # traditional AIX only
   18273       dynamic_linker='AIX lib.a(lib.so.V)'
   18274       # We preserve .a as extension for shared libraries through AIX4.2
   18275       # and later when we are not doing run time linking.
   18276       library_names_spec='$libname$release.a $libname.a'
   18277       soname_spec='$libname$release$shared_ext$major'
   18278       ;;
   18279     svr4,*) # full svr4 only
   18280       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   18281       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   18282       # We do not specify a path in Import Files, so LIBPATH fires.
   18283       shlibpath_overrides_runpath=yes
   18284       ;;
   18285     *,yes) # both, prefer svr4
   18286       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   18287       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   18288       # unpreferred sharedlib libNAME.a needs extra handling
   18289       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"'
   18290       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"'
   18291       # We do not specify a path in Import Files, so LIBPATH fires.
   18292       shlibpath_overrides_runpath=yes
   18293       ;;
   18294     *,no) # both, prefer aix
   18295       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   18296       library_names_spec='$libname$release.a $libname.a'
   18297       soname_spec='$libname$release$shared_ext$major'
   18298       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   18299       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)'
   18300       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"'
   18301       ;;
   18302     esac
   18303     shlibpath_var=LIBPATH
   18304   fi
   18305   ;;
   18306 
   18307 amigaos*)
   18308   case $host_cpu in
   18309   powerpc)
   18310     # Since July 2007 AmigaOS4 officially supports .so libraries.
   18311     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   18312     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18313     ;;
   18314   m68k)
   18315     library_names_spec='$libname.ixlibrary $libname.a'
   18316     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   18317     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'
   18318     ;;
   18319   esac
   18320   ;;
   18321 
   18322 beos*)
   18323   library_names_spec='$libname$shared_ext'
   18324   dynamic_linker="$host_os ld.so"
   18325   shlibpath_var=LIBRARY_PATH
   18326   ;;
   18327 
   18328 bsdi[45]*)
   18329   version_type=linux # correct to gnu/linux during the next big refactor
   18330   need_version=no
   18331   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18332   soname_spec='$libname$release$shared_ext$major'
   18333   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   18334   shlibpath_var=LD_LIBRARY_PATH
   18335   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   18336   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   18337   # the default ld.so.conf also contains /usr/contrib/lib and
   18338   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   18339   # libtool to hard-code these into programs
   18340   ;;
   18341 
   18342 cygwin* | mingw* | pw32* | cegcc*)
   18343   version_type=windows
   18344   shrext_cmds=.dll
   18345   need_version=no
   18346   need_lib_prefix=no
   18347 
   18348   case $GCC,$cc_basename in
   18349   yes,*)
   18350     # gcc
   18351     library_names_spec='$libname.dll.a'
   18352     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18353     postinstall_cmds='base_file=`basename \$file`~
   18354       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   18355       dldir=$destdir/`dirname \$dlpath`~
   18356       test -d \$dldir || mkdir -p \$dldir~
   18357       $install_prog $dir/$dlname \$dldir/$dlname~
   18358       chmod a+x \$dldir/$dlname~
   18359       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   18360         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   18361       fi'
   18362     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18363       dlpath=$dir/\$dldll~
   18364        $RM \$dlpath'
   18365     shlibpath_overrides_runpath=yes
   18366 
   18367     case $host_os in
   18368     cygwin*)
   18369       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18370       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18371 
   18372       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   18373       ;;
   18374     mingw* | cegcc*)
   18375       # MinGW DLLs use traditional 'lib' prefix
   18376       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18377       ;;
   18378     pw32*)
   18379       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18380       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18381       ;;
   18382     esac
   18383     dynamic_linker='Win32 ld.exe'
   18384     ;;
   18385 
   18386   *,cl* | *,icl*)
   18387     # Native MSVC or ICC
   18388     libname_spec='$name'
   18389     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18390     library_names_spec='$libname.dll.lib'
   18391 
   18392     case $build_os in
   18393     mingw*)
   18394       sys_lib_search_path_spec=
   18395       lt_save_ifs=$IFS
   18396       IFS=';'
   18397       for lt_path in $LIB
   18398       do
   18399         IFS=$lt_save_ifs
   18400         # Let DOS variable expansion print the short 8.3 style file name.
   18401         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   18402         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   18403       done
   18404       IFS=$lt_save_ifs
   18405       # Convert to MSYS style.
   18406       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   18407       ;;
   18408     cygwin*)
   18409       # Convert to unix form, then to dos form, then back to unix form
   18410       # but this time dos style (no spaces!) so that the unix form looks
   18411       # like /cygdrive/c/PROGRA~1:/cygdr...
   18412       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   18413       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   18414       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   18415       ;;
   18416     *)
   18417       sys_lib_search_path_spec=$LIB
   18418       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   18419         # It is most probably a Windows format PATH.
   18420         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18421       else
   18422         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   18423       fi
   18424       # FIXME: find the short name or the path components, as spaces are
   18425       # common. (e.g. "Program Files" -> "PROGRA~1")
   18426       ;;
   18427     esac
   18428 
   18429     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18430     postinstall_cmds='base_file=`basename \$file`~
   18431       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   18432       dldir=$destdir/`dirname \$dlpath`~
   18433       test -d \$dldir || mkdir -p \$dldir~
   18434       $install_prog $dir/$dlname \$dldir/$dlname'
   18435     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18436       dlpath=$dir/\$dldll~
   18437        $RM \$dlpath'
   18438     shlibpath_overrides_runpath=yes
   18439     dynamic_linker='Win32 link.exe'
   18440     ;;
   18441 
   18442   *)
   18443     # Assume MSVC and ICC wrapper
   18444     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   18445     dynamic_linker='Win32 ld.exe'
   18446     ;;
   18447   esac
   18448   # FIXME: first we should search . and the directory the executable is in
   18449   shlibpath_var=PATH
   18450   ;;
   18451 
   18452 darwin* | rhapsody*)
   18453   dynamic_linker="$host_os dyld"
   18454   version_type=darwin
   18455   need_lib_prefix=no
   18456   need_version=no
   18457   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   18458   soname_spec='$libname$release$major$shared_ext'
   18459   shlibpath_overrides_runpath=yes
   18460   shlibpath_var=DYLD_LIBRARY_PATH
   18461   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18462 
   18463   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   18464   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18465   ;;
   18466 
   18467 dgux*)
   18468   version_type=linux # correct to gnu/linux during the next big refactor
   18469   need_lib_prefix=no
   18470   need_version=no
   18471   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18472   soname_spec='$libname$release$shared_ext$major'
   18473   shlibpath_var=LD_LIBRARY_PATH
   18474   ;;
   18475 
   18476 freebsd* | dragonfly* | midnightbsd*)
   18477   # DragonFly does not have aout.  When/if they implement a new
   18478   # versioning mechanism, adjust this.
   18479   if test -x /usr/bin/objformat; then
   18480     objformat=`/usr/bin/objformat`
   18481   else
   18482     case $host_os in
   18483     freebsd[23].*) objformat=aout ;;
   18484     *) objformat=elf ;;
   18485     esac
   18486   fi
   18487   version_type=freebsd-$objformat
   18488   case $version_type in
   18489     freebsd-elf*)
   18490       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18491       soname_spec='$libname$release$shared_ext$major'
   18492       need_version=no
   18493       need_lib_prefix=no
   18494       ;;
   18495     freebsd-*)
   18496       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18497       need_version=yes
   18498       ;;
   18499   esac
   18500   shlibpath_var=LD_LIBRARY_PATH
   18501   case $host_os in
   18502   freebsd2.*)
   18503     shlibpath_overrides_runpath=yes
   18504     ;;
   18505   freebsd3.[01]* | freebsdelf3.[01]*)
   18506     shlibpath_overrides_runpath=yes
   18507     hardcode_into_libs=yes
   18508     ;;
   18509   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18510   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18511     shlibpath_overrides_runpath=no
   18512     hardcode_into_libs=yes
   18513     ;;
   18514   *) # from 4.6 on, and DragonFly
   18515     shlibpath_overrides_runpath=yes
   18516     hardcode_into_libs=yes
   18517     ;;
   18518   esac
   18519   ;;
   18520 
   18521 haiku*)
   18522   version_type=linux # correct to gnu/linux during the next big refactor
   18523   need_lib_prefix=no
   18524   need_version=no
   18525   dynamic_linker="$host_os runtime_loader"
   18526   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18527   soname_spec='$libname$release$shared_ext$major'
   18528   shlibpath_var=LIBRARY_PATH
   18529   shlibpath_overrides_runpath=no
   18530   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   18531   hardcode_into_libs=yes
   18532   ;;
   18533 
   18534 hpux9* | hpux10* | hpux11*)
   18535   # Give a soname corresponding to the major version so that dld.sl refuses to
   18536   # link against other versions.
   18537   version_type=sunos
   18538   need_lib_prefix=no
   18539   need_version=no
   18540   case $host_cpu in
   18541   ia64*)
   18542     shrext_cmds='.so'
   18543     hardcode_into_libs=yes
   18544     dynamic_linker="$host_os dld.so"
   18545     shlibpath_var=LD_LIBRARY_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     if test 32 = "$HPUX_IA64_MODE"; then
   18550       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18551       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   18552     else
   18553       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18554       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   18555     fi
   18556     ;;
   18557   hppa*64*)
   18558     shrext_cmds='.sl'
   18559     hardcode_into_libs=yes
   18560     dynamic_linker="$host_os dld.sl"
   18561     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18562     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18563     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18564     soname_spec='$libname$release$shared_ext$major'
   18565     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18566     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18567     ;;
   18568   *)
   18569     shrext_cmds='.sl'
   18570     dynamic_linker="$host_os dld.sl"
   18571     shlibpath_var=SHLIB_PATH
   18572     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18573     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18574     soname_spec='$libname$release$shared_ext$major'
   18575     ;;
   18576   esac
   18577   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   18578   postinstall_cmds='chmod 555 $lib'
   18579   # or fails outright, so override atomically:
   18580   install_override_mode=555
   18581   ;;
   18582 
   18583 interix[3-9]*)
   18584   version_type=linux # correct to gnu/linux during the next big refactor
   18585   need_lib_prefix=no
   18586   need_version=no
   18587   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18588   soname_spec='$libname$release$shared_ext$major'
   18589   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18590   shlibpath_var=LD_LIBRARY_PATH
   18591   shlibpath_overrides_runpath=no
   18592   hardcode_into_libs=yes
   18593   ;;
   18594 
   18595 irix5* | irix6* | nonstopux*)
   18596   case $host_os in
   18597     nonstopux*) version_type=nonstopux ;;
   18598     *)
   18599 	if test yes = "$lt_cv_prog_gnu_ld"; then
   18600 		version_type=linux # correct to gnu/linux during the next big refactor
   18601 	else
   18602 		version_type=irix
   18603 	fi ;;
   18604   esac
   18605   need_lib_prefix=no
   18606   need_version=no
   18607   soname_spec='$libname$release$shared_ext$major'
   18608   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   18609   case $host_os in
   18610   irix5* | nonstopux*)
   18611     libsuff= shlibsuff=
   18612     ;;
   18613   *)
   18614     case $LD in # libtool.m4 will add one of these switches to LD
   18615     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18616       libsuff= shlibsuff= libmagic=32-bit;;
   18617     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18618       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18619     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18620       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18621     *) libsuff= shlibsuff= libmagic=never-match;;
   18622     esac
   18623     ;;
   18624   esac
   18625   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18626   shlibpath_overrides_runpath=no
   18627   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   18628   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   18629   hardcode_into_libs=yes
   18630   ;;
   18631 
   18632 # No shared lib support for Linux oldld, aout, or coff.
   18633 linux*oldld* | linux*aout* | linux*coff*)
   18634   dynamic_linker=no
   18635   ;;
   18636 
   18637 linux*android*)
   18638   version_type=none # Android doesn't support versioned libraries.
   18639   need_lib_prefix=no
   18640   need_version=no
   18641   library_names_spec='$libname$release$shared_ext'
   18642   soname_spec='$libname$release$shared_ext'
   18643   finish_cmds=
   18644   shlibpath_var=LD_LIBRARY_PATH
   18645   shlibpath_overrides_runpath=yes
   18646 
   18647   # This implies no fast_install, which is unacceptable.
   18648   # Some rework will be needed to allow for fast_install
   18649   # before this can be enabled.
   18650   hardcode_into_libs=yes
   18651 
   18652   dynamic_linker='Android linker'
   18653   # Don't embed -rpath directories since the linker doesn't support them.
   18654   hardcode_libdir_flag_spec='-L$libdir'
   18655   ;;
   18656 
   18657 # This must be glibc/ELF.
   18658 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   18659   version_type=linux # correct to gnu/linux during the next big refactor
   18660   need_lib_prefix=no
   18661   need_version=no
   18662   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18663   soname_spec='$libname$release$shared_ext$major'
   18664   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18665   shlibpath_var=LD_LIBRARY_PATH
   18666   shlibpath_overrides_runpath=no
   18667 
   18668   # Some binutils ld are patched to set DT_RUNPATH
   18669   if test ${lt_cv_shlibpath_overrides_runpath+y}
   18670 then :
   18671   printf %s "(cached) " >&6
   18672 else case e in #(
   18673   e) lt_cv_shlibpath_overrides_runpath=no
   18674     save_LDFLAGS=$LDFLAGS
   18675     save_libdir=$libdir
   18676     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   18677 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   18678     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18679 /* end confdefs.h.  */
   18680 
   18681 int
   18682 main (void)
   18683 {
   18684 
   18685   ;
   18686   return 0;
   18687 }
   18688 _ACEOF
   18689 if ac_fn_c_try_link "$LINENO"
   18690 then :
   18691   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   18692 then :
   18693   lt_cv_shlibpath_overrides_runpath=yes
   18694 fi
   18695 fi
   18696 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18697     conftest$ac_exeext conftest.$ac_ext
   18698     LDFLAGS=$save_LDFLAGS
   18699     libdir=$save_libdir
   18700      ;;
   18701 esac
   18702 fi
   18703 
   18704   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   18705 
   18706   # This implies no fast_install, which is unacceptable.
   18707   # Some rework will be needed to allow for fast_install
   18708   # before this can be enabled.
   18709   hardcode_into_libs=yes
   18710 
   18711   # Ideally, we could use ldconfig to report *all* directores which are
   18712   # searched for libraries, however this is still not possible.  Aside from not
   18713   # being certain /sbin/ldconfig is available, command
   18714   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   18715   # even though it is searched at run-time.  Try to do the best guess by
   18716   # appending ld.so.conf contents (and includes) to the search path.
   18717   if test -f /etc/ld.so.conf; then
   18718     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' ' '`
   18719     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   18720   fi
   18721 
   18722   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18723   # powerpc, because MkLinux only supported shared libraries with the
   18724   # GNU dynamic linker.  Since this was broken with cross compilers,
   18725   # most powerpc-linux boxes support dynamic linking these days and
   18726   # people can always --disable-shared, the test was removed, and we
   18727   # assume the GNU/Linux dynamic linker is in use.
   18728   dynamic_linker='GNU/Linux ld.so'
   18729   ;;
   18730 
   18731 netbsd*)
   18732   version_type=sunos
   18733   need_lib_prefix=no
   18734   need_version=no
   18735   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   18736     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18737     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18738     dynamic_linker='NetBSD (a.out) ld.so'
   18739   else
   18740     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18741     soname_spec='$libname$release$shared_ext$major'
   18742     dynamic_linker='NetBSD ld.elf_so'
   18743   fi
   18744   shlibpath_var=LD_LIBRARY_PATH
   18745   shlibpath_overrides_runpath=yes
   18746   hardcode_into_libs=yes
   18747   ;;
   18748 
   18749 newsos6)
   18750   version_type=linux # correct to gnu/linux during the next big refactor
   18751   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18752   shlibpath_var=LD_LIBRARY_PATH
   18753   shlibpath_overrides_runpath=yes
   18754   ;;
   18755 
   18756 *nto* | *qnx*)
   18757   version_type=qnx
   18758   need_lib_prefix=no
   18759   need_version=no
   18760   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18761   soname_spec='$libname$release$shared_ext$major'
   18762   shlibpath_var=LD_LIBRARY_PATH
   18763   shlibpath_overrides_runpath=no
   18764   hardcode_into_libs=yes
   18765   dynamic_linker='ldqnx.so'
   18766   ;;
   18767 
   18768 openbsd* | bitrig*)
   18769   version_type=sunos
   18770   sys_lib_dlsearch_path_spec=/usr/lib
   18771   need_lib_prefix=no
   18772   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   18773     need_version=no
   18774   else
   18775     need_version=yes
   18776   fi
   18777   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18778   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18779   shlibpath_var=LD_LIBRARY_PATH
   18780   shlibpath_overrides_runpath=yes
   18781   ;;
   18782 
   18783 os2*)
   18784   libname_spec='$name'
   18785   version_type=windows
   18786   shrext_cmds=.dll
   18787   need_version=no
   18788   need_lib_prefix=no
   18789   # OS/2 can only load a DLL with a base name of 8 characters or less.
   18790   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   18791     v=$($ECHO $release$versuffix | tr -d .-);
   18792     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   18793     $ECHO $n$v`$shared_ext'
   18794   library_names_spec='${libname}_dll.$libext'
   18795   dynamic_linker='OS/2 ld.exe'
   18796   shlibpath_var=BEGINLIBPATH
   18797   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   18798   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18799   postinstall_cmds='base_file=`basename \$file`~
   18800     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   18801     dldir=$destdir/`dirname \$dlpath`~
   18802     test -d \$dldir || mkdir -p \$dldir~
   18803     $install_prog $dir/$dlname \$dldir/$dlname~
   18804     chmod a+x \$dldir/$dlname~
   18805     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   18806       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   18807     fi'
   18808   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   18809     dlpath=$dir/\$dldll~
   18810     $RM \$dlpath'
   18811   ;;
   18812 
   18813 osf3* | osf4* | osf5*)
   18814   version_type=osf
   18815   need_lib_prefix=no
   18816   need_version=no
   18817   soname_spec='$libname$release$shared_ext$major'
   18818   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18819   shlibpath_var=LD_LIBRARY_PATH
   18820   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18821   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18822   ;;
   18823 
   18824 rdos*)
   18825   dynamic_linker=no
   18826   ;;
   18827 
   18828 solaris*)
   18829   version_type=linux # correct to gnu/linux during the next big refactor
   18830   need_lib_prefix=no
   18831   need_version=no
   18832   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18833   soname_spec='$libname$release$shared_ext$major'
   18834   shlibpath_var=LD_LIBRARY_PATH
   18835   shlibpath_overrides_runpath=yes
   18836   hardcode_into_libs=yes
   18837   # ldd complains unless libraries are executable
   18838   postinstall_cmds='chmod +x $lib'
   18839   ;;
   18840 
   18841 sunos4*)
   18842   version_type=sunos
   18843   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18844   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18845   shlibpath_var=LD_LIBRARY_PATH
   18846   shlibpath_overrides_runpath=yes
   18847   if test yes = "$with_gnu_ld"; then
   18848     need_lib_prefix=no
   18849   fi
   18850   need_version=yes
   18851   ;;
   18852 
   18853 sysv4 | sysv4.3*)
   18854   version_type=linux # correct to gnu/linux during the next big refactor
   18855   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18856   soname_spec='$libname$release$shared_ext$major'
   18857   shlibpath_var=LD_LIBRARY_PATH
   18858   case $host_vendor in
   18859     sni)
   18860       shlibpath_overrides_runpath=no
   18861       need_lib_prefix=no
   18862       runpath_var=LD_RUN_PATH
   18863       ;;
   18864     siemens)
   18865       need_lib_prefix=no
   18866       ;;
   18867     motorola)
   18868       need_lib_prefix=no
   18869       need_version=no
   18870       shlibpath_overrides_runpath=no
   18871       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18872       ;;
   18873   esac
   18874   ;;
   18875 
   18876 sysv4*MP*)
   18877   if test -d /usr/nec; then
   18878     version_type=linux # correct to gnu/linux during the next big refactor
   18879     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   18880     soname_spec='$libname$shared_ext.$major'
   18881     shlibpath_var=LD_LIBRARY_PATH
   18882   fi
   18883   ;;
   18884 
   18885 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18886   version_type=sco
   18887   need_lib_prefix=no
   18888   need_version=no
   18889   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   18890   soname_spec='$libname$release$shared_ext$major'
   18891   shlibpath_var=LD_LIBRARY_PATH
   18892   shlibpath_overrides_runpath=yes
   18893   hardcode_into_libs=yes
   18894   if test yes = "$with_gnu_ld"; then
   18895     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18896   else
   18897     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18898     case $host_os in
   18899       sco3.2v5*)
   18900         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18901 	;;
   18902     esac
   18903   fi
   18904   sys_lib_dlsearch_path_spec='/usr/lib'
   18905   ;;
   18906 
   18907 tpf*)
   18908   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   18909   version_type=linux # correct to gnu/linux during the next big refactor
   18910   need_lib_prefix=no
   18911   need_version=no
   18912   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18913   shlibpath_var=LD_LIBRARY_PATH
   18914   shlibpath_overrides_runpath=no
   18915   hardcode_into_libs=yes
   18916   ;;
   18917 
   18918 uts4*)
   18919   version_type=linux # correct to gnu/linux during the next big refactor
   18920   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18921   soname_spec='$libname$release$shared_ext$major'
   18922   shlibpath_var=LD_LIBRARY_PATH
   18923   ;;
   18924 
   18925 *)
   18926   dynamic_linker=no
   18927   ;;
   18928 esac
   18929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   18930 printf "%s\n" "$dynamic_linker" >&6; }
   18931 test no = "$dynamic_linker" && can_build_shared=no
   18932 
   18933 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   18934 if test yes = "$GCC"; then
   18935   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   18936 fi
   18937 
   18938 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   18939   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   18940 fi
   18941 
   18942 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   18943   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   18944 fi
   18945 
   18946 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   18947 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   18948 
   18949 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   18950 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   18951 
   18952 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   18953 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   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 
   19036 
   19037 
   19038 
   19039 
   19040 
   19041 
   19042 
   19043 
   19044 
   19045 
   19046 
   19047 
   19048 
   19049 
   19050 
   19051   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   19052 printf %s "checking how to hardcode library paths into programs... " >&6; }
   19053 hardcode_action=
   19054 if test -n "$hardcode_libdir_flag_spec" ||
   19055    test -n "$runpath_var" ||
   19056    test yes = "$hardcode_automatic"; then
   19057 
   19058   # We can hardcode non-existent directories.
   19059   if test no != "$hardcode_direct" &&
   19060      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   19061      # have to relink, otherwise we might link with an installed library
   19062      # when we should be linking with a yet-to-be-installed one
   19063      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   19064      test no != "$hardcode_minus_L"; then
   19065     # Linking always hardcodes the temporary library directory.
   19066     hardcode_action=relink
   19067   else
   19068     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   19069     hardcode_action=immediate
   19070   fi
   19071 else
   19072   # We cannot hardcode anything, or else we can only hardcode existing
   19073   # directories.
   19074   hardcode_action=unsupported
   19075 fi
   19076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   19077 printf "%s\n" "$hardcode_action" >&6; }
   19078 
   19079 if test relink = "$hardcode_action" ||
   19080    test yes = "$inherit_rpath"; then
   19081   # Fast installation is not supported
   19082   enable_fast_install=no
   19083 elif test yes = "$shlibpath_overrides_runpath" ||
   19084      test no = "$enable_shared"; then
   19085   # Fast installation is not necessary
   19086   enable_fast_install=needless
   19087 fi
   19088 
   19089 
   19090 
   19091 
   19092 
   19093 
   19094   if test yes != "$enable_dlopen"; then
   19095   enable_dlopen=unknown
   19096   enable_dlopen_self=unknown
   19097   enable_dlopen_self_static=unknown
   19098 else
   19099   lt_cv_dlopen=no
   19100   lt_cv_dlopen_libs=
   19101 
   19102   case $host_os in
   19103   beos*)
   19104     lt_cv_dlopen=load_add_on
   19105     lt_cv_dlopen_libs=
   19106     lt_cv_dlopen_self=yes
   19107     ;;
   19108 
   19109   mingw* | pw32* | cegcc*)
   19110     lt_cv_dlopen=LoadLibrary
   19111     lt_cv_dlopen_libs=
   19112     ;;
   19113 
   19114   cygwin*)
   19115     lt_cv_dlopen=dlopen
   19116     lt_cv_dlopen_libs=
   19117     ;;
   19118 
   19119   darwin*)
   19120     # if libdl is installed we need to link against it
   19121     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   19122 printf %s "checking for dlopen in -ldl... " >&6; }
   19123 if test ${ac_cv_lib_dl_dlopen+y}
   19124 then :
   19125   printf %s "(cached) " >&6
   19126 else case e in #(
   19127   e) ac_check_lib_save_LIBS=$LIBS
   19128 LIBS="-ldl  $LIBS"
   19129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19130 /* end confdefs.h.  */
   19131 
   19132 /* Override any GCC internal prototype to avoid an error.
   19133    Use char because int might match the return type of a GCC
   19134    builtin and then its argument prototype would still apply.
   19135    The 'extern "C"' is for builds by C++ compilers;
   19136    although this is not generally supported in C code supporting it here
   19137    has little cost and some practical benefit (sr 110532).  */
   19138 #ifdef __cplusplus
   19139 extern "C"
   19140 #endif
   19141 char dlopen (void);
   19142 int
   19143 main (void)
   19144 {
   19145 return dlopen ();
   19146   ;
   19147   return 0;
   19148 }
   19149 _ACEOF
   19150 if ac_fn_c_try_link "$LINENO"
   19151 then :
   19152   ac_cv_lib_dl_dlopen=yes
   19153 else case e in #(
   19154   e) ac_cv_lib_dl_dlopen=no ;;
   19155 esac
   19156 fi
   19157 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19158     conftest$ac_exeext conftest.$ac_ext
   19159 LIBS=$ac_check_lib_save_LIBS ;;
   19160 esac
   19161 fi
   19162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   19163 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   19164 if test "x$ac_cv_lib_dl_dlopen" = xyes
   19165 then :
   19166   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   19167 else case e in #(
   19168   e)
   19169     lt_cv_dlopen=dyld
   19170     lt_cv_dlopen_libs=
   19171     lt_cv_dlopen_self=yes
   19172      ;;
   19173 esac
   19174 fi
   19175 
   19176     ;;
   19177 
   19178   tpf*)
   19179     # Don't try to run any link tests for TPF.  We know it's impossible
   19180     # because TPF is a cross-compiler, and we know how we open DSOs.
   19181     lt_cv_dlopen=dlopen
   19182     lt_cv_dlopen_libs=
   19183     lt_cv_dlopen_self=no
   19184     ;;
   19185 
   19186   *)
   19187     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   19188 if test "x$ac_cv_func_shl_load" = xyes
   19189 then :
   19190   lt_cv_dlopen=shl_load
   19191 else case e in #(
   19192   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   19193 printf %s "checking for shl_load in -ldld... " >&6; }
   19194 if test ${ac_cv_lib_dld_shl_load+y}
   19195 then :
   19196   printf %s "(cached) " >&6
   19197 else case e in #(
   19198   e) ac_check_lib_save_LIBS=$LIBS
   19199 LIBS="-ldld  $LIBS"
   19200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19201 /* end confdefs.h.  */
   19202 
   19203 /* Override any GCC internal prototype to avoid an error.
   19204    Use char because int might match the return type of a GCC
   19205    builtin and then its argument prototype would still apply.
   19206    The 'extern "C"' is for builds by C++ compilers;
   19207    although this is not generally supported in C code supporting it here
   19208    has little cost and some practical benefit (sr 110532).  */
   19209 #ifdef __cplusplus
   19210 extern "C"
   19211 #endif
   19212 char shl_load (void);
   19213 int
   19214 main (void)
   19215 {
   19216 return shl_load ();
   19217   ;
   19218   return 0;
   19219 }
   19220 _ACEOF
   19221 if ac_fn_c_try_link "$LINENO"
   19222 then :
   19223   ac_cv_lib_dld_shl_load=yes
   19224 else case e in #(
   19225   e) ac_cv_lib_dld_shl_load=no ;;
   19226 esac
   19227 fi
   19228 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19229     conftest$ac_exeext conftest.$ac_ext
   19230 LIBS=$ac_check_lib_save_LIBS ;;
   19231 esac
   19232 fi
   19233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   19234 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   19235 if test "x$ac_cv_lib_dld_shl_load" = xyes
   19236 then :
   19237   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   19238 else case e in #(
   19239   e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   19240 if test "x$ac_cv_func_dlopen" = xyes
   19241 then :
   19242   lt_cv_dlopen=dlopen
   19243 else case e in #(
   19244   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   19245 printf %s "checking for dlopen in -ldl... " >&6; }
   19246 if test ${ac_cv_lib_dl_dlopen+y}
   19247 then :
   19248   printf %s "(cached) " >&6
   19249 else case e in #(
   19250   e) ac_check_lib_save_LIBS=$LIBS
   19251 LIBS="-ldl  $LIBS"
   19252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19253 /* end confdefs.h.  */
   19254 
   19255 /* Override any GCC internal prototype to avoid an error.
   19256    Use char because int might match the return type of a GCC
   19257    builtin and then its argument prototype would still apply.
   19258    The 'extern "C"' is for builds by C++ compilers;
   19259    although this is not generally supported in C code supporting it here
   19260    has little cost and some practical benefit (sr 110532).  */
   19261 #ifdef __cplusplus
   19262 extern "C"
   19263 #endif
   19264 char dlopen (void);
   19265 int
   19266 main (void)
   19267 {
   19268 return dlopen ();
   19269   ;
   19270   return 0;
   19271 }
   19272 _ACEOF
   19273 if ac_fn_c_try_link "$LINENO"
   19274 then :
   19275   ac_cv_lib_dl_dlopen=yes
   19276 else case e in #(
   19277   e) ac_cv_lib_dl_dlopen=no ;;
   19278 esac
   19279 fi
   19280 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19281     conftest$ac_exeext conftest.$ac_ext
   19282 LIBS=$ac_check_lib_save_LIBS ;;
   19283 esac
   19284 fi
   19285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   19286 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   19287 if test "x$ac_cv_lib_dl_dlopen" = xyes
   19288 then :
   19289   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   19290 else case e in #(
   19291   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   19292 printf %s "checking for dlopen in -lsvld... " >&6; }
   19293 if test ${ac_cv_lib_svld_dlopen+y}
   19294 then :
   19295   printf %s "(cached) " >&6
   19296 else case e in #(
   19297   e) ac_check_lib_save_LIBS=$LIBS
   19298 LIBS="-lsvld  $LIBS"
   19299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19300 /* end confdefs.h.  */
   19301 
   19302 /* Override any GCC internal prototype to avoid an error.
   19303    Use char because int might match the return type of a GCC
   19304    builtin and then its argument prototype would still apply.
   19305    The 'extern "C"' is for builds by C++ compilers;
   19306    although this is not generally supported in C code supporting it here
   19307    has little cost and some practical benefit (sr 110532).  */
   19308 #ifdef __cplusplus
   19309 extern "C"
   19310 #endif
   19311 char dlopen (void);
   19312 int
   19313 main (void)
   19314 {
   19315 return dlopen ();
   19316   ;
   19317   return 0;
   19318 }
   19319 _ACEOF
   19320 if ac_fn_c_try_link "$LINENO"
   19321 then :
   19322   ac_cv_lib_svld_dlopen=yes
   19323 else case e in #(
   19324   e) ac_cv_lib_svld_dlopen=no ;;
   19325 esac
   19326 fi
   19327 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19328     conftest$ac_exeext conftest.$ac_ext
   19329 LIBS=$ac_check_lib_save_LIBS ;;
   19330 esac
   19331 fi
   19332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   19333 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   19334 if test "x$ac_cv_lib_svld_dlopen" = xyes
   19335 then :
   19336   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   19337 else case e in #(
   19338   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   19339 printf %s "checking for dld_link in -ldld... " >&6; }
   19340 if test ${ac_cv_lib_dld_dld_link+y}
   19341 then :
   19342   printf %s "(cached) " >&6
   19343 else case e in #(
   19344   e) ac_check_lib_save_LIBS=$LIBS
   19345 LIBS="-ldld  $LIBS"
   19346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19347 /* end confdefs.h.  */
   19348 
   19349 /* Override any GCC internal prototype to avoid an error.
   19350    Use char because int might match the return type of a GCC
   19351    builtin and then its argument prototype would still apply.
   19352    The 'extern "C"' is for builds by C++ compilers;
   19353    although this is not generally supported in C code supporting it here
   19354    has little cost and some practical benefit (sr 110532).  */
   19355 #ifdef __cplusplus
   19356 extern "C"
   19357 #endif
   19358 char dld_link (void);
   19359 int
   19360 main (void)
   19361 {
   19362 return dld_link ();
   19363   ;
   19364   return 0;
   19365 }
   19366 _ACEOF
   19367 if ac_fn_c_try_link "$LINENO"
   19368 then :
   19369   ac_cv_lib_dld_dld_link=yes
   19370 else case e in #(
   19371   e) ac_cv_lib_dld_dld_link=no ;;
   19372 esac
   19373 fi
   19374 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19375     conftest$ac_exeext conftest.$ac_ext
   19376 LIBS=$ac_check_lib_save_LIBS ;;
   19377 esac
   19378 fi
   19379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   19380 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   19381 if test "x$ac_cv_lib_dld_dld_link" = xyes
   19382 then :
   19383   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   19384 fi
   19385 
   19386 	       ;;
   19387 esac
   19388 fi
   19389 
   19390 	     ;;
   19391 esac
   19392 fi
   19393 
   19394 	   ;;
   19395 esac
   19396 fi
   19397 
   19398 	 ;;
   19399 esac
   19400 fi
   19401 
   19402        ;;
   19403 esac
   19404 fi
   19405 
   19406     ;;
   19407   esac
   19408 
   19409   if test no = "$lt_cv_dlopen"; then
   19410     enable_dlopen=no
   19411   else
   19412     enable_dlopen=yes
   19413   fi
   19414 
   19415   case $lt_cv_dlopen in
   19416   dlopen)
   19417     save_CPPFLAGS=$CPPFLAGS
   19418     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   19419 
   19420     save_LDFLAGS=$LDFLAGS
   19421     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   19422 
   19423     save_LIBS=$LIBS
   19424     LIBS="$lt_cv_dlopen_libs $LIBS"
   19425 
   19426     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   19427 printf %s "checking whether a program can dlopen itself... " >&6; }
   19428 if test ${lt_cv_dlopen_self+y}
   19429 then :
   19430   printf %s "(cached) " >&6
   19431 else case e in #(
   19432   e) 	  if test yes = "$cross_compiling"; then :
   19433   lt_cv_dlopen_self=cross
   19434 else
   19435   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   19436   lt_status=$lt_dlunknown
   19437   cat > conftest.$ac_ext <<_LT_EOF
   19438 #line $LINENO "configure"
   19439 #include "confdefs.h"
   19440 
   19441 #if HAVE_DLFCN_H
   19442 #include <dlfcn.h>
   19443 #endif
   19444 
   19445 #include <stdio.h>
   19446 
   19447 #ifdef RTLD_GLOBAL
   19448 #  define LT_DLGLOBAL		RTLD_GLOBAL
   19449 #else
   19450 #  ifdef DL_GLOBAL
   19451 #    define LT_DLGLOBAL		DL_GLOBAL
   19452 #  else
   19453 #    define LT_DLGLOBAL		0
   19454 #  endif
   19455 #endif
   19456 
   19457 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   19458    find out it does not work in some platform. */
   19459 #ifndef LT_DLLAZY_OR_NOW
   19460 #  ifdef RTLD_LAZY
   19461 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   19462 #  else
   19463 #    ifdef DL_LAZY
   19464 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   19465 #    else
   19466 #      ifdef RTLD_NOW
   19467 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   19468 #      else
   19469 #        ifdef DL_NOW
   19470 #          define LT_DLLAZY_OR_NOW	DL_NOW
   19471 #        else
   19472 #          define LT_DLLAZY_OR_NOW	0
   19473 #        endif
   19474 #      endif
   19475 #    endif
   19476 #  endif
   19477 #endif
   19478 
   19479 /* When -fvisibility=hidden is used, assume the code has been annotated
   19480    correspondingly for the symbols needed.  */
   19481 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   19482 int fnord () __attribute__((visibility("default")));
   19483 #endif
   19484 
   19485 int fnord () { return 42; }
   19486 int main ()
   19487 {
   19488   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   19489   int status = $lt_dlunknown;
   19490 
   19491   if (self)
   19492     {
   19493       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   19494       else
   19495         {
   19496 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   19497           else puts (dlerror ());
   19498 	}
   19499       /* dlclose (self); */
   19500     }
   19501   else
   19502     puts (dlerror ());
   19503 
   19504   return status;
   19505 }
   19506 _LT_EOF
   19507   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   19508   (eval $ac_link) 2>&5
   19509   ac_status=$?
   19510   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19511   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   19512     (./conftest; exit; ) >&5 2>/dev/null
   19513     lt_status=$?
   19514     case x$lt_status in
   19515       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   19516       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   19517       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   19518     esac
   19519   else :
   19520     # compilation failed
   19521     lt_cv_dlopen_self=no
   19522   fi
   19523 fi
   19524 rm -fr conftest*
   19525 
   19526      ;;
   19527 esac
   19528 fi
   19529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   19530 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   19531 
   19532     if test yes = "$lt_cv_dlopen_self"; then
   19533       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   19534       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   19535 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   19536 if test ${lt_cv_dlopen_self_static+y}
   19537 then :
   19538   printf %s "(cached) " >&6
   19539 else case e in #(
   19540   e) 	  if test yes = "$cross_compiling"; then :
   19541   lt_cv_dlopen_self_static=cross
   19542 else
   19543   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   19544   lt_status=$lt_dlunknown
   19545   cat > conftest.$ac_ext <<_LT_EOF
   19546 #line $LINENO "configure"
   19547 #include "confdefs.h"
   19548 
   19549 #if HAVE_DLFCN_H
   19550 #include <dlfcn.h>
   19551 #endif
   19552 
   19553 #include <stdio.h>
   19554 
   19555 #ifdef RTLD_GLOBAL
   19556 #  define LT_DLGLOBAL		RTLD_GLOBAL
   19557 #else
   19558 #  ifdef DL_GLOBAL
   19559 #    define LT_DLGLOBAL		DL_GLOBAL
   19560 #  else
   19561 #    define LT_DLGLOBAL		0
   19562 #  endif
   19563 #endif
   19564 
   19565 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   19566    find out it does not work in some platform. */
   19567 #ifndef LT_DLLAZY_OR_NOW
   19568 #  ifdef RTLD_LAZY
   19569 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   19570 #  else
   19571 #    ifdef DL_LAZY
   19572 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   19573 #    else
   19574 #      ifdef RTLD_NOW
   19575 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   19576 #      else
   19577 #        ifdef DL_NOW
   19578 #          define LT_DLLAZY_OR_NOW	DL_NOW
   19579 #        else
   19580 #          define LT_DLLAZY_OR_NOW	0
   19581 #        endif
   19582 #      endif
   19583 #    endif
   19584 #  endif
   19585 #endif
   19586 
   19587 /* When -fvisibility=hidden is used, assume the code has been annotated
   19588    correspondingly for the symbols needed.  */
   19589 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   19590 int fnord () __attribute__((visibility("default")));
   19591 #endif
   19592 
   19593 int fnord () { return 42; }
   19594 int main ()
   19595 {
   19596   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   19597   int status = $lt_dlunknown;
   19598 
   19599   if (self)
   19600     {
   19601       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   19602       else
   19603         {
   19604 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   19605           else puts (dlerror ());
   19606 	}
   19607       /* dlclose (self); */
   19608     }
   19609   else
   19610     puts (dlerror ());
   19611 
   19612   return status;
   19613 }
   19614 _LT_EOF
   19615   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   19616   (eval $ac_link) 2>&5
   19617   ac_status=$?
   19618   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19619   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   19620     (./conftest; exit; ) >&5 2>/dev/null
   19621     lt_status=$?
   19622     case x$lt_status in
   19623       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   19624       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   19625       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   19626     esac
   19627   else :
   19628     # compilation failed
   19629     lt_cv_dlopen_self_static=no
   19630   fi
   19631 fi
   19632 rm -fr conftest*
   19633 
   19634        ;;
   19635 esac
   19636 fi
   19637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   19638 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   19639     fi
   19640 
   19641     CPPFLAGS=$save_CPPFLAGS
   19642     LDFLAGS=$save_LDFLAGS
   19643     LIBS=$save_LIBS
   19644     ;;
   19645   esac
   19646 
   19647   case $lt_cv_dlopen_self in
   19648   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   19649   *) enable_dlopen_self=unknown ;;
   19650   esac
   19651 
   19652   case $lt_cv_dlopen_self_static in
   19653   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   19654   *) enable_dlopen_self_static=unknown ;;
   19655   esac
   19656 fi
   19657 
   19658 
   19659 
   19660 
   19661 
   19662 
   19663 
   19664 
   19665 
   19666 
   19667 
   19668 
   19669 
   19670 
   19671 
   19672 
   19673 
   19674 striplib=
   19675 old_striplib=
   19676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   19677 printf %s "checking whether stripping libraries is possible... " >&6; }
   19678 if test -z "$STRIP"; then
   19679   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19680 printf "%s\n" "no" >&6; }
   19681 else
   19682   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   19683     old_striplib="$STRIP --strip-debug"
   19684     striplib="$STRIP --strip-unneeded"
   19685     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19686 printf "%s\n" "yes" >&6; }
   19687   else
   19688     case $host_os in
   19689     darwin*)
   19690       # FIXME - insert some real tests, host_os isn't really good enough
   19691       striplib="$STRIP -x"
   19692       old_striplib="$STRIP -S"
   19693       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19694 printf "%s\n" "yes" >&6; }
   19695       ;;
   19696     freebsd*)
   19697       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   19698         old_striplib="$STRIP --strip-debug"
   19699         striplib="$STRIP --strip-unneeded"
   19700         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19701 printf "%s\n" "yes" >&6; }
   19702       else
   19703         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19704 printf "%s\n" "no" >&6; }
   19705       fi
   19706       ;;
   19707     *)
   19708       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19709 printf "%s\n" "no" >&6; }
   19710       ;;
   19711     esac
   19712   fi
   19713 fi
   19714 
   19715 
   19716 
   19717 
   19718 
   19719 
   19720 
   19721 
   19722 
   19723 
   19724 
   19725 
   19726   # Report what library types will actually be built
   19727   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   19728 printf %s "checking if libtool supports shared libraries... " >&6; }
   19729   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   19730 printf "%s\n" "$can_build_shared" >&6; }
   19731 
   19732   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   19733 printf %s "checking whether to build shared libraries... " >&6; }
   19734   test no = "$can_build_shared" && enable_shared=no
   19735 
   19736   # On AIX, shared libraries and static libraries use the same namespace, and
   19737   # are all built from PIC.
   19738   case $host_os in
   19739   aix3*)
   19740     test yes = "$enable_shared" && enable_static=no
   19741     if test -n "$RANLIB"; then
   19742       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   19743       postinstall_cmds='$RANLIB $lib'
   19744     fi
   19745     ;;
   19746 
   19747   aix[4-9]*)
   19748     if test ia64 != "$host_cpu"; then
   19749       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   19750       yes,aix,yes) ;;			# shared object as lib.so file only
   19751       yes,svr4,*) ;;			# shared object as lib.so archive member only
   19752       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   19753       esac
   19754     fi
   19755     ;;
   19756   esac
   19757   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   19758 printf "%s\n" "$enable_shared" >&6; }
   19759 
   19760   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   19761 printf %s "checking whether to build static libraries... " >&6; }
   19762   # Make sure either enable_shared or enable_static is yes.
   19763   test yes = "$enable_shared" || enable_static=yes
   19764   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   19765 printf "%s\n" "$enable_static" >&6; }
   19766 
   19767 
   19768 
   19769 
   19770 fi
   19771 ac_ext=c
   19772 ac_cpp='$CPP $CPPFLAGS'
   19773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19776 
   19777 CC=$lt_save_CC
   19778 
   19779 
   19780 
   19781 
   19782 
   19783 
   19784 
   19785 
   19786 
   19787 
   19788 
   19789 
   19790 
   19791 
   19792 
   19793         ac_config_commands="$ac_config_commands libtool"
   19794 
   19795 
   19796 
   19797 
   19798 # Only expand once:
   19799 
   19800 
   19801 
   19802 
   19803 
   19804 # Define a configure option for an alternate module directory
   19805 
   19806 # Check whether --with-xorg-module-dir was given.
   19807 if test ${with_xorg_module_dir+y}
   19808 then :
   19809   withval=$with_xorg_module_dir; moduledir="$withval"
   19810 else case e in #(
   19811   e) moduledir="$libdir/xorg/modules" ;;
   19812 esac
   19813 fi
   19814 
   19815 
   19816 # Check whether --enable-dri was given.
   19817 if test ${enable_dri+y}
   19818 then :
   19819   enableval=$enable_dri; DRI="$enableval"
   19820 else case e in #(
   19821   e) DRI=auto ;;
   19822 esac
   19823 fi
   19824 
   19825 
   19826 # Store the list of server defined optional extensions in REQUIRED_MODULES
   19827 
   19828 
   19829 	SAVE_CFLAGS="$CFLAGS"
   19830 	CFLAGS="$CFLAGS `$PKG_CONFIG --cflags xorg-server`"
   19831 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19832 /* end confdefs.h.  */
   19833 
   19834 #include "xorg-server.h"
   19835 #if !defined RANDR
   19836 #error RANDR not defined
   19837 #endif
   19838 
   19839 int
   19840 main (void)
   19841 {
   19842 
   19843   ;
   19844   return 0;
   19845 }
   19846 _ACEOF
   19847 if ac_fn_c_try_compile "$LINENO"
   19848 then :
   19849   _EXT_CHECK=yes
   19850 else case e in #(
   19851   e) _EXT_CHECK=no ;;
   19852 esac
   19853 fi
   19854 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19855 	CFLAGS="$SAVE_CFLAGS"
   19856 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if RANDR is defined" >&5
   19857 printf %s "checking if RANDR is defined... " >&6; }
   19858 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   19859 printf "%s\n" "$_EXT_CHECK" >&6; }
   19860 	if test "$_EXT_CHECK" != no; then
   19861 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   19862 	fi
   19863 
   19864 
   19865 
   19866 	SAVE_CFLAGS="$CFLAGS"
   19867 	CFLAGS="$CFLAGS `$PKG_CONFIG --cflags xorg-server`"
   19868 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19869 /* end confdefs.h.  */
   19870 
   19871 #include "xorg-server.h"
   19872 #if !defined RENDER
   19873 #error RENDER not defined
   19874 #endif
   19875 
   19876 int
   19877 main (void)
   19878 {
   19879 
   19880   ;
   19881   return 0;
   19882 }
   19883 _ACEOF
   19884 if ac_fn_c_try_compile "$LINENO"
   19885 then :
   19886   _EXT_CHECK=yes
   19887 else case e in #(
   19888   e) _EXT_CHECK=no ;;
   19889 esac
   19890 fi
   19891 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19892 	CFLAGS="$SAVE_CFLAGS"
   19893 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if RENDER is defined" >&5
   19894 printf %s "checking if RENDER is defined... " >&6; }
   19895 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   19896 printf "%s\n" "$_EXT_CHECK" >&6; }
   19897 	if test "$_EXT_CHECK" != no; then
   19898 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   19899 	fi
   19900 
   19901 
   19902 
   19903 	SAVE_CFLAGS="$CFLAGS"
   19904 	CFLAGS="$CFLAGS `$PKG_CONFIG --cflags xorg-server`"
   19905 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19906 /* end confdefs.h.  */
   19907 
   19908 #include "xorg-server.h"
   19909 #if !defined XV
   19910 #error XV not defined
   19911 #endif
   19912 
   19913 int
   19914 main (void)
   19915 {
   19916 
   19917   ;
   19918   return 0;
   19919 }
   19920 _ACEOF
   19921 if ac_fn_c_try_compile "$LINENO"
   19922 then :
   19923   _EXT_CHECK=yes
   19924 else case e in #(
   19925   e) _EXT_CHECK=no ;;
   19926 esac
   19927 fi
   19928 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19929 	CFLAGS="$SAVE_CFLAGS"
   19930 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if XV is defined" >&5
   19931 printf %s "checking if XV is defined... " >&6; }
   19932 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   19933 printf "%s\n" "$_EXT_CHECK" >&6; }
   19934 	if test "$_EXT_CHECK" != no; then
   19935 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   19936 	fi
   19937 
   19938 
   19939 
   19940 	SAVE_CFLAGS="$CFLAGS"
   19941 	CFLAGS="$CFLAGS `$PKG_CONFIG --cflags xorg-server`"
   19942 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19943 /* end confdefs.h.  */
   19944 
   19945 #include "xorg-server.h"
   19946 #if !defined DPMSExtension
   19947 #error DPMSExtension not defined
   19948 #endif
   19949 
   19950 int
   19951 main (void)
   19952 {
   19953 
   19954   ;
   19955   return 0;
   19956 }
   19957 _ACEOF
   19958 if ac_fn_c_try_compile "$LINENO"
   19959 then :
   19960   _EXT_CHECK=yes
   19961 else case e in #(
   19962   e) _EXT_CHECK=no ;;
   19963 esac
   19964 fi
   19965 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19966 	CFLAGS="$SAVE_CFLAGS"
   19967 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if DPMSExtension is defined" >&5
   19968 printf %s "checking if DPMSExtension is defined... " >&6; }
   19969 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   19970 printf "%s\n" "$_EXT_CHECK" >&6; }
   19971 	if test "$_EXT_CHECK" != no; then
   19972 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   19973 	fi
   19974 
   19975 
   19976 # Obtain compiler/linker options for the driver dependencies
   19977 
   19978 pkg_failed=no
   19979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   19980 printf %s "checking for XORG... " >&6; }
   19981 
   19982 if test -n "$XORG_CFLAGS"; then
   19983     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   19984  elif test -n "$PKG_CONFIG"; then
   19985     if test -n "$PKG_CONFIG" && \
   19986     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.1.0 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   19987   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES") 2>&5
   19988   ac_status=$?
   19989   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19990   test $ac_status = 0; }; then
   19991   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   19992 		      test "x$?" != "x0" && pkg_failed=yes
   19993 else
   19994   pkg_failed=yes
   19995 fi
   19996  else
   19997     pkg_failed=untried
   19998 fi
   19999 if test -n "$XORG_LIBS"; then
   20000     pkg_cv_XORG_LIBS="$XORG_LIBS"
   20001  elif test -n "$PKG_CONFIG"; then
   20002     if test -n "$PKG_CONFIG" && \
   20003     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.1.0 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   20004   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES") 2>&5
   20005   ac_status=$?
   20006   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20007   test $ac_status = 0; }; then
   20008   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   20009 		      test "x$?" != "x0" && pkg_failed=yes
   20010 else
   20011   pkg_failed=yes
   20012 fi
   20013  else
   20014     pkg_failed=untried
   20015 fi
   20016 
   20017 
   20018 
   20019 if test $pkg_failed = yes; then
   20020    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20021 printf "%s\n" "no" >&6; }
   20022 
   20023 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20024         _pkg_short_errors_supported=yes
   20025 else
   20026         _pkg_short_errors_supported=no
   20027 fi
   20028         if test $_pkg_short_errors_supported = yes; then
   20029 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   20030         else
   20031 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   20032         fi
   20033 	# Put the nasty error message in config.log where it belongs
   20034 	echo "$XORG_PKG_ERRORS" >&5
   20035 
   20036 	as_fn_error $? "Package requirements (xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES) were not met:
   20037 
   20038 $XORG_PKG_ERRORS
   20039 
   20040 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20041 installed software in a non-standard prefix.
   20042 
   20043 Alternatively, you may set the environment variables XORG_CFLAGS
   20044 and XORG_LIBS to avoid the need to call pkg-config.
   20045 See the pkg-config man page for more details." "$LINENO" 5
   20046 elif test $pkg_failed = untried; then
   20047      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20048 printf "%s\n" "no" >&6; }
   20049 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   20050 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   20051 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   20052 is in your PATH or set the PKG_CONFIG environment variable to the full
   20053 path to pkg-config.
   20054 
   20055 Alternatively, you may set the environment variables XORG_CFLAGS
   20056 and XORG_LIBS to avoid the need to call pkg-config.
   20057 See the pkg-config man page for more details.
   20058 
   20059 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20060 See 'config.log' for more details" "$LINENO" 5; }
   20061 else
   20062 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   20063 	XORG_LIBS=$pkg_cv_XORG_LIBS
   20064         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20065 printf "%s\n" "yes" >&6; }
   20066 
   20067 fi
   20068 
   20069 pkg_failed=no
   20070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
   20071 printf %s "checking for XEXT... " >&6; }
   20072 
   20073 if test -n "$XEXT_CFLAGS"; then
   20074     pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
   20075  elif test -n "$PKG_CONFIG"; then
   20076     if test -n "$PKG_CONFIG" && \
   20077     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   20078   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   20079   ac_status=$?
   20080   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20081   test $ac_status = 0; }; then
   20082   pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xextproto >= 7.0.99.1" 2>/dev/null`
   20083 		      test "x$?" != "x0" && pkg_failed=yes
   20084 else
   20085   pkg_failed=yes
   20086 fi
   20087  else
   20088     pkg_failed=untried
   20089 fi
   20090 if test -n "$XEXT_LIBS"; then
   20091     pkg_cv_XEXT_LIBS="$XEXT_LIBS"
   20092  elif test -n "$PKG_CONFIG"; then
   20093     if test -n "$PKG_CONFIG" && \
   20094     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   20095   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   20096   ac_status=$?
   20097   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20098   test $ac_status = 0; }; then
   20099   pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xextproto >= 7.0.99.1" 2>/dev/null`
   20100 		      test "x$?" != "x0" && pkg_failed=yes
   20101 else
   20102   pkg_failed=yes
   20103 fi
   20104  else
   20105     pkg_failed=untried
   20106 fi
   20107 
   20108 
   20109 
   20110 if test $pkg_failed = yes; then
   20111    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20112 printf "%s\n" "no" >&6; }
   20113 
   20114 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20115         _pkg_short_errors_supported=yes
   20116 else
   20117         _pkg_short_errors_supported=no
   20118 fi
   20119         if test $_pkg_short_errors_supported = yes; then
   20120 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xextproto >= 7.0.99.1" 2>&1`
   20121         else
   20122 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xextproto >= 7.0.99.1" 2>&1`
   20123         fi
   20124 	# Put the nasty error message in config.log where it belongs
   20125 	echo "$XEXT_PKG_ERRORS" >&5
   20126 
   20127 	HAVE_XEXTPROTO_71="no"
   20128 elif test $pkg_failed = untried; then
   20129      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20130 printf "%s\n" "no" >&6; }
   20131 	HAVE_XEXTPROTO_71="no"
   20132 else
   20133 	XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
   20134 	XEXT_LIBS=$pkg_cv_XEXT_LIBS
   20135         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20136 printf "%s\n" "yes" >&6; }
   20137 	HAVE_XEXTPROTO_71="yes";
   20138 printf "%s\n" "#define HAVE_XEXTPROTO_71 1" >>confdefs.h
   20139 
   20140 fi
   20141  if  test "$HAVE_XEXTPROTO_71" = "yes" ; then
   20142   HAVE_XEXTPROTO_71_TRUE=
   20143   HAVE_XEXTPROTO_71_FALSE='#'
   20144 else
   20145   HAVE_XEXTPROTO_71_TRUE='#'
   20146   HAVE_XEXTPROTO_71_FALSE=
   20147 fi
   20148 
   20149 sdkdir=`$PKG_CONFIG --variable=sdkdir xorg-server`
   20150 
   20151 # Checks for libraries.
   20152 
   20153 
   20154 if test "$DRI" != no; then
   20155         if test "$cross_compiling" = "no" ; then
   20156                 as_ac_File=`printf "%s\n" "ac_cv_file_${sdkdir}/dri.h" | sed "$as_sed_sh"`
   20157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${sdkdir}/dri.h" >&5
   20158 printf %s "checking for ${sdkdir}/dri.h... " >&6; }
   20159 if eval test \${$as_ac_File+y}
   20160 then :
   20161   printf %s "(cached) " >&6
   20162 else case e in #(
   20163   e) test "$cross_compiling" = yes &&
   20164   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   20165 if test -r "${sdkdir}/dri.h"; then
   20166   eval "$as_ac_File=yes"
   20167 else
   20168   eval "$as_ac_File=no"
   20169 fi ;;
   20170 esac
   20171 fi
   20172 eval ac_res=\$$as_ac_File
   20173 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   20174 printf "%s\n" "$ac_res" >&6; }
   20175 if eval test \"x\$"$as_ac_File"\" = x"yes"
   20176 then :
   20177   have_dri_h="yes"
   20178 else case e in #(
   20179   e) have_dri_h="no" ;;
   20180 esac
   20181 fi
   20182 
   20183                 as_ac_File=`printf "%s\n" "ac_cv_file_${sdkdir}/sarea.h" | sed "$as_sed_sh"`
   20184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${sdkdir}/sarea.h" >&5
   20185 printf %s "checking for ${sdkdir}/sarea.h... " >&6; }
   20186 if eval test \${$as_ac_File+y}
   20187 then :
   20188   printf %s "(cached) " >&6
   20189 else case e in #(
   20190   e) test "$cross_compiling" = yes &&
   20191   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   20192 if test -r "${sdkdir}/sarea.h"; then
   20193   eval "$as_ac_File=yes"
   20194 else
   20195   eval "$as_ac_File=no"
   20196 fi ;;
   20197 esac
   20198 fi
   20199 eval ac_res=\$$as_ac_File
   20200 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   20201 printf "%s\n" "$ac_res" >&6; }
   20202 if eval test \"x\$"$as_ac_File"\" = x"yes"
   20203 then :
   20204   have_sarea_h="yes"
   20205 else case e in #(
   20206   e) have_sarea_h="no" ;;
   20207 esac
   20208 fi
   20209 
   20210                 as_ac_File=`printf "%s\n" "ac_cv_file_${sdkdir}/dristruct.h" | sed "$as_sed_sh"`
   20211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${sdkdir}/dristruct.h" >&5
   20212 printf %s "checking for ${sdkdir}/dristruct.h... " >&6; }
   20213 if eval test \${$as_ac_File+y}
   20214 then :
   20215   printf %s "(cached) " >&6
   20216 else case e in #(
   20217   e) test "$cross_compiling" = yes &&
   20218   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   20219 if test -r "${sdkdir}/dristruct.h"; then
   20220   eval "$as_ac_File=yes"
   20221 else
   20222   eval "$as_ac_File=no"
   20223 fi ;;
   20224 esac
   20225 fi
   20226 eval ac_res=\$$as_ac_File
   20227 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   20228 printf "%s\n" "$ac_res" >&6; }
   20229 if eval test \"x\$"$as_ac_File"\" = x"yes"
   20230 then :
   20231   have_dristruct_h="yes"
   20232 else case e in #(
   20233   e) have_dristruct_h="no" ;;
   20234 esac
   20235 fi
   20236 
   20237         else
   20238                 have_dri_h="yes"
   20239                 have_sarea_h="yes"
   20240                 have_dristruct_h="yes"
   20241         fi
   20242 fi
   20243 
   20244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to include DRI support" >&5
   20245 printf %s "checking whether to include DRI support... " >&6; }
   20246 if test x$DRI = xauto; then
   20247         if test "$have_dri_h" = yes -a \
   20248                 "$have_sarea_h" = yes -a \
   20249                 "$have_dristruct_h" = yes; then
   20250                 DRI="yes"
   20251         else
   20252                 DRI="no"
   20253         fi
   20254 fi
   20255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DRI" >&5
   20256 printf "%s\n" "$DRI" >&6; }
   20257 
   20258  if test x$DRI = xyes; then
   20259   DRI_TRUE=
   20260   DRI_FALSE='#'
   20261 else
   20262   DRI_TRUE='#'
   20263   DRI_FALSE=
   20264 fi
   20265 
   20266 if test "$DRI" = yes; then
   20267 
   20268 pkg_failed=no
   20269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DRI" >&5
   20270 printf %s "checking for DRI... " >&6; }
   20271 
   20272 if test -n "$DRI_CFLAGS"; then
   20273     pkg_cv_DRI_CFLAGS="$DRI_CFLAGS"
   20274  elif test -n "$PKG_CONFIG"; then
   20275     if test -n "$PKG_CONFIG" && \
   20276     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.0 xf86driproto\""; } >&5
   20277   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.0 xf86driproto") 2>&5
   20278   ac_status=$?
   20279   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20280   test $ac_status = 0; }; then
   20281   pkg_cv_DRI_CFLAGS=`$PKG_CONFIG --cflags "libdrm >= 2.0 xf86driproto" 2>/dev/null`
   20282 		      test "x$?" != "x0" && pkg_failed=yes
   20283 else
   20284   pkg_failed=yes
   20285 fi
   20286  else
   20287     pkg_failed=untried
   20288 fi
   20289 if test -n "$DRI_LIBS"; then
   20290     pkg_cv_DRI_LIBS="$DRI_LIBS"
   20291  elif test -n "$PKG_CONFIG"; then
   20292     if test -n "$PKG_CONFIG" && \
   20293     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.0 xf86driproto\""; } >&5
   20294   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.0 xf86driproto") 2>&5
   20295   ac_status=$?
   20296   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20297   test $ac_status = 0; }; then
   20298   pkg_cv_DRI_LIBS=`$PKG_CONFIG --libs "libdrm >= 2.0 xf86driproto" 2>/dev/null`
   20299 		      test "x$?" != "x0" && pkg_failed=yes
   20300 else
   20301   pkg_failed=yes
   20302 fi
   20303  else
   20304     pkg_failed=untried
   20305 fi
   20306 
   20307 
   20308 
   20309 if test $pkg_failed = yes; then
   20310    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20311 printf "%s\n" "no" >&6; }
   20312 
   20313 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20314         _pkg_short_errors_supported=yes
   20315 else
   20316         _pkg_short_errors_supported=no
   20317 fi
   20318         if test $_pkg_short_errors_supported = yes; then
   20319 	        DRI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libdrm >= 2.0 xf86driproto" 2>&1`
   20320         else
   20321 	        DRI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libdrm >= 2.0 xf86driproto" 2>&1`
   20322         fi
   20323 	# Put the nasty error message in config.log where it belongs
   20324 	echo "$DRI_PKG_ERRORS" >&5
   20325 
   20326 	as_fn_error $? "Package requirements (libdrm >= 2.0 xf86driproto) were not met:
   20327 
   20328 $DRI_PKG_ERRORS
   20329 
   20330 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20331 installed software in a non-standard prefix.
   20332 
   20333 Alternatively, you may set the environment variables DRI_CFLAGS
   20334 and DRI_LIBS to avoid the need to call pkg-config.
   20335 See the pkg-config man page for more details." "$LINENO" 5
   20336 elif test $pkg_failed = untried; then
   20337      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20338 printf "%s\n" "no" >&6; }
   20339 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   20340 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   20341 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   20342 is in your PATH or set the PKG_CONFIG environment variable to the full
   20343 path to pkg-config.
   20344 
   20345 Alternatively, you may set the environment variables DRI_CFLAGS
   20346 and DRI_LIBS to avoid the need to call pkg-config.
   20347 See the pkg-config man page for more details.
   20348 
   20349 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20350 See 'config.log' for more details" "$LINENO" 5; }
   20351 else
   20352 	DRI_CFLAGS=$pkg_cv_DRI_CFLAGS
   20353 	DRI_LIBS=$pkg_cv_DRI_LIBS
   20354         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20355 printf "%s\n" "yes" >&6; }
   20356 
   20357 fi
   20358 
   20359 printf "%s\n" "#define SAVAGEDRI 1" >>confdefs.h
   20360 
   20361 
   20362 printf "%s\n" "#define SAVAGEDRI_DEVEL 1" >>confdefs.h
   20363 
   20364 fi
   20365 
   20366 # Check whether --enable-xaa was given.
   20367 if test ${enable_xaa+y}
   20368 then :
   20369   enableval=$enable_xaa; XAA="$enableval"
   20370 else case e in #(
   20371   e) XAA=auto ;;
   20372 esac
   20373 fi
   20374 
   20375 if test "x$XAA" != xno; then
   20376         save_CFLAGS=$CFLAGS
   20377         save_CPPFLAGS=$CPPFLAGS
   20378         CFLAGS=$XORG_CFLAGS
   20379         CPPFLAGS="$XORG_CFLAGS"
   20380                for ac_header in xaa.h
   20381 do :
   20382   ac_fn_c_check_header_compile "$LINENO" "xaa.h" "ac_cv_header_xaa_h" "$ac_includes_default"
   20383 if test "x$ac_cv_header_xaa_h" = xyes
   20384 then :
   20385   printf "%s\n" "#define HAVE_XAA_H 1" >>confdefs.h
   20386  XAA=yes
   20387 else case e in #(
   20388   e) XAA=no ;;
   20389 esac
   20390 fi
   20391 
   20392 done
   20393         CFLAGS=$save_CFLAGS
   20394         CPPFLAGS=$save_CPPFLAGS
   20395 fi
   20396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to include XAA support" >&5
   20397 printf %s "checking whether to include XAA support... " >&6; }
   20398  if test "x$XAA" = xyes; then
   20399   XAA_TRUE=
   20400   XAA_FALSE='#'
   20401 else
   20402   XAA_TRUE='#'
   20403   XAA_FALSE=
   20404 fi
   20405 
   20406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XAA" >&5
   20407 printf "%s\n" "$XAA" >&6; }
   20408 
   20409 save_CFLAGS="$CFLAGS"
   20410 CFLAGS="$XORG_CFLAGS"
   20411 ac_fn_check_decl "$LINENO" "XSERVER_LIBPCIACCESS" "ac_cv_have_decl_XSERVER_LIBPCIACCESS" "#include \"xorg-server.h\"
   20412 " "$ac_c_undeclared_builtin_options" "CFLAGS"
   20413 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = xyes
   20414 then :
   20415   XSERVER_LIBPCIACCESS=yes
   20416 else case e in #(
   20417   e) XSERVER_LIBPCIACCESS=no ;;
   20418 esac
   20419 fi
   20420 ac_fn_check_decl "$LINENO" "xf86XVFillKeyHelperDrawable" "ac_cv_have_decl_xf86XVFillKeyHelperDrawable" "#include \"xf86xv.h\"
   20421 " "$ac_c_undeclared_builtin_options" "CFLAGS"
   20422 if test "x$ac_cv_have_decl_xf86XVFillKeyHelperDrawable" = xyes
   20423 then :
   20424 
   20425 printf "%s\n" "#define HAVE_XV_DRAWABLE_HELPER 1" >>confdefs.h
   20426 
   20427 fi
   20428 CFLAGS="$save_CFLAGS"
   20429 
   20430 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   20431 
   20432 pkg_failed=no
   20433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PCIACCESS" >&5
   20434 printf %s "checking for PCIACCESS... " >&6; }
   20435 
   20436 if test -n "$PCIACCESS_CFLAGS"; then
   20437     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   20438  elif test -n "$PKG_CONFIG"; then
   20439     if test -n "$PKG_CONFIG" && \
   20440     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.10\""; } >&5
   20441   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.10") 2>&5
   20442   ac_status=$?
   20443   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20444   test $ac_status = 0; }; then
   20445   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.10" 2>/dev/null`
   20446 		      test "x$?" != "x0" && pkg_failed=yes
   20447 else
   20448   pkg_failed=yes
   20449 fi
   20450  else
   20451     pkg_failed=untried
   20452 fi
   20453 if test -n "$PCIACCESS_LIBS"; then
   20454     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   20455  elif test -n "$PKG_CONFIG"; then
   20456     if test -n "$PKG_CONFIG" && \
   20457     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.10\""; } >&5
   20458   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.10") 2>&5
   20459   ac_status=$?
   20460   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20461   test $ac_status = 0; }; then
   20462   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.10" 2>/dev/null`
   20463 		      test "x$?" != "x0" && pkg_failed=yes
   20464 else
   20465   pkg_failed=yes
   20466 fi
   20467  else
   20468     pkg_failed=untried
   20469 fi
   20470 
   20471 
   20472 
   20473 if test $pkg_failed = yes; then
   20474    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20475 printf "%s\n" "no" >&6; }
   20476 
   20477 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20478         _pkg_short_errors_supported=yes
   20479 else
   20480         _pkg_short_errors_supported=no
   20481 fi
   20482         if test $_pkg_short_errors_supported = yes; then
   20483 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pciaccess >= 0.10" 2>&1`
   20484         else
   20485 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pciaccess >= 0.10" 2>&1`
   20486         fi
   20487 	# Put the nasty error message in config.log where it belongs
   20488 	echo "$PCIACCESS_PKG_ERRORS" >&5
   20489 
   20490 	as_fn_error $? "Package requirements (pciaccess >= 0.10) were not met:
   20491 
   20492 $PCIACCESS_PKG_ERRORS
   20493 
   20494 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20495 installed software in a non-standard prefix.
   20496 
   20497 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   20498 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   20499 See the pkg-config man page for more details." "$LINENO" 5
   20500 elif test $pkg_failed = untried; then
   20501      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20502 printf "%s\n" "no" >&6; }
   20503 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   20504 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   20505 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   20506 is in your PATH or set the PKG_CONFIG environment variable to the full
   20507 path to pkg-config.
   20508 
   20509 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   20510 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   20511 See the pkg-config man page for more details.
   20512 
   20513 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20514 See 'config.log' for more details" "$LINENO" 5; }
   20515 else
   20516 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   20517 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   20518         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20519 printf "%s\n" "yes" >&6; }
   20520 
   20521 fi
   20522 fi
   20523  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   20524   XSERVER_LIBPCIACCESS_TRUE=
   20525   XSERVER_LIBPCIACCESS_FALSE='#'
   20526 else
   20527   XSERVER_LIBPCIACCESS_TRUE='#'
   20528   XSERVER_LIBPCIACCESS_FALSE=
   20529 fi
   20530 
   20531 
   20532 # Checks for library functions
   20533 # We don't use strlcat, strlcpy, or timingsafe_memcmp, but check to quiet
   20534 # -Wredundant-decls warning from xorg/os.h which will otherwise redefine them.
   20535 ac_fn_c_check_func "$LINENO" "strlcat" "ac_cv_func_strlcat"
   20536 if test "x$ac_cv_func_strlcat" = xyes
   20537 then :
   20538   printf "%s\n" "#define HAVE_STRLCAT 1" >>confdefs.h
   20539 
   20540 fi
   20541 ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
   20542 if test "x$ac_cv_func_strlcpy" = xyes
   20543 then :
   20544   printf "%s\n" "#define HAVE_STRLCPY 1" >>confdefs.h
   20545 
   20546 fi
   20547 ac_fn_c_check_func "$LINENO" "timingsafe_memcmp" "ac_cv_func_timingsafe_memcmp"
   20548 if test "x$ac_cv_func_timingsafe_memcmp" = xyes
   20549 then :
   20550   printf "%s\n" "#define HAVE_TIMINGSAFE_MEMCMP 1" >>confdefs.h
   20551 
   20552 fi
   20553 
   20554 
   20555 
   20556 
   20557 DRIVER_NAME=savage
   20558 
   20559 
   20560 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   20561 
   20562 cat >confcache <<\_ACEOF
   20563 # This file is a shell script that caches the results of configure
   20564 # tests run on this system so they can be shared between configure
   20565 # scripts and configure runs, see configure's option --config-cache.
   20566 # It is not useful on other systems.  If it contains results you don't
   20567 # want to keep, you may remove or edit it.
   20568 #
   20569 # config.status only pays attention to the cache file if you give it
   20570 # the --recheck option to rerun configure.
   20571 #
   20572 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   20573 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   20574 # following values.
   20575 
   20576 _ACEOF
   20577 
   20578 # The following way of writing the cache mishandles newlines in values,
   20579 # but we know of no workaround that is simple, portable, and efficient.
   20580 # So, we kill variables containing newlines.
   20581 # Ultrix sh set writes to stderr and can't be redirected directly,
   20582 # and sets the high bit in the cache file unless we assign to the vars.
   20583 (
   20584   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   20585     eval ac_val=\$$ac_var
   20586     case $ac_val in #(
   20587     *${as_nl}*)
   20588       case $ac_var in #(
   20589       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   20590 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   20591       esac
   20592       case $ac_var in #(
   20593       _ | IFS | as_nl) ;; #(
   20594       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   20595       *) { eval $ac_var=; unset $ac_var;} ;;
   20596       esac ;;
   20597     esac
   20598   done
   20599 
   20600   (set) 2>&1 |
   20601     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   20602     *${as_nl}ac_space=\ *)
   20603       # 'set' does not quote correctly, so add quotes: double-quote
   20604       # substitution turns \\\\ into \\, and sed turns \\ into \.
   20605       sed -n \
   20606 	"s/'/'\\\\''/g;
   20607 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   20608       ;; #(
   20609     *)
   20610       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   20611       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   20612       ;;
   20613     esac |
   20614     sort
   20615 ) |
   20616   sed '
   20617      /^ac_cv_env_/b end
   20618      t clear
   20619      :clear
   20620      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   20621      t end
   20622      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   20623      :end' >>confcache
   20624 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   20625   if test -w "$cache_file"; then
   20626     if test "x$cache_file" != "x/dev/null"; then
   20627       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   20628 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   20629       if test ! -f "$cache_file" || test -h "$cache_file"; then
   20630 	cat confcache >"$cache_file"
   20631       else
   20632         case $cache_file in #(
   20633         */* | ?:*)
   20634 	  mv -f confcache "$cache_file"$$ &&
   20635 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   20636         *)
   20637 	  mv -f confcache "$cache_file" ;;
   20638 	esac
   20639       fi
   20640     fi
   20641   else
   20642     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   20643 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   20644   fi
   20645 fi
   20646 rm -f confcache
   20647 
   20648 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   20649 # Let make expand exec_prefix.
   20650 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   20651 
   20652 DEFS=-DHAVE_CONFIG_H
   20653 
   20654 ac_libobjs=
   20655 ac_ltlibobjs=
   20656 U=
   20657 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   20658   # 1. Remove the extension, and $U if already installed.
   20659   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   20660   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   20661   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   20662   #    will be set to the directory where LIBOBJS objects are built.
   20663   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   20664   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   20665 done
   20666 LIBOBJS=$ac_libobjs
   20667 
   20668 LTLIBOBJS=$ac_ltlibobjs
   20669 
   20670 
   20671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   20672 printf %s "checking that generated files are newer than configure... " >&6; }
   20673    if test -n "$am_sleep_pid"; then
   20674      # Hide warnings about reused PIDs.
   20675      wait $am_sleep_pid 2>/dev/null
   20676    fi
   20677    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   20678 printf "%s\n" "done" >&6; }
   20679  if test -n "$EXEEXT"; then
   20680   am__EXEEXT_TRUE=
   20681   am__EXEEXT_FALSE='#'
   20682 else
   20683   am__EXEEXT_TRUE='#'
   20684   am__EXEEXT_FALSE=
   20685 fi
   20686 
   20687 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   20688   as_fn_error $? "conditional \"AMDEP\" was never defined.
   20689 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20690 fi
   20691 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   20692   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   20693 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20694 fi
   20695 if test -z "${HAVE_XEXTPROTO_71_TRUE}" && test -z "${HAVE_XEXTPROTO_71_FALSE}"; then
   20696   as_fn_error $? "conditional \"HAVE_XEXTPROTO_71\" was never defined.
   20697 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20698 fi
   20699 if test -z "${DRI_TRUE}" && test -z "${DRI_FALSE}"; then
   20700   as_fn_error $? "conditional \"DRI\" was never defined.
   20701 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20702 fi
   20703 if test -z "${XAA_TRUE}" && test -z "${XAA_FALSE}"; then
   20704   as_fn_error $? "conditional \"XAA\" was never defined.
   20705 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20706 fi
   20707 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   20708   as_fn_error $? "conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   20709 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20710 fi
   20711 
   20712 : "${CONFIG_STATUS=./config.status}"
   20713 ac_write_fail=0
   20714 ac_clean_files_save=$ac_clean_files
   20715 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   20716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   20717 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   20718 as_write_fail=0
   20719 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   20720 #! $SHELL
   20721 # Generated by $as_me.
   20722 # Run this file to recreate the current configuration.
   20723 # Compiler output produced by configure, useful for debugging
   20724 # configure, is in config.log if it exists.
   20725 
   20726 debug=false
   20727 ac_cs_recheck=false
   20728 ac_cs_silent=false
   20729 
   20730 SHELL=\${CONFIG_SHELL-$SHELL}
   20731 export SHELL
   20732 _ASEOF
   20733 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   20734 ## -------------------- ##
   20735 ## M4sh Initialization. ##
   20736 ## -------------------- ##
   20737 
   20738 # Be more Bourne compatible
   20739 DUALCASE=1; export DUALCASE # for MKS sh
   20740 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   20741 then :
   20742   emulate sh
   20743   NULLCMD=:
   20744   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   20745   # is contrary to our usage.  Disable this feature.
   20746   alias -g '${1+"$@"}'='"$@"'
   20747   setopt NO_GLOB_SUBST
   20748 else case e in #(
   20749   e) case `(set -o) 2>/dev/null` in #(
   20750   *posix*) :
   20751     set -o posix ;; #(
   20752   *) :
   20753      ;;
   20754 esac ;;
   20755 esac
   20756 fi
   20757 
   20758 
   20759 
   20760 # Reset variables that may have inherited troublesome values from
   20761 # the environment.
   20762 
   20763 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   20764 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   20765 # side effect of setting IFS to empty, thus disabling word splitting.)
   20766 # Quoting is to prevent editors from complaining about space-tab.
   20767 as_nl='
   20768 '
   20769 export as_nl
   20770 IFS=" ""	$as_nl"
   20771 
   20772 PS1='$ '
   20773 PS2='> '
   20774 PS4='+ '
   20775 
   20776 # Ensure predictable behavior from utilities with locale-dependent output.
   20777 LC_ALL=C
   20778 export LC_ALL
   20779 LANGUAGE=C
   20780 export LANGUAGE
   20781 
   20782 # We cannot yet rely on "unset" to work, but we need these variables
   20783 # to be unset--not just set to an empty or harmless value--now, to
   20784 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   20785 # also avoids known problems related to "unset" and subshell syntax
   20786 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   20787 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   20788 do eval test \${$as_var+y} \
   20789   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   20790 done
   20791 
   20792 # Ensure that fds 0, 1, and 2 are open.
   20793 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   20794 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   20795 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   20796 
   20797 # The user is always right.
   20798 if ${PATH_SEPARATOR+false} :; then
   20799   PATH_SEPARATOR=:
   20800   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   20801     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   20802       PATH_SEPARATOR=';'
   20803   }
   20804 fi
   20805 
   20806 
   20807 # Find who we are.  Look in the path if we contain no directory separator.
   20808 as_myself=
   20809 case $0 in #((
   20810   *[\\/]* ) as_myself=$0 ;;
   20811   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20812 for as_dir in $PATH
   20813 do
   20814   IFS=$as_save_IFS
   20815   case $as_dir in #(((
   20816     '') as_dir=./ ;;
   20817     */) ;;
   20818     *) as_dir=$as_dir/ ;;
   20819   esac
   20820     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   20821   done
   20822 IFS=$as_save_IFS
   20823 
   20824      ;;
   20825 esac
   20826 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   20827 # in which case we are not to be found in the path.
   20828 if test "x$as_myself" = x; then
   20829   as_myself=$0
   20830 fi
   20831 if test ! -f "$as_myself"; then
   20832   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   20833   exit 1
   20834 fi
   20835 
   20836 
   20837 
   20838 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   20839 # ----------------------------------------
   20840 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   20841 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   20842 # script with STATUS, using 1 if that was 0.
   20843 as_fn_error ()
   20844 {
   20845   as_status=$1; test $as_status -eq 0 && as_status=1
   20846   if test "$4"; then
   20847     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   20848     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   20849   fi
   20850   printf "%s\n" "$as_me: error: $2" >&2
   20851   as_fn_exit $as_status
   20852 } # as_fn_error
   20853 
   20854 
   20855 # as_fn_set_status STATUS
   20856 # -----------------------
   20857 # Set $? to STATUS, without forking.
   20858 as_fn_set_status ()
   20859 {
   20860   return $1
   20861 } # as_fn_set_status
   20862 
   20863 # as_fn_exit STATUS
   20864 # -----------------
   20865 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   20866 as_fn_exit ()
   20867 {
   20868   set +e
   20869   as_fn_set_status $1
   20870   exit $1
   20871 } # as_fn_exit
   20872 
   20873 # as_fn_unset VAR
   20874 # ---------------
   20875 # Portably unset VAR.
   20876 as_fn_unset ()
   20877 {
   20878   { eval $1=; unset $1;}
   20879 }
   20880 as_unset=as_fn_unset
   20881 
   20882 # as_fn_append VAR VALUE
   20883 # ----------------------
   20884 # Append the text in VALUE to the end of the definition contained in VAR. Take
   20885 # advantage of any shell optimizations that allow amortized linear growth over
   20886 # repeated appends, instead of the typical quadratic growth present in naive
   20887 # implementations.
   20888 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   20889 then :
   20890   eval 'as_fn_append ()
   20891   {
   20892     eval $1+=\$2
   20893   }'
   20894 else case e in #(
   20895   e) as_fn_append ()
   20896   {
   20897     eval $1=\$$1\$2
   20898   } ;;
   20899 esac
   20900 fi # as_fn_append
   20901 
   20902 # as_fn_arith ARG...
   20903 # ------------------
   20904 # Perform arithmetic evaluation on the ARGs, and store the result in the
   20905 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   20906 # must be portable across $(()) and expr.
   20907 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   20908 then :
   20909   eval 'as_fn_arith ()
   20910   {
   20911     as_val=$(( $* ))
   20912   }'
   20913 else case e in #(
   20914   e) as_fn_arith ()
   20915   {
   20916     as_val=`expr "$@" || test $? -eq 1`
   20917   } ;;
   20918 esac
   20919 fi # as_fn_arith
   20920 
   20921 
   20922 if expr a : '\(a\)' >/dev/null 2>&1 &&
   20923    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   20924   as_expr=expr
   20925 else
   20926   as_expr=false
   20927 fi
   20928 
   20929 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   20930   as_basename=basename
   20931 else
   20932   as_basename=false
   20933 fi
   20934 
   20935 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   20936   as_dirname=dirname
   20937 else
   20938   as_dirname=false
   20939 fi
   20940 
   20941 as_me=`$as_basename -- "$0" ||
   20942 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   20943 	 X"$0" : 'X\(//\)$' \| \
   20944 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   20945 printf "%s\n" X/"$0" |
   20946     sed '/^.*\/\([^/][^/]*\)\/*$/{
   20947 	    s//\1/
   20948 	    q
   20949 	  }
   20950 	  /^X\/\(\/\/\)$/{
   20951 	    s//\1/
   20952 	    q
   20953 	  }
   20954 	  /^X\/\(\/\).*/{
   20955 	    s//\1/
   20956 	    q
   20957 	  }
   20958 	  s/.*/./; q'`
   20959 
   20960 # Avoid depending upon Character Ranges.
   20961 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   20962 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   20963 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   20964 as_cr_digits='0123456789'
   20965 as_cr_alnum=$as_cr_Letters$as_cr_digits
   20966 
   20967 
   20968 # Determine whether it's possible to make 'echo' print without a newline.
   20969 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   20970 # for compatibility with existing Makefiles.
   20971 ECHO_C= ECHO_N= ECHO_T=
   20972 case `echo -n x` in #(((((
   20973 -n*)
   20974   case `echo 'xy\c'` in
   20975   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   20976   xy)  ECHO_C='\c';;
   20977   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   20978        ECHO_T='	';;
   20979   esac;;
   20980 *)
   20981   ECHO_N='-n';;
   20982 esac
   20983 
   20984 # For backward compatibility with old third-party macros, we provide
   20985 # the shell variables $as_echo and $as_echo_n.  New code should use
   20986 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   20987 as_echo='printf %s\n'
   20988 as_echo_n='printf %s'
   20989 
   20990 rm -f conf$$ conf$$.exe conf$$.file
   20991 if test -d conf$$.dir; then
   20992   rm -f conf$$.dir/conf$$.file
   20993 else
   20994   rm -f conf$$.dir
   20995   mkdir conf$$.dir 2>/dev/null
   20996 fi
   20997 if (echo >conf$$.file) 2>/dev/null; then
   20998   if ln -s conf$$.file conf$$ 2>/dev/null; then
   20999     as_ln_s='ln -s'
   21000     # ... but there are two gotchas:
   21001     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   21002     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   21003     # In both cases, we have to default to 'cp -pR'.
   21004     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   21005       as_ln_s='cp -pR'
   21006   elif ln conf$$.file conf$$ 2>/dev/null; then
   21007     as_ln_s=ln
   21008   else
   21009     as_ln_s='cp -pR'
   21010   fi
   21011 else
   21012   as_ln_s='cp -pR'
   21013 fi
   21014 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   21015 rmdir conf$$.dir 2>/dev/null
   21016 
   21017 
   21018 # as_fn_mkdir_p
   21019 # -------------
   21020 # Create "$as_dir" as a directory, including parents if necessary.
   21021 as_fn_mkdir_p ()
   21022 {
   21023 
   21024   case $as_dir in #(
   21025   -*) as_dir=./$as_dir;;
   21026   esac
   21027   test -d "$as_dir" || eval $as_mkdir_p || {
   21028     as_dirs=
   21029     while :; do
   21030       case $as_dir in #(
   21031       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   21032       *) as_qdir=$as_dir;;
   21033       esac
   21034       as_dirs="'$as_qdir' $as_dirs"
   21035       as_dir=`$as_dirname -- "$as_dir" ||
   21036 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21037 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   21038 	 X"$as_dir" : 'X\(//\)$' \| \
   21039 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   21040 printf "%s\n" X"$as_dir" |
   21041     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21042 	    s//\1/
   21043 	    q
   21044 	  }
   21045 	  /^X\(\/\/\)[^/].*/{
   21046 	    s//\1/
   21047 	    q
   21048 	  }
   21049 	  /^X\(\/\/\)$/{
   21050 	    s//\1/
   21051 	    q
   21052 	  }
   21053 	  /^X\(\/\).*/{
   21054 	    s//\1/
   21055 	    q
   21056 	  }
   21057 	  s/.*/./; q'`
   21058       test -d "$as_dir" && break
   21059     done
   21060     test -z "$as_dirs" || eval "mkdir $as_dirs"
   21061   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   21062 
   21063 
   21064 } # as_fn_mkdir_p
   21065 if mkdir -p . 2>/dev/null; then
   21066   as_mkdir_p='mkdir -p "$as_dir"'
   21067 else
   21068   test -d ./-p && rmdir ./-p
   21069   as_mkdir_p=false
   21070 fi
   21071 
   21072 
   21073 # as_fn_executable_p FILE
   21074 # -----------------------
   21075 # Test if FILE is an executable regular file.
   21076 as_fn_executable_p ()
   21077 {
   21078   test -f "$1" && test -x "$1"
   21079 } # as_fn_executable_p
   21080 as_test_x='test -x'
   21081 as_executable_p=as_fn_executable_p
   21082 
   21083 # Sed expression to map a string onto a valid CPP name.
   21084 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   21085 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   21086 
   21087 # Sed expression to map a string onto a valid variable name.
   21088 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   21089 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   21090 
   21091 
   21092 exec 6>&1
   21093 ## ----------------------------------- ##
   21094 ## Main body of $CONFIG_STATUS script. ##
   21095 ## ----------------------------------- ##
   21096 _ASEOF
   21097 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   21098 
   21099 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21100 # Save the log message, to keep $0 and so on meaningful, and to
   21101 # report actual input values of CONFIG_FILES etc. instead of their
   21102 # values after options handling.
   21103 ac_log="
   21104 This file was extended by xf86-video-savage $as_me 2.4.1, which was
   21105 generated by GNU Autoconf 2.72.  Invocation command line was
   21106 
   21107   CONFIG_FILES    = $CONFIG_FILES
   21108   CONFIG_HEADERS  = $CONFIG_HEADERS
   21109   CONFIG_LINKS    = $CONFIG_LINKS
   21110   CONFIG_COMMANDS = $CONFIG_COMMANDS
   21111   $ $0 $@
   21112 
   21113 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   21114 "
   21115 
   21116 _ACEOF
   21117 
   21118 case $ac_config_files in *"
   21119 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   21120 esac
   21121 
   21122 case $ac_config_headers in *"
   21123 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   21124 esac
   21125 
   21126 
   21127 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21128 # Files that config.status was made for.
   21129 config_files="$ac_config_files"
   21130 config_headers="$ac_config_headers"
   21131 config_commands="$ac_config_commands"
   21132 
   21133 _ACEOF
   21134 
   21135 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21136 ac_cs_usage="\
   21137 '$as_me' instantiates files and other configuration actions
   21138 from templates according to the current configuration.  Unless the files
   21139 and actions are specified as TAGs, all are instantiated by default.
   21140 
   21141 Usage: $0 [OPTION]... [TAG]...
   21142 
   21143   -h, --help       print this help, then exit
   21144   -V, --version    print version number and configuration settings, then exit
   21145       --config     print configuration, then exit
   21146   -q, --quiet, --silent
   21147                    do not print progress messages
   21148   -d, --debug      don't remove temporary files
   21149       --recheck    update $as_me by reconfiguring in the same conditions
   21150       --file=FILE[:TEMPLATE]
   21151                    instantiate the configuration file FILE
   21152       --header=FILE[:TEMPLATE]
   21153                    instantiate the configuration header FILE
   21154 
   21155 Configuration files:
   21156 $config_files
   21157 
   21158 Configuration headers:
   21159 $config_headers
   21160 
   21161 Configuration commands:
   21162 $config_commands
   21163 
   21164 Report bugs to <https://gitlab.freedesktop.org/xorg/driver/xf86-video-savage/-/issues>."
   21165 
   21166 _ACEOF
   21167 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   21168 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   21169 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21170 ac_cs_config='$ac_cs_config_escaped'
   21171 ac_cs_version="\\
   21172 xf86-video-savage config.status 2.4.1
   21173 configured by $0, generated by GNU Autoconf 2.72,
   21174   with options \\"\$ac_cs_config\\"
   21175 
   21176 Copyright (C) 2023 Free Software Foundation, Inc.
   21177 This config.status script is free software; the Free Software Foundation
   21178 gives unlimited permission to copy, distribute and modify it."
   21179 
   21180 ac_pwd='$ac_pwd'
   21181 srcdir='$srcdir'
   21182 INSTALL='$INSTALL'
   21183 MKDIR_P='$MKDIR_P'
   21184 AWK='$AWK'
   21185 test -n "\$AWK" || AWK=awk
   21186 _ACEOF
   21187 
   21188 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21189 # The default lists apply if the user does not specify any file.
   21190 ac_need_defaults=:
   21191 while test $# != 0
   21192 do
   21193   case $1 in
   21194   --*=?*)
   21195     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21196     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   21197     ac_shift=:
   21198     ;;
   21199   --*=)
   21200     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21201     ac_optarg=
   21202     ac_shift=:
   21203     ;;
   21204   *)
   21205     ac_option=$1
   21206     ac_optarg=$2
   21207     ac_shift=shift
   21208     ;;
   21209   esac
   21210 
   21211   case $ac_option in
   21212   # Handling of the options.
   21213   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   21214     ac_cs_recheck=: ;;
   21215   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   21216     printf "%s\n" "$ac_cs_version"; exit ;;
   21217   --config | --confi | --conf | --con | --co | --c )
   21218     printf "%s\n" "$ac_cs_config"; exit ;;
   21219   --debug | --debu | --deb | --de | --d | -d )
   21220     debug=: ;;
   21221   --file | --fil | --fi | --f )
   21222     $ac_shift
   21223     case $ac_optarg in
   21224     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21225     '') as_fn_error $? "missing file argument" ;;
   21226     esac
   21227     as_fn_append CONFIG_FILES " '$ac_optarg'"
   21228     ac_need_defaults=false;;
   21229   --header | --heade | --head | --hea )
   21230     $ac_shift
   21231     case $ac_optarg in
   21232     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21233     esac
   21234     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   21235     ac_need_defaults=false;;
   21236   --he | --h)
   21237     # Conflict between --help and --header
   21238     as_fn_error $? "ambiguous option: '$1'
   21239 Try '$0 --help' for more information.";;
   21240   --help | --hel | -h )
   21241     printf "%s\n" "$ac_cs_usage"; exit ;;
   21242   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   21243   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   21244     ac_cs_silent=: ;;
   21245 
   21246   # This is an error.
   21247   -*) as_fn_error $? "unrecognized option: '$1'
   21248 Try '$0 --help' for more information." ;;
   21249 
   21250   *) as_fn_append ac_config_targets " $1"
   21251      ac_need_defaults=false ;;
   21252 
   21253   esac
   21254   shift
   21255 done
   21256 
   21257 ac_configure_extra_args=
   21258 
   21259 if $ac_cs_silent; then
   21260   exec 6>/dev/null
   21261   ac_configure_extra_args="$ac_configure_extra_args --silent"
   21262 fi
   21263 
   21264 _ACEOF
   21265 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21266 if \$ac_cs_recheck; then
   21267   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   21268   shift
   21269   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   21270   CONFIG_SHELL='$SHELL'
   21271   export CONFIG_SHELL
   21272   exec "\$@"
   21273 fi
   21274 
   21275 _ACEOF
   21276 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21277 exec 5>>config.log
   21278 {
   21279   echo
   21280   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   21281 ## Running $as_me. ##
   21282 _ASBOX
   21283   printf "%s\n" "$ac_log"
   21284 } >&5
   21285 
   21286 _ACEOF
   21287 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21288 #
   21289 # INIT-COMMANDS
   21290 #
   21291 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   21292 
   21293 
   21294 # The HP-UX ksh and POSIX shell print the target directory to stdout
   21295 # if CDPATH is set.
   21296 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   21297 
   21298 sed_quote_subst='$sed_quote_subst'
   21299 double_quote_subst='$double_quote_subst'
   21300 delay_variable_subst='$delay_variable_subst'
   21301 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   21302 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   21303 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   21304 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   21305 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   21306 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   21307 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   21308 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   21309 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   21310 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   21311 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   21312 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   21313 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   21314 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   21315 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   21316 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   21317 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   21318 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   21319 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   21320 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   21321 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   21322 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   21323 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   21324 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   21325 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   21326 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   21327 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   21328 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   21329 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   21330 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   21331 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   21332 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   21333 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   21334 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   21335 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   21336 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   21337 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   21338 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   21339 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   21340 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   21341 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   21342 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   21343 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   21344 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   21345 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   21346 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   21347 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   21348 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   21349 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21350 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21351 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   21352 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   21353 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   21354 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   21355 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   21356 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   21357 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   21358 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   21359 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   21360 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   21361 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"`'
   21362 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   21363 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   21364 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   21365 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   21366 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   21367 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   21368 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   21369 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   21370 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   21371 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   21372 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   21373 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   21374 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   21375 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   21376 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   21377 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   21378 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   21379 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   21380 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   21381 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   21382 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21383 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   21384 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   21385 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   21386 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   21387 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   21388 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   21389 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21390 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   21391 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21392 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   21393 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21394 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   21395 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21396 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21397 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   21398 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   21399 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   21400 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   21401 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   21402 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21403 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   21404 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   21405 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   21406 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   21407 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   21408 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   21409 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   21410 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   21411 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   21412 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   21413 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   21414 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   21415 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   21416 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   21417 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   21418 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21419 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   21420 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   21421 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   21422 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   21423 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   21424 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21425 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21426 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   21427 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   21428 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   21429 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   21430 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   21431 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   21432 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   21433 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   21434 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   21435 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   21436 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   21437 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   21438 
   21439 LTCC='$LTCC'
   21440 LTCFLAGS='$LTCFLAGS'
   21441 compiler='$compiler_DEFAULT'
   21442 
   21443 # A function that is used when there is no print builtin or printf.
   21444 func_fallback_echo ()
   21445 {
   21446   eval 'cat <<_LTECHO_EOF
   21447 \$1
   21448 _LTECHO_EOF'
   21449 }
   21450 
   21451 # Quote evaled strings.
   21452 for var in SHELL \
   21453 ECHO \
   21454 PATH_SEPARATOR \
   21455 SED \
   21456 GREP \
   21457 EGREP \
   21458 FGREP \
   21459 LD \
   21460 NM \
   21461 LN_S \
   21462 lt_SP2NL \
   21463 lt_NL2SP \
   21464 reload_flag \
   21465 FILECMD \
   21466 OBJDUMP \
   21467 deplibs_check_method \
   21468 file_magic_cmd \
   21469 file_magic_glob \
   21470 want_nocaseglob \
   21471 DLLTOOL \
   21472 sharedlib_from_linklib_cmd \
   21473 AR \
   21474 archiver_list_spec \
   21475 STRIP \
   21476 RANLIB \
   21477 CC \
   21478 CFLAGS \
   21479 compiler \
   21480 lt_cv_sys_global_symbol_pipe \
   21481 lt_cv_sys_global_symbol_to_cdecl \
   21482 lt_cv_sys_global_symbol_to_import \
   21483 lt_cv_sys_global_symbol_to_c_name_address \
   21484 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   21485 lt_cv_nm_interface \
   21486 nm_file_list_spec \
   21487 lt_cv_truncate_bin \
   21488 lt_prog_compiler_no_builtin_flag \
   21489 lt_prog_compiler_pic \
   21490 lt_prog_compiler_wl \
   21491 lt_prog_compiler_static \
   21492 lt_cv_prog_compiler_c_o \
   21493 need_locks \
   21494 MANIFEST_TOOL \
   21495 DSYMUTIL \
   21496 NMEDIT \
   21497 LIPO \
   21498 OTOOL \
   21499 OTOOL64 \
   21500 shrext_cmds \
   21501 export_dynamic_flag_spec \
   21502 whole_archive_flag_spec \
   21503 compiler_needs_object \
   21504 with_gnu_ld \
   21505 allow_undefined_flag \
   21506 no_undefined_flag \
   21507 hardcode_libdir_flag_spec \
   21508 hardcode_libdir_separator \
   21509 exclude_expsyms \
   21510 include_expsyms \
   21511 file_list_spec \
   21512 variables_saved_for_relink \
   21513 libname_spec \
   21514 library_names_spec \
   21515 soname_spec \
   21516 install_override_mode \
   21517 finish_eval \
   21518 old_striplib \
   21519 striplib; do
   21520     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21521     *[\\\\\\\`\\"\\\$]*)
   21522       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21523       ;;
   21524     *)
   21525       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21526       ;;
   21527     esac
   21528 done
   21529 
   21530 # Double-quote double-evaled strings.
   21531 for var in reload_cmds \
   21532 old_postinstall_cmds \
   21533 old_postuninstall_cmds \
   21534 old_archive_cmds \
   21535 extract_expsyms_cmds \
   21536 old_archive_from_new_cmds \
   21537 old_archive_from_expsyms_cmds \
   21538 archive_cmds \
   21539 archive_expsym_cmds \
   21540 module_cmds \
   21541 module_expsym_cmds \
   21542 export_symbols_cmds \
   21543 prelink_cmds \
   21544 postlink_cmds \
   21545 postinstall_cmds \
   21546 postuninstall_cmds \
   21547 finish_cmds \
   21548 sys_lib_search_path_spec \
   21549 configure_time_dlsearch_path \
   21550 configure_time_lt_sys_library_path; do
   21551     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21552     *[\\\\\\\`\\"\\\$]*)
   21553       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21554       ;;
   21555     *)
   21556       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21557       ;;
   21558     esac
   21559 done
   21560 
   21561 ac_aux_dir='$ac_aux_dir'
   21562 
   21563 # See if we are running on zsh, and set the options that allow our
   21564 # commands through without removal of \ escapes INIT.
   21565 if test -n "\${ZSH_VERSION+set}"; then
   21566    setopt NO_GLOB_SUBST
   21567 fi
   21568 
   21569 
   21570     PACKAGE='$PACKAGE'
   21571     VERSION='$VERSION'
   21572     RM='$RM'
   21573     ofile='$ofile'
   21574 
   21575 
   21576 
   21577 
   21578 _ACEOF
   21579 
   21580 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21581 
   21582 # Handling of arguments.
   21583 for ac_config_target in $ac_config_targets
   21584 do
   21585   case $ac_config_target in
   21586     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   21587     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   21588     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   21589     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   21590     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   21591     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   21592 
   21593   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   21594   esac
   21595 done
   21596 
   21597 
   21598 # If the user did not use the arguments to specify the items to instantiate,
   21599 # then the envvar interface is used.  Set only those that are not.
   21600 # We use the long form for the default assignment because of an extremely
   21601 # bizarre bug on SunOS 4.1.3.
   21602 if $ac_need_defaults; then
   21603   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   21604   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   21605   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   21606 fi
   21607 
   21608 # Have a temporary directory for convenience.  Make it in the build tree
   21609 # simply because there is no reason against having it here, and in addition,
   21610 # creating and moving files from /tmp can sometimes cause problems.
   21611 # Hook for its removal unless debugging.
   21612 # Note that there is a small window in which the directory will not be cleaned:
   21613 # after its creation but before its name has been assigned to '$tmp'.
   21614 $debug ||
   21615 {
   21616   tmp= ac_tmp=
   21617   trap 'exit_status=$?
   21618   : "${ac_tmp:=$tmp}"
   21619   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   21620 ' 0
   21621   trap 'as_fn_exit 1' 1 2 13 15
   21622 }
   21623 # Create a (secure) tmp directory for tmp files.
   21624 
   21625 {
   21626   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   21627   test -d "$tmp"
   21628 }  ||
   21629 {
   21630   tmp=./conf$$-$RANDOM
   21631   (umask 077 && mkdir "$tmp")
   21632 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   21633 ac_tmp=$tmp
   21634 
   21635 # Set up the scripts for CONFIG_FILES section.
   21636 # No need to generate them if there are no CONFIG_FILES.
   21637 # This happens for instance with './config.status config.h'.
   21638 if test -n "$CONFIG_FILES"; then
   21639 
   21640 
   21641 ac_cr=`echo X | tr X '\015'`
   21642 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   21643 # But we know of no other shell where ac_cr would be empty at this
   21644 # point, so we can use a bashism as a fallback.
   21645 if test "x$ac_cr" = x; then
   21646   eval ac_cr=\$\'\\r\'
   21647 fi
   21648 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   21649 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   21650   ac_cs_awk_cr='\\r'
   21651 else
   21652   ac_cs_awk_cr=$ac_cr
   21653 fi
   21654 
   21655 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   21656 _ACEOF
   21657 
   21658 
   21659 {
   21660   echo "cat >conf$$subs.awk <<_ACEOF" &&
   21661   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   21662   echo "_ACEOF"
   21663 } >conf$$subs.sh ||
   21664   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21665 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   21666 ac_delim='%!_!# '
   21667 for ac_last_try in false false false false false :; do
   21668   . ./conf$$subs.sh ||
   21669     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21670 
   21671   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   21672   if test $ac_delim_n = $ac_delim_num; then
   21673     break
   21674   elif $ac_last_try; then
   21675     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21676   else
   21677     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21678   fi
   21679 done
   21680 rm -f conf$$subs.sh
   21681 
   21682 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21683 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   21684 _ACEOF
   21685 sed -n '
   21686 h
   21687 s/^/S["/; s/!.*/"]=/
   21688 p
   21689 g
   21690 s/^[^!]*!//
   21691 :repl
   21692 t repl
   21693 s/'"$ac_delim"'$//
   21694 t delim
   21695 :nl
   21696 h
   21697 s/\(.\{148\}\)..*/\1/
   21698 t more1
   21699 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   21700 p
   21701 n
   21702 b repl
   21703 :more1
   21704 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21705 p
   21706 g
   21707 s/.\{148\}//
   21708 t nl
   21709 :delim
   21710 h
   21711 s/\(.\{148\}\)..*/\1/
   21712 t more2
   21713 s/["\\]/\\&/g; s/^/"/; s/$/"/
   21714 p
   21715 b
   21716 :more2
   21717 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21718 p
   21719 g
   21720 s/.\{148\}//
   21721 t delim
   21722 ' <conf$$subs.awk | sed '
   21723 /^[^""]/{
   21724   N
   21725   s/\n//
   21726 }
   21727 ' >>$CONFIG_STATUS || ac_write_fail=1
   21728 rm -f conf$$subs.awk
   21729 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21730 _ACAWK
   21731 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   21732   for (key in S) S_is_set[key] = 1
   21733   FS = ""
   21734 
   21735 }
   21736 {
   21737   line = $ 0
   21738   nfields = split(line, field, "@")
   21739   substed = 0
   21740   len = length(field[1])
   21741   for (i = 2; i < nfields; i++) {
   21742     key = field[i]
   21743     keylen = length(key)
   21744     if (S_is_set[key]) {
   21745       value = S[key]
   21746       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   21747       len += length(value) + length(field[++i])
   21748       substed = 1
   21749     } else
   21750       len += 1 + keylen
   21751   }
   21752 
   21753   print line
   21754 }
   21755 
   21756 _ACAWK
   21757 _ACEOF
   21758 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21759 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   21760   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   21761 else
   21762   cat
   21763 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   21764   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   21765 _ACEOF
   21766 
   21767 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   21768 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   21769 # trailing colons and then remove the whole line if VPATH becomes empty
   21770 # (actually we leave an empty line to preserve line numbers).
   21771 if test "x$srcdir" = x.; then
   21772   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   21773 h
   21774 s///
   21775 s/^/:/
   21776 s/[	 ]*$/:/
   21777 s/:\$(srcdir):/:/g
   21778 s/:\${srcdir}:/:/g
   21779 s/:@srcdir@:/:/g
   21780 s/^:*//
   21781 s/:*$//
   21782 x
   21783 s/\(=[	 ]*\).*/\1/
   21784 G
   21785 s/\n//
   21786 s/^[^=]*=[	 ]*$//
   21787 }'
   21788 fi
   21789 
   21790 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21791 fi # test -n "$CONFIG_FILES"
   21792 
   21793 # Set up the scripts for CONFIG_HEADERS section.
   21794 # No need to generate them if there are no CONFIG_HEADERS.
   21795 # This happens for instance with './config.status Makefile'.
   21796 if test -n "$CONFIG_HEADERS"; then
   21797 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   21798 BEGIN {
   21799 _ACEOF
   21800 
   21801 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   21802 # here-document in config.status, that substitutes the proper values into
   21803 # config.h.in to produce config.h.
   21804 
   21805 # Create a delimiter string that does not exist in confdefs.h, to ease
   21806 # handling of long lines.
   21807 ac_delim='%!_!# '
   21808 for ac_last_try in false false :; do
   21809   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   21810   if test -z "$ac_tt"; then
   21811     break
   21812   elif $ac_last_try; then
   21813     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   21814   else
   21815     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21816   fi
   21817 done
   21818 
   21819 # For the awk script, D is an array of macro values keyed by name,
   21820 # likewise P contains macro parameters if any.  Preserve backslash
   21821 # newline sequences.
   21822 
   21823 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   21824 sed -n '
   21825 s/.\{148\}/&'"$ac_delim"'/g
   21826 t rset
   21827 :rset
   21828 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   21829 t def
   21830 d
   21831 :def
   21832 s/\\$//
   21833 t bsnl
   21834 s/["\\]/\\&/g
   21835 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21836 D["\1"]=" \3"/p
   21837 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   21838 d
   21839 :bsnl
   21840 s/["\\]/\\&/g
   21841 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21842 D["\1"]=" \3\\\\\\n"\\/p
   21843 t cont
   21844 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   21845 t cont
   21846 d
   21847 :cont
   21848 n
   21849 s/.\{148\}/&'"$ac_delim"'/g
   21850 t clear
   21851 :clear
   21852 s/\\$//
   21853 t bsnlc
   21854 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   21855 d
   21856 :bsnlc
   21857 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   21858 b cont
   21859 ' <confdefs.h | sed '
   21860 s/'"$ac_delim"'/"\\\
   21861 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   21862 
   21863 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21864   for (key in D) D_is_set[key] = 1
   21865   FS = ""
   21866 }
   21867 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   21868   line = \$ 0
   21869   split(line, arg, " ")
   21870   if (arg[1] == "#") {
   21871     defundef = arg[2]
   21872     mac1 = arg[3]
   21873   } else {
   21874     defundef = substr(arg[1], 2)
   21875     mac1 = arg[2]
   21876   }
   21877   split(mac1, mac2, "(") #)
   21878   macro = mac2[1]
   21879   prefix = substr(line, 1, index(line, defundef) - 1)
   21880   if (D_is_set[macro]) {
   21881     # Preserve the white space surrounding the "#".
   21882     print prefix "define", macro P[macro] D[macro]
   21883     next
   21884   } else {
   21885     # Replace #undef with comments.  This is necessary, for example,
   21886     # in the case of _POSIX_SOURCE, which is predefined and required
   21887     # on some systems where configure will not decide to define it.
   21888     if (defundef == "undef") {
   21889       print "/*", prefix defundef, macro, "*/"
   21890       next
   21891     }
   21892   }
   21893 }
   21894 { print }
   21895 _ACAWK
   21896 _ACEOF
   21897 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21898   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   21899 fi # test -n "$CONFIG_HEADERS"
   21900 
   21901 
   21902 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   21903 shift
   21904 for ac_tag
   21905 do
   21906   case $ac_tag in
   21907   :[FHLC]) ac_mode=$ac_tag; continue;;
   21908   esac
   21909   case $ac_mode$ac_tag in
   21910   :[FHL]*:*);;
   21911   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   21912   :[FH]-) ac_tag=-:-;;
   21913   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   21914   esac
   21915   ac_save_IFS=$IFS
   21916   IFS=:
   21917   set x $ac_tag
   21918   IFS=$ac_save_IFS
   21919   shift
   21920   ac_file=$1
   21921   shift
   21922 
   21923   case $ac_mode in
   21924   :L) ac_source=$1;;
   21925   :[FH])
   21926     ac_file_inputs=
   21927     for ac_f
   21928     do
   21929       case $ac_f in
   21930       -) ac_f="$ac_tmp/stdin";;
   21931       *) # Look for the file first in the build tree, then in the source tree
   21932 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   21933 	 # because $ac_f cannot contain ':'.
   21934 	 test -f "$ac_f" ||
   21935 	   case $ac_f in
   21936 	   [\\/$]*) false;;
   21937 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   21938 	   esac ||
   21939 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   21940       esac
   21941       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   21942       as_fn_append ac_file_inputs " '$ac_f'"
   21943     done
   21944 
   21945     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   21946     # use $as_me), people would be surprised to read:
   21947     #    /* config.h.  Generated by config.status.  */
   21948     configure_input='Generated from '`
   21949 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   21950 	`' by configure.'
   21951     if test x"$ac_file" != x-; then
   21952       configure_input="$ac_file.  $configure_input"
   21953       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   21954 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   21955     fi
   21956     # Neutralize special characters interpreted by sed in replacement strings.
   21957     case $configure_input in #(
   21958     *\&* | *\|* | *\\* )
   21959        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   21960        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   21961     *) ac_sed_conf_input=$configure_input;;
   21962     esac
   21963 
   21964     case $ac_tag in
   21965     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   21966       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   21967     esac
   21968     ;;
   21969   esac
   21970 
   21971   ac_dir=`$as_dirname -- "$ac_file" ||
   21972 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21973 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   21974 	 X"$ac_file" : 'X\(//\)$' \| \
   21975 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   21976 printf "%s\n" X"$ac_file" |
   21977     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21978 	    s//\1/
   21979 	    q
   21980 	  }
   21981 	  /^X\(\/\/\)[^/].*/{
   21982 	    s//\1/
   21983 	    q
   21984 	  }
   21985 	  /^X\(\/\/\)$/{
   21986 	    s//\1/
   21987 	    q
   21988 	  }
   21989 	  /^X\(\/\).*/{
   21990 	    s//\1/
   21991 	    q
   21992 	  }
   21993 	  s/.*/./; q'`
   21994   as_dir="$ac_dir"; as_fn_mkdir_p
   21995   ac_builddir=.
   21996 
   21997 case "$ac_dir" in
   21998 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21999 *)
   22000   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   22001   # A ".." for each directory in $ac_dir_suffix.
   22002   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   22003   case $ac_top_builddir_sub in
   22004   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22005   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   22006   esac ;;
   22007 esac
   22008 ac_abs_top_builddir=$ac_pwd
   22009 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   22010 # for backward compatibility:
   22011 ac_top_builddir=$ac_top_build_prefix
   22012 
   22013 case $srcdir in
   22014   .)  # We are building in place.
   22015     ac_srcdir=.
   22016     ac_top_srcdir=$ac_top_builddir_sub
   22017     ac_abs_top_srcdir=$ac_pwd ;;
   22018   [\\/]* | ?:[\\/]* )  # Absolute name.
   22019     ac_srcdir=$srcdir$ac_dir_suffix;
   22020     ac_top_srcdir=$srcdir
   22021     ac_abs_top_srcdir=$srcdir ;;
   22022   *) # Relative name.
   22023     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   22024     ac_top_srcdir=$ac_top_build_prefix$srcdir
   22025     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   22026 esac
   22027 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   22028 
   22029 
   22030   case $ac_mode in
   22031   :F)
   22032   #
   22033   # CONFIG_FILE
   22034   #
   22035 
   22036   case $INSTALL in
   22037   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   22038   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   22039   esac
   22040   ac_MKDIR_P=$MKDIR_P
   22041   case $MKDIR_P in
   22042   [\\/$]* | ?:[\\/]* ) ;;
   22043   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   22044   esac
   22045 _ACEOF
   22046 
   22047 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22048 # If the template does not know about datarootdir, expand it.
   22049 # FIXME: This hack should be removed a few years after 2.60.
   22050 ac_datarootdir_hack=; ac_datarootdir_seen=
   22051 ac_sed_dataroot='
   22052 /datarootdir/ {
   22053   p
   22054   q
   22055 }
   22056 /@datadir@/p
   22057 /@docdir@/p
   22058 /@infodir@/p
   22059 /@localedir@/p
   22060 /@mandir@/p'
   22061 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   22062 *datarootdir*) ac_datarootdir_seen=yes;;
   22063 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   22064   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   22065 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   22066 _ACEOF
   22067 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22068   ac_datarootdir_hack='
   22069   s&@datadir@&$datadir&g
   22070   s&@docdir@&$docdir&g
   22071   s&@infodir@&$infodir&g
   22072   s&@localedir@&$localedir&g
   22073   s&@mandir@&$mandir&g
   22074   s&\\\${datarootdir}&$datarootdir&g' ;;
   22075 esac
   22076 _ACEOF
   22077 
   22078 # Neutralize VPATH when '$srcdir' = '.'.
   22079 # Shell code in configure.ac might set extrasub.
   22080 # FIXME: do we really want to maintain this feature?
   22081 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22082 ac_sed_extra="$ac_vpsub
   22083 $extrasub
   22084 _ACEOF
   22085 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22086 :t
   22087 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   22088 s|@configure_input@|$ac_sed_conf_input|;t t
   22089 s&@top_builddir@&$ac_top_builddir_sub&;t t
   22090 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   22091 s&@srcdir@&$ac_srcdir&;t t
   22092 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   22093 s&@top_srcdir@&$ac_top_srcdir&;t t
   22094 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   22095 s&@builddir@&$ac_builddir&;t t
   22096 s&@abs_builddir@&$ac_abs_builddir&;t t
   22097 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   22098 s&@INSTALL@&$ac_INSTALL&;t t
   22099 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   22100 $ac_datarootdir_hack
   22101 "
   22102 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   22103   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22104 
   22105 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   22106   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   22107   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   22108       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   22109   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   22110 which seems to be undefined.  Please make sure it is defined" >&5
   22111 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   22112 which seems to be undefined.  Please make sure it is defined" >&2;}
   22113 
   22114   rm -f "$ac_tmp/stdin"
   22115   case $ac_file in
   22116   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   22117   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   22118   esac \
   22119   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22120  ;;
   22121   :H)
   22122   #
   22123   # CONFIG_HEADER
   22124   #
   22125   if test x"$ac_file" != x-; then
   22126     {
   22127       printf "%s\n" "/* $configure_input  */" >&1 \
   22128       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   22129     } >"$ac_tmp/config.h" \
   22130       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22131     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   22132       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   22133 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   22134     else
   22135       rm -f "$ac_file"
   22136       mv "$ac_tmp/config.h" "$ac_file" \
   22137 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22138     fi
   22139   else
   22140     printf "%s\n" "/* $configure_input  */" >&1 \
   22141       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   22142       || as_fn_error $? "could not create -" "$LINENO" 5
   22143   fi
   22144 # Compute "$ac_file"'s index in $config_headers.
   22145 _am_arg="$ac_file"
   22146 _am_stamp_count=1
   22147 for _am_header in $config_headers :; do
   22148   case $_am_header in
   22149     $_am_arg | $_am_arg:* )
   22150       break ;;
   22151     * )
   22152       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   22153   esac
   22154 done
   22155 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   22156 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22157 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   22158 	 X"$_am_arg" : 'X\(//\)$' \| \
   22159 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   22160 printf "%s\n" X"$_am_arg" |
   22161     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22162 	    s//\1/
   22163 	    q
   22164 	  }
   22165 	  /^X\(\/\/\)[^/].*/{
   22166 	    s//\1/
   22167 	    q
   22168 	  }
   22169 	  /^X\(\/\/\)$/{
   22170 	    s//\1/
   22171 	    q
   22172 	  }
   22173 	  /^X\(\/\).*/{
   22174 	    s//\1/
   22175 	    q
   22176 	  }
   22177 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   22178  ;;
   22179 
   22180   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   22181 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   22182  ;;
   22183   esac
   22184 
   22185 
   22186   case $ac_file$ac_mode in
   22187     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   22188   # Older Autoconf quotes --file arguments for eval, but not when files
   22189   # are listed without --file.  Let's play safe and only enable the eval
   22190   # if we detect the quoting.
   22191   # TODO: see whether this extra hack can be removed once we start
   22192   # requiring Autoconf 2.70 or later.
   22193   case $CONFIG_FILES in #(
   22194   *\'*) :
   22195     eval set x "$CONFIG_FILES" ;; #(
   22196   *) :
   22197     set x $CONFIG_FILES ;; #(
   22198   *) :
   22199      ;;
   22200 esac
   22201   shift
   22202   # Used to flag and report bootstrapping failures.
   22203   am_rc=0
   22204   for am_mf
   22205   do
   22206     # Strip MF so we end up with the name of the file.
   22207     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   22208     # Check whether this is an Automake generated Makefile which includes
   22209     # dependency-tracking related rules and includes.
   22210     # Grep'ing the whole file directly is not great: AIX grep has a line
   22211     # limit of 2048, but all sed's we know have understand at least 4000.
   22212     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   22213       || continue
   22214     am_dirpart=`$as_dirname -- "$am_mf" ||
   22215 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22216 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   22217 	 X"$am_mf" : 'X\(//\)$' \| \
   22218 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22219 printf "%s\n" X"$am_mf" |
   22220     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22221 	    s//\1/
   22222 	    q
   22223 	  }
   22224 	  /^X\(\/\/\)[^/].*/{
   22225 	    s//\1/
   22226 	    q
   22227 	  }
   22228 	  /^X\(\/\/\)$/{
   22229 	    s//\1/
   22230 	    q
   22231 	  }
   22232 	  /^X\(\/\).*/{
   22233 	    s//\1/
   22234 	    q
   22235 	  }
   22236 	  s/.*/./; q'`
   22237     am_filepart=`$as_basename -- "$am_mf" ||
   22238 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   22239 	 X"$am_mf" : 'X\(//\)$' \| \
   22240 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22241 printf "%s\n" X/"$am_mf" |
   22242     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22243 	    s//\1/
   22244 	    q
   22245 	  }
   22246 	  /^X\/\(\/\/\)$/{
   22247 	    s//\1/
   22248 	    q
   22249 	  }
   22250 	  /^X\/\(\/\).*/{
   22251 	    s//\1/
   22252 	    q
   22253 	  }
   22254 	  s/.*/./; q'`
   22255     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   22256       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22257         | $MAKE -f - am--depfiles" >&5
   22258    (cd "$am_dirpart" \
   22259       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22260         | $MAKE -f - am--depfiles) >&5 2>&5
   22261    ac_status=$?
   22262    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22263    (exit $ac_status); } || am_rc=$?
   22264   done
   22265   if test $am_rc -ne 0; then
   22266     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   22267 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   22268 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   22269     for automatic dependency tracking.  If GNU make was not used, consider
   22270     re-running the configure script with MAKE=\"gmake\" (or whatever is
   22271     necessary).  You can also try re-running configure with the
   22272     '--disable-dependency-tracking' option to at least be able to build
   22273     the package (albeit without support for automatic dependency tracking).
   22274 See 'config.log' for more details" "$LINENO" 5; }
   22275   fi
   22276   { am_dirpart=; unset am_dirpart;}
   22277   { am_filepart=; unset am_filepart;}
   22278   { am_mf=; unset am_mf;}
   22279   { am_rc=; unset am_rc;}
   22280   rm -f conftest-deps.mk
   22281 }
   22282  ;;
   22283     "libtool":C)
   22284 
   22285     # See if we are running on zsh, and set the options that allow our
   22286     # commands through without removal of \ escapes.
   22287     if test -n "${ZSH_VERSION+set}"; then
   22288       setopt NO_GLOB_SUBST
   22289     fi
   22290 
   22291     cfgfile=${ofile}T
   22292     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   22293     $RM "$cfgfile"
   22294 
   22295     cat <<_LT_EOF >> "$cfgfile"
   22296 #! $SHELL
   22297 # Generated automatically by $as_me ($PACKAGE) $VERSION
   22298 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   22299 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   22300 
   22301 # Provide generalized library-building support services.
   22302 # Written by Gordon Matzigkeit, 1996
   22303 
   22304 # Copyright (C) 2014 Free Software Foundation, Inc.
   22305 # This is free software; see the source for copying conditions.  There is NO
   22306 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   22307 
   22308 # GNU Libtool is free software; you can redistribute it and/or modify
   22309 # it under the terms of the GNU General Public License as published by
   22310 # the Free Software Foundation; either version 2 of of the License, or
   22311 # (at your option) any later version.
   22312 #
   22313 # As a special exception to the GNU General Public License, if you
   22314 # distribute this file as part of a program or library that is built
   22315 # using GNU Libtool, you may include this file under the  same
   22316 # distribution terms that you use for the rest of that program.
   22317 #
   22318 # GNU Libtool is distributed in the hope that it will be useful, but
   22319 # WITHOUT ANY WARRANTY; without even the implied warranty of
   22320 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   22321 # GNU General Public License for more details.
   22322 #
   22323 # You should have received a copy of the GNU General Public License
   22324 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   22325 
   22326 
   22327 # The names of the tagged configurations supported by this script.
   22328 available_tags=''
   22329 
   22330 # Configured defaults for sys_lib_dlsearch_path munging.
   22331 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   22332 
   22333 # ### BEGIN LIBTOOL CONFIG
   22334 
   22335 # Which release of libtool.m4 was used?
   22336 macro_version=$macro_version
   22337 macro_revision=$macro_revision
   22338 
   22339 # Whether or not to build static libraries.
   22340 build_old_libs=$enable_static
   22341 
   22342 # Whether or not to build shared libraries.
   22343 build_libtool_libs=$enable_shared
   22344 
   22345 # What type of objects to build.
   22346 pic_mode=$pic_mode
   22347 
   22348 # Whether or not to optimize for fast installation.
   22349 fast_install=$enable_fast_install
   22350 
   22351 # Shared archive member basename,for filename based shared library versioning on AIX.
   22352 shared_archive_member_spec=$shared_archive_member_spec
   22353 
   22354 # Shell to use when invoking shell scripts.
   22355 SHELL=$lt_SHELL
   22356 
   22357 # An echo program that protects backslashes.
   22358 ECHO=$lt_ECHO
   22359 
   22360 # The PATH separator for the build system.
   22361 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   22362 
   22363 # The host system.
   22364 host_alias=$host_alias
   22365 host=$host
   22366 host_os=$host_os
   22367 
   22368 # The build system.
   22369 build_alias=$build_alias
   22370 build=$build
   22371 build_os=$build_os
   22372 
   22373 # A sed program that does not truncate output.
   22374 SED=$lt_SED
   22375 
   22376 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   22377 Xsed="\$SED -e 1s/^X//"
   22378 
   22379 # A grep program that handles long lines.
   22380 GREP=$lt_GREP
   22381 
   22382 # An ERE matcher.
   22383 EGREP=$lt_EGREP
   22384 
   22385 # A literal string matcher.
   22386 FGREP=$lt_FGREP
   22387 
   22388 # A BSD- or MS-compatible name lister.
   22389 NM=$lt_NM
   22390 
   22391 # Whether we need soft or hard links.
   22392 LN_S=$lt_LN_S
   22393 
   22394 # What is the maximum length of a command?
   22395 max_cmd_len=$max_cmd_len
   22396 
   22397 # Object file suffix (normally "o").
   22398 objext=$ac_objext
   22399 
   22400 # Executable file suffix (normally "").
   22401 exeext=$exeext
   22402 
   22403 # whether the shell understands "unset".
   22404 lt_unset=$lt_unset
   22405 
   22406 # turn spaces into newlines.
   22407 SP2NL=$lt_lt_SP2NL
   22408 
   22409 # turn newlines into spaces.
   22410 NL2SP=$lt_lt_NL2SP
   22411 
   22412 # convert \$build file names to \$host format.
   22413 to_host_file_cmd=$lt_cv_to_host_file_cmd
   22414 
   22415 # convert \$build files to toolchain format.
   22416 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   22417 
   22418 # A file(cmd) program that detects file types.
   22419 FILECMD=$lt_FILECMD
   22420 
   22421 # An object symbol dumper.
   22422 OBJDUMP=$lt_OBJDUMP
   22423 
   22424 # Method to check whether dependent libraries are shared objects.
   22425 deplibs_check_method=$lt_deplibs_check_method
   22426 
   22427 # Command to use when deplibs_check_method = "file_magic".
   22428 file_magic_cmd=$lt_file_magic_cmd
   22429 
   22430 # How to find potential files when deplibs_check_method = "file_magic".
   22431 file_magic_glob=$lt_file_magic_glob
   22432 
   22433 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   22434 want_nocaseglob=$lt_want_nocaseglob
   22435 
   22436 # DLL creation program.
   22437 DLLTOOL=$lt_DLLTOOL
   22438 
   22439 # Command to associate shared and link libraries.
   22440 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   22441 
   22442 # The archiver.
   22443 AR=$lt_AR
   22444 
   22445 # Flags to create an archive (by configure).
   22446 lt_ar_flags=$lt_ar_flags
   22447 
   22448 # Flags to create an archive.
   22449 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   22450 
   22451 # How to feed a file listing to the archiver.
   22452 archiver_list_spec=$lt_archiver_list_spec
   22453 
   22454 # A symbol stripping program.
   22455 STRIP=$lt_STRIP
   22456 
   22457 # Commands used to install an old-style archive.
   22458 RANLIB=$lt_RANLIB
   22459 old_postinstall_cmds=$lt_old_postinstall_cmds
   22460 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   22461 
   22462 # Whether to use a lock for old archive extraction.
   22463 lock_old_archive_extraction=$lock_old_archive_extraction
   22464 
   22465 # A C compiler.
   22466 LTCC=$lt_CC
   22467 
   22468 # LTCC compiler flags.
   22469 LTCFLAGS=$lt_CFLAGS
   22470 
   22471 # Take the output of nm and produce a listing of raw symbols and C names.
   22472 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   22473 
   22474 # Transform the output of nm in a proper C declaration.
   22475 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   22476 
   22477 # Transform the output of nm into a list of symbols to manually relocate.
   22478 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   22479 
   22480 # Transform the output of nm in a C name address pair.
   22481 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   22482 
   22483 # Transform the output of nm in a C name address pair when lib prefix is needed.
   22484 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   22485 
   22486 # The name lister interface.
   22487 nm_interface=$lt_lt_cv_nm_interface
   22488 
   22489 # Specify filename containing input files for \$NM.
   22490 nm_file_list_spec=$lt_nm_file_list_spec
   22491 
   22492 # The root where to search for dependent libraries,and where our libraries should be installed.
   22493 lt_sysroot=$lt_sysroot
   22494 
   22495 # Command to truncate a binary pipe.
   22496 lt_truncate_bin=$lt_lt_cv_truncate_bin
   22497 
   22498 # The name of the directory that contains temporary libtool files.
   22499 objdir=$objdir
   22500 
   22501 # Used to examine libraries when file_magic_cmd begins with "file".
   22502 MAGIC_CMD=$MAGIC_CMD
   22503 
   22504 # Must we lock files when doing compilation?
   22505 need_locks=$lt_need_locks
   22506 
   22507 # Manifest tool.
   22508 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   22509 
   22510 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   22511 DSYMUTIL=$lt_DSYMUTIL
   22512 
   22513 # Tool to change global to local symbols on Mac OS X.
   22514 NMEDIT=$lt_NMEDIT
   22515 
   22516 # Tool to manipulate fat objects and archives on Mac OS X.
   22517 LIPO=$lt_LIPO
   22518 
   22519 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   22520 OTOOL=$lt_OTOOL
   22521 
   22522 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   22523 OTOOL64=$lt_OTOOL64
   22524 
   22525 # Old archive suffix (normally "a").
   22526 libext=$libext
   22527 
   22528 # Shared library suffix (normally ".so").
   22529 shrext_cmds=$lt_shrext_cmds
   22530 
   22531 # The commands to extract the exported symbol list from a shared archive.
   22532 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   22533 
   22534 # Variables whose values should be saved in libtool wrapper scripts and
   22535 # restored at link time.
   22536 variables_saved_for_relink=$lt_variables_saved_for_relink
   22537 
   22538 # Do we need the "lib" prefix for modules?
   22539 need_lib_prefix=$need_lib_prefix
   22540 
   22541 # Do we need a version for libraries?
   22542 need_version=$need_version
   22543 
   22544 # Library versioning type.
   22545 version_type=$version_type
   22546 
   22547 # Shared library runtime path variable.
   22548 runpath_var=$runpath_var
   22549 
   22550 # Shared library path variable.
   22551 shlibpath_var=$shlibpath_var
   22552 
   22553 # Is shlibpath searched before the hard-coded library search path?
   22554 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   22555 
   22556 # Format of library name prefix.
   22557 libname_spec=$lt_libname_spec
   22558 
   22559 # List of archive names.  First name is the real one, the rest are links.
   22560 # The last name is the one that the linker finds with -lNAME
   22561 library_names_spec=$lt_library_names_spec
   22562 
   22563 # The coded name of the library, if different from the real name.
   22564 soname_spec=$lt_soname_spec
   22565 
   22566 # Permission mode override for installation of shared libraries.
   22567 install_override_mode=$lt_install_override_mode
   22568 
   22569 # Command to use after installation of a shared archive.
   22570 postinstall_cmds=$lt_postinstall_cmds
   22571 
   22572 # Command to use after uninstallation of a shared archive.
   22573 postuninstall_cmds=$lt_postuninstall_cmds
   22574 
   22575 # Commands used to finish a libtool library installation in a directory.
   22576 finish_cmds=$lt_finish_cmds
   22577 
   22578 # As "finish_cmds", except a single script fragment to be evaled but
   22579 # not shown.
   22580 finish_eval=$lt_finish_eval
   22581 
   22582 # Whether we should hardcode library paths into libraries.
   22583 hardcode_into_libs=$hardcode_into_libs
   22584 
   22585 # Compile-time system search path for libraries.
   22586 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   22587 
   22588 # Detected run-time system search path for libraries.
   22589 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   22590 
   22591 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   22592 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   22593 
   22594 # Whether dlopen is supported.
   22595 dlopen_support=$enable_dlopen
   22596 
   22597 # Whether dlopen of programs is supported.
   22598 dlopen_self=$enable_dlopen_self
   22599 
   22600 # Whether dlopen of statically linked programs is supported.
   22601 dlopen_self_static=$enable_dlopen_self_static
   22602 
   22603 # Commands to strip libraries.
   22604 old_striplib=$lt_old_striplib
   22605 striplib=$lt_striplib
   22606 
   22607 
   22608 # The linker used to build libraries.
   22609 LD=$lt_LD
   22610 
   22611 # How to create reloadable object files.
   22612 reload_flag=$lt_reload_flag
   22613 reload_cmds=$lt_reload_cmds
   22614 
   22615 # Commands used to build an old-style archive.
   22616 old_archive_cmds=$lt_old_archive_cmds
   22617 
   22618 # A language specific compiler.
   22619 CC=$lt_compiler
   22620 
   22621 # Is the compiler the GNU compiler?
   22622 with_gcc=$GCC
   22623 
   22624 # Compiler flag to turn off builtin functions.
   22625 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   22626 
   22627 # Additional compiler flags for building library objects.
   22628 pic_flag=$lt_lt_prog_compiler_pic
   22629 
   22630 # How to pass a linker flag through the compiler.
   22631 wl=$lt_lt_prog_compiler_wl
   22632 
   22633 # Compiler flag to prevent dynamic linking.
   22634 link_static_flag=$lt_lt_prog_compiler_static
   22635 
   22636 # Does compiler simultaneously support -c and -o options?
   22637 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   22638 
   22639 # Whether or not to add -lc for building shared libraries.
   22640 build_libtool_need_lc=$archive_cmds_need_lc
   22641 
   22642 # Whether or not to disallow shared libs when runtime libs are static.
   22643 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   22644 
   22645 # Compiler flag to allow reflexive dlopens.
   22646 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   22647 
   22648 # Compiler flag to generate shared objects directly from archives.
   22649 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   22650 
   22651 # Whether the compiler copes with passing no objects directly.
   22652 compiler_needs_object=$lt_compiler_needs_object
   22653 
   22654 # Create an old-style archive from a shared archive.
   22655 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   22656 
   22657 # Create a temporary old-style archive to link instead of a shared archive.
   22658 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   22659 
   22660 # Commands used to build a shared archive.
   22661 archive_cmds=$lt_archive_cmds
   22662 archive_expsym_cmds=$lt_archive_expsym_cmds
   22663 
   22664 # Commands used to build a loadable module if different from building
   22665 # a shared archive.
   22666 module_cmds=$lt_module_cmds
   22667 module_expsym_cmds=$lt_module_expsym_cmds
   22668 
   22669 # Whether we are building with GNU ld or not.
   22670 with_gnu_ld=$lt_with_gnu_ld
   22671 
   22672 # Flag that allows shared libraries with undefined symbols to be built.
   22673 allow_undefined_flag=$lt_allow_undefined_flag
   22674 
   22675 # Flag that enforces no undefined symbols.
   22676 no_undefined_flag=$lt_no_undefined_flag
   22677 
   22678 # Flag to hardcode \$libdir into a binary during linking.
   22679 # This must work even if \$libdir does not exist
   22680 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   22681 
   22682 # Whether we need a single "-rpath" flag with a separated argument.
   22683 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   22684 
   22685 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22686 # DIR into the resulting binary.
   22687 hardcode_direct=$hardcode_direct
   22688 
   22689 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22690 # DIR into the resulting binary and the resulting library dependency is
   22691 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   22692 # library is relocated.
   22693 hardcode_direct_absolute=$hardcode_direct_absolute
   22694 
   22695 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   22696 # into the resulting binary.
   22697 hardcode_minus_L=$hardcode_minus_L
   22698 
   22699 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   22700 # into the resulting binary.
   22701 hardcode_shlibpath_var=$hardcode_shlibpath_var
   22702 
   22703 # Set to "yes" if building a shared library automatically hardcodes DIR
   22704 # into the library and all subsequent libraries and executables linked
   22705 # against it.
   22706 hardcode_automatic=$hardcode_automatic
   22707 
   22708 # Set to yes if linker adds runtime paths of dependent libraries
   22709 # to runtime path list.
   22710 inherit_rpath=$inherit_rpath
   22711 
   22712 # Whether libtool must link a program against all its dependency libraries.
   22713 link_all_deplibs=$link_all_deplibs
   22714 
   22715 # Set to "yes" if exported symbols are required.
   22716 always_export_symbols=$always_export_symbols
   22717 
   22718 # The commands to list exported symbols.
   22719 export_symbols_cmds=$lt_export_symbols_cmds
   22720 
   22721 # Symbols that should not be listed in the preloaded symbols.
   22722 exclude_expsyms=$lt_exclude_expsyms
   22723 
   22724 # Symbols that must always be exported.
   22725 include_expsyms=$lt_include_expsyms
   22726 
   22727 # Commands necessary for linking programs (against libraries) with templates.
   22728 prelink_cmds=$lt_prelink_cmds
   22729 
   22730 # Commands necessary for finishing linking programs.
   22731 postlink_cmds=$lt_postlink_cmds
   22732 
   22733 # Specify filename containing input files.
   22734 file_list_spec=$lt_file_list_spec
   22735 
   22736 # How to hardcode a shared library path into an executable.
   22737 hardcode_action=$hardcode_action
   22738 
   22739 # ### END LIBTOOL CONFIG
   22740 
   22741 _LT_EOF
   22742 
   22743     cat <<'_LT_EOF' >> "$cfgfile"
   22744 
   22745 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   22746 
   22747 # func_munge_path_list VARIABLE PATH
   22748 # -----------------------------------
   22749 # VARIABLE is name of variable containing _space_ separated list of
   22750 # directories to be munged by the contents of PATH, which is string
   22751 # having a format:
   22752 # "DIR[:DIR]:"
   22753 #       string "DIR[ DIR]" will be prepended to VARIABLE
   22754 # ":DIR[:DIR]"
   22755 #       string "DIR[ DIR]" will be appended to VARIABLE
   22756 # "DIRP[:DIRP]::[DIRA:]DIRA"
   22757 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   22758 #       "DIRA[ DIRA]" will be appended to VARIABLE
   22759 # "DIR[:DIR]"
   22760 #       VARIABLE will be replaced by "DIR[ DIR]"
   22761 func_munge_path_list ()
   22762 {
   22763     case x$2 in
   22764     x)
   22765         ;;
   22766     *:)
   22767         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   22768         ;;
   22769     x:*)
   22770         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   22771         ;;
   22772     *::*)
   22773         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   22774         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   22775         ;;
   22776     *)
   22777         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   22778         ;;
   22779     esac
   22780 }
   22781 
   22782 
   22783 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   22784 func_cc_basename ()
   22785 {
   22786     for cc_temp in $*""; do
   22787       case $cc_temp in
   22788         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   22789         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   22790         \-*) ;;
   22791         *) break;;
   22792       esac
   22793     done
   22794     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   22795 }
   22796 
   22797 
   22798 # ### END FUNCTIONS SHARED WITH CONFIGURE
   22799 
   22800 _LT_EOF
   22801 
   22802   case $host_os in
   22803   aix3*)
   22804     cat <<\_LT_EOF >> "$cfgfile"
   22805 # AIX sometimes has problems with the GCC collect2 program.  For some
   22806 # reason, if we set the COLLECT_NAMES environment variable, the problems
   22807 # vanish in a puff of smoke.
   22808 if test set != "${COLLECT_NAMES+set}"; then
   22809   COLLECT_NAMES=
   22810   export COLLECT_NAMES
   22811 fi
   22812 _LT_EOF
   22813     ;;
   22814   esac
   22815 
   22816 
   22817 
   22818 ltmain=$ac_aux_dir/ltmain.sh
   22819 
   22820 
   22821   # We use sed instead of cat because bash on DJGPP gets confused if
   22822   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   22823   # text mode, it properly converts lines to CR/LF.  This bash problem
   22824   # is reportedly fixed, but why not run on old versions too?
   22825   $SED '$q' "$ltmain" >> "$cfgfile" \
   22826      || (rm -f "$cfgfile"; exit 1)
   22827 
   22828    mv -f "$cfgfile" "$ofile" ||
   22829     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   22830   chmod +x "$ofile"
   22831 
   22832  ;;
   22833 
   22834   esac
   22835 done # for ac_tag
   22836 
   22837 
   22838 as_fn_exit 0
   22839 _ACEOF
   22840 ac_clean_files=$ac_clean_files_save
   22841 
   22842 test $ac_write_fail = 0 ||
   22843   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   22844 
   22845 
   22846 # configure is writing to config.log, and then calls config.status.
   22847 # config.status does its own redirection, appending to config.log.
   22848 # Unfortunately, on DOS this fails, as config.log is still kept open
   22849 # by configure, so config.status won't be able to write to it; its
   22850 # output is simply discarded.  So we exec the FD to /dev/null,
   22851 # effectively closing config.log, so it can be properly (re)opened and
   22852 # appended to by config.status.  When coming back to configure, we
   22853 # need to make the FD available again.
   22854 if test "$no_create" != yes; then
   22855   ac_cs_success=:
   22856   ac_config_status_args=
   22857   test "$silent" = yes &&
   22858     ac_config_status_args="$ac_config_status_args --quiet"
   22859   exec 5>/dev/null
   22860   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   22861   exec 5>>config.log
   22862   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   22863   # would make configure fail if this is the last instruction.
   22864   $ac_cs_success || as_fn_exit 1
   22865 fi
   22866 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   22867   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   22868 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   22869 fi
   22870 
   22871 
   22872